function button( menuID)
{
 document.getElementById("mb1").style.color = "#a44";
 document.getElementById("mb2").style.color = "#a44";
 document.getElementById("mb3").style.color = "#a44";
 document.getElementById("mb4").style.color = "#a44";
 if ( menuID > 0) {
  mi = document.getElementById("mb"+menuID);
  mi.style.color = "#f44";
 }
}
function menu( menuID)
{
 frm = document.subForm;
 switch ( menuID) {
  case 0:
   frm.action = "getdoc.php";
	 frm.fName.value = "welkom.html";
	 frm.submit();
	 break;
 }
}

function doResize()
{
 bs = document.getElementById("bSize");
 db = document.getElementById("dataBody");
 lg = document.getElementById("logo");
 st = document.getElementById("statics");
 Osd = document.getElementById("sd");
 Owd = document.getElementById("wd");

 it = eval((bs.offsetHeight - 593)/2);
 il = eval((bs.offsetWidth - 1000)/2);

 mt = eval(it + 130);
 ml = eval(il + 135);
 db.style.top = mt+"px";
 db.style.left = ml+"px";
 db.style.visibility = "visible";
// db.style.border = "1px solid red";

 mt = eval(it + 15);
 ml = eval(il + 15);
 lg.style.top = mt+"px";
 lg.style.left = ml+"px";
// lg.style.visibility = "visible";
// lg.style.border = "1px solid red";

 mt = eval(it + 10);
 ml = eval(il + 1000 - st.offsetWidth - 20);
 st.style.top = mt+"px";
 st.style.left = ml+"px";
 st.style.visibility = "visible";

 mt = eval(it + 545);
 ml = eval(il + 30);
 Osd.style.top = mt+"px";
 Osd.style.left = ml+"px";
 Osd.style.visibility = "visible";
// Osd.style.border = "1px solid red";

 mt = eval(it + 505);
 ml = eval(il + 30);
 Owd.style.top = mt+"px";
 Owd.style.left = ml+"px";
 Owd.style.visibility = "visible";
// Owd.style.border = "1px solid red";

}

function showImage( imageName, imageComment)
{
 window.open("showimage.php?foto="+imageName+"&comment="+imageComment,"","status=no,toolbar=no,menubar=no,location=no,directories=no,resizable=no,width=1000,height=700");
}

