function tog(id)
{
var s = document.getElementById(id).style;
s.display = (s.display == "block" ? "none" : "block");
}

function clearMe(elm) {
	if (elm.value==0) {
		elm.value='';
	}
}

function show(id) {
	var s = document.getElementById(id).style;
	s.display = "inline";
}

function writeHTML(html) {
	document.write(html);
}

function closeopen(url) {
	if (window.opener) {
		window.opener.location = (url);
	}
	else {
		window.open(url)
	}
	self.close();
}


