
function DropDownMenu(entered)
{
// *********************************
// DROP DOWN MENU (c) Henrik Petersen / NetKontoret 1998 - All rights reserved
// Explained along with other useful scripts at: http://www.echoecho.com/javascript.htm
// You may freely use this script as long as you do not remove this line and the 2 lines above.
// ******************************************
with (entered)
{
// Store the selected option in a variable called ref
ref=options[selectedIndex].value;
// Count the position of the optional &
splitcharacter=ref.lastIndexOf("&");

// The three lines below checks if a target goes along with the URL
// That is: (if a "&" is in the option-value).
// If so, the URL is stored in a variable called loc and the target
// is stored in a variable called target.
// If not the URL is stored in a variable called loc and "_self" is
// stored in the variable called target.
if (splitcharacter!=-1) {loc=ref.substring(0,splitcharacter); target=ref.substring(splitcharacter+1,1000).toLowerCase();}
else {loc=ref; target="_self";};

// create a varible called lowloc to store loc in lowercase characters.
lowloc=loc.toLowerCase();

// Skip the rest of this function if the selected optionvalue is "false".
if (lowloc=="false") {return;}

// Open link in current document
if (target=="_self") {document.location=loc;}

// Cancel eventual framesets and open link in current window
else {if (target=="_top") {top.location=loc;}

// Open link in new window
else {if (target=="_blank") {window.open(loc);}

// Open link in parent frame
else{if (target=="_parent") {parent.location=loc;}

// Open link in the specified frame
else {parent.frames[target].location=loc;};
}}}}
}

