function hide_login_layer(){
	var new_footer_content = '<img src="images/trans.gif" width="40" height="105" style="float: left;" alt="">';
	new_footer_content += '<a href="index.php" class="footer">Home Page</a><br>';
	new_footer_content += '<a href="list_sites.php" class="footer">Web Design Portfolio</a><br>';
	new_footer_content += '<a href="faq.php" class="footer">Frequently Asked Questions</a><br>';
	new_footer_content += '<a href="contact.php" class="footer">Contact Nicholas Howe</a><br>';
	new_footer_content += '<a href="#" class="footer" onclick="show_login_layer(); return false;">Website Admin</a>';
	document.getElementById('footer_layer_right').innerHTML = new_footer_content;
} // end function hide_login_layer

function show_login_layer(){
	var new_footer_content = '<img src="images/trans.gif" width="40" height="105" style="float: left;" alt="">';
	new_footer_content += '<form action="index.php?cmd=login" method="post" onsubmit="document.getElementById(\'login_submit_button\').disabled = true;" style="clear: none !important;">';
	new_footer_content += '<input type="text" name="login_username" maxlength="16" value="username" class="login_field" onfocus="if (this.value == \'username\'){ this.value = \'\'; } this.style.color = \'#000\';">&nbsp;';
	new_footer_content += '<input type="password" name="password" maxlength="12" value="password" class="login_field" onfocus="if (this.value == \'password\'){ this.value = \'\'; } this.style.color = \'#000\';"><br>';
	new_footer_content += '<input type="checkbox" name="remember">&nbsp;<strong>Keep Me Signed In</strong><br><br>';
	new_footer_content += '<input type="image" src="images/button_sign_in_green.gif" id="login_submit_button">&nbsp;';
	new_footer_content += '<a href="#" class="footer" onclick="hide_login_layer(); return false;"><img src="images/button_cancel_green.gif" width="108" height="24" alt=""></a></form>';
	document.getElementById('footer_layer_right').innerHTML = new_footer_content;
} // end function show_login_layer