
		UserWidth = window.screen.availWidth;
		UserHeight = window.screen.availheight;
		window.resizeTo(UserWidth, UserHeight);
		window.moveTo(0,0)

		function launch(strURL){
		help=window.open(strURL,"WebMaps","width=775,height=550,top=0,left=0,resizable=yes,scrollbars=yes,menubar=no,toolbar=no,status=no,location=no")}
 
 		function launch2(strURL){
		help=window.open(strURL,"WebMaps","width=675,height=600,top=0,left=0,resizable=yes,scrollbars=yes,menubar=no,toolbar=no,status=no,location=no")}
 

		function CallPrint(strid)
		{
		var prtContent = document.getElementById(strid);
		var WinPrint = window.open("","","width=900,height=525,top=0,left=0,resizable=yes,scrollbars=yes,menubar=no,toolbar=yes,status=no,location=no");
		WinPrint.document.write(prtContent.innerHTML);
		WinPrint.document.close();
		WinPrint.print();
		
		/* WinPrint.focus(); 
			WinPrint.close(); */
		}

		function CallPrint2(strid)
		{
		var prtContent = document.getElementById(strid);
		var WinPrint = window.open("","","width=900,height=525,top=0,left=0,resizable=yes,scrollbars=yes,menubar=no,toolbar=yes,status=no,location=no");
		WinPrint.document.write(prtContent.innerHTML);
		WinPrint.document.close();
		WinPrint.print();
		
		/* WinPrint.focus(); 
			WinPrint.close(); */
		}

		function focusOnSearchButton() 
		{   
		var k = event.keyCode; 
		if (k == 13) 
		{ 
			var addCtrl = document.getElementById('btnSearch2');
			addCtrl.click();
			event.cancelBubble = true; 
			event.returnValue = false; 
		} 
		}  


		function showHideContent(id, show)
		{
			var elem = document.getElementById(id);
			if (elem) 
			{
				if (show) 
					{
					elem.style.display = 'block';
					elem.style.visibility = 'visible';
					} 
				else
					{
					elem.style.display = 'none';
					elem.style.visibility = 'hidden';
					}
			}
		}        

		




  			//  FAQ Expand Code
			function expandcollapse (postid) { 
			whichpost = document.getElementById(postid); 
			if (whichpost.className=="postshown") { 
				whichpost.className="posthidden"; 
			  } 
			else { 
				whichpost.className="postshown"; 
			  } 
			} 



			
		// Expandable content script from flooble.com.
		//   http://www.flooble.com/scripts/expand.php
		// Copyright 2002 Animus Pactum Consulting Inc.
		//----------------------------------------------
		var ie4 = false; 
		if(document.all) { ie4 = true; }
		function getObject(id) { if (ie4) { return document.all[id]; } else { return document.getElementById(id); } }
		function toggle(link, divId) { var lText = link.innerHTML; var d = getObject(divId);
		if (lText == '+ Click to view') { link.innerHTML = '- Click to close'; d.style.display = 'block'; }
		else { link.innerHTML = '+ Click to view'; d.style.display = 'none'; } }
		
		
		function getObjectMapControl(id) { if (ie4) { return document.all[id]; } else { return document.getElementById(id); } }
		function toggleMapControl(link, divId) { var lText = link.innerHTML; var d = getObjectMapControl(divId);
		if (lText == 'view map controls') { link.innerHTML = 'close map controls'; d.style.display = 'block'; }
		else { link.innerHTML = 'view map controls'; d.style.display = 'none'; } }


		function getObjectLegend(id) { if (ie4) { return document.all[id]; } else { return document.getElementById(id); } }
		function toggleLegend(link, divId) { var lText = link.innerHTML; var d = getObjectLegend(divId);
		if (lText == 'View Legend') { link.innerHTML = 'Close Legend'; d.style.display = 'block'; }
		else { link.innerHTML = 'View Legend'; d.style.display = 'none'; } }



		function toggleLegendNew(id){
		var el=document.getElementById(id);
		el.style.display=el.style.display=='block'? 'none' : 'block';
		}

		function toggleLegendNew2(id){
		var el=document.getElementById(id);
		el.style.display=el.style.display=='block'? 'none' : 'block';
		}

