/***********************************************************************
The following code is based on and including code originally created by
Shaun Inman of http://www.shauninman.com
***********************************************************************/
var UF = new Object();

UF.onbeforeload	= function()
{
	for (var module in this)
	{
		if (this[module].onbeforeload)
		{
			this[module].onbeforeload();
		}
	}
}
UF.onload = function()
{
	for (var module in this)
	{
		if (this[module].onload)
		{
			this[module].onload();
		}
	}
}
UF.onresize	= function()
{
	for (var module in this)
	{
		if (this[module].onresize)
		{
			this[module].onresize();
		}
	}
}
//
window.onload	= function() 
{
	UF.onload();
}