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="http://passport.jinti.net/login.aspx?reurl=http://www.jinti.net/members/manage.asp"; } else { parent.window.location.href="http://passport.jinti.net/login.aspx?reurl=" + UrlEncode(parent.window.location.href); } } document.write('
注册 | 登录
')