
function getAddy() {
   // _s holds the string argument for the stylesheet style, if one is passed in.
   var _s;
	(getAddy.arguments[1]) ? _s=getAddy.arguments[1] : _s='';
   // _m holds the string argument for the link (i.e. 'click here to email me')
   // use "self" as the string to make the email address the link.
   var _m = getAddy.arguments[0];
	var _u   = "Joe";
	var _d = "Lushinski";
	var _e = "com";
	var _l   = _u + "@" + _d + "." + _e;
	if (_m == "self") _m = _l; 
	var e_str = "<a href='mai"+"lto:"+_l+"' id='"+_s+"'>"+_m+"</a>";
	return e_str;

}

function sswindow(file, width, height) {
	if (!width) width = 600;   // if width and height are not given
	if (!height) height = 410; // then set defaults at 600 and 410 respectively
	var iMyLeft;
	var iMyTop;

	//get top and left positions based on user's resolution so window is centered.
	iMyLeft = (window.screen.width - (width + 10))/2 //half the difference of screen width minus the new window width (plus 5 pixel borders).
	iMyTop = (window.screen.height - (height + 50))/2 //half the difference of the screen height minus the new window height (plus title and status bars).
   window.open(file,"Slideshow",'top=' + iMyTop + ',left=' + iMyLeft + ',width=' + width + ',height='+height + ',scrollbars=no,resizable=no');
}
   
function hint(msg) {
	if (msg) window.status = msg;
	else window.status = "";
}

   

