$(document).ready(function(){

/*	$("#BlogArchive1").slideDown("normal",function(){
		$("#Label2").slideDown("normal",function(){
			$("#Label1").slideDown("normal",function(){
				$("#LinkList4").slideDown("normal",function(){
					$("#HTML9").slideDown("normal",function(){
						$("#HTML10").slideDown("normal")
					})
				})
			})
		})
	}) */

	$("#LinkList1 a,#LinkList2 a,#LinkList3 a,#LinkList4 a").click(function(){
	  loc = $(this).attr("href")
	  window.open(loc,"_blank")
	  return false;
	})
	
	$(".filmes_gratis").click(function(){
	  	x = Math.random() * 10;
	  	x = Math.round(x);
	  	
	  	if(x == 0 || x == 1){
		    window.open("http://www.justfilmeseseriados.org/","_blank")
		}else if(x == 2 || x == 3){
		    window.open("http://www.sevendownloads.org/","_blank")
		}else if(x == 4 || x == 5){
		    window.open("http://www.colectionmusic.blogspot.com/","_blank")
		}else if(x == 6 || x == 7){
		    window.open("http://www.101filmes.blogspot.com/","_blank")
		}else if(x == 8 || x == 9){
		    window.open("http://telona.org/","_blank")
		}else if(x == 10){
		    window.open("http://www.elitedosfilmes.com/","_blank")
		}
	  return false;
	  
	})
	
	$(".bbb").click(function(){
	  window.open('http://www.link-protegido.com/bbb/index.php','player')
	  return false;
	})
	
	$(".banrod").click(function(){
//	  	  	x = Math.random() * 10;
//	  	x = Math.round(x);
	  	
//	  	if(x == 0 || x == 1){
		    window.open("http://compare.buscape.com.br/redirect_prod?id=6058&prod_id=70362531&emp_id=255256&pos=3&az=9c499fb255ec03b26ecf131254c1aa6c&cn=2811127641&nc=vd189552614420091219162541&pg=4&site_origem=5343056","_blank")
//		}else if(x == 2 || x == 3){
//		    window.open("http://compare.buscape.com.br/redirect_prod?id=6058&prod_id=70362531&emp_id=255256&pos=3&az=9c499fb255ec03b26ecf131254c1aa6c&cn=2811127641&nc=vd189552614420091219162541&pg=4&site_origem=5343056","_blank")
//		}else if(x == 4 || x == 5){
//		    window.open("http://compare.buscape.com.br/redirect_prod?id=6058&prod_id=70362531&emp_id=255256&pos=3&az=9c499fb255ec03b26ecf131254c1aa6c&cn=2811127641&nc=vd189552614420091219162541&pg=4&site_origem=5343056","_blank")
//		}else if(x == 6 || x == 7){
//		    window.open("http://compare.buscape.com.br/redirect_prod?id=6058&prod_id=70362531&emp_id=255256&pos=3&az=9c499fb255ec03b26ecf131254c1aa6c&cn=2811127641&nc=vd189552614420091219162541&pg=4&site_origem=5343056","_blank")
//		}else if(x == 8 || x == 9){
//		    window.open("http://compare.buscape.com.br/redirect_prod?id=6058&prod_id=70362531&emp_id=255256&pos=3&az=9c499fb255ec03b26ecf131254c1aa6c&cn=2811127641&nc=vd189552614420091219162541&pg=4&site_origem=5343056","_blank")
//		}else if(x == 10){
//		    window.open("http://compare.buscape.com.br/redirect_prod?id=6058&prod_id=70362531&emp_id=255256&pos=3&az=9c499fb255ec03b26ecf131254c1aa6c&cn=2811127641&nc=vd189552614420091219162541&pg=4&site_origem=5343056","_blank")
//		}
	  	
	  
	})
	
		
//    $("#LinkList1 li").css("font-size","7pt");
    $("#LinkList1 li").css("line-height","125%");
    $("#LinkList3 li").css("line-height","130%");
    $("#LinkList4 li").css("line-height","130%");
    $("#LinkList2 li").css("line-height","130%");

/*	$("#HTML10").fadeIn("normal",function(){
		$("#HTML9").fadeIn("normal",function(){
			$("#LinkList4").fadeIn("normal",function(){
				$("#Label1").fadeIn("normal",function(){
					$("#Label2").fadeIn("normal",function(){
						$("#BlogArchive1").fadeIn("normal",function(){
							$("#HTML6").fadeIn("normal")
						})
					})
				})
			})
		})
	}) */
	
	$(".link_img").click(function(){
	  	x = Math.random() * 10;
	  	x = Math.round(x);
	  
	  	if(x == 0){
		    window.open("http://ads.gamavirtual.com/id/5497_6","_blank")
		}else if(x == 1){
		    window.open("http://ads.gamavirtual.com/id/5497_35","_blank")
		}else if(x == 2){
		    window.open("http://ads.gamavirtual.com/id/5497_29","_blank")
		}else if(x == 3){
		    window.open("http://ads.gamavirtual.com/id/5497_100","_blank")
		}else if(x == 4){
		    window.open("http://ads.gamavirtual.com/id/5497_42","_blank")
		}else if(x == 5){
		    window.open("http://ads.gamavirtual.com/id/5497_36","_blank")
		}else if(x == 6){
		    window.open("http://ads.gamavirtual.com/id/5497_8","_blank")
		}else if(x == 7){
		    window.open("http://ads.gamavirtual.com/id/5497_49","_blank")
		}else if(x == 8){
		    window.open("http://ads.gamavirtual.com/id/5497_75","_blank")
		}else if(x == 9){
		    window.open("http://ads.gamavirtual.com/id/5497_57","_blank")
		}else if(x == 10){
		    window.open("http://ads.gamavirtual.com/id/5497_80","_blank")
		}
	  
		return false;	  
	})
	
//	$(".link_sinopse").attr("href","TesteCaliente.html")
//	$(".link_sinopse").html("<img src='http://1.bp.blogspot.com/_pWHrxfbgyM4/SzEwbwfWh7I/AAAAAAAAAx4/7W90hGRbeXc/s200/caliente.gif' style='border:none' title='Clique para fazer o teste!'>")
//	$(".link_sinopse").click(function(){
//	  window.open("http://www.link-protegido.com/caliente/caliente.html","_blank")
//	  return false;
//	})


	
	$(".link_ajuda, .link_img").attr("href","http://www.megaupolad.com/?d=VF93E8SA")
	$(".link_ajuda").html("<span style='color:#000000;text-decoration:none;'>Servidor:</span> Megaupload")
	$(".link_ajuda").click(function(){
   	    x = Math.random() * 1;
	  	x = Math.round(x);
		if(x == 0){
		  window.open("http://www.coletaneadefilmes.com.br")
		  window.open("http://www.zgamesparacelular.com")
		}else{
		  window.open("http://www.zgamesparacelular.com")
		  window.open("http://www.coletaneadefilmes.com.br")
		}
	  return false;
	})
	
//	$("#LinkList2 a").mouseover(function(){
//	  $(this).animate( { fontSize:"11pt" }, 100 )
//	  $(this).css("font-weight","bold")
//	}).mouseout(function(){
//	  $(this).animate( { fontSize:"10pt" },200)
//	  $(this).css("font-weight","normal")
//	})
	

cor_news()	

})

function aStatus() { 
var as = document.getElementsByTagName("a"); 
    for(var i = 0; i < as.length; i++) { 
    as[i].onmouseover = function() {  
                        window.status = this.title != 'AMER' ? this.title : this.innerHTML;  
                        return true;  
                        }; 
    as[i].onmouseout = function() {  
                       window.status = ''; 
                       return true;  
                       }; 
    } 
}; 


	
function cor_news(){
  if(document.getElementById('bbb').style.color=='red'){
    document.getElementById('bbb').style.color='white'
  }else{
    document.getElementById('bbb').style.color='red'
  }
  setTimeout("cor_news()",500)
}
