
﻿var aCrossSells=new Array()
var LastCS=2
var increment=3
function objCrossSell(imageURL,title,navURL){this.imageURL=imageURL;this.title=title;this.navURL=navURL;this.place=CS_Place;}
function CS_Place(index){document.getElementById('cs'+index+'_url1').href=this.navURL;document.getElementById('cs'+index+'_url2').href=this.navURL;document.getElementById('cs'+index+'_img').src=this.imageURL;document.getElementById('cs'+index+'_title').innerHTML=this.title;}
function CS_Advance(){for(var i=1;i<=increment;++i){if(LastCS+1>=aCrossSells.length){LastCS=-1};aCrossSells[LastCS+1].place(i)
LastCS=LastCS+1;}}
function menuHover(img,hover){}
function wishList_MouseOver(img){img.src='/images/widerLayout/buttons/wishList_over.png'}
function wishList_MouseOut(img){img.src='/images/widerLayout/buttons/wishList.png'}
function addCart_MouseOver(img){img.src='/images/widerLayout/buttons/addCart_over.png'}
function addCart_MouseOut(img){img.src='/images/widerLayout/buttons/addCart.png'}
function swapImage(img,url){img.src=url}
function samplesPopup(pid,stid,lid){var URL='/products/samples.aspx?'
if(pid){URL=URL+'pid='+pid}
if(stid){URL=URL+'&stid='+stid}
if(lid){URL=URL+'&lid='+lid}
window.open(URL,'samples','width=620,height=737');}
function lookInsidePopup(path,lid,stid){path=path+'?'
if(lid){path=path+'lid='+lid}
if(stid){path=path+'&stid='+stid}
window.open(path,'lookInside','width=750,height=690');}
