var loggedIn = false; function welcomeText(){ if ( loggedIn ) document.write('Welcome, '); else document.write('Welcome to FilePlanet'); } function gsidLink(){ if ( loggedIn ) { document.write('Log Out'); } else { document.write('Log In'); } } function gsregFree(){ document.write('Register for Free'); } function loginSettings() { if ( loggedIn ) { document.write("Login Settings"); } else { document.write("Login Settings"); } } function gsidLoginUrl() { return "http://login.gamespyid.com/aggrpassthrough.aspx?o=login&d=fileplanet&r=http%3a%2f%2fwww.fileplanet.com%2fgsidscript.aspx%3ffpr%3dhttp%253a%252f%252fwww.fileplanet.com%252f"; } function myAcctLink(){ if ( loggedIn ) document.write('· Manage My Account'); } function initLoginOverlay() { return true; } function showLogin(link) { return true; } var UseComrade = true;