function shownospam(b) {
	var nospamwin=document.getElementById? document.getElementById("nograpemail") : document.all.nograpemail;
	var winWc, winHc;
	if (window.innerWidth) { 
		winWc = window.innerWidth;
		winHc = window.innerHeight;
	} else if (document.documentElement && document.documentElement.clientWidth) {
		winWc = document.documentElement.clientWidth;
		winHc = document.documentElement.clientHeight;
	} else if (document.body) {
		winWc = document.body.offsetWidth;
		winHc = document.body.clientHeight;
	}
	var wtop = (winHc / 2) - ($('#nograpemail').outerHeight(true) / 2);
	var wleft = (winWc / 2 ) - ($('#nograpemail').outerWidth(true) / 2);
	if (b == true)
	{
		$('#background-dimm').css("display", "block");
		nospamwin.style.left = wleft + "px";
		nospamwin.style.top = wtop + "px";
		nospamwin.style.visibility = "visible";

	} else {
		nospamwin.style.top = "0px";
		nospamwin.style.visibility = "hidden";
		$('#background-dimm').css("display", "none");
	}
}


