<!-- Preload Images -->
if (document.images)
{
  preload_image_object = new Image();
  image_url = new Array();
  image_url[0] = "images/sidebar1.gif";
  image_url[1] = "images/subscribe.gif";
  image_url[2] = "images/ge_logo_bg_s.gif";
   var i = 0;
   for(i=0; i<=2; i++) 
	 preload_image_object.src = image_url[i];
}

<!-- Disable on body -->
var isNS = (navigator.appName == "Netscape") ? 1 : 0;
var EnableRightClick = 0;
if(isNS)
	document.captureEvents(Event.MOUSEDOWN||Event.MOUSEUP);

function mischandler(){
	if(EnableRightClick==1){ 
		return true; 
	} else {
		return false; 
	}
}
function mousehandler(e){
	if(EnableRightClick==1){ 
		return true; 
	}
	var myevent = (isNS) ? e : event;
	var eventbutton = (isNS) ? myevent.which : myevent.button;
	if((eventbutton==2)||(eventbutton==3)) 
		return false;
}
function keyhandler(e) {
	var myevent = (isNS) ? e : window.event;
	if (myevent.keyCode==96)
		EnableRightClick = 1;
	return;
}
document.oncontextmenu = mischandler;
document.onkeypress = keyhandler;
document.onmousedown = mousehandler;
document.onmouseup = mousehandler;


function show_imgpop(proid) {
	img = window.open('index.php?imgpop=' + proid , null,'location=0,status=0,scrollbars=0,menubar=0,resizable=0,width=500,height=500,left=10,top=10');
}
function abutton(alink) {
	document.location.href = alink;
}
function IsEmail(frm) 
{
	if (/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(frm.emailaddress.value))
	{
		return (true);
	}
	frm.emailaddress.value = "invalid e-mail address!";
	frm.emailaddress.style.color = "#CC0000";
	return (false);
}
function show_vidpop(filename) {
	img = window.open('index.php?vidpop=' + filename , null,'location=0,status=0,scrollbars=0,menubar=0,resizable=0,width=340,height=260,left=10,top=10');
}
