function swapImages(id, src)
{
	var src_base = '/images/header/';
	var src_full = src_base + src;
	document.getElementById(id).src = src_full;
}

function newImage(arg)
{
if (document.images)
{
	rslt = new Image();
	rslt.src = arg;
	return rslt;
}
}

function popMail(host,user) {
	var acct = user +'@'+ host;
	self.location.href = 'mailto:'+ acct;
}
function linkMail(host,user,cls) {
	document.write('<a href="javascript:popMail(\''+ host +'\',\''+ user +'\');"');
	if (cls) {
		document.write(' class="'+ cls +'"');
	}
	document.write('>');
	showMail(host,user);
	document.write('</a>');
}
function showMail(host,user) {
	var acct = user +'@'+ host;
	document.write(acct);
}

function closeNewsStory()
{
	document.getElementById('news_story').style.display = 'none';
	document.getElementById('news_archive').style.display = 'block';
}

function popMail(host,user) {
	var acct = user +'@'+ host;
	self.location.href = 'mailto:'+ acct;
}

function openPicWin(img,width,height)
{
	var url = '/image_pop.php?img=' + img + '&height=' + height + '&width=' + width;
	var img_pop = window.open(url,'image_pop','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=' + width + ',height=' + height);
	img_pop.focus();
}

// -->

