document.write('<META HTTP-EQUIV="pragma" CONTENT="no-cache">');

// if (top.location == self.location) {
//	alert('Deze pagina is onderdeel van www.toetssteen.nl\nKlik op OK om door te gaan.');
//	top.location.href = "http://www.toetssteen.nl"
// }

function showFlash(movie,W,H,V) {
	var V = V.toUpperCase(); // set string variable to uppercase

//	document.write('<OBJECT ID="myFlash" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width=" '+ W + '" HEIGHT=" '+ H +' ">');
//	document.write('<PARAM NAME=movie VALUE=" '+ movie +' ">');
//	document.write('<PARAM NAME=quality VALUE=high>');
//	document.write('<PARAM NAME=flashvars VALUE="textVar=' + V + '">');
//	document.write('<PARAM NAME=bgcolor VALUE=#333333>');
//	document.write('<PARAM NAME=menu VALUE=false>');
//	document.write('<EMBED src=" '+ movie +' " menu=false flashvars="textVar='+ V +'" scale=exactfit swliveconnect="true" wmode=opaque quality=high bgcolor=#333333 width=" '+ W +' " HEIGHT=" '+ H +' " name="myFlash" ALIGN="center" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>');
//	document.write('</OBJECT>');

	document.write('<OBJECT ID="myFlash" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width=" '+ W + '" HEIGHT=" '+ H +' "><PARAM NAME=movie VALUE=" '+ movie +' "><PARAM NAME=quality VALUE=high><PARAM NAME=flashvars VALUE="textVar=' + V + '"><PARAM NAME=bgcolor VALUE=#333333><PARAM NAME=menu VALUE=false>');
	document.write('<EMBED src=" '+ movie +' " menu=false flashvars="textVar='+ V +'" scale=exactfit swliveconnect="true" wmode=opaque quality=high bgcolor=#333333 width=" '+ W +' " HEIGHT=" '+ H +' " name="myFlash" ALIGN="center" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED></OBJECT>');

}

function showFlash2(movie,W,H) {
	document.write('<OBJECT ID="myFlash" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width=" '+ W + '" HEIGHT=" '+ H +' ">');
	document.write('<PARAM NAME=movie VALUE=" '+ movie +' ">');
	document.write('<PARAM NAME=quality VALUE=high>');
	document.write('<PARAM NAME=bgcolor VALUE=#444444>');
	document.write('<PARAM NAME=menu VALUE=false>');
	document.write('<EMBED src=" '+ movie +' " menu=false scale=exactfit swliveconnect="true" wmode=opaque quality=high bgcolor=#444444 width=" '+ W +' " HEIGHT=" '+ H +' " name="myFlash" ALIGN="center" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>');
	document.write('</OBJECT>');
}

function popWin(img,H,W,S,F) {

	//make some space around if you like
	winW = (W + 70);
	winH = (H + 88);
	T = ((screen.availHeight-H)/2)-90;
	L = ((screen.availWidth-W)/2)-60;

	focusIt = window.open('', "pop", 'menu=0,toolbar=0,resizable=1,status=0,scrollbars=' + S + ',top=' + T + ',left=' + L + ',height=' + winH + ',width=' + winW + '');
	focusIt.focus();

	focusIt.document.open();
	focusIt.document.write('<html><head><title>Theatergroep Toetssteen<\/title><style type="text/css">@import url(../../css/toetssteen.css);}<\/style><\/head><body style="background-image: url(\'../images/bg_loading.gif\'); background-position: 50% 50%; background-repeat: no-repeat; border: 10px solid #333333; padding: 20px; margin: 0px; background-color: #000000;">');
	focusIt.document.write('<p align="center"><a href="javascript:self.close();"><img src="' + img + '" height="' + H + '" width="' + W + '" title="Klik om te sluiten" alt="Klik om te sluiten" style="border: 1px solid #808080"></a></p>');

	if (F != '') {
		focusIt.document.write('<p align="right" style="margin: 0px; padding-top: 0px; padding-right: 20px; color: #808080; font-family: verdana,arial; font-size: 10px; font-weight: bold;">' + F + '</p>');
	}
	else {
		focusIt.document.write('<p align="right" style="margin: 0px; padding-top: 0px; padding-right: 20px; color: #808080; font-family: verdana,arial; font-size: 10px; font-weight: bold;">&nbsp;</p>');
	}
		
	focusIt.document.write('<\/body><\/html>');
	focusIt.document.close();
}

function mediaWin(img) {
	var focusIt = window.open(img, "_self", '');
	focusIt.focus();

	focusIt.document.open();
	focusIt.document.write('<html><head><title>Theatergroep Toetssteen<\/title><style>img {border: 0px; background-color: #dcdcdc;} A:link, A:visited, A:active {color: #ff9966; font-size: 10pt; font-weight: bold; text-decoration: none;} A:hover {font-size: 10pt; color: #CC6633; text-decoration: none;	background-color: none;}<\/style><\/head><body style="color: #f5f5f5; font-family: arial;helvetica; font-size: 8pt; padding: 20px; padding-left: 70px; margin: 0px; background-color: #333333;">');
	focusIt.document.write('<table width="100%" border="0"><tr><td align="right" width="50%"><a href="javascript:history.back();"><img src="' + img + '" alt="" style="border:none" border="0"></a></td>');
	focusIt.document.write('<td width="50%" align="center"><a href="javascript:history.back()" target="_self" onFocus="this.blur()">terug...</a></td></tr>');
	focusIt.document.write('</table><\/body><\/html>');
	focusIt.document.close();
}


function centerWin(url,W,H,S) {
T = ((screen.availHeight-H)/2)-25;
L = (screen.availWidth-W)/2;

focusIt = window.open(url, "centerPop", 'width= ' + W + ', height= ' + H + ', top=' + T + ',left=' + L + 'status=no, scrollbars=' + S + ', toolbar=no, menubar=no');
focusIt.focus();
}

function showHide() {
   var x = document.getElementById(id); 
   x.style.display = (x.style.display != 'block')? 'block' : 'none'; 
} 

