var NS4 = document.layers;
var NS6 = (!document.all && !document.layers && navigator.appName == "Netscape" && parseInt(navigator.appVersion) >=5)?true:false;
var IE4 = (navigator.appVersion.indexOf("MSIE 4")>0);

var zoekv="input.f15zoekcss {width: 92px; height: 19px;border-left: 1px solid #3E59B0; border-top: 1px solid #3E59B0; border-right: 1px solid #3E59B0; border-bottom: 1px solid #3E59B0;}";
var inputf4="input.inputcss { height: 16px; border-left: 1px solid #3E59B0; border-top: 1px solid #3E59B0; border-right: 1px solid #3E59B0; border-bottom: 1px solid #3E59B0; font-size: 0.8em;}";
var xoverflow="overflow-x:auto; padding-bottom:16px";
var yoverflow="overflow-y:auto";
var f4asize =75;  
var inp="input.inp{width: 99%;}";
var inp1="input.inp1{width: 25%;}";
var inp2="input.inp2{width: 74%;}";
var area="textarea.area{width: 99%;}";
var lheight="line-height: 135%;";
var navgifs="TABLE.infow{position: relative; left: -25px; z-index: 2;}";

function hasFE(){var fe;if(document.all&&!IE4)eval("try{fe=window.frameElement}catch(e){}");return fe}

var vluchtwidth = 223, vluchtspace = 55;
var leftf4b, totaalf4 = 800 - 380, restf4;
if(window.innerWidth)
totaalf4 = innerWidth; //neem totale breedte van f4frame NS4/NS6
else if(hasFE())
totaalf4 = frameElement.clientWidth; //neem totale breedte van f4frame
else if(document.documentElement)
totaalf4 = document.documentElement.offsetWidth // IE50
else if(window.screen) // IE40
totaalf4 = window.screen.availWidth - 380; // 22 aftrekken indien er geen zijframe is! zie v 9336000 dynamcss.js

restf4 = totaalf4 - vluchtwidth - vluchtspace;


if (NS6){
  restf4 = restf4 - 20 //Mozilla telt ook padding (30  + 6 = 36) op bij de breedte
} 



if (restf4 < 0) restf4 = 0;
leftf4b = totaalf4 - vluchtwidth - 25;
if (leftf4b < 0) leftf4b = 0;

var restf4gv = totaalf4 - 10;

function setLayerHoriz(id,left,width) {
	var obj, objs;
	if (document.getElementById){
		obj = document.getElementById(id);
	} else if(document.all) {
		obj = document.all[id];
	} else if(document.layers) {
		objs = document.layers[id];
	}  
	if (obj && !objs)
		objs = obj.style;
	if (objs) {
		objs.left = left;
		if(width>=0)objs.width = width;
	}
}

function doresize() {
    var available_width= window.innerWidth ? innerWidth : document.body.offsetWidth;
	if(NS6){
		setLayerHoriz('main',0,available_width-vluchtwidth-vluchtspace-20);
		setLayerHoriz('vlucht',available_width-vluchtwidth - 20,-1);
	}
	else{
		setLayerHoriz('main',0,available_width-vluchtwidth-vluchtspace);
		setLayerHoriz('vlucht',available_width-vluchtwidth - 25,-1);
	}
	setLayerHoriz('maingeenv',0,available_width-10);
	//setLayerHoriz('mainzondervlucht',0,available_width-10);
	setLayerHoriz('vlucht2',available_width-vluchtwidth,-1);
	setLayerHoriz('vlucht3',available_width-vluchtwidth,-1);
	setLayerHoriz('vlucht4',available_width-vluchtwidth,-1);
	setLayerHoriz('vlucht5',available_width-vluchtwidth,-1);
}

var lnksmetileft = "0";
if ( (IE4) || ( (IE5) && (!IE55) ) ){
	var lnksmetileft = "1";
}


