<!--
	function DocInit(){
	var counter=0;
	var pos=0;
		if (BrowseWhat!="Nothing to browse"){
		initOldArr();
		initActiveArr();
		initCurrentArr();
		initImageArr(Ims);
		initDescriptionArr(Descs);
		initAlts();

		if (Viewed != ViewedSep){
			if(!doc.arrViewed) {doc.arrViewed=new Array()};
			if (Viewed.substring(0,1)==ViewedSep) {pos=1}
			doc.arrViewed=Viewed.substring(pos,Viewed.length).split(ViewedSep);
			while (counter < doc.arrViewed.length-1){
				doc.arrOld[doc.arrViewed[counter]].src=NumDir + "/no" + kleurO + GeefNoText(doc.arrViewed[counter]) + NumExt;
				imDeActivate("im" + GeefNoText(doc.arrViewed[counter]));
				counter ++;
			}
		}
		HandleClick("im" + GeefNoText(ViewImage));
		}
	}

	function DoeScherm(){
		initNoSizeArr();
		if (UserScreen != 3){
			AdresSize=7.5;
			TextSize=9;
			normalclientHeight=18;
			NavHeight=25;
		}
	NoGrootte=GeefNoGrootte();
	}

	function initNoSizeArr(){
		if(!doc.arrNoSize) doc.arrNoSize=new Array();
		doc.arrNoSize[1]=20;
		doc.arrNoSize[2]=20;
		doc.arrNoSize[3]=32;
	}
	
	function InitScreenVars(){
	var TheIndex;
	var CountNum;
	var TrackNum;
    if (window.innerWidth){
//Firefox Opera Safari
    SchermBreed = window.innerWidth;
    SchermHoog = window.innerHeight;}
    else if (document.documentElement && document.documentElement.clientWidth){
//IE windows
    SchermBreed = document.documentElement.clientWidth;
    SchermHoog = document.documentElement.clientHeight;}
    else if (document.body){
//IE Mac
    SchermBreed = document.body.clientWidth;
    SchermHoog = document.body.clientHeight;}

	  if (SchermBreed>MaxWidth) {SchermBreed=MaxWidth}
	  if (SchermHoog <= 600) {UserScreen=2}
		DoeScherm();
		if (!doc.ArrNumRows) doc.ArrNumRows = new Array();
		TheIndex=1;
		CountNum=1;
		TrackNum=1;

		NumNum=initTitleArr(Titles);

  	while (CountNum<=NumNum){
  		if (TrackNum*NoGrootte<=SchermBreed){
  			doc.ArrNumRows[TheIndex]=TrackNum;
  			CountNum++;
  			TrackNum++;
  			}
  		else{
  			TheIndex++;
  			TrackNum=1;
  		}
  	}
  	NumRows=TheIndex;
		LoadedPictures=doc.images.length-1;
  	}

	function initOldArr(){
		if(!doc.arrOld) doc.arrOld=new Array();
		var teller;
		for(teller=1; teller<=NumNum; teller++){
			doc.arrOld[teller]=new Image;
			doc.arrOld[teller].src=NumDir + "/no" + kleurN + GeefNoText(teller) + NumExt;
		}
	}

	function initActiveArr(){
		if(!doc.arrAct) doc.arrAct=new Array();
		var teller;
		for(teller=1; teller<=NumNum; teller++){
			doc.arrAct[teller]=new Image;
			doc.arrAct[teller].src=NumDir + "/no" + kleurA + GeefNoText(teller) + NumExt;
		}
	}

	function initCurrentArr(){
		if(!doc.arrCur) doc.arrCur=new Array();
		var teller;
		for(teller=1; teller<=NumNum; teller++){
			doc.arrCur[teller]=new Image;
			doc.arrCur[teller].src=NumDir + "/no" + kleurC + GeefNoText(teller) + NumExt;
		}
	}
	function initTitleArr(){
		if(!doc.arrTit) doc.arrTit=new Array();
	var teller, arg,
		arg=initTitleArr.arguments[0];
		if (arg.substr(0,1)!=Sep) {arg = Sep + arg};
		doc.arrTit=arg.split(Sep);
		return doc.arrTit.length-1;
	}

	function initImageArr(){
		if(!doc.arrIm) doc.arrIm=new Array();
	var arg;
		arg=initImageArr.arguments[0];
		if (arg.substr(0,1)!=Sep) {arg = Sep + arg};
		doc.arrIm=arg.split(Sep);
	}

	function initDescriptionArr(){
		if(!doc.arrDesc) doc.arrDesc=new Array();
	var arg;
		arg=initDescriptionArr.arguments[0];
		if (arg.substr(0,1)!=Sep) {arg = Sep + arg};
		doc.arrDesc=arg.split(Sep);
	}

	function initAlts(){
	var teller;
		for(teller=1;teller<=NumNum;teller++){
			doc.images[teller+LoadedPictures].alt=doc.arrTit[teller];
 			doc.images[teller+LoadedPictures].title=doc.arrTit[teller];
		}
	}
//-->
