function support_email(c) {
	s4 = "support";s = c + " <a href=\"";s1 = "mailto:";s0 = "redir.tv";e = "\">Support</a>";
	email_string = s + s1 + s4 + String.fromCharCode(64) + s0 + e;
	document.write(email_string);
}

function getElementById(id) {
	return document.getElementById ? document.getElementById(id) : document.all[id]
}

function display_suggestion() {
	o = getElementById("sugg");
	if (o.style.display == "none")
		o.style.display = "";
	else
		o.style.display = "none";
}

function isURL() {
	var regexp = /(\w+:\/\/)?(\w+:{0,1}\w*@)?([^'\s"+$&\^\/\?]+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?/;
	if (!regexp.test(document.forms[0].elements[0].value)) {
		getElementById("error").innerHTML = "The URL doesn't seem to be valid. Please, re-enter it.";
		return false;
	}
	return true;
}
