function write_email(uname , domain , linkText) {
	if (linkText === undefined){
		var linkText = uname + "&#64" + domain;
	};
	document.write("<a href=" + "mail" + "to:" + uname + "&#64" + domain + ">" + linkText + "<\/a>");
}
function write_email_w_subject(uname , domain , linkText , subject) {
	if (linkText === undefined){
		var linkText = uname + "&#64" + domain;
	};
	document.write("<a href=" + "mail" + "to:" + uname + "&#64" + domain + "?subject=" + subject + ">" + linkText + "<\/a>");
}
<!--

//Disable right mouse click Script
//By Maximus (maximus@nsimail.com) w/ mods by DynamicDrive
//For full source code, visit http://www.dynamicdrive.com

var message="I'm sorry but the right click function has been disabled on this site to help prevent copyright infringment.";

///////////////////////////////////
function clickIE4(){
if (event.button==2){
alert(message);
return false;
}
}

function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
alert(message);
return false;
}
}
}

if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS4;
}
else if (document.all&&!document.getElementById){
document.onmousedown=clickIE4;
}

document.oncontextmenu=new Function("alert(message);return false")

// --> 

<!-- TWO STEPS TO INSTALL POPUP WINDOW:-->

   <!--1.  Paste the first into the HEAD of your HTML document-->
   <!--2.  Use the code to open the popup page on your site --> 

<!-- STEP ONE: Copy this code into the HEAD of your HTML document  -->


<!-- Begin
function popUp(URL,H,W,SCROLL) {
//alert(H+' '+W);
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars="+SCROLL+",location=0,status=0,menubar=0,resizable=1,width="+W+",height="+H+"');");
}
// End -->

<!-- Script Size:  0.73 KB  -->
<!-- STEP TWO: Use the following link to open the new window -->
<!-- <A HREF="javascript:popUp('picture.jpg')">Open the Popup Window</A> -->