// JavaScript Documentfunction nav1()
/*function nav1()
{var w = document.myform1.mylist1.selectedIndex;
var url_add = document.myform1.mylist1.options[w].value;
window.location.href = url_add;}
function nav2()
{var w = document.myform2.mylist2.selectedIndex;
var url_add = document.myform2.mylist2.options[w].value;
window.location.href = url_add;}
function nav3()
{var w = document.myform3.mylist3.selectedIndex;
var url_add = document.myform3.mylist3.options[w].value;
window.location.href = url_add;}
function nav4()
{var w = document.myform4.mylist4.selectedIndex;
var url_add = document.myform4.mylist4.options[w].value;
window.location.href = url_add;}
function nav5()
{var w = document.myform5.mylist5.selectedIndex;
var url_add = document.myform5.mylist5.options[w].value;
window.location.href = url_add;}
function nav6()
{var w = document.myform6.mylist6.selectedIndex;
var url_add = document.myform6.mylist6.options[w].value;
window.location.href = url_add;}
function nav7()
{var w = document.myform7.mylist7.selectedIndex;
var url_add = document.myform7.mylist7.options[w].value;
window.location.href = url_add;}
function nav8()
{var w = document.myform8.mylist8.selectedIndex;
var url_add = document.myform8.mylist8.options[w].value;
window.location.href = url_add;}
function nav9()
{var w = document.myform9.mylist9.selectedIndex;
var url_add = document.myform9.mylist9.options[w].value;
window.location.href = url_add;}
function nav10()
{var w = document.myform10.mylist10.selectedIndex;
var url_add = document.myform10.mylist10.options[w].value;
window.location.href = url_add;}
function nav11()
{var w = document.myform11.mylist11.selectedIndex;
var url_add = document.myform11.mylist11.options[w].value;
window.location.href = url_add;}
function nav12()
{var w = document.myform12.mylist12.selectedIndex;
var url_add = document.myform12.mylist12.options[w].value;
window.location.href = url_add;}*/

/***********************************************
* 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]="Comprehensive JavaScript tutorials and over 400+ free scripts"
thetext1[1]="Direct link to hundreds of free Java applets online!"
thetext1[2]="Up to date news on the technology front"
thetext1[3]="News.com- The #1 technology News site."
thetext1[4]="Web Coding and development forums"

/// You may define additional text arrays if you have multiple drop downs:
var thetext2=new Array()
thetext2[0]="CNN- US and World News."
thetext2[1]="MSNBC- NBC News online."
thetext2[2]="BBC News- Updated every minute of every day."
thetext2[3]="TheRegister- Daily IT news."

// 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')
