function objRef(id) {return document.getElementById(id)}
function styleRef(id) {return this.objRef(id).style}

var xOffset=0;
function setMiddle() {
	if (window.innerWidth) xOffset=parseInt((window.innerWidth-438)/2-350)
	else if (document.all) xOffset=parseInt((document.body.clientWidth-438)/2-350)
	else xOffset=10
	if (document.getElementById('animatie')) document.getElementById('animatie').style.left=xOffset+'px';
//	document.getElementById('animatie').style.visibility='visible';
}

function hl(id){
	b=id.src;
	s=(b.substring(b.length-4,b.length-5)==0)?'1':'0';
	id.src=(b.substring(b.length-5,0)+s+'.gif');
}
