
/////////////////////////////////////////////////
///////  09:54 24/03/03//////////////////////////
//////// Fábi Zampirão / the zaamp //////////////
/////////////////////////////////////////////////




//----- ### desativado ## -------------------------------------> 
	// Link   <a href="  javascript:popup('teste.htm','400','200')   ">
	// <SCRIPT language=JavaScript src="preload.js" type=text/javascript></SCRIPT>
	 
	function popup(page,width,heigth)
	{
		window.open(page,"Fullgaz",'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,left=200, top=50, resizable=no,width='+width+', height='+heigth);
	}

//------------------------------------------------------------> 




/////////////////////////////////////////////////
///////  mouse //////////////////////////////////
/////////////////////////////////////////////////
//------------------------------------------------------------> 

//<bodyonLoad="if(parent.frames.lenght!=0)top.location='suapagina.html';" onLoad="window.focus()">
// linha  acima  colar no código da pagina, mas funciona sem tbm. :P


// desativada linha  abaixo, desativa todo o código mouse direito / para trabalhar.
if (window.Event) 
document.captureEvents(Event.MOUSEUP); 

function nocontextmenu() 
{ 
event.cancelBubble = true 
event.returnValue = false; 

return false; 
} 

function norightclick(e) 
{ 
if (window.Event) 
{ 
if (e.which == 2 || e.which == 3) 
return false; 
} 
else 
if (event.button == 2 || event.button == 3) 
{ 
event.cancelBubble = true 
event.returnValue = false; 
return false; 
}
}
if (document.layers) { 
document.captureEvents(Event.MOUSEDOWN); 
} 
document.oncontextmenu = nocontextmenu; 
document.onmousedown = norightclick; 
document.onmouseup = norightclick; 
//------------------------------------------------------------> 







////////////////////////////////////////////////
/////////  POPUP rádio /////////////////////////
////////////////////////////////////////////////
//--------------------------------------------------------
function NewWindow(mypage, myname, w, h, scroll) {
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable=no'
win = window.open(mypage, myname, winprops)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}

// <a href="agradece1.html" onclick="NewWindow(this.href,'name','400','400','no');return false;">anuncie</a>
//------------------------------------------------------------> 
