function initData(objType,objForm,objName,objValue){
	var obj=eval("document." + objForm + "." + objName);
	for (i=0;i<obj.length;i++){
		if (obj[i].value==objValue) {
			if ((objType=="Radio")||(objType=="CheckBox")) {obj[i].checked=true;}
			if (objType=="SelectBox") {obj[i].selected=true;}
		}
	}
}



function insCheck()
{
	var str_Link = document.search.SearchType.value;
//	if (document.search.ProductID.value == 0)
//	{
//		if (str_Link.indexOf("/Support/") > -1)
//		{
//			str_Link.replaceAll('Model", "List");
//			alert (str_Link);
//		}
//		else
//			alert ("test");
//	}
	if (document.search.ClassID[0].selected == false)
	{
		if (document.search.SearchType[0].selected) str_Link = document.search.SearchType[1].value;
		location.href=str_Link + "?ProductID=" + document.search.ProductID.value;
	//	alert (str_Link + "?ProductID=" + document.search.ProductID.value);
	}
}