
<!--
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 hilight(obj) {
 obj.style.background='#DBDADA'; obj.style.cursor='hand';
}

function lowlight(obj) {
 obj.style.background = 'transparent';
}

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

preloadImages(
 '/MenuIcons/Main/menuicon_a',
 '/MenuIcons/About/menuicon_a',
 '/MenuIcons/Directions/menuicon_a',
 '/MenuIcons/Events/menuicon_a',
 '/MenuIcons/Units/menuicon_a',
 '/MenuIcons/Partners/menuicon_a'
);

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);
}

//-->
