// print last modified date
function printLastUpdate(){
	// verify date from HTTP header
	if(Date.parse(document.lastModified) != 0){
		var update = new Date(Date.parse(document.lastModified)); // create date object from lastModified
		var updateStr = update.getFullYear() + "." + (update.getMonth() + 1) + "." + update.getDate(); // format date
		document.write("Last updated: " + updateStr); // print to web page
	}
}

// print sponsor graphics
function printSponsorLogos(){
	/* div id=sponsorlist contains content
	seperator div between each item, not at beginning or end
	each item contains logo, and promotional text
	*/
	document.write('' +
	'<div id="sponsorlist">' +
	
	
	
	
	'<div class="seperator">&nbsp;</div>' +

	'<p class="logo"><a href="http://www.aviarts.com"><img ' +
		'src="/graphics/sponsors/aviarts.gif" alt="AVIarts" border="0" /><br />' +
		'www.aviarts.com</a></p>' +
	'<p class="promo">Development and consulting for integrating sound with Flash, web sites, and mobile devices.</p>' +


	'</div>');
}

// open browser window
// onclick="openWindow(this.href,'external2','width=500,height=600,scrollbars=yes,toolbar=no'); return false;"
function openWindow(theURL,winName,features) {
  viewer = window.open(theURL,winName,features);
  viewer.focus();
}

// build email address and launch email app - protect from spam bots
function mail(account,domain){
	window.location.href = "mailto:" + account + "@" + domain;
}