if (window.location.href == {'login_success.php');
var message='';
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers)
document.oncontextmenu=new Function('return false')
<script language="javascript">

function LogOut (){
	var del = confirm("Are you sure you want to log out?");
	if (del == true){
		var loc = "logout.php";;

function Vote(){
var popurl="voteforus.php","","width=650,height=320,")
	<link rel="stylesheet" type="text/css" href="menu/sdmenu.css" />
	<script type="text/javascript" src="menu/sdmenu.js"></script>
	<script type="text/javascript">
	// <![CDATA[
	var myMenu;
	window.onload = function() {
		myMenu = new SDMenu("my_menu");
	// ]]>
LogOut(), Vote(), and <script>
if (window.location.href == {'login_success.php');
</script> no longer work since I added the rest of the JS. Is there some kind of order it needs to be in or something?