function downloadComboChanged(targ,selObj)
{
    eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
}

function handleReturnKey(e, id)
{
    if (!e) var e = window.event
    if (e.keyCode) code = e.keyCode;
    else if (e.which) code = e.which;
    // process only the Enter key
    if (code == 13)
    {
        // cancel the default submit
        e.returnValue=false;
        e.cancel = true;
        // submit the form by programmatically clicking the specified button
        clickButton(id);
        return false;
    }
    return true;
}

function clickButton(Id)
{
    var fireOnThis = document.getElementById(Id);
    if (document.createEvent) //Moz.
    {
        var evObj = document.createEvent('MouseEvents');
        evObj.initEvent('click', true, false );
        fireOnThis.dispatchEvent(evObj);
    }
    /*else if (document.createEventObject) //IE, does not work...
  {
    fireOnThis.fireEvent('onclick');
  }*/
    else //IE, this works in 6 and 7...
    {
        fireOnThis.click();
    }
}