function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_showHideLayers() { //v6.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}

function showContent() { 
  }


function getItem(id){
	var itm = false;
	if(document.getElementById)
		itm = document.getElementById(id);
	else if(document.all)
		itm = document.all[id];
	else if(document.layers)
		itm = document.layers[id];
	return itm;
}

function toggleItem(id){
	itm = getItem(id);
	if(!itm)
		return false;
	if(itm.style.display == 'none')
		itm.style.display = '';
	else
		itm.style.display = 'none';
	return false;
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_showHideLayers() { //v6.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}

function showContent() { 
  }


function getItem(id){
	var itm = false;
	if(document.getElementById)
		itm = document.getElementById(id);
	else if(document.all)
		itm = document.all[id];
	else if(document.layers)
		itm = document.layers[id];
	return itm;
}

function toggleItem(id){
	itm = getItem(id);
	if(!itm)
		return false;
	if(itm.style.display == 'none')
		itm.style.display = '';
	else
		itm.style.display = 'none';
	return false;
}



function popUp(URL,W,H,S) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=" + S + ",location=0,statusbar=0,menubar=0,resizable=0,width="+ W + ", height="+ H +", left = 390,top = 212');");
}


var currentdate = 0;
var core = 0;
function initArray() {

this.length = initArray.arguments.length;
for (var i = 0; i < this.length; i++) {
this[i] = initArray.arguments[i]; }
}

url = new initArray(
"http://www.winnersautogroup.com/servicio.htm",
"http://www.winnersautogroup.com/piezas.htm",
"http://www.winnersautogroup.com/garantia.htm" 
);

image = new initArray(
"images/gPromoCommerce.jpg",
"images/gPromoDesign_mitsubishi.jpg",
"images/gPromoMarketing_mitsubishi.jpg" 
);

text = new initArray(
"Estas claro? Winners Auto Group Mitsubishi te brinda el mejor servicio",
"Estas claro? en Winners Auto Group Mitsubishi consigues las piezas originales",
"Estas claro? Winners Auto Group es tu mejor opcion"
);

var currentdate = new Date();
var core = currentdate.getSeconds() % image.length;
var ranurl = url[core];
var ranimage = image[core];
var rantext = text[core];





var new_url="";
function goToExpress()
	{ 
   	if (  (new_url != "")  &&  (new_url != null)  )
    	window.location=new_url;
   	else 
   		window.location="http://www.winnersautogroup.com";
	}
	
function goToAdvanced()
	{ 
   	if (  (new_url != "")  &&  (new_url != null)  )
    	window.location=new_url;
   	else 
   		window.location="http://www.winnersautogroup.com";
	}
	
function goToPro()
	{ 
   	if (  (new_url != "")  &&  (new_url != null)  )
    	window.location=new_url;
   	else 
   		window.location="http://www.winnersautogroup.com";
	}	









					








					
