// JavaScript Document
    function hideSelect(){
	  document.getElementById("show1").style.display = "none" ;
	}
	function hideSelect2(){
	  document.getElementById("show2").style.display = "none" ;
	}
	function hideSelect3(){
	  document.getElementById("show3").style.display = "none" ;
	}

	function showtop()
	{	
		var pd = document.getElementById("show1").style.display;
		if(pd =="none")
		{
		document.getElementById("show1").style.display = "block" ;
		}
		else{
		document.getElementById("show1").style.display = "none" ;
		}
		setTimeout("hideSelect();",5000);
	}
	function barS(x)
	{
		document.getElementById("s"+x).style.display = "block";
		document.getElementById("m"+x).style.background = "url(../images/bar_ch"+x+".jpg)";
		}
	function barH(x)
	{
		document.getElementById("s"+x).style.display = "none";
		document.getElementById("m"+x).style.background = "none";
		}


function showtop1()
	{	
		var pd = document.getElementById("show2").style.display;
		var kk=true;
		if (kk) {
			document.getElementById("show2").style.display = "block" ;
		setTimeout("hideSelect2();",2000);
			kk=false;
			return false;
		}
		if (kk==false){
			document.getElementById("show2").style.display = "none" ;
			kk=true;
			return false;
		}

	}
	
	
function showtop2()
	{	
		var pd = document.getElementById("show3").style.display;
		var kkk=true;
		if (kkk) {
			document.getElementById("show3").style.display = "block" ;
		setTimeout("hideSelect3();",2000);
			kkk=false;
			return false;
		}
		if (kkk==false){
			document.getElementById("show3").style.display = "none" ;
			kkk=true;
			return false;
		}
	}
function re()
	{	
		var pd = document.getElementById("rename").value;
		
if(pd=="")
{
return;
}
var ps="ÇëÊäÈë²úÆ·Ãû³Æ";
if(pd==ps)
{
return;
}
    self.location="SearchProducts.aspx?name="+pd;
}
function Postss(obj)
{
//alert($(obj).val());
if($(obj).val()=="0")
{
return;
}
else  
{
window.open($(obj).val());
}
}

