function check() {
	if(document.getElementById && document.createTextNode)
	{

		var w3cString = "http://validator.w3.org/check?uri=";
		var location = document.getElementById("uri").value;
		var myElement = document.getElementById("validSearch");

		document.getElementById('validSearch').innerHTML="<h2>Is your site broken? Check now!</h2> <p><strong>2. View report for: <a href=\"" + w3cString + "http://" + location + "\" target=\"_blank\">" + location + "</a></strong></p><p><a href=\"JavaScript:location.reload(true);\">Try another?</a>";
	}
}