<!--
function Favorites_Fever(myURL,myDescription){
	if (myURL !== "location.href") {myURL = "'"+myURL+"'";}
	myString="window.external.AddFavorite("+myURL+",'"+myDescription+"')";
	eval(myString);
	}
//-->

<!--//--><![CDATA[//><!--

sfHover = function() {
	<!--var sfEls = document.getElementById("nav").getElementsByTagName("LI");-->
	
	var sfEls = document.getElementById("nav"); 
if(!sfEls) return; 
sfEls = sfEls.getElementsByTagName("LI"); 

	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" sfhover";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);

//--><!]]>

<!--
function GP_AdvOpenWindow(theURL,winName,features,popWidth,popHeight,winAlign,ignorelink,alwaysOnTop,autoCloseTime,borderless) { //v2.0
  var leftPos=0,topPos=0,autoCloseTimeoutHandle, ontopIntervalHandle, w = 480, h = 360;  
  if (popWidth > 0) features += (features.length > 0 ? ',' : '') + 'width=' + popWidth;
  if (popHeight > 0) features += (features.length > 0 ? ',' : '') + 'height=' + popHeight;
  if (winAlign && winAlign != "" && popWidth > 0 && popHeight > 0) {
    if (document.all || document.layers || document.getElementById) {w = screen.availWidth; h = screen.availHeight;}
		if (winAlign.indexOf("center") != -1) {topPos = (h-popHeight)/2;leftPos = (w-popWidth)/2;}
		if (winAlign.indexOf("bottom") != -1) topPos = h-popHeight; if (winAlign.indexOf("right") != -1) leftPos = w-popWidth; 
		if (winAlign.indexOf("left") != -1) leftPos = 0; if (winAlign.indexOf("top") != -1) topPos = 0; 						
    features += (features.length > 0 ? ',' : '') + 'top=' + topPos+',left='+leftPos;}
  if (document.all && borderless && borderless != "" && features.indexOf("fullscreen") != -1) features+=",fullscreen=1";
  if (window["popupWindow"] == null) window["popupWindow"] = new Array();
  var wp = popupWindow.length;
  popupWindow[wp] = window.open(theURL,winName,features);
  if (popupWindow[wp].opener == null) popupWindow[wp].opener = self;  
  if (document.all || document.layers || document.getElementById) {
    if (borderless && borderless != "") {popupWindow[wp].resizeTo(popWidth,popHeight); popupWindow[wp].moveTo(leftPos, topPos);}
    if (alwaysOnTop && alwaysOnTop != "") {
    	ontopIntervalHandle = popupWindow[wp].setInterval("window.focus();", 50);
    	popupWindow[wp].document.body.onload = function() {window.setInterval("window.focus();", 50);}; }
    if (autoCloseTime && autoCloseTime > 0) {
    	popupWindow[wp].document.body.onbeforeunload = function() {
  			if (autoCloseTimeoutHandle) window.clearInterval(autoCloseTimeoutHandle);
    		window.onbeforeunload = null;	}  
   		autoCloseTimeoutHandle = window.setTimeout("popupWindow["+wp+"].close()", autoCloseTime * 1000); }
  	window.onbeforeunload = function() {for (var i=0;i<popupWindow.length;i++) popupWindow[i].close();}; }   
  document.MM_returnValue = (ignorelink && ignorelink != "") ? false : true;
}
//-->

<!--
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_validateForm() { //v4.0
  var i,p,q,nm,test,num,min,max,errors='',args=MM_validateForm.arguments;
  for (i=0; i<(args.length-2); i+=3) { test=args[i+2]; val=MM_findObj(args[i]);
    if (val) { nm=val.name; if ((val=val.value)!="") {
      if (test.indexOf('isEmail')!=-1) { p=val.indexOf('@');
        if (p<1 || p==(val.length-1)) errors+='- '+nm+' must contain an e-mail address.\n';
      } else if (test!='R') { num = parseFloat(val);
        if (isNaN(val)) errors+='- '+nm+' must contain a number.\n';
        if (test.indexOf('inRange') != -1) { p=test.indexOf(':');
          min=test.substring(8,p); max=test.substring(p+1);
          if (num<min || max<num) errors+='- '+nm+' must contain a number between '+min+' and '+max+'.\n';
    } } } else if (test.charAt(0) == 'R') errors += '- '+nm+' is required.\n'; }
  } if (errors) alert('The following error(s) occurred:\n'+errors);
  document.MM_returnValue = (errors == '');
}
//-->

<!-- Hide the script from non-Javascript browsers

/*** Feel free to use this script, just leave these comment lines. ***/
/***         Goetz's Banner Script copyright 1998 Lawrence Goetz   ***/
/***         goetz@lawrencegoetz.com http://www.lawrencegoetz.com/ ***/

	// Indicate how many banner ads there are.
	var amount=2;


	// Array Function.
	function makeArray(len) {
		for (var i = 0; i < len; i++) 
			this[i] = null;
		this.length = len;
	}

	// Array Function for target in frames. 
	// You can adjust the default here if you like.
	// The default is _self.
	function makeTargetArray(len) {
		for (var i = 0; i < len; i++) 
			this[i] = "_top";
		this.length = len;
	}
	
	// Generate's the arrays.
	image = new makeArray(amount);
	link = new makeArray(amount);
	target = new makeTargetArray(amount);
	info = new makeArray(amount);

	// Place your banner information here. Start at index number 0.


	image[1]="../img/alojamientos-recomendados/skybanner-paquetes.jpg";
	link[1]="http://www.onlinehoteles.com/paquetesdealojamiento.htm?source=onlinehoteles.com_banner";
	info[1]="Paquetes de Alojamiento en Argentina y Brasil";
	target[1]="_top";

	
	image[3]="../img/alojamientos-recomendados/skybanner-onlinehotelesar.jpg";
	link[3]="http://www.online-hoteles.com.ar/?source=onlinehoteles.com_banner";
	info[3]="Online Hoteles - Argentina and Brazil Hotels";
	target[3]="_top";

	

	
	
	// Randomly pick a banner to display.
	function rand(n) {
		seed = (0x015a4e35 * seed) % 0x7fffffff;
		return (seed >> 16) % n;
	}
	        
	var now = new Date();
	var seed = now.getTime() % 0xffffffff;
	var position=rand(amount);

//-- End Hiding Here -->

<!-- fotos
function openPictureWindow_Fever(imageName,imageWidth,imageHeight,alt,posLeft,posTop) {
	newWindow = window.open("","newWindow","width="+imageWidth+",height="+imageHeight+",left="+posLeft+",top="+posTop);
	newWindow.document.open();
	newWindow.document.write('<html><title>'+alt+'</title><body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginheight="0" marginwidth="0" onBlur="self.close()">'); 
	newWindow.document.write('<img src='+imageName+' width='+imageWidth+' height='+imageHeight+' alt='+alt+'>'); 
	newWindow.document.write('</body></html>');
	newWindow.document.close();
	newWindow.focus();
}
//-->

<!-- quick access menu
function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}
//-->
