function jemail(user, domain, suffix)
{    document.write('<a href="' + 'mailto:' + user + '@' + domain + '.' + 
suffix + '">' + user + '@' + domain + '.' + suffix + '</a>');
}
function test()
{var i = document.getElementById("z1");
//get the height of the browser in pixels
var browserheight = screen.availHeight;
//get the height of the body in pixels
var windowh = document.body.clientHeight;
//Enter "frombottom" or "fromtop"
var verticalpos="frombottom"
//draw scrolling menu
function JSFX_FloatTopDiv()
{	var startX = docjslib_getRealLeft(i),	//111
	startY = windowh-i.height-docjslib_getRealTop(i);			//(browserheight-(i.height+docjslib_getRealTop(i)));		//384
	var ns = (navigator.appName.indexOf("Netscape") != -1);
	var d = document;
	function ml(id)
	{	var el=d.getElementById?d.getElementById(id):d.all?d.all[id]:d.layers[id];
		if(d.layers)el.style=el;
		el.sP=function(x,y){this.style.left=x;this.style.top=y;};
		el.x = startX;
		if (verticalpos=="fromtop")
		el.y = startY;
		else{
		el.y = ns ? pageYOffset + innerHeight : document.body.scrollTop + document.body.clientHeight;
		el.y -= startY;
		}
		return el;
	}
	window.stayTopLeft=function()
	{	if (verticalpos=="fromtop"){
		var pY = ns ? pageYOffset : document.body.scrollTop;
		ftlObj.y += (pY + startY - ftlObj.y)/8;
		}
		else{
		var pY = ns ? pageYOffset + innerHeight : document.body.scrollTop + document.body.clientHeight;
		ftlObj.y += (pY - startY - ftlObj.y)/8;
		}
		ftlObj.sP(ftlObj.x, ftlObj.y);
		setTimeout("stayTopLeft()", 10);
	}
	ftlObj = ml("divStayTopLeft");
	stayTopLeft();
}
JSFX_FloatTopDiv();
}

function popup(url)
{	a=window.open(url,"thewindow","width=600,height=550,toolbar=0,statusbar=0,menubar=0,diretories=0,resizable=0, scrollbars=1");
	a.focus();
}
//determine x coord of image
function docjslib_getRealLeft(imgElem) {
	xPos = eval(imgElem).offsetLeft;
	tempEl = eval(imgElem).offsetParent;
  	while (tempEl != null) {
  		xPos += tempEl.offsetLeft;
  		tempEl = tempEl.offsetParent;
  	}
	return xPos;
}
//function determines the y coordinate of an image
function docjslib_getRealTop(imgElem) {
	yPos = eval(imgElem).offsetTop;
	tempEl = eval(imgElem).offsetParent;
	while (tempEl != null) {
  		yPos += tempEl.offsetTop;
  		tempEl = tempEl.offsetParent;
 	}
	return (yPos);
}
//end of x/y coord
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}