var t=''
if ((isMac) && (NS4)){
f4asize =100;
f4asmallst=80;
f4bsize =100;
h1asize =1.1;
h2asize =0.9;
h3asize =0.8;
H1size =1.4;							/*hoofdscherm kopje, in em*/
H2size =1.1;
H3size =1.0;
spanH1size =0.9;
spanH2size =0.9;
toppopupsize =12;
toppopuptekstborder ="none";
butcss="";
widthf4b="20";
vrawidthf4a="67";
vraleftf4b="70";
inp="";
inp1="";
inp2="";
area="";
navgifs="";
lheight="";
zoekv="";
inputf4=""
xoverflow="";
yoverflow="";
}
else if (NS4){
f4asize =70;
f4asmallst=80;
f4bsize=6;
h1asize =0.8;
h2asize =0.6;
h3asize =0.5;
H1size =1.4;
H2size =1.1;
H3size =1.0;
spanH1size =0.9;
spanH2size =0.9;
toppopupsize =12;
toppopuptekstborder ="none";
butcss="";
widthf4b="20";
vrawidthf4a="60";
vraleftf4b="86";
inp="";
inp1="";
inp2="";
area="";
navgifs="";
lheight="";
zoekv="";
inputf4=""
xoverflow="";
yoverflow="";
}
else if (NS6){
f4asmallst=80;
f4bsize=90;
h1asize = 1;
h2asize =0.8;  
h3asize =0.7;  
H1size =1.2;
H2size =1.1;
H3size =0.9;
spanH1size =1;
spanH2size =1;
toppopupsize =11;
//positiontoppopuptekst = "";
toppopuptekstborder ="border-right-color:#999999; border-right-width: 1px; border-right-style: solid; border-left-color:#999999; border-left-width: 1px; border-left-style: solid; border-bottom-color:#999999; border-bottom-width: 1px; border-bottom-style: solid";
butcss=".button {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; background: #FDD591; border-color:#663300; border-width: 1px; border-style: solid; color: #3E59B0; cursor: hand; font-weight : bold;}";
widthf4b="277";
vrawidthf4a="67";
vraleftf4b="68";
xoverflow="overflow:auto";
yoverflow="overflow:auto";
}
else{
f4asmallst=80;
f4bsize=100; // ar 2004-08-09: was 80
h1asize =1;
h2asize =0.8;  
h3asize =0.7;  
H1size =1.1; //was 1.2; nc 2003-04-26
H2size =1.1;
H3size =0.9;
spanH1size =1.06;
spanH2size =1.1;
toppopupsize =11;
//positiontoppopuptekst = "";
toppopuptekstborder ="border-right-color:#999999; border-right-width: 1px; border-right-style: solid; border-left-color:#999999; border-left-width: 1px; border-left-style: solid; border-bottom-color:#999999; border-bottom-width: 1px; border-bottom-style: solid";
butcss=".button {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; background: #FDD591; border-left: 1px solid #663300; border-top: 1px solid #663300; border-right: 1px solid #663300; border-bottom: 1px solid #663300;font-weight : normal;}";
widthf4b="277";
vrawidthf4a="67";
vraleftf4b="68";
}

t+='<STYLE TYPE="text/css"><!--'
t+='\n '+area;
t+='\n '+inp;
t+='\n '+inp1;
t+='\n '+inp2;
t+='\n '+butcss;
t+='\n '+zoekv;
t+='\n '+inputf4;
t+='\n BODY, TD, TH, BR, TABLE.astbl TD, TD.fontwit,TABLE.astbl TH, TH.fontwit {'
t+='\n font-family: Verdana, Arial, Helvetica, sans-serif;'
t+='\n font-size: '+f4asize+'%;'
t+='\n '+lheight;
t+='\n color: #000000;'
t+='\n}'
t+='\n BODY.screen {'
t+='\n margin-left: 0px;'
t+='\n margin-right: 0px;'
t+='\n margin-bottom: 0px;'
t+='\n}'
t+='\n TABLE.astbl TD, TD.fontwit,TABLE.astbl TH, TH.fontwit {'
t+='\n padding-right: 4px;' 
t+='\n}'
//t+='\n BODY.printversie{'
//t+='\n margin-left:20px;'
//t+='\n margin-right:10px;'
//t+='\n}'
t+='\n BODY {'
t+='\n background-color :#ffffff;' 
//t+='\n background-image: url(/9299000/g/f4_8er.gif);'
//t+='\n background-repeat: repeat-y;'
t+='\n}'
t+='\n .lnksmeti {position: relative; top:-4px; left: '+lnksmetileft+'px; margin-left: 0px; margin-top: 0px; font-size: 9px; font-family: "Times New Roman"; font-weight: bold; background-color: #ffffff; color: #3E59B0; text-align: center; padding-top: 0px; padding-bottom: -2px; padding-left: 2px; padding-right: 2px; text-decoration: none;}'
t+='\n H1, H1 A, H1 A:VISITED, H1 A:ACTIVE, H1 A:HOVER{'
t+='\n font-family: Verdana, Arial, Helvetica, sans-serif;'
t+='\n font-size: '+H1size+'em;'
t+='\n font-weight: bold;'
t+='\n color: #1876AC;'
t+='\n text-decoration: none;'
t+='\n margin-bottom:1em'
t+='\n }'

