function DisSub()
{
    document.getElementById(25).src='images/menu/men-25off.gif';
    document.getElementById(26).src='images/menu/men-26off.gif';
    document.getElementById(26).disabled = true;
    document.getElementById(27).src='images/menu/men-27off.gif';
    document.getElementById(27).disabled = true;
//    document.getElementById(28).src='images/menu/men-28off.gif';
//    document.getElementById(28).disabled = true;
}


function visPict(id)
{
  if (id >= 25 && id <= 28)
    {
    document.getElementById(26).src='images/menu/men-26on.gif';
    document.getElementById(27).src='images/menu/men-27on.gif';
//    document.getElementById(28).src='images/menu/men-28on.gif';
    }
  document.getElementById(id).src='images/menu/men-'+[id]+'over.gif';
}


function skjulPict(id)
{
  if (id >= 25 && id <= 28)
    {
    document.getElementById(26).src='images/menu/men-26off.gif';
    document.getElementById(27).src='images/menu/men-27off.gif';
//    document.getElementById(28).src='images/menu/men-28off.gif';
    }
  if (id == 25)
    {
    document.getElementById(26).disabled = false;
    document.getElementById(27).disabled = false;
//    document.getElementById(28).disabled = false;
    }
  document.getElementById(id).src='images/menu/men-'+[id]+'off.gif';
}


function Click2print(produkt)
{ 
  var disp_setting="toolbar=no, location=no, directories=no, menubar=no,"; 
      disp_setting+="scrollbars=yes, width=680, height=700, left=0, top=0"; 
  var content_value = document.getElementById("print_content").innerHTML; 
  var docprint=window.open("","",disp_setting); 
   docprint.document.open(); 
   docprint.document.write('<html><head><title>BroadWay Plankegulv - '+ produkt +'</title>');
   docprint.document.write('<link rel="stylesheet" type="text/css" href="log/bwg.css">');
   docprint.document.write('</head><body topmargin="0" leftmargin="0" onLoad="self.print()">');

   docprint.document.write('<table width="640" height="920" border="0" cellpadding="0" cellspacing="0">');

   docprint.document.write('<tr><td width="640" height="44" align="center" style="border-top: 1 solid #7A0000; border-bottom: 1 solid #7A0000">');
   docprint.document.write('<img border="0" src="images/menu/logo05bot.gif"></td></tr>');

   docprint.document.write('<tr><td width="640" height="100%" valign="top">');
   docprint.document.write(content_value);
   docprint.document.write('</td></tr></table></body></html>');

   docprint.document.close(); 
   docprint.focus(); 
}

//  alert( event.keyCode );
//  alert( UgeseddelUdfyld.hfFV.value );
//var chkmenu = document.getElementById(id).src;
//var chkId = id;
//alert( chkmenu );
//alert( chkId );


