  function addTopNav(json) {
    $("body").prepend(json['data']);
    fixIEStyle();
  }
  $(document).ready(function(){
    addTopNav({"data":"        \n        <div id=\"mdn-hd\">\n            <div class=\"hd-bg-wrap\">\n                <div class=\"hd-mod-wrap\">\n                    <a id=\"site-logo\" title=\"Mattel\" href=\"http:\/\/www.mattel.com\/\" >\n                       <span>Mattel<\/span>\n                    <\/a>\n                    \n                    <!--This Navigation will be changing because there is code coming that will\n                    generate the navigation dynamically, based on what section the user is viewing-->\n                                        \n                    <div class=\"nav-wrap\">\n                        <ul id=\"mdn-top-nav\" class=\"links primary-links\">\n                            <li id=\"nav-games\"><a href=\"http:\/\/www.mattel.com\/games\" title=\"Games\" ><span>Games<\/span><\/a><\/li>\n                            <li id=\"nav-videos\"><a href=\"http:\/\/www.mattel.com\/videos\" title=\"Videos\" ><span>Videos<\/span><\/a><\/li>\n                            <li id=\"nav-toy-factory\"><a href=\"http:\/\/www.mattel.com\/toy-factory\" title=\"Toy Factory\" ><span>Toy Factory<\/span><\/a><\/li>\n                            <li id=\"nav-my-mattel\"><a href=\"http:\/\/www.mattel.com\/my\" title=\"My Mattel\" ><span>My Mattel<\/span><\/a><\/li>\n                            <li id=\"nav-our-sites\"><a href=\"http:\/\/www.mattel.com\/our-sites\" title=\"Our Sites\" ><span>Our Sites<\/span><\/a>\n                                <ul id=\"nav-dropdown-menu\">\n                                                                        \n                                    <li>\n                                                                                <div class=\"nav-item\"><a href=\"http:\/\/www.hotwheels.com\/\" title=\"Hot Wheels\"><img src=\"http:\/\/www.mattel.com\/files\/hd-hw-logo.jpg\" class=\"nav-logo\" title=\"Hot Wheels\" alt=\"Hot Wheels\"\/><img src=\"http:\/\/www.mattel.com\/files\/hd-hw-on.jpg\" class=\"nav-logo-rollover\" title=\"Hot Wheels\" alt=\"Hot Wheels\" style=\"display: none;\"\/><\/a><\/div>\n                                                                                <div class=\"nav-item\"><a href=\"http:\/\/barbie.com\/\" title=\"Barbie\"><img src=\"http:\/\/www.mattel.com\/files\/hd-barbie-logo.jpg\" class=\"nav-logo\" title=\"Barbie\" alt=\"Barbie\"\/><img src=\"http:\/\/www.mattel.com\/files\/hd-barbie-logo-on.jpg\" class=\"nav-logo-rollover\" title=\"Barbie\" alt=\"Barbie\" style=\"display: none;\"\/><\/a><\/div>\n                                                                                <div class=\"nav-item\"><a href=\"http:\/\/www.americangirl.com\" title=\"American Girl\"><img src=\"http:\/\/www.mattel.com\/files\/hd-amgirl.jpg\" class=\"nav-logo\" title=\"American Girl\" alt=\"American Girl\"\/><img src=\"http:\/\/www.mattel.com\/files\/hd-amgirl-on.jpg\" class=\"nav-logo-rollover\" title=\"American Girl\" alt=\"American Girl\" style=\"display: none;\"\/><\/a><\/div>\n                                                                                <div class=\"nav-item\"><a href=\"http:\/\/www.fisher-price.com\/\" title=\"Fisher-Price\"><img src=\"http:\/\/www.mattel.com\/files\/hd-fprice.jpg\" class=\"nav-logo\" title=\"Fisher-Price\" alt=\"Fisher-Price\"\/><img src=\"http:\/\/www.mattel.com\/files\/hd-fprice-on.jpg\" class=\"nav-logo-rollover\" title=\"Fisher-Price\" alt=\"Fisher-Price\" style=\"display: none;\"\/><\/a><\/div>\n                                                                                <div class=\"nav-item\"><a href=\"http:\/\/www.matchbox.com\/home.aspx\" title=\"Matchbox\"><img src=\"http:\/\/www.mattel.com\/files\/hd-matchbox.jpg\" class=\"nav-logo\" title=\"Matchbox\" alt=\"Matchbox\"\/><img src=\"http:\/\/www.mattel.com\/files\/hd-matchbox-on.jpg\" class=\"nav-logo-rollover\" title=\"Matchbox\" alt=\"Matchbox\" style=\"display: none;\"\/><\/a><\/div>\n                                                                            <\/li>\n                                    \n                                                                        \n                                    <li>\n                                                                                <div class=\"nav-item\"><a href=\"http:\/\/www.barbiecollector.com\/\" title=\"Barbie Collector\"><img src=\"http:\/\/www.mattel.com\/files\/hd-bcollector.jpg\" class=\"nav-logo\" title=\"Barbie Collector\" alt=\"Barbie Collector\"\/><img src=\"http:\/\/www.mattel.com\/files\/hd-bcollector-on_0.jpg\" class=\"nav-logo-rollover\" title=\"Barbie Collector\" alt=\"Barbie Collector\" style=\"display: none;\"\/><\/a><\/div>\n                                                                                <div class=\"nav-item\"><a href=\"http:\/\/www.hotwheelscollectors.com\/\" title=\"Hot Wheels Collectors\"><img src=\"http:\/\/www.mattel.com\/files\/hd-hwc-logo.jpg\" class=\"nav-logo\" title=\"Hot Wheels Collectors\" alt=\"Hot Wheels Collectors\"\/><img src=\"http:\/\/www.mattel.com\/files\/hd-hwc-on.jpg\" class=\"nav-logo-rollover\" title=\"Hot Wheels Collectors\" alt=\"Hot Wheels Collectors\" style=\"display: none;\"\/><\/a><\/div>\n                                                                                <div class=\"nav-item\"><a href=\"http:\/\/www.battleforce5.com\/\" title=\"Battle Force 5\"><img src=\"http:\/\/www.mattel.com\/files\/hd-bf5-logo.jpg\" class=\"nav-logo\" title=\"Battle Force 5\" alt=\"Battle Force 5\"\/><img src=\"http:\/\/www.mattel.com\/files\/hd-bf5-on.jpg\" class=\"nav-logo-rollover\" title=\"Battle Force 5\" alt=\"Battle Force 5\" style=\"display: none;\"\/><\/a><\/div>\n                                                                                <div class=\"nav-item\"><a href=\"http:\/\/icanbe.barbie.com\/\" title=\"I Can Be\u2122\"><img src=\"http:\/\/www.mattel.com\/files\/small_icanbe.png\" class=\"nav-logo\" title=\"I Can Be\u2122\" alt=\"I Can Be\u2122\"\/><img src=\"http:\/\/www.mattel.com\/files\/large_icanbe.png\" class=\"nav-logo-rollover\" title=\"I Can Be\u2122\" alt=\"I Can Be\u2122\" style=\"display: none;\"\/><\/a><\/div>\n                                                                                <div class=\"nav-item\"><a href=\"http:\/\/www.mattelgames.com\" title=\"Mattel Games\"><img src=\"http:\/\/www.mattel.com\/files\/hd-mattel-logo.jpg\" class=\"nav-logo\" title=\"Mattel Games\" alt=\"Mattel Games\"\/><img src=\"http:\/\/www.mattel.com\/files\/hd-mattel-on.jpg\" class=\"nav-logo-rollover\" title=\"Mattel Games\" alt=\"Mattel Games\" style=\"display: none;\"\/><\/a><\/div>\n                                                                            <\/li>\n                                    \n                                                                        \n                                    <li>\n                                                                                <div class=\"nav-item\"><a href=\"http:\/\/www.radicagames.com\/site.php?m=radica\" title=\"Radica\u00ae\">Radica\u00ae<\/a><\/div>\n                                                                                <div class=\"nav-item\"><a href=\"http:\/\/www.tycorc.com\/\" title=\"Tyco R\/C\">Tyco R\/C<\/a><\/div>\n                                                                                <div class=\"nav-item\"><a href=\"http:\/\/letsplayuno.com\/\" title=\"UNO\">UNO<\/a><\/div>\n                                                                                <div class=\"nav-item\"><a href=\"http:\/\/www.barbiegirls.com\" title=\"Barbie Girls\">Barbie Girls<\/a><\/div>\n                                                                                <div class=\"nav-item\"><a href=\"http:\/\/www.maxsteel.com\" title=\"Max Steel\">Max Steel<\/a><\/div>\n                                                                            <\/li>\n                                    \n                                                                        \n                                    <li>\n                                                                                <div class=\"nav-item\"><a href=\"http:\/\/www.girltech.com\" title=\"Girl Tech\">Girl Tech<\/a><\/div>\n                                                                                <div class=\"nav-item\"><a href=\"http:\/\/barbiestyle.barbie.com\/\" title=\"Barbie Style\">Barbie Style<\/a><\/div>\n                                                                                <div class=\"nav-item\"><a href=\"http:\/\/www.mattycollector.com\/\" title=\"Matty Collector\">Matty Collector<\/a><\/div>\n                                                                                <div class=\"nav-item\"><a href=\"http:\/\/www.ubfunkeys.com\" title=\"U.B. Funkeys\">U.B. Funkeys<\/a><\/div>\n                                                                                <div class=\"nav-item\"><a href=\"http:\/\/blokus.com\" title=\"Blokus\">Blokus<\/a><\/div>\n                                                                            <\/li>\n                                    \n                                                                        \n                                    <li>\n                                                                                <div class=\"nav-item\"><a href=\"http:\/\/www.pollypocket.com\/\" title=\"Polly Pocket\">Polly Pocket<\/a><\/div>\n                                                                                <div class=\"nav-item\"><a href=\"http:\/\/www.xtractaurs.com\/\" title=\"Xtractaurs\">Xtractaurs<\/a><\/div>\n                                                                                <div class=\"nav-item\"><a href=\"http:\/\/www.matchbox.com\/showcase\/product.aspx?product_number=P4458&amp;category_id=7572\" title=\"Rocky The Robot\">Rocky The Robot<\/a><\/div>\n                                                                                <div class=\"nav-item\"><a href=\"http:\/\/barbie.everythinggirl.com\/activities\/friends\/soinstyle\/\" title=\"Barbie So In Style\">Barbie So In Style<\/a><\/div>\n                                                                                <div class=\"nav-item\"><a href=\"http:\/\/barbie.everythinggirl.com\/activities\/fantasy\/princess\/musketeers\/\" title=\"Barbie &amp; the Three Musketeers\">Barbie &amp; the Three Musketeers<\/a><\/div>\n                                                                            <\/li>\n                                    \n                                                                    <\/ul>\n                            <\/li>\n                            <li id=\"nav-shop\"><a href=\"http:\/\/shop.mattel.com\/\" title=\"Shop\" ><span>Shop<\/span><\/a><\/li>\n                        <\/ul>                        \n                    <\/div>\n                    \n                    <div id=\"site-search-wrap\">\n                                                                        \n                        <form id=\"form-site-search\" action=\"http:\/\/www.mattel.com\/search\/apachesolr_search\" onSubmit=\"location.href=document.getElementById('form-site-search').getAttribute('action')+'\/'+document.getElementById('search-keywords').value; return false;\">\n                            <input id=\"search-keywords\" class=\"default\" value=\"Search\" onclick=\"document.getElementById('search-keywords').value='';\"\/>\n                            <input class=\"form-submit\" type=\"submit\" value=\"\"\/>\n                        <\/form>\n                    <\/div>                    \n                    \n                <\/div>\n            <\/div>\n        <\/div>                           \n\n\t\t\t  <script type=\"text\/javascript\">\n\t\t\t\t\tvar nav_rollover_lock = false;\n\n\t\t\t\t  $(document).ready(function() {\n\t\t\t\t\t\t$('div.nav-item').hover(\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tif ($(this).find('img').size() == 2) {\n\t\t\t\t\t\t\t\t\tvar elem = this;\n\t\t\t\t\t\t\t\t\t$(elem).find('img.nav-logo').css('z-index', 0);\n\t\t\t\t\t\t\t\t\t$(elem).find('img.nav-logo-rollover')\n\t\t\t\t\t\t\t\t\t\t.css('z-index', 1)\n\t\t\t\t\t\t\t\t\t\t.fadeIn(500, function () {\n\t\t\t\t\t\t\t\t\t\t\tif (nav_rollover_lock == false) {\n\t\t\t\t\t\t\t\t\t\t\t\tnav_rollover_lock = true;\n\t\t\t\t\t\t\t\t\t\t\t\t$(elem).find('img.nav-logo-rollover').css('z-index', 0);\n\t\t\t\t\t\t\t\t\t\t\t\t$(elem).find('img.nav-logo').hide();\n\t\t\t\t\t\t\t\t\t\t\t\t$(elem).find('img.nav-logo-rollover').css('position', 'relative');\n\t\t\t\t\t\t\t\t\t\t\t\tnav_rollover_lock = false;\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfunction () {\n\t\t\t\t\t\t\t\tif ($(this).find('img').size() == 2) {\n\t\t\t\t\t\t\t\t\tif (nav_rollover_lock == false) {\n\t\t\t\t\t\t\t \t\t\tnav_rollover_lock = true;\n\t\t\t\t\t\t\t\t\t\t$(this).find('img.nav-logo').show();\n\t\t\t\t\t\t\t\t\t\t$(this).find('img.nav-logo-rollover').stop();\n\t\t\t\t\t\t\t\t\t\t$(this).find('img.nav-logo-rollover').hide();\n\t\t\t\t\t\t\t \t\t\t$(this).find('img.nav-logo-rollover').css('position', 'absolute');\n\t\t\t\t\t\t\t \t\t\t$(this).find('img.nav-logo-rollover').css('opacity', 1);\n\t\t\t\t\t\t\t \t\t\tnav_rollover_lock = false;\n\t\t\t\t\t\t\t \t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t);\n\t\t\t\t\t});\n\t\t\t  <\/script>\n\n                \n"});
  });    