t+='\n body.printversie H1, body.printversie H1 A, body.printversie H1 A:VISITED, body.printversie H1 A:ACTIVE, body.printversie H1 A:HOVER{'
t+='\n color: #000000;'
t+='\n }'

t+='\n A.h1, A.h1:VISITED, A.h1:ACTIVE, A.h1:HOVER{'
t+='\n font-family: Verdana, Arial, Helvetica, sans-serif;'
t+='\n font-size: '+H1size+'em;'
t+='\n color: #FF973E;'
t+='\n text-decoration: none;'
t+='\n }'

// dit is voor kopjes bij instellingen foto's
t+='\n A.h5, A.h5:VISITED, A.h5:ACTIVE, A.h5:HOVER{'
t+='\n font-family: Verdana, Arial, Helvetica, sans-serif;'
t+='\n font-size: '+H2size+'em;'
t+='\n color: #415BBA;'
t+='\n text-decoration: none;'
t+='\n }'

t+='\n SPAN.h1, SPAN.h1 A, SPAN.h1 A:VISITED, SPAN.h1 A:ACTIVE, SPAN.h1 A:HOVER{'
t+='\n font-family: Verdana, Arial, Helvetica, sans-serif;'
t+='\n font-size: '+spanH1size+'em;'
t+='\n font-weight: bold;'
t+='\n color: #FF973E;'
t+='\n text-decoration: none;'
t+='\n }'

t+='\n SPAN A.h1, SPAN A.h1:VISITED, SPAN A.h1:ACTIVE, SPAN A.h1:HOVER{'
t+='\n font-family: Verdana, Arial, Helvetica, sans-serif;'
t+='\n font-size: '+H2size+'em;'
t+='\n color: #FF973E;'
t+='\n font-weight: bold;'
t+='\n text-decoration: none;'
t+='\n }'

t+='\n H2, H2 A, H2 A:VISITED, H2 A:ACTIVE, H2 A:HOVER{'
t+='\n font-family: Verdana, Arial, Helvetica, sans-serif;'
t+='\n font-size: '+H2size+'em;'
t+='\n font-weight: bold;'
t+='\n color: #FF973E;'
t+='\n text-decoration: none;'
//t+='\n margin-bottom: 0px;'
t+='\n }'

t+='\n body.printversie h2, body.printversie .h2{'
t+='\n color: #000000;'
t+='\n }'

t+='\n  A.h2, A.h2:VISITED, A.h2:ACTIVE, A.h2:HOVER {'
t+='\n 	font-family: Verdana, Arial, Helvetica, sans-serif;'
t+='\n color: #FF973E;'
t+='\n font-size: '+H2size+'em;'
t+='\n 	text-decoration: none;'
t+='\n margin-bottom: 0px;'
t+='\n }'
t+='\n H3 {'
t+='\n font-family: Verdana, Arial, Helvetica, sans-serif;'
t+='\n font-size: '+H3size+'em;'
t+='\n font-weight: bold;'
t+='\n color: #FF973E;'
t+='\n }'

t+='\n TD.f4b  A, TD.f4b A:VISITED {'
t+='\n color: #1876AC;'
/*t+='\n font-weight: bold;'*/
t+='\n text-decoration: none;'
t+='\n font-size: '+f4bsize+'%;'
t+='\n}'

