/***********************************************
* Drop down menu w/ description- © Dynamic Drive (www.dynamicdrive.com)
* This notice must stay intact for use
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/

//1) CUSTOMIZE TEXT DESCRIPTIONS FOR LINKS ABOVE
var thetext1=new Array()
thetext1[0]="Do you have a Clean Room or a CleanRoom? A clean room is what your mother always wanted from you and a cleanroom is what we are discussing in this presentation."
thetext1[1]="A failure to provide a healthy indoor environment may result in the owner falling below the (OSHA)standard of care, i.e. being found negligent. In order to be protected from a successful negligence claim, the owner/builder must make sure that indoor air quality issues are taken into consideration in both the design and construction of the building."
thetext1[2]="Estimated Deaths/Hosptial Aquired Infections: 90,000 per year and at a Cost of $4.5 Billion per year!"
thetext1[3]="What you need to know about: the application, type of paint and over spary characteristics, the spray booth operational specs., selection of your arrestor filter based upon effeciency, airflow and paint holding capacity and also local, state and federal disposal regulations."
thetext1[4]="Residential Issues: cleaner air and the removal of particulates and oders, maintaining airflow and changing filters"
thetext1[5]="Why are schools in the forefront? 51 million people occupy school buildings each day (1 in 6)."

/// You may define additional text arrays if you have multiple drop downs:
var thetext2=new Array()
thetext2[0]=""
thetext2[1]=""
thetext2[2]=""
thetext2[3]=""
 
// Now, see 2) below for final customization step

function displaydesc(which, descriptionarray, container){
if (document.getElementById)
document.getElementById(container).innerHTML=descriptionarray[which.selectedIndex]
}

function jumptolink(what){
var selectedopt=what.options[what.selectedIndex]
if (document.getElementById && selectedopt.getAttribute("target")=="newwin")
window.open(selectedopt.value)
else
window.location=selectedopt.value
}

//2) Call function displaydesc() for each drop down menu you have on the page
//   This function displays the initial description for the selected menu item
//   displaydesc(name of select menu, name of corresponding text array, ID of SPAN container tag):
//   Important: Remove the calls not in use (ie: 2nd line below if there's only 1 menu on your page)

displaydesc(document.form1.select1, thetext1, 'textcontainer1')
displaydesc(document.form2.select2, thetext2, 'textcontainer2')