function printWindow(){
   bV = parseInt(navigator.appVersion)
   if (bV >= 4) window.print()
}
var getById = (typeof document.getElementById != "undefined");
function getRef(obj){
    if(getById)
    	return(typeof obj == "string") ? document.getElementById(obj) : obj;
}
function MM_openBrWindow(theURL,winName,features) {
  window.open(theURL,winName,features);
}
function MM_goToURL() { //v3.0
  var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
}