function activa(){
	$(".ficha_lista").hover(
	  function () {
		$(this).find("img").dequeue().fadeTo(100, 0.2);
	  },
	  function () {
		$(this).find("img").dequeue().fadeTo(100, 1);
	  }
	)

  } 

  $(document).ready(function(){
	$(".ficha_lista a img").addClass('fade');
	activa();
  })

function agregar()
{ 
if ((navigator.appName=="Microsoft Internet Explorer") && (parseInt(navigator.appVersion)>=4)) {
      var url="http://www.videosmz.com/";
      var titulo="www.videosmz.com - Videos gratis";
      window.external.AddFavorite(url,titulo); }
else {  if(navigator.appName == "Netscape")
				window.sidebar.addPanel("www.videosmz.com - Videos gratis","http://www.videosmz.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="videosmz";
var addthis_brand = "VIDEOSMZ.com";
var addthis_localize = {
        share_caption: "Comparte y envia",        
		email_caption: "Enviar por correo",        
		email: "Correo",          
		more: "Más sitios" };
		
function cargarContenido()
{
	var contenedor;
	var url;
	var laurl;
	laurl=document.location.href;
	
	if(laurl.indexOf("www")!=-1)
		url= "http://www.muyzorras.com/geoip/selector_doswebcams_impresionesweb.php";
	else
		url= "http://muyzorras.com/geoip/selector_doswebcams_impresionesweb.php";
	
	contenedor = document.getElementById('publicidad');
	ajax=nuevoAjax();
	ajax.open("GET",url,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
}

