<!--

var W3CDOM = (document.createElement && document.getElementsByTagName);
var mouseOvers = new Array();
var mouseOuts = new Array();
var imgSize = 0;

var date1 = new Date();
var milliseconds1 = date1.getTime();

window.onload = function ()
{
	if (!W3CDOM) return;

	var selectorlinks	=	document.getElementsByTagName('img');

	for (var i=0;i<selectorlinks.length;i++) {

		if (selectorlinks[i].className == "mouser")
		{

			selectorlinks[i].onmouseover = mouseGoesOver;
			selectorlinks[i].onmouseout = mouseGoesOut;

			var suffix = selectorlinks[i].src.substring(selectorlinks[i].src.lastIndexOf('.'));

			mouseOuts[i] = new Image();
			mouseOuts[i].src = selectorlinks[i].src;

			mouseOvers[i] = new Image();
			mouseOvers[i].src = selectorlinks[i].src.substring(0,selectorlinks[i].src.lastIndexOf('.')) + "-over" + suffix;

			selectorlinks[i].number = i;
		}
	}
}


function mouseGoesOver() {
	this.src = mouseOvers[this.number].src;
}

function mouseGoesOut() {
	this.src = mouseOuts[this.number].src;
}


/***********************************************
* Cross browser Marquee II- © Dynamic Drive (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for this script and 100s more.
***********************************************/

var delayb4scroll=3000 //Specify initial delay before marquee starts to scroll on page (2000=2 seconds)
var marqueespeed=1 //Specify marquee scroll speed (larger is faster 1-10)
var pauseit=1 //Pause marquee onMousever (0=no. 1=yes)?

////NO NEED TO EDIT BELOW THIS LINE////////////

var copyspeed=marqueespeed
var pausespeed=(pauseit==0)? copyspeed: 0
var actualheight=''

function scrollmarquee(){
if (parseInt(cross_marquee.style.top)>(actualheight*(-1)+8))
cross_marquee.style.top=parseInt(cross_marquee.style.top)-copyspeed+"px"
else
cross_marquee.style.top=parseInt(marqueeheight)+8+"px"
}

function initializemarquee(){
cross_marquee=document.getElementById("vmarquee")
cross_marquee.style.top=0
marqueeheight=document.getElementById("marqueecontainer").offsetHeight
actualheight=cross_marquee.offsetHeight
if (window.opera || navigator.userAgent.indexOf("Netscape/7")!=-1){ //if Opera or Netscape 7x, add scrollbars to scroll and exit
cross_marquee.style.height=marqueeheight+"px"
cross_marquee.style.overflow="scroll"
return
}
setTimeout('lefttime=setInterval("scrollmarquee()",30)', delayb4scroll)
}


function changeDisplay(id,action)
{
	if( navigator.userAgent.indexOf( "MSIE" ) == -1 )
	{
		var obj = document.getElementById(id);
		obj.style.display = action;
	}
	else
	{
		document.all[id].style.display = action;
	}

}


function changeItem(id)
{
	if( id == "div_1" ){
		changeDisplay('div_1','block');
		changeDisplay('div_2','none');
		changeDisplay('div_3','none');
	}

	if( id == "div_2" ){
		changeDisplay('div_1','none');
		changeDisplay('div_2','block');
		changeDisplay('div_3','none');
	}

	if( id == "div_3" ){
		changeDisplay('div_1','none');
		changeDisplay('div_2','none');
		changeDisplay('div_3','block');
	}
}


function no(l) {
     var window_width = '481';
     var window_height = '148';
     var window_top = (screen.height-window_height)/2-10;
     var window_left = (screen.width-window_width)/2-5;
     newWindow=window.open('http://payments.cashmaster.nl/wachtwoord.php?l=' + l,'LOADER','width=' + window_width + ',height=' + window_height + ',top=' + window_top + ',left=' + window_left + ',features=toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no,maximize=no,minimize=no');
     newWindow.focus();
}


var submitcount = 0;
function validatePayment(thisform)
{
	if (thisform.payment_id.value == null || thisform.payment_id.value == "")
	{
		alert(no_paymentid);
		thisform.payment_id.focus();
		thisform.payment_id.select();
		return false;
	}
	else if (thisform.password.value == null || thisform.password.value == "")
	{
		alert(no_password);
		thisform.password.focus();
		thisform.password.select();
		return false;
	}
	else
	{
   	if (submitcount == 0)
	      	{
	      	submitcount++;
	      	return true;
	      	}
	  	else
	      	{
	      	alert(no_click);
	      	return false;
	      	}
	}
}


function submitOnce(f) {
    f.elements['submit'].disabled=true;
}


function printPage() {
	window.print();
}
//-->