// Functie om channelbutton te hiliten
function hiliteMainMenu(id,iMax,iActiveChannel,sUrl)
	{
		if (id == iActiveChannel)
			{
				// Linker button is ook actief dus schaduw voor beiden tonen
				document.getElementById(['menu_filler_'+id]).src = sUrl+'../images/button_mid_both_hi.gif';
			}
		else
			{
				// Linker button is inactief dus enkele schaduw tonen
				document.getElementById(['menu_filler_'+id]).src = sUrl+'../images/button_left_hi.gif';
			}
			
		document.getElementById(['menu_item_'+id]).className = 'menu_hilite';
		
		if ((id+2) == iActiveChannel)
			{
				// Rechter button is ook actief dus schaduw voor beiden tonen
				document.getElementById(['menu_filler_'+(id+1)]).src = sUrl+'../images/button_mid_both_hi.gif';
			}
		else
			{
				// Rechter button is inactief dus enkele schaduw tonen
				document.getElementById(['menu_filler_'+(id+1)]).src = sUrl+'../images/button_right_hi.gif';
			}
		document.getElementById(['menu_footer_'+id]).src = sUrl+'../images/shadow_white_left_hi.gif';
		// Uitzondering voor meest rechtse item
		if (id == iMax)
			{
				document.getElementById(['menu_footer_'+(id+1)]).src = sUrl+'../images/shadow_white_right2_hi.gif';
			}
		else
			{	
				document.getElementById(['menu_footer_'+(id+1)]).src = sUrl+'../images/shadow_white_right_hi.gif';
			}
	}
	
	
	
// Functie om channelbutton te unliten
function unliteMainMenu(id,iMax,iActiveChannel,sUrl)
	{
		if ((id+1)==iActiveChannel)
			{
				// Niet unlite, dit channel is actief
				document.getElementById(['menu_filler_'+id]).src = sUrl+'../images/button_left_hi.gif';
				document.getElementById(['menu_item_'+id]).className = 'menu_hilite';
				document.getElementById(['menu_filler_'+(id+1)]).src = sUrl+'../images/button_right_hi.gif';
				document.getElementById(['menu_footer_'+id]).src = sUrl+'../images/shadow_white_left_hi.gif';
				// Uitzondering voor meest rechtse item
				if (id == iMax)
					{
						document.getElementById(['menu_footer_'+(id+1)]).src = sUrl+'../images/shadow_white_right2_hi.gif';
					}
				else
					{	
						document.getElementById(['menu_footer_'+(id+1)]).src = sUrl+'../images/shadow_white_right_hi.gif';
					}
			}
			else
			{
				// Wel unlite, channel is niet actief
				if (id == iActiveChannel)
					{
						// Linker button is actief dus schaduw weer goed terugzetten
						document.getElementById(['menu_filler_'+id]).src = sUrl+'../images/button_right_hi.gif';
						document.getElementById(['menu_footer_'+id]).src = sUrl+'../images/shadow_white_right_hi.gif';
					}
				else
					{
						// Linker button is inactief dus geen schaduw zetten
						document.getElementById(['menu_filler_'+id]).src = sUrl+'../images/transparant_dot.gif';
						document.getElementById(['menu_footer_'+id]).src = sUrl+'../images/transparant_dot.gif';
					}
					
				document.getElementById(['menu_item_'+id]).className = 'menu_normal';
				
				if ((id+2) == iActiveChannel)
					{
						// Rechter button is actief dus schaduw weer goed zetten
						document.getElementById(['menu_filler_'+(id+1)]).src = sUrl+'../images/button_left_hi.gif';
						document.getElementById(['menu_footer_'+(id+1)]).src = sUrl+'../images/shadow_white_left_hi.gif';
					}
				else
					{
						// Linker button is inactief dus geen schaduw zetten
						document.getElementById(['menu_filler_'+(id+1)]).src = sUrl+'../images/transparant_dot.gif';
						document.getElementById(['menu_footer_'+(id+1)]).src = sUrl+'../images/transparant_dot.gif';
					}
			}
	}
	
	
	
// Functie om info item te hi-& unliten
function liteSubMenuItem(id,bHilite)
	{
		if (bHilite=='yes')
		{
			document.getElementById(['info_item_'+id]).className='do_show';
		}
		else
		{
			document.getElementById(['info_item_'+id]).className='do_not_show';
		}
	}
	

	
// Functie language window te tonen
function showWindow(id,bHilite)
	{
		if (bHilite == 'yes')
		{
			document.getElementById([id]).style.display='block';
		}
		else
		{
			document.getElementById([id]).style.display='none';
		}
	}

	

// Functie voor het tonen van de juiste pijl bij menu
function showArrow(id,bHilite,sUrl)
	{
		if (bHilite == "yes")
		{
			document.getElementById([id]).src = sUrl+'../images/blue_arrow_right.gif';
		}
		else
		{
			document.getElementById([id]).src = sUrl+'../images/gray_arrow_right.gif';
		}
	}
	
function clear_domaincheck(field)
{
	if (field.value == "uwbedrijfsnaam")
    {    
        field.value = "";
    }
} 

function fill_domaincheck(field)
{
    if (field.value == "")
    {
        field.value = "uwbedrijfsnaam";
    }
} 