function sid(){
	if(se() != "1" || la() != "1"){
		var fo = document.getElementsByTagName("a");
		var gut = 1;
		var lj = "";
		for(i=0;i<fo.length;i++){
			gut = 1;
			try{
				if(fo[i].className){
					if(fo[i].className == "noli"){gut = 0;}
				}
			}catch (e){}
			if(gut){
			if(fo[i].href.search("javascript:") == -1){
			if(fo[i].href.search("mailto:") == -1){
			if(fo[i].href.search("sid=") == -1){
				if(fo[i].href.search("[?]") == -1){
					if(fo[i].href.search("#") == -1){
						fo[i].href+= "?sid="+se()+"&la="+la();
					}else{
						lj = fo[i].href.substring(0,fo[i].href.indexOf("#"));
						lj = lj+"?sid="+se()+"&la="+la();
						lj = lj+fo[i].href.substring(fo[i].href.indexOf("#"),fo[i].href.length);
						
						fo[i].href= lj;
					}
				}else{
					if(fo[i].href.search("#") == -1){
						fo[i].href+= "&sid="+se()+"&la="+la();
					}else{
						lj = fo[i].href.substring(0,fo[i].href.indexOf("#"));
						lj = lj+"&sid="+se()+"&la="+la();
						lj = lj+fo[i].href.substring(fo[i].href.indexOf("#"),fo[i].href.length);
						
						fo[i].href= lj;
					}
				}
			}
			}
			}
			}
		}
		fo = document.getElementsByTagName("form");
		for(i=0;i<fo.length;i++){
			if(fo[i].action.search("javascript:") == -1){
				if(fo[i].action.search("sid=") == -1){
				if(fo[i].action.search("[?]") == -1){
					if(fo[i].action.search("#") == -1){
						fo[i].action+= "?sid="+se()+"&la="+la();
					}else{
						lj = fo[i].action.substring(0,fo[i].action.indexOf("#"));
						lj = lj+"?sid="+se()+"&la="+la();
						lj = lj+fo[i].action.substring(fo[i].action.indexOf("#"),fo[i].action.length);
						
						fo[i].action= lj;
					}
				}else{
					if(fo[i].action.search("#") == -1){
						fo[i].action+= "&sid="+se()+"&la="+la();
					}else{
						lj = fo[i].action.substring(0,fo[i].action.indexOf("#"));
						lj = lj+"&sid="+se()+"&la="+la();
						lj = lj+fo[i].action.substring(fo[i].action.indexOf("#"),fo[i].action.length);
						
						fo[i].action= lj;
					}
				}
				}
			}
		}
	}
}