pageraw = location.hrefpage = pageraw.toLowerCase()ts = page.lengthbpcum = 0var bp = new Array(11)var link = new Array(11)var title = new Array(11)var titlearr = new Array(43)var linkarr = new Array(43)var urlarr = new Array(43)urlarr[1] = "prerel"linkarr[1] = "http://www.cpsc.gov/cpscpub/prerel/prerel.html"titlearr[1] = "Press Releases"urlarr[2] = "businfo"linkarr[2] = "http://www.cpsc.gov/businfo/businfo.html"titlearr[2] = "Business"urlarr[3] = "library"linkarr[3] = "http://www.cpsc.gov/library/library.html"titlearr[3] = "Library"urlarr[4] = "about"linkarr[4] = "http://www.cpsc.gov/about/about.html"titlearr[4] = "About CPSC"urlarr[5] = "pubs"linkarr[5] = "http://www.cpsc.gov/cpscpub/pubs/pub_idx.html"titlearr[5] = "Publications"urlarr[6] = "cpscpub"linkarr[6] = ""titlearr[6] = "cpscpub"urlarr[7] = "spanish"linkarr[7] = "http://www.cpsc.gov/cpscpub/spanish/spanish.html"titlearr[7] = "Espanol"urlarr[8] = "foia"linkarr[8] = "http://www.cpsc.gov/library/foia/foia.html"titlearr[8] = "FOIA"urlarr[9] = "state"linkarr[9] = "http://www.cpsc.gov/businfo/state/state.html"titlearr[9] = "State Contacts"urlarr[10] = "thrift"linkarr[10] = "http://www.cpsc.gov/cpscpub/pubs/thrift/thrftck.html"titlearr[10] = "Thrift Stores"urlarr[11] = "bios"linkarr[11] = ""titlearr[11] = "bios"urlarr[12] = "chairman"linkarr[12] = "http://www.cpsc.gov/cpscpub/bios/chairman/bio.html"titlearr[12] = "chairman"urlarr[13] = "category"linkarr[13] = ""titlearr[13] = "category"urlarr[14] = "other"linkarr[14] = "http://www.cpsc.gov/CPSCPUB/SPANISH/other/languages.html"titlearr[14] = "Other Languages"urlarr[15] = "eeo"linkarr[15] = "http://www.cpsc.gov/about/eeo/eeo.html"titlearr[15] = "EEO"urlarr[16] = "kids"linkarr[16] = "http://www.cpsc.gov/kids/kidsafety/index.html"titlearr[16] = "Especially for Kids"urlarr[17] = "legal"linkarr[17] = "http://www.cpsc.gov/library/legal/recentlegal.html"titlearr[17] = "Legal Notices"urlarr[18] = "advisory"linkarr[18] = "http://www.cpsc.gov/library/foia/advisory/advisory.html"titlearr[18] = "Office of General Counsel Advisory Opinions"urlarr[19] = "pppaguid"linkarr[19] = "http://www.cpsc.gov/businfo/pppaguid/crpindex.html"titlearr[19] = "CR Packaging"urlarr[20] = "pr"linkarr[20] = "http://www.cpsc.gov/pr/proom.html"titlearr[20] = "CPSC Press Room"urlarr[21] = "correction"linkarr[21] = "http://www.cpsc.gov/library/correction/correction.html"titlearr[21] = "Information Quality Requests for Correction"urlarr[22] = "fema"linkarr[22] = "http://www.cpsc.gov/CPSCPUB/PUBS/FEMA/flood.html"titlearr[22] = "Safety Tips for Flood Victims"urlarr[23] = "july4"linkarr[23] = "http://www.cpsc.gov/CPSCPUB/PUBS/july4/4thjuly.html"titlearr[23] = "Fireworks Safety"urlarr[24] = "lead"linkarr[24] = "http://www.cpsc.gov/CPSCPUB/PUBS/lead/leadplay.html"titlearr[24] = "Lead Paint"urlarr[25] = "shower"linkarr[25] = "http://www.cpsc.gov/CPSCPUB/PUBS/SHOWER/shower.html"titlearr[25] = "Baby Safety Shower"urlarr[26] = "showersp"linkarr[26] = "http://www.cpsc.gov/CPSCPUB/PUBS/SHOWER/showersp/index.htm"titlearr[26] = "Baby Safety Shower (Español)"urlarr[27] = "success"linkarr[27] = "http://www.cpsc.gov/CPSCPUB/PUBS/SUCCESS/index.html"titlearr[27] = "Success Stories"urlarr[28] = "grand"linkarr[28] = "http://www.cpsc.gov/CPSCPUB/PUBS/GRAND/704.html"titlearr[28] = "Grandparents' Guide"urlarr[29] = "toy"linkarr[29] = "http://www.cpsc.gov/CPSCPUB/PUBS/GRAND/TOY/toysafe.html"titlearr[29] = "Toy Safety"urlarr[30] = "12steps"linkarr[30] = "http://www.cpsc.gov/CPSCPUB/PUBS/GRAND/12steps/12steps.html"titlearr[30] = "Childproofing"urlarr[31] = "aging"linkarr[31] = "http://www.cpsc.gov/CPSCPUB/PUBS/GRAND/aging/703.html"titlearr[31] = "Aging"urlarr[32] = "phth"linkarr[32] = "http://www.cpsc.gov/phth/dinp.html"titlearr[32] = "Diisononyl Phthalate (DINP)"urlarr[33] = "frnotices"linkarr[33] = "http://www.cpsc.gov/businfo/cpscfr.html"titlearr[33] = "Federal Register Notices"urlarr[34] = "reports"linkarr[34] = "http://www.cpsc.gov/cpscpub/pubs/reports.html"titlearr[34] = "Reports"urlarr[35] = "trans"linkarr[35] = "http://www.cpsc.gov/mpeg.html"titlearr[35] = "Video Transcripts"urlarr[36] = "nsn"linkarr[36] = "http://www.cpsc.gov/nsn/nsn.html"titlearr[36] = "Neighborhood Safety Network"urlarr[37] = "intl"linkarr[37] = "http://www.cpsc.gov/businfo/intl/index.html"titlearr[37] = "International Activities"urlarr[38] = "volstd"linkarr[38] = "http://www.cpsc.gov/volstd/standards.html"titlearr[38] = "Voluntary Standards"urlarr[39] = "oig"linkarr[39] = "http://www.cpsc.gov/about/oig/oig.html"titlearr[39] = "Office of Inspector General"urlarr[40] = "cpsia"linkarr[40] = "http://www.cpsc.gov/about/cpsia/cpsia.html"titlearr[40] = "CPSIA"urlarr[41] = "faq"linkarr[41] = "http://www.cpsc.gov/about/cpsia/faq/faq.html"titlearr[41] = "FAQs"urlarr[42] = "summaries"linkarr[42] = "http://www.cpsc.gov/about/cpsia/legislation.html#summaries"titlearr[42] = "Summaries"urlarr[43] = "smbus"linkarr[43] = "http://www.cpsc.gov/about/cpsia/smbus/cpsiasbguide.html"titlearr[43] = "Small Business"document.write ("<a href='http://www.cpsc.gov'>CPSC Home</a> ")for (i=0; i<12; i++)   {      bp[i]=0   }bp[1] = page.search("v/") + 2for (i=1; i<12; i++)   {      if (bp[i] != ts)          {            bpcum=bpcum+bp[i]            bpvar = page.substr(bpcum, ts)            bp[i+1] = bpvar.search("/") + 1            if (bp[i+1] == 0)	   {	      bp[i+1] = ts	   }            bparr = page.substr(bpcum, bp[i+1]-1)            for (j=0; j<44; j++)	 {                   if (bparr == urlarr[j])	         {	             link[i] = linkarr[j]	             title[i] = titlearr[j]   	         }		 }            if (link[i] != null)	{		if (title[i] == "cpscpub" || title[i] == "brief" || title[i] == "category" || title[i] == "bios")			{	                  		document.write ("")	 		}        	 	   else			 {	         		         document.write (" > <a href='", link[i], "'>", title[i], "</a>")			 }	}            else	 {	                  document.write (" > Current")	 }        }        if (bp[i+1] == 0)            {	  bp[i+1] = ts            }   }