var initialtab=[1,"sc1"]var turntosingle=0 var disabletablinks=0 var previoustab=""if(turntosingle==1)document.write('<style type="text/css">\n#tabcontentcontainer{display: none;}\n</style>')function expandcontent(a,b){if(disabletablinks==1)b.onclick=new Function("return false")if(document.getElementById&&turntosingle==0){highlighttab(b)if(previoustab!="")document.getElementById(previoustab).style.display="none"document.getElementById(a).style.display="block"previoustab=a}}function highlighttab(a){if(typeof tabobjlinks=="undefined")collectddimagetabs()for(i=0;i<tabobjlinks.length;i++)tabobjlinks[i].className=""if(a!=null){a.className="current"}}function collectddimagetabs(){var a=document.getElementById("slidetabsmenu")tabobjlinks=a.getElementsByTagName("a")}function do_onload(){if(document.getElementById("slidetabsmenu")!=null){collectddimagetabs()expandcontent(initialtab[1],tabobjlinks[initialtab[0]-1])}}function do_tabmagic(){var a=document.getElementById('productAttributes_tab')if(a!=undefined){var b=a.getElementsByTagName("input")}if(b!=undefined){for(var n=0;n<b.length;n++){if(b[n].getAttribute('checked')=="checked"){b[n].checked=true}}}var c=document.getElementById('tabcontentcontainer')if(c!=undefined){var d=c.getElementsByTagName("*")}var e=document.getElementById('productDetailsList');var f=document.getElementById('productDetailsList_tab');if(d!=undefined){var g=new Array();var h=new Array();g[0]=document.getElementById('cartAdd');g[1]=document.getElementById('productDetailsList');g[2]=document.getElementById('productAttributes');g[3]=document.getElementById('productQuantityDiscounts');g[4]=document.getElementById('productAdditionalImages');g[5]=document.getElementById('alsoPurchased');g[6]=document.getElementById('crossSell');g[7]=document.getElementById('reviewsDefault');g[8]=document.getElementById('productDescription');g[9]=document.getElementById('attribsOptionsText');g[10]=document.getElementById('productMainImage');g[11]=document.getElementById('productName');g[12]=document.getElementById('productPrices');g[13]=document.getElementById('freeShippingIcon');h[0]=document.getElementById('cartAdd_tab');h[1]=document.getElementById('productDetailsList_tab');h[2]=document.getElementById('productAttributes_tab');h[3]=document.getElementById('productQuantityDiscounts_tab');h[4]=document.getElementById('productAdditionalImages_tab');h[5]=document.getElementById('alsoPurchased_tab');h[6]=document.getElementById('crossSell_tab');h[7]=document.getElementById('reviewsDefault_tab');h[8]=document.getElementById('productDescription_tab');h[9]=document.getElementById('attribsOptionsText_tab');h[10]=document.getElementById('productMainImage_tab');h[11]=document.getElementById('productName_tab');h[12]=document.getElementById('productPrices_tab');h[13]=document.getElementById('freeShippingIcon_tab');for(var j=0;j<g.length;j++){if(g[j]!=undefined){for(var i=0;i<d.length;i++){sTmp=d[i].id.split("_");if(g[j].id==sTmp[0]){g[j].style.display="none";g[j].innerHTML='';g[j].outerHTML='';break}}}}if(g[8]!=undefined){g[8].style.display="none"}for(var j=0;j<h.length;j++){if(h[j]!=undefined){for(var i=0;i<d.length;i++){if(d[i].id==h[j].id){sTmp=h[j].id.split("_");h[j].id=sTmp[0];break}}}}}}function ShowTabs(){var a=document.getElementById('tpptabBlock')if(a!=undefined){a.style.display='block'}}if(window.addEventListener)window.addEventListener("load",do_onload,false)else if(window.attachEvent)window.attachEvent("onload",do_onload)else if(document.getElementById)window.onload=do_onload
