var loggedIn = false; function welcomeText(){ if ( loggedIn ) document.write('Welcome '); else document.write('Welcome to FilePlanet'); } function gsidLink(){ if ( loggedIn ) document.write('Logout'); else document.write('Member Sign In'); } function gsidLoginUrl() { return "http://login.gamespyid.com/aggrpassthrough.aspx?o=login&d=fileplanet&r=http%3a%2f%2fwww.fileplanet.com%2fgsid.aspx"; } function myAcctLink(){ if ( loggedIn ) document.write('· Manage My Account'); } function showLogin(link) { return; }