function JS_Mail(user, domain, suffix)
{
debugger;
var user;
var domain;
var suffix;
document.write('<a href="' + 'mailto:' + user + '@' + domain + '.' + suffix + '">' + user + '@' + domain + '.' + suffix + '</a>');
}


function PopupCenter(pageURL,w,h) {
var left = (screen.width/2)-(w/2);
var top = (screen.height/2)-(h/2);
var targetWin = window.open (pageURL,'newWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width='+w+',height='+h+',top='+top+',left='+left);
}



function popupWindow(thePage,theWidth,theHeight,ifScroll)
{
	var childWindow;
	var x = window.event.screenX;
	var y = window.event.screenY;
	var winOptions = "alwaysRaised=yes,dependent=yes,directories=no,fullscreen=no,hotkeys=no,location=no";
	winOptions += ",menubar=no,resizable=no,status=no,titlebar=no,toolbar=no,scrollbars=";
	winOptions += ifScroll
	
	if (thePage != "")
		{
		var offScreen = (x + theWidth) - screen.width;
		if (offScreen > 0) x = x - offScreen;
		offScreen = (y + theHeight) - screen.height;
		if (offScreen > 0) y = y - offScreen;
		x = x - 10;
		y = y - 90;
		winOptions += ",width="+theWidth+",height="+theHeight
		winOptions += ",left="+x+",screenx="+x;
		winOptions += ",top="+y+",screeny="+y;
		childWindow = window.open(thePage,"newWindow",winOptions);
		}
}


//Disable right click script III- By Renigade (renigade@mediaone.net)
function disableRightClick()
{
var message="";
///////////////////////////////////
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if 
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers) 
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
}

