<!--
	var ie = document.all;
	var dom = document.getElementById;
	var agt = navigator.userAgent; 
	var op6 = (agt.indexOf("opera 6")!= -1) || (agt.indexOf("opera/6")!= -1);
	var op7 = (agt.indexOf("opera 7")!= -1) || (agt.indexOf("opera/7")!= -1);
	var op = ((op6) || (op7))
	var navOk = (ie) || (dom || (op));
	
	var borderFocus = "#EDCA75"		// Ramfärg vid aktiv
	var borderBlur = "#cccccc"		// Ramfärg vid inaktiv

/********************************************************************/

		function setFocus(id)
		{
			if(navOk)
				{id.style.borderColor = borderFocus;}
		}

		
		function setBlur(id)
		{
			if(navOk)
				{id.style.borderColor = borderBlur;}
		}	
/********************************************************************/	

	function getObj(objId) 
	{
		if(document.getElementById && document.getElementById(objId)) 
			{return document.getElementById(objId).style;}
	
		else if (document.all && document.all(objId)) 
			{return document.all(objId).style;}
	
		else
			 {return false;}
	} 

		function changeVis(objId, newVisibility)  
		{ 
		var styleObject = getObj(objId);
    
				if(styleObject) 
						{
								styleObject.visibility = newVisibility;
						return true;
						}
		
				else 
						{return false;}
		}
	
	
						var numMenus = 7;

						function hideAllMenus() 
						{
							for(i = 1; i <= numMenus; i++) 
							{
							changeVis('underMeny' + i, 'hidden');
							
							var underMeny = getObj('underMeny' + i);
							var meny = getObj('meny' + i);
							
							
								meny.backgroundColor = '#ffffff';
								meny.color = '000000';
								
							}
						}	
	

	function show(menuNum, eventObj) 
	{
	 hideAllMenus();
	
	var menuId = 'underMeny' + menuNum;
    	
			if(changeVis(menuId, 'visible')) 
				{
				var underMeny = getObj('underMeny' + menuNum);
				var meny = getObj('meny' + menuNum);
								
								meny.backgroundColor = '#E0A30F';
								meny.color = '000000';
					
					
					eventObj.cancelBubble = true;
				
				return true;
				} 
		
			 else 
				{return false;}
}




document.onclick = hideAllMenus;
	

/********************************************************************/

		function mOver(id)
					{id.style.backgroundColor = '#EDCA75';}
	
	
		function mOut(id)
			{id.style.backgroundColor = '#E0A30F';}

/********************************************************************/

		function toggleMenu(obj)
		{
			if (document.all)
			{
			
			b = (document.all[obj].style.display == 'block') ? 'none' : 'block';
				document.all[obj].style.display = b;
				
			}
		
			else if (document.getElementById)
			{
			c = (document.getElementById(obj).style.display == 'block') ? 'none' : 'block';
				document.getElementById(obj).style.display = c;
			}
		}		
		
		
/********************************************************************/		
		
		function hideShow(obj)
		{
			if (document.all)
			{
			
			b = (document.all[obj].style.visibility == 'visible') ? 'hidden' : 'visible';
				document.all[obj].style.visibility = b;
				
			}
		
			else if (document.getElementById)
			{
			c = (document.getElementById(obj).style.visibility == 'visible') ? 'hidden' : 'visible';
				document.getElementById(obj).style.visibility = c;
			}
		}		
		
		
		
		
		function hideAll()
		{
			if (document.all)
			{
			document.all.etunaKontaktpersoner.style.visibility = 'hidden';
			document.all.malmoKontaktpersoner.style.visibility = 'hidden';
			document.all.sthlmKontaktpersoner.style.visibility = 'hidden';
			}
			
			else if(document.getElementById)
			{
			document.getElementById("etunaKontaktpersoner").style.visibility = 'hidden';
			document.getElementById("malmoKontaktpersoner").style.visibility = 'hidden';
			document.getElementById("sthlmKontaktpersoner").style.visibility = 'hidden';
			}
		}
		
		
/********************************************************************/		
		
	function statusText(str)
	{
		window.status = str;
		window.defaultStatus = str;
		
		return true;
	}
	
	
	function confirmDelete(str,url)
			{
			var agree=confirm(str);
				
				if (!agree)
					return false;
					
				else
					self.location.href = url;
					return true;
					
			}	
			
/********************************************************************/	

	
	function confirmDelete2(str)
			{
			var agree=confirm(str);
				
				if (!agree)
					return false;
					
				else
					
					return true;
					
			}	
			
	

		var ie = document.all;
		var dom = document.getElementById; 

		function popWin(url)
		{
		var w = 500, h = 300;

		if (ie || dom) 
		{
		   w = screen.availWidth;
		   h = screen.availHeight;
		}

		var popW = 500, popH = 300;

		var leftPos = (w-popW)/2, topPos = (h-popH)/2;

		pop=window.open(url,'nytt','directories=no,status=no,resizable=no,scrollbars=no,width=' + popW + ',height=' + popH + ',top=' + topPos + ',left=' + leftPos);
		}
			

//-->
