var jump = Class.create({
	initialize:function(){
		
	},
	jump2:function(d, s, l, la){
		var count = count;
		var searchs = searchs;
		var pages = Number($("pageno1").value);
		if(isNaN(pages)){
			alert("请输入数字！");
			$("pageno1").value = "";
			return;
		}else{
			if(pages < 1)pages = 1;
			if(pages > count)pages = count;
			window.location.href = "inferiordrugs.html?p="+ pages +"&d="+ encodeURI(d) +"&s="+ encodeURI(s) +"&l="+ encodeURI(l) +"&la="+ encodeURI(la);
		}
	},
	
	getEncodeURI: function(p ,d, s, l, la){
		window.location.href = "inferiordrugs.html?p="+ p +"&d="+ encodeURI(d) +"&s="+ encodeURI(s) +"&l="+ encodeURI(l) +"&la="+ encodeURI(la);
	},
	emptyCheck:function(text){
		if($(text).value.trim()==""){
			$(text).value="";
		}
	},
	clear: function(){
		$("pageno1").value = "";
	}
});

var jump = new jump();