function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

/*activate flashcontrol */
window.onload = ActivateFlash 

function ActivateFlash() 
{ 
    var objects = document.getElementsByTagName("object"); 
    for (var i = 0; i < objects.length; i++) 
    { 
      objects[i].outerHTML = objects[i].outerHTML; 
    } 
}
/* END activate flashcontrol */
//POP UP BLUR //

// <a href="javascript:popImage('beeld/kraan1gr.jpg','Aboda')"></a>  //


// Set the horizontal and vertical position for the popup

PositionX = 20;
PositionY = 30;

// Set these value approximately 20 pixels greater than the
// size of the largest image to be used (needed for Netscape)

defaultWidth  = 500;
defaultHeight = 500;

// Set autoclose true to have the window close automatically
// Set autoclose false to allow multiple popup windows


var AutoClose = true;

// Do not edit below this line...
// ================================
if (parseInt(navigator.appVersion.charAt(0))>=4){
var isNN=(navigator.appName=="Netscape")?1:0;
var isIE=(navigator.appName.indexOf("Microsoft")!=-1)?1:0;}
var optNN='scrollbars=no,width='+defaultWidth+',height='+defaultHeight+',left='+PositionX+',top='+PositionY;
var optIE='scrollbars=no,width=150,height=100,left='+PositionX+',top='+PositionY;
function popImage(imageURL,imageTitle){
if (isNN){imgWin=window.open('about:blank','',optNN);}
if (isIE){imgWin=window.open('about:blank','',optIE);}
with (imgWin.document){
writeln('<html><head><title>Loading...</title><style>body{margin:0px;}</style>');writeln('<sc'+'ript>');
writeln('var isNN,isIE;');writeln('if (parseInt(navigator.appVersion.charAt(0))>=4){');
writeln('isNN=(navigator.appName=="Netscape")?1:0;');writeln('isIE=(navigator.appName.indexOf("Microsoft")!=-1)?1:0;}');
writeln('function reSizeToImage(){');writeln('if (isIE){');writeln('window.resizeTo(100,100);');
writeln('width=100-(document.body.clientWidth-document.images[0].width);');
writeln('height=100-(document.body.clientHeight-document.images[0].height);');
writeln('window.resizeTo(width,height);}');writeln('if (isNN){');       
writeln('window.innerWidth=document.images["George"].width;');writeln('window.innerHeight=document.images["George"].height;}}');
writeln('function doTitle(){document.title="'+imageTitle+'";}');writeln('</sc'+'ript>');
if (!AutoClose) writeln('</head><body bgcolor=000000 scroll="no" onload="reSizeToImage();doTitle();self.focus()">')
else writeln('</head><body bgcolor=000000 scroll="no" onload="reSizeToImage();doTitle();self.focus()" onBlur="self.close()">');
writeln('<img name="George" src='+imageURL+' style="display:block"></body></html>');
close();		
}}

// CENTER POPUP
// <a href="javascript:show_photo('images/1.jpg','Betonwerken%20Eeckhout','400','300');"><img src="thumbs/1.jpg" alt="" border="0"></a> //


// This script opens a new browser window and writes
// HTML to display an image with a title and caption
function show_photo( pFileName, pTitle, Width, Height) {
 
// specify window parameters
var winl = (screen.width - Width) / 2;
var wint = (screen.height - Height) / 2;
 
  photoWin = window.open( "", "photo", "width="+ Width +",height="+ Height +",top="+wint+",left="+winl+",status=no,scrollbars=no,resizable=no,screenX=20,screenY=40");
  
// wrote content to window
 photoWin.document.write('<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">\n');
  photoWin.document.write('<html><head><title>' + pTitle + '</title></head>\n'); 
  photoWin.document.write('<BODY style="margin:0px;" onload="self.focus()" onBlur="self.close()">\n');
  photoWin.document.write('<img src="' + pFileName + '">\n');
  photoWin.document.write('</body></html>');
  photoWin.document.close(); 
 
// If we are on NetScape, we can bring the window to the front
if (navigator.appName.substring(0,8) == "Netscape") photoWin.focus();
}


// ShowMe Open Browserwindow //

