/* Disclaimer
			
	primefilters.com/scripts/swapmenu.js v1.0
	(c) Sebastiaan Meijer 2005 - info'at'sebastiaanmeijer'dot'nl
	for SPIN-Webdesign, Willemstad, Curacao
	
	for further information please examine the readme.txt file
*/

function 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=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];}}
}

function SwapBgState2(inp)
{
	document.getElementById(inp).style.backgroundImage = 'url(images/System/Buttons/btn_' + inp + '_s2.gif)';

}

function SwapBgState1(inp)
{
	document.getElementById(inp).style.backgroundImage = 'url(images/System/Buttons/btn_' + inp + '_s1.gif)';
}

function ShowHideLayer(id)
{
	if (document.getElementById(id).style.display == '')
	{
		document.getElementById(id).style.display = 'block';
	}
	else
	{
		document.getElementById(id).style.display = '';
	}
}

function ShowLayer(id)
{
	
		document.getElementById(id).style.display = 'block';
	
}

function HideLayer(id)
{
	
		document.getElementById(id).style.display = 'none';
	
}