<!-- Hide
//------------------------------------------
//------ Protect Email Addresses
//------------------------------------------
//<! syntax: myMail(user,isp,msg,img,opt) -------------------------- >
//<!---------------------User = user's email name --------------------------->
//<!---------------------Isp = user's email name (e.g. user@isp.com ---->
//<!---------------------Msg = OPTIONAL message to appear in link  ---->
//<!---------------------Img = OPTIONAL image to appear in link     ---->
//<!---------------------Opt =  If NOT BLANK, will include e-mail adrs as part of link---->

function myMail(user,isp,msg,img,opt){
	strOut = ""
	strOut += '<a href=\"mailto:' + user + '@' + isp + '\"\n'
	strOut += ' onmouseover=\"window.status=\'' + msg + '\'; return true\"\n'
	strOut += ' onmouseout=\"window.status=\'\'; return true\">\n'

	if(img != ""){
		strOut += '<img src="' + img + '" border="0"><br>\n'
	}

	if(msg != ""){
		strOut += msg
	}

	if(opt != ""){
		if (msg != ""){
			strOut += '<br>'
		}
		strOut += user + '@' + isp
	}

	strOut += '</a></b>\n'
	document.write(strOut)
}//END function


//------------------------------------------
//------ Start time functions
//------------------------------------------
function fixTime(date) {
  var base = new Date(0);
  var skew = base.getTime();
  if (skew > 0)
    date.setTime(date.getTime() - skew);
}

var cur = new Date();
fixTime(cur);              // get current time string

// -- Time Calculations
function clock() {
getDate = window.setTimeout("clock()", 1000);

var oneDate = new Date()
var theHour = oneDate.getHours()
var theMin = oneDate.getMinutes()
var theSec = oneDate.getSeconds()

var theTime = "       " + ((theHour > 12) ? theHour -12 : theHour)
theTime += ((theMin < 10) ? ":0" : ":") + theMin 
theTime += ((theSec < 10) ? ":0" : ":") + theSec
theTime += (theHour >= 12) ? " pm" : " am"
document.clock.timeNow.value = theTime; // display in form field 
}
// ----------------------- End Time script >

//---------------------------pop-up-images------------
// By SeaBsUnlimited 12/1/01 www.SeaBsUnlimited.nu
//----------------------------------------------------

function ImagePopUp(picSrc,picTitle){
   	var strOut = '<HTML>\n<HEAD>\n<TITLE>' + picTitle + '</TITLE>\n</HEAD>\n'
	strOut += "<body bgcolor='#FFFFEC'>\n<CENTER><form><font size=1 face=verdana color=red>\nPlease wait while image is loading<br>\n"
	strOut += "<font size=2>\n<input type='button' value='Click Here To Return' onClick='history.back()'>\n<hr size=1 noshade width=75%>\n"
	strOut += '<IMG SRC="' + picSrc + '" BORDER="0" align="absmiddle">\n<hr size=1 noshade width=75%>'
	strOut += "</form></body>\n</html>\n"
	
	// write to new window
	document.write(strOut)
	document.close() // close layout stream
} // end function		

//----  End  Javascript- --->
