<!-- Dynamic Frameless Popup image v1.0

	document.write("<div id=popup_foto class=popup_foto></DIV>");

	var ie4 = (document.all);
	var ns4 = (document.layers);
	var ns6 = (!document.all && document.getElementById);


function popup_image(text,foto,width,height,close_image,alt) {

	// Opera - Netscape 6 - Netscape 4x - Mozilla
	if (window.innerWidth || window.innerHeight) { 
		browserwidth 	= (window.innerWidth);
		browserheight 	= (window.innerHeight);
		} 

	// IE - Mozilla
	if (document.body.clientWidth || document.body.clientHeight) { 
		browserwidth 	= (document.body.clientWidth);
		browserheight 	= (document.body.clientHeight);
		} 

	layer		= 'popup_foto';

	paddingwidth 	= 0;
	paddingheight 	= 28;

	scrollwidth 	= document.body.scrollLeft;
	scrollheight 	= document.body.scrollTop;

	browserw = (browserwidth) ?  (browserwidth-paddingwidth-width)/2 + scrollwidth : 0;
	browserh = (browserheight) ? (browserheight-paddingheight-height)/2 + scrollheight : 0;

	var left = Math.round(browserw*1)/1;
	var top  = Math.round(browserh*1)/1;

	width1 = 'width + paddingheight';

	writeText(""+layer+"","<DIV class=popup_box><TABLE CELLPADDING=0 CELLSPACING=0 BORDER=0 WIDTH='"+width+"' HEIGHT='"+height+"'><TR><TD class=popup_kop>" +text+ "</TD></TR><TR><TD class=popup_main><A href=# onClick=hidelayer('popup_foto');><img src='" +foto+ "' WIDTH="+width+" HEIGHT="+height+" style='cursor:hand' ALT='"+alt+"' BORDER=0></A></TD></TR><TR><TD class=popup_close VALIGN=MIDDLE><A href=# onClick=hidelayer('popup_foto');><IMG SRC='"+close_image+"' ALT='"+alt+"' BORDER=0></A></TD></TR></TABLE></A></DIV></DIV>")
	showlayer(""+layer+"").left = left;
	showlayer(""+layer+"").top  = top;
	}   

function hidelayer(layer) {
	if (ie4) {document.all[layer].style.visibility = "hidden";}
	if (ns4) {document.layers[layer].visibility = "hide";}
	if (ns6) {document.getElementById([layer]).style.display = "none";}
	}

function showlayer(layer) {

	if (ie4) { document.all[layer].style.visibility = "visible"; }
	if (ns4) { document.layers[layer].visibility = "show"; }
	if (ns6) { document.getElementById([layer]).style.display = "block"; }

	if(document.getElementById)	{ return document.getElementById(layer).style } 
	else if(document.all) 	   	{ return document.all[layer].style } 
	else 				{ return document[layer] }
	}

function writeText(layer,text) {
	
	if(document.getElementById) {
	document.getElementById(layer).innerHTML = text;
	}

	else if(document.all) {
	document.all[layer].innerHTML = text;
	} 

	else {
	document[layer].document.open();
	document[layer].document.write( text );
	document[layer].document.close();
	}
	}
     
//-->