


		function ShowHelp(div, title, desc)
		{
			div = document.getElementById(div);
			div.style.display = 'inline';
			div.style.position = 'absolute';
			div.style.width = '210';
			div.style.backgroundColor = '#FCFBF7';
			div.style.border = 'dashed 1px #EAEAEA';
			div.style.padding = '10px';
			div.innerHTML = '<b>' + title + '</b><br><div>' + desc + '</div>';
		}

		function HideHelp(div)
		{
			div = document.getElementById(div);
			div.style.display = 'none';
		}



	function blured()
	{
	for (a in document.links) document.links[a].onfocus = document.links[a].blur;
	}
	if (document.all)
	{
	document.onmousedown = blured;
	}


	// Expand AND Collapse function 

	// Copyright Daniel Berglund
	// Skyddad enligt lagen om upphovsrätt
	// Kopiering förbjuden

	var expandImg = "img/minus.gif";
	var conllapseImg = "img/plus.gif";
	var hiddenItems = "";

	function togglePanel( id ) {
		showPanel( id, !(document.getElementById( id ).style.display == "none") );
	}

	function showPanel( id, show ) {
	    document.getElementById( id ).style.display = show ? "none" : "block";
	    document.getElementById( id + "_btn" ).firstChild.src = show ? conllapseImg : expandImg;
	
	if( show )
		hiddenItems = hiddenItems.replace( "#" + id, "" );
	else
		hiddenItems += "#" + id;
	}
	




	function Poper(mypage, myname, w, h, scroll) {
	var winl = (screen.width - w) / 2;
	var wint = (screen.height - h) / 2;
	winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',noresizable'
	win = window.open(mypage, myname, winprops)
	if (parseInt(navigator.appVersion) >= 4) { win.window.focus();
	}
	}


function gfxRadioSelect(radioarray,radioobj,index,offSrc,onSrc){

	for(var n=1;n<eval(radioarray+".length");n++){
		eval('document["'+radioarray+n+'"].src=offSrc;');
	}

	radioobj.value=eval(radioarray+"["+index+"]");
	eval('document["'+radioarray+index+'"].src=onSrc;');

}



