ewSearchParam(param);
if (preurl.substr(preurl.length-2)=="//"){
preurl=preurl.substr(0,preurl.length-1);
}
newparam=newparam.replace(/\/\//g,"/");
newurl=preurl+newparam+ext;
newurl=newurl.replace(/\/key/g,",key");
}
location.href=newurl;
}
function getNewSearchParam(param){
var key=jQuery("#keyword").val();
var parr=param.split(',');
var newparam='';
for (var i=0;i