/*
//START SITEMAP SCRIPT
<?

$group[0] = array(0,"Sonderangebote","pi-1142061123.htm","null","0001");
$group[1] = array(1,"Wohnen und Einrichten","pi1486399407.htm","null","001");
$group[2] = array(2,"Shoji","pi1022073750.htm","1","001-1..");
$group[3] = array(3,"Anwendungsbeispiele","pi1240941326.htm","2","001-1-2");
$group[4] = array(4,"Preisbeispiele","pi-689861625.htm","2","001-1-3..");
$group[5] = array(5,"Beispiel 1","pi-667882335.htm","4","001-3-1");
$group[6] = array(6,"Beispiel 2","pi-1200472498.htm","4","001-3-2");
$group[7] = array(7,"Beispiel 3","pi-1651570761.htm","4","001-3-3");
$group[8] = array(8,"Beispiel 4","pi1121084885.htm","4","001-3-4");
$group[9] = array(9,"Beispiel 5","pi1112807045.htm","4","001-3-5");
$group[10] = array(10,"Beispiel &#0034;YUKI&#0034;","pi1888232224.htm","4","001-3-6");
$group[11] = array(11,"Produktdetails","pi-841824980.htm","2","001-1-4");
$group[12] = array(12,"Preisliste","pi1120561659.htm","2","001-1-5");
$group[13] = array(13,"Online Anfrage","pi-2009864388.htm","2","001-1-6");
$group[14] = array(14,"Papier","pi1096802945.htm","2","001-2-6..");
$group[15] = array(15,"Wandbeläge aus Naturprodukten","pi-1153793280.htm","1","001-2..");
$group[16] = array(16,"Tatami","pi-1226476404.htm","1","001-3");
$group[17] = array(17,"Licht","pi-1274329955.htm","1","001-4");
$group[18] = array(18,"Leuchten im Japan-Style","pi1035035491.htm","17","001-4-1");
$group[19] = array(19,"Original japanische Papierleuchten","pi1137398231.htm","17","001-4-11");
$group[20] = array(20,"Tischleuchten","pi-168779764.htm","17","001-4-2");
$group[21] = array(21,"Deckenleuchten","pi486830080.htm","17","001-4-5");
$group[22] = array(22,"Stehleuchten","pi-510412535.htm","17","001-4-6");
$group[23] = array(23,"Wandleuchten","pi1075386641.htm","17","001-4-7");
$group[24] = array(24,"Pendel +Zugleuchten","pi1948580375.htm","17","004-1-4");
$group[25] = array(25,"Möbel","pi1089962203.htm","1","001-5");
$group[26] = array(26,"Modernes Wohnen","pi1224585744.htm","25","001-5-1");
$group[27] = array(27,"UZUME","pi-1060869777.htm","26","koll1");
$group[28] = array(28,"TORI","pi1641472429.htm","26","koll2");
$group[29] = array(29,"COSMIC","pi197597546.htm","26","koll3");
$group[30] = array(30,"SUSANOH","pi780076925.htm","26","koll4");
$group[31] = array(31,"FIGO","pi1379851842.htm","26","koll5");
$group[32] = array(32,"MIKADO","pi-1384885340.htm","26","koll6");
$group[33] = array(33,"Asiatische Möbel","pi903843213.htm","25","001-5-2");
$group[34] = array(34,"Stoffe","pi-1150645688.htm","1","001-6");
$group[35] = array(35,"Inside","pi-867998376.htm","1","001-6.....");
$group[36] = array(36,"Japanische Türvorhänge","pi-371619710.htm","35","005-2");
$group[37] = array(37,"Accessoires","pi-253649260.htm","35","005-3");
$group[38] = array(38,"Rollos","pi1631152744.htm","35","005-4");
$group[39] = array(39,"Paravent","pi-367057274.htm","35","005-5");
$group[40] = array(40,"Sitzen","pi1345687344.htm","35","005-6");
$group[41] = array(41,"Tische","pi1027593870.htm","35","005-7");
$group[42] = array(42,"Hygiene","pi-1095097043.htm","35","005-9");
$group[43] = array(43,"Schlafen und Träumen","pi-1121020458.htm","null","006");
$group[44] = array(44,"Betten","pi-1645044251.htm","43","006-1");
$group[45] = array(45,"Betten-sofort lieferbar","pi240953690.htm","43","006-1-1");
$group[46] = array(46,"Futons","pi1618741236.htm","43","006-2");
$group[47] = array(47,"Baumwolle","pi1062576051.htm","46","006-2-1");
$group[48] = array(48,"Baumwolle-Kokos","pi-1119361928.htm","46","006-2-2");
$group[49] = array(49,"Wolle-Kokos","pi-1561921255.htm","46","006-2-3");
$group[50] = array(50,"Sandwich","pi-1348059290.htm","46","006-2-4");
$group[51] = array(51,"Komfort","pi-1733375761.htm","46","006-2-5");
$group[52] = array(52,"Hanf","pi-994100676.htm","46","006-2-6");
$group[53] = array(53,"Kobe- Futon Lounge Chair","pi-1081910759.htm","46","006-2-8");
$group[54] = array(54,"Futonbezüge","pi1172329027.htm","43","006-21");
$group[55] = array(55,"Wandfutons","pi1172680512.htm","43","006-2-6-1");
$group[56] = array(56,"Futons- sofort lieferbar...","pi1109706772.htm","43","006-2-7");
$group[57] = array(57,"Schlafsofas","pi1035294840.htm","43","006-3");
$group[58] = array(58,"Lattenroste","pi1010896278.htm","43","006-4");
$group[59] = array(59,"Wear","pi1068560713.htm","null","007");
$group[60] = array(60,"Kimonos","pi37110412.htm","59","007-1");
$group[61] = array(61,"Yukata","pi-909281671.htm","59","007-2");
$group[62] = array(62,"Japanische Haussandalen","pi-72453258.htm","59","007-4");
$group[63] = array(63,"T-Shirts","pi-961575090.htm","59","007-5");
$group[64] = array(64,"Genuss für die Sinne","pi317055097.htm","null","008");
$group[65] = array(65,"Japanischer Tee","pi1532308294.htm","64","008-1");
$group[66] = array(66,"Feines japanisches Geschirr","pi-1898161436.htm","64","008-2");
$group[67] = array(67,"Sounds of Asia","pi1097137021.htm","64","008-3");
$group[68] = array(68,"Japanische Kalligraphie","pi1108203422.htm","64","008-4");
$group[69] = array(69,"Service","pi-434978348.htm","null","009");
$group[70] = array(70,"Ladengeschäft","pi1132835517.htm","null","009-1");
$group[71] = array(71,"Referenzobjekte","pi1152791042.htm","null","009-2");


?>
//END SITEMAP SCRIPT
*/

