var validArr = new Array(" has really great drop shadows.",
						 " has great content.",
						 " could be standards-compliant if it wanted to, but it just doesn't have time.",
						 " is the new Twitter.",
						 " is the new Amazon.",
						 " is the new Facebook.",
						 " has really revealing-yet-entertaining anecdotes.",
						 " has a very easy-to-use e-commerce interface.",
						 " is the very pinnacle of Web 2.0.",
						 " makes great use of video.",
						 " is so much fun to scroll down.",
						 " has great fonts.",
						 " has a wonderful flash intro.",
						 " is bound to go viral anytime!",
						 " is just a fantastic idea.",
						 " implents jQuery beautifully.",
						 " may not appear correctly in Firefox, but it looks great in IE 6.",
						 " has almost no server downtime.",
						 " is getting tweeted and reblogged like crazy.",
						 " probably inspired Facebook.",
						 " is a great portfolio piece.",
						 " has a great color scheme.",
						 " uses Flash really well.",
						 " loads so fast!",
						 " fits great in 1024x768 monitors!",
						 " uses all web-safe colors admirably.",
						 " has background music playing at just the right level.",
						 " has a gorgeous backend implementation.",
						 " epitomizes narrowcasting.",
						 " epitomizes crowdsourcing.",
						 " has really unobtrusive banner ads.",
						 " uses paper textures nicely.",
						 " has great potential for monetization.",
						 " has a beautiful mobile version.",
						 " uses reflections just enough.",
						 " is visited by celebrities frequently.",
						 " is blowing up on Twitter.",
						 " has perfeclty-sized fonts.",
						 " is really legible.",
						 " was clearly designed by someone creative and capable.",
						 " is bound for a book deal.",
						 " should be a movie.",
						 " is right up BoingBoing's alley.",
						 " has great podcasts.",
						 " has well-placed call-to-action buttons.",
						 " has a beautiful footer.",
						 " really takes advantage of CSS3 while still being compatible with older browsers."
						 );

var lastNum;

function validateMe()
{
	var myUrl=document.getElementById("myinput").value;
	var myRand = Math.round(Math.random()*(validArr.length-1));
	while(myRand==lastNum)
	{
		myRand = Math.round(Math.random()*(validArr.length-1));
	}
	lastNum=myRand;
	var myStr = "<strong>"+myUrl+"</strong>"+validArr[myRand];
	document.getElementById("msg").innerHTML=myStr;
	document.getElementById("input").style.display="none";
	document.getElementById("output").style.display="block";
	
}
function reset(){
	document.getElementById("input").style.display="block";
	document.getElementById("output").style.display="none";
}
