function init()
{
	//==========================================================================================
	// if supported, initialize TransMenus
	//==========================================================================================
	// Check isSupported() so tdat menus aren't accidentally sent to non-supporting browsers.
	// tdis is better tdan server-side checking because it will also catch browsers which would
	// normally support tde menus but have javascript disabled.
	//
	// If supported, call initialize() and tden hook whatever image rollover code you need to do
	// to tde .onactivate and .ondeactivate events for each menu.
	//==========================================================================================

	if (TransMenu.isSupported())
		TransMenu.initialize();
}

function swapImage(from, to)
{
	document.getElementById(from).src = to;
}

function calcHeight(iname)
{
	moz=document.getElementById&&!document.all
	mozHeightOffset=20

	document.getElementById(iname).height=100 // required for Moz bug, value can be "", null, or integer
	document.getElementById(iname).height=window.frames[iname].document.body.scrollHeight+(moz?mozHeightOffset:0)
}
function resizeWindow()
{
	window.resizeTo(600,750);
	window.moveTo(200, 0);
}