<!--

function on(message)

  {window.status = message;}



function off()

  {window.status="Knappe Marketing";}



function imgon(img,src)

  {document[img].src = 'images/menu_'+img+src+'.gif';}



function new_window(theURL,winName,features, myWidth, myHeight, isCenter){
	if(window.screen)
		if(isCenter)
		{
			var myLeft = (screen.width-myWidth)/2;
			var myTop = (screen.height-myHeight)/2;
			features += ',left='+myLeft+',top='+myTop;
		}
	
	features += ',width='+myWidth+',height='+myHeight;

	var thisFea = features;
	var thisURL = theURL;
	var thisWin = winName;
	
	//alert("fea= "+thisFea+"\nURL= "+thisURL+"\nWin= "+thisWin);
	
	openok = window.open(thisURL,"",thisFea);

	if(!openok)
		alert("Kein PopUp in Ihrem Browser möglich!\n\nUm die gewünschte Seite sehen zu können müssen Sie für unsere Domain (www.walzenirle.com) den PopUp-Blocker ausschalten.\nWie das für Ihren Browser funktioniert, entnehmen Sie bitte der Hilfe Ihres Browsers.");
}

 
function pop_picList(b, h, url, titel) 
{
	var tpop_bildschirmx = screen.availWidth;
	var tpop_bildschirmy = screen.availHeight;

	var tpop_breite = b;
	var tpop_hoehe = h;

	var tpop_startx = Math.round(tpop_bildschirmx / 2) - (tpop_breite / 2);
	var tpop_starty = Math.round(tpop_bildschirmy / 2) - (tpop_hoehe / 2);

	pic_popup = window.open("", "", "width="+ tpop_breite + ", height=" + tpop_hoehe + ", status=no, toolbar=no, menubar=no, resizable=no, scrollbars=no, screenX=" + tpop_startx + ", left=" + tpop_startx + ", screenY=" + tpop_starty + ", top=" + tpop_starty + " ");
	pic_popup.focus();
	pic_popup.document.open();
	pic_popup.document.writeln('<html>');
	pic_popup.document.writeln('<head>');
	pic_popup.document.writeln('<title>'+titel+'</title>');
	pic_popup.document.writeln('</head>');
	pic_popup.document.writeln('<body bgcolor="#FFFFFF" marginwidth="0" marginheight="0" topmargin="0" leftmargin="0">');
	pic_popup.document.writeln('<table vspace="0" hspace="0" cellspacing="0" cellpadding="0" height="'+tpop_hoehe+'" width="'+tpop_breite+'" align="center" border="0">');
	pic_popup.document.writeln('<tr>');
	pic_popup.document.writeln('<td>');
	pic_popup.document.writeln('<a href="#" onclick="self.close()" alt="Fenster schließen"><img src="'+ url +'" width="'+ b +'" height="'+ h +'" border="0" style="margin:0px;" alt="Fenster schließen"></a>');
	pic_popup.document.writeln('</td>');
	pic_popup.document.writeln('</tr>');
	pic_popup.document.writeln('</table>');
	pic_popup.document.writeln('</body>');
	pic_popup.document.writeln('</head>');
	pic_popup.document.close();
	
	if(!pic_popup)
		alert("Kein PopUp in Ihrem Browser möglich!\n\nUm die gewünschte Seite sehen zu können müssen Sie für unsere Domain (www.walzenirle.com) den PopUp-Blocker ausschalten.\nWie das für Ihren Browser funktioniert, entnehmen Sie bitte der Hilfe Ihres Browsers.");
}



/*--------------rr-----------------------*/
var mdef=999;
var merk=mdef;

function over(id, bg){
//alert(bg);


    document.getElementById("nlover"+id).style.backgroundColor=bg;
    /*--------------border 1-----------------*/
    document.getElementById("nlover"+id).style.borderTop='1px solid #9b9b9b';
    document.getElementById("nlover"+id).style.borderLeft='1px solid #9b9b9b';
    document.getElementById("nlover"+id).style.borderBottom='1px solid #9b9b9b';
    document.getElementById("nlover"+id).style.borderRight='0px';
    //-------------padding 0--------------
    document.getElementById("nlover"+id).style.paddingTop='0px';
    document.getElementById("nlover"+id).style.paddingLeft='0px';
    document.getElementById("nlover"+id).style.paddingBottom='0px';
    /*document.getElementById("nlover"+id).style.paddingRight='1px';*/


}
function out(id){
    /*---------------linke td(nlover)*/
    if (id!=merk){
       document.getElementById("nlover"+id).style.backgroundColor='transparent';
       /*--------------border 0-----------------*/
       document.getElementById("nlover"+id).style.borderTop='0px solid transparent';
       document.getElementById("nlover"+id).style.borderLeft='0px solid transparent';
       document.getElementById("nlover"+id).style.borderBottom='0px solid transparent';
       document.getElementById("nlover"+id).style.borderRight='0px';
       /*-------------padding 1--------------*/
       document.getElementById("nlover"+id).style.paddingTop='1px';//1
       document.getElementById("nlover"+id).style.paddingLeft='1px';
       document.getElementById("nlover"+id).style.paddingBottom='1px';
       /*document.getElementById("nlover"+id).style.paddingRight='0px';*/
    }

}
function dwn(id, bg){
        /*var lanz=document.all.tags("a").length;*/
//alert(bg);
    for(var i=0;i<7;i++){

        document.getElementById("nltable"+i).style.backgroundColor='transparent';
        document.getElementById("nltable"+i).style.borderTop='0px transparent';
        document.getElementById("nltable"+i).style.borderBottom='0px transparent';
        document.getElementById("nltable"+i).style.borderRight='0px transparent';

        document.getElementById("nltable"+i).style.paddingTop='1px';//1
        document.getElementById("nltable"+i).style.paddingRight='1px';
        document.getElementById("nltable"+i).style.paddingBottom='1px';
        merk=mdef;
        out(i);

    }
    document.getElementById("nltable"+id).style.backgroundColor=bg;
    document.getElementById("nltable"+id).style.border='1px solid #9b9b9b';
    document.getElementById("nltable"+id).style.borderLeft='0px';

    document.getElementById("nltable"+id).style.paddingTop='0px';
    document.getElementById("nltable"+id).style.paddingRight='0px';
    document.getElementById("nltable"+id).style.paddingBottom='0px';
    merk=id;
    over(id, bg);

}
/*-----------------------rr ende----------------------*/
 
//-->
