<!--
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;
}

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 MM_findObj(n, d) { //v4.01
  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);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

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 showRemote() {
//self.name = "current"; // names current window as "current"

//var windowprops = "toolbar=0,location=0,directories=0,status=0, " +
//"menubar=0,scrollbars=1,resizable=0,width=550,height=600,left=240,top=5";


//OpenWindow = window.open("http://www.samudera.com/cgi-bin/search.cgi?search=" +document.search.search.value , "remote", windowprops); // opens remote control
//}

function CheckField1()
{
   // Get ASCII value of key that user pressed
   var key = window.event.keyCode;

   // Was key that was pressed a numeric character (0-9)?
    if ( key ==91 || key == 93 || key == 34 || key == 38 || key == 39 || key == 63 || key == 59 || key == 60 || key == 62 )
      window.event.returnValue = null; // if so, do nothing
   else
      return; // otherwise, discard character
}

function clearSearch()
{
frmSearch.terms.value=""
}

function showRemote() {
self.name = "current"; // names current window as "current"

var windowprops = "toolbar=0,location=0,directories=0,status=0, " +
"menubar=0,scrollbars=1,resizable=0,width=470,height=300,left=240,top=5";

	if (document.frmSearch.terms.value != "" )
	{
		if (document.frmSearch.terms.value != "Search for..." )
		{
		OpenWindow = window.open("results.asp?terms=" +document.frmSearch.terms.value , "remote", windowprops); // opens remote control
//		OpenWindow = window.open("results.asp?terms=" +document.frmSearch.terms.value , "remote", windowprops); // opens remote control
		}
		else
		{
		alert("Please fill in the search critera.");
		}
	}
	else
	{
		alert("Please fill in the search critera.");
	}
}
document.write("<table width=100% border=0 cellspacing=0 cellpadding=0>")
document.write("<tr> ")
document.write("<td>&nbsp;</td>")
document.write("<td width=62><a href=contact.htm onMouseOut=MM_swapImgRestore() onMouseOver=MM_swapImage('contact','','images/menu/contacton.gif',1)><img src=images/menu/contactoff.gif name=contact width=62 height=23 border=0></a></td>")
document.write("<td width=15><img src=images/menu/separtor2.gif width=15 height=23></td>")
document.write("<td width=46><a href=sitemap.htm onMouseOut=MM_swapImgRestore() onMouseOver=MM_swapImage('sitemap','','images/menu/sitemapon.gif',1)><img src=images/menu/sitemapoff.gif name=sitemap width=46 height=23 border=0></a></td>")
document.write("<td width=15><img src=images/menu/separtor2.gif width=15 height=23></td>")
document.write("<td width=33><a href=index.htm onMouseOut=MM_swapImgRestore() onMouseOver=MM_swapImage('home','','images/menu/homeon.gif',1)><img src=images/menu/homeoff.gif name=home width=33 height=23 border=0></a></td>")
document.write("<td width=155><table width=155 border=0 cellspacing=0 cellpadding=0>")
document.write("<tr> ")
document.write("<form name=frmSearch method=get action=javascript:showRemote();>")
document.write("<td><div align=right><input class=searchinput name=terms type=text size=17 onKeyPress='CheckField1()' onclick='clearSearch()'></div></td>")
document.write("<td width=28><input type=image name=go border=0 src=images/menu/go.gif width=28 height=23></td>")
document.write("</form>")
document.write("</tr>")
document.write("</table></td>")
document.write("</tr>")
document.write("</table>")