/* this function is used for created a drop box that lets you jump to a particular
URL. The form_reference parameter represents a reference to the current form in case
 there is more than one form defined in a document
 
 example: 
 <select name="example_select" size="1" onChange="dropDownLink(this.form, ARRAY_REFERNCE)">
 
- NOTE: pass the corret array name refernce 
- an option is set to a value of false if no action should be taken. 
 
 */

function dropDownLink(form_reference, select_tag_name) //PARAMETER: select_tag_name is the <select name=""> attribute value
{
	var url = form_reference[select_tag_name].options[form_reference[select_tag_name].selectedIndex].value;
	if(url != "false")
	{
		window.top.location.href=url;
	}
}
/* 

USAGE:
<select NAME="dropDown" onChange="dropDownLink(this.form, url_array_object_name)" >




original (old) sybtax
<select NAME="TestForm" 
onChange="GoURL(form.TestForm.options[form.TestForm.selectedIndex].value)">

*/