//
function miniCart(){
var prdCount = 0, prdString = "", subTotal = (xmlConfig.cartSubTotal > 0)?xmlConfig.cartSubTotal:0;
        if(xmlOHeader.childNodes.length==0) subTotal = 0;
        for(var i=0;i<xmlOHeader.childNodes.length;i++){
                prdCount = prdCount+(parseInt(xmlOHeader.childNodes[i].QuantityAmount));
                };
        prdString += "Produkte:<strong>&nbsp;" + prdCount + "</strong><br>";
        prdString += "Summe:<strong>&nbsp;" + TFormatCurrency(subTotal, objPriCurrency) + "</strong><br><br>";
        prdString += "<a class=\"WAGRUNAV\" href=\"orderform." + xmlConfig.fileExtension + "\">";
        prdString += "<strong>" + '<img src="assets/images/pfeil-gut.gif" width="10" height="8" border="0" align="absmiddle" hspace="0" vspace="0" class="catnav">'+""+" Zum Bestellschein</strong></a>";
        return(prdString);
        };
//
var TNavDropDownIndent = ".."
//
function NavLinkedDropDownList(){
        return(TNavDropDownList(true));
        };
//
function NavDropDownList(){
        return(TNavDropDownList(false));
        };
//
function storeSearchParameters(optionValueArray){
var xmlSearchEngine = xmlConfig.getFirstItem("SearchEngine");
        if(optionValueArray[0]!="null"&&optionValueArray[0]!="nada"){
                xmlSearchEngine.categoryIndex = optionValueArray[0];
                xmlSearchEngine.categoryId = optionValueArray[2];
                xmlSearchEngine.ByCategory = "1";
                }
        else{
                xmlSearchEngine.categoryIndex = "null";
                xmlSearchEngine.categoryId = "null";
                xmlSearchEngine.ByCategory = "0";
                };
        };
