/*************************************************************************/
/****************  Innovative Composite Engineering    *******************/
/*************************************************************************/

var _copyright = "&nbsp;&nbsp;&copy;2007..2009 Innovative Composite Engineering Inc.&nbsp;&nbsp;All rights reserved.";

var _gToPrintMsg = 'To print this page, select "Print" from the File menu of your browser; '+
                   'or right click the mouse and select "Print".';

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();
}

function DateString() {
   var today = new Date()
   var month = today.getMonth() + 1
   var day = today.getDate()
   var year = today.getFullYear()
   var s = "/"
   return (  month + s + day + s + year );
}

function Show_Header( cPic ) {
   document.write( '<table width="800" cellpadding="0" cellspacing="0" border="0">' );
   document.write( '<tr>');
   document.write( '<td valign="top"><a href="index.html">');
   document.write( '<img src="' + cPic + '" alt="Innovative Composite Engineering" border="0">' ); 
   document.write( '</a></td>');
   document.write( '</tr>');
   document.write( '</table>' );
}

function Show_Middle_Left() {
  document.write( '<table width="800" cellpadding="0" cellspacing="0" border="0">' );
  document.write( '<tr>');
  document.write( '<td valign="top" class="SideColumn">' );
  Show_Main_Menu()
  document.write( '</td>');
  document.write( '<td class="Body" valign="top">');
}

function Show_Middle_Right() {
  document.write( '</td>');
  document.write( '</tr>');
  document.write( '</table>' );
}


function Show_Main_Menu() {
   document.write( '<div id="SideNav">' );
   document.write( '   <a class="SideNav" href="ice7_products.asp">Products</a>' );
   document.write( '   <a class="SideNavb" href="ice7_products_ind.asp">Industrial</a>' );
   document.write( '   <a class="SideNavb" href="ice7_products_aer.asp">Aerospace</a>' );
   document.write( '   <a class="SideNavb" href="ice7_products_mil.asp">Defense</a>' );
   document.write( '   <a class="SideNavb" href="ice7_products_aut.asp">Automotive</a>' );
   document.write( '   <a class="SideNavb" href="ice7_products_rec.asp">Recreational</a>' );
   document.write( '   <br>' );
   document.write( '   <a class="SideNav" href="ice7_services.asp">Services</a>' );
   document.write( '   <a class="SideNavb" href="ice7_services_des.asp">Design/Prototype</a>' );
   document.write( '   <a class="SideNavb" href="ice7_services_man.asp">Manufacturing</a>' );
   document.write( '   <a class="SideNavb" href="ice7_services_cus.asp">Customer Service</a>' );
   document.write( '   <br>');
   document.write( '   <a class="SideNav" href="ice7_technology.asp">Technology</a>' );
   document.write( '   <a class="SideNavb" href="ice7_technology_pro.asp">Processes</a>' );
   document.write( '   <a class="SideNavb" href="ice7_technology_dev.asp">Proprietary</a>' );
   document.write( '   <a class="SideNavb" href="ice7_technology_cap.asp">Capabilities</a>' );
   document.write( '   <br>' );
   document.write( '   <a class="SideNav" href="ice7_company.asp">Company</a>' );
   document.write( '   <a class="SideNavb" href="ice7_about_ice.asp">About ICE</a>' );
   document.write( '   <a class="SideNavb" href="ice7_jobs_intro.asp">Careers</a>' );
   document.write( '   <br>' );
   document.write( '   <a class="SideNav" href="ice7_contact.asp">Contact</a>' );
   document.write( '   <a class="SideNavb" href="ice7_directions.asp">Directions</a>' );
   document.write( '   <br>' );
   document.write( ' ICE Time:<br><span id="timecontainer"></span>' ); 
   document.write( '</div>' );
}

function Show_Timer() {
   document.write( ' ICE Time:<br><span id="timecontainer"></span>' ); 
}

function Show_Footer() {
   document.write( '<div id="footer">' );
   document.write( '   <div style="text-align: right;">' );
   document.write( '      <a href="index.html">Home</a> |  ');
   document.write( '      <a href="ice7_contact.asp">Contact Us</a>');
   document.write( '       &nbsp;&nbsp;&nbsp;');    
   document.write( '   </div>');
   document.write( '</div>');
   document.write( '<div class="div_footer_copyright">' );
   document.write( _copyright );
   document.write( '</div>' );
}

