﻿




function SubmitSearchList(linkPre, stype, valueId){
 var page = linkPre + "&st=" + stype + "&cr=" + removeSpaces(document.getElementById(valueId).value);
 document.location.href = page;
 return false;
}//End


function SubmitKWord(linkPre){
    document.location.href = linkPre + "&st=kwd&cr=" + document.getElementById("kword").value;
    return false;
}//End


function rollOver_on(divId){
 document.getElementById(divId).className = "sSubmitBox_on";
}

function rollOver_out(divId){
 document.getElementById(divId).className = "sSubmitBox";
}


function removeSpaces(string) {
	var tstring = "";
	string = '' + string;
	splitstring = string.split(" ");
	for(i = 0; i < splitstring.length; i++)
	tstring += splitstring[i];
	return tstring;
}//End
