// JavaScript Document


function embeds(url,w,h){
document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="'+w+'" height="'+h+'">');
document.write('<param name="movie" value="'+url+'">');
document.write('<param name="quality" value="high">');
document.write('<param name="wmode" value="transparent">');
document.write('<param name="menu" value="false">');
document.write('<embed src="'+url+'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="'+w+'" height="'+h+'" wmode="transparent"></embed>');
document.write('</object>');
}




	
	function janela( file, window, larg,  altura){
		msgWindow=open(file,window,'directories=no,toolbar=no,location=no,status=no,menubar=no,scrollbars=no,copyhistory=no,resizable=yes,width=' + larg + ',height='  + altura);
		msgWindow.moveTo((screen.width-larg)/2,(screen.height-altura)/2-50);  
	}
	
	function processavotos()
      {
        var windowName = "vota";
        var windowFeatures = "width=300,height=350,top=200,left=200,resizable=no,scrollbars=yes,toolbar=no,location=no,menubar=no,status=no";
        windowLogin = window.open("", windowName, windowFeatures);
        
        windowLogin.focus();
      }//-->





/*

<!--
var mensagem="";
function clickIE() {if (document.all) {(mensagem);return false;}}
function clickNS(e) {if 
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(mensagem);return false;}}}
if (document.layers) 
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
document.oncontextmenu=new Function("return false")
// --> 





function blockError() {
	return true;
}

window.onerror = blockError;

function disableselect(e) {
	return false;
}

function reEnable() {
	return true;
}

//Se o browser for IE4+
document.onselectstart = new Function("return false");

//Se o browser for NS6
if(window.sidebar) {
	document.onmousedown = disableselect;
	document.onclick = reEnable;
}

*/

