Lotto Results Checker

On the same theme as the Natwest Login script, I figured I’d write a bookmarklet to check my lotto results.
[code lang=”javascript”]
javascript:
var _Lotto = new Array(‘number1′,’number2′,’number3′,’number4′,’number5′,’number6’);
document.forms[‘WinCheckQueryForm’].drawTypeID.value = ‘1’;
document.forms[‘WinCheckQueryForm’].numberChosen1.value = _Lotto[0];
document.forms[‘WinCheckQueryForm’].numberChosen2.value = _Lotto[1];
document.forms[‘WinCheckQueryForm’].numberChosen3.value = _Lotto[2];
document.forms[‘WinCheckQueryForm’].numberChosen4.value = _Lotto[3];
document.forms[‘WinCheckQueryForm’].numberChosen5.value = _Lotto[4];
document.forms[‘WinCheckQueryForm’].numberChosen6.value = _Lotto[5];
document.forms[‘WinCheckQueryForm’].dateCriteria.value = ‘6M’;
document.forms[‘WinCheckQueryForm’].drawSubTypeID.value = ‘0’;
document.WinCheckQueryForm.submit();
[/code]

It doesn’t use document.getElementById as I like to but the page doesn’t have any ids 🙁