var oneImg = new Image()
oneImg.src="images/menu/ijs.gif"

var twoImg = new Image()
twoImg.src="adres.gif"

var thrImg = new Image()
thrImg.src="black.gif"

var fouImg = new Image()
fouImg.src="images/alga.gif"

var fivImg = new Image()
fivImg.src="images/blauw.gif"

function divSize(){
var myHeight = 200;
var myWidth = 200;
 if( typeof( window.innerWidth ) == 'number' ) {
    //Non-IE
    myHeight = window.innerHeight;
	myWidth = window.innerWidth;
  } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
    //IE 6+ in 'standards compliant mode'
    myHeight = document.documentElement.clientHeight;
	myWidth = document.documentElement.clientWidth;
  } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
    //IE 4 compatible
    myHeight = document.body.clientHeight;
	myWidth = document.body.clientWidth;
  }
var a = document.getElementById("mainText");
if (myWidth<800){
a.style.height = myHeight - 140 +'px';}
else if (myWidth>=800){a.style.height = myHeight - 122 +'px';}
}
window.onresize = divSize;

