function headerView() {
document.write('<!DOCTYPE html PUBLIC "-\/\/W3C\/\/DTD XHTML 1.0 Transitional\/\/EN" "http:\/\/www.w3.org\/TR\/xhtml1\/DTD\/xhtml1-transitional.dtd">');
document.write('<html>');
document.write('<head>');
document.write('<title>OnlineGames.Net - Play Free Games Online<\/title>');
document.write('<meta name="description" content="Play Free Online Games, action games, fighting games, puzzle games, racing games, retro games, room escape games, shooting games, sports games, word games and so much more flash games." \/>');
document.write('<meta name="keywords" content="free online games, games online, play games, free games, download games, action games, fighting games, puzzle games, racing games, retro games, room escape games, shooting games, sports games, word games, flash games, casual games" \/>');
document.write('<meta http-equiv="Content-Type" content="text\/html; charset=iso-8859-1" \/>');
document.write('<link rel="StyleSheet" href="http:\/\/www.onlinegames.net\/templates\/style.css" media="screen" type="text\/css" \/>');
document.write('<link rel="StyleSheet" href="http:\/\/www.onlinegames.net\/templates\/ogn-style.css" media="screen" type="text\/css" \/>');
document.write('<link rel="stylesheet" href="http:\/\/www.onlinegames.net\/templates\/scripts\/tabcontent\/tabcontent.css" media="screen" type="text\/css" \/>');
document.write('<link rel="stylesheet" href="http:\/\/www.onlinegames.net\/templates\/scripts\/facebox\/facebox.css" media="screen" type="text\/css" \/>');
document.write('<script src="http:\/\/www.onlinegames.net\/templates\/scripts\/jquery-1.3.2.min.js" type="text\/javascript"><\/script>');
document.write('<script src="http:\/\/www.onlinegames.net\/templates\/arcade.js" type="text\/javascript"><\/script>');
document.write('<script src="http:\/\/www.onlinegames.net\/templates\/scripts\/bookmark.js" type="text\/javascript"><\/script>');
document.write('<script src="http:\/\/www.onlinegames.net\/templates\/scripts\/morecategories.js" type="text\/javascript"><\/script>');
document.write('<script src="http:\/\/www.onlinegames.net\/templates\/scripts\/tabcontent\/tabcontent.js" type="text\/javascript"><\/script>');
document.write('<script src="http:\/\/www.onlinegames.net\/templates\/scripts\/tabcontent\/tabcontent-v1.js" type="text\/javascript"><\/script>');
document.write('<script src="http:\/\/www.onlinegames.net\/templates\/scripts\/contentslider.js" type="text\/javascript"><\/script>');
document.write('<script src="http:\/\/www.onlinegames.net\/templates\/scripts\/facebox\/facebox.js" type="text\/javascript"><\/script>');
document.write('<script src="http:\/\/www.onlinegames.net\/templates\/scripts\/rating_update.js" type="text\/javascript"><\/script>');
document.write('<script type="text\/javascript">');
document.write('jQuery(document).ready(function($) {);');
document.write('$(\'a[rel*=facebox]\').facebox()');
document.write('})');
document.write('<\/script>');
document.write('<script type="text\/javascript">');
document.write('function displayMessage(div) {');
document.write('var theDiv = "bm";');
document.write('theDiv = theDiv+div;');
document.write('document.getElementById(\'bm_default\').style.display = "none";');
document.write('document.getElementById(theDiv).style.display = "block";');
document.write('}');
document.write('function hideMessage(div) {');
document.write('var theDiv = "bm";');
document.write('theDiv = theDiv+div;');
document.write('document.getElementById(\'bm_default\').style.display = "block";');
document.write('document.getElementById(theDiv).style.display = "none";');
document.write('}');
document.write('<\/script>');
document.write('<\/head>');
document.write('<body>');
document.write('<!-- BACKGROUND ADS START -->');
document.write('<div id="backgroundads">');
document.write('<!-- SHADOWS WRAPPER START -->');
document.write('<div id="shadows">');
document.write('<!-- TOP LINK START -->');
document.write('<div id="toplink">');
document.write('<span style="float:left; margin:10px 0 0 10px;">');
document.write('<span style="font: bold 12px verdana; color:#A10707;">OnlineGames.Net:<\/span> ');
document.write('GAMERS | ');
document.write('DEVELOPERS | ');
document.write('WEBMASTERS');
document.write('<\/span>');
document.write('<span style="float:right; margin:10px 10px 0 0;">');
document.write('<a href="http:\/\/www.onlinegames.net\/forum\/register.php">Free Signup<\/a> | ');
document.write('<a href="http:\/\/www.onlinegames.net#loginOGN" rel="facebox">Members Login<\/a> | ');
document.write('<a href="http:\/\/www.onlinegames.net\/forum\/index.php">Game Forums<\/a> | ');
document.write('<img style="vertical-align: middle;" src="http:\/\/www.onlinegames.net\/images\/icon_bookmark.png" alt="Bookmark Us" \/>&nbsp;<a href="#" onclick="bookmark(\'http:\/\/www.onlinegames.net\/\',\'OnlineGames.net\')">Bookmark Us<\/a>');
document.write('<\/span>');
document.write('<\/div>');
document.write('<div style="clear: both;"><\/div>');
document.write('<!-- TOP LINK END -->');
document.write('<!-- UPPER WRAPPER START -->');
document.write('<div id="uppercontainer">');
document.write('<!-- HEADER START -->');
document.write('<div id="header">');
document.write('<div style="float: left; width:240px; margin:0 0 0 20px;">');
document.write('<a href="http:\/\/www.onlinegames.net">');
document.write('<img src="http:\/\/www.onlinegames.net\/images\/logo.png" border="0">');
document.write('<\/a>');
document.write('<\/div>');
document.write('<div style="float: right; width: 728px; height: 90px; padding:1px; margin: 1px 0 0 0; border: 1px solid #BAD26A; background-color: #DDE9B7;">');
document.write('<iframe src="http:\/\/www.onlinegames.net\/3rdparty\/leaderboard-ad.html" frameborder="0" scrolling="No" marginheight="0" marginwidth="0" style="width:728px;height:90px;"></iframe>');
document.write('</div>');
document.write('<div id="menu">');
document.write('<span id="button1" class="buttontabover2"><a href="http:\/\/www.onlinegames.net">&nbsp;<b>&nbsp;<\/b><\/a><\/span>');
document.write('<span id="button2" class="buttontab" onfocus="this.blur();" onmouseover="document.getElementById(\'button1\').className=\'buttontab2\'; javascript:this.className=\'buttontabover\'; displayMessage(2);" onmouseout="document.getElementById(\'button1\').className=\'buttontabover2\'; javascript:this.className=\'buttontab\'; hideMessage(2);"><a href="http:\/\/www.onlinegames.net\/all-games.html">ALL GAMES<b>ALL GAMES<\/b><\/a><\/span>');
document.write('<span id="button3" class="buttontab" onfocus="this.blur();" onmouseover="document.getElementById(\'button1\').className=\'buttontab2\'; javascript:this.className=\'buttontabover\'; displayMessage(3);" onmouseout="document.getElementById(\'button1\').className=\'buttontabover2\'; javascript:this.className=\'buttontab\'; hideMessage(3);"><a href="http:\/\/www.onlinegames.net\/tags\/online-games.html">ONLINE GAMES<b>ONLINE GAMES<\/b><\/a><\/span>');
document.write('<span id="button4" class="buttontab" onfocus="this.blur();" onmouseover="document.getElementById(\'button1\').className=\'buttontab2\'; javascript:this.className=\'buttontabover\'; displayMessage(4);" onmouseout="document.getElementById(\'button1\').className=\'buttontabover2\'; javascript:this.className=\'buttontab\'; hideMessage(4);"><a href="http:\/\/www.onlinegames.net\/tags\/play-games.html">PLAY GAMES<b>PLAY GAMES<\/b><\/a><\/span>');
document.write('<span id="button5" class="buttontab" onfocus="this.blur();" onmouseover="document.getElementById(\'button1\').className=\'buttontab2\'; javascript:this.className=\'buttontabover\'; displayMessage(5);" onmouseout="document.getElementById(\'button1\').className=\'buttontabover2\'; javascript:this.className=\'buttontab\'; hideMessage(5);"><a href="http:\/\/www.onlinegames.net\/tags\/free-games.html">FREE GAMES<b>FREE GAMES<\/b><\/a><\/span>');
document.write('<span id="button6" class="buttontab" onfocus="this.blur();" onmouseover="document.getElementById(\'button1\').className=\'buttontab2\'; javascript:this.className=\'buttontabover\'; displayMessage(6);" onmouseout="document.getElementById(\'button1\').className=\'buttontabover2\'; javascript:this.className=\'buttontab\'; hideMessage(6);"><a href="http:\/\/www.onlinegames.net\/games-search.html">GAMES SEARCH<b>GAMES SEARCH<\/b><\/a><\/span>');
document.write('<span id="button7" class="buttontab" onfocus="this.blur();" onmouseover="document.getElementById(\'button1\').className=\'buttontab2\'; javascript:this.className=\'buttontabover\'; displayMessage(7);" onmouseout="document.getElementById(\'button1\').className=\'buttontabover2\'; javascript:this.className=\'buttontab\'; hideMessage(7);"><a href="http:\/\/www.onlinegames.net\/submit-games.html">SUBMIT GAMES<b>SUBMIT GAMES<\/b><\/a><\/span>');
document.write('<\/div>');
document.write('<div id="menu_message">');
document.write('<span id="bm_default">');
document.write('<strong>Free Online Games:<\/strong> <a href="http:\/\/www.onlinegames.net\/categories\/1\/action-games.html">Action Games<\/a>, <a href="http:\/\/www.onlinegames.net\/categories\/49\/addicting-games.html">Addicting Games<\/a>, <a href="http:\/\/www.onlinegames.net\/categories\/48\/board-games.html">Board Games<\/a>, <a href="http:\/\/www.onlinegames.net\/categories\/44\/car-games.html">Car Games<\/a>, <a href="http:\/\/www.onlinegames.net\/categories\/47\/card-games.html">Card Games<\/a>, <a href="http:\/\/www.onlinegames.net\/categories\/42\/cooking-games.html">Cooking Games<\/a>, <a href="http:\/\/www.onlinegames.net\/categories\/38\/dress-up-games.html">Dress Up Games<\/a>, <a href="http:\/\/www.onlinegames.net\/categories\/50\/drinking-games.html">Drinking Games<\/a>, <a href="http:\/\/www.onlinegames.net\/categories\/33\/fighting-games.html">Fighting Games<\/a>, <a href="http:\/\/www.onlinegames.net\/categories\/40\/fun-games.html">Fun Games<\/a>, <a href="http:\/\/www.onlinegames.net\/categories\/46\/funny-games.html">Funny Games<\/a>, <a href="http:\/\/www.onlinegames.net\/categories\/45\/girl-games.html">Girl Games<\/a>, <a href="http:\/\/www.onlinegames.net\/categories\/39\/kids-games.html">Kids Games<\/a>, <a href="http:\/\/www.onlinegames.net\/categories\/41\/math-games.html">Math Games<\/a>, <a href="http:\/\/www.onlinegames.net\/categories\/51\/mmorpg-games.html">Mmorpg Games<\/a>, <a href="http:\/\/www.onlinegames.net\/categories\/43\/motorcycle-games.html">Motorcycle Games<\/a>, <a href="http:\/\/www.onlinegames.net\/categories\/4\/puzzle-games.html">Puzzle Games<\/a>, <a href="http:\/\/www.onlinegames.net\/categories\/32\/racing-games.html">Racing Games<\/a>, <a href="http:\/\/www.onlinegames.net\/categories\/5\/retro-games.html">Retro Games<\/a>, <a href="http:\/\/www.onlinegames.net\/categories\/36\/room-escape-games.html">Room Escape Games<\/a>, <a href="http:\/\/www.onlinegames.net\/categories\/29\/shooting-games.html">Shooting Games<\/a>, <a href="http:\/\/www.onlinegames.net\/categories\/2\/sports-games.html">Sports Games<\/a>, <a href="http:\/\/www.onlinegames.net\/categories\/53\/tower-defense-games.html">Tower Defense Games<\/a>, <a href="http:\/\/www.onlinegames.net\/categories\/37\/word-games.html">Word Games<\/a>');
document.write('<\/span>');
document.write('<span id="bm2" class="bmclass">Welcome to OnlineGames.Net. We have a wide selection of great online flash games to keep you occupied for hours.<\/span>');
document.write('<span id="bm3" class="bmclass">Play free games online here. There are thousands of free flash games to choose from.<\/span>');
document.write('<span id="bm4" class="bmclass">Discover more exciting games to play here. What are you waiting for? Click now to start gaming.<\/span>');
document.write('<span id="bm5" class="bmclass">Play thousands of addicting games here. New free games are added regularly.<\/span>');
document.write('<span id="bm6" class="bmclass">Can\'t find your favorite games? Try use our games search to find what you are looking for.<\/span>');
document.write('<span id="bm7" class="bmclass">You found a cool game? or You want to share your game? Click now to find out how you can contribute.<\/span>');
document.write('<\/div>');
document.write('<div style="clear: both;"><\/div>');
document.write('<\/div>');
document.write('<!-- HEADER END -->');
document.write('<div id="bottomnavbar">');
document.write('<span>');
document.write('<\/span>');
document.write('<\/div>');
document.write('<div style="clear: both;"><\/div>');
document.write('<\/div>');
document.write('<!-- UPPER WRAPPER END -->');
document.write('<div style="width: 1034px; margin: 0 auto; background-color: #FFFFFF;">');
}
