Please cut and paste the above and send to \""+email+"\". You should get a reply confirming your entry within 5 days, if you do not get a reply please resend your entry.
Thanks for entering.") msgWindow.document.writeln("
It's that time again, the english premier league is about to start. So enter out competition now.
To help you, I have created this form, which will will let you select the order of teams in the league.
Once you have selected the order, you must email me your entry.
It you don't get a reply within 2 days - send the entry again
All Entries must be received by
Please note
Good luck,
Iain.
FormPlease place the teams in the order you think they will finish in. You can either:
Please Enter in the following information: Enter your Name: Enter an Entry Name: (i.e. a name you would like to be known as. e.g. The Destroyer)
Some useful links: |
||
Entry for " name: Alpha Bet entry: The Destroyers . |
If it hasn't done this then your browser may not be able to do it. Then you will have to type out the names yourself and send them to me.
") msgWindow.document.close("","resultWindow","") msgWindow.focus() } } function sendEmail() { var chk message = "Entry for \""+comp_name+"\"\n\n" chk = check_entry("\n") message=message + "
Please send your email to " + email message=message+"You should get a reply confirming your entry within 5 days, if you do not get a reply please resend your entry.\n Thanks for entering" if(chk==true) { document.forms.teamChoice.body.value=message } return chk } function up(no) // move the team up one place { if (no>1) { teamAbove=getNewTeamNo(no-1) setTeamNo(no,teamAbove) swapTeam(no) } } function down(no) // move the team down one place { if (no<19) { teamBelow=getNewTeamNo(no+1) setTeamNo(no,teamBelow) swapTeam(no) } } function getNewTeamNo(placingNo) { t="team"+placingNo return (document.forms.teamChoice[t].selectedIndex)+1 } function setTeamNo(placingNo,team) { t="team"+placingNo document.forms.teamChoice[t].selectedIndex = team-1 document.images["flag"+placingNo].src= graphics +team_names[team][2]+".gif" } function getTeamFromPlacing(placingNo) { result=0 for(i=1;i<=20;i++) if (placing[i]==placingNo) { result=i break } return result } function getCurrentPlacing(teamNo) { return placing[teamNo] } function swapTeam(placingNo) { currentTeamA = getNewTeamNo(placingNo) // new team currentTeamAPlacing = getCurrentPlacing(currentTeamA) currentTeamB = getTeamFromPlacing(placingNo) // old team currentTeamBPlacing = placingNo if (currentTeamA!=currentTeamB) // teams are different { // oldTeam is moved to new teams old placing placing[currentTeamB]=currentTeamAPlacing setTeamNo(currentTeamAPlacing,currentTeamB) // newTeam is placed at placingNo placing[currentTeamA]=currentTeamBPlacing setTeamNo(currentTeamBPlacing,currentTeamA) } } function resetNumbers() { for(i=1;i<=20;i++) { setTeamNo(i,i) placing[i]=i } }