//
function TNavDropDownList(asLink){
var rString = "";
var myNavIndex = "";
        if(asLink) myNavIndex = xmlConfig.navIndex;
        else myNavIndex = xmlConfig.getFirstItem("SearchEngine").categoryIndex;
        if(!(myNavIndex=="null"||myNavIndex=="")){ navigation[parseInt(myNavIndex)].active = true; };
        if(asLink) rString += "<select name=\"navselect\" onChange=\"changeLoc(this[this.selectedIndex].value.split(';;')[0],this[this.selectedIndex].value.split(';;')[1])\">"
        else rString += "<select name=\"navselect\" onChange=\"storeSearchParameters(this[this.selectedIndex].value.split(';;'))\">";
        rString += "<option value=\"nada;;start.htm;;null\"></option>";
        for(var i=0; i<navigation.length; i++){
                if(navigation[i].parentId==null){
                        rString += TNavDropDownItem(navigation[i], "");
                        };
                };
        rString += "</select>";
        return(rString);
        };
//
function TNavDropDownItem(navItem, cptPreFix){
var rString = "";
        rString += "<option value=\"" + navItem.id + ";;" + navItem.linkUrl + ";;" + navItem.categoryId + "\"";
        if(navItem.active) rString += " selected";
        rString += ">" + cptPreFix + navItem.caption + "</option>";
        for(var i=0; i<navigation.length;i++) if(navigation[i].parentId==navItem.id) rString += TNavDropDownItem(navigation[i], cptPreFix + TNavDropDownIndent);
        return(rString);
        };
//
        function openItem(itemId){
        var objActiveItem = null;
                if(itemId!=null){
                        objActiveItem = navigation[itemId];
                        if(objActiveItem!=null){
                                objActiveItem.open = true;
                                openItem(objActiveItem.parentId);
                                };
                        };
                };

        function activateItem(itemId){
        var objActiveItem = null;
                if(itemId!=null){
                        objActiveItem = navigation[itemId];
                        if(objActiveItem!=null){
                                objActiveItem.active = true;
                                openItem(objActiveItem.parentId);
                                };
                        };
                };

        function itemHasSubelems(itemId){
                for(var i=0; i<navigation.length;i++) if(navigation[i].parentId==itemId) return(true);
                return(false);
                };

        function TNavLinkList(){
        var strHTML = "";
                for(var i=0; i<navigation.length; i++) if(navigation[i].parentId==null) strHTML += printItem(navigation[i], 0);
                return(strHTML);
                };

        function printItem(navItem, depth){
        var strHTML = "";
        var elemWidth = 1;
                strHTML += '<table width="100%" class="CATLINKS1STPARENT" border="0" cellpadding="1" cellspacing="0" >';
                strHTML += "<tr>"
                for(var i=0; i<depth; i++){
                        strHTML += "<td";
                        if(navItem.active) strHTML += " class=\"ACTIVECATEGORY\""
                        else strHTML += " class=\"CATLINKS1STBULLET\"";
                        strHTML += ' width="1%"><img src="assets/images/spacer.gif" width="10" height="1" height="1" alt="" border="0"></td>';
                        };
                if(navItem.active) strHTML += '<td width="1%" class="ACTIVECATEGORY"><img src="assets/images/bulletcatact.gif" width="14" height="13" border="0" align="bottom" hspace="0" vspace="0" class="catnav"></td>'
                else if(navItem.open&&itemHasSubelems(navItem.id)) strHTML += '<td width="1%" class="CATLINKS1STBULLET"><img src="assets/images/pfeil-gut.gif" width="10" height="8" border="0" align="bottom" hspace="0" vspace="0" class="catnav"></td>'
                else strHTML += '<td width=\"1%\"><img src="assets/images/pfeil-gut.gif" width="10" height="8" border="0" align="bottom" hspace="0" vspace="0" class="catnav"></td>'
                strHTML += "<td";
                if(navItem.active) strHTML += " class=\"ACTIVECATEGORY\""
                else strHTML += " class=\"CATLINKS1STBULLET\"";
                strHTML += "width=\"" + ( 100 - ( depth + 1 ) ) + "%\">"
                        + "<a href=\"" + navItem.linkUrl + "?categoryId=" + escape(navItem.id) + "\" class=\"WAGRUNAV\">"
                        + navItem.caption
                        + "</a>"
                        + "</td>";
                strHTML += "</tr>"
                strHTML += "</table>"
                depth++;
                if(navItem.active||navItem.open){
                        for(var i=0; i<navigation.length;i++) if(navigation[i].parentId==navItem.id) strHTML += printItem(navigation[i], depth);
                        };
                return(strHTML);
                };


//

// navElem
        function navElem(id,caption,linkUrl,parentId,categoryId){
                this.id = id;
                this.caption = caption;
                this.linkUrl = linkUrl;
                this.parentId = parentId;
                this.active = false;
                this.open = false;
                this.categoryId = categoryId;
                };
