function newImage(arg) {
	if (document.images) {
		rslt = new Image();
		rslt.src = arg;
		return rslt;
	}
}

function changeImages() {
	if (document.images && (preloadFlag == true)) {
		for (var i=0; i<changeImages.arguments.length; i+=2) {
			document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
		}
	}
}

var preloadFlag = false;
function preloadImages() {
	if (document.images) {
		id6E_eng_01_over = newImage("images/6E-eng_01-over.gif");
		preloadFlag = true;
	}
}


var raampje, xtra, ytra;

function sleepen() {
	if (event.button!=1) return;	
	raampje = eval("maildiv");
	temp1=raampje.style.posLeft;
	temp2=raampje.style.posTop;
	xpos=event.clientX;
	ypos=event.clientY;
	xtra = temp1-xpos;
	ytra = temp2-ypos;
	document.onmousemove=plaats;
}

function plaats() {
	if (event.button==1) {
		raampje.style.pixelLeft=event.clientX+xtra;
		raampje.style.pixelTop=event.clientY+ytra;
		return false;
	}
}

function raam(inside,width,height, e) {		
	 						
	var thisspan = eval("maildiv.style") 
	if(!document.all) {
		thisspan.pixelLeft = e.pageX;		
		thisspan.pixelTop =  e.pageY;
	}
	// IE in Windows
	else {
		thisspan.pixelLeft = window.event.x+document.body.scrollLeft;
   		thisspan.pixelTop  = window.event.y+document.body.scrollTop;
   	};
	thisspan.visibility="visible";
	output = "<table bgcolor=#ffffff onclick='closeraam()' cellpadding=0 cellspacing=0 width=" + width + " height=" + height + " border=1>";
	output += "<tr><td width=100%>" + inside + "</td></tr><table>";
	maildiv.innerHTML = output;
}

function closeraam() {
	maildiv.style.visibility="hidden";
}


function popthatcris(e) {
	outp = "";
	outp +="<DIV CLASS=\"epop\">6E stands for Ecology, Energy, Emissions, Ergonomics, Economics and Efficiency. This concept symbolises the holistic approach of the model. In 6E values and possibilities come together in a blend that stimulates creativity:<UL><LI>the UN Declaration of Human Rights</LI><LI>the UN Rio Declaration on the Environment and Development</LI><LI>the possibilities inherent in the international market economy</LI><LI>the possibilities of the Internet and user-adapted information technology</LI><LI>the human capacity for creativity</LI><LI>the power of a good example</LI></DIV>";
	raam(outp,300,50, e);
}


