/******************************************************************************/
/*******************   Royn Bartholdi -> Nolimitz      ************************/
/******************************************************************************/
/*                                                                            */
/*  All Contents Copyright © Nolimitz.  Web Development by Royn Bartholdi     */
/*                                                                            */
/*  All rights are owned or controlled for these purposes by Royn Bartholdi.  */
/*  You are not permitted to copy, broadcast, download, store (in any medium),*/
/*  transmit, translate, show or play in public, adapt or change in any way   */
/*  the content of these materials for any other purpose whatsoever without   */
/*  the prior written permission of Royn Bartholdi.                           */ 
/*                                                                            */
/*  email = royn@roynbartholdi.com                                            */
/*          royn@royn.net                                                     */
/*                                                                            */
/******************************************************************************/
/******************************************************************************/


var SiteWidth           = "800";
var _ToPrintMsg         = 'To print this page, select "Print" from the File menu of your browser.';
var _PrintFriendlyText  = 'Printer Friendly Version (Popup Window)';
var _Copyright          = 'All Contents Copyright &copy; 2007..2009 Nolimitz.&nbsp;&nbsp;All Rights Reserved.';

function Show_Header() {
   document.write('<div align="center"> ');
   document.write('<table cellpadding="0" cellspacing="0" border="0"  width="820" height="130px"> ');
   document.write('<tr> ');
   document.write('   <td> ');
   document.write( '      <img src="./images/nl_banner.jpg" width="820" height="130" alt="">');
   document.write('   </td>' );
   document.write('</tr>' );
   document.write('</table>' );   
   document.write('</div>' );
}

function Show_Top_Menu() {
   document.write('<div align="center"> ');
   document.write('<table bgcolor="#CCCCCC" cellpadding="0" cellspacing="0" border="0" height="30px" width="800"> ');
   document.write('<tr> ');
   document.write('   <td align="center"> ');
   document.write('      <div class="CoreMenu"> ');
   document.write('         <a class="CoreMenu" href="index.html">Home</a> | ');
   document.write('         <a class="CoreMenu" href="nl_products.html">Products</a> | ');
   document.write('         <a class="CoreMenu" href="nl_accessories.html">Accessories</a> | '); 
   document.write('         <a class="CoreMenu" href="nl_company.html">Company</a> |');
   document.write('         <a class="CoreMenu" href="nl_gallery_p1.html">Gallery</a> | ');
   document.write('         <a class="CoreMenu" href="nl_team.html">Team</a> | ');
   document.write('         <a class="CoreMenu" href="nl_events.html">Events</a> | ');
   document.write('         <a class="CoreMenu" href="nl_warranty.html">Warranty</a> | ');
   document.write('         <a class="CoreMenu" href="nl_contact.html">Contact</a> | ');
   document.write('         <a class="CoreMenu" href="nl_distributors.html">Distributors</a> ');
   document.write('      </div> ');  
   document.write('   </td>' );
   document.write('</tr>' );
   document.write('</table>' );   
   document.write('</div>' );
}

function Show_Body_Left() {
   document.write('<div align="center"> ');
   document.write('      <table id="Body" cellpadding="0" cellspacing="0" border="0" width="800"> ');
   document.write('      <tr> ');
   document.write('         <td valign="Top" align="Left" style="padding: 15px 15px 15px 15px;"> ');
}

function Show_Body_Right(){
   document.write('         </td>' );
   document.write('      </tr>' );
   document.write('      </table>' );
   document.write('</div>' );
}


function Show_Footer() {
   document.write('<div align="center"> ');
   document.write('<table bgcolor="#CCCCCC" cellpadding="0" cellspacing="0" border="0" height="30px" width="800"> ');
   document.write('<tr> ');
   document.write('   <td align="center"> ');
   document.write('            <div class="Copyright">' );
   document.write( _Copyright );
   document.write('            </div>' );
   document.write('   </td>' );
   document.write('</tr>' );
   document.write('</table>' );   
   document.write('</div>' );

   document.write('<div align="center"> ');
   document.write('<table bgcolor="#666666" cellpadding="0" cellspacing="0" border="0" width="800"> ');
   document.write('<tr> ');
   document.write('   <td>');
   document.write('      <img src="./images/nl_footer.jpg" alt="Nolimitz Footer" border="0">');
   document.write('   </td>' );
   document.write('</tr>' );
   document.write('</table>' );   
   document.write('</div>' );
}