function Show_Post_Footer() {
   document.write( '<div class="BotNav" align="center">' );
   document.write( '<a class="BotNav" href="ice_legal.asp">Legal</a> |  ');
   document.write( '<a class="BotNav" href="ice_site_index.asp">Site Index</a> |  ');
   document.write( '<a class="BotNav" href="ice_products.asp">Products</a> |  ');
   document.write( '<a class="BotNav" href="ice_services.asp">Services</a> |  ');
   document.write( '<a class="BotNav" href="ice_technology.asp">Technology</a> |  ');
   document.write( '<a class="BotNav" href="ice_company.asp">Company</a>');
   document.write( '</div>' );
}


/*************************************/
/*******      Products    ************/
/*************************************/

IndOnButton = new Image();
IndOnButton.src = "./pix7/ice_pic_products_thumb_ind_on.jpg";
IndOffButton = new Image();
IndOffButton.src = "./pix7/ice_pic_products_thumb_ind_off.jpg";

function IndButtonOn() {
   document.images["IndButton"].src= IndOnButton.src;
   return true;
}

function IndButtonOff() {
  document.images["IndButton"].src = IndOffButton.src;
  return true;
}

AerOnButton = new Image();
AerOnButton.src = "./pix7/ice_pic_products_thumb_aer_on.jpg";
AerOffButton = new Image();
AerOffButton.src = "./pix7/ice_pic_products_thumb_aer_off.jpg";

function AerButtonOn() {
   document.images["AerButton"].src= AerOnButton.src;
   return true;
}

function AerButtonOff() {
  document.images["AerButton"].src = AerOffButton.src;
  return true;
}

MilOnButton = new Image();
MilOnButton.src = "./pix7/ice_pic_products_thumb_mil_on.jpg";
MilOffButton = new Image();
MilOffButton.src = "./pix7/ice_pic_products_thumb_mil_off.jpg";

function MilButtonOn() {
   document.images["MilButton"].src= MilOnButton.src;
   return true;
}

function MilButtonOff() {
  document.images["MilButton"].src = MilOffButton.src;
  return true;
}

AutOnButton = new Image();
AutOnButton.src = "./pix7/ice_pic_products_thumb_aut_on.jpg";
AutOffButton = new Image();
AutOffButton.src = "./pix7/ice_pic_products_thumb_aut_off.jpg";

function AutButtonOn() {
   document.images["AutButton"].src= AutOnButton.src;
   return true;
}

function AutButtonOff() {
  document.images["AutButton"].src = AutOffButton.src;
  return true;
}

RecOnButton = new Image();
RecOnButton.src = "./pix7/ice_pic_products_thumb_rec_on.jpg";
RecOffButton = new Image();
RecOffButton.src = "./pix7/ice_pic_products_thumb_rec_off.jpg";

function RecButtonOn() {
   document.images["RecButton"].src= RecOnButton.src;
   return true;
}

function RecButtonOff() {
  document.images["RecButton"].src = RecOffButton.src;
  return true;
}

DesOnButton = new Image();
DesOnButton.src = "./pix7/ice_pic_services_thumb_des_on.jpg";
DesOffButton = new Image();
DesOffButton.src = "./pix7/ice_pic_services_thumb_des_off.jpg";

function DesButtonOn() {
   document.images["DesButton"].src= DesOnButton.src;
   return true;
}

function DesButtonOff() {
  document.images["DesButton"].src = DesOffButton.src;
  return true;
}

ManOnButton = new Image();
ManOnButton.src = "./pix7/ice_pic_services_thumb_man_on.jpg";
ManOffButton = new Image();
ManOffButton.src = "./pix7/ice_pic_services_thumb_man_off.jpg";

function ManButtonOn() {
   document.images["ManButton"].src= ManOnButton.src;
   return true;
}

function ManButtonOff() {
  document.images["ManButton"].src = ManOffButton.src;
  return true;
}

CusOnButton = new Image();
CusOnButton.src = "./pix7/ice_pic_services_thumb_cus_on.jpg";
CusOffButton = new Image();
CusOffButton.src = "./pix7/ice_pic_services_thumb_cus_off.jpg";

function CusButtonOn() {
   document.images["CusButton"].src= CusOnButton.src;
   return true;
}

function CusButtonOff() {
  document.images["CusButton"].src = CusOffButton.src;
  return true;
}

CrusherOnButton = new Image();
CrusherOnButton.src = "./pix7/ice_crusher_on.jpg";
CrusherOffButton = new Image();
CrusherOffButton.src = "./pix7/ice_crusher_off.jpg";

