//Extend String prototype
String.prototype.asInteger = function () { return parseInt (this, 10); }

//This will be set to true by another script by means of IE conditional comments
var retarded_browser = false;

//Wrapper for getElementById
function _elem (id)
{
	return document.getElementById (id);
}

function del (id)
{
	if (confirm ("Are you sure you want to stop watching this page?"))
	{
		window.location.href = "/watch/pages?del=" + escape (id);
	}
}