function agregar()
{ 
if ((navigator.appName=="Microsoft Internet Explorer") && (parseInt(navigator.appVersion)>=4)) {
      var url="http://www.muyzorras.com/";
      var titulo="www.muyzorras.com - Sexo gratis";
      window.external.AddFavorite(url,titulo); }
else {  if(navigator.appName == "Netscape")
				window.sidebar.addPanel("www.muyzorras.com - Sexo gratis","http://www.muyzorras.com/","");  }
}

function paso_contenido(id_div)
	{
		var contenido = document.getElementById(id_div).innerHTML;		
		return contenido;
	}

function muestra_flot(id)
{
	var fl = document.getElementById(id);
	var estado = fl.style.visibility;
	
	if(estado == "visible")
		fl.style.visibility = "hidden";
	else
		fl.style.visibility = "visible";
}

if (screen.availWidth > screen.Width-20)
{
  self.focus()
  self.moveTo(0,0)
  self.resizeTo(screen.availWidth,screen.availHeight)
}

if (top.frames.length!=0)
{
freeOut=1;
top.location=self.document.location;
}

var addthis_language = "es";
var addthis_offset_left = -59;
var addthis_hover_delay = 0;
var addthis_pub="muyzorras";
var addthis_brand = "MUYZORRAS.com";
var addthis_localize = {
        share_caption: "Comparte y envia",        
		email_caption: "Enviar por correo",        
		email: "Correo",          
		more: "Más sitios" 

};
function nuevoAjax()
{
	var xmlhttp=false;
	try {
			xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
	} 
	catch (e) {
		try {
			xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
		} 
		catch (E) {
			xmlhttp = false;
		}
	}

	if (!xmlhttp && typeof XMLHttpRequest!='undefined') 
	{
		xmlhttp = new XMLHttpRequest();
	}
		
	return xmlhttp;
} 

function cargarContenido()
{
	var contenedor;
	contenedor = document.getElementById('publicidad');
	ajax=nuevoAjax();
	ajax.open("GET", "/geoip/selector_doswebcams_impresionesweb.php",true);
	ajax.onreadystatechange=function() {
		if (ajax.readyState==1) 
		{
	    	contenedor.innerHTML="Cargando.......";
	    }
	    else if (ajax.readyState==4)
	    {
	    	if(ajax.status==200)
	    	{
	        	contenedor.innerHTML=ajax.responseText;
	        }
	        else if(ajax.status==404)
	        {
	            contenedor.innerHTML = "La direccion no existe";
	        }
	        else
	        {
	            contenedor.innerHTML = "Error: ".ajax.status;
	        }
	
	    }
    }
    ajax.setRequestHeader('Content-Type','application/x-www-form-urlencoded');
    ajax.send(null);
    return
}