<!--
//----------------------------------------------------------
//Reloads the window on resize if the user is using Netscape 4
function NetscapeReload(nav) {  
  if (nav == true) with (navigator) {
  	if ((appName == "Netscape") && (parseInt(appVersion) == 4)) {
    		document.pageWidth = innerWidth; 
    		document.pageHieght = innerHeight; 
    		onresize = NetscapeReload; 
    	}
   }
  else if (innerWidth != document.pageWidth || innerHeight != document.pageHieght) location.reload();
}
NetscapeReload(true);

//----------------------------------------------------------
//Hide status bar msg II script
function hidestatus(){
window.status=''
return true
}

if (document.layers)
document.captureEvents(Event.MOUSEOVER | Event.MOUSEOUT)

document.onmouseover=hidestatus
document.onmouseout=hidestatus

//----------------------------------------------------------
//Function to open pop up window
function openWin(theURL,winName,features) {
  	window.open(theURL,winName,features);
}

//----------------------------------------------------------
//Function to put an expiring "new" image 
function newItem(expiryDate) {
        exp = new Date(expiryDate);
        cur = new Date();
        if (cur.getTime() < exp.getTime())
             document.write("<IMG SRC=\"../images/newy.gif\" WIDTH=31 HEIGHT=12 BORDER=0 ALT=\"new\" align=absmiddle>" );
   }
// Example to show image: <SCRIPT LANGUAGE="JavaScript"><!-- newItem("10/1/96"); // --></SCRIPT>
 
//----------------------------------------------------------
//Function to put a real time clock in the status bar 
function StatusBarClock() {
   window.setTimeout( "StatusBarClock()", 1000 );
   t = new Date();
      self.status = "Local Time: " + t.toString();
}
StatusBarClock()

//----------------------------------------------------------
//Function to hide email addresses
function webmastermail() { 
var mail = "webmaster" 
var url = "pmm.it" 
location.href="mailto:" + mail + "@" + url;
} 
function mail(email) { 
var mail = email 
var url = "pmm.it" 
location.href="mailto:" + mail + "@" + url;
} 
// Example to show email: <a href="javascript:cisanomail()">This mailto tag cannot be grabbed by spam robots !</a> 

//----------------------------------------------------------
//Function to hide email addresses
function extmail(email, address) { 
var mail = email 
var url = address 
location.href="mailto:" + mail + "@" + url;
} 
// -->

