function createRequestObject(){ var xmlHttp = null; try { xmlHttp = new XMLHttpRequest(); } catch(e) { try { xmlHttp = new ActiveXObject("Microsoft.XMLHTTP"); } catch(e) { try { xmlHttp = new ActiveXObject("Msxml2.XMLHTTP"); } catch(e) { xmlHttp = null; } } } return xmlHttp; } var wbglobal = ""; var http = createRequestObject(); function getInfo(itemCode,session,lang){wbglobal=itemCode;http.open('get','/ajax/data.php?id='+itemCode+'&SID='+session+'&lang='+lang);http.onreadystatechange=handleInfo;http.send(null);} function putBasket(itemCode,session,lang,action){wbglobal=itemCode;http.open('get','/ajax/data.php?id='+itemCode+'&SID='+session+'&lang='+lang+'&bt=1&action='+action);http.onreadystatechange=handleBasket;http.send(null);} function getInfoK(itemCode,session,lang){wbglobal=itemCode;http.open('get','/ajax/data.php?id='+itemCode+'&SID='+session+'&lang='+lang);http.onreadystatechange=handleInfoK;http.send(null);} function getInfoT(itemCode,session,lang,bt){wbglobal=itemCode;http.open('get','/ajax/data.php?id='+itemCode+'&SID='+session+'&lang='+lang+'&bt=bt');http.onreadystatechange=handleInfoT;http.send(null);} function getBeleg(itemCode){wbglobal=itemCode;http.open('get','/ajax/data.php?id='+itemCode+'&top=beleg');http.onreadystatechange=handleInfoBeleg;http.send(null);} function getTB(itemCode,f,art,amount){http.open('get','/products.php?page=track&id='+itemCode+'&f='+f+'&fart='+art+'&amount='+amount);http.onreadystatechange=handleTB;http.send(null);} function getIA(itemCode,f,art,amount,val,tc){document.getElementById('InteractiveContent').innerHTML = '


Einen Augenblick bitte...
...es wird gesucht...<\/div>';http.open('get','/products.php?page=track&id='+itemCode+'&f='+f+'&fart='+art+'&amount='+amount+'&val='+val+'&tc='+tc);http.onreadystatechange=handleIA;http.send(null);} function getTP(itemCode,f,art){http.open('get','/products.php?page=quicksearch&id='+itemCode+'&f='+f+'&fart='+art);http.onreadystatechange=handleTP;http.send(null);} function getUP(itemCode,man){document.getElementById('UpdateContent').innerHTML='
<\/div>';http.open('get','/ajax/track/updatefiles.php?id='+itemCode+'&man='+man);http.onreadystatechange=handleUP;http.send(null);} function seeInfo(itemCode,session,query,query1,rb){wbglobal=itemCode;http.open('get','/ajax/data.php?id='+itemCode+'&SID='+session+'&top=search&query='+query+'&query1='+query1+'&rb='+rb);http.onreadystatechange=handleInfoSee;http.send(null);} function seeMenu(itemCode,session){wbglobal=itemCode;http.open('get','/ajax/data.php?id='+itemCode+'&top=menu&SID='+session);http.onreadystatechange=handleInfoMenu;http.send(null);} function getI2L(itemCode,anchor,port,service){wbglobal=anchor;document.getElementById('iptoc'+anchor).innerHTML='
<\/div>';http.open('get','/ajax/ip.php?ip='+itemCode+'&port='+port+'&service='+service);http.onreadystatechange=handleI2L;http.send(null);} function handleInfo(){if(http.readyState==4&&http.status==200){var response=http.responseText;document.getElementById('art'+wbglobal).innerHTML=response;}} function handleBasket(){if(http.readyState==4&&http.status==200){var response=http.responseText;document.getElementById('arttop'+wbglobal).innerHTML=response;}} function handleInfoK(){if(http.readyState==4&&http.status==200){var response=http.responseText;document.getElementById('artk'+wbglobal).innerHTML=response;}} function handleInfoT(){if(http.readyState==4&&http.status==200){var response=http.responseText;document.getElementById('artt'+wbglobal).innerHTML=response;}} function handleInfoSee(){if(http.readyState==4&&http.status==200){var response=http.responseText;document.getElementById('seeart'+wbglobal).innerHTML=response;}} function handleInfoMenu(){if(http.readyState==4&&http.status==200){var response=http.responseText;document.getElementById('mm'+wbglobal).innerHTML=response;}} function handleInfoBeleg(){if(http.readyState==4&&http.status==200){var response=http.responseText;document.getElementById('seebeleg'+wbglobal).innerHTML=response;}} function handleTB(){if(http.readyState==4&&http.status==200&&http.responseText!=null&&http.responseText!=''){var response=http.responseText;if (response.indexOf('|' != -1)){ document.getElementById('BasketContent').innerHTML=response;document.styleSheets[0].addRule("BasketContent:after", "content: ' ';");}}} function handleIA(){if(http.readyState==4&&http.status==200&&http.responseText!=null&&http.responseText!=''){var response=http.responseText;if (response.indexOf('|' != -1)){ document.getElementById('InteractiveContent').innerHTML=response;document.styleSheets[0].addRule("InteractiveContent:after", "content: ' ';");}}} function handleTP(){if(http.readyState==4&&http.status==200&&http.responseText!=null&&http.responseText!=''){var response=http.responseText;if (response.indexOf('|' != -1)){ document.getElementById('ProduktContent').innerHTML=response;document.styleSheets[0].addRule("ProduktContent:after", "content: ' ';");}}} function handleUP(){if(http.readyState==4&&http.status==200){var response=http.responseText;document.getElementById('UpdateContent').innerHTML=response;}} function handleI2L(){if(http.readyState==4&&http.status==200){var response=http.responseText;document.getElementById('iptoc'+wbglobal).innerHTML=response;}}