// navigation
var navigation = new Array();
//
navigation[0] = new navElem(0,"Sonderangebote","pi-1142061123.htm",null,"0001");
navigation[1] = new navElem(1,"Wohnen und Einrichten","pi1486399407.htm",null,"001");
navigation[2] = new navElem(2,"Shoji","pi1022073750.htm",1,"001-1..");
navigation[3] = new navElem(3,"Anwendungsbeispiele","pi1240941326.htm",2,"001-1-2");
navigation[4] = new navElem(4,"Preisbeispiele","pi-689861625.htm",2,"001-1-3..");
navigation[5] = new navElem(5,"Beispiel 1","pi-667882335.htm",4,"001-3-1");
navigation[6] = new navElem(6,"Beispiel 2","pi-1200472498.htm",4,"001-3-2");
navigation[7] = new navElem(7,"Beispiel 3","pi-1651570761.htm",4,"001-3-3");
navigation[8] = new navElem(8,"Beispiel 4","pi1121084885.htm",4,"001-3-4");
navigation[9] = new navElem(9,"Beispiel 5","pi1112807045.htm",4,"001-3-5");
navigation[10] = new navElem(10,"Beispiel &#0034;YUKI&#0034;","pi1888232224.htm",4,"001-3-6");
navigation[11] = new navElem(11,"Produktdetails","pi-841824980.htm",2,"001-1-4");
navigation[12] = new navElem(12,"Preisliste","pi1120561659.htm",2,"001-1-5");
navigation[13] = new navElem(13,"Online Anfrage","pi-2009864388.htm",2,"001-1-6");
navigation[14] = new navElem(14,"Papier","pi1096802945.htm",2,"001-2-6..");
navigation[15] = new navElem(15,"Wandbeläge aus Naturprodukten","pi-1153793280.htm",1,"001-2..");
navigation[16] = new navElem(16,"Tatami","pi-1226476404.htm",1,"001-3");
navigation[17] = new navElem(17,"Licht","pi-1274329955.htm",1,"001-4");
navigation[18] = new navElem(18,"Leuchten im Japan-Style","pi1035035491.htm",17,"001-4-1");
navigation[19] = new navElem(19,"Original japanische Papierleuchten","pi1137398231.htm",17,"001-4-11");
navigation[20] = new navElem(20,"Tischleuchten","pi-168779764.htm",17,"001-4-2");
navigation[21] = new navElem(21,"Deckenleuchten","pi486830080.htm",17,"001-4-5");
navigation[22] = new navElem(22,"Stehleuchten","pi-510412535.htm",17,"001-4-6");
navigation[23] = new navElem(23,"Wandleuchten","pi1075386641.htm",17,"001-4-7");
navigation[24] = new navElem(24,"Pendel +Zugleuchten","pi1948580375.htm",17,"004-1-4");
navigation[25] = new navElem(25,"Möbel","pi1089962203.htm",1,"001-5");
navigation[26] = new navElem(26,"Modernes Wohnen","pi1224585744.htm",25,"001-5-1");
navigation[27] = new navElem(27,"UZUME","pi-1060869777.htm",26,"koll1");
navigation[28] = new navElem(28,"TORI","pi1641472429.htm",26,"koll2");
navigation[29] = new navElem(29,"COSMIC","pi197597546.htm",26,"koll3");
navigation[30] = new navElem(30,"SUSANOH","pi780076925.htm",26,"koll4");
navigation[31] = new navElem(31,"FIGO","pi1379851842.htm",26,"koll5");
navigation[32] = new navElem(32,"MIKADO","pi-1384885340.htm",26,"koll6");
navigation[33] = new navElem(33,"Asiatische Möbel","pi903843213.htm",25,"001-5-2");
navigation[34] = new navElem(34,"Stoffe","pi-1150645688.htm",1,"001-6");
navigation[35] = new navElem(35,"Inside","pi-867998376.htm",1,"001-6.....");
navigation[36] = new navElem(36,"Japanische Türvorhänge","pi-371619710.htm",35,"005-2");
navigation[37] = new navElem(37,"Accessoires","pi-253649260.htm",35,"005-3");
navigation[38] = new navElem(38,"Rollos","pi1631152744.htm",35,"005-4");
navigation[39] = new navElem(39,"Paravent","pi-367057274.htm",35,"005-5");
navigation[40] = new navElem(40,"Sitzen","pi1345687344.htm",35,"005-6");
navigation[41] = new navElem(41,"Tische","pi1027593870.htm",35,"005-7");
navigation[42] = new navElem(42,"Hygiene","pi-1095097043.htm",35,"005-9");
navigation[43] = new navElem(43,"Schlafen und Träumen","pi-1121020458.htm",null,"006");
navigation[44] = new navElem(44,"Betten","pi-1645044251.htm",43,"006-1");
navigation[45] = new navElem(45,"Betten-sofort lieferbar","pi240953690.htm",43,"006-1-1");
navigation[46] = new navElem(46,"Futons","pi1618741236.htm",43,"006-2");
navigation[47] = new navElem(47,"Baumwolle","pi1062576051.htm",46,"006-2-1");
navigation[48] = new navElem(48,"Baumwolle-Kokos","pi-1119361928.htm",46,"006-2-2");
navigation[49] = new navElem(49,"Wolle-Kokos","pi-1561921255.htm",46,"006-2-3");
navigation[50] = new navElem(50,"Sandwich","pi-1348059290.htm",46,"006-2-4");
navigation[51] = new navElem(51,"Komfort","pi-1733375761.htm",46,"006-2-5");
navigation[52] = new navElem(52,"Hanf","pi-994100676.htm",46,"006-2-6");
navigation[53] = new navElem(53,"Kobe- Futon Lounge Chair","pi-1081910759.htm",46,"006-2-8");
navigation[54] = new navElem(54,"Futonbezüge","pi1172329027.htm",43,"006-21");
navigation[55] = new navElem(55,"Wandfutons","pi1172680512.htm",43,"006-2-6-1");
navigation[56] = new navElem(56,"Futons- sofort lieferbar...","pi1109706772.htm",43,"006-2-7");
navigation[57] = new navElem(57,"Schlafsofas","pi1035294840.htm",43,"006-3");
navigation[58] = new navElem(58,"Lattenroste","pi1010896278.htm",43,"006-4");
navigation[59] = new navElem(59,"Wear","pi1068560713.htm",null,"007");
navigation[60] = new navElem(60,"Kimonos","pi37110412.htm",59,"007-1");
navigation[61] = new navElem(61,"Yukata","pi-909281671.htm",59,"007-2");
navigation[62] = new navElem(62,"Japanische Haussandalen","pi-72453258.htm",59,"007-4");
navigation[63] = new navElem(63,"T-Shirts","pi-961575090.htm",59,"007-5");
navigation[64] = new navElem(64,"Genuss für die Sinne","pi317055097.htm",null,"008");
navigation[65] = new navElem(65,"Japanischer Tee","pi1532308294.htm",64,"008-1");
navigation[66] = new navElem(66,"Feines japanisches Geschirr","pi-1898161436.htm",64,"008-2");
navigation[67] = new navElem(67,"Sounds of Asia","pi1097137021.htm",64,"008-3");
navigation[68] = new navElem(68,"Japanische Kalligraphie","pi1108203422.htm",64,"008-4");
navigation[69] = new navElem(69,"Service","pi-434978348.htm",null,"009");
navigation[70] = new navElem(70,"Ladengeschäft","pi1132835517.htm",null,"009-1");
navigation[71] = new navElem(71,"Referenzobjekte","pi1152791042.htm",null,"009-2");

