<!--
function na_preload_img()
{ 
  var img_list = na_preload_img.arguments;
  if (document.preloadlist == null) 
    document.preloadlist = new Array();
  var top = document.preloadlist.length;
  for (var i=0; i < img_list.length; i++) {
    document.preloadlist[top+i] = new Image;
    document.preloadlist[top+i].src = img_list[i+1];
  } 
}

function na_change_img_src(name, nsdoc, rpath, preload)
{ 
  var img = eval((navigator.appName.indexOf('Netscape', 0) != -1) ? nsdoc+'.'+name : 'document.all.'+name);
  if (name == '')
    return;
  if (img) {
    img.altsrc = img.src;
    img.src    = rpath;
  } 
}

function na_restore_img_src(name, nsdoc)
{
  var img = eval((navigator.appName.indexOf('Netscape', 0) != -1) ? nsdoc+'.'+name : 'document.all.'+name);
  if (name == '')
    return;
  if (img && img.altsrc) {
    img.src    = img.altsrc;
    img.altsrc = null;
  }
} 

function MM_jumpMenu(targ,selObj,restore){
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

function popup(page,nom,option)
{ window.open(page,nom,option); }

function hidestatus(){ 
//Hide status bar msg II script- by javascriptkit.com
//Visit JavaScript Kit (http://javascriptkit.com) for script
//Credit must stay intact for use
window.status='' 
return true 
} 
if (document.layers) 
document.captureEvents(Event.MOUSEOVER | Event.MOUSEOUT) 
document.onmouseover=hidestatus 
document.onmouseout=hidestatus 

// -->

function printit(){ 
if (NS) {
window.print() ; 
} else {
var WebBrowser = '<OBJECT ID="WebBrowser1" WIDTH=0 HEIGHT=0 CLASSID="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2"></OBJECT>';
document.body.insertAdjacentHTML('beforeEnd', WebBrowser);
WebBrowser1.ExecWB(6, 2);
//Use a 1 vs. a 2 for a prompting dialog box
WebBrowser1.outerHTML = ""; 
}
}

function getCookie(byname){
byname=byname+"=";
nlen = byname.length;
fromN = document.cookie.indexOf(byname)+0;
if((fromN) != -1) {
fromN +=nlen 
toN=document.cookie.indexOf(";",fromN)+0;
if(toN == -1) 
{toN=document.cookie.length;} 
return unescape(document.cookie.substring(fromN,toN));
}
return null;
}

function setCookie(name,value,time) {
exp = new Date();
if((name==null)||(value==null)) return false; 
if(time==null) time=365*86400000; 
exp.setTime(exp.getTime()+time);
document.cookie =escape(name)+"="+escape(value)+"; "+"expires="+exp.toGMTString();
return true;
} 

function checkAccess()
{today=new Date();
countvalue=getCookie("counter");
if((countvalue==null)||(countvalue=="")) 
{countvalue="0";
}
countvalue=parseInt(countvalue)+1;
setCookie("counter",countvalue);
} 

function navigation() { fen = window.open ("","new","0,0,0,0,0,scrollbars=yes,0,width=500,height=420"); if( self.focus ) fen.focus(); } 

