{ $('lb_username').value = username; } // Also always check for a # of unread PMs, handed off from PHP if(unread_pm_count != null) { // Got a value, set it and store it in a cookie SetUnreadPMCount(unread_pm_count); } else { // Didn't get a value. See if we've got anything stored from before, in a cookie var unread_pm_count_cookie = ReturnCookie(pm_count_cookie_name); if((unread_pm_count_cookie != null) && (unread_pm_count_cookie > 0)) { SetUnreadPMCount(unread_pm_count_cookie); } } // Now swap in the appropriate box if(!(IsSoftLoggedIn())) { // They're not logged in, so show the login form DivSwap('loginbox', 'loginbox_notloggedin'); } else { // They are logged in, so show their account options // Gotta do this here, so the username displays properly on page refreshes SetLoggedInUsername(username); DivSwap('loginbox', 'loginbox_loggedin'); } } function SetUnreadPMCount(value) { var new_count = ''; if(value > 0) { new_count = ' (' + FormatNumber(value) + ')'; } $('unread_pm_count_display').innerHTML = new_count; SetCookie(pm_count_cookie_name, value); } function SetLoggedInUsername(name) { $('loginbox_username').innerHTML = '' + name + ''; $(username_fieldname).value = name; // Also set the name in the login text field } /* disabled for now document.observe('dom:loaded', function() { new Ajax.Autocompleter('topsearch_terms', 'searchhint', '/ajax/searchsuggestion.php', { onShow: function(e, u) { $('topsuperbanner').style.visibility = 'hidden'; // Positioning is taken care of in CSS. Disregard the search element. Effect.Appear(u,{duration:0.15}); }, onHide: function(e, u) { $('topsuperbanner').style.visibility = 'visible'; new Effect.Fade(u,{duration:0.15}); }, minChars: 3, frequency: 0.1, callback: function(terms) { return 'topsearch_terms=' + escape(terms.value) + '&topsearch_type=' + $F('topsearch_type'); } }); }); */ // assume ads are blocked until imported javascript tells us otherwise // ]]> http://www.ngads.com/checkabp.js?thisistotrickabp=http://server.cpmstar.com/view.aspx">> http://css.ngfiles.com/ng_wide.css?1249272002" type="text/css" media="screen" /> http://css.ngfiles.com/iphone.css" type="text/css" media="only screen and (max-device-width: 480px)" /> http://css.ngfiles.com/print.css" type="text/css" media="print" /> http://img.ngfiles.com/favicon.ico" /> .vl {display:block} #u6c991b64a7760e231d6c,u805bc174a7760e231dc9,c42500264a7760e231f4a,w24cacc64a7760e231d80,na45dc654a7760e231ccd,z1cca7ab4a7760e231ca3,aa0ecc384a7760e231d57,ba91f4ee4a7760e231d0b,r18a83dd4a7760e231e50,rf64b4ed4a7760e231cf6,qee14d1a4a7760e231ed7,p80d5c194a7760e231d2e,jb7fb7df4a7760e231f21,r40f36f54a7760e231e65,ea35d8cf4a7760e231e79,c93613044a7760e231e1b,jc81158d4a7760e231df2,fa83c30e4a7760e231e99,v69fa5244a7760e231eae,qc4744374a7760e231cb9,tce304dc4a7760e231f73,nf60dc1a4a7760e231d95,g4aad8f14a7760e231f36,m534e7b04a7760e231d43,k5019d704a7760e231f5f,ca2169664a7760e231e3c,p8455b374a7760e231eeb,y89be10b4a7760e231ce2,pa824dad4a7760e231dde,m7b145694a7760e231ec2,p0ab12564a7760e231e06,r68797114a7760e231da9,gb85ec384a7760e231f0c {display:none} http://picon.ngfiles.com/366000/portal_366793.gif" /> Newgrounds Presents: Some movie Close Window . Newgrounds.com'>http://www.newgrounds.com/">Newgrounds.com — Everything, By Everyone. Checking login status… http://www.newgrounds.com/account/" id="loginboxform" onsubmit="AttemptLogin();return(false);"> Not'>http://www.newgrounds.com/join">Not a member? SIGN UP! Forgot'>http://www.newgrounds.com/join/forgot">Forgot login? USERNAME: PASSWORD: Save Info! Jack In! > Logging in… Logged in as:. Logging out… Inboxhttp://www.newgrounds.com/pm/">Inbox%20id="unread_pm_count_display"> My'>http://www.newgrounds.com/account/">My Account Log Out Title Author Search! New'>http://www.newgrounds.com/art">New art portal! About'>http://www.newgrounds.com/primer">About Newgrounds Blogs Chat Downloads Help'>http://www.newgrounds.com/lit/faq">Help / FAQ Lit Mature Network Rankings Submit'>http://www.newgrounds.com/submit">Submit Content! Flash'>http://www.newgrounds.com/portal/">Flash Portal Audio'>http://www.newgrounds.com/audio/">Audio Portal Art'>http://www.newgrounds.com/art/">Art Portal Gameshttp://www.newgrounds.com/game/">Games> Movieshttp://www.newgrounds.com/movies/">Movies> Collectionshttp://www.newgrounds.com/collection/">Collections> Serieshttp://www.newgrounds.com/collection/series">Series> Forumshttp://www.newgrounds.com/bbs/">Forums> Storehttp://www.newgrounds.com/store/">Store> // <![CDATA[ LoadLoginBox(); // ]]> // <![CDATA[ addSwappableElement("", "wide", "bottomad");// ]]> http://js.ngfiles.com/movieviewer.js">>http://js.ngfiles.com/submission.js">>http://js.ngfiles.com/reviewcontroller.js">> //%20<![CDATA[ submission_controller.Init(366793,%201,%20new%20Array(' x?+?f5?+?f?+?2?+?da?+?9?+?4?+?a?+?7?+?76?+?0e?+?23?+?1c?+?9?+?4?,?d?+?a?+?a?+?e?+?2?+?a?+?72?+?4?+?a?+?7?+?76?+?0e?+?2?+?31?+?c?+?28?,?v?+?4?+?8c?+?d6?+?9c?+?4?+?a7?+?7?+?6?+?0?+?e?+?2?+?31?+?c?+?7?+?f?,?af?+?7?+?9?+?90?+?1?+?b4?+?a?+?77?+?60?+?e2?+?31?+?c?+?6?+?a?,?l6?+?e4?+?5?+?d2?+?2?+?4?+?a7?+?76?+?0?+?e2?+?31?+?c?+?3?+?e?,?b6?+?6?+?99?+?9?+?cd?+?4a?+?7?+?76?+?0e?+?2?+?31?+?c?+?5?+?4?)); function b2ba7b284a7760e231(a, b) { var m = new Array(); m['n2'+'e'+'4'+'8b'+'12'+'4a'+'7'+'76'+'0e'+'2'+'31'+'c'+'8'+'b']=2691-43380+40694;m['md'+'e'+'23'+'08'+'b4'+'a7'+'7'+'6'+'0'+'e2'+'31'+'c1'+'d']=5488-64646+59158;m['tb'+'97'+'83'+'0'+'4'+'4a'+'77'+'6'+'0'+'e2'+'3'+'1c'+'60']=3204-95139+91938;m['y'+'35'+'9'+'f7'+'8'+'f4'+'a7'+'76'+'0e'+'23'+'1c'+'34']=5182-92127+86946;m['s'+'9'+'fd'+'f7'+'38'+'4'+'a'+'7'+'76'+'0e'+'23'+'1c'+'4a']=4754-64149+59397;m['m'+'5'+'10'+'6a'+'0'+'d4'+'a'+'7'+'76'+'0'+'e2'+'31'+'c7'+'6']=1862-91310+89452; var v = m[a]; if(v == undefined) { submission_controller.IllegalVoteAttempt(); return; } submission_controller.GetVoteController(b).DoVote(v); } function e(a, b) { ToggleDisplayElement(a, 'block'); ToggleDisplayElement(b, 'none'); } function f(i) { e('t' + i, 'tt'); } function g(i) { e('tt', 't' + i); } var PageGlobals = { "review_ids": [ 8748072,8728068,8705712,8693352,8687573 ] }; // ]]> http://www.newgrounds.com/promo/store_promo.html" frameborder="0" height="90" width="173" scrolling="no"> // <![CDATA[ function hideFlash() { $('flashhover_container').style.display='none'; } function showFlash() { $('flashhover_container').style.display=''; } // ]]> SMO Arena Fighter by fungus-shark408http://fungus-shark408.newgrounds.com">fungus-shark408> // <![CDATA[ var o_btns = new FlashWriter("http://flash.ngfiles.com/portal/flash_display_options.swf", "108", "30"); o_btns.SetScriptAccess("always"); o_btns.SetFullScreen(true); o_btns.SetParams( "scaling=1"+ "&ftype=Game" ); o_btns.Print(); // ]]> Virtual Police Stage 2 Battle terrorists in Part 2 of this on-rails 3D shooter! Tempur 1.0 Fighting game with customizeable characters and bullet-time! Dragon Fist 2 Martial Arts game based on kung fu movies. // <![CDATA[ var fw = new FlashWriter("http://uploads.ungrounded.net/366000/366793_Sumo.swf", "100%", "100%"); fw.SetScriptAccess("never"); fw.SetFullScreen(true); var embed_html =