t+='\n TD.f4bcur  A, TD.f4bcur A:VISITED {'
t+='\n color: #3BB2B2;'
t+='\n font-weight: bold;'
t+='\n text-decoration: none;'
t+='\n font-size: '+f4bsize+'%;'
t+='\n}'

t+='\n TD.f4b A:hover {'
t+='\n color: #FF9900;'
t+='\n text-decoration: none;}'  

t+='\n TD.f4b A:active {'
t+='\n color: #3E59B0;'
t+='\n text-decoration: none;}'


t+='\n TD.f4broute A,TD.f4broute A:active,TD.f4broute A:active {'
t+='\n text-decoration: none;'
t+='\n font-weight: normal;}'

t+='\n TD.f4broute A:hover{'
t+='\n text-decoration: none;'
t+='\n color: #EB7805;'
t+='\n font-weight: normal;}'


t+='\n P.disc{'
t+='\n font-size: '+f4asmallst+'%;'
t+='\n font-style: italic;'
t+='\n}'
t+='\n P.bijschrift {'
t+='\n font-size: '+f4asmallst+'%;'
t+='\n}'


t+='\n '+navgifs;
t+='//--></style>'
//alert(t);
document.write(t);


if ((isMac) && (NS4)){
  SizNSmenuitems = "10";
  popupSize = "10";
}else{
  SizNSmenuitems = "8";
  popupSize = "8";
}



if (isMac) {
  SizNSmenuitems = "10";
}else{
  SizNSmenuitems = "8";

}

var ie5macbug="";

if ((isMac)&& (navigator.appVersion.indexOf("MSIE 5")>0 )) {
  ie5macbug = "margin: 0px; width: 270px; text-align: center;";
}


if ((isMac)&& (NS4)){
  positiontoppopuptekst = "position: relative; top:0px; width: 305px;";
  toptit="";
  padding = "";
}
else{
  if ((isMac)&& (navigator.appVersion.indexOf("MSIE 5")>0 )){
    positiontoppopuptekst = "width: 305px;";
    toptit = "top: -19px; ";
    padding = "padding-bottom: 3px; padding-top: 3px;";
  }
  else{
    if (NS4){
      positiontoppopuptekst = "position: relative; top:2px; width: 305px;";
      toptit="";
      padding = "";
    }
    else{
      if (is_nav7up){
        positiontoppopuptekst = "position: relative; top:26px; width: 293px; ";
        toptit="";
        padding = "padding-bottom:3px; padding-top: 3px;";
      }
      else{
        if ( (is_moz) || (is_fb) ){
          positiontoppopuptekst = "position: relative; top:12px; width: 293px; ";
          toptit="";
          padding = "padding-bottom:3px; padding-top: 3px;";
        }
        else{
          if (is_opera){
            positiontoppopuptekst = "position: relative; top:9px; width: 305px;";
            toptit="";
            padding = "margin-bottom: 23px; padding-bottom:23px; padding-top: 3px;";
          }
          else{
            if (navigator.appVersion.indexOf("MSIE 4")>0){
              positiontoppopuptekst = "position: relative; top:15px; width: 305px; ";
              toptit="";
              padding = "padding-bottom: 3px; padding-top: 3px;";
            }
            else{
              if (navigator.appVersion.indexOf("MSIE 6")>0){
                positiontoppopuptekst = "position: relative; top:11px; width: 305px;";
                toptit="";
                padding = "padding-bottom: 3px; padding-top: 3px;";
              }
              else{
                positiontoppopuptekst = "position: relative; top:13px; width: 305px; ";
                padding = "padding-bottom: 3px; padding-top: 3px;";
                toptit="";
 			    }
	         }
           }
		}
      }
    }
  }
}