function CrusherButtonOn() {
   document.images["CrusherButton"].src= CrusherOnButton.src;
   return true;
}

function CrusherButtonOff() {
  document.images["CrusherButton"].src = CrusherOffButton.src;
  return true;
}

/*************************************/
/*******    Directions   *************/
/*************************************/

AerialOnButton = new Image();
AerialOnButton.src = "./pix7/ice_aerial_map_2.jpg";
AerialOffButton = new Image();
AerialOffButton.src = "./pix7/ice_aerial_map_1.jpg";

function ChangeAerialMap() {
   document.images["AerialMap"].src= AerialOnButton.src;
   return true;
}

function ChangeAerialMapBack() {
  document.images["AerialMap"].src = AerialOffButton.src;
  return true;
}

function Show_Popup_Header() {
  document.write( '<table bgcolor="#ffffff" width="100%" cellpadding="0" cellspacing="0" border="0">' );
  document.write( '<tr><td width="300" align="left"><b>' );
  document.write( 'www.InnovativeComposite.com' );
  document.write( '</b></td>' );
  document.write( '<td align="right">' );
  document.write( DateString() );
  document.write( '</td></tr>' );
  document.write( '</table>' );  
  document.write( '<hr id=hrrule1 size=1>' );

  document.write( '<table width="' + cWidth +'" cellpadding="0" cellspacing="0" border="0">' );
  document.write( '<tr><td colspan="2"><hr id=hrrule1 size=1></td></tr>' );
  document.write( '<tr>' );
  document.write('    <td colspan="2" class="Print_Msg">' + _gToPrintMsg + '</td>' );
  document.write( '</tr>' );
  document.write( '</table>' );  
}

function DirectionsPopUp() {
   var nLeft = 0;
   var nTop  = 100;
   var cPanel = 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,' + 
                'width=550,height=600,left=' + nLeft +',top = ' + nTop +' ';
   day = new Date();
   id = day.getTime();
   eval( "page" + id + " = window.open( 'ice7_directions_popup.htm' , '" + id + "', cPanel );" );
}

function ShowDirectionsP1() {
   document.write( '<div style="padding: 0px 0px 0px 0px;">');
   document.write( 'The drive from the airport along the south side of ');
   document.write( 'the Columbia River is absolutely beautiful.&nbsp;&nbsp;');
   document.write( 'Keep an eye out for the cascading waterfalls  ');
   document.write( 'on your right and the world class windsurfing/kiteboarding ');
   document.write( 'on your left.&nbsp;&nbsp;It is a very easy 55 miles or so ');
   document.write( 'on I-84 east that will bring you to the exit 64 ');
   document.write( 'off ramp.&nbsp;&nbsp;At the bottom of the ramp ');
   document.write( 'take a left at the stop sign and pass underneath ');
   document.write( 'the freeway to the four way stop.&nbsp;&nbsp;');
   document.write( 'At this point if you’re in need of lodging ');
   document.write( '(or a coffee) the Best Western and ');
   document.write( 'Starbucks will be on your right.&nbsp;&nbsp;');
   document.write( 'If you are heading to ICE travel straight ');
   document.write( 'through the four way stop ');
   document.write( 'and continue across the toll bridge ');
   document.write( 'toward the Washington side of the river (Toll for a typical 2-axle vehicle is 75 cents).' );
   document.write( '</div>');
}

function ShowDirectionsP2() {
   document.write( '<div style="padding: 10px 0px 0px 0px;">');
   document.write( 'At the traffic signal turn right (this will be Highway 14).&nbsp;&nbsp;'); 
   document.write( 'Approximately 1.3 miles down this road take a left ');
   document.write( 'hand turn on to Oak St. toward White Salmon (WA-141).&nbsp;&nbsp;');
   document.write( 'Continue straight up the hill and Oak St will turn into ');
   document.write( 'Jewett Blvd as you enter White Salmon.&nbsp;&nbsp;');
   document.write( 'After approximately 1.5 miles you will be in the heart of White Salmon ');
   document.write( 'and will turn right on Main Ave.&nbsp;&nbsp;');
   document.write( 'Continue up Main Avenue for almost one mile and the new ');
   document.write( 'Innovative Composite Engineering campus will be on your right ');
   document.write( 'right at 1265 Main Ave down a long paved drive.');
   document.write( '</div>');
}

/*************************************************************************/
/************************    End of Document    **************************/
/*************************************************************************/
