﻿ function getbtndenlu()
       {
         
            window.location.href="Login.aspx"; 	  
       }
  

 function getbtnzhifubao()
       {
         
            window.location.href="AlipayLogin.aspx"; 	  
       }

 function getbtnzhuce()
       {
         
            window.location.href="rigsters.aspx"; 	  
       }

    
 
 
 function getglobalProduct()
       {
            var selectUsaCategory=document.all["ddlUsaCategory"].options[document.all["ddlUsaCategory"].selectedIndex].value;
            var ProductName = document.getElementById('txtProductName').value;
            window.location.href="comsearch.aspx?name=" + ProductName + "&id=" + selectUsaCategory; 	  
       }
  
    function getglobalUrl()
     {
        var txtglobal=document.getElementById('txtglobal').value;
       window.location.href="http://www.google.com/products?q=" +txtglobal + "&hl=en&aq=f";
     }
     
             
function getSelectchange()
    {
	
      var c = document.all["Select1"].options[document.all["Select1"].selectedIndex].value;
      var url = document.getElementById('url').value;
      window.location.href="http://translate.google.com/translate?u=" + url + "&sl=" + c + "&hl=zh-CN&ie=UTF-8"; 	  
    }
    
    
    
    
    function btnRister()
        {
             window.location.href="http://www.51bangde.com/rigsters.aspx"; 	
        }
     
function nTabs(thisObj,Num){
if(thisObj.className == "active")return;
var tabObj = thisObj.parentNode.id;
var tabList = document.getElementById(tabObj).getElementsByTagName("li");
for(i=0; i <tabList.length; i++)
{
if (i == Num)
{
   thisObj.className = "active"; 
      document.getElementById(tabObj+"_Content"+i).style.display = "block";
}else{
   tabList[i].className = "normal"; 
   document.getElementById(tabObj+"_Content"+i).style.display = "none";
}
} 
}