// JavaScript Document
<!--
function chkdiv(divid)
{
	var chkid=document.getElementById(divid);
	if(chkid != null)
	{
		return true;
	}
	else 
	{
		return false;
	}
}

function searcharticle(){
	if(query.searchtext.value!=""){
		var searchtext=query.searchtext.value;
		var searchtype=query.searchtype.options[query.searchtype.selectedIndex].value;
		self.location=SiteDir+"/search/default.asp?searchtext="+searchtext+"&searchtype="+searchtype;
	}
}

function changeItem(objectvalue,objectname)
{
	for(i=0;i<eval(objectname).length;i++)
	{
		if(objectvalue==eval(objectname).options[i].value)
		{
			eval(objectname).selectedIndex=i;
		}
	}
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
//-->
