var basis=0;
	
function GoUp(){
	iframe1.scrollBy(0,-10);
	basis=setTimeout('GoUp()',60);
}

function GoDown(){
	iframe1.scrollBy(0,10);
	basis=setTimeout('GoDown()',60);
}

function Stop() {
	clearTimeout(basis);
}

function ResizeContent() {
	document.getElementById('iframe1').height = (document.body.offsetHeight - 320);
	document.getElementById('Img1').height = (document.body.offsetHeight - 340);
	if (document.body.offsetHeight < 600) {
		document.getElementById('info_move').style.visibility = 'visible';
	}
}

function changeImg(obj) {
  	var strSrc = obj.src;
	
	if(strSrc.indexOf('_off') != -1) {
 			rExp = /_off/gi;
   		obj.src = strSrc.replace(rExp,'_on');
	}
	else {
   		rExp = /_on/gi;
      		obj.src = strSrc.replace(rExp,'_off');
	}
}

function changeClass(intID) {
   	var strSrc = document.getElementById('TD' + intID).className;
	if(strSrc.indexOf('_off') != -1) {
  		rExp = /_off/gi;
   		document.getElementById('TD' + intID).className = strSrc.replace(rExp,'_on');
	}
	else {
	    rExp = /_on/gi;
        document.getElementById('TD' + intID).className = strSrc.replace(rExp,'_off');
	}
}

function ShowBoven(intGo,intTab) {
	if (intGo == 1) {
		document.getElementById('Tab_Boven_' + intTab).style.top = "-3px";
	} else {
		document.getElementById('Tab_Boven_' + intTab).style.top = "0px";
	}
}
		
function ShowBeneden(intGo,intTab) {
	if (intGo == 1) {
		document.getElementById('Tab_Beneden_' + intTab).style.top = "3px";
	} else {
		document.getElementById('Tab_Beneden_' + intTab).style.top = "0px";
	}
}

function ShowImg(strImg) {
	var ImgWindow=window.open('GroteFoto.asp?img='+strImg, '', 'copyhistory=0,directories=0,location=0,menubar=0,scrollbars=no,status=no,toolbar=0,width=400,height=400,resizable=no');
}

