if(location.href.indexOf("login.asp")!=-1) { html_str="" document.write(html_str); } else { document.write("
 Member Name:  Password: 
"); } loggedIn = false function openProfile(){ openNewWin("/user/profile_view.asp?userID=&popUp=1","userProfile",500,525,"true"); } function openProfile2(){ openNewWin("/user/profile_discuss.asp?userID=&popUp=1","userProfile",500,525,"true"); }