// IDENTIFY FILE NAME
//<!--
var path = "";
var href = document.location.href;
var s = href.split("/");
for (var i=2;i<(s.length-1);i++) {
path += "+s[i]+";
}
var filename = s[i];
//-->

// DETECT BROWSER AND ASSIGN CSS
//<!--
if (navigator.appName == 'Netscape') {
document.write('<link rel="stylesheet" type="text/css" href="ns_styles.css">');
 } else if (navigator.appName == 'Microsoft Internet Explorer') {
   document.write('<link rel="stylesheet" type="text/css" href="ie_styles.css">');
 }
//-->

// PUT A BOX OUTLINE AROUND ANY CONTENT
<!-- //
function BoxStart() {
document.write('<table bgcolor="#b7b7d0" align="center" border="0" cellpadding="0" cellspacing="0" width="170">');
document.write('  <tr>');
document.write('	<td align="center" valign="center" width="50%">');
document.write('	<table align="center" border="0" cellpadding="5" cellspacing="1" width="170">');
document.write('	  <tr>');
document.write('		<td bgcolor="White" align="left" valign="center" class="LGray_10pt">');
}
// -->
// PUT A BOX OUTLINE AROUND ANY CONTENT
<!-- //
function BoxEnd() {
document.write('	    </td>');
document.write('	  </tr>');
document.write('	</table>');
document.write('    </td>');				
document.write('  </tr>');
document.write('</table>');
}
// -->


// FORM VALIDATION
<!-- Hide from old browsers
// Check required form elements script
function checkrequired(which){
var pass=true
if (document.images){
for (i=0;i<which.length;i++){
var tempobj=which.elements[i]
if (tempobj.name.substring(0,8)=="required"){
if (((tempobj.type=="text"||tempobj.type=="textarea")&&tempobj.value=='')||(tempobj.type.toString().charAt(0)=="s"&&tempobj.selectedIndex==-1)){
pass=false
break
}
}
}
}
if (!pass){
alert("Information has not been typed into the required fields. \n Please provide required information, then submit again!")
return false
}
else
return true
}
// -->
// END - FORM VALIDATION

// JUMP TO DESTINATION THROUGH SELECT BOX
<!--
function leapto(form)
   {
   var myindex= form.dest.selectedIndex;
   if (myindex==0)
      alert("Please select a destination from the drop down list, thank you!");
   if (myindex>=1)
      { location=form.dest.options[myindex].value; }
   }
// -->
// END - JUMP TO DESTINATION
