// JavaScript Document
function pageWrite() {
	var bodyID = document.body.id
	if (bodyID == 'home') {
		document.write ('<div id="hp-content">');
		document.write (menu);
		document.write ('<div id="hp-login">');
		document.write ('<img src="/_images/hp/login-title.gif" style="border:none;" /><br />');
		document.write ('<input id="u" name="u" type="text" class="login-input" value=" e-mail" onFocus="u_focus();" onBlur="u_blur();" /><br />');
		document.write ('<input id="cleartext_password" type="text" class="login-input" value=" password" onFocus="clear_focus();" /><input id="p" name="p" type="password" class="login-input" value=""  onfocus="p_focus();" onBlur="p_blur();" onKeyPress="p_keypress(event);" style="display:none;" /><br />');
		document.write ('<a href="#" id="goBtn" onClick="document.getElementById(\'login_form\').submit();"><img src="/_images/hp/submit-button.gif" style="border:none;" /></a>')
		document.write ('</div>');
		document.write ('<div id="hp-flash">');
		document.write ('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="275" height="221">');
		document.write ('<param name="movie" value="/_flash/Womenfit_flash.swf" />');
		document.write ('<param name="quality" value="high" />');
		document.write ('<param name="wmode" value="transparency" />');
		document.write ('<embed src="/_flash/Womenfit_flash.swf" quality="high" wmode="transparency" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="275" height="221"></embed>');
		document.write ('</object>');
		document.write ('</div>');
		document.write ('<a href="/internal/ClubHappenings.html" id="hp-but-1"></a>');
		document.write ('<a href="/internal/PersonalTraining.html" id="hp-but-2"></a>');
		document.write ('<a href="/internal/WeightManagement.html" id="hp-but-3"></a>');
		document.write ('<a href="/internal/ClubCalendar.html" id="hp-but-4"></a>');
		document.write ('<a href="/internal/OnlineFitness.html" id="opp-button"></a>');
		document.write ('<div id="hp-trial-pass">');
	}
	else {
		document.write ('<div id="int-nav">');
		document.write (menu);
		document.write ('</div>');
		document.write ('<div id="int-content">');
		document.write ('<table cellpadding="10" cellspacing="0" width="100%">');
		document.write ('<tr>');
		document.write ('<td valign="top">');
		document.write (locimage);
		document.write ('<a href="/internal/OnlineFitness.html" id="int-opp-button"></a>');
		document.write ('</td>');
		document.write ('<td valign="top" width="100%">');
	}
}