function moretext (i){
	document.getElementById('meer_'+ i).style.display = 'none';
	document.getElementById('vervolg_' + i).style.display = 'inline';
}

function more (i){
	document.getElementById('meer_'+ i).style.display = 'none';
	document.getElementById('rest_'+ i).style.display = 'inline';
}

function ShowMap(URL, WinTitle, WinWidth, WinHeight, WinLeft, WinTop){
        attr = "status=no,toolbar=no,menubar=no,resizable=yes,scrollbars=no,width=" + WinWidth + ",height=" + WinHeight + ",screenX=" + WinLeft + ",screenY=" + WinTop + ",left=" + WinLeft + ",top=" + WinTop + "";
        msgWindow=open(URL, WinTitle, attr);
        if (msgWindow.opener == null) msgWindow.opener = self;
}

function ShowMenu(URL, WinTitle, WinWidth, WinHeight, WinLeft, WinTop){
        attr = "status=no,toolbar=no,menubar=no,resizable=yes,scrollbars=yes,width=" + WinWidth + ",height=" + WinHeight + ",screenX=" + WinLeft + ",screenY=" + WinTop + ",left=" + WinLeft + ",top=" + WinTop + "";
        msgWindow=open(URL, WinTitle, attr);
        if (msgWindow.opener == null) msgWindow.opener = self;
}

function blockdisplay(i) {
	if (document.getElementById){
		if (document.getElementById("blockdisplay"+i)) {
			for ( j = 1; j < 1000; j++ ) {
				if (document.getElementById('blockdisplay' + j)) {document.getElementById('blockdisplay' + j).style.display = 'none';}
				    else {j = 1000;}
			      }
		if (i) {
			document.getElementById("blockdisplay"+i).style.display = 'block';}
		}
	}
}

function writeOut(arg) {
	document.write(arg);
}


if (document.getElementById) {
    document.write("<style type='text/css'>");
    document.write(".b_blocktoggle {display: none}");
    document.write("</style>");
    var shown = new Array();
}

function blocktoggle(i) {
    if (document.getElementById) {
        shown[i] = (shown[i]) ? false : true;
        currentdisplay = (shown[i]) ? 'block' : 'none';
        document.getElementById('b_blocktoggle'+i).style.display = currentdisplay;
    }
}


var offsetx = 12;
var offsety =  8;
var ie5 = (document.getElementById && document.all); 
var ns6 = (document.getElementById && !document.all); 
var ua = navigator.userAgent.toLowerCase();
var isapple = (ua.indexOf('applewebkit') != -1 ? 1 : 0);
function getmouseposition(e)
{
    if(document.getElementById)
    {
        var iebody=(document.compatMode && 
        	document.compatMode != 'BackCompat') ? 
        		document.documentElement : document.body;
        pagex = (isapple == 1 ? 0:(ie5)?iebody.scrollLeft:window.pageXOffset);
        pagey = (isapple == 1 ? 0:(ie5)?iebody.scrollTop:window.pageYOffset);
        mousex = (ie5)?event.x:(ns6)?clientX = e.clientX:false;
        mousey = (ie5)?event.y:(ns6)?clientY = e.clientY:false;
            breed = document.LargeImg.width;
    document.LargeImg.style.top = (mousey+pagey+offsety) -10 + 'px'; 
    document.LargeImg.style.left = (mousex+pagex+offsetx)- breed - 25 + 'px';     
    }
}

function Large_Img(img_src)  {
//document.LargeImg.style.top = 200+'px';
document.LargeImg.src = img_src	

//alert(test);
document.LargeImg.style.display = 'block';
document.onmousemove = getmouseposition;
//getData(id,language);
}

function closeTip() {	
document.LargeImg.style.display = "none";
//document.LargeImg.innerHTML = '';
}