﻿document.body.style.background = "#666 url(//drh.img.digitalriver.com/DRHM/Storefront/Site/ekconsus/cm/images/kodak_header/bf_bg.jpg) 0 0 repeat-x";

var div_top = document.createElement('div');
div_top.id = 'kodakHeader';
div_top.innerHTML = 
  '<div id="headerTop">' +
    '<a href="http://www.kodak.com" class="logo"></a>' +
    '<div class="topHeadDiv">' +
      '<ul class="menu">' +
      
        '<li class="noTab"><span class="allProds">All Kodak Products &amp; Services</span>' +
          '<ul class="noTab">' +
            '<li><a href="http://www.kodak.com/eknec/PageQuerier.jhtml?pq-path=2608&pq-locale=en_GB">Aerial &amp; Industrial Markets</a></li>' +
            '<li><a href="http://www.kodak.com/GB/en/dpq/site/COMMSERVICE/name/svcHome">Business Services &amp; Support</a></li>' +
            '<li><a href="http://motion.kodak.com/GB/en/motion/index.htm">Cinema &amp; Television</a></li>' +
            '<li><a href="/store/ekconseu/en_GB/home">Consumer Products</a></li>' +
            '<li><a href="http://www.kodak.com/eknec/PageQuerier.jhtml?pq-path=1473&pq-locale=en_GB">Displays</a></li>' +
            '<li><a href="http://graphics.kodak.com/docimaging/GB/en/index.htm">Document Imaging</a></li>' +
            '<li><a href="http://www.kodak.com/global/en/business/EIS/index.jhtml?pq-path=12787">Event Imaging Solutions</a></li>' +
            '<li><a href="http://www.eastmangelatine.com">Gelatin Products</a></li>' +
            '<li><a href="http://graphics.kodak.com/">Graphic Communications</a></li>' +
            '<li><a href="http://www.kodak.com/global/en/business/ISS/index.jhtml?pq-path=11937">Image Sensor Solutions</a></li>' +
            '<li><a href="http://www.kodak.com/global/en/professional/features/featuresIndex.jhtml?pq-path=522">Pro Photographer / Lab</a></li>' +
            '<li><a href="http://www.kodak.com/global/en/business/retailPhoto/index.jhtml?pq-path=11923">Retailers &amp; Photofinishing</a></li>' +
            '<li><a href="http://www.kodaklens.com">Spectacle Lenses</a></li>' + 
          '</ul>' +
        '</li>' +
        
      '</ul>' +
    '</div>' +
    
    '<div class="topHeadDiv chooseLang">United Kingdom [ <a href="http://www.kodak.com/eknec/PageQuerier.jhtml?pq-path=204&pq-locale=en_GB&successURI=/eknec/PageQuerier.jhtml?pq-path=6868">change</a> ]</div>' +
	'</div>' +

  '<div id="headerMid">' +
    '<a href="/store/ekconseu/en_GB/home" class="consumer"></a>' +
  '</div>' +
  
  '<div id="headerBot">' +
    '<ul class="menu">' +
    
      '<li><a href="/store/ekconseu/en_GB/home" class="curOutside"><span class="curInside menuText">KODAK<br />Shop</span><span class="menuArrow mASelected"></span></a>' +
        '<ul>' +
            '<li><a href="/store/ekconseu/en_GB/list/Digital_Cameras/categoryID.28927200">Digital Cameras</a></li>' +
						'<li><a href="/store/ekconseu/en_GB/list/Accessories/categoryID.28916200">Accessories</a></li>' +
						'<li><a href="/store/ekconseu/en_GB/list/Digital_Frames/categoryID.28918200">Digital Frames</a></li>' +
						'<li><a href="/store/ekconseu/en_GB/list/Digital_Video_Cameras/categoryID.28918800">Digital Video Cameras</a></li>' +
						'<li><a href="/store/ekconseu/en_GB/list/All-in-One_Printers/categoryID.28919000">All-In-One Printers</a></li>' +
						'<li><a href="/store/ekconseu/en_GB/list/Printing_Supplies/categoryID.28919200">Printing Supplies</a></li>' +
						'<li><a href="/store/ekconseu/en_GB/list/Single_Use_Cameras/categoryID.28919900">Single Use Cameras</a></li>' +
            '<li><a href="/store/ekconseu/en_GB/list/Clearance_Centre/categoryID.28920000">Clearance Centre</a></li>' +
						'<li class="menuBreak"></li>' +
						'<li><a href="/store/ekconseu/en_GB/DisplayAccountOrderListPage">Order History</a></li>' +
						'<li><a href="/store/ekconseu/en_GB/DisplayHelpPage">FAQS</a></li>' +
						'<!-- <li><a href="#">Savings &amp; Offers</a></li> -->' +
						'<li><a href="/store/ekconseu/en_GB/ContentTheme/pbPage.affiliate_program_info_en_GB">Affiliate Programme</a></li>' +
        '</ul>' +
      '</li>' +
      
      '<li><a href="http://www.kodakgallery.co.uk/Welcome.jsp"><span class="menuText">KODAK<br />Gallery</span><span class="menuArrow mAUnSelected"></span></a>' +
        '<ul>' +
            '<li><a href="http://www.kodakgallery.co.uk/PhotoOverview.jsp">View &amp; edit photos</a></li>' +
						'<li><a href="http://www.kodakgallery.co.uk/ShareOverview.jsp">Share photos</a></li>' +
						'<li><a href="http://www.kodakgallery.co.uk/UploadOverview.jsp">Add photos</a></li>' +
						'<li><a href="http://www.kodakgallery.co.uk/OrderOverview.jsp">Buy prints</a></li>' +
						'<li><a href="http://www.kodakgallery.co.uk/StoreOverview.jsp">Photo books, Cards, Mugs...</a></li>' +
        '</ul>' +
      '</li>' +

      '<li><a href="http://www.kodak.com/eknec/PageQuerier.jhtml?pq-path=38&pq-locale=en_GB"><span class="menuText">Tips &amp;<br />Projects Center</span><span class="menuArrow mAUnSelected"></span></a>' +
        '<ul>' +
          '<li><a href="http://www.kodak.com/eknec/PageQuerier.jhtml?pq-path=39&pq-locale=en_GB">Learn</a></li>' +
          '<li><a href="http://www.kodak.com/eknec/PageQuerier.jhtml?pq-path=38/13916&pq-locale=en_GB">Create</a></li>' +
          '<li><a href="http://www.kodak.com/eknec/PageQuerier.jhtml?pq-path=38/492&pq-locale=en_GB">Inspirational Stories</a></li>' +
          '<li><a href="http://www.kodak.com/eknec/PageQuerier.jhtml?pq-path=38/2549&pq-locale=en_GB">Picture of the Day</a></li>' +
        '</ul>' +
      '</li>' +
      
      '<li><a href="http://www.kodak.com/eknec/PageQuerier.jhtml?pq-path=164&pq-locale=en_GB"><span class="menuText">Organize,<br />Print &amp; Share</span><span class="menuSpacer"></span></a></li>' +

      '<li><a href="http://www.kodak.com/eknec/PageQuerier.jhtml?pq-path=10&pq-locale=en_GB"><span class="menuText">Help<br />Center</span><span class="menuSpacer"></span></a></li>' +
    '</ul>' +
    
    '<div id="search">' +
      '<form name="SearchResultsForm" method="POST" action="/DRHM/servlet/ControllerServlet">' +
        '<input type="hidden" name="Action" value="DisplayProductSearchResultsPage"/>' +
        '<input type="hidden" name="SiteID" value="ekconseu"/>' +
        '<input type="hidden" name="Locale" value="en_GB"/>' +
        '<input type="hidden" name="CallingPageID" value="LandingPage"/>' +
        '<input type="hidden" name="Env" value="BASE"/>' +
        '<fieldset>' +
          '<label for="searchquery">Store Search</label>' +
          '<input type="text" value="Shop Search" name="keywords" id="searchquery" size="15" />' +
          '<input type="image" src="//drh.img.digitalriver.com/DRHM/Storefront/Site/ekconsus/cm/images/mu/search_glass.gif" width="23" height="21" />' +
        '</fieldset>' +
      '</form>' +
    '</div>' +
  '</div>';

