	function menu(str_id) {
		if (document.getElementById(str_id)) {
			if(document.getElementById(str_id).style.overflow == 'hidden') {
				document.getElementById(str_id).style.overflow = 'visible';
			} else {
				document.getElementById(str_id).style.overflow = 'hidden';
			}
		}		
	}
    
    function rs_updcart(obj ,articleid ,amount ){
        rs_cartupdate( articleid ,amount );   
        if(obj.value=='0'){ 
            obj.style.fontWeight='normal'; 
            obj.style.color='#999999'; 
        }else{ 
            obj.style.fontWeight='bold'; 
            obj.style.color='#333333'; 
        }
    }
    
    function rs_cartupdate(articleid,amount) { 
        var rs_cartupdate = null; 
        try{ rs_cartupdate = new XMLHttpRequest(); } 
        catch (ms){ 
            try{ rs_cartupdate = new ActiveXObject("Msxml2.XMLHTTP"); } 
            catch (nonms){ 
                try{ rs_cartupdate = new ActiveXObject("Microsoft.XMLHTTP"); } 
                catch (failed){ rs_cartupdate = null; } 
            }
                
        } 
        if( rs_cartupdate == null ) { /* Fehler */ } 
        rs_cartupdate.open( "GET", '/'+language+'/~'+SID+'/minicart/'+articleid+'/'+amount, true ); 
        rs_cartupdate.onreadystatechange = function( ) { 
            switch( rs_cartupdate.readyState ) { 
                case 4:     if( rs_cartupdate.status != 200 ) { 
                                /* Fehler */     
                            } else { 
                                document.getElementById( 'cartdata' ).innerHTML = rs_cartupdate.responseText; 
                                tooltip.init (); 
                            } 
                            break; 
                default:    return false; 
                            break; 
            } 
        }; 
        rs_cartupdate.setRequestHeader( "Content-Type", "application/x-www-form-urlencoded" ); 
        rs_cartupdate.send( null ); 
    } 

    function rs_refreshcart() { 
        var rs_cartupdate = null; 
        try{ rs_cartupdate = new XMLHttpRequest(); } 
        catch (ms){ 
            try{ rs_cartupdate = new ActiveXObject("Msxml2.XMLHTTP"); } 
            catch (nonms){ 
                try{ rs_cartupdate = new ActiveXObject("Microsoft.XMLHTTP"); } 
                catch (failed){ rs_cartupdate = null; } 
            }
                
        } 
        if( rs_cartupdate == null ) { /* Fehler */ } 
        rs_cartupdate.open( "GET", '/'+language+'/~'+SID+'/minicart', true ); 
        rs_cartupdate.onreadystatechange = function( ) { 
            switch( rs_cartupdate.readyState ) { 
                case 4:     if( rs_cartupdate.status != 200 ) { 
                                /* Fehler */     
                            } else { 
                                document.getElementById( 'cartdata' ).innerHTML = rs_cartupdate.responseText;
                                tooltip.init (); 
                            } 
                            break; 
                default:    return false; 
                            break; 
            } 
        }; 
        rs_cartupdate.setRequestHeader( "Content-Type", "application/x-www-form-urlencoded" ); 
        rs_cartupdate.send( null ); 
    }    
    
    function rs_submitcart() { 
        var rs_cartupdate = null; 
        try{ rs_cartupdate = new XMLHttpRequest(); } 
        catch (ms){ 
            try{ rs_cartupdate = new ActiveXObject("Msxml2.XMLHTTP"); } 
            catch (nonms){ 
                try{ rs_cartupdate = new ActiveXObject("Microsoft.XMLHTTP"); } 
                catch (failed){ rs_cartupdate = null; } 
            }
                
        } 
        if( rs_cartupdate == null ) { /* Fehler */ } 
        rs_cartupdate.open( "GET", '/'+language+'/~'+SID+'/submitcart/?note='+encodeURI(document.getElementById('cartinfo')?document.getElementById('cartinfo').value:''), true ); 
        rs_cartupdate.onreadystatechange = function( ) { 
            switch( rs_cartupdate.readyState ) { 
                case 4:     if( rs_cartupdate.status != 200 ) { 
                                /* Fehler */     
                            } else { 
                                document.getElementById( 'cartdata' ).innerHTML = rs_cartupdate.responseText;
                                tooltip.init (); 
                            } 
                            break; 
                default:    return false; 
                            break; 
            } 
        }; 
        rs_cartupdate.setRequestHeader( "Content-Type", "application/x-www-form-urlencoded" ); 
        rs_cartupdate.send( null ); 
    }  

    function rs_submitorder() { 
        var rs_cartupdate = null; 
        try{ rs_cartupdate = new XMLHttpRequest(); } 
        catch (ms){ 
            try{ rs_cartupdate = new ActiveXObject("Msxml2.XMLHTTP"); } 
            catch (nonms){ 
                try{ rs_cartupdate = new ActiveXObject("Microsoft.XMLHTTP"); } 
                catch (failed){ rs_cartupdate = null; } 
            }
                
        } 
        if( rs_cartupdate == null ) { /* Fehler */ } 
        rs_cartupdate.open( "GET", '/'+language+'/~'+SID+'/submitorder', true ); 
        rs_cartupdate.onreadystatechange = function( ) { 
            switch( rs_cartupdate.readyState ) { 
                case 4:     if( rs_cartupdate.status != 200 ) { 
                                /* Fehler */     
                            } else { 
                                document.getElementById( 'cartdata' ).innerHTML = rs_cartupdate.responseText;
                                tooltip.init (); 
                                objArticle = document.getElementsByName( 'articleinput' );
                                if(objArticle){
                                    for(var i=0; i<objArticle.length; i++){
                                        objArticle[i].value = 0;
                                        objArticle[i].style.fontWeight = 'normal';  
                                        objArticle[i].style.color = '#999999';  
                                        objArticle[i].previousSibling.src="/img/icon_nosub.gif";
                                    }
                                }
                            } 
                            break; 
                default:    return false; 
                            break; 
            } 
        }; 
        rs_cartupdate.setRequestHeader( "Content-Type", "application/x-www-form-urlencoded" ); 
        rs_cartupdate.send( null ); 
    }      

    function config_refresh( language, SID ) { 
        var rs_cartupdate = null; 
        try{ rs_cartupdate = new XMLHttpRequest(); } 
        catch (ms){ 
            try{ rs_cartupdate = new ActiveXObject("Msxml2.XMLHTTP"); } 
            catch (nonms){ 
                try{ rs_cartupdate = new ActiveXObject("Microsoft.XMLHTTP"); } 
                catch (failed){ rs_cartupdate = null; } 
            }
                
        } 
        if( rs_cartupdate == null ) {
            // Fehler 
        } 
        rs_cartupdate.open( "GET", '/'+language+(SID?'/~'+SID:'')+'/configcontent/', true ); 
        //rs_cartupdate.open( "GET", '/'+language+'/configcontent/', true ); 
        rs_cartupdate.onreadystatechange = function( ) { 
            switch( rs_cartupdate.readyState ) { 
                case 4:     if( rs_cartupdate.status != 200 ) { 
                                // Fehler
                            } else { 
                                document.getElementById( 'configuratorframe' ).innerHTML = rs_cartupdate.responseText;
                                tooltip.init (); 
                            } 
                            break; 
                default:    return false; 
                            break; 
            } 
        }; 
        rs_cartupdate.setRequestHeader( "Content-Type", "application/x-www-form-urlencoded" ); 
        rs_cartupdate.send( null ); 
    }           
    function config_jumpnext( path ) { 
        S_Method = "GET";
        obj = document.getElementsByName('selection');
        if(obj){
            var subpath = '';
            for(var i=0; i<obj.length; i++){
                if(obj[i].checked){
                    if(subpath.length>0){
                        subpath += ',';
                    }
                    subpath += obj[i].value
                }
            }
            if(subpath.length==0){
                subpath = '-';
            }
            path += '/'+subpath
        }
        S_Post = null;
        if(document.getElementById('CDname')){
            S_Method = "POST";
            S_Post = 'CDname='+ encodeURIComponent(document.getElementById('CDname').value);
            S_Post += '&CDstrasse='+ encodeURIComponent(document.getElementById('CDstrasse').value);
            S_Post += '&CDplz='+ encodeURIComponent(document.getElementById('CDplz').value);
            S_Post += '&CDort='+ encodeURIComponent(document.getElementById('CDort').value);
            S_Post += '&CDland='+ encodeURIComponent(document.getElementById('CDland').value);
            S_Post += '&CDtelefon='+ encodeURIComponent(document.getElementById('CDtelefon').value);
            S_Post += '&CDemail='+ encodeURIComponent(document.getElementById('CDemail').value);
            S_Post += '&CDbemerkung='+ encodeURIComponent(document.getElementById('CDbemerkung').value);
        }
        var rs_cartupdate = null; 
        try{ rs_cartupdate = new XMLHttpRequest(); } 
        catch (ms){ 
            try{ rs_cartupdate = new ActiveXObject("Msxml2.XMLHTTP"); } 
            catch (nonms){ 
                try{ rs_cartupdate = new ActiveXObject("Microsoft.XMLHTTP"); } 
                catch (failed){ rs_cartupdate = null; } 
            }
        } 
        if( rs_cartupdate == null ) { /* Fehler */ } 
        rs_cartupdate.open( S_Method ,path ,true ); 
        rs_cartupdate.onreadystatechange = function( ) { 
            switch( rs_cartupdate.readyState ) { 
                case 4:     if( rs_cartupdate.status != 200 ) { 
                                // Fehler
                            } else { 
                                document.getElementById( 'configuratorframe' ).innerHTML = rs_cartupdate.responseText;
                                tooltip.init (); 
                            } 
                            break; 
                default:    return false; 
                            break; 
            } 
        }; 
        rs_cartupdate.setRequestHeader( "Content-Type" ,"application/x-www-form-urlencoded" ); 
        rs_cartupdate.send( S_Post ); 
    }               
    function config_jumpprev( prevpath ) { 
        S_Method = "GET";
        S_Post = null;
        if(document.getElementById('CDname')){
            S_Method = "POST";
            S_Post = 'CDname='+ encodeURIComponent(document.getElementById('CDname').value);
            S_Post += '&CDstrasse='+ encodeURIComponent(document.getElementById('CDstrasse').value);
            S_Post += '&CDplz='+ encodeURIComponent(document.getElementById('CDplz').value);
            S_Post += '&CDort='+ encodeURIComponent(document.getElementById('CDort').value);
            S_Post += '&CDland='+ encodeURIComponent(document.getElementById('CDland').value);
            S_Post += '&CDtelefon='+ encodeURIComponent(document.getElementById('CDtelefon').value);
            S_Post += '&CDemail='+ encodeURIComponent(document.getElementById('CDemail').value);
            S_Post += '&CDbemerkung='+ encodeURIComponent(document.getElementById('CDbemerkung').value);
        }
        var rs_cartupdate = null; 
        try{ rs_cartupdate = new XMLHttpRequest(); } 
        catch (ms){ 
            try{ rs_cartupdate = new ActiveXObject("Msxml2.XMLHTTP"); } 
            catch (nonms){ 
                try{ rs_cartupdate = new ActiveXObject("Microsoft.XMLHTTP"); } 
                catch (failed){ rs_cartupdate = null; } 
            }
        } 
        if( rs_cartupdate == null ) {
            // Fehler 
        } 
        rs_cartupdate.open( S_Method, prevpath, true ); 
        rs_cartupdate.onreadystatechange = function( ) { 
            switch( rs_cartupdate.readyState ) { 
                case 4:     if( rs_cartupdate.status != 200 ) { 
                                // Fehler
                            } else { 
                                document.getElementById( 'configuratorframe' ).innerHTML = rs_cartupdate.responseText;
                                tooltip.init (); 
                            } 
                            break; 
                default:    return false; 
                            break; 
            } 
        }; 
        rs_cartupdate.setRequestHeader( "Content-Type", "application/x-www-form-urlencoded" );        
        rs_cartupdate.send( S_Post ); 
    }                   