function Search(formname)
{
	var text = formname.stext.value;
	var type = formname.stype.value;
	var cat = formname.scat.value;
	var pgx = formname.pg.value;

	for (loc=0; loc<=text.length; loc++ )
	{
		text = text.replace(' ',"+");
		text = text.replace('\"',"");
		text = text.replace('\'',"");
		text = text.replace(':',"");
		text = text.replace(',',"+");
		text = text.replace('-',"+");
		text = text.replace('!',"");
		text = text.replace('@',"");
		text = text.replace('#',"");
		text = text.replace('$',"");
		text = text.replace('%',"");
		text = text.replace('^',"");
		text = text.replace('&',"+");
		text = text.replace('*',"");
		text = text.replace('(',"");
		text = text.replace(')',"");
	}

	for (loc=0; loc<=text.length; loc++ )
	{
		text = text.replace('++',"+");
	}


	if(text=="" && type=="" && cat=="")
	{
		return false;
	}
	else
	{
		formname.action= "search-" + text + "-" + encodeURI(type) + "-" + cat + "-" + pgx + ".html";
		return true;
	}
}
