/*	Copyright © 1998-2003 LEITBILD and their Licensors. All Rights Reserved.	OPENSTORE P4.3.0.1, © 1999 - 2003 LEITBILD Media GmbH, www.openstore.de	CAREFULLY READ THE TERMS AND CONDITIONS OF THE LICENSE AGREEMENT PRIOR TO	USING OPENSTORE. USE OF ANY PORTION OF OPENSTORE INDICATES YOUR	AGREEMENT TO THE TERMS AND CONDITIONS OF THE LICENSE AGREEMENT.	The Software involves valuable proprietary rights of LEITBILD Media.	LEITBILD retains title to and ownership of the Software and all copyright.	You may not violate these rights, and you must take appropriate steps to	protect LEITBILD's rights.	Both the license and your right to use the Software terminate automatically	if you violate any part of this agreement.	DO NOT MODIFY, SELL, LEND, RENT, OR LEASE ANY PORTIONS OF THIS SOFTWARE	BEYOND THIS NOTICE.*/var bVer=parseInt(navigator.appVersion);var navversion=navigator.appName.charAt(0);var carttab="";var itmform="parent.basket.document.cartReview.";var imgleer="<img src=../images/leer.gif width=";var imgsleer="<img src=../images/leer_s.gif width=";var tdc="<td align=center ";var td11=tdc+"width=1 height=1>";var t100="<table border=0 cellpadding=0 cellspacing=0 width=100%>";var t000="<table cellpadding=0 cellspacing=0 border=0>";var tdbgrc=tdc+"bgcolor='"+cartTableColor+"' width=";var imgageleer="../images/leer.gif";var imgklleer="<img src=../images/leer.gif width=1 height=1>";var img20leer="<img src=../images/leer.gif width=20 height=1>";var hiddenfield="<INPUT TYPE='hidden' NAME=";var zoomval=0;var sPriceArray=new Array();var openArray=new Array();var pd=parent.data;var showhitmtable="";var thisisok=new Boolean(false);var doshowNotes=new Boolean(false);var thisgoitmval=0;var formkind="";var itemspp_0=1, itemspp_1=itemsperpage, itemspp_2=itemsperpage*2, itemspp_3=itemsperpage*3, itemspp_4=itemsperpage*4;var itmdo2cols=do2cols;var itmdoimg=1;var sgreintrag="<script language='JavaScript'>\n";var aswArray=new Array();var suchpopupoptions="";var searchgroupAll=optionalltext+"[";for(var i=1; i <= eintraege; i++){var ae=1;aswArray[i]=new Array();aswx=eval("auswahl"+i);aswxes=new Array();aswxes=aswx.split("=");for(var e=0; e<aswxes.length; e++){openArray[i]=new Array();aswArray[i][e]=new Array();aswArray[i][e][0]=new Array();}if(aswxes.length>1){aswArray[i][0][0][0]=aswxes[0];suchpopupoptions+="<option value='"+i+"'> - "+aswArray[i][0][0][0]+"</option>\n";thissgroup=aswArray[i][0][0][0]+"[";sgreintrag+="searchgroup"+i+"='"+aswArray[i][0][0][0]+"[";} else{ae=0;offset=aswxes[0].indexOf("[");suchpopupoptions+="<option value='"+i+"'> - "+aswxes[0].substring(0, offset)+"</option>\n";thissgroup=aswxes[0].substring(0, offset)+"[";sgreintrag+="searchgroup"+i+"='"+aswxes[0].substring(0, offset)+"[";}for(var e=ae; e<aswxes.length; e++){offset=aswxes[e].indexOf("[");aswArray[i][e][0][0]=aswxes[e].substring(0, offset);thisIsSelxe=aswxes[e].substring(offset+1, aswxes[e].length);offset=0;for(var k=1; thisIsSelxe.indexOf("]")!=-1; k++){if(k>0) aswArray[i][e][k]=new Array();offset=thisIsSelxe.indexOf("]");aswvalundtext=thisIsSelxe.substring(0, offset);thisIsSelxe=thisIsSelxe.substring(offset+1, thisIsSelxe.length);offset2=aswvalundtext.indexOf("|");aswArray[i][e][k][1]=aswvalundtext.substring(0, offset2);aswArray[i][e][k][2]=aswvalundtext.substring(offset2+1, aswvalundtext.length);searchgroupAll+=aswArray[i][e][k][1]+",";sgreintrag+=aswArray[i][e][k][1]+",";}}sgreintrag+="'\n";}sgreintrag+="<\/script>";function redata(){parent.main.location.href="../etc/mload.htm";parent.data.location.href=parent.data.location.href;}function goout(oknew){if(oknew=='ok') gooutPage="myid.htm";else if(oknew=='new') gooutPage="newid.htm";var pmb=parent.main.document.buyform;outURL=sFormAction;outURL+="?command=start";outURL+="&BuyPage="+escape(gooutPage);outURL+="&home="+escape(parent.location.href);outURL+="&ShopDir="+escape(ShopDir);outURL+="&FormKind="+escape(formkind);outURL+="&BuyItems="+escape(emcart());outURL+="&grandTotal="+escape(pmb.grandTotal.value);outURL+="&thisRabatt="+escape(pmb.thisRabatt.value);outURL+="&thisExtra="+escape(pmb.thisExtra.value);outURL+="&MWSteuer1="+escape(pmb.Tax1.value);outURL+="&MWSteuer2="+escape(pmb.Tax2.value);if(showCartEuro==1) outURL+="&totalEURO="+escape(pmb.totalEURO.value);outURL+="&totalplusdelivery="+escape(pmb.totalplusdelivery.value);outURL+="&MWSteuertotal="+escape(pmb.Tax.value);outURL+="&availalltxt="+escape(pmb.availalltxt.value);outURL+="&delivery="+escape(pmb.delivery.value);if(pmb.ModeOfPayment) outURL+="&ModeOfPayment="+escape(pmb.ModeOfPayment.options[pmb.ModeOfPayment.selectedIndex].value);if(pmb.ModeOfSend) outURL+="&ModeOfSend="+escape(pmb.ModeOfSend.options[pmb.ModeOfSend.selectedIndex].value);if(dopoporder==1) desktop=open(outURL ,"New","toolbar=no,location=no,status=yes,menubar=no,scrollbars=yes,width=490,height=500,resizable=yes");else parent.main.location.href=outURL;}function emcart(){var emCart="";cartArray=cartToArray();for(var i=0; i<cartArray.length-1; i++){var cartitm=new Array();cartitm=cartArray[i].split("|");for(var j=0; j<cartitm.length-1; j++){if(j==2||j==10||j==12||j==13) emCart+=cartitm[j]+"|";else if(j==3) emCart+=sPriceArray[i]+"|";else if(j==14) emCart+=cartitm[j]+"|]";}}return emCart;}var psufix="";if(extmail==1) psufix="_em";function gooffer(){if(document.cart.cartData.value!=''){formkind="offer", subjectkind=subject_offer, sreply_header=reply_header_offer, sreply_footer=reply_footer_offer;outPage="../cart/offer"+psufix+".htm";parent.main.location.href=outPage;} else{ alert(txtemptycart) }}function gobuy(){if(document.cart.cartData.value!=''){formkind="order", subjectkind=subject, sreply_header=reply_header, sreply_footer=reply_footer;outPage="../cart/order"+psufix+".htm";parent.main.location.href=outPage;}else{alert(txtemptycart);}}function format (expr, decplaces){var str=""+Math.round (eval(expr) * Math.pow(10,decplaces));while (str.length <= decplaces){str="0"+str;}var decpoint=str.length - decplaces;return str.substring(0,decpoint)+"."+str.substring(decpoint,str.length);}function recart(ni, snewquant){var newCart="";cartArray=cartToArray();for(var i=0; i<cartArray.length-1; i++){if(ni==i){var ditm=new Array();ditm=cartArray[i].split("|");for(var j=0; j<ditm.length-2; j++){if(snewquant!=0) newCart+=ditm[j]+"|";}if(snewquant!=0) newCart+=snewquant+"|]";} else{newCart+=cartArray[i]+"]";}}document.cart.cartData.value=newCart;showCart2();}function quantneu(i,plusquant){if(plusquant==0){if(confirm(txterasealert)) recart(i,plusquant);} else{ recart(i,plusquant);}}function noteItem(si){thisitm=ArtikelArray[(si-1)];itemisda=checkNotes(thisitm);if(itemisda==0){document.cart.notesData.value+=thisitm+"]";if(doitmrefresh==1) parent.main.location="aload.htm";else parent.main.location.href=parent.main.location.href;showCartstart();}else if(itemisda==1) showNotes();}function checkNotes(citem){notesArray=notesToArray();for(var i=0; i<notesArray.length-1; i++){if(notesArray[i].indexOf(citem)>-1){return 1;}}return 0;}function deleteNote(ni){notesArray=notesToArray();newnotes="";for(var i=0; i<notesArray.length-1; i++){if((i+1)!=ni){newnotes+=notesArray[i]+"]"}}document.cart.notesData.value=newnotes;showCartstart();showNotes();}function buyItem(si){var newscart="";thisitm=ArtikelArray[(si-1)];var sitm=new Array();sitm=thisitm.split("|");avail=sitm[8];mform="parent.main.document.itemsform.item";quant=eval(mform+si+"quant.value");size=eval(mform+si+"size.value");plus=eval(mform+si+"plus.value");sizev=avail.charAt(avail.length - 2);if(quant <= 0||quant.indexOf('.')>-1||isNaN(quant)){alert("Bad Quantity!");}else if(plus==0&&avail >= 100){var pluspop=eval("parent.main.document.itemsform.itemplus"+si+".options[0].text");confirm(PopAlertTxt+pluspop.replace(/:/,""));}else if(size==0&&avail >= 10&&sizev>0){var sizepop=eval("parent.main.document.itemsform.itemspecial"+si+".options[0].text");confirm(PopAlertTxt+sizepop.replace(/:/,""));}else{cartArray=cartToArray();var isda=0;for(var i=0; i<cartArray.length-1; i++){if(cartArray[i].indexOf(thisitm+size+"|"+plus)>-1){var ditm=new Array();ditm=cartArray[i].split("|");newscart+=thisitm+size+"|"+plus+"|"+(parseInt(ditm[14])+parseInt(quant))+"|]";isda=1;} else{newscart+=cartArray[i]+"]";}}if(isda==0) newscart+=thisitm+size+"|"+plus+"|"+quant+"|]";document.cart.cartData.value=newscart; showCart(); }}function clearCart(){pmloc=parent.main.location.href;if(document.cart.cartData.value==""){}else if(dotxtemptycartalert==1&&confirm(txtemptycartalert)){zoomval=0;document.cart.cartData.value=""; showCart();if(pmloc.indexOf('cart/offer')>-1||pmloc.indexOf('cart/order')>-1) parent.main.location.href=pmloc;}else if(dotxtemptycartalert==0){zoomval=0;document.cart.cartData.value=""; showCart();if(pmloc.indexOf('cart/offer')>-1||pmloc.indexOf('cart/order')>-1) parent.main.location.href=pmloc;}}function itmSplit(input){var itmArray=new Array();itmArray=input.split("|");return itmArray;}function zoomin(wert){zoomval=1;if(wert==0) showCart();if(wert==1) showCart2();}function zoomout(wert){zoomval=0;if(wert==0) showCart();if(wert==1) showCart2();}function getitmimg(wert, artnummer, gruppe){var itemimg="<img src=../images/ishigh.gif border=0>", imagekind="gif", imaglink=artnummer;if(wert.substring(1, 2)==1) imagekind="jpg"; wert=wert.substring(0, 1);if(wert==2||wert==4||wert==6) imaglink=gruppe;if(wert>0&&wert<7&&showCartItemImg==1) itemimg="<img src='../itmimg/"+imaglink+"."+imagekind+"' xxx border=0>";return itemimg;}function makeTable(cartArray, notes, change, isasw, thisIsSelxe){if(cartFontSize<8) cartFontSize=9;var ifont="<font color='"+itemFontColor+"'>";var itm, extension, makeTotal=0, itmCount=0;halfwidth=parseInt(cartTableWidth/3);itemspace=cartTableWidth - 87;itm2space=cartTableWidth - 97;staffelfont="<font face=arial,helvetica,geneva color="+staffelColor+">";var tab="";tab+="<CENTER>\n";tab+="<style type='text/css'>\n";tab+="a:link { color:"+cartFontColor+"; text-decoration:none;}\n";tab+="a:active { color:"+cartFontColor+"; text-decoration:none;}\n";tab+="a:visited { color:"+cartFontColor+"; text-decoration:none;}\n";tab+="a:hover { color:"+cartFontColor2+"; text-decoration:none;}\n";tab+="TD { color:"+cartFontColor+"; font-size: "+cartFontSize+"px; font-family: "+cartFont+";}\n";tab+="</style>\n";scarttab=tab+carttemp;scarttab=scarttab.replace(/silver/g, cartTableColor);scarttab=scarttab.replace(/<halfcartspacer>/g, imgleer+halfwidth+" height=1>");scarttab=scarttab.replace(/<imgmitteleer>/g, imgleer+"2 height=1>");scarttab=scarttab.replace(/<imgleer>/g, imgleer+"1 height=1>");ctc=cartTableColor;ctc_h=cartTableColor_h;ctc_d=cartTableColor_d;ctc2=cartTableColor2;ctc2_h=cartTableColor2_h;ctc2_d=cartTableColor2_d;cic=cartItemColor2;if(Cart3D==0) ctc_d=cartTableColor, ctc_h=cartTableColor, ctc2_d=cartTableColor2, ctc2_h=cartTableColor2;if(CartWired==1) cartItemColor2=cartTableColor, ctc_h=cartTableColor_d, ctc_d=cartTableColor_d, ctc2=cartTableColor, ctc2_d=cartTableColor_d, ctc2_h=cartTableColor_d;if(isasw){scarttab=scarttab.replace(/lightgreen|middlegray|greenul|leftgray/g, ctc_h);scarttab=scarttab.replace(/greenur|darkgreen/g, ctc_d);scarttab=scarttab.replace(/greenu_|rightgray/g, ctc);scarttab=scarttab.replace(/ bgcolor=redul | bgcolor=redu_ | bgcolor=redur /g, " ");scarttab=scarttab.replace(/=gray /g, "="+ctc_h+" ");scarttab=scarttab.replace(/khaki/g, ctc2_h);scarttab=scarttab.replace(/brown/g, ctc2_d);scarttab=scarttab.replace(/red/g, ctc2);scarttab=scarttab.replace(/green/g, ctc);scarttab=scarttab.replace(/\$selecttxt/g, bselecttxt);cartlink="<a href=\"Javascript\:parent.data.showCart()\" title='"+bcarttxt+"'>"+bcarttxt+"</a>";scarttab=scarttab.replace(/\$carttxt/g, cartlink);} else{scarttab=scarttab.replace(/khaki|rightgray|redul|middlegray/g, ctc_h);scarttab=scarttab.replace(/brown|redur/g, ctc_d);scarttab=scarttab.replace(/rightgray|redu_|red|leftgray/g, ctc);scarttab=scarttab.replace(/ bgcolor=greenul | bgcolor=greenu_ | bgcolor=greenur /g, " ");scarttab=scarttab.replace(/=gray /g, "="+ctc_h+" ");scarttab=scarttab.replace(/lightgreen/g, ctc2_h);scarttab=scarttab.replace(/darkgreen/g, ctc2_d);scarttab=scarttab.replace(/green/g, ctc2);scarttab=scarttab.replace(/\$carttxt/g, bcarttxt);aswlink="<a href=\"Javascript\:parent.data.showCartstart()\" title='"+bselecttxt+"'>"+bselecttxt+"</a>";scarttab=scarttab.replace(/\$selecttxt/g, aswlink);}scarttab=scarttab.replace(/black/g, ctc_d);cspacing=1;if(isasw) cspacing=0;aswtab="<TABLE border=0 CELLPADDING=2 CELLSPACING="+cspacing+" WIDTH="+(cartTableWidth+6)+">";if(isasw){aswtab+="<tr><TD width=3>"+imgleer+"1 height=1></TD><TD width=5>"+imgleer+"5 height=1></TD><TD width=5>"+imgleer+"5 height=1></TD><TD width=5>"+imgleer+"5 height=1></TD><TD width=10>"+imgleer+"3 height=1></TD><TD width=99%>"+imgleer+"130 height=1></TD></TR>";var notesArray=notesToArray();var nle=notesArray.length-1;if(nle<0) nle=0;aswtab+="<tr><TD>"+imgleer+"1 height=1></TD><TD colspan=5>"+selecttitle+"</TD></TR>";if(doNotesSel==1) aswtab+="<tr bgcolor="+cartItemColor2+"><TD align=right colspan=3><a href=\"Javascript\:parent.data.showNotes()\" title='"+notestitle+"'><img src=../images/notes.gif border=0></a></TD><TD colspan=3><a href=\"Javascript\:parent.data.showNotes()\" title='"+notestitle+"'>"+notestitle+" ["+nle+"]</a></TD></TR>";for(var i=1; i <= eintraege; i++){aswx=eval("auswahl"+i);aswxes=new Array();aswxes=aswx.split("=");if(aswxes.length>1){aswArray[i][0][0][0]=aswxes[0];aswcolor=cartItemColor2;if(openArray[i][0]==1) aswcolor=cartTableColor;aswtab+="<tr bgcolor="+aswcolor+"><TD colspan=2>"+imgleer+"1 height=1></TD>";if(openArray[i][0]==1) aswtab+="<TD><a href=\"Javascript\:parent.data.showCartsel("+i+", 0)\" title='close'><img src=../images/minusit.gif border=0 width=12 height=12></a></TD>";if(openArray[i][0]==1) aswtab+="<TD colspan=4><a href=\"Javascript\:parent.data.showCartsel("+i+", 0)\" title='close'>"+aswArray[i][0][0][0]+"</a></TD>";if(openArray[i][0]!=1) aswtab+="<TD><a href=\"Javascript\:parent.data.showCartsel("+i+", 1)\" title='open'><img src=../images/plusit.gif border=0 width=12 height=12></a></TD>";if(openArray[i][0]!=1) aswtab+="<TD colspan=4><a href=\"Javascript\:parent.data.showCartsel("+i+", 1)\" title='open'>"+aswArray[i][0][0][0]+"</a></TD>";aswtab+="</TR>";}if(openArray[i][0]==1||aswxes.length==1){var cs=0, ae=1, tableer="<TD>"+imgleer+"1 height=1></TD>", cools="";if(aswxes.length==1) cs=1, ae=0, tableer="", cools=" colspan=2";for(var e=ae; e<aswxes.length; e++){aswtab+="<tr><TD>"+imgleer+"1 height=1></TD><TD>"+imgleer+"1 height=1></TD>"+tableer;if(openArray[i][e]==1) aswtab+="<TD><a href=\"Javascript\:parent.data.showCartsel("+i+", "+e+", 0)\" title='close'><img src=../images/minusit.gif border=0 width=12 height=12></a></TD>";else aswtab+="<TD><a href=\"Javascript\:parent.data.showCartsel("+i+", "+e+", 1)\" title='open'><img src=../images/plusit.gif border=0 width=12 height=12></a></TD>";aswtab+="<TD colspan="+(2+cs)+">";if(openArray[i][e]!=1) aswtab+="<a href=\"Javascript\:parent.data.showCartsel("+i+", "+e+", 1)\" title='"+aswArray[i][e][0][0]+"'>";else aswtab+="<a href=\"Javascript\:parent.data.showCartsel("+i+", "+e+", 0)\" title='close'>";aswtab+=aswArray[i][e][0][0]+"</a></TD>";aswtab+="</TR>";if(openArray[i][e]==1){for(var k=1; k<aswArray[i][e].length; k++){aswtab+="<tr>"+tableer+"<TD colspan=3>"+imgleer+"1 height=1></TD><TD><img src=../images/ppfeil_.gif width=12 height=12></TD>";aswtab+="<TD"+cools+"><a href=\"Javascript\:parent.data.hselect('"+aswArray[i][e][k][1]+"')\" title='"+toitmgrouptxt+aswArray[i][e][k][2]+"'>"+aswArray[i][e][k][2]+"</a></TD></TR>";}}}}}if(openArray[eintraege][0]==1) aswtab+="<tr bgcolor="+cartItemColor2+"><TD colspan=6>"+imgleer+"1 height=1></TD></TR>";aswtab+="<tr><TD>"+imgleer+"1 height=1></TD><TD colspan=5>"+imgleer+"1 height=5></TD></TR>";aswtab+="<tr><TD>"+imgleer+"1 height=1></TD><TD colspan=5>"+pagetitle+"</TD></TR>";for(var i=1; i <= seiteneintraege; i++){target="main";aswseitenx=eval("auswahlseiten"+i);offset=aswseitenx.indexOf("[");aswpagetxt=aswseitenx.substring(0, offset);aswpagelink=aswseitenx.substring(offset+1, aswseitenx.length);if(aswpagelink.indexOf(",")!=-1){offsettarget=aswpagelink.indexOf(",");target=aswpagelink.substring(offsettarget+1, aswpagelink.length);aswpagelink=aswpagelink.substring(0, offsettarget);}aswtab+="<tr><TD>"+imgleer+"1 height=1></TD><TD>"+imgleer+"5 height=1></TD><TD><img src=../images/ppfeil_.gif width=12 height=12></TD>";aswtab+="<TD colspan=3>";aswtab+="<a href=\""+aswpagelink+"\" target='"+target+"' title='"+aswpagetxt+"'>"+aswpagetxt+"</a></TD></TR>";}aswtab+="<tr><TD>"+imgleer+"1 height=15></TD><td align=right bgcolor='"+cartTableColor+"' colspan=5>"+troptxt+"&nbsp;<\/font><\/td><\/tr>";aswtab+="</table>";} else{aswtab+="<tr><TD>"+imgleer+itemspace+" HEIGHT=1></TD><TD>"+imgleer+"12 HEIGHT=1></TD><TD>"+imgleer+cartPriceWidth+" HEIGHT=1></TD></tr>";aswtab+="<TR><td>"+itemNaming+"</font></td><td align=center>"+qtyNaming+"</td><td align=right>";if(change) aswtab+=bchangetxt;else aswtab+=priceNaming;aswtab+="</font></td></TR>\n";for(var i=0; i<cartArray.length-1; i++){itm=itmSplit(cartArray[i]);sdeliv=itm[7];if(sdeliv!=1) sdeliv!=0;sPrice=itm[3], pricevaltxt='';if(itm[14] >= stafel2&&dostafel2==1&&itm[4]!='') sPrice=itm[4], pricevaltxt=staffelfont+'<BR>'+staffel2txt+'</font>';if(itm[14] >= stafel3&&dostafel3==1&&itm[5]!='') sPrice=itm[5], pricevaltxt=staffelfont+'<BR>'+staffel3txt+'</font>';if(itm[14] >= stafel4&&dostafel4==1&&itm[6]!='') sPrice=itm[6], pricevaltxt=staffelfont+'<BR>'+staffel4txt+'</font>';if(zoomval==1) pricevaltxt='';sPrice=format(sPrice, 2);sPriceArray[i]=sPrice;aswtab+="<TR";aswtab+=" bgcolor='"+cartItemColor+"'";aswtab+="><TD valign=top><table border=0 CELLPADDING=0 CELLSPACING=0><tr>";if(zoomval==0) {itmimg=getitmimg(itm[9],itm[2],itm[10]);itmimg=itmimg.replace(/xxx/, "width="+CartItemImgWidth+"");itmlink="<a href=\"Javascript\:parent.data.hselect('"+itm[10]+"','"+itm[2]+"')\" title='"+toitmgrouptxt+"'>";aswtab+="<td valign=top>"+itmlink+itmimg+"</a></td><td>"+imgleer+"2 HEIGHT=1></td>";}var itemshort=itm[0];if(zoomval==1&&itemshort.length>zoomintxtlength) itemshort=shortentxt(zoomintxtlength,itemshort);aswtab+="<td valign=top>"+ifont+itemshort+"";if(zoomval==0){aswtab+=" (";aswtab+=itm[2];if(itm[13]!=0||itm[12]!=0) aswtab+=", ";if(itm[13]!=0) aswtab+=itm[13];if(itm[13]!=0&&itm[12]!=0) aswtab+=", ";if(itm[12]!=0) aswtab+=itm[12];aswtab+=")";}aswtab+="</td></tr></table></TD>";extension=format((itm[14] * sPrice),2);makeTotal+=parseFloat(extension);if(change){plusqu=parseFloat(itm[14])+1;minusqu=parseFloat(itm[14]) - 1;aswtab+=tdc+"valign=top>"+ifont+itm[14]+"</TD>"+tdc+"valign=top><a href='Javascript\:parent.data.quantneu("+i+","+plusqu+")' title='Plus 1'><img src=../images/plusit.gif border=0 width=12 height=12></a>"+imgleer+"3 HEIGHT=1><a href='Javascript\:parent.data.quantneu("+i+","+minusqu+")' title='Minus 1'><img src=../images/minusit.gif border=0 width=12 height=12></a>"+imgleer+"3 HEIGHT=1><a href='Javascript\:parent.data.quantneu("+i+",0)' title='Delete'><img src=../images/deleteit.gif border=0 width=14 height=12></a>";}else{aswtab+=tdc+"valign=top>"+ifont+itm[14]+"</Font></TD><TD align=right valign=top>"+ifont+sPrice+pricevaltxt+"</font>";}aswtab+="</TD></TR>";}if(makeTotal==0){aswtab+="<tr";aswtab+=" BGCOLOR='"+cartItemColor+"'";aswtab+="><TD colspan=3 align=center>"+ifont+txtemptycart+"</Font></TD></tr>";}aswtab+="<TR><TD colspan=2>"+totalNaming+"</font></TD>";aswtab+="<td align=right>"+format(makeTotal, 2)+"</font></td></TR>";totalEURO=0;totalEURO=makeTotal / EUROrate;if(showCartEuro==1){aswtab+="<TR><TD colspan=2>"+totalEuroNaming+"</font></TD>";aswtab+="<td align=right>"+format(totalEURO, 2)+"</font></td></TR>";}aswtab+="<tr><td align=center colspan=3><br>";var modus=0;if(change) modus=1;for(var p=1; p<7-cartArray.length; p++){ if(zoomval==0) aswtab+="<br>"; }if(document.cart.cartData.value!=""&&zoomval==0) aswtab+="<a href=\"Javascript:parent.data.zoomin("+modus+")\" title='Minimize'><img src=../images/maxi.gif border=0 width=13 height=13></a>";if(document.cart.cartData.value!=""&&zoomval==1) aswtab+="<a href=\"Javascript:parent.data.zoomout("+modus+")\" title='Maximize'><img src=../images/mini.gif border=0 width=13 height=13></a>";for(var p=1; p<5-cartArray.length; p++){ if(zoomval==0) aswtab+="<br>"; }aswtab+="<br><br>";if(isnrrg.length==null) aswtab+=carttxt+""+"<br><br></font>";aswtab+="</td></tr>";aswtab+="<tr><td align=center valign=bottom colspan=3>";aswtab+="<table border=0 cellpadding=0 cellspacing=0 width="+(cartTableWidth-8)+"><tr>";if(doimgbuttons==1){if(change){aswtab+="<td align=center><a href=\"Javascript\:parent.data.showCart()\" title='"+bchangetxt+" OK'><img src=../images/ok.gif width=27 height=15 border=0 title='"+bchangetxt+" OK'></a></td>";aswtab+="<td align=center><a href=\"Javascript\:parent.data.clearCart()\" title='"+bdeletetxt+"'><img src=../images/clearall.gif width=27 height=15 border=0 title='"+bdeletetxt+"'></a></td>";}else{aswtab+="<td align=center><a href=\"Javascript\:parent.data.showCart2()\" title='"+bchangetxt+"'><img src=../images/change.gif width=27 height=15 border=0 title='"+bchangetxt+"'></a></td>";aswtab+="<td align=center><img src=../images/leer.gif width=27 height=15 border=0></a></td>";}if(showOfferButton==1) aswtab+="<td align=center><a href=\"Javascript\:parent.data.gooffer()\" title='"+boffertxt+"'><img src=../images/angeb.gif width=70 height=15 border=0 title='"+boffertxt+"'></a></td>";aswtab+="</td><td align=center><a href=\"Javascript\:parent.data.gobuy()\" title='"+bordertxt+"'><img src=../images/bestell.gif width=70 height=15 border=0 title='"+bordertxt+"'></a></td>";}if(doimgbuttons==0){if(Button3D==0) myblack=cartFontColor, myblackhell=cartFontColor;else myblack=cartButtonColor_d, myblackhell=cartButtonColor_h;cbc=cartButtonColor;cbc2=cartButtonColor2;if(CartWired==1) cbc=cartTableColor, cbc2=cartTableColor, myblack=cartTableColor_d, myblackhell=cartTableColor_d;aswtab+="<td align=left>";dallbut=buttontemp.replace(/<imgleer>/g, imgleer+"1 height=1>");dallbut=dallbut.replace(/<imgspacer>/g, imgleer+"60 height=1>");dallbut=dallbut.replace(/blue/g, myblackhell);dallbut=dallbut.replace(/navy/g, myblack);dallbut=dallbut.replace(/red/g, cbc);ddeletcompltxt="<a href=\"Javascript\:parent.data.clearCart()\" title='"+bdeletetxt+"'>&nbsp;&nbsp;"+bdeletetxt+"&nbsp;&nbsp;</a></font>";dbut=dallbut.replace(/<btxt>/, ddeletcompltxt);dchangecompltxt="<a href=\"Javascript\:parent.data.showCart2()\" title='"+bchangetxt+"'>&nbsp;&nbsp;"+bchangetxt+"&nbsp;&nbsp;</a></font>";cbut=dallbut.replace(/<btxt>/, dchangecompltxt);if(Button3D==0) myblack=cartFontColor, myblackhell=cartFontColor;else myblack=cartButtonColor2_d, myblackhell=cartButtonColor2_h;if(CartWired==1) myblack=cartTableColor_d, myblackhell=cartTableColor_d;okallbut=buttontemp.replace(/<imgleer>/g, imgleer+"1 height=1>");okallbut=okallbut.replace(/<imgspacer>/g, imgleer+"60 height=1>");okallbut=okallbut.replace(/blue/g, myblackhell);okallbut=okallbut.replace(/navy/g, myblack);okallbut=okallbut.replace(/red/g, cbc2);okcompltxt="<a href=\"Javascript\:parent.data.showCart()\" title='"+bchangetxt+" OK'>&nbsp;&nbsp;OK&nbsp;&nbsp;</a></font>";okbut=okallbut.replace(/<btxt>/, okcompltxt);ocompltxt="<a href=\"Javascript\:parent.data.gobuy()\" title='"+bordertxt+"'>&nbsp;&nbsp;"+bordertxt+"&nbsp;&nbsp;</a></font>";obut=okallbut.replace(/<btxt>/, ocompltxt);acompltxt="<a href=\"Javascript\:parent.data.gooffer()\" title='"+boffertxt+"'>&nbsp;&nbsp;"+boffertxt+"&nbsp;&nbsp;</a></font>";abut=okallbut.replace(/<btxt>/, acompltxt);if(change){aswtab+=dbut;aswtab+="</td><td align=right>";aswtab+="</td><td align=right>";aswtab+=okbut;} else{aswtab+=cbut;aswtab+="</td><td align=right>";if(showOfferButton==1){aswtab+=abut;aswtab+="</td><td align=right>";}aswtab+=obut;}aswtab+="</tr></table>";aswtab+="</td></tr></table>";}}scarttab=scarttab.replace(/\$innercart/g, aswtab);tab=scarttab;return tab;}var cartArray=new Array();function notesToArray(){var notesArray=new Array();var data=document.cart.notesData.value;if(data.length>0) notesArray=data.split("]");return notesArray;}function cartToArray(){var cartArray=new Array();var data=document.cart.cartData.value;if(data.length>0) cartArray=data.split("]");return cartArray;}function showCart(){var cartArray=cartToArray();carttab=makeTable(cartArray, false, false, false, thisIsSelxe);parent.basket.location.href='../cart/cart.htm';parent.basket.document.close();}function showCart2(){var cartArray=cartToArray();carttab=makeTable(cartArray, false, true, false, thisIsSelxe);parent.basket.location.href='../cart/cart.htm';parent.basket.document.close();}function showCartsel(wert, arraywert, arraywert2){if(arraywert2!=0&&arraywert2!=1) openArray[wert][0]=arraywert;else openArray[wert][arraywert]=arraywert2;if(dosingleopen==1){for(var i=1; i<openArray.length; i++){for(var k=1; k<openArray[i].length; k++){if(wert==i&&arraywert!=k) openArray[i][k]=0;}if(wert!=i) openArray[i][0]=0;}}var cartArray=cartToArray();carttab=makeTable(cartArray, false, false, true, wert);parent.basket.location.href='../cart/cart.htm';parent.basket.document.close();}function showCartstart(){var cartArray=cartToArray();carttab=makeTable(cartArray, false, false, true, '0');parent.basket.location.href='../cart/cart.htm';parent.basket.document.close();}function checkOut2(){var cartArray=cartToArray();parent.main.document.write(makeTablebuy(cartArray, false));parent.main.document.close();}function firststart(){showCartstart();}function start(){showCart();}function start2(){showCart2();}var artikeldata="", artikeldatei="", artikeldateiname="";var gruppe="", nextpages=0, nxtlstart, nxtlend, searchvalue="", searchvalue2="", searchitmnr="", pluskindvalue=0, searchkind=0;var searchclass="", searchclassclass="", arttxt="";var selgruppe="";var donext=0;var ArtikelArray=new Array();function nextitems(start, end){donext=1;nextpages++;nxtlstart=start;nxtlend=end;parent.main.location.href="aload.htm";parent.main.location.href="items.htm";}function replaceUML(inword){var wort=inword;wort=wort.replace(/&/,'&amp;');wort=wort.replace(/ä/,'&auml;');wort=wort.replace(/Ä/,'&Auml;');wort=wort.replace(/ü/,'&uuml;');wort=wort.replace(/Ü/,'&Uuml;');wort=wort.replace(/ö/,'&ouml;');wort=wort.replace(/Ö/,'&Ouml;');wort=wort.replace(/ß/,'&szlig;');wort=wort.replace(/Š/,'&auml;');wort=wort.replace(/€/,'&Auml;');wort=wort.replace(/Ÿ/,'&uuml;');wort=wort.replace(/†/,'&Uuml;');wort=wort.replace(/š/,'&ouml;');wort=wort.replace(/…/,'&Ouml;');wort=wort.replace(/§/,'&szlig;');return wort;}exsdata="";function dcrpt(str){var enc_str="";for(i=0; i<str.length; i+=2){ enc_chr=parseInt(parseInt(str.substring(i, i+2), 16)); enc_str+=String.fromCharCode(enc_chr);}return enc_str;}var carttxt="556e7265676973746572656420547269616c";var troptxt="3c6120687265663d22687474703a2f2f7777772e6f70656e73746f72652e6";troptxt+="46522207461726765743d225f626c616e6b22207469746c653d227472756";troptxt+="5206f70656e73746f7265223e26636f70793b3c2f613e";carttxt=unescape(dcrpt(carttxt));troptxt=unescape(dcrpt(troptxt));function goexsresult(sgroup, catchw, data){doshowNotes=false; searchclassname=sgroup; searchvalue=replaceUML(catchw);exsdata=data;issearch=true;donext=0;nextpages=0;nxtlend=ppage;nxtlstart=1;nextpages++;parent.main.location.href="../"+ShopDir+"/etc/items.htm";}function goresult(sgroup, catchw, catchw2, catchwnr, pluskindval, isitmnr){doshowNotes=false;issearch=true;donext=0;nextpages=0;nxtlend=ppage;nxtlstart=1;nextpages++; searchclass=sgroup; searchvalue=replaceUML(catchw); searchvalue2=replaceUML(catchw2); searchitmnr=catchwnr; pluskindvalue=pluskindval; searchkind=isitmnr;if(searchkind==0&&pluskindvalue==0){if(searchclass!="0"&&searchvalue.length>1&&searchvalue!='') parent.main.location.href="aload.htm";else alert(searcherror);} else if(searchkind==0&&pluskindvalue>0){if(searchclass!="0"&&searchvalue.length>1&&searchvalue2.length>1&&searchvalue!=''&&searchvalue2!='') parent.main.location.href="aload.htm";else alert(searcherror);} else if(searchkind==1){if(searchclass!="0"&&searchitmnr.length>1&&searchitmnr!='') parent.main.location.href="aload.htm";else alert(searcherror);}}function showNotes(){data=document.cart.notesData.value;if(data!=''){issearch=true;doshowNotes=true;donext=0;nextpages=0;nxtlend=ppage;nxtlstart=1;nextpages++; searchclassname=notestitle; searchvalue="";parent.main.location.href="../etc/aload.htm";}else{if(doshowNotes==true) parent.main.location.href="../etc/front.htm";setTimeout('alert(notestitle+" [0 "+itemNaming+"]!")', 100);doshowNotes=false;}}function doasw(gruppe, thistxt){doshowNotes=false;donext=0;selgruppe=gruppe;nextpages=0;nxtlend=ppage;nxtlstart=1;nextpages++;artnr=gruppe;arttxt=thistxt;artikeldatei=gruppe;artikeldateiname=gruppe;}var iselecturl="items.htm";function iselect(gruppe, pfad, thisi, thisk, thisj, gogoitm, thisgoartnummer){doshowNotes=false;issearch=false;thisgoitmval=gogoitm;thisartnummer=thisgoartnummer;thistxtarttxt="";if(aswArray[thisi].length >1) thistxtarttxt+=aswArray[thisi][0][0][0]+vargodiv;thistxtarttxt+=aswArray[thisi][thisk][0][0]+vargodiv+"<b>"+aswArray[thisi][thisk][thisj][2]+"</b>";doasw(gruppe, thistxtarttxt);goanker="";if(thisgoitmval==1) goanker="#itmanchor"+thisartnummer;iselecturl=pfad+"items.htm"+goanker;parent.main.location.href=pfad+"aload.htm";}function hselect(gruppe, thisartnummer){var thisartnummerda=typeof thisartnummer;issearch=false;pmloc=parent.main.location.href;hpfad="../etc/";thisisok=false;if(thisartnummer==""||thisartnummerda=="undefined") thisartnummer='', isthisartnummer=0;else isthisartnummer=1;for(var e=1; e <= eintraege; e++){for(var f=0; f<aswArray[e].length; f++){for(var g=1; g<aswArray[e][f].length; g++){if(gruppe==aswArray[e][f][g][1]) hi=e, hk=f, hg=g, thisisok=true;}}}if(thisisok==true) iselect(gruppe, hpfad, hi, hk, hg, isthisartnummer, thisartnummer);}function ArtikelToArray(){var offset=0;var lookArray=new Array();var sputArray=new Array();if(doshowNotes==true){data=document.cart.notesData.value;var ArtikelArray=new Array();var counter=0;while (data.length>0){offset=data.indexOf("]");for(var i=0; i<ArtikelArray.length; i++){sputArray=data.substring(0, offset).split("|");}ArtikelArray[counter++]=data.substring(0, offset);data=data.substring(offset+1, data.length);}return ArtikelArray;} else if(issearch==true&&extsearch==1){data=exsdata;var ArtikelArray=new Array();var counter=0;while (data.length>0){offset=data.indexOf("]");for(var i=0; i<ArtikelArray.length; i++){sputArray=data.substring(0, offset).split("|");}ArtikelArray[counter++]=data.substring(0, offset);data=data.substring(offset+1, data.length);}return ArtikelArray;} else{if(issearch==true){var ssearchvalue=new RegExp(searchvalue, "gi");var ssearchvalue2=new RegExp(searchvalue2, "gi");var ssearchitmnr=new RegExp(searchitmnr, "gi");}var offset=0;data=parent.main.artikeldaten;var ArtikelArray=new Array();var counter=0;if(data==null){return ArtikelArray;} else{while (data.length>0){offset=data.indexOf("]");glangtext=data.substring(0, offset);for(var i=0; i<ArtikelArray.length; i++){sputArray=data.substring(0, offset).split("|");}if(issearch==false){ArtikelArray[counter++]=data.substring(0, offset);if(thisgoitmval==1) if(data.substring(0, offset).indexOf(thisartnummer+"|")>-1) thisgoitmnr=counter;}else if(issearch==true){glangtext=data.substring(0, offset).toLowerCase();if(searchkind==0&&pluskindvalue==0){if(glangtext.search(ssearchvalue)!=-1){ArtikelArray[counter++]=data.substring(0, offset);}}else if(searchkind==0&&pluskindvalue==1){if(glangtext.search(ssearchvalue)!=-1&&glangtext.search(ssearchvalue2)!=-1){ArtikelArray[counter++]=data.substring(0, offset);}}else if(searchkind==0&&pluskindvalue==2){if(glangtext.search(ssearchvalue)!=-1||glangtext.search(ssearchvalue2)!=-1){ArtikelArray[counter++]=data.substring(0, offset);}}else if(searchkind==1){if(glangtext.search(ssearchitmnr)!=-1){ArtikelArray[counter++]=data.substring(0, offset);}}}data=data.substring(offset+1, data.length);}return ArtikelArray;}}}function showArtikel(){if(donext==0) ArtikelArray=ArtikelToArray();if(ArtikelArray.length<1) {shownoArtikel();} else{if(issearch==true) parent.main.document.writeln(makeTableItems(ArtikelArray, true, false));else parent.main.document.writeln(makeTableItems(ArtikelArray, false, false));donext=1;parent.main.document.close();}}function shownoArtikel(){if(issearch==true) parent.main.location.href="noresult.htm";else parent.main.location.href="noitems.htm";parent.main.document.close();}function itemSplit(input){var itemArray=new Array();itemArray=input.split("|");return itemArray;}function replaceval(rtxt,dosval){var data=rtxt.toLowerCase();var sval=dosval.toLowerCase();var repltxt="";var rpos=0;while (data.length>0&&data.indexOf(sval)>-1){if(data.indexOf(sval)>-1){rpos=data.indexOf(sval);repltxt+=rtxt.substring(0,rpos)+"<u>"+rtxt.substring(rpos, rpos+sval.length)+"<\/u>";data=data.substring(rpos+sval.length, data.length);rtxt=rtxt.substring(rpos+sval.length, rtxt.length);}}repltxt+=rtxt;return repltxt;}var ppage=itemsperpage;function doppage(pval){ppage=pval;}function makeTableItems(ArtikelArray, search, highs){var j=0, Tcolor="", ItmHead="", Bold="", SearchTopHead="";var overinfo="title=\""+InfoStatustxt+"\"";ItmHead=" bgcolor='"+ItemsHeadColor+"'";ITMFont="<font face='"+ItemsFont+"' size='"+ItemsFontSize+"'>";if(ItemsHeadFont=="") ItemsHeadFont=ItemsFont;if(ItemsHeadFontSize=="") ItemsHeadFontSize=ItemsFontSize;if(ItemsHeadFontColor=="") ItemsHeadFontColor="#000000";if(ItemsFontColor=="") ItemsFontColor="#000000";ITMHeadFont="<font face='"+ItemsHeadFont+"' size='"+ItemsHeadFontSize+"' color='"+ItemsHeadFontColor+"'>";ITMNrFont="<font face='"+ItemsHeadFont+"' size='"+ItemsHeadFontSize+"' color='"+Tabletabline+"'>";var sizevalue=0, item, tabtitle="", Twidth=ItemsWidth;if(!(highs)&&itmdo2cols==1) Twidth=parseInt(ItemsWidth*0.66);if(nxtlend>ArtikelArray.length) nxtlend=ArtikelArray.length;if(highs) Twidth=hightabwidth;var tab="";vargotab=ITMFont;svargo="<nobr>"+ITMFont;ppvargo="<nobr>"+ITMFont;if(!(highs)){if(thisgoitmval==1){isnextfloat=format(thisgoitmnr/ppage, 2);isnextint=parseInt(isnextfloat);if(isnextfloat>isnextint) nxtlstart=isnextint * ppage+1;else nxtlstart=((isnextint - 1) * ppage)+1;if(nxtlstart <= ppage) nxtlstart=1;nxtlend=nxtlstart+ppage - 1;if(nxtlend>ArtikelArray.length) nxtlend=ArtikelArray.length;}ivar=ArtikelArray.length/ppage;ivarInt=parseInt(ArtikelArray.length/ppage);if(ivarInt<ivar) ivar=ivarInt+1;else ivar=ivarInt;trennung=" ";if(nxtlstart>1) vargotab+="&nbsp;<a href=\"javascript:parent.data.nextitems("+(nxtlstart-ppage)+","+(nxtlstart-1)+")\" title='"+(nxtlstart-ppage)+" - "+(nxtlstart-1)+"'>&lt;&lt;</a>"+trennung;else vargotab+="&nbsp;";sstart=1;ssende=ppage;for(var k=0; k<ivar; k++){if(ssende>ArtikelArray.length) ssende=ArtikelArray.length;if(nxtlstart!=sstart) vargotab+="<a href=\"javascript:parent.data.nextitems("+sstart+","+ssende+")\" title='"+sstart+" - "+ssende+"'>";if(nxtlstart!=sstart&&ivar<10) vargotab+=k+1;else if(nxtlstart!=sstart&&ivar>9&&ivar<20) vargotab+="&middot;";else if(nxtlstart==sstart) vargotab+="["+sstart+"-"+ssende+"]";if(nxtlstart!=sstart) vargotab+="</a>";vargotab+=trennung;sstart+=ppage;if(ssende<ArtikelArray.length) ssende+=ppage;}ffend=nxtlstart+ppage+ppage-1;if(ffend>ArtikelArray.length) ffend=ArtikelArray.length;if(nxtlstart+ppage<ArtikelArray.length+1) vargotab+="<a href=\"javascript:parent.data.nextitems("+(nxtlstart+ppage)+","+ffend+")\" title='"+(nxtlstart+ppage)+" - "+ffend+"'>&gt;&gt;</a>&nbsp;";if(ArtikelArray.length<20) vargotab+="<a href=\"javascript:parent.data.nextitems(1,"+ArtikelArray.length+")\" title='1 - "+ArtikelArray.length+"'>&lt;&gt;</a>&nbsp;";vargotab+="</font>";isvargo=" ["+nxtlstart+"-"+nxtlend+"&nbsp;&middot;&nbsp;"+ ArtikelArray.length+"]&nbsp;";if(ArtikelArray.length==0||nxtlstart==1&&nxtlend==ArtikelArray.length) vargotab=ITMFont+isvargo;}tab="";if(!(navversion=='N'&&bVer<5)){tab+="<style type='text/css'>\n";tab+="input { font-size: 10px; font-family: Geneva,Arial,sans-serif;border-color:#00008B #00008B #00008B;border-style:solid;border-top-width:1px;border-right-width:1px;border-bottom-width:1px;border-left-width: 1px;height:12pt;width:12pt; }\n";tab+="select { font-size: 9px; font-family: Geneva,Arial,sans-serif;border-color:#00008B #00008B #00008B;border-style:solid;border-top-width:1px;border-right-width:1px;border-bottom-width:1px;border-left-width: 1px;width:87pt; }\n";tab+="</style>\n";}tbcolor="";if(!(highs)){itmTHeadcolor="='"+ItemsHeadColor+"'";if(search){if(doshowNotes) svargo+="<img src=../images/notes.gif align=top border=0>";else svargo+="<img src=../images/lupe_kl.gif align=top border=0>";if(searchkind==0&&pluskindvalue==0) issearchvalue=searchvalue;else if(searchkind==0&&pluskindvalue>0) issearchvalue=searchvalue+" &amp; "+searchvalue2;else if(searchkind==1) issearchvalue=searchitmnr;if(doshowNotes) svargo+="&nbsp;"+searchclassname+"<b>"+issearchvalue+"</b>";else svargo+="&nbsp;"+searchclassname+vargodiv+"<b>"+issearchvalue+"</b>";} else{svargo+="<IMG SRC=../images/ppfeil_.gif align=top border=0>&nbsp;"+arttxt;}svargo+=isvargo;headwired=0;tabrandcol=itmTHeadcolor;if(itmtabsolid==1) tabrandcol="='"+Tabletabline+"'";topvargo=setuptabs(toptemp,ItemsWidth,itmTHeadcolor,tabrandcol,svargo,"");mydiv="<IMG SRC=../images/divide.gif>";doitmdoimg=(itmdoimg-1)*(itmdoimg-1);if(showimgicon==1) mydiv+="<a href=\"JavaScript:parent.data.doitmdesign(3,3,3,3,"+doitmdoimg+")\" title=\""+showimgtxt+"\"><IMG SRC=../images/imgmode_"+doitmdoimg+".gif height=7 width=15 border=0></a>";doitmdo2cols=(itmdo2cols-1)*(itmdo2cols-1);if(showlayouticon==1) mydiv+="<a href=\"JavaScript:parent.data.doitmdesign(3,3,3,"+doitmdo2cols+",3)\" title=\""+showlayouttxt+"\"><IMG SRC=../images/colmode_"+doitmdo2cols+".gif height=7 width=15 border=0></a>";if(showimgicon==1||showlayouticon==1) mydiv+="<IMG SRC=../images/divide.gif>";botvargo=setuptabs(bottemp,ItemsWidth,itmTHeadcolor,tabrandcol,vargotab,mydiv);tab+=topvargo;for(p=0;p<5;p++){myp=eval("itemspp_"+p);if(ppage!=myp) ppvargo+="<a href=\"JavaScript:parent.data.doppage("+myp+"),parent.data.nextitems(1,"+myp+")\" title=\""+myp+" "+showperpagetxt+"\">";ppvargo+=myp;if(ppage!=myp) ppvargo+="<\/a>";ppvargo+="&nbsp;";}ppvargo+="&nbsp;"+showperpagetxt+"&nbsp;<\/font>";botvargo=botvargo.replace(/<replthis2>/, ppvargo);}if(highs) nxtlstart=1, nxtlend=ArtikelArray.length;divline="<IMG SRC=../images/divideline.gif>";if(!(highs)&&itmdo2cols==1) tab+=divline+"<br><br>";if(!(highs)&&itmdo2cols==1) tab+="<table border=0 cellpadding=5 cellspacing=0>";for(var i=nxtlstart-1; i<nxtlend; i++){item=itemSplit(ArtikelArray[i]);var imagekind="gif";if(item[9].substring(1, 2)==1) imagekind="jpg";item[9]=item[9].substring(0, 1);var itemimg="", itemimgasw="", gruppe=item[10], sgotogroup="";var availval=item[8].substring(item[8].length - 1, item[8].length), artnummer=item[2];if(availval==""||availval>3||availval<1) availval=2;if(showgotogroup==1){hpfad="";thisisok=false;for(var e=1; e <= eintraege; e++){for(var f=0; f<aswArray[e].length; f++){for(var g=1; g<aswArray[e][f].length; g++){if(item[10]==aswArray[e][f][g][1]) isgototxt=aswArray[e][f][g][2], thisi=e, thisk=f, thisg=g, thisisok=true;}}}if(thisisok==true) sgotogroup="<a href=\"JavaScript:parent.data.hselect('"+item[10]+"','"+artnummer+"')\" title='"+toitmgrouptxt+" "+isgototxt+"'>";}if(item[0]=='') item[0]=shortentxt(36,item[1]);if(highs) item[1]=shortentxt(hightxtlaenge,item[1]);itmtext=ITMHeadFont;itmtext+="<b>";if(!(highs)&&thisgoitmval==1&&i==thisgoitmnr-1) itmtext+="<img src=../images/ishigh.gif align=bottom border=0>&nbsp;", thisgoitmval=0;itmtext+=item[0];itmtext+="</b>";itmtext+="</font>";itmtext+="<font face='"+ItemsFont+"' size='"+ItemsFontSize+"' color='"+ItemsFontColor+"'><br>"+item[1];if(!(highs)) itmtext+=" ("+item[2]+")";itmtext+="</font>";if(search&&doshowNotes==false){itmtext=replaceval(itmtext,searchvalue);if(searchvalue2) itmtext=replaceval(itmtext,searchvalue2);if(searchitmnr) itmtext=replaceval(itmtext,searchitmnr);}savailtx="";itmavailtxt="";if(navversion=='M') savailtx="\n";savailtx+=eval("avail"+availval+"txt");if(showavailtxt!=0) itmavailtxt="<font face='"+ItemsFont+"' size='"+ItemsFontSize+"' color='"+ItemsHeadFontColor+"'><br>"+savailtx+"</font>";tabbutt="<a href=\"javascript\:parent.data.buyItem("+(i+1)+")\" title='"+toCartStatustxt+"'>";tabbutt+="<img src=../images/inkorb_"+availval+".gif border=0></a>";myisda=0;myisda=checkNotes(ArtikelArray[i]);tabnote="";if(myisda==0&&!(doshowNotes)&&doNotesSel==1) tabnote="<a href=\"javascript\:parent.data.noteItem("+(i+1)+")\" title='"+toNoteStatustxt+"'><img src=../images/innotes.gif border=0></a>";else if(!(doshowNotes)&&doNotesSel==1) tabnote="<a href=\"javascript\:parent.data.showNotes()\" title='"+notestitle+"'><img src=../images/isinnotes.gif border=0></a>";itmlink=sgotogroup; infolink=item[2]; imaglink=item[2];if(item[9]==5||item[9]==6||item[9]==8) infolink=gruppe;if(item[9]==2||item[9]==4||item[9]==6) imaglink=gruppe;itminfo="";itminfolink="";if(item[9]>2) itminfolink="<a href=\"../infos/"+infolink+".htm\" onclick=\"parent.data.putthisitm('"+i+"')\" title=\""+InfoStatustxt+"\">", itminfo=itminfolink+"<img src=../images/info.gif border=0></a>";if(item[9]>0&&item[9]<7) itemimg="<img src=../itmimg/"+imaglink+"."+imagekind+" xxx border=0>";if(highs) itemimg=itmlink+itemimg+"</a>";if(!(highs)) itemimg=itminfolink+itemimg+"</a>";if(highs) itemimgasw=itemimg.replace(/xxx/, "width="+highimgwidth+"");else if(itmdo2cols==1) itemimgasw=itemimg.replace(/xxx/, "width="+do2colsimgwidth+"");else itemimgasw=itemimg.replace(/xxx/, "");itempurimgasw=itemimg.replace(/xxx/, "");if(!(highs)&&itmdoimg==0) itemimgasw="<img src=../images/leer.gif height=6 width=6 border=0>";imgcol="";if(itemimgasw==''||(highs)) imgcol=" colspan=2";tabhidden="<input type=hidden name='item"+(i+1)+"size' value='0'>";tabhidden+="<input type=hidden name='item"+(i+1)+"plus' value='0'>";itmpreise="";itmpreise+="<font face='"+ItemsFont+"' size='"+ItemsFontSize+"' color='"+ItemsFontColor+"'><b>";if(!(highs)) itmpreise+="<nobr>";if(showCurrency==1) itmpreise+=currency+" ";itmpreise+=item[3]+"<font color='"+price2FontColor+"'>";EuroPrice=parseFloat(item[3]) / EUROrate;if(highs) itmpreise+="<br><b>";else itmpreise+="&nbsp;&nbsp;";if(!(highs)&&showCurrency==1&&showPrice2 ==1||(highs)&&dohigheuro==1) itmpreise+=currency2+" ";if(!(highs)&&showPrice2 ==1||(highs)&&dohigheuro==1) itmpreise+=format(EuroPrice, 2);itmpreise+="</b></font>";itmpreise+="";if(!(highs)) itmpreise+="</nobr>";ftype="text";if(showQuantField==0) ftype="hidden";qtab="<input type="+ftype+" name='item"+(i+1)+"quant' value=1 size=2>";itmpops="";if(item[8] >= 10){tabalign="";itmpops="<table border=0 cellpadding=1 cellspacing=0><tr>";sizevar=item[8].charAt(item[8].length - 2);plusvar=item[8].substring(0, item[8].length - 2);tabitemsize="";tabitemplus="";itemnr=item[2];if(sizevar>0){sizeclass=eval("size"+sizevar);tabitemsize+="<select name='itemspecial"+(i+1)+"' size='1' onchange=\"parent.data.dosize('"+(i+1)+"')\">\n";var sizeArray=new Array();sizeArray=sizeclass.split("|");tabitemsize+="<option value='0'>"+sizeArray[0]+"</option>\n";for(var m=1; m<sizeArray.length-1; m++){tabitemsize+="<option value='"+sizeArray[m]+"'>"+sizeArray[m]+"</option>\n";}tabitemsize+="</select>";}if(plusvar>0){plusclass=eval("plus"+plusvar);tabitemplus+="<select name='itemplus"+(i+1)+"' size='1' onchange=\"parent.data.doplus('"+(i+1)+"')\">\n";var plusArray=new Array();plusArray=plusclass.split("|");tabitemplus+="<option value='0'>"+plusArray[0]+"</option>\n";for(var m=1; m<plusArray.length-1; m++){tabitemplus+="<option value='"+plusArray[m]+"'>"+plusArray[m]+"</option>\n";}tabitemplus+="</select>";}itmpops+="<td>"+tabitemplus+"</td>";itmpops+="<td>"+tabitemsize+"</td>";itmpops+="</tr></table>";}itmposnr=ITMNrFont+(i+1)+"&nbsp;&middot;&nbsp;"+ArtikelArray.length+"</font>";stabbutt=tabhidden+"<table border=0 cellpadding=1 cellspacing=0><tr><td align=right>"+itminfo+"</td><td align=right align=right>"+qtab+"</td><td>"+imgklleer+"</td><td align=right>"+tabbutt+"</td><td align=right>"+tabnote+"</td></tr></table>";itmsgotogroup="";if(!(highs)) itmsgotogroup=sgotogroup+"<IMG SRC='../images/artseite.gif' BORDER='0' align='top'></a>";else itmsgotogroup=sgotogroup+"<IMG SRC='../images/ishigh.gif' BORDER='0' align='top'></a>";myitmcol=ItemsTableColor;myitmbordercol=Tabletabline;if(itmsolid==1&&itmfilled==1) myitmbordercol=myitmcol;itmTcolor="='"+myitmcol+"'";sitmtab=itmtabvorlage;sitmtab=sitmtab.replace(/<imgrleer>/g, imgleer+"4 height=4>");sitmtab=sitmtab.replace(/<itmspacer>/g, imgleer+Twidth+" height=1>");if(!(highs)) sitmtab=sitmtab.replace(/109/, Twidth);if(itmframed==1) sitmtab=sitmtab.replace(/=black/g, "="+myitmbordercol);else sitmtab=sitmtab.replace(/ bgcolor=black/g, "");if(itmfilled==1) sitmtab=sitmtab.replace(/=red/g, itmTcolor);else sitmtab=sitmtab.replace(/ bgcolor=red/g, "");if(highs) itmtext+="<br>"+itmpreise;sitmtab=sitmtab.replace(/<itmtext>/, itmtext);if(!(highs)) sitmtab=sitmtab.replace(/<searchnr>/, itmposnr);if(!(highs)&&showavailtxt!=0) sitmtab=sitmtab.replace(/<itmvbtxt>/, itmavailtxt);delbutt="<a href=\"javascript\:parent.data.deleteNote("+(i+1)+")\" title='"+bdeletetxt+"'><img src=..\/images\/deletenotes.gif border=0><\/a>";if(!(highs)&&doshowNotes) sitmtab=sitmtab.replace(/<delnotes>/, delbutt);sitmtab=sitmtab.replace(/<itmanchor>/, "<a name='itmanchor"+artnummer+"'>");if(itmpops=="") itmpops=imgleer+"4 height=4>";if(!(highs)&&item[8] >= 10) sitmtab=sitmtab.replace(/<itmpops>/, "<br>&nbsp;"+itmpops);if(!(highs)) sitmtab=sitmtab.replace(/<cartbutton>/, stabbutt);if(!(highs)) sitmtab=sitmtab.replace(/<itmpreise>/, itmpreise);sitmtab=sitmtab.replace(/<imgleer>/g, imgklleer);if(itmframed==1) sitmtab=sitmtab.replace(/<imgleer>/g, imgklleer);var thiswidth=new RegExp(Twidth, "g");ssitmtab=sitmtab.replace(thiswidth, ItemsWidth);ssitmtab=ssitmtab.replace(/<gotogroup>/, itmsgotogroup);ssitmtab=ssitmtab.replace(/<img src=..\/images\/info.gif border=0>/, "");sstabforArray="";if(item[9]>2){if(shortinfo==1){stabbutt=stabbutt.replace(/<img src=..\/images\/info.gif border=0>/, "");sstabforArray="<table border=0 cellpadding=3 cellspacing=0><tr><td colspan=2>"+itmpops+"</td></tr>";sstabforArray+="<tr><td>"+itmpreise+"</td><td>"+stabbutt+"</td></tr>";sstabforArray+="<tr><td colspan=2 align=right>"+itmsgotogroup+"</td></tr></table>";tabArray[i]=sstabforArray;}else tabArray[i]=ssitmtab.replace(/<itmimage>/, itempurimgasw);} else{tabArray[i]="";}sitmtab=sitmtab.replace(/<itmimage>/, itemimgasw);if(highs||search&&showgotogroup==1) sitmtab=sitmtab.replace(/<gotogroup>/, itmsgotogroup);if(!(highs)&&itmfilled==0&&itmframed==0&&itmdo2cols==0) tab+=divline;if(!(highs)&&itmdo2cols==1&&(i/2)==parseInt((i/2))) tab+="<tr valign=top><td>";else if(!(highs)&&itmdo2cols==1) tab+="<td>";tab+=sitmtab;if(!(highs)&&itmdo2cols==1&&(i/2)!=parseInt((i/2))&&itmfilled==0&&itmframed==0&&itmdo2cols==1&&i<nxtlend-1) tab+="<tr align=center><td colspan=2><img src=..\/images\/2coldivide.gif border=0>";if(!(highs)&&itmdo2cols==1&&i==nxtlend-1) tab+="</table>";if((highs&&i!=nxtlend-1)||(i!=nxtlend-1&&itmdo2cols==0)) tab+="<br>";else if(!(highs)&&itmfilled==0&&itmframed==0&&itmdo2cols==0) tab+=divline;}if(!(highs)){if(itmdo2cols==1) tab+="<br>"+divline;tab+=botvargo;}return tab;}function itemshigh(){parent.main.document.writeln(showhitmtable);parent.main.document.close();}var searchclassname="";function gruppenSplit(){var Wert=searchclass;var searchgroup=eval("parent.data.searchgroup"+Wert);var gruppenArray=new Array();var offset=0;offset=searchgroup.indexOf("[");searchgrouptxt=searchgroup.substring(0, offset);searchclassname=searchgrouptxt;searchgroup=searchgroup.substring(offset+1, searchgroup.length);for(var i=0; searchgroup.indexOf(",")!=-1; i++){offset=searchgroup.indexOf(",");gruppenArray[i]=searchgroup.substring(0, offset);searchgroup=searchgroup.substring(offset+1, searchgroup.length);if(donext==0){parent.main.document.writeln("<script src=../data/"+gruppenArray[i]+".js language=JavaScript><\/script>");}}return gruppenArray;}function makeTablebuy(cartArray){var bfont="<Font Face='"+BuyFont+"' Size='"+BuyFontSize+"'>";var pos, singleqty=0;var avail1="", avail2="", avail3="";var itm, extension, makeTotal=0, makeTotal1=0, makeTotal2=0, deltotal=0, itmsquant=0;var placer=imgleer+"'3' HEIGHT='3' BORDER='0'>";var placer2=imgleer+"";var innerwith=(BuyWidth - 85) - 2*BuyPriceWidth;var ITMSteuer=0, MWSteuer1=0, MWSteuer2=0;var tab="";var ftab="<form action='"+sFormAction+"' name='buyform' method='post'";if(othermail==1) ftab+=" enctype='text/plain'";ftab+=">";if(dotborder==1) ftab+="<table border=0 cellpadding=1 cellspacing=0 bgcolor='"+tbordercolor+"' width='"+BuyWidth+"'><tr><td>";if(sFormAction.indexOf("openmail")!=-1){ftab+=hiddenfield+"'home' VALUE='"+parent.location.href+"'>";ftab+=hiddenfield+"'tartikel' VALUE='"+itemNaming+"'>";ftab+=hiddenfield+"'tmenge' VALUE='"+qtyNaming+"'>";ftab+=hiddenfield+"'tpreis' VALUE='"+priceNaming+"'>";ftab+=hiddenfield+"'tsumme' VALUE='"+BuyItemTotalNaming+"'>";ftab+=hiddenfield+"'tplustxt' VALUE='"+Extratxt+"'>";ftab+=hiddenfield+"'tminustxt' VALUE='"+Rabatttxt+"'>";ftab+=hiddenfield+"'tdeliverytxt' VALUE='"+Buydeliverytxt+"'>";ftab+=hiddenfield+"'tbuytotaltxt' VALUE='"+Buytotaltxt+"'>";ftab+=hiddenfield+"'tgrandtotaltxt' VALUE='"+Buytotalplusdeliverytxt+"'>";ftab+=hiddenfield+"'subject' VALUE='"+subjectkind+"'>";ftab+=hiddenfield+"'sender' VALUE='"+sender+"'>";ftab+=hiddenfield+"'mailserver' VALUE='"+mailserver+"'>";ftab+=hiddenfield+"'sendmailCmd' VALUE='"+sendmailCmd+"'>";ftab+=hiddenfield+"'usemailserver' VALUE='"+usemailserver+"'>";ftab+=hiddenfield+"'required' VALUE='"+required+"'>";ftab+=hiddenfield+"'reply_header' VALUE='"+sreply_header+"'>";ftab+=hiddenfield+"'reply_footer' VALUE='"+sreply_footer+"'>";ftab+=hiddenfield+"'confirmtxt' VALUE='"+confirmtxt+"'>";ftab+=hiddenfield+"'confirmbgr' VALUE='"+confirmbgr+"'>";ftab+=hiddenfield+"'BuyFont' VALUE='"+BuyFont+"'>";ftab+=hiddenfield+"'BuyFontSize' VALUE='"+BuyFontSize+"'>";ftab+=hiddenfield+"'BuyshowEURO' VALUE='"+BuyshowEURO+"'>";ftab+=hiddenfield+"'BuyshowTAX' VALUE='"+BuyshowTAX+"'>";ftab+=hiddenfield+"'BuyTaxtxt' VALUE='"+BuyTaxtxt+"'>";ftab+=hiddenfield+"'BuyTaxtxt2' VALUE='"+BuyTaxtxt2+"'>";ftab+=hiddenfield+"'currency' VALUE='"+currency+"'>";ftab+=hiddenfield+"'currency2' VALUE='"+currency2+"'>";}ftab+=hiddenfield+"'FormKind' VALUE='"+formkind+"'>";tab+=ftab+"<TABLE BORDER=0 cellpadding='1' cellspacing=0 bgcolor='"+BuyTableColor+"' width='"+BuyWidth+"'>";tab+="<tr bgcolor='"+BuyTableHeadColor+"'><td>"+imgleer+"6 HEIGHT=3></td><td valign=bottom colspan=2><font face='"+BuyFont+"' size=1> "+BuyItemNaming+"</font></TD>"+tdc+"valign=bottom>"+bfont+BuyQtyNaming+"</font></TD><TD ALIGN=right valign=bottom>"+bfont+BuyPriceNaming+"</font></TD><TD ALIGN=right valign=bottom>"+bfont+BuyItemTotalNaming+"</font></TD><td>"+placer+"</td></TR>";for(var i=0; i<cartArray.length-1; i++){pos=i+1;itm=itmSplit(cartArray[i]);itm[3]=sPriceArray[i];availval=itm[8].substring(itm[8].length - 1, itm[8].length);if(availval=='1'&&avail1!="") avail1+="+"+pos;if(availval=='2'&&avail2!="") avail2+="+"+pos;if(availval=='3'&&avail3!="") avail3+="+"+pos;if(availval==''&&avail2!="") avail2+="+"+pos;if(availval=='1'&&avail1=="") avail1+=BuyPositiontxt+pos;if(availval=='2'&&avail2=="") avail2+=BuyPositiontxt+pos;if(availval=='3'&&avail3=="") avail3+=BuyPositiontxt+pos;if(availval==''&&avail2=="") avail2+=BuyPositiontxt+pos;extension=itm[14] * itm[3];ITMSteuer=0;if(itm[11]!=BuyTAXpercent&&itm[11]!=BuyTAXpercent2||itm[11]=="") itm[11]=BuyTAXpercent;if(ItemsNettoPrice==1) ITMSteuer=extension * (itm[11]/100);else ITMSteuer=extension - extension / (1+itm[11]/100);if(itm[11]==BuyTAXpercent) makeTotal1+=extension;else if(itm[11]==BuyTAXpercent2) makeTotal2+=extension;if(itm[7]!="0") deltotal+=extension, itmsquant+=parseFloat(itm[14]);tab+="<TR><TD valign=top><Font Face='"+BuyFont+"' Size='"+BuyFontSize+"' color="+PositionColor+">"+pos+".<br></font></TD><TD valign=top colspan=2><Font Face='"+BuyFont+"' Size='"+BuyFontSize+"' color='"+BuyItemFontColor+"'><b>"+itm[0]+"</b></TD><TD align=center>"+bfont+"<b>"+itm[14]+"</b></TD><TD align=right>"+bfont+itm[3]+"</TD><TD align=right>";tab+=bfont+format(extension, 2)+"</TD><TD>"+placer+"</TD></TR>";var colval1=2, colval2=3;if(itm[9]!="") colval1=1, colval2=4;tab+="<TR><td colspan=1>"+placer+"</TD><TD align=left colspan=4>";tab+=t000;tab+="<tr><td width=1% valign=top>";bitmimg=getitmimg(itm[9], itm[2], itm[10]);bitmimg=bitmimg.replace(/xxx/, "width="+BuyItemImgWidth+"");if(itm[9]>0&&showBuyItemImg==1) tab+=bitmimg;tab+="<br></td>";tab+="<td width=99% valign=top>"+bfont+itm[1]; tab+=" <nobr>("+itm[2];if(itm[13]!=0) tab+=", ";if(itm[13]!=0) tab+=itm[13];if(itm[12]!=0) tab+=", ";if(itm[12]!=0) tab+=itm[12]; tab+=")</nobr>";tab+=hiddenfield+"'itm"+pos+"' VALUE='"+itm[0]+"'>";if(itm[12]!=0) tab+=hiddenfield+"'itmsize"+pos+"' VALUE='"+itm[12]+"'>";if(itm[13]!=0) tab+=hiddenfield+"'itmplus"+pos+"' VALUE='"+itm[13]+"'>";tab+=hiddenfield+"'itmnumber"+pos+"' VALUE='"+itm[2]+"'>";tab+=hiddenfield+"'quant"+pos+"' VALUE='"+itm[14]+"'>";tab+=hiddenfield+"'price"+pos+"' VALUE='"+itm[3]+"'>";tab+=hiddenfield+"'total"+pos+"' VALUE='"+format(extension, 2)+"'>";tab+="</td></tr></table></TD><td colspan=2>"+placer+"</TD>";tab+="<tr><td>"+placer2+"=1 HEIGHT=8></td><td colspan=5 align=center>"+t100+"<tr><td bgcolor="+Tabletabline+">"+placer2+"=1 HEIGHT=1></TD></TR></table></TD><td>"+placer+"</td></TR>";}makeTotal=makeTotal1+makeTotal2;grandTotal=makeTotal;if(makeTotal <= 0){tab+="<TR><td colspan=7>"+bfont+txtemptycart+"</font></td></TR>";} else{tab+="<TR><td colspan=2>"+placer+"</TD><TD COLSPAN=3>"+bfont+Buytotaltxt+"</font></TD><td align=right>"+bfont+format(grandTotal, 2)+"</font></td><td>"+placer+"</td></TR>";thisRabatt=0;if(doRabatt==1){if(doRabattpercent==1&&makeTotal >= Rabattstart) thisRabatt=makeTotal * RabattpercentValue/100;else if(doRabattfixed==1&&makeTotal >= Rabattstart) thisRabatt=RabattfixedValue;thisRabatt=format(thisRabatt, 2);makeTotal1=makeTotal1 - thisRabatt*(makeTotal1/makeTotal);makeTotal2=makeTotal2 - thisRabatt*(makeTotal2/makeTotal);if(thisRabatt>0) tab+="<TR><td colspan=2>"+placer+"</TD><TD COLSPAN=3>"+bfont+Rabatttxt+"</font></TD><td align=right>"+bfont+"-"+thisRabatt+"</font></td><td>"+placer+"</td></TR>";}makeTotal=makeTotal1+makeTotal2;thisExtra=0;if(doExtra==1){if(doExtrapercent==1&&makeTotal >= Extrastart) thisExtra=makeTotal * ExtrapercentValue/100;else if(doExtrafixed==1&&makeTotal >= Extrastart) thisExtra=ExtrafixedValue;thisExtra=format(thisExtra, 2);makeTotal1=makeTotal1+thisExtra*(makeTotal1/makeTotal);makeTotal2=makeTotal2+thisExtra*(makeTotal2/makeTotal);if(thisExtra>0) tab+="<TR><td colspan=2>"+placer+"</TD><TD COLSPAN=3>"+bfont+Extratxt+"</font></TD><td align=right>"+bfont+thisExtra+"</font></td><td>"+placer+"</td></TR>";}makeTotal=makeTotal1+makeTotal2;delivercost=0;peritemval=1;if(deltotal>1&&doBuydelivery==1) delivercost=Buydelivery;if(doBuyfreedelivery==1&&makeTotal >= Buyfreedelivery) delivercost=0, peritemval=0;if(dodeliveryperITEM==1) delivery=delivercost+(peritemval*itmsquant*deliveryperITEM)+specialdel;else delivery=delivercost+specialdel;makeTotal1+=delivery;makeTotal=makeTotal1+makeTotal2;if(ItemsNettoPrice==1) MWSteuer1=makeTotal1 * (BuyTAXpercent/100), MWSteuer2=makeTotal2 * (BuyTAXpercent2/100);else MWSteuer1=makeTotal1 * (BuyTAXpercent/(100+BuyTAXpercent)), MWSteuer2=makeTotal2 * (BuyTAXpercent2/(100+BuyTAXpercent2));MWSteuertotal=MWSteuer1+MWSteuer2;tab+="<TR><td colspan=2>"+placer+"</TD><TD COLSPAN=3>"+bfont+Buydeliverytxt+"</font></TD><td align=right>"+bfont+format(delivery, 2)+"</font></td><td>"+placer+"</td></TR>";tab+="<tr><td>"+placer+"</td><td colspan=5 align=center>"+t100+"<tr><td bgcolor="+Tabletabline+">"+placer2+"=1 HEIGHT=1></TD></TR></table></TD><td>"+placer+"</td></TR>";mwsttab="<TR><td colspan=2>"+placer+"</TD><TD COLSPAN=3>"+bfont+BuyTaxtxt+currency+"</font></TD><td align=right>"+bfont+format(MWSteuer1,2)+"</font></td><td>"+placer+"</td></TR>";mwst2tab="<TR><td colspan=2>"+placer+"</TD><TD COLSPAN=3>"+bfont+BuyTaxtxt2+currency+"</font></TD><td align=right>"+bfont+format(MWSteuer2, 2)+"</font></td><td>"+placer+"</td></TR>";if(NettoTotal==0&&ItemsNettoPrice==1&&BuyshowTAX==1){totalplusdelivery=makeTotal+MWSteuer1+MWSteuer2;totalEURO=makeTotal / EUROrate;if(MWSteuer1>0) tab+=mwsttab;if(MWSteuer2>0) tab+=mwst2tab;} else{totalplusdelivery=makeTotal;totalEURO=0;totalEURO=totalplusdelivery / EUROrate;}tab+="<TR><td>"+placer+"</TD><TD COLSPAN=4>"+bfont+"<b>"+Buytotalplusdeliverytxt+" "+currency+"</b></font>";tab+=hiddenfield+"'grandTotal' SIZE=8 VALUE='"+format(grandTotal, 2)+"'>";tab+=hiddenfield+"'thisRabatt' VALUE='"+thisRabatt+"'>";tab+=hiddenfield+"'thisExtra' VALUE='"+thisExtra+"'>";tab+=hiddenfield+"'delivery' VALUE='"+format(delivery, 2)+"'>";tab+=hiddenfield+"'totalplusdelivery' VALUE='"+format(totalplusdelivery, 2)+"'>";if(BuyshowEURO==1) tab+=hiddenfield+"'totalEURO' VALUE='"+format(totalEURO, 2)+"'>";tab+=hiddenfield+"'Tax2' VALUE='"+format(MWSteuer2, 2)+"'>";tab+=hiddenfield+"'Tax1' VALUE='"+format(MWSteuer1, 2)+"'>";tab+=hiddenfield+"'Tax' VALUE='"+format(MWSteuertotal, 2)+"'>";availalltxt="";if(avail1!="") availalltxt+=avail1+" "+avail1txt+". ";if(avail2!="") availalltxt+=avail2+" "+avail2txt+". ";if(avail3!="") availalltxt+=avail3+" "+avail3txt+". ";tab+=hiddenfield+"'itmCount' VALUE='"+i+"'>";if(showPositiontxt==0){ availalltxt=""; }tab+=hiddenfield+"'showPositiontxt' VALUE='"+showPositiontxt+"'>";tab+=hiddenfield+"'availalltxt' VALUE='"+availalltxt+"'>";tab+="</TD><td align=right>"+bfont+"<u>"+format(totalplusdelivery, 2)+"</u></font></td><td>"+placer+"</td></TR>";if(BuyshowEURO==1){ tab+="<TR><td>"+placer+"</TD><TD COLSPAN=4>"+bfont+"<b>"+Buytotalplusdeliverytxt+" "+currency2+"</b></font></TD><td align=right>"+bfont+"<u>"+format(totalEURO, 2)+"</u></font></td></td><td>"+placer+"</td></TR>";}if(ItemsNettoPrice!=1&&BuyshowTAX==1){if(MWSteuer1>0) tab+=mwsttab;if(MWSteuer2>0) tab+=mwst2tab;}tab+="<tr><td>"+placer+"</td><td colspan=5><font face="+BuyFont+" size='1' color="+PositionColor+"><br>";tab+=availalltxt+"</font>"+placer+"</td><td>"+placer+"</td></TR>";}tab+="<tr bgcolor='"+BuyTableFootColor+"'><td>"+placer2+"'6' HEIGHT='3'></td><td>"+placer2+"'6' HEIGHT='3'></TD><td>"+placer2+innerwith+" HEIGHT='3'></TD><TD>"+placer2+"'38' HEIGHT='3' BORDER='0'></TD><TD>"+placer2+BuyPriceWidth+" HEIGHT='3'></TD><TD>"+placer2+BuyPriceWidth+" HEIGHT='3'></TD><td>"+placer2+"'6' HEIGHT='3'></td></TR>";tab+="</TABLE>";if(dotborder==1) tab+="</td></tr></table>";return tab;}function clearwhenorder(){document.cart.cartData.value="", showCart();}var suchpopup="<select name='searchpopup' size='1' tabindex='4'><option value='0'>"+spopttxt+"</option>";suchpopup+=suchpopupoptions;if(showAllItems==1){suchpopup+="<option value='0'>"+optionallline+"</option>";suchpopup+="<option value='All'>"+optionalltext+"</option>";}suchpopup+="</select>";suchpopup+="<input type=hidden name=ShopDir value='"+ShopDir+"'>";function dosize(selnr){var Sizename=eval("parent.main.document.itemsform.item"+selnr+"size");selSize=eval("parent.main.document.itemsform.itemspecial"+selnr+".options[parent.main.document.itemsform.itemspecial"+selnr+".selectedIndex].value");Sizename.value=selSize;}function doplus(selnr){var Plusname=eval("parent.main.document.itemsform.item"+selnr+"plus");selPlus=eval("parent.main.document.itemsform.itemplus"+selnr+".options[parent.main.document.itemsform.itemplus"+selnr+".selectedIndex].value");Plusname.value=selPlus;}document.writeln(sgreintrag);thisgoitmnr=1;var tabArray=new Array();var thistabArray="";function putthisitm(itmi){pmloc=parent.main.location.href;if(pmloc.indexOf('/infos/')==-1) thistabArray="<form name='itemsform'>"+tabArray[itmi];}function dohl(){if(dohighlights==1){var offset=0;var HArtikelArray=new Array();var counter=0;if(allhighs>""){while (allhighs.length>0){offset=allhighs.indexOf("]");HArtikelArray[counter++]=allhighs.substring(0, offset);allhighs=allhighs.substring(offset+1, allhighs.length);}showhitmtable=makeTableItems(HArtikelArray, false, true);}}if(gotoitmpur.length>1&&urlsearchisover==false){gookarray=gotoitmpur.split(",");if(gookarray.length>0) hgruppe=gookarray[0], hartikel=gookarray[1];urlsearchisover=true;hselect(hgruppe,hartikel);} else{parent.main.location.href="../etc/front.htm";}}var namef="";function doformok(thisname, thiswert){var isda=0;for(var i=0; i<formarray.length; i++){var ssform=new Array();ssform=formarray[i].split("|");if(ssform[0]==thisname){formarray[i]=thisname+"|"+thiswert;return;}}formarray[formarray.length++]=thisname+"|"+thiswert;}setTimeout('dobottom()', 4500);function dobottom(){if(dobottomsearch==1) parent.bottom.location.href="../etc/quicks.htm";else parent.bottom.location.href="../etc/bottom.htm";}if(parent.mainmenu) parent.mainmenu.location.href="../etc/mmenu.htm";setTimeout('showCart()', 500);setTimeout('showCartstart()',3000);if(navversion=='N'&&bVer<5) setTimeout('showCartstart()',4000);var gookarray=new Array();var hgruppe, hartikel;var gotoitm=top.window.location.search;var gotoitmpur=gotoitm.substring(1, gotoitm.length);var urlsearchisover=new Boolean(false);setTimeout('dohl()',5000);setTimeout('isload()',6000);var issearch=new Boolean(false);var dopop=1;var isloadok=0;function isload(){ isloadok=1 }var Buydeliveryvar=0, Buysendvar=0, specialdel=0;var formarray=new Array();if(specialdefault==1) formarray["ModeOfPayment"]=0, specialdel+=Buyspecialdelivery, Buydeliveryvar=1;if(senddefault==1) formarray["ModeOfSend"]=0, specialdel+=Buysenddelivery, Buysendvar=1;function dodesign(c3d,cwi,bu3d){Cart3D=c3d;CartWired=cwi;Button3D=bu3d;setTimeout('showCart()', 500);}function doitmdesign(ifill,iframed,isolid,colmode,imgmode){if(ifill!=3) itmtabfilled=ifill;if(iframed!=3) itmtabframed=iframed;if(isolid!=3) itmtabsolid=isolid;if(iframed!=3) itmframed=iframed;if(ifill!=3) itmfilled=ifill;if(isolid!=3) itmsolid=isolid;if(colmode!=3) itmdo2cols=colmode;if(imgmode!=3) itmdoimg=imgmode;pmloc=parent.main.location.href;if(pmloc.indexOf("items.htm")!=-1) parent.main.location.href="aload.htm";else setTimeout('hselect("2010")', 500);}function setuptabs(tabtemp,tabwidth,tabcol,tabrcol,repl,div){thisvargo=tabtemp;thisvargo=thisvargo.replace(/400/g, tabwidth);thisvargo=thisvargo.replace(/left/, vargoalign);thisvargo=thisvargo.replace(/<imgleer>/g, imgklleer);thisvargo=thisvargo.replace(/<imgrandleer>/g, imgleer+"4 height=4>");if(itmtabfilled==1) thisvargo=thisvargo.replace(/=red/g, tabcol);else thisvargo=thisvargo.replace(/ bgcolor=red/g, "");if(itmtabframed==0&&itmtabfilled==0) thisvargo=thisvargo.replace(/ bgcolor=black/g, "");else thisvargo=thisvargo.replace(/=black/g, tabrcol);thisvargo=thisvargo.replace(/<replthis>/, repl);thisvargo=thisvargo.replace(/<repldiv>/, div);return thisvargo;}function shortentxt(tlength,mytxt){isuml=mytxt.substring(tlength, tlength+5).indexOf(";");if(isuml!=-1) tlength=tlength+isuml+1;return mytxt.substring(0, tlength)+" ...";}