function $(id){return document.getElementById(id);}
if(location.href.indexOf('ibest')>-1){
	var _oferURL = "ibest";
}else if(location.href.indexOf('brturbo')>-1){
	var _oferURL = "brturbo";	
}else{
	var _oferURL = "homepage";	
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function MM_openBrWindow(theURL,winName,features, myWidth, myHeight, isCenter) { //v3.0
  if(window.screen)if(isCenter)if(isCenter=="true"){
    var myLeft = (screen.width-myWidth)/2;
    var myTop = (screen.height-myHeight)/2;
    features+=(features!='')?',':'';
    features+=',left='+myLeft+',top='+myTop;
  }
  window.open(theURL,winName,features+((features!='')?',':'')+'width='+myWidth+',height='+myHeight);
}

function mouseOver( id, color ) {
    var id = document.getElementById( id );
    id.style.backgroundColor = color;
}

function mouseOut( id, color ) {
    var id = document.getElementById( id );
    id.style.backgroundColor = color;
}
function MM_showHideLayers() { //v9.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) 
  with (document) if (getElementById && ((obj=getElementById(args[i]))!=null)) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}
