
    gbRangeStatus = false;
    gsSelectedRange = '';
    gsRangeUrl = '';

    function displayRangeList() {
        oDiv = document.getElementById('oRangeList'); 
        if(gbRangeStatus) {
            oDiv.style.display = 'none';
            gbRangeStatus = false;  
        } else {
            oDiv.style.display = 'block';
            gbRangeStatus = true;   
        }
        event.cancelBubble = true;
        return event.returnValue = false;
    }

    function changeRange(sRangeName, sRangeUrl) {
        oSpan = document.getElementById('oSelectedRange');
        oSpan.innerText = sRangeName;
        gsSelectedRange = sRangeName;
        displayRangeList();
        gsRangeUrl = sRangeUrl;

	// Skall Ändras till respektive sida man arbetar med 
        window.location.href('' + gsRangeUrl);
    }

    function hideSelects() {
        oDiv = document.getElementById('oRangeList'); 
        oDiv.style.display = 'none';
        gbRangeStatus = false; 
    }
    function pIni(c) {  
            document.all[c].style.backgroundColor = 'white';     
            document.all[c].style.cursor = 'default';      
            document.all[c + '_td1'].style.color = '#333333';            
            document.all[c].style.fontWeight = 'normal';   
    } 
    function pOver(c) {   
            document.all[c].style.backgroundColor = '#f9f8f0'; 
            document.all[c].style.cursor = 'hand';    
            document.all[c + '_td1'].style.color = '#333333';                   
            document.all[c].style.fontWeight = 'normal';                         
    } 
    function pOut(c) {     
            document.all[c].style.backgroundColor = 'white'; 
            document.all[c].style.cursor = 'default';    
            document.all[c + '_td1'].style.color = '#333333';          
      	    document.all[c].style.fontWeight = 'normal';                                   
    } 


// Funktion för Windows Status Bar OnMouseOver

function rcStatus(s) {
	window.status = s;
}

function rcVerifyFrameset(sId, nFramesetId, nFrameCount) {
	function getBaseWindow() {
		var oWindow = window;
		while (true) {
			if (typeof(oWindow.gnFramesetId) != 'undefined') {
				return oWindow;
			}
			if (oWindow.parent == oWindow || oWindow.parent == null) {
				return null;
			}
			oWindow = oWindow.parent;
		}
	}
}