var div_bottom = document.createElement('div');
div_bottom.id = 'bottom';
div_bottom.innerHTML = 
 ' <div id="footer">' +
    '<span class="first"><a href="http://www.kodak.com/eknec/PageQuerier.jhtml?pq-path=8&amp;pq-locale=en_GB">About Kodak</a></span>' +
		'<span><a href="http://www.kodak.com/eknec/PageQuerier.jhtml?pq-path=7797&amp;pq-locale=en_GB">Privacy</a></span>' +
		'<span><a href="http://wwwuk.kodak.com/UK/en/corp/legal/index.jhtml?pq-path=580&amp;pq-locale=en_GB">Site Terms</a></span>' +
    '<span><a href="/store/ekconseu/en_GB/ContentTheme/pbPage.affiliate_program_info_en_GB">Affiliate Programme</a></span>' +
		'<span><a href="http://www.kodak.com/eknec/PageQuerier.jhtml?pq-path=2509&amp;pq-locale=en_GB">News &amp; Media</a></span>' +
		'<span><a href="http://blogs.kodak.com/">Blogs</a></span>' +
		'<span><a href="http://www.kodak.com/eknec/PageQuerier.jhtml?pq-path=9688&amp;pq-locale=en_GB">Site Map</a></span>' +
		'<span class="last"><a href="http://www.kodak.com/eknec/PageQuerier.jhtml?pq-path=687&amp;pq-locale=en_GB">Contact</a></span>' +
    '<div class="hosted_by">' +
      '<span>hosted and operated by</span>' +
      '<img src="//drh.img.digitalriver.com/DRHM/Storefront/Site/ekconsus/pb/images/homepage/dr_logo_footer.png" width="93" height="16" alt="Digital River" border="0" />' +
    '</div>' +
  '</div>';

var div_main = document.getElementById("main");
div_main.insertBefore(div_top, div_main.firstChild);    
div_main.appendChild(div_bottom, div_main.firstChild);

function clear_input () {
    this.value = "";
    this.onfocus = null;
}
var div_searchquery = document.getElementById("searchquery");
div_searchquery.onfocus = clear_input;
