
	
			if (document.images) {            // Active Images
				roundtableson = new Image();      
				roundtableson.src = "/images/roundtables_btn2.gif"; 
				standardson = new Image();      
				standardson.src = "/images/standards_btn2.gif";
				connectionson = new Image();      
				connectionson.src = "/images/connections_btn2.gif";
				educationprogramson = new Image();      
				educationprogramson.src = "/images/educationprograms_btn2.gif";
				directoryon = new Image();      
				directoryon.src = "/images/directory_btn2.gif";
				nycnationon = new Image();      
				nycnationon.src = "/images/nycnation_btn2.gif";
				citywideon = new Image();      
				citywideon.src = "/images/citywide_btn2.gif";
				researchingon = new Image();      
				researchingon.src = "/images/researching_btn2.gif";
				newson = new Image();      
				newson.src = "/images/news_btn2.gif";
				searchon = new Image();      
				searchon.src = "/images/search_btn2.gif";
		

				roundtablesoff = new Image(); 
				roundtablesoff.src = "/images/roundtables_btn1.gif";
				standardsoff = new Image(); 
				standardsoff.src = "/images/standards_btn1.gif"; 
				connectionsoff = new Image(); 
				connectionsoff.src = "/images/connections_btn1.gif"; 
				educationprogramsoff = new Image(); 
				educationprogramsoff.src = "/images/educationprograms_btn1.gif"; 
				directoryoff = new Image(); 
				directoryoff.src = "/images/directory_btn1.gif"; 
				nycnationoff = new Image(); 
				nycnationoff.src = "/images/nycnation_btn1.gif"; 
				citywideoff = new Image(); 
				citywideoff.src = "/images/citywide_btn1.gif"; 
				researchingoff = new Image(); 
				researchingoff.src = "/images/researching_btn1.gif"; 
				newsoff = new Image(); 
				newsoff.src = "/images/news_btn1.gif"; 
				searchoff = new Image(); 
				searchoff.src = "/images/search_btn1.gif"; 
				
			}
	
	// Function to 'activate' images.
	function imgOn(imgName) {
			if (document.images) {
				document[imgName].src = eval(imgName + "on.src");
			}
	}
	
	// Function to 'deactivate' images.
	function imgOff(imgName) {
			if (document.images) {
				document[imgName].src = eval(imgName + "off.src");
			}
	}

	// validation for the grade search form.
	function ValidateGradeForm() {
	if (document.gradeform.grade.value=="Select") 
		{
			alert("Please select a grade")
			return false
		}
	}

	// validation for the fulltext search form.
	function ValidateSearchForm(d) {
	if (document.searchform.q.value=="" || document.searchform.q.value==d) 
		{
			alert("Please enter some text in the search form")
			return false
		}
	}
	
	// remove default text in text input field
	function toggleOn(d) {
	if (document.searchform.q.value==d) {
		document.searchform.q.value='';
	}
	}
	
	// put default text back in text input field
	function toggleOff(d) {
	if (document.searchform.q.value=='') {
		document.searchform.q.value=d;
	}
	}
	
	// popup window function
	function Launch(page,width,height,scrolls,left) { 
	OpenWin = this.open(page, "gotham", "toolbar=no,menubar=no,location=no,scrollbars="+scrolls+",resizable=no,bookmarks=no,width="+width+",height="+height+",top=50,left="+left); 
	} 