function control() 
{
document.all.form1.TEXT1.focus();
}


/*function chngArchMatrl()
{
	var name=0;
	name=(document.all.form1.select18.options[document.all.form1.select18.selectedIndex].name); 
	alert('lll'+name);
	if (name='Photo') {
		document.all.form1.select27.options[document.all.form1.select27.selectedIndex].value='1'; 
	}
}*/


function CheckToSubmitEntry() 
{		
	if ( ( document.all.form1.TEXT1.value == ""  ) && (document.all.form1.select27.options[document.all.form1.select27.selectedIndex].value== "") )
 	{
		alert('Please enter your search.');		 			
		return false;		
	} 	
	else 
    {    						
			document.all.form1.ROWCOUNT.value =10; 						
			<!--OnvanArch-->
			document.all.form1.TAG1.value ='111';			
			<!--ArchType-->
			document.all.form1.TAG5.value ='112';
			<!--KeyWords-->
			//document.all.form1.TAG2.value ='121';
			<!--ColorArch-->
			document.all.form1.TAG6.value ='114';
			<!--LanArch-->
			document.all.form1.TAG7.value ='119';
			<!--MatrilTypArch-->
			document.all.form1.TAG8.value ='118';
			
<!--MatrilTypArch-->			
			document.all.form1.TEXT8.value=document.all.form1.select27.options[document.all.form1.select27.selectedIndex].value;
			//alert(document.all.form1.TEXT8.value);
<!--ColorArch-->			
			document.all.form1.TEXT6.value=document.all.form1.select28.options[document.all.form1.select28.selectedIndex].value;
<!--LanArch-->			
			document.all.form1.TEXT7.value=document.all.form1.select26.options[document.all.form1.select26.selectedIndex].value;
			//alert(document.all.form1.select26.options[document.all.form1.select26.selectedIndex].value);
			//alert(document.all.form1.TAG1.value);
//			document.all.form1.SrchRelatedHidden.value ="44%2%15%3";				
//			SetIdsInArray_Meta();												
			//alert(document.all.form1.PAGENAME.value);
			document.all.form1.PAGENAME.value ='F-tmpArchiveSrch';					

			return true;
		//}
	 }	 
}


<!--

/*
Double Combo Script Credit
By JavaScript Kit (www.javascriptkit.com)
Over 200+ free JavaScripts here!
*/

/*var groups=document.form1.select18.options.length
var group=new Array(groups)
for (i=0; i<groups; i++)
group[i]=new Array()

group[0][0]=new Option("JavaScript Kit","http://javascriptkit.com")
group[0][1]=new Option("News.com","http://www.news.com")
group[0][2]=new Option("Wired News","http://www.wired.com")

group[1][0]=new Option("CNN","http://www.cnn.com")
group[1][1]=new Option("ABC News","http://www.abcnews.com")

group[2][0]=new Option("Hotbot","http://www.hotbot.com")
group[2][1]=new Option("Infoseek","http://www.infoseek.com")
group[2][2]=new Option("Excite","http://www.excite.com")
group[2][3]=new Option("Lycos","http://www.lycos.com")

var temp=document.form1.select27

function redirect(x){
for (m=temp.options.length-1;m>0;m--)
temp.options[m]=null
for (i=0;i<group[x].length;i++){
temp.options[i]=new Option(group[x][i].text,group[x][i].value)
}
temp.options[0].selected=true
}


//-->*/