function showMe (what, where)
	{
	open (what, "FullView", "left=20, Top=20, menubar=no," + where);
	}


// Veldcontrolle inlichtingenformulier Nederlands //

function MM_findObj(n, d) { //v4.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && document.getElementById) x=document.getElementById(n); return x;
}

function MM_validateFormNL() { //v4.0
  var i,p,q,nm,test,num,min,max,errors='',args=MM_validateFormNL.arguments;
  for (i=0; i<(args.length-2); i+=3) { test=args[i+2]; val=MM_findObj(args[i]);
    if (val) { nm=val.name; if ((val=val.value)!="") {
      if (test.indexOf('isEmail')!=-1) { p=val.indexOf('@');
        if (p<1 || p==(val.length-1)) errors+='- '+nm+' moet een e-mail adres bevatten.\n';
      } else if (test!='R') {
        if (isNaN(val)) errors+='- '+nm+' moet een cijfer zijn tussen 1000 en 9999.\n';
        if (test.indexOf('inRange') != -1) { p=test.indexOf(':');
          min=test.substring(8,p); max=test.substring(p+1);
          if (val<min || max<val) errors+='- '+nm+' moet een cijfer zijn tussen '+min+' en '+max+'.\n';
    } } } else if (test.charAt(0) == 'R') errors += '- '+nm+' is vereist.\n'; }
  } if (errors) alert('Volgende fout(en) hebben zich voorgedaan:\n'+errors);
  document.MM_returnValue = (errors == '');
}

// Veldcontrolle inlichtingenformulier Frans //

function MM_findObj(n, d) { //v4.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && document.getElementById) x=document.getElementById(n); return x;
}

function MM_validateFormFR() { //v4.0
  var i,p,q,nm,test,num,min,max,errors='',args=MM_validateFormFR.arguments;
  for (i=0; i<(args.length-2); i+=3) { test=args[i+2]; val=MM_findObj(args[i]);
    if (val) { nm=val.name; if ((val=val.value)!="") {
      if (test.indexOf('isEmail')!=-1) { p=val.indexOf('@');
        if (p<1 || p==(val.length-1)) errors+='- '+nm+' doit contenir une adresse e-mail.\n';
      } else if (test!='R') {
        if (isNaN(val)) errors+='- '+nm+' doit être un chiffre.\n';
        if (test.indexOf('inRange') != -1) { p=test.indexOf(':');
          min=test.substring(8,p); max=test.substring(p+1);
          if (val<min || max<val) errors+='- '+nm+' doit être un chiffre entre '+min+' et '+max+'.\n';
    } } } else if (test.charAt(0) == 'R') errors += '- '+nm+' est un champ obligatoire.\n'; }
  } if (errors) alert('Prochaine(s) faute(s) ce sont produites:\n'+errors);
  document.MM_returnValue = (errors == '');
}

// Veldcontrolle inlichtingenformulier Engels //

function MM_findObj(n, d) { //v4.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && document.getElementById) x=document.getElementById(n); return x;
}

function MM_validateFormEN() { //v4.0
  var i,p,q,nm,test,num,min,max,errors='',args=MM_validateFormEN.arguments;
  for (i=0; i<(args.length-2); i+=3) { test=args[i+2]; val=MM_findObj(args[i]);
    if (val) { nm=val.name; if ((val=val.value)!="") {
      if (test.indexOf('isEmail')!=-1) { p=val.indexOf('@');
        if (p<1 || p==(val.length-1)) errors+='- '+nm+' moet een e-mail adres bevatten.\n';
      } else if (test!='R') {
        if (isNaN(val)) errors+='- '+nm+' moet een cijfer zijn tussen 1000 en 9999.\n';
        if (test.indexOf('inRange') != -1) { p=test.indexOf(':');
          min=test.substring(8,p); max=test.substring(p+1);
          if (val<min || max<val) errors+='- '+nm+' moet een cijfer zijn tussen '+min+' en '+max+'.\n';
    } } } else if (test.charAt(0) == 'R') errors += '- '+nm+' is required.\n'; }
  } if (errors) alert('Following error(s) have occured:\n'+errors);
  document.MM_returnValue = (errors == '');
}


