/* fastredirector.js - Copyright 2004 Aaron Isotton <aaron@isotton.com>.
 *
 * Version: 		2.00
 * Release date: 	2004-12-28
 * 
 * Use under the conditions of the GNU GPL.
 * 
 * New Versions & Documentation at:
 *   http://www.isotton.com/scripts/fastredirector/
 */

function fastRedirect(selectId) {
    var select;
    if (document.getElementById) select = document.getElementById(selectId);
    else if (document.all) select = document.all[selectId];

    if (!select) return true;    
    document.location.href = select.options[select.selectedIndex].value;
    return false;
}

