if (document.images) {

var HomeC = new Image(88,45);
HomeC.src = "graphics/00000001/HeaderBarHome.jpg";

var HomeC_2 = new Image(88,45);
HomeC_2.src = "graphics/00000001/HeaderBarHome2.jpg";

var AboutUsC = new Image(113,45);
AboutUsC.src = "graphics/00000001/HeaderBarAboutUs.jpg";

var AboutUsC_2 = new Image(113,45);
AboutUsC_2.src = "graphics/00000001/HeaderBarAboutUs2.jpg";

var RatesC = new Image(113,45);
RatesC.src = "graphics/00000001/HeaderBarRates.jpg";

var RatesC_2 = new Image(113,45);
RatesC_2.src = "graphics/00000001/HeaderBarRates2.jpg";

var AffiliateProgramC = new Image(174,45);
AffiliateProgramC.src = "graphics/00000001/HeaderBarAffiliateProgram.jpg";

var AffiliateProgramC_2 = new Image(174,45);
AffiliateProgramC_2.src = "graphics/00000001/HeaderBarAffiliateProgram2.jpg";

var blogC = new Image(85,45);
blogC.src = "graphics/00000001/HeaderBarBlog.jpg";

var blogC_2 = new Image(85,45);
blogC_2.src = "graphics/00000001/HeaderBarBlog2.jpg";

var ContactUsC = new Image(127,45);
ContactUsC.src = "graphics/00000001/HeaderBarContactUs.jpg";

var ContactUsC_2 = new Image(127,45);
ContactUsC_2.src = "graphics/00000001/HeaderBarContactUs2.jpg";

var CheckoutC = new Image(117,45);
CheckoutC.src = "graphics/00000001/HeaderBarCheckout.jpg";

var CheckoutC_2 = new Image(117,45);
CheckoutC_2.src = "graphics/00000001/HeaderBarCheckout2.jpg";
}

function doSwap(id,name){
  if (document.images) document.images[id].src=eval(name+".src");
}

function addbookmark()
{
bookmarkurl = location.href
bookmarktitle= document.title
if (document.all)
window.external.AddFavorite(bookmarkurl, bookmarktitle)
}

function SymError() { 
   return true; 
} 
window.onerror = SymError; 

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function switchimage(newimage) {
	document.getElementById('mainimage').src = newimage;
}

function showTab(theTab) {
	if (theTab != 'Features') {
		document.getElementById('Features').style.display = 'none';
		document.getElementById('prodtabFeatures').src = 'graphics/00000001/ProdTabFeatures.gif';
	}
	if (theTab != 'Pattern') {
		document.getElementById('Pattern').style.display = 'none';
		document.getElementById('prodtabPattern').src = 'graphics/00000001/ProdTabPattern.gif';
	}
	if (theTab != 'Product') {
		document.getElementById('Product').style.display = 'none';
		document.getElementById('prodtabProduct').src = 'graphics/00000001/ProdTabProduct.gif';
	}
	if (theTab != 'Warranty') {
		document.getElementById('Warranty').style.display = 'none';
		document.getElementById('prodtabWarranty').src = 'graphics/00000001/ProdTabWarranty.gif';
	}
	document.getElementById(theTab).style.display = 'block';
	document.getElementById('prodtab'+theTab).src = 'graphics/00000001/ProdTab' + theTab + '_On.gif';
}

startList = function() {
if (document.all&&document.getElementById) {
navRoot = document.getElementById("ienav");
for (i=0; i<navRoot.childNodes.length; i++) {
node = navRoot.childNodes[i];
if (node.nodeName=="LI") {
node.onmouseover=function() {
this.className+=" over";
  }
  node.onmouseout=function() {
  this.className=this.className.replace(" over", "");
   }
   }
  }
 }
if (document.all&&document.getElementById) {
navRoot = document.getElementById("iesubnav");
for (i=0; i<navRoot.childNodes.length; i++) {
node = navRoot.childNodes[i];
if (node.nodeName=="LI") {
node.onmouseover=function() {
this.className+=" over";
  }
  node.onmouseout=function() {
  this.className=this.className.replace(" over", "");
   }
   }
  }
 }
}
window.onload=startList;
