var sdsubmit=1;

function validateForm(form) {
if (sdsubmit){
	urlstr = new String()
	urlstr.value = form.url.value
	if ( urlstr.value == "http://"){
		alert("Please enter a valid URL, ie 'http://mydomain.com'")
		form.url.focus()
		return false
	}
}
else {return false}
}

function launchit()
{
with (document.positionform)
 {
endvalue=search.value.length;
 for (i=0; i<=endvalue; i++)
 {
  if (search.value.charAt(i)==' ') 
  {
   temp=search.value.substring(0,i)+'+'+search.value.substring(i+1,endvalue);
   search.value=temp;
  }
 }
theurl='http://www.echoecho.com/cgibin/position.cgi?search='+search.value;
 theurl=theurl+'&url='+url.value;
 if (yahoo.checked) {theurl=theurl+'&yahoo=checked'};
 if (excite.checked) {theurl=theurl+'&excite=checked'};
 if (altavista.checked) {theurl=theurl+'&altavista=checked'};
 if (google.checked) {theurl=theurl+'&google=checked'};
 if (lycos.checked) {theurl=theurl+'&lycos=checked'};
 if (msn.checked) {theurl=theurl+'&msn=checked'};
 if (webcrawler.checked) {theurl=theurl+'&webcrawler=checked'};
 if (hotbot.checked) {theurl=theurl+'&hotbot=checked'};
 if (fastsearch.checked) {theurl=theurl+'&fastsearch=checked'};
 if (go2.checked) {theurl=theurl+'&goto=checked'};

 }
MyWindow=window.open(theurl,'MyWindow','toolbar=no,location=no,directories=no,status=no,menubar=yes,scrollbars=no,resizable=yes,width=500,height=460');
}

function popit(windowname)
{
with (document.popitupform) 
{
if (r[0].checked) {x=640; y=480;};
if (r[1].checked) {x=800; y=600;};
if (r[2].checked) {x=1024; y=760;};
if (r[3].checked) {x=1600; y=1200;};
pageurl=url.value;
if (pageurl.indexOf("://")==-1) {pageurl="http://"+pageurl};
windowstring="toolbar=yes,location=yes,directories=yes,status=no,menubar=yes,scrollbars=yes,resizable=yes,width="+x+",height="+y;
MyNewWindow=window.open(pageurl, windowname,windowstring);
}
}

function putdate()
{
ThisDate=new Date();
thismonth=ThisDate.getMonth()+1;
if (thismonth=="1") {monthname="January"}
if (thismonth=="2") {monthname="February"}
if (thismonth=="3") {monthname="March"}
if (thismonth=="4") {monthname="April"}
if (thismonth=="5") {monthname="May"}
if (thismonth=="6") {monthname="June"}
if (thismonth=="7") {monthname="July"}
if (thismonth=="8") {monthname="August"}
if (thismonth=="9") {monthname="September"}
if (thismonth=="10") {monthname="October"}
if (thismonth=="11") {monthname="November"}
if (thismonth=="12") {monthname="December"}

 CurrentDate=monthname+' '+ThisDate.getDate()+'';

 document.write(CurrentDate);
}

a='<'+'!'+'-'+'- ';
b='-'+'-'+'>';

function web()
{
document.write(a);
}

function hosting()
{
document.write(b);
}

function endform(){
c='<'+'/'+'fo'+'rm>';
document.write(c);
}