// Veldcontrolle inlichtingenformulier Duits //


function MM_findObj(n, d) { //v4.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && document.getElementById) x=document.getElementById(n); return x;
}

function MM_validateFormDE() { //v4.0
  var i,p,q,nm,test,num,min,max,errors='',args=MM_validateFormDE.arguments;
  for (i=0; i<(args.length-2); i+=3) { test=args[i+2]; val=MM_findObj(args[i]);
    if (val) { nm=val.name; if ((val=val.value)!="") {
      if (test.indexOf('isEmail')!=-1) { p=val.indexOf('@');
        if (p<1 || p==(val.length-1)) errors+='- '+nm+' moet een e-mail adres bevatten.\n';
      } else if (test!='R') {
        if (isNaN(val)) errors+='- '+nm+' moet een cijfer zijn tussen 1000 en 9999.\n';
        if (test.indexOf('inRange') != -1) { p=test.indexOf(':');
          min=test.substring(8,p); max=test.substring(p+1);
          if (val<min || max<val) errors+='- '+nm+' moet een cijfer zijn tussen '+min+' en '+max+'.\n';
    } } } else if (test.charAt(0) == 'R') errors += '- '+nm+' ist erforderlich.\n'; }
  } if (errors) alert('Folgende Störung(en) traten auf:\n'+errors);
  document.MM_returnValue = (errors == '');
}
// MAPPY  NL/FR/EN
//-- Lien FR
//-- http://pro.mappy.com/BtoB/Proximedia/map?map.id=3011263;map.provider=Proximedia;&xml.state.wanted_lang=fr
//-- lien NL
//-- http://pro.mappy.com/BtoB/Proximedia/map?map.id=3011263;map.provider=Proximedia;&xml.state.wanted_lang=nl
//-- lien EN
//-- http://pro.mappy.com/BtoB/Proximedia/map?map.id=3011263;map.provider=Proximedia;&xml.state.wanted_lang=en
//-- <script language="JavaScript" src="plan.js"></s"k"cript>
//-- <a href="javascript:plan()">Plan</a> --

function plan()
{
window.open("http://pro.mappy.com/BtoB/Proximedia/map?map.id=3020675;map.provider=Proximedia;&xml.state.wanted_lang=nl", "Plan", "toolbar=no, location=no, directories=no, status=yes, scrollbars=yes, resizable=no, copyhistory=no, width=730, height=500, left=50, top=50");
}
function plan2()
{
window.open("http://pro.mappy.com/BtoB/Proximedia/map?map.id=3020611b;map.provider=Proximedia;&xml.state.wanted_lang=nl", "Plan", "toolbar=no, location=no, directories=no, status=yes, scrollbars=yes, resizable=no, copyhistory=no, width=730, height=500, left=50, top=50");
}
// END OF MAPPY
/*
// DISABLE RIGHT CLICK MOUSE
var message="Function Disabled!";

///////////////////////////////////
function clickIE4(){
if (event.button==2){
alert(message);
return false;
}
}

function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
alert(message);
return false;
}
}
}

if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS4;
}
else if (document.all&&!document.getElementById){
document.onmousedown=clickIE4;
}

document.oncontextmenu=new Function("alert(message);return false")
// END DISABLE MOUSE RIGHT CLICK
*/

//DHTML MENU START
//SuckerTree Vertical Menu 1.1 (Nov 8th, 06)
//By Dynamic Drive: http://www.dynamicdrive.com/style/
/*
var menuids=["suckertree1"] //Enter id(s) of SuckerTree UL menus, separated by commas

function buildsubmenus(){
for (var i=0; i<menuids.length; i++){
  var ultags=document.getElementById(menuids[i]).getElementsByTagName("ul")
    for (var t=0; t<ultags.length; t++){
    ultags[t].parentNode.getElementsByTagName("a")[0].className="subfolderstyle"
		if (ultags[t].parentNode.parentNode.id==menuids[i]) //if this is a first level submenu
			ultags[t].style.left=ultags[t].parentNode.offsetWidth+"px" //dynamically position first level submenus to be width of main menu item
		else //else if this is a sub level submenu (ul)
		  ultags[t].style.left=ultags[t-1].getElementsByTagName("a")[0].offsetWidth+"px" //position menu to the right of menu item that activated it
    ultags[t].parentNode.onmouseover=function(){
    this.getElementsByTagName("ul")[0].style.display="block"
    }
    ultags[t].parentNode.onmouseout=function(){
    this.getElementsByTagName("ul")[0].style.display="none"
    }
    }
		for (var t=ultags.length-1; t>-1; t--){ //loop through all sub menus again, and use "display:none" to hide menus (to prevent possible page scrollbars
		ultags[t].style.visibility="visible"
		ultags[t].style.display="none"
		}
  }
}

if (window.addEventListener)
window.addEventListener("load", buildsubmenus, false)
else if (window.attachEvent)
window.attachEvent("onload", buildsubmenus)
*/
 