// getNavElementByCatID
function getNavElementByCatID(categoryId){
        for(var i=0; i<navigation.length; i++){
                if(navigation[i].categoryId==categoryId){
                        return(navigation[i]);
                        break;
                        };
                };
                return(null);
        };
// changeLoc
function changeLoc(id,linkUrl){
        if(id!="nada"){
                xmlConfig.navIndex = id.toString();
                if(xmlConfig.getFirstItem("SearchEngine").ByCategory == "1"){
                        if(id=="null") xmlConfig.getFirstItem("SearchEngine").categoryId = "null"
                        else xmlConfig.getFirstItem("SearchEngine").categoryId = navigation[id].categoryId;
                        xmlConfig.getFirstItem("SearchEngine").categoryIndex = id;
                        }
                else{
                        xmlConfig.getFirstItem("SearchEngine").categoryId = "null";
                        xmlConfig.getFirstItem("SearchEngine").categoryIndex = "null";
                        };
                safeData();
                location.href = linkUrl + "?categoryId=" + id.toString();
                };
        };
// searchOnEnterNavi
function searchOnEnterNavi(){
        if(window.event.keyCode==13){
                xmlConfig.getFirstItem('SearchEngine').term=document.searchEngine.searchTerm.value;
                location.href = "search.htm";
                };
        };
// activates entries for categories
activateItem(getParameterFromURL("categoryId"));