

/***********************************************
* 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]="Save on Interest Each Month"
thetext1[1]="Find the Best Credit Cards"
thetext1[2]="Save Money and Repay Your Debt"
thetext1[3]="Perfect for a Backup Card"
thetext1[4]="Maximise Your Reward Points"
thetext1[5]="Get Cash for Every Purchase"
thetext1[6]="Luxury and Special Benefits!"
thetext1[7]="Reduce Your Interest Charges"
thetext1[8]="Access Your Savings Like a Credit Card"
thetext1[9]="Earn Points while you do Busines"
thetext1[11]="Great Rewards Points Cards"
thetext1[10]="Choose from the Providers"
thetext1[12]="ANZ Falcon and good variety"
thetext1[13]="Will save you Thousands!"
thetext1[14]="South Australian Cards"
thetext1[15]="Great Low Interest Cards"
thetext1[16]="Great Blend of Rewards and Savings"
thetext1[17]="Different!"
thetext1[18]="Help the Environment"
thetext1[19]="Low interest and Reward Options"
thetext1[20]="Great Introductory Offer"
thetext1[21]="Travel Faster and Further"
thetext1[22]="Checkout their Low Interest Cards"
thetext1[23]="Best Reward Program Cards"
thetext1[24]="Buy your Groceries Cheaper"
thetext1[25]="Perfect for International Travel"



/// 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!="null" && 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')




