// Overige diensten opsplitsen
<!-- Begin
function folder_window(URL) {
	day = new Date();
	id = day.getTime();
	eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=1,width=970,height=625,left = 20,top = 20');");
}
// End -->

function overige_diensten_list(varnaam) {
	if (varnaam != "") {
		var varnaam_split = varnaam.split(/\r\n|\r|\n/);
		
		for (i=0; i<varnaam_split.length; i++) {
			list_code = list_code + "&bull; " + list_content_split[i];
		}
	}
}

// Rollover submit knop:
var submitRolls = new Object();

function submitroll(src, oversrc, name)
{
this.src=src;
this.oversrc=oversrc;
this.name=name;
this.alt="Submit Query";
this.write=submitroll_write;
}

function submitroll_write()
{
var thisform = 'document.forms[' + (document.forms.length - 1) + ']';
submitRolls[this.name] = new Object();
submitRolls[this.name].over = new Image();
submitRolls[this.name].over.src = this.oversrc;
submitRolls[this.name].out = new Image();
submitRolls[this.name].out.src = this.src;

document.write
	(
	'<A onMouseOver="if (document.images)document.images[\'' + this.name + "'].src=submitRolls['" + this.name + '\'].over.src"' + 
	' onMouseOut="if (document.images)document.images[\'' + this.name + "'].src=submitRolls['" + this.name + '\'].out.src"' + 
	' HREF="javascript:'
	);

if (this.sendfield)
	{
	if (! this.sendvalue)
		this.sendvalue = 1;
	document.write(thisform, ".elements['", this.sendfield, "'].value='", this.sendvalue, "';");
	}

document.write(thisform + '.submit();void(0);"');
if (this.msg)document.write(' onClick="return confirm(\'' , this.msg, '\')"');
document.write('>');

document.write('<IMG SRC="' + this.src + '" ALT="' + this.alt + '" BORDER=0 ID="' + this.name + '" NAME="' + this.name + '"');
if (this.height)document.write(' HEIGHT=' + this.height);
if (this.width)document.write(' WIDTH='  + this.width);
if (this.otheratts)document.write(' ' + this.otheratts);
document.write('></A>');
if (this.sendfield)
	{
	document.write('<INPUT TYPE=HIDDEN NAME="' + this.sendfield + '">');
	document.forms[document.forms.length - 1].elements[this.sendfield].value='';
	}
}

function pagina_menu_on(varnaam) {
	document.getElementById("pag" + varnaam).style.color = '#ed1c24';
	document.getElementById("pag" + varnaam).style.cursor = 'pointer';
}

function pagina_menu_off(varnaam) {
	document.getElementById("pag" + varnaam).style.color = '#000000';
	document.getElementById("pag" + varnaam).style.cursor = 'hand';
}

function menu_over(varnaam) {
	document.getElementById("pos" + varnaam).style.background = 'url(beelden/bg-menu-actief.png)';
	document.getElementById("pos" + varnaam).style.cursor = 'pointer';
	document.getElementById("poslink" + varnaam).style.color = '#ed1c24';
}

function menu_out(varnaam) {
	document.getElementById("pos" + varnaam).style.background = 'url(beelden/bg-menu.png)';
	document.getElementById("pos" + varnaam).style.cursor = 'hand';
	document.getElementById("poslink" + varnaam).style.color = '#000000';
}

function menu_over_groot(varnaam) {
	document.getElementById("pos" + varnaam).style.background = 'url(beelden/bg-menu-groot-actief.png)';
	document.getElementById("pos" + varnaam).style.cursor = 'pointer';
	document.getElementById("poslink" + varnaam).style.color = '#ed1c24';
}

function menu_out_groot(varnaam) {
	document.getElementById("pos" + varnaam).style.background = 'url(beelden/bg-menu-groot.png)';
	document.getElementById("pos" + varnaam).style.cursor = 'hand';
	document.getElementById("poslink" + varnaam).style.color = '#000000';
}

function menu_over_last(varnaam) {
	document.getElementById("pos" + varnaam).style.background = 'url(beelden/bg-menu-last-actief.png)';
	document.getElementById("pos" + varnaam).style.cursor = 'pointer';
	document.getElementById("poslink" + varnaam).style.color = '#ed1c24';
}

