var combowidth=''
var comboheight='20'

function initialize(){
if (document.all){
combowidth=staticcombo.offsetWidth
comboheight=staticcombo.offsetHeight
setInterval("staticit_ie()",10)
staticcombo.style.visibility="visible"
}
else if (document.layers){
combowidth=document.staticcombo.document.width
comboheight=document.staticcombo.document.height
setInterval("staticit_ns()",50)
document.staticcombo.visibility="show"
}
}

function staticit_ie(){
staticcombo.style.pixelLeft=document.body.scrollLeft + 5
staticcombo.style.pixelTop=document.body.scrollTop + 20
}

function staticit_ns(){
document.staticcombo.left=pageXOffset+window.innerWidth-combowidth-20
document.staticcombo.top=pageYOffset+window.innerHeight-50
}

window.onload=initialize

<!--  function WinStatus() -->
<!--  { -->
<!--   window.status=Callaway County Missouri - Boone Country';         -->
<!--   setTimeout(WinStatus, 1); -->
<!--  } -->
<!--  WinStatus(); -->

function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

function formatDeg (deg, flagDecimalDeg)
{
	var	degS, degInt, degDec; 
	
	degDec = Math.abs (Math.round (deg * 100000) / 100000);
	degInt = Math.floor (degDec);
	degDec -= degInt;
	
	if (flagDecimalDeg)
	{
		var degDecS, padStr;

		padStr = "000000";
		degDecS = (Math.round (degDec * 100000)).toString ();
		degDecS = padStr.substr (0, 5 - degDecS.length) + degDecS;
		degS = degInt + "." + degDecS + "º ";
	}
	else
	{
		var degMin, degSec;
		
		degMin = degDec * 60;
		degSec = Math.round ((degMin - Math.floor (degMin)) * 60);
		degMin = Math.floor (degMin);

		if (degSec == 60)
		{
			degSec = 0;
			degMin += 1;
			if (degMin == 60)
			{
				degMin = 0;
				degInt += 1;
			}
		}

		if (degMin.toString ().length == 1) degMin = "0" + degMin;
		if (degSec.toString ().length == 1) degSec = "0" + degSec;		
		degS = degInt + "º " + degMin + "\' " + degSec + "\"";
	}

	if (deg > 0) degS += " N";
	else degS += " W";
	return degS;	
}