document.write('<STYLE TYPE="TEXT/CSS"><!--'+

/* BG color menuitems te vinden in f15.htm onder "var mOverBG" (mouseover) en "var mPopBG" (normaal) */

//'A.f15mpopns,A.f15mpopns:active,A.f15mpopns:visited {'+ 		/*tekst kleur, popup menu*/
//' font-family:Arial,sans serif;'+ 
//' font-size:'+SizNSmenuitems+'pt;'+ 
//' color:#000000;'+ 
//' text-decoration:none;'+ 
//'}'+ 
//'DIV.f15mpop1ns {'+ 							/*border kleur, popup menu*/
//'	padding: 1px 1px 0px 4px;'+ 
//' font-family:Arial,sans serif;'+ 
//'	border: 10px solid #14B9B9;'+ 
//'    width:200px;'+ 
//'}'+ 
//'DIV.f15mpopOverns A{'+ 					/*tekst kleur, popmenu bij mouseover*/
//'   font-size:'+SizNSmenuitems+'pt;'+ 
//' 	font-family:Arial,sans serif;'+ 
//'   color:#14B9B9;'+ 
//'   text-decoration: none;'+
//'}'+ 	

//  'A.f15mpopns:visited { font-family:Verdana,Arial,sans serif; font-size:'+SizNSmenuitems+'pt; color:#009900; text-decoration:none; width:200px; border-bottom-width: 10px; border-style: solid; border-color: #FFFFCC;}'+ 
  'A.f15mpopns,A.f15mpopns:active { color:#FFFFFF;}'+ 
  'DIV.f15mpopins {	padding: 1px 1px 1px 12px;}'+ 
  'A.f23mpopns,A.f23mpopns:active { color:#FFFFFF;}'+ 
  'DIV.f23mpopins {	padding: 1px 1px 1px 12px;}'+ 
  'div.popupnotes { background-color :#CCCCCC; border: none; padding: 4px; '+ie5macbug+'}'+ 
  'b.popupnotestxt { font-family: Verdana, Arial; font-size:'+popupSize+'pt; color:#000000;	font-weight : normal;}'+ 
//'.popuptitel { color: #FFFFFF; font-family :  Verdana, Arial, Helvetica, sans-serif; font-size: '+toppopupsize+'px; background-color: #7F93D3; width: 305px; padding: 3px; margin: 0px; border: none; font-weight : bold;}'+ 
//'.popuptekst { color: #000000; font-family :  Verdana, Arial, Helvetica, sans-serif; font-size: '+toppopupsize+'px; '+positiontoppopuptekst+'z-index: 436; background-color: #ffffff; width: 305px; padding: 3px; margin: 0px; border: '+toppopuptekstborder+';}'+ 
  '.popuptitel {background-color:#F0A803; position:absolute; '+toptit+' width: 305px; layer-background-color:#F0A803; border-color:#3E59B0; border-width:1px; border-style:solid; font-family: Verdana, Arial, Helvetica, sans-serif; font-size:'+toppopupsize+'px; color: #FFFFFF; '+padding+'; padding-left:2px; padding-right:2px; font-weight : bold; z-index: 336;}'+ 
  '.popuptekst {background-color:#ffffff; layer-background-color:#ffffff; border-color:#3E59B0; border-width:1px; border-style:solid; font-family: Verdana, Arial, Helvetica, sans-serif; font-size:'+toppopupsize+'px; color: #000000; '+padding+'; padding-bottom:2px; padding-left:8px; padding-right:8px;'+positiontoppopuptekst+'z-index: 436;}'+
  '.popuptitelIE {background-color:#7F93D3; position:absolute; '+toptit+' width: 265px; left:8px; top:10px; layer-background-color:#7F93D3; border-color:#7F93D3; border-width:1px; border-style:solid; font-family: Verdana, Arial, Helvetica, sans-serif; font-size:'+toppopupsize+'px; color: #FFFFFF; '+padding+'; padding-left:2px; padding-right:2px; font-weight : bold; z-index: 436;}'+ 
  '.popuptekstIE {background-color:#ffffff; width: 305px; layer-background-color:#ffffff; border-color:#FDD591; border-width:2px; border-style:solid; font-family: Verdana, Arial, Helvetica, sans-serif; font-size:'+toppopupsize+'px; color: #000000; padding-top:0px; padding-left:0px; padding-right:0px;'+positiontoppopuptekst+'z-index: 336;}'+
  '.popuptbg {background-color:#FDD591; position:absolute; width: 305px; height:20px; layer-background-color:#FDD591; border-color:#FDD591; border-width:1px; border-style:solid; font-family: Verdana, Arial, Helvetica, sans-serif; font-size:'+toppopupsize+'px; color: #FFFFFF; '+padding+'; padding-left:2px; padding-right:2px; font-weight : bold; z-index: 236;}'+ 
  'TD.popuptd {background-color:#FDD591; margin-top: 5px; margin-left: 5px; margin-right: 5px; padding-top:5px; padding-left:5px; padding-right:5px;}'+
  'DIV.mainplan { xbackground-color:#FDFEE1; position:absolute;  z-index: 12; top: 0px; left: 0px; margin-left: 0px; width: 100%; height:100%;}'+ 
//  'DIV.categorie { border-width:1px; border-style:solid; border-color:#3E59B0; position:absolute;  z-index: 14; top: 10px; left: 45px; margin-left: 0px; width: 513px; height:80px;}'+ 
  //'DIV.main { xbackground-color:#FDFEE1; position:absolute;  z-index: 12; top: 108px; left: 45px; margin-left: 0px; width: '+widthf4a+'%; height:100%;}'+ 
  'DIV.main { position:absolute;  z-index: 12; top: 2px; left: 0px; margin-left: 23px; x-margin-right: 25px; width:'+(restf4-0)+'px; padding-right: 10px; padding-bottom: 30px}'+ 
  'DIV.mainzondermarge { position:absolute;  z-index: 99; top: 0px; left: 0; margin-left: 8px; width: 100%; height:100%;}'+   
  'DIV.mainzondervlucht { background-color:#ffffff; z-index: 12; margin-left:0; margin-top: 8px; xwidth:'+(restf4gv)+'px;width:97%;}'+ 
  'DIV.maingeenv { background-color:#ffffff; z-index: 12; margin-left: 0.5em; margin-right: 25px; width:'+restf4gv+'px;}'+ 
  'DIV.mainvra {position:absolute; top: 13px; left: 0px; margin-left: 0px; width: '+vrawidthf4a+'%; height:100%;}'+ 
  'DIV.vlucht {background-color:#ffffff; text-align: right; position: absolute; z-index: 7; left:'+leftf4b+'px; top: 0px;}'+ 
  'DIV.vlucht2 {background-color:#ffffff; text-align: right; position: absolute; z-index: 26; left:'+leftf4b+'px; top: 0px;}'+ 
  'DIV.vlucht3 {background-color:#ffffff; text-align: right; position: absolute; z-index: 26; left:'+leftf4b+'px; top: 0px;}'+ 
  'DIV.vlucht4 {background-color:#ffffff; text-align: right; position: absolute; z-index: 26; left:'+leftf4b+'px; top: 0px;}'+ 
  'DIV.vlucht5 {xbackground-color:#ffffff; text-align: right; position: absolute; z-index: 26; left:'+leftf4b+'px; top: 0px;}'+ 
  'DIV.vluchtvra {background-color:#CCCCCC; layer-background-color:#CCCCCC; position: absolute; left:'+vraleftf4b+'%; height: 100%; top: 0px; width: 170px;}'+ 
  'div.f15zoek {position: absolute; top: 48; left: 6px; width: 105px; z-index: 3};'+ 
  '#trans2min {position: absolute; visibility:visible; left: '+leftf4b+'px;top: 0px; text-align: right; z-index: 37;}'+
  '#trans2plus {position: absolute; visibility:hidden; left: '+leftf4b+'px;top: 0px; text-align: right; z-index: 38;}'+
  'div.checkbox {'+ yoverflow + ';scrollbar-arrow-color: #000000; scrollbar-darkshadow-color: #122543; scrollbar-shadow-color: #EFEFEF; scrollbar-face-color: #C7C7C7; scrollbar-3dlight-color: #EFEFEF; scrollbar-highlight-color: #8D8D8D; scrollbar-track-color: #E0E0E0;}'+
  'table.styletable {width:'+(restf4-0)+'px; '+ xoverflow + '; }'+ 
	'--></STYLE>');

