// JavaScript Document
function flash(swf, w, h, wmode)
{
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="'+w+'" height="'+h+'">');
	document.write('<param name="movie" value="'+swf+'"><param name="wmode" value="'+wmode+'"><param name="quality" value="high"><embed src="'+swf+'" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="'+wmode+'" width="'+w+'" height="'+h+'"></embed></object>');
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

// Copyright melding
var message="© Copyright Hollandsklompenhuis.nl";

function clickIE() {if (document.all) {
	alert(message);return false;
}}
function clickNS(e) {if 
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {
	alert(message);return false;
}}}
if (document.layers) 
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}

// Pop up
function openPopup(URL, x, y, naam){
	var winl = (screen.width - x) / 2;
	var wint = (screen.height - y) / 2;
	vWinCal=window.open(URL, naam,"toolbar=no,width="+x+",height="+y+", top="+wint+", left="+winl+",status=no,scrollbars=no,resize=no,menubar=no,toolbar=no");
}

// Blink 
function blinking_header()
{
if (!document.getElementById('blink').style.color)
	{
	document.getElementById('blink').style.color="#b23231"
	}
if (document.getElementById('blink').style.color=="#b23231")
	{
	document.getElementById('blink').style.color="black"
	}
else
	{
	document.getElementById('blink').style.color="#b23231"
	}
timer=setTimeout("blinking_header()",900)
}

function stoptimer()
{
clearTimeout(timer)
}

// Blink2 
function blinking_header2()
{
if (!document.getElementById('blink2').style.color)
	{
	document.getElementById('blink2').style.color="#b23231"
	}
if (document.getElementById('blink2').style.color=="#b23231")
	{
	document.getElementById('blink2').style.color="black"
	}
else
	{
	document.getElementById('blink2').style.color="#b23231"
	}
timer2=setTimeout("blinking_header2()",900)
}

function stoptimer2()
{
clearTimeout(timer2)
}