// MENU HORIZONTAL STYLE
/* START DHTML MENU + JAVAS CRIPT */
/*Credits: Dynamic Drive CSS Library */
/*URL: http://www.dynamicdrive.com/style/ */
/*
.suckerdiv {
background: #4fa7d7;
font-family:Arial, Helvetica, sans-serif;
font-weight:bold;
font-size:14px;
color:#FFFFFF;
height:17px;
}
.suckerdiv ul{
margin: 0;
padding: 0;
list-style-type: none;
width: 828px; // Width of Menu Items 
border-bottom: 1px solid #ccc;
}
	
.suckerdiv ul li{
background: #4fa7d7;
position: relative;
float:left;
}

	
//Sub level menu items 
.suckerdiv ul li ul{
background: #4fa7d7;
position:absolute;
top: 0;
margin-top:17px;
_margin-top:19px;
margin-left:-99px;
visibility: hidden;
width: 186px; //sub menu width
}
.suckerdiv ul li ul li{
width: 200px; //sub menu width
}

// Sub level menu links style
.suckerdiv ul li a{
//display: block;
overflow: auto; //force hasLayout in IE7
color: #FFFFFF;
text-decoration: none;
background: #4fa7d7;
padding: 1px 10px;
border: 1px solid #ccc;
border-bottom: 0;
}
.suckerdiv ul li ul li a{
display: block;
}

.suckerdiv ul li a:visited{
color: #FFFFFF;
text-decoration:none;
}

.suckerdiv ul li a:hover{
background-color: #a9dffd;
color:#000000;
}

.suckerdiv .subfolderstyle{
}

	
// Holly Hack for IE \
* html .suckerdiv ul li { float: left; height: 1%; }
* html .suckerdiv ul li a { height: 1%; }
// End

// MENU VERTICAL STYLE
.suckerdiv ul{
margin: 0;
padding: 0;
list-style-type: none;
width: 160px; // Width of Menu Items 
border-bottom: 1px solid #ccc;
}
	
.suckerdiv ul li{
background: #33cccc;
position: relative;
}

	
//Sub level menu items 
.suckerdiv ul li ul{
background: #33cccc;
position: absolute;
width: 186px; //sub menu width
top: 0;
visibility: hidden;
}

// Sub level menu links style
.suckerdiv ul li a{
display: block;
overflow: auto; //force hasLayout in IE7 
color: black;
text-decoration: none;
background: #33cccc;
padding: 1px 5px;
border: 1px solid #ccc;
border-bottom: 0;
}

.suckerdiv ul li a:visited{
color: black;
text-decoration:none;
}

.suckerdiv ul li a:hover{
background-color: #ccffff;
}

.suckerdiv .subfolderstyle{
}

	
// Holly Hack for IE \
* html .suckerdiv ul li { float: left; height: 1%; }
* html .suckerdiv ul li a { height: 1%; }
// End 
*/
//////////////////////
/*
START HTML CODE
<div class="suckerdiv">
<ul id="suckertree1">
<li><a href="index.html">HOME</a></li>
<li><a href="wie_zijn_wij.html">WIE WE ZIJN</a></li>
<li><a href="wat_doen_wij.html">WAT WE DOEN</a></li>
<li><a href="#">PRODUCTEN</a>
  <ul>
  <li><a href="orthopedische_schoenen.html">ORTHOPEDISCHE SCHOENEN</a></li>
  <li><a href="steunzolen.html">STEUNZOLEN</a></li>
  <li><a href="veiligheidsschoenen.html">VEILIGHEIDSSCHOENEN</a></li>
  <li><a href="correctieschoenen_kinderen.html">CORRECTIESCHOENEN KINDEREN</a></li>
  <li><a href="semi_orthopedische_schoenen.html">SEMI ORTHOPEDISCHE SCHOENEN</a></li>
  <li><a href="aanpassing_confectieschoenen.html">AANPASSING CONFECTIESCHOENEN</a></li>
  </ul>
</li>
<li><a href="voorschriften_procedures.html">VOORSCHRIFTEN PROCEDURES</a></li>
<li><a href="contact.html">CONTACT</a></li>
</ul>
</div>
END HTML CODE */
//DHTML MENU END

