function MouseOverMenu(celno) {
  var chgcell
  if (document.layers) { // browser is NN
    chgcell = "window.document."+ celno + ".className ='st_mnuItm_Active'";
  }
  else {
    chgcell = "document.getElementById('"+ celno + "').className='st_mnuItm_Active'";
  }
  eval(chgcell);
}

function MouseOutMenu(celno) {
  var chgcell
  if (document.layers) { // browser is NN
    chgcell = "window.document."+ celno + ".className='st_mnuItm_Inactive '";
  }
  else {
    chgcell = "document.getElementById('"+ celno + "').className='st_mnuItm_Inactive'";
  }
  eval(chgcell);
}


var nn4 = (document.layers);
var nn6 = (document.getElementById && !document.all);
var ie4 = (document.all && !document.getElementById);
var ie5 = (document.all && document.getElementById);

function ShowDetail(url) {
  document.getElementById('Content').style.visibility = 'visible';
  document.getElementById('Content').src = url;
}


function ClosePage(id) {
  document.all[id].style.visibility = 'hidden';
}


function showPage(id) {
if (ie4) {
document.all[id].innerHTML = parent.contentFRM.document.body.innerHTML;
}
else if(nn6 || ie5) { 
document.getElementById(id).innerHTML = window.frames['contentFRM'].document.getElementById('theBody').innerHTML;
   }
}

function AbsHeader() {
document.write("  <span style='position:absolute; overflow:hidden; top:50; left:15; filter:progid:DXImageTransform.Microsoft.Shadow(color=#63936A,direction=125,Strength=3);'> ");
document.write("  <table width='235' height='400' cellspacing='1' bgcolor='#63936A'> ");
document.write("    <tr><td bgcolor='#FFFFFF' valign='top'> ");
document.write(" ");
document.write("          <table> ");
document.write("            <tr><td height='20' class='text'> ");
document.write("            <tr><td class='text'><font size='2'><b>Kontakt gegevens : ");
document.write("          </table> ");
document.write(" ");
document.write("          <table cellpadding='3' class='text'> ");
document.write("            <tr><td valign='top'>Niemark Techniek B.V. ");
document.write("            <tr><td valign='top'>Watermolen 7 ");
document.write("            <tr><td valign='top'>6442 PS Brunssum ");
document.write("          </table> ");
document.write(" ");
document.write("          <table cellpadding='3' class='text'> ");
document.write("            <tr><td valign='top' width='35'>Tel. <td valign='top'>045-5258069 ");
document.write("            <tr><td valign='top' width='35'>Fax. <td valign='top'>045-5641922 ");
document.write("            <tr><td valign='top' width='35'>Mob. <td valign='top'>065-3534121 <br>24 uur-service. ");
document.write("          </table> ");
document.write(" ");
document.write("  </table> ");
document.write("  </span> ");
document.write("   ");
document.write("  <span style='position:absolute; overflow:hidden; top:265; left:0;'> ");
document.write("   <img src='gif/logo_nt.gif'> ");
document.write("  </span> ");
document.write("   ");
document.write("    <span style='position:absolute; overflow:hidden; top:390; left:84;'> ");
document.write("      <img src='gif/uneto-vni.gif'> ");
document.write("    </span> ");

document.write("  <span style='position:absolute; overflow:hidden; top:25; left:0;'> ");
document.write("   <img src='gif/menu_index.gif'> ");
document.write("  </span> ");

}

function MnuHeader() {
document.write("  <table width='100%' cellspacing='0' cellpadding='0' bgcolor='#000000'> ");
document.write("   <tr height='40' bgcolor='#63936A'><td width='100%'> ");
document.write("  ");
document.write("       <table width='500'> ");
document.write("	<tr><td width='25'> ");
document.write("	    <td><font face='arial,univers' size='3' color='#FFFFFF'>  ");
document.write("		<B>Niemark Techniek B.V. ");
document.write("       </table> ");
document.write(" ");
document.write("   <tr bgcolor='#AFDBB5'><td width='100%'> ");
document.write("    <table> ");
document.write("    <tr><td width='300'> ");
document.write("	<td> <a class='TopMenu' href='index.html'><b>Startpagina</a> ");
document.write("	<td width='10' ><table><tr><td><img src='gif/splitter.gif'></table> ");
document.write(" 	<td> <a class='TopMenu' href='dienst.html'><b>Diensten</a> ");
document.write("	<td width='10' ><table><tr><td><img src='gif/splitter.gif'></table> ");
document.write(" 	<td> <a class='TopMenu' href='ref.html'><b>Referenties</a> ");
document.write("	<td width='10' ><table><tr><td><img src='gif/splitter.gif'></table> ");
document.write(" 	<td> <a class='TopMenu' href='vw.html'><b>Alg. voorwaarden</a> ");
document.write("	<td width='10' ><table><tr><td><img src='gif/splitter.gif'></table> ");
document.write(" 	<td> <a class='TopMenu' href='kontakt.html'><b>Kontakt</a> ");
document.write("	<td width='10' ><table><tr><td><img src='gif/splitter.gif'></table> ");
document.write("        <td width='*'> ");
document.write("    </table> ");
document.write("   </table> ");
}

function GsdHeader() {
document.write("        <table> ");
document.write("	  <tr><td><a href='http://www.gsd-automatisering.com'><img src='gif/gsd.gif' border='0'> ");
document.write("	      <td><a class='TopMenu'> <font color='#4C5077'> Webdesign & ontwikkeling door: <br> ");
document.write("		  <a class='text'>   <b> <font color='#A1A1B3'> <a class='text' href='http://www.gsd-automatisering.com'>GSD Automatisering</a> ");
document.write("	</table> ");
}


function Datum() {
day       = new Date()
hr        = day.getHours()
var now   = new Date();
var yr    = now.getYear();
var mName = now.getMonth() + 1;
var dName = now.getDay() + 1;
var dayNr = ((now.getDate()<10) ? " " : "")+ now.getDate();
if(dName==1) Day = "Zondag";
if(dName==2) Day = "Maandag";
if(dName==3) Day = "Dinsdag";
if(dName==4) Day = "Woensdag";
if(dName==5) Day = "Donderdag";
if(dName==6) Day = "Vrijdag";
if(dName==7) Day = "Zaterdag";
if(mName==1) Month="januari";
if(mName==2) Month="februari";
if(mName==3) Month="maart";
if(mName==4) Month="april";
if(mName==5) Month="mei";
if(mName==6) Month="juni";
if(mName==7) Month="juli";
if(mName==8) Month="augustus";
if(mName==9) Month="september";
if(mName==10) Month="oktober";
if(mName==11) Month="november";
if(mName==12) Month="december";
if(yr<2000){ var today = (Day+" "+dayNr+" "+Month+" "+"19"+ yr)} else {today = (Day+" "+dayNr+" "+Month+" "+ yr)}
document.write(today);
}


