 
 
//Hide script from older browsers
browser = (((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) >= 3 )) || ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4 )))
ie4 = ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4 ))
ns4 = ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) >= 4 ))
 
if (ns4) {
    layerRef="document.layers";
    styleRef="";
} else {
    layerRef="document.all";
    styleRef=".style";
}
 
function visibility(which, changeto){
        if (ns4|ie4) {
        eval(layerRef + '["' + which +'"]' + styleRef + '.visibility = changeto');
        } else {
        }
}
 
// end hiding contents 
 
 
 
/*
-----------------------------------------
|updated 1/12/01 by scott gardner       |
|Added an updated gif.                  |
-----------------------------------------
|      mattias.sjoberg@swipnet.se       |
| www.geocities.com/SiliconValley/7116 <http://www.geocities.com/SiliconValley/7116>   |
|     Visit  The JavaScript Planet      |
-----------------------------------------
*/
 
function isnew(maxdays, addDate){
 
        var oldDate = new Date(addDate);
        var newDate = new Date();
        var maxdaysold = maxdays*24*60*60*1000;
        var psj=0;
        
        if ((newDate.getTime()-oldDate.getTime()) <=  maxdaysold) {
                document.write("<img src=/images/new.gif width=35 height=15 ALIGN=texttop Alt='New!'>");
        }
 
}
 

function isupdated(maxdays, addDate){
 
        var oldDate = new Date(addDate);
        var newDate = new Date();
        var maxdaysold = maxdays*24*60*60*1000;
        var psj=0;
        
        if ((newDate.getTime()-oldDate.getTime()) <=  maxdaysold) {
                document.write("<img src=/images/update.gif width=36 height=12 ALIGN=top Alt='Recently Updated'>");
        }
 
}
//
 
 
 

//open window code
function openWindow(theURL,winName,features) {
                
                pixWindow = window.open(theURL,winName,features)
                
        }
 

//pulldown goto code
 
       function gotoPage(obj)
          {
          var s;
          s=obj.options[obj.selectedIndex].value
    location.href=s;
          }
// 

