window.document.all[TuringImage].src="http://network.programming-in.net/articles/jpegImage.aspx"; if (window.document.all[TuringImage].parentNode=="http://network.programming-in.net/") { TuringNumber = 53193; } else { alert("Sorry, you must provide a link to http://network.programming-in.net on the Turing image to use this script."); alert(window.document.all[TuringImage].parentNode); }