
			var iconPlus = true;
			var lastexpandedDivID;
			var lastexpandedImgID;
            		<!--
               		function preload_images() {minusicon = new Image();
                                         minusicon.src = "images/minus.gif";
                                        }
           		// -->
			
			<!--
			function hideshow_element(cid, smode)
					{
						document.getElementById(cid).style.display = smode;
					}			
			// -->	
			           		
			<!--
			function expand_collapse(cid) {
						document.getElementById(cid).style.display=(document.getElementById(cid).style.display!="block")? "block" : "none";
						lastexpandedDivID = cid;
						}
			// -->
			<!--
			function expand_collapse_svlist(slist, smode)
					{
					if (smode == '0')
						{
							hideshow_element('trlistservices', 'block');
							
							if (slist == 'A')
								{	hideshow_element('trsearchresultsA', 'block');	}
							else
								{	hideshow_element('trsearchresultsA', 'none');
									hideshow_element('trsearchresultsB', 'block');	}
								
							hideshow_element('trallsearches', 'none');
							hideshow_element('lnkHideSvList', 'inline');
							hideshow_element('lnkSeeSvList', 'none');
						}
					else if (smode == '1')
						{
							hideshow_element('trlistservices', 'none');
							hideshow_element('trsearchresultsA', 'none');
							hideshow_element('trsearchresultsB', 'none');
							hideshow_element('trallsearches', 'block');
							hideshow_element('lnkSeeSvList', 'inline');
							hideshow_element('lnkHideSvList', 'none');
						}
					}
			//>  	
			<!--
			function switch_plusminus(cid)
					{
					if (iconPlus == true)
						{
						document.getElementById(cid).src="images/spacer.gif";
						iconPlus = false;
						lastexpandedImgID = cid;
						}
					else
						{
						document.getElementById(cid).src="images/spacer.gif";	
						iconPlus = true;
						}																		
					}						
			// --> 
			<!--
			function collapse_lastexpanded(cid)
					{
					if ((iconPlus == false) && (lastexpandedDivID !== cid))
						{ 
						document.getElementById(lastexpandedDivID).style.display="none";						
						document.getElementById(lastexpandedImgID).src="images/spacer.gif";
						iconPlus = true;
						}
					}
			// -->
         
			<!--
			function setfocus(cid)
                                        {
                                        if (cid == 'w')
                                           {document.Form1.tbWord.focus();}
                                        else if (cid == 'n')
                                           {document.Form1.tbName.focus();}
                                        else if (cid == 'z')
                                           {document.Form1.tbZIPCode.focus();}
                                        }

			// -->
			<!--
              function clearfield(cid)
                                        {
                                        if ((cid == 'c') && (document.Form1.ddCityList.selectedIndex > -1))
                                           {document.Form1.ddCityList.selectedIndex = -1;}
                                        else if (cid == 'z')
                                           {document.Form1.tbZIPCode.value = "";}
                                        }
                        // -->

               function preload_images(cid)
					{
						if (cid = '1')
							   {catbutton2 = new Image();
								keybutton2 = new Image();
                                nambutton2 = new Image();
                                catbutton2.src = "images/browsecat-over.jpg";
                                keybutton2.src = "images/searchservice-over.jpg";
                                nambutton2.src = "images/aspn-over.jpg";
                                }						
					}
               
               

