var strsearch="";
var str1="";
var str2="";
var str3="";
var url = location.href;
 str1 = url.split("as_q=");
if( str1 > 0 )
{
 str2 = str1[1];
 str3 = str2.split("&");
strsearch = str3[0];
}

function esc(x){
x = escape(x).replace(/\+/g, " ");
if (x.substring(0,2)=="\%u") x="";
return x;
}




function validate_string(form) {

if (form.as_q.value == "search")
	{
	form.as_q.value = "" ;
	form.cx.value = "" ;
	form.cof.value = "" ;
	form.ie.value = "" ;
		}
        else
        {
        form.cx.value = "002558577086994206264:yn0977hcnss" ;
	form.cof.value = "FORID:11" ;
	form.ie.value = "UTF-8" ;
        }
	return;
}

function clearText(thefield)

{

	if (thefield.value == "search" )
	thefield.value="";

}

