var jkUt;if(!jkUt)throw new Error("jkUt has not been loaded!");var joeEndeca;if(!joeEndeca)joeEndeca={};else if(typeof joeEndeca!="object")throw new Error("joeEndeca already exists and is not an object");jkPo.popObj2=new jkPo.popup();joeEndeca.QuickLookAutoClose=0;joeEndeca.findImgs=function(){var l,v=[];l=jkUt.tn('img');for(var i=0;i<l.length;i++){if(l[i].className=='endecaImgRolloverJS'){v.push(l[i]);}}for(var i=0;i<v.length;i++){v[i].onmouseover=joeEndeca.quickLookOver;}};joeEndeca.quickLookOver=function(){joeEndeca.F=this.parentNode;jkPo.popObj2.globalConfig.loader.start=joeEndeca.loader;jkPo.popObj2.globalConfig.loader.end=joeEndeca.loaderEnd;var k,d,G,m,r,endecaQuickLookBGTrans;joeEndeca.f=this;k=jkUt.pos.get(this);m=jkUt.pos.getCenter(this);d=jkUt.id('endecaQuickLookBG');G=jkUt.pos.get(d);r=jkUt.id('endecaQuickLookButton');d.onmouseover=joeEndeca.quickLookButtonOver;d.onmouseout=joeEndeca.quickLookOut;d.style.width='138px';d.style.height=(k.height-4)+'px';d.style.top=Math.round(m.top-((k.height)/2))+'px';d.style.left=Math.round(m.left-((parseInt(d.style.width)+5)/2))+'px';endecaQuickLookBGTrans=jkUt.id('endecaQuickLookBGTrans');var o=function(){window.location=joeEndeca.F;};endecaQuickLookBGTrans.onclick=o;endecaQuickLookBGTrans.style.cursor='pointer';endecaQuickLookBGTrans.style.height=(k.height-4)+'px';endecaQuickLookBGTrans.style.width='138px';r.rel="'style':'quick_look', 'width':484, 'height':327, 'xtra':{'sku':'"+this.useMap.split("^",2)[1]+"'}";r.onclick=function(){jkPo.popObj2._loadPopup(this);};d.style.visibility='visible';};joeEndeca.quickLookOut=function(){var o=function(){jkUt.id('endecaQuickLookBG').style.visibility='hidden';};joeEndeca.QuickLookAutoClose=setInterval(o,500);};joeEndeca.quickLookButtonOver=function(){clearInterval(joeEndeca.QuickLookAutoClose);};joeEndeca.loader=function(obj){jkUt.id('endecaQuickLookBG').style.visibility='hidden';var f=jkUt.pos.get(joeEndeca.f);var D=jkUt.pos.getCenter(joeEndeca.f);var g='joePopup_defaultLoader';var j='joePopup_defaultLoaderDiv';var t={'location':'/js/joe/lib/module/popup/images/default_loading.gif','width':16,'height':16};jkUt.bro.browserDetect.init();var A=(jkUt.bro.browserDetect.browser=='Explorer')?(-2):(2);var dl=jkUt.id(g);var c=jkUt.id(j);if(!dl|| !c){var C=window.document.getElementsByTagName('body');}if(!dl){var H=jkUt.mHE('img',{id:g});C[0].appendChild(H);dl=jkUt.id(g);dl.className='joePopup_defaultLoaderImg';}dl.style.top=Math.floor((D.top-(t.height/2))+A)+'px';dl.style.left=Math.floor((D.left-(t.width/2))+A)+'px';dl.src=t.location;dl.style.display='block';if(!c){var elementDiv=jkUt.mHE('div',{id:j});C[0].appendChild(elementDiv);c=jkUt.id(j);c.className='joePopup_defaultLoaderDiv';}c.style.width=f.width+'px';c.style.height=f.height+'px';c.style.top=f.top+0+'px';c.style.left=f.left+0+'px';c.style.display='block';if(jkUt.bro.browserDetect.browser=='Explorer'){if(jkUt.bro.browserDetect.version==6){setTimeout(function(){var img=jkUt.id(g);img.src=img.src;},50);}}};joeEndeca.loaderEnd=function(obj){joeEndeca.f.onmouseover=function(){};var g='joePopup_defaultLoader';var j='joePopup_defaultLoaderDiv';var dl=jkUt.id(g);var c=jkUt.id(j);dl.style.display='none';c.style.display='none';var B=function(){joeEndeca.f.onmouseover=joeEndeca.quickLookOver;};var B=setInterval(B,500);};jkUt.evt.add(window,"load",joeEndeca.findImgs);
