Lottery Number Picker

Gives a random set of lottery numbers.

About This Script

Place this code below inside the <body> tag on your site where you would like it to appear.

Demo

00 00 00 00 00 00

Code

<script> /* * Lottery number picker * Provided by http://www.top-site-list.com */ function startPickingLotto(){B=" ";LottoNumbers=new Array;for(i=1;i<=totalnumbers;i++){RandomNumber=Math.round(lowerbound+Math.random()*(upperbound-lowerbound));for(j=1;j<=totalnumbers;j){if(RandomNumber==LottoNumbers[j]){RandomNumber=Math.round(lowerbound+Math.random()*(upperbound-lowerbound));j=0}j++}LottoNumbers[i]=RandomNumber}LottoNumbers=LottoNumbers.toString();X=LottoNumbers.split(",");for(i=0;i<X.length;i++){X[i]=X[i]+" ";if(X[i].length==2)X[i]="0"+X[i]}X=X.sort();for(i=0;i<X.length;i++){OutPut=B+=X[i]}if(document.all)document.all.lotteryResults.innerHTML=OutPut;if(document.getElementById)document.getElementById("lotteryResults").innerHTML=OutPut;if(document.layers){document.layers.lotteryResults.document.open();document.layers.lotteryResults.document.write("<span style='position:absolute;top:0px;left:0px;font-family:Verdana;font-size:20px;color:#888888;text-align:center'> "+OutPut+"</span>");document.layers.lotteryResults.document.close()}T=setTimeout("startPickingLotto()",20)}function stopPickingLotto(){setTimeout("clearTimeout(T)",1e3)}var totalnumbers=6;var lowerbound=1;var upperbound=49 </script> <button onclick="startPickingLotto();stopPickingLotto()"'>Generate Lottery Numbers</button> <span id="lotteryResults">00 00 00 00 00 00</span>
More scripts

Do you want to expose your site to millions?
Do you want to be ranked higher in Google?
Do you want to be known as the best site in your niche?

Then look no further. Add your site in 3 simple steps. Sign up, Add your site and Start receiving votes! It only takes 10 seconds!

Sign Up to Top Site List Planet Now!

Login with one of these social networks...

Sign in with FacebookSign in with TwitterSign in with Google+Sign in with Yahoo!Sign in with LinkedIn

or create an account with your email...

Login To An Existing Account