    // Impede Seleção
    document.onselectstart = function() { return false; }
    
    // Menu Lateral
    if (document.getElementById){
    document.write('<style type="text/css">\n')
    document.write('.options{display: none;}\n')
    document.write('</style>\n')
    }
    function SwitchMenu(obj,mn){
    	if(document.getElementById){
    	document.getElementById("menu4").className='menu'; 
    	document.getElementById(mn).className='menudown'; 
		var el = document.getElementById(obj);
    	var ar = document.getElementById("masterdiv").getElementsByTagName("span");
    		if(el.style.display != "block"){
    			for (var i=0; i<ar.length; i++){
    				if (ar[i].className=="options")
    				ar[i].style.display = "none";
    			}
    			el.style.display = "block";
    		}else{
    			el.style.display = "none";
    	document.getElementById(mn).className='menu'; 
    		}
    	}
    }
	
	function windowopen() 
	{
	var lnk = 'https://revmort.reversesoftonline.com/ReverseMortgage/jsp/extCalculator.jsf?compCde=SUNWST000';
	win = window.open(lnk,'POPUPCAL','status=no,scrollbars=yes,toolbar=no,location=no,menu=no,resizable=yes,width=700,height=500'); 
//	win.moveto(100,0);
	}