function Show_Post_Footer() {
   document.write( '<div align="center"> ');
   document.write( '<table bgcolor="#666666" cellpadding="0" cellspacing="0" border="0" width="800"> ');
   document.write( '<tr> ');
   document.write( '   <td align="left" valign="top">');
   document.write( '     <div class="BotNav" align="center">' );
   document.write( '       <a class="BotNav" href="nl_legal.html">Legal</a> |  ');
   document.write( '       <a class="BotNav" href="nl_site_index.html">Site Index</a> |  ');
   document.write( '       <a class="BotNav" href="nl_products.html">Products</a> |  ');
   document.write( '       <a class="BotNav" href="nl_company.html">Company</a>' );
   document.write( '     </div>' );
   document.write( '   </td>' );
   document.write( '   <td align="right" style="color: #999999">');
   document.write( '        <a class="LinkRoyn" href="http:\\www.roynbartholdi.com" target="_blank"> ' );
   document.write( '        Web Design by Royn Bartholdi</a>&nbsp;&nbsp;&nbsp;' );
   document.write( '   </td>' );
   document.write( '</tr>' );
   document.write( '</table>' );   
   document.write( '</div>' );
}


function RandomPicture( nMax, cPath ) {
   var ran_number = Math.round( Math.random() * ( nMax-1) ); 
   var cNum       = ran_number + 1;
   if (cNum < 10)  { cNum = "0" + cNum; }
   document.write( '<center>' );
   document.write( '<img src="' + cPath + cNum + '.jpg" border="0" alt="Nolimitz Home Picture ' + cNum +'">' );
   document.write( '</center>' );
}

function ZeroFill( i ) { 
   if (i > 99 ) { return ( i ) }
   if (i > 9  ) { return "0" + i }
   return "00" + i; 
}

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}

/***************************************/
/************   Roll Over    ***********/
/***************************************/

function Sumo_Over() { 
    document.images.sumo.src = './pix/product/nl_sumo_md.jpg'; 
}

function Sumo2_Over() { 
    document.images.sumo.src = './pix/product/nl_sumo2_md.jpg'; 
}

function Fast_Over() { 
    document.images.fast.src = './pix/product/nl_fast_md.jpg'; 
}

function Fast2_Over() { 
    document.images.fast.src = './pix/product/nl_fast2_md.jpg'; 
}
/***************************************/
/************   PopUps    **************/
/***************************************/

function Shim_PopUp() {
   var cHtml = "nl_popup_shim.html";
   var cPanel = "history=no,toolbar=no,location=no,border=0,directories=no,status=no,menubar=no,"+
                "scrollbars=no,resizable=no,width=560,height=540";
   PopUpShell( cHtml, cPanel );
}

function Original_PopUp() {
   var cHtml = "nl_popup_mast_original.html";
   var cPanel = "history=no,toolbar=no,location=no,border=0,directories=no,status=no,menubar=no,"+
                "scrollbars=no,resizable=no,width=770,height=480";
   PopUpShell( cHtml, cPanel );
}

function Fast_PopUp() {
   var cHtml = "nl_popup_mast_fast.html";
   var cPanel = "history=no,toolbar=no,location=no,border=0,directories=no,status=no,menubar=no,"+
                "scrollbars=yes,resizable=no,width=770,height=780";
   PopUpShell( cHtml, cPanel );
}

function Sumo_PopUp() {
   var cHtml = "nl_popup_mast_sumo.html";
   var cPanel = "history=no,toolbar=no,location=no,border=0,directories=no,status=no,menubar=no,"+
                "scrollbars=no,resizable=no,width=770,height=600";
   PopUpShell( cHtml, cPanel );
}

function Mast_Specs_PopUp() {
   var cHtml = "nl_popup_mast_specs.html";
   var cPanel = "history=no,toolbar=no,location=no,border=0,directories=no,status=no,menubar=no,"+
                "scrollbars=no,resizable=no,width=580,height=350";
   PopUpShell( cHtml, cPanel );
}


function Mast_Bag_PopUp() {
   var cHtml = "nl_popup_mast_bag.html";
   var cPanel = "history=no,toolbar=no,location=no,border=0,directories=no,status=no,menubar=no,"+
                "scrollbars=no,resizable=no,width=510,height=520";
   PopUpShell( cHtml, cPanel );
}

function PopUpShell( cHtml, cPanel ) {
   day = new Date();
   id = day.getTime();
   eval("page" + id + " = window.open( cHtml, '" + id + "', cPanel );");
   if (window.focus) { eval( "page" + id + ".focus()" ) }
}

function Rider_PopUp( cRider ) {
   var cHtml  = "nl_popup_team.html?p1=" + cRider;
   var cPanel = "history=no,toolbar=no,location=no,border=0,directories=no,status=no,menubar=no,"+
                "scrollbars=no,resizable=no,width=740,height=550";
   PopUpShell( cHtml, cPanel );
}


function popUp(URL) {
   cPanel = 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=1,width=420,height=420,left=262,top=134';
   day = new Date();
   id = day.getTime();
   eval("page" + id + " = window.open( URL, '" + id + "', cPanel );");
}

/******************************************************************************/
/****************************    End of Document       ************************/
/******************************************************************************/