<!--hide this script from non-javascript-enabled browsers

function checkform(form) 
	{
		var browser = navigator.appName;
		var version = parseInt(navigator.appVersion);
		if ((browser == "Netscape" && version >=4) || (browser == "Microsoft Internet Explorer" && version >=4))
			{
			if (document.forms[0] == null) return;
	
			for(i=0;i<document.forms[0].elements.length;i++)
	 			{
	 			if(document.forms[0].elements[i].type != 'hidden')
	 				{
					if(document.forms[0].elements[i].type == "text")
						{
						document.forms[0].elements[i].focus();
						i = document.forms[0].elements.length;
						}
					}
	 			}
			}
		else
		return;
	}	

/*
--------------------------------------------------------------------------------
Used in select boxes to load a new page. function go() loads page 
in entire browser. function golocal() loads page in specific 
frame/page.

Example: 
<form action="" method="POST" name="quick_pick">
	<select class="inputform" name="spots" size="1" onchange="go(this);">
		<option value="index.cfm">- Information -</option>
		<option value="/a/">A</option>
		<option value="/b/">B</option>
		<option value="/c/">C</option>
	</select>
</form>
*/
function go(formname)
{
	var address = formname.options[formname.selectedIndex].value;
	window.top.location.href = address;
	address.selectedIndex=0;
}



function golocal(formname)
{
	var address = formname.options[formname.selectedIndex].value;
	location.href = address;
	address.selectedIndex=0;
}

/* --------------------------------------------------------------------------------
Opens a new browser window*/
function MM_openBrWindow(theURL,winName,features) 
{
  window.open(theURL,winName,features);
}
/* --------------------------------------------------------------------------------
Image Rollover Functions */

function MM_findObj(n, d) { //v3.0
  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=MM_findObj(n,d.layers[i].document); return x;
}
/* Functions that swaps images. */
function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

/* Functions that handle preload. */
function MM_preloadImages() { //v3.0
 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
   var i,j=d.MM_p.length,a=MM_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 lookupItem(el,dest) {
      if (!isDHTML) {
        el.blur(); el.focus()
      }
      var curValue = el.value.toLowerCase()
      var found = false
      var index = dest.selectedIndex
      var numOptions = dest.options.length
      var pos = 0
      while ((!found) && (pos < numOptions)) {
        found = (dest.options[pos].text.toLowerCase().indexOf(curValue)==0) 
        if (found) 
          index = pos
        pos++
      }
      if (found)
        dest.selectedIndex = index
      if (!isDHTML) 
        el._v = setTimeout("lookupItem(document.lForm.addLookup, document.lForm.userid)",500)
    }

    function goValue(el) {
      var where
      if (el.selectedIndex>-1) {
        where = el.options[el.selectedIndex].value
        window.open(where,"")
      }
    }

    var ie4 = (document.all)
    var ns4 = (document.layers)
    var isDHTML = ie4 || ns4
// stop hiding -->