try {
document.execCommand("BackgroundImageCache", false, true);
} catch(err) {}
function getObject (objID) {
	return (document.getElementById (objID));
}
function createObject (tag, prop) {
	var newObject = document.createElement (tag);
	for (var mc in prop) {
		newObject[mc] = prop[mc];
	}
	return (newObject);
}
function createTopMenu (count) {
	var table, tb, tr, td, cr = window.createObject;
	table = cr ('table', {id:'topMenu', height:32, border:0, align:'center', cellPadding:0, cellSpacing:0});
	tb = cr ('tbody', {});
	tr = cr ('tr', {})
	for (var i = 0; i < count; i++) {
		td = cr ('td', {id:('topMenu' + i), className:'topMenuStyle', innerHTML:'&nbsp;'});
		td.bgPosX = i * 122;
		td.style.backgroundPosition = (i * 122) + 'px 0px';
		td.onmouseover = window.topMenuOver;
		td.onmouseout = window.topMenuOut;
		td.onclick = window.topMenuClick;
		tr.appendChild (td);
	}
	tb.appendChild (tr);
	table.appendChild (tb);
	return (table);
}
function topMenuOver () {
	this.style.backgroundPosition = this.bgPosX + 'px -32px';
	return false;
}
function topMenuOut () {
	this.style.backgroundPosition = this.bgPosX + 'px 0px';
	return false;
}
function topMenuClick () {
	window.location = window.topMenuLink[this.id];
	return false;
}
function initPage () {
	var tmc = window.getObject ('topMenuContainer');
	tmc.appendChild (window.createTopMenu (7));
	return false;
}
var topMenuLink = {};
topMenuLink.topMenu0 = 'about.htm';
topMenuLink.topMenu1 = 'addMember.htm';
topMenuLink.topMenu2 = 'contact.htm';
topMenuLink.topMenu3 = 'journal.htm';
topMenuLink.topMenu4 = 'news.htm';
topMenuLink.topMenu5 = 'service1.htm';
topMenuLink.topMenu6 = 'content.htm';
initPage ();