/*
	document.write(
		navigator.userAgent.indexOf('Mozilla/4')<0 || navigator.userAgent.indexOf('compatible')>=0
		?'<STYLE type="text/css"> DIV.shown { display:block }	DIV.hidden { display:none } <\/STYLE>'
		:'<STYLE type="text/css"> DIV.shown { display:block }	DIV.hidden { display:block } <\/STYLE>'
	);

var maximo_de_veces = 100

function Get_Cookie(name) { 
   var start = document.cookie.indexOf(name+"="); 
   var len = start+name.length+1; 
   if ((!start) && (name != document.cookie.substring(0,name.length))) return null; 
   if (start == -1) return null; 
   var end = document.cookie.indexOf(";",len); 
   if (end == -1) end = document.cookie.length; 
   return unescape(document.cookie.substring(len,end)); 
} 

function Set_Cookie(name,value,expires,ruta,domain,secure) { 
    var cookieString = name + "=" +escape(value) + ( (expires) ? ";expires=" + expires.toGMTString() : "") + ( (ruta) ? ";path=" + ruta : "") + ( (domain) ? ";domain=" + domain : "") + ( (secure) ? ";secure" : ""); 
    document.cookie = cookieString; 
} 

function Delete_Cookie(name,ruta,domain) { 
   if (Get_Cookie(name)) {
   	document.cookie = name + "=" + ( (ruta) ? ";path=" + ruta : "") + ( (domain) ? ";domain=" + domain : "") + ";expires=Thu, 01-Jan-70 00:00:01 GMT"; 
  }
} 

function Esconder(name) 
{
		if (document.getElementById) 
		{
			x = document.getElementById(name);
			if (x.className == "hidden") 
			{
				x.className = "shown";
			}
			else 
			{
				x.className = "hidden";
			}
		}
		else 
		{
			// AQUI DEBERĶA IR EL CODIGO PARA NETSCAPE PERO NO HAY
		}
}

var today = new Date(); 
var zero_date = new Date(0,0,0); 
today.setTime(today.getTime() - zero_date.getTime()); 
var cookie_expire_date = new Date(today.getTime() + (8 * 7 * 86400000)); 

var valor_cookie = 0;
if (Get_Cookie("veces_mostradas")) {
	valor_cookie = Get_Cookie("veces_mostradas")
}

*/
//if (valor_cookie < maximo_de_veces) {	
	//alert("aqui2");
	/*** DESCOMENTAR PARA BANNER
	document.write("\n<div id='Layer1' style='position:absolute; width:600px; height:300px; z-index:100; left: 100px; top: 100px; visibility: visible;'>");
  document.write("\n<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0' width='600' height='300'>");
	document.write("\n<param name='movie' value='http://www.manual-ondac.cl/images/home/banner_ondacfinal3.swf'>");
	document.write("\n<param name='quality' value='high'>");
  document.write("\n<param name='wmode' value='transparent'>");
	document.write("\n<embed src='http://www.manual-ondac.cl/images/home/banner_ondacfinal3.swf' width='600' height='300' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' wmode='transparent'></embed>");
	document.write("\n</object></div>");
	FIN BANNER ***/
	//Set_Cookie("veces_mostradas", parseInt(valor_cookie) + 1)
//}

//timerID = setTimeout("Esconder('Layer1')", 5000);

