<!-- IMAGE PRELOAD : allows mouse over state images to be preloaded to reduce choppy reaction time  ------------------------------------->
    var ic = 10;   
    var xoxo = new Array(ic); 
        
xoxo[0] = "reneca/1.jpg";
xoxo[1] = "reneca/2.jpg";
xoxo[2] = "reneca/3.jpg";
xoxo[3] = "reneca/4.jpg";
xoxo[4] = "reneca/5.jpg";
xoxo[5] = "reneca/6.jpg";
xoxo[6] = "reneca/7.jpg";
xoxo[7] = "reneca/8.jpg";
xoxo[8] = "reneca/9.jpg";
xoxo[9] = "reneca/10.jpg";


function pickRandom(range) {
if (Math.random)
return Math.round(Math.random() * (range-1));
else {
var now = new Date();
return (now.getTime() / 1000) % range;
}
}

var choice = pickRandom(ic);


function MM_preloadImages() { //v3.0

  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();

    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)

    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}

}

function MM_openBrWindow(theURL,winName,features) { //v2.0

  window.open(theURL,winName,features);

}

function MM_swapImgRestore() { //v3.0

  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;

}



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_swapImage() { //v3.0

  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)

   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}

}



<!-- 

function MM_preloadImages() { //v3.0

  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();

    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)

    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}

}

//-->



<!--download popup window ------------------------------------------------------------------------------------>

var win=null;

function NewWindow_download(mypage,myname,w,h,pos,infocus){

if(pos=="random"){myleft=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;mytop=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}

if(pos=="center"){myleft=(screen.width)?(screen.width-w)/2:100;mytop=(screen.height)?(screen.height-h)/2:100;}

else if((pos!='center' && pos!="random") || pos==null){myleft=0;mytop=20}

settings="width=" + w + ",height=" + h + ",top=" + mytop + ",left=" + myleft + ",scrollbars=yes,location=yes,directories=yes,status=yes,menubar=yes,toolbar=yes,resizable=yes";win=window.open(mypage,myname,settings);

win.focus();}

// -->



<!--photo popup window ------------------------------------------------------------------------------------>

var win=null;

function NewWindow_photo(mypage,myname,w,h,pos,infocus){

if(pos=="random"){myleft=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;mytop=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}

if(pos=="center"){myleft=(screen.width)?(screen.width-w)/2:100;mytop=(screen.height)?(screen.height-h)/2:100;}

else if((pos!='center' && pos!="random") || pos==null){myleft=0;mytop=20}

settings="width=" + w + ",height=" + h + ",top=" + mytop + ",left=" + myleft + ",scrollbars=yes,location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=yes";win=window.open(mypage,myname,settings);

win.focus();}

// -->



<!-- #### MOUSE OVER  EFFECTS FOR TEXT BASED LINKS  :  use class="classname" within the <a href> tag ---------------------------------->

document.write("<style type=\"text/css\">");

if (navigator.appName.substring(0,9) == "Microsoft") {



	document.write("	A.MENU-DOWN:LINK { COLOR:\"#333399\"; TEXT-DECORATION:NONE; 	FONT-WEIGHT: normal; FONT-SIZE : 11px; }");

	document.write("	A.MENU-DOWN:VISITED { COLOR:\"#333399\"; TEXT-DECORATION:NONE; FONT-WEIGHT: normal;  FONT-SIZE : 11px;  }");

	document.write("	A.MENU-DOWN:ACTIVE { COLOR:\"#FF6600\"; TEXT-DECORATION:UNDERLINE; FONT-WEIGHT: normal;  FONT-SIZE : 11px;   }");

	document.write("	A.MENU-DOWN:HOVER { COLOR:\"#FF6600\"; TEXT-DECORATION:UNDERLINE; FONT-WEIGHT: normal;  FONT-SIZE : 11px;  }");


	document.write("	A.MENU-SUNPAG:LINK { COLOR:\"#333399\"; TEXT-DECORATION:NONE; 	FONT-WEIGHT: bold; FONT-SIZE : 13px; }");

	document.write("	A.MENU-SUNPAG:VISITED { COLOR:\"#333399\"; TEXT-DECORATION:NONE; FONT-WEIGHT: bold;  FONT-SIZE : 13px;  }");

	document.write("	A.MENU-SUNPAG:ACTIVE { COLOR:\"#FF6600\"; TEXT-DECORATION:UNDERLINE; FONT-WEIGHT: bold;  FONT-SIZE : 13px;   }");

	document.write("	A.MENU-SUNPAG:HOVER { COLOR:\"#FF6600\"; TEXT-DECORATION:UNDERLINE; FONT-WEIGHT: bold;  FONT-SIZE : 13px;  }");

	

} else {

	document.write("	A.MAINNAV { COLOR:#606060; TEXT-DECORATION:NONE; FONT-WEIGHT: bold;  FONT-SIZE : 12px; }");

	

	document.write("	A.SUBNAV { COLOR:#737373; TEXT-DECORATION:NONE; FONT-WEIGHT: bold;  FONT-SIZE : 12px; }");

	

	document.write("	A.FOOTERNAV { COLOR:#606060; TEXT-DECORATION:NONE; FONT-SIZE : 11px; }");

	

	document.write("	A.COMPONENTLINKS { COLOR:#2C5186; TEXT-DECORATION:NONE; FONT-SIZE : 11px; }");

	

	document.write("	A.CONTENT_LINK { COLOR:#19549B; TEXT-DECORATION:NONE; FONT-SIZE : 12px; }");

	

	document.write("	A.CONTENT_EMAIL { COLOR:#19549B; TEXT-DECORATION:NONE; FONT-SIZE : 12px; }");

	

	document.write("	A.TO_TOP { COLOR:#19549B; TEXT-DECORATION:NONE; FONT-SIZE : 10px; }");

	

	document.write("	A.MINI { COLOR:#BA3800; TEXT-DECORATION:NONE; FONT-SIZE : 10px; }");



}

document.write("	BODY {font-family: Arial, Verdana, Helvetica; }");

document.write("</style>");

//-->



// POPUP Window Script for shopping cart

var win=null;

function NewWindow_download(mypage,myname,w,h,pos,infocus){

if(pos=="random"){myleft=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;mytop=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}

if(pos=="center"){myleft=(screen.width)?(screen.width-w)/2:100;mytop=(screen.height)?(screen.height-h)/2:100;}

else if((pos!='center' && pos!="random") || pos==null){myleft=0;mytop=20}

settings="width=" + w + ",height=" + h + ",top=" + mytop + ",left=" + myleft + ",scrollbars=yes,location=yes,directories=yes,status=yes,menubar=yes,toolbar=yes,resizable=yes";win=window.open(mypage,myname,settings);

win.focus();}

// -->



// PRINT PAGE JS ---------------------------------------------------------------------------------------------------------------------->

function mailpage()

{

mail_str = "mailto:?subject=Visite el " + document.title;

mail_str += "&body=Pensé que podría estar interesado en el " + document.title;

mail_str += ". Puede visitarlo en la dirección: " + location.href; 

location.href = mail_str;

}

// -->



<!--

function MM_preloadImages() { //v3.0

  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();

    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)

    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}

}



function MM_swapImgRestore() { //v3.0

  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;

}



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_swapImage() { //v3.0

  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)

   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}

}

//-->


