
   <!--
   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; 
   //--> 

//-----------------------------------------------------------------------------------------------

function CenterPopup(URL,width,height){
	if (parseInt(navigator.appVersion) >= 3){
		if (navigator.appName == "Netscape" && parseInt(navigator.appVersion)<5){
			var tools = new Packages.java.awt.Toolkit.getDefaultToolkit();
			screen=tools.getScreenSize();
		}
		x = screen.width;
		y = screen.height;
	}
	window.open(URL,"dummy","top=" + parseInt(y/2-height/2-16) + ",left=" + parseInt(x/2-width/2-5) + ",width=" + width + ",height=" + height + ",scrollbars=0");
}

//-----------------------------------------------------------------------------------------------

   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; 
   


//---------------------------------------------------------------------------------------




