<!--
  if (document.images)
   {
     image_header_off= new Image(800,70);
     image_header_off.src="images/header_off.gif";  
	 
	 image_footer_off= new Image(800,70);
     image_footer_off.src="images/footer_off.gif";  

     image2= new Image(800,70);
     image2.src="images/header_charbroil_on.gif";
     image3= new Image(800,70);
     image3.src="images/header_company_on.gif";  
     image4= new Image(800,70);
     image4.src="images/header_contact_on.gif";   
     image5= new Image(800,70);
     image5.src="images/header_retailer_on.gif"; 
	 
	 image6= new Image(800,70);
     image6.src="images/footer_privacy_on.gif";
     image7= new Image(800,70);
     image7.src="images/footer_retailer_on.gif";  
     image8= new Image(800,70);
     image8.src="images/footer_security_on.gif";    
   }

function change1(picName,imgName)
 {
   if (document.images)
    {
      imgOn=eval(imgName + ".src");
      document[picName].src= imgOn;
    }
 }
 
function menuButtonPrototype( imgOver, imgNormal ) {
	this.Over = new Image;
	this.Over.src = imgOver;
	this.Normal = new Image;
	this.Normal.src = imgNormal;
}

function menuRollImg( thisImage, thisState ) {
	
	if( document.images ) {
		document.images[ thisImage ].src = eval( 'menuNavButtons[ \'' + thisImage + '\' ].' + thisState + '.src' );
		menuNavActiveImg  = thisImage;
	}
}

function displayProductInfo( thisProduct, thisState ) {
	
	productInfoStr = thisProduct.split("_")
	
	if( document.images ) {
		document.images[ 'prodInfo_body' ].src = eval( 'products[\'info\'][ \'' + productInfoStr[1] + '\' ].' + thisState + '.src' );
	}
}

function subMenuRollImg( thisImage, thisState ) {
	
	thisImageInfo = thisImage.split("_")
	
	if( document.images ) {
		document.images[ thisImageInfo[0] ].src = eval( 'menuNavButtons[\'' + thisImageInfo[0] + '\'][ \'' + thisImageInfo[1] + '\' ].' + thisState + '.src' );
		menuNavActiveImg  = thisImageInfo[0];
	}
}

var menuNavButtons = new Array();

menuNavButtons[ 'navProdInfo' ] = new menuButtonPrototype( 'images/nav_profInfo_on.gif', 'images/nav_profInfo_off.gif' );
menuNavButtons[ 'navSupport' ] = new menuButtonPrototype( 'images/nav_support_on.gif', 'images/nav_support_off.gif' );
menuNavButtons[ 'navFindARetailer' ] = new menuButtonPrototype( 'images/nav_findARetailer_on.gif', 'images/nav_findARetailer_off.gif' );
menuNavButtons[ 'callOutFindARetailer' ] = new menuButtonPrototype( 'images/callOut_findARetailer_on.gif', 'images/callOut_findARetailer_off.gif' );


menuNavButtons['right'] = new Array();
menuNavButtons[ 'right' ]['charbroil'] = new menuButtonPrototype( 'images/charbroil_on.gif', 'images/rightNav_off.gif' );
menuNavButtons[ 'right' ]['companyInfo'] = new menuButtonPrototype( 'images/companyInfo_on.gif', 'images/rightNav_off.gif' );
menuNavButtons[ 'right' ]['contactUs'] = new menuButtonPrototype( 'images/contactUs_on.gif', 'images/rightNav_off.gif' );




menuNavButtons['footer'] = new Array();
menuNavButtons[ 'footer' ]['privacyPolicy'] = new menuButtonPrototype( 'images/footer_retailer_privacy_on.gif', 'images/footer_retailer_off.gif' );
menuNavButtons[ 'footer' ]['securityInfo'] = new menuButtonPrototype( 'images/footer_retailer_security_on.gif', 'images/footer_retailer_off.gif' );


var products = new Array();
products['info'] = new Array();

products['info'][ 'versatility' ] = new menuButtonPrototype( 'images/rightCallOut_versatility.gif', 'images/prodInfo_body.gif' );	
products['info'][ 'stableLegs' ] = new menuButtonPrototype( 'images/rightCallOut_stableLegs.gif', 'images/prodInfo_body.gif' );
products['info'][ 'easyClean' ] = new menuButtonPrototype( 'images/rightCallOut_easyCleanUp.gif', 'images/prodInfo_body.gif' );
products['info'][ 'ignitor' ] = new menuButtonPrototype( 'images/rightCallOut_ignitor.gif', 'images/prodInfo_body.gif' );
products['info'][ 'flavor' ] = new menuButtonPrototype( 'images/rightCallOut_flavor.gif', 'images/prodInfo_body.gif' );
products['info'][ 'storage' ] = new menuButtonPrototype( 'images/rightCallOut_storage.gif', 'images/prodInfo_body.gif' );
products['info'][ 'foldingShelves' ] = new menuButtonPrototype( 'images/rightCallOut_foldingShelves.gif', 'images/prodInfo_body.gif' );
products['info'][ 'LEDLight' ] = new menuButtonPrototype( 'images/rightCallOut_LEDLight.gif', 'images/prodInfo_body.gif' );
products['info'][ 'durability' ] = new menuButtonPrototype( 'images/rightCallOut_durability.gif', 'images/prodInfo_body.gif' );


var slideArray = Array( 'slidea','slideb','slidec','slided','slidee','slidef','slideg' );

function displayImg( thisSlide ){		
	
	for (var i = 0; i < slideArray.length; i++) {
		document.getElementById( slideArray[i] ).style.zIndex='-1';
	}	
	
	document.getElementById( thisSlide ).style.zIndex='8';

}

function displayFeatures(){			
	document.getElementById( 'productHighlights' ).style.zIndex='9';
	document.getElementById( 'productHighlights' ).style.display='block';
	document.getElementById( 'galleryView' ).src='images/viewGallery_off.gif';
	document.getElementById( 'featuresView' ).src='images/viewFeatures_on.gif';
	document.getElementById( 'featuresView' ).onmouseover='';
	document.getElementById( 'featuresView' ).onmouseout='';
	
	// onmouseover="document.getElementById( 'galleryView' ).src='images/viewGallery_on.gif';" onmouseout="document.getElementById( 'galleryView' ).src='images/viewGallery_off.gif';"
	// onmouseover="document.getElementById( 'featuresView' ).src='images/viewFeatures_on.gif';" onmouseout="document.getElementById( 'featuresView' ).src='images/viewFeatures_off.gif';"
}

function hideFeatures(){			
	document.getElementById( 'productHighlights' ).style.zIndex='-2';
	document.getElementById( 'productHighlights' ).style.display='none';
	document.getElementById( 'galleryView' ).src='images/viewGallery_on.gif';
	document.getElementById( 'featuresView' ).src='images/viewFeatures_off.gif';
	document.getElementById( 'galleryView' ).onmouseover='';
	document.getElementById( 'galleryView' ).onmouseout='';
}

//-->