function chk()
{
	return false;
}
function convertqut()
{
	var MyString = window.frmSearch.look_for.value
	var pattern = /'/g;
	var pattern1 = /"/g;
	var MyNewString=MyString.replace(pattern," ");
	var MyNewString1=MyNewString.replace(pattern1," ");
	window.frmSearch.look_for.value=MyNewString1

}
function SearchMe()
{
	convertqut();
	//document.write(MyNewString);
//
//	alert(document.frmSearch.look_for.value.replace(document.frmSearch.look_for.value," ", "'"))
//	alert("faq's".replace("faq's","'","*"))
	
	window.frmSearch.submit();
}
function trim(value) {
   var temp = value;
   var obj = /^(\s*)([\W\w]*)(\b\s*$)/;
   if (obj.test(temp)) { temp = temp.replace(obj, '$2'); }
   //alert(temp)
   var obj = / +/g;
   temp = temp.replace(obj, " ");
   if (temp == " ") { temp = ""; }
   return temp;
   
}
function chkSearch()
{
	var sname
	convertqut()
	sname=trim(document.frmSearch.look_for.value)
	if (sname=='')
	{
		return false;
	}
	else
	{
		return true;
	}

	
	
}
function SearchLogin()
{
	//convertqut();
	//document.write(MyNewString);
//
//	alert(document.frmSearch.look_for.value.replace(document.frmSearch.look_for.value," ", "'"))
//	alert("faq's".replace("faq's","'","*"))
	
	window.frmLogin.submit();
}