function menu_out_last(varnaam) {
	document.getElementById("pos" + varnaam).style.background = 'url(beelden/bg-menu-last.png)';
	document.getElementById("pos" + varnaam).style.cursor = 'hand';
	document.getElementById("poslink" + varnaam).style.color = '#000000';
}

function actie_button_on(varnaam) {
	document.getElementById("ab-" + varnaam).style.cursor = 'pointer';
	document.getElementById("ab-l-" + varnaam).style.background = 'url(beelden/actiebutton-knop-links-on.png) no-repeat';
	document.getElementById("ab-m-" + varnaam).style.background = 'url(beelden/actiebutton-knop-mid-on.png) repeat-x';
	document.getElementById("ab-r-" + varnaam).style.background = 'url(beelden/actiebutton-knop-rechts-on.png) no-repeat';
}

function actie_button_off(varnaam) {
	document.getElementById("ab-" + varnaam).style.cursor = 'hand';
	document.getElementById("ab-l-" + varnaam).style.background = 'url(beelden/actiebutton-knop-links-off.png) no-repeat';
	document.getElementById("ab-m-" + varnaam).style.background = 'url(beelden/actiebutton-knop-mid-off.png) repeat-x';
	document.getElementById("ab-r-" + varnaam).style.background = 'url(beelden/actiebutton-knop-rechts-off.png) no-repeat';
}

function acties_on(varnaam) {	
	document.getElementById("actiesdiv-" + varnaam).style.cursor = 'pointer';
	document.getElementById("actiedivlink-" + varnaam).style.color = '#ed1c24';
}

function acties_off(varnaam) {
	document.getElementById("actiesdiv-" + varnaam).style.cursor = 'hand';
	document.getElementById("actiedivlink-" + varnaam).style.color = '#000000';
}

function assortiment_on(varnaam) {	
	teller = varnaam;
	if (teller == 4) { teller = 1; }
	if (teller == 5) { teller = 2; }
	if (teller == 6) { teller = 3; }
	document.getElementById("assortimenttd-" + varnaam).style.cursor = 'pointer';
	document.getElementById("assortimenttd-" + varnaam).style.background = 'url(beelden/categorie-bg-'+ teller +'-on.png) no-repeat center bottom';
	document.getElementById("assortimenttdlink-" + varnaam).style.color = '#ed1c24';
}

function assortiment_off(varnaam) {
	teller = varnaam;
	if (teller == 4) { teller = 1; }
	if (teller == 5) { teller = 2; }
	if (teller == 6) { teller = 3; }
	document.getElementById("assortimenttd-" + varnaam).style.cursor = 'hand';
	document.getElementById("assortimenttd-" + varnaam).style.background = 'url(beelden/categorie-bg-'+ teller +'.png) no-repeat center bottom';
	document.getElementById("assortimenttdlink-" + varnaam).style.color = '#000000';
}

// preload images
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

// Pop-up
function MM_openBrWindow(theURL,winName,features) { //v2.0
	window.open(theURL,winName,features);
}

function gemak_trigger_on(varnaam) {	
	document.getElementById("gemak-trigger").style.cursor = 'pointer';
	document.getElementById("gemak-trigger").style.background = 'url(beelden/gemakcard-trigger.jpg)  no-repeat 0 -138px';
}

function gemak_trigger_off(varnaam) {
	document.getElementById("gemak-trigger").style.cursor = 'hand';
	document.getElementById("gemak-trigger").style.background = 'url(beelden/gemakcard-trigger.jpg)  no-repeat 0 0';
}

function groteprijzen_on(varnaam) {	
	document.getElementById("groteprijzen").style.cursor = 'pointer';
	document.getElementById("groteprijzen").style.background = 'url(beelden/grote-prijzen.jpg)  no-repeat 0 -110px';
}

function groteprijzen_off(varnaam) {
	document.getElementById("groteprijzen").style.cursor = 'hand';
	document.getElementById("groteprijzen").style.background = 'url(beelden/grote-prijzen.jpg)  no-repeat 0 0';
}
