
<!--
function open_window(file, name, width, height, scrbar) {
  if(scrbar) window.open(file,name,"toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=yes,resizable=0,width=" + width + ",height=" + height);
   else window.open(file,name,"toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=no,resizable=0,width=" + width + ",height=" + height);
}

function preloadImages() {
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
  var i,j=d.MM_p.length,a=preloadImages.arguments; for(i=0; i<a.length; i++)
  if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function findObj(n, d) {
  var p,i,x;  if(!d) d=document;
  if((p=n.indexOf("?"))>0&&parent.frames.length) {
   d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);
  }
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=findObj(n,d.layers[i].document); return x;
}

function oprtnImage(Name) {
  var img,args=oprtnImage.arguments;
  if ((img = findObj(args[0])) != null)
   { img.src = args[1]; }
}

function clear_field(obj, val) {
 if(obj.value == val) obj.value = '';
}

function restore_field(obj, val) { 
 if(obj.value == '') obj.value = val;
}

function gotourl(url) {
 document.location=url;
}

function open_clipart(file, width, height) {
 window.open(file,'',"toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=no,resizable=0,width=" + width + ",height=" + height);
}

function detectAgent() {
  with (navigator) {
       var tempAgent = userAgent;
	   var tempName = appName;
	   this.plainAgentStr = userAgent;
	   this.plainNameStr = appName;
	   this.plainVersionStr = appVersion;
	   if (tempAgent.indexOf('Opera')>=0) {
	      this.name = "Opera";
		  this.shortName = "OPR";
		  var tempVer = tempAgent.substring(tempAgent.indexOf("Opera") + 6, tempAgent.length);
		  this.version = tempVer.substring(0, tempVer.indexOf(" "));
          this.minorVer = this.version.substring(tempVer.indexOf(".") + 1, tempVer.length);
          this.language = tempAgent.substring(tempAgent.indexOf("[") + 1, tempAgent.indexOf("]"));
		  
	   }
       else {
	      if (tempAgent.indexOf('MSIE')>=0) {
		     this.name = "Internet Explorer";
			 this.shortName = "EXP";
             var tempVer = tempAgent.substring(tempAgent.indexOf("MSIE") + 5, tempAgent.length);
             this.version = tempVer.substring(0, tempVer.indexOf(";"));
             this.minorVer = this.version.substring(tempVer.indexOf(".") + 1, tempVer.length);
             this.language = browserLanguage;
		  }
		  else {
		    if (tempName.indexOf('Netscape')>=0) {
			   this.name = "Netscape Navigator";
			   this.shortName = "NAV"
			   this.minorVer = appVersion.substring(appVersion.indexOf(".") + 1, appVersion.indexOf(" "));
               this.language = tempAgent.substring(tempAgent.indexOf("[") +1, tempAgent.indexOf("]"));
               this.version = appVersion.substring(0, appVersion.indexOf(" "));			   
			}
			else {
			   this.name = "Unknown";
			   this.shortName = "UNK"
			}
		  }
	   }
  }
}

//-->

<!--
function hilight(obj, id) {
 obj.style.background='#E77919'; 
 obj.style.cursor='hand';
 oprtnImage('menu_img1' + id,'/Images/menu_act');
}

function lowlight(obj, id) {
 obj.style.background = '#0D916E';
 oprtnImage('menu_img1' + id,'/Images/menu_nor');
}

var br = new detectAgent();
var NN = (br.shortName == "NAV");
var IE = (br.shortName == "EXP");
var OP = (br.shortName == "OPR");
//-->

<!--
function ShowCollage() {
 var obj = document.getElementById('collage');

 if(IE) {
   obj.filters.item(0).Apply()
   obj.style.visibility=""
   obj.filters.item(0).Play() 
 }
 else
   obj.style.visibility = "visible";
}
//-->