// -----------------------------------------------------------------------------------
//
//	Prisoner Zero has escaped
//	by Jill-Jênn Vie - http://www.jill-jenn.net
//	Last Modification: 01/04/11
//
//	Licensed under the Creative Commons Attribution 3.0 License - http://creativecommons.org/licenses/by/3.0/ (Yes, seriously.)
//  	- Free for use in both personal and commercial projects
//		- Attribution requires leaving author name, author link, and the license info intact.
//	
// -----------------------------------------------------------------------------------

function prisonerZeroHasEscaped() {
	message = document.createElement("div");
	message.setAttribute("class", "prisonerzero");
	message.style.left = Math.round(Math.random()*window.innerWidth) + "px";
	message.style.top = Math.round(Math.random()*4200) + "px";
	message.style.fontSize = (Math.round(Math.random()*80) + 20) + "px";
	message.appendChild(document.createTextNode("Prisoner Zero has escaped."));
	document.getElementById("psychicpaper").appendChild(message);
	setTimeout("prisonerZeroHasEscaped()", 500);
}

function doctorWho() {	
	while(document.getElementById("psychicpaper").hasChildNodes())
		document.getElementById("psychicpaper").removeChild(document.getElementById("psychicpaper").firstChild);
}
