			var bv = navigator.appVersion;
			var bn = navigator.appName;
			if (bn.indexOf("Netscape") != -1){
				//alert(bn.indexOf("Netscape"))
				//alert(bv)
				if (parseInt(bv) < 5.0){
					location.href ="/browserIssue.cfm?bv=" + escape(bv) + "&bn=" + escape(bn);
				}
			}
			
			function addLoadListener (fn) {
			  if (typeof window.addEventListener != 'undefined') {
			    window.addEventListener('load', fn, false);
			  }//if...
			  else if (typeof document.addEventListener != 'undefined') {
			    document.addEventListener('load', fn, false);
			  }//else if...
			  else if (typeof window.attachEvent != 'undefined') {
			    window.attachEvent('onload', fn);
			  }//else if...
			  else {
			    var oldfn = window.onload;
			    if (typeof window.onload != 'function') {
			      window.onload = fn;
			    }//if...
			    else {
			      window.onload = function() {
			        oldfn();
			        fn();
			      };//function window.onload()...
			    }//else...
			  }//else...
			}//addLoadListener()...
			
//			function callFlush() {
//				flushIndex(document.propsearchform.selectedVersion);
//			}//callFlush()...
			
//			addLoadListener(initRollovers);
//			addLoadListener(callFlush);

			// GL
//			var calledFromDropDown=false;
//			var searchTypes = "";
//			var dispAdvSearch=false;
			
			
//			function loadContent(file)
//			{
				//alert ("begin loadContent(), file name is " + file);
				
				// This just makes a short reference to the head element.
//				var head = document.getElementsByTagName('head').item(0);
				
				// This line tries to get the script tag called loadScript. 
				//	The first time this function is called this will return null because the tag does not exists. 
//				var scriptTag = document.getElementById('loadScript');
				
				// If the tag exists we remove it because we don't want all the old tags to stay in the page. 
				//	In explorer you don't really have to do this, you can just set a src to the existing script element 
				//		but that doesn't seem to work in Mozilla. 
//				if(scriptTag) 
//					head.removeChild(scriptTag);
				
				// This creates a script tag. 
//				script = document.createElement('script');
				
				// This line sets the src of the script tag to the file that you specify when you call the function.
//				script.src = file;
				
				// We set the type of the script tag to text/javascript 
//				script.type = 'text/javascript';
				
				// Here we set the ID to loadScript so we can reach it with the second line in the code the next time this function is called.
//				script.id = 'loadScript';
				
				// Then we add the script tag to the page with the appendChild function. 
				//		It's added to the head of the page. 
//				head.appendChild(script)
				//alert ("end loadContent(), file name is " + file);
				
				//var sleeping = true;
				//setTimeout("sleeping = false", 1000); // 1 second
				//while(sleeping) {}


//			}

			function loadContent1(state, searchType)
			{
				switch(searchType)
				{
					case ("COM"):
						//alert("COM: state is " + state);
						switch (state)
						{	
							case ("DE"):
								Reset_DE_arealist_com();
								break;
							case ("MD"):
								Reset_MD_arealist_com();
								break;
							case ("NJ"):
								Reset_NJ_arealist_com();
								break;
							case ("PA"):
								Reset_PA_arealist_com();
								break;
							default:
								Reset_NA_arealist();
								break;
							
						}
						break;
					case ("RT"):
						//alert("RENTAL: state is " + state);
						switch (state)
						{	
							case ("DE"):
								Reset_DE_arealist_rent();
								break;
							case ("MD"):
								Reset_MD_arealist_rent();
								break;
							case ("NJ"):
								Reset_NJ_arealist_rent();
								break;
							case ("PA"):
								Reset_PA_arealist_rent();
								break;
							default:
								Reset_NA_arealist();
								break;
							
						}
						break;
					default:
						//alert("Residential or New Construction: state is " + state);
						switch (state)
						{	
							case ("DE"):
								Reset_DE_arealist();
								break;
							case ("MD"):
								Reset_MD_arealist();
								break;
							case ("NJ"):
								Reset_NJ_arealist();
								break;
							case ("PA"):
								Reset_PA_arealist();
								break;
							default:
								Reset_NA_arealist();
								break;
							
						}
						break;
				}
			}
				
			function updater1(custType)
			{
				if (custType == 2)
					searchTypes = "COM";
				else if (custType == 3)
					searchTypes = "RT";
				else 
					searchTypes = "";
					
				runningMapChange=false;	
				
				// Get the value of select state
				state = document.propsearchform.state.options[document.propsearchform.state.selectedIndex].value;
	
				getList1('http://prushoredev.temel.com', state , searchTypes);

			}	