if (location.href.indexOf("index/Arcade/") != -1){ Navigation = $("#nav"); Username = getUser(); var Skin; if (Skin == "" || Skin == undefined){ Skin = ""; } else { Skin = "&s="+Skin; } if (location.href.indexOf("Arcade/Play/") != -1){ File = "embed.php?id="+location.href.split("Arcade/Play/")[1]+"&"; } else { File = "index.php?"; } iFrameURL = "http://xgbarcade.com/Arcade/"+File+"b="+aName+Skin+"&u="+Username; if (Enable == "Members"){ if (Username == "Guest"){ ArcadeContent = "
Notice
Please Login or Register to use the arcade.

"; } if (Username != "Guest"){ ArcadeContent = "

"; } } if (Enable == "All"){ ArcadeContent = "

"; } Navigation.append("
  • Arcade
  • "); $(".category").toggle(); $("#foot_links").html(""); $("#foot_wrap").before(ArcadeContent); }