// START FLASH MESSAGE : stippelijnen
theObjects = document.getElementsByTagName("object"); 
for (var i = 0; i < theObjects.length; i++) { 
theObjects[i].outerHTML = theObjects[i].outerHTML; 
}
// END FLASH MESSAGE : stippelijnen

// START IMAGE SHOW ON HOVER
// START HTML CODE
/*
<table>
  <tr>
    <td><a nohref="nohref" onmouseover="modifyimage('dynloadarea', 0)"><img src="p1a.jpg" height="50" width="50" style="border: 1px solid #0000999" /></a> </td>
    <td><a nohref="nohref" onmouseover="modifyimage('dynloadarea', 1)"><img src="p1b.jpg" height="50" width="50" style="border: 1px solid #0000999" /></a> </td>
  </tr>
</table>
<div id="dynloadarea" style="width:352px;height:300px"></div>
*/
// END HTML CODE
/***********************************************
* Image Thumbnail Viewer II script- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
* Visit http://www.dynamicDrive.com for hundreds of DHTML scripts
* This notice must stay intact for legal use
***********************************************/
/*
//Specify image paths and optional link (set link to "" for no link):
var dynimages=new Array()
dynimages[0]=["p1a.jpg", ""]
dynimages[1]=["p1b.jpg", ""]
dynimages[2]=["p1c.jpg", ""]
dynimages[3]=["p1d.jpg", ""]
dynimages[4]=["p1e.jpg", ""]
dynimages[5]=["p1f.jpg", ""]
dynimages[6]=["p1g.jpg", ""]
dynimages[7]=["p1h.jpg", ""]
dynimages[8]=["p1i.jpg", ""]
dynimages[9]=["p1j.jpg", ""]

//Preload images ("yes" or "no"):
var preloadimg="yes"

//Set optional link target to be added to all images with a link:
var optlinktarget=""

//Set image border width
var imgborderwidth="1px"
var imgborderstyle="solid"
var imgbordercolor="#000000"

//Optionally, change 1.0 and 0.7 below to affect Wipe gradient size and duration in seconds in IE5.5+:
var filterstring="progid:DXImageTransform.Microsoft.GradientWipe(GradientSize=1.0 Duration=0.7)"

///////No need to edit beyond here/////

if (preloadimg=="yes"){
for (x=0; x<dynimages.length; x++){
var myimage=new Image()
myimage.src=dynimages[x][0]
}
}

function returnimgcode(theimg){
var imghtml=""
if (theimg[1]!="")
imghtml='<a href="'+theimg[1]+'" target="'+optlinktarget+'">'
imghtml+='<img src="'+theimg[0]+'" style="border:'+imgborderwidth+' '+imgborderstyle+' '+imgbordercolor+'">'
if (theimg[1]!="")
imghtml+='</a>'
return imghtml
}

function modifyimage(loadarea, imgindex){
if (document.getElementById){
var imgobj=document.getElementById(loadarea)
if (imgobj.filters && window.createPopup){
imgobj.style.filter=filterstring
imgobj.filters[0].Apply()
}
imgobj.innerHTML=returnimgcode(dynimages[imgindex])
if (imgobj.filters && window.createPopup)
imgobj.filters[0].Play()
return false
}
}
// END IMAGE SHOW ON HOVER
*/
