pas05=new Image(); pas05.src='images/men1off.jpg';
akt05=new Image(); akt05.src='images/men1on.jpg';
ovr05=new Image(); ovr05.src='images/men1on.jpg';
pas10=new Image(); pas10.src='images/men2off.jpg';
akt10=new Image(); akt10.src='images/men2on.jpg';
ovr10=new Image(); ovr10.src='images/men2on.jpg';
pas15=new Image(); pas15.src='images/men3off.jpg';
akt15=new Image(); akt15.src='images/men3on.jpg';
ovr15=new Image(); ovr15.src='images/men3on.jpg';
pas20=new Image(); pas20.src='images/men4off.jpg';
akt20=new Image(); akt20.src='images/men4on.jpg';
ovr20=new Image(); ovr20.src='images/men4on.jpg';
pas25=new Image(); pas25.src='images/men5off.jpg';
akt25=new Image(); akt25.src='images/men5on.jpg';
ovr25=new Image(); ovr25.src='images/men5on.jpg';

function Enter2Tab(){
  if (event.keyCode==13)
    {
    event.keyCode=9;
    return event.keyCode
    }
}

function stripNow(Num2Strip){
  num = Num2Strip.value;
  while (num.charAt(0) == "0")
    {
    newTerm = num.substring(1, num.length);
    num = newTerm;
    }
  Num2Strip.value = num;
  return (true);
}

function Do_to2Cif(Num2Conv){
  strCif = Num2Conv.value;
  if (strCif.length == 1) Num2Conv.value = "0" + strCif;
  return (true);
}

function Do_to3Cif(Num2Conv){
  strCif = Num2Conv.value;
  if (strCif.length == 1) Num2Conv.value = "00" + strCif;
  if (strCif.length == 2) Num2Conv.value = "0" + strCif;
  return (true);
}

function Click2print()
{ 
  var disp_setting="toolbar=no, location=no, directories=no, menubar=no,"; 
      disp_setting+="scrollbars=no, width=620, height=380, 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>WeKi - Indkaldelse SnailMail</title>');
   docprint.document.write('<link rel="stylesheet" type="text/css" href="tyv_main.css">');
   docprint.document.write('</head><body onLoad="self.print()">');          
   docprint.document.write(content_value);          
   docprint.document.write('</body></html>'); 
   docprint.document.close(); 
   docprint.focus(); 
}

function getOpret(){
  Klient.action = "tyv_main_02.asp";
  Klient.submit();
  return (true);
}

