/*************************************************************************/
/****************  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();
}

/*************************************/
/*******     Template    *************/
/*************************************/

function Start_Stream( cBanner ) {
   document.write( '<div id="Container">' );
   document.write( '<table width="880px" cellpadding="0" cellspacing="0" border="0">' );
   document.write( '<tr><td class="top" ><img src="./images/spacer.gif" alt="" border="0"></td></tr>' );
   document.write( '<tr><td class="banner"><a href="index.html">' );
   document.write( '<img src="./images/skin/' + cBanner + '" alt="" border="0"></a></td></tr>' ); 
   document.write( '<tr><td class="middle"><img src="./images/spacer.gif" alt="" border="0"></td></tr>' );
   document.write( '</table>' );

   document.write( '<table width="880px" cellpadding="0" cellspacing="0" border="0">' );
   document.write( '<tr>' );
   document.write( '<td class="left_repeater">' ); 
   document.write( '<div class="left">' );
   document.write( '<div style="margin-left: 42px;">' ); 
}

function Middle_Stream( lmin ) {  
   document.write( '</div>' );   
   document.write( '</div>' );   
   document.write( '</td>' );  
   document.write( '   <td class="content">' );  
}

function End_Stream() {
   document.write( '   </td>' ); 
   document.write( '<td class="right_repeater"><div style="height: 100%;"><img src="./images/spacer.gif" alt="" border="0"></div></td>' ); 
   document.write( '</tr>' ); 
   document.write( '</table>' );

   document.write( '<table width="880px" cellpadding="0" cellspacing="0" border="0">' );
   document.write( '<tr><td class="bottom">' );   
   Show_Timer1(); 
   document.write( '</td></tr>' );   
   document.write( '</table>' );
   document.write( '</div>' );
   Show_Post_Footer();

}


function Show_Timer1() {  
   document.write( '<span id="timecontainer"></span>' );  
}
 
function Show_Post_Footer() {

   document.write( '<div class="copyright">' );
   document.write( _copyright );
   document.write( '</div>' );

   document.write( '<div class="BotNav" align="center">' );
   document.write( '<a class="BotNav" href="ice7_legal.asp">Legal</a> |  ');
   document.write( '<a class="BotNav" href="ice7_site_index.asp">Site Index</a> |  ');
   document.write( '<a class="BotNav" href="ice7_products.asp">Products</a> |  ');
   document.write( '<a class="BotNav" href="ice7_services.asp">Services</a> |  ');
   document.write( '<a class="BotNav" href="ice7_technology.asp">Technology</a> |  ');
   document.write( '<a class="BotNav" href="ice7_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=1000,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.');
   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 right ');
   document.write( 'hand turn at the “Port of Klickitat” sign.&nbsp;&nbsp;Cross over ');
   document.write( 'the railroad tracks and stay on the paved road as the road ');
   document.write( 'veers left at the lumberyard truck scale.&nbsp;&nbsp;Continue down ');
   document.write( 'this road and take a right hand turn just past the yield sign.&nbsp;&nbsp;');
   document.write( 'At the roundabout bear right and make your way around the ');
   document.write( 'building with the blue roof.&nbsp;&nbsp;As you make a 90 degree left ');
   document.write( 'hand turn you will see another building with a blue roof ');
   document.write( 'straight ahead on your left. ');
   document.write( '</div>');
}

/*************************************************************************/
/************************    End of Document    **************************/
/*************************************************************************/
