﻿function RunFlash(SWFNaam,SWFWidth,SWFHeight)
{
document.write('<object id="flash_sterren" type="application/x-shockwave-flash" data="' + SWFNaam + '" width="' + SWFWidth + '" height="' + SWFHeight + '">\n');
document.write('<param name="movie" value="' + SWFNaam + '" />');
document.write('<param name="wmode" value="transparent">');
document.write('</object>\n');
}

function RunFlash2(SWFNaam,SWFWidth,SWFHeight)
{
document.write('<object type="application/x-shockwave-flash" data="' + SWFNaam + '" width="' + SWFWidth + '" height="' + SWFHeight + '">\n');
document.write('<param name="movie" value="' + SWFNaam + '" />');
document.write('<param name="wmode" value="transparent">');
document.write('</object>\n');
}

function checksearch(fm){
	if (fm.zoek.value == '') 
	{
		alert('Vul minimaal één trefwoord in.');
		return false;
	}
	else return true;
}

function OpenPics(url, iwidth, iheight)
{
	window.open(url,"afbeelding","width="+iwidth+",height="+iheight+",left=125,top=100");
}

function addbookmark(bookmarkurl, bookmarktitle) 
{ 
bookmarkurl="@CurLink@" 
bookmarktitle="@browser_title@" 
if (document.all) 
window.external.AddFavorite(bookmarkurl,bookmarktitle) 
} 


function ShowHide(elm,styleElmC,arr) {
		styleElm = document.getElementById(elm).style;
	
		//aflsuiten bij mousover
		var mySplitResult = arr.split("|");
		for(i = 0; i < mySplitResult.length; i++){
		styleElmTemp = document.getElementById(mySplitResult[i]).style;
		styleElmTemp.display = 'none';
		
}

		
		
		
//		spanList = styleElmC.getElementsByTagName('span');
			//if (styleElm.display == 'none') {
				styleElm.display='block';
			//}
			//else {
		//		styleElm.display='none';
		//	}
		}
		
function test()
{
	alert("test")
}