function UrlEncode(str){ var i,c,ret="",strSpecial="!\"#$%&'()*+,/:;<=>?@[\]^`{|}~%"; for(i=0;i < str.length;i++){ c=str.charAt(i); if(c==" ") ret+="+"; else if(strSpecial.indexOf(c)!=-1) ret+="%"+str.charCodeAt(i).toString(16); else ret+=c; } return ret; } function gotologinpage() { if (parent.location.href.search("/index.htm")!=-1){ parent.window.location.href="https://passport.jinbay.com/login.aspx?lang=zh-cn&reurl=https://www.jinbay.com/members/manage.aspx"; } else { parent.window.location.href="https://passport.jinbay.com/login.aspx?lang=zh-cn&reurl=" + UrlEncode(parent.window.location.href); } } document.write('
注册  登录
');