function SelectClick(n,v){
var q = location.search.substring(1),str='?',isthere=false,pairs = q.split('&');
for(var i=0;i<pairs.length;i++){var s = pairs[i].split('=');
if(s[0]==n){isthere=true;str+=n+'='+v+'&';} else {
str+=pairs[i]+'&';}}if(!isthere) str+=n+'='+v+'&';
return window.location.href=location.pathname+str.substring(0,str.length-1)}