 $ = function(id) { return document.getElementById(id); }
 function execListClass()
{
	this.list = new Array();
	this.add = function (funcp) {
		this.list[this.list.length] = funcp;
	}
	this.execList = function() {
		var i;
		for (i = 0; i < this.list.length; i++) {
			eval(this.list[i]);
		}
	}
}
var onLoad = new execListClass();
var onResize = new execListClass();
window.onload = function () {
	onLoad.execList();
	window.onresize = function ()
	{
		onResize.execList();
	}
}
	// dhtml popup windows
var fooContainerVar;
var fooVar;

function __wol__() {
//fooContainerVar = document.getElementById("fooContainer");
//fooVar = document.getElementById("foo");
}
onLoad.add("__wol__();");
function dhtml_close_popup(id)
{
	fooContainerVar.style.visibility = "hidden";
	fooVar.style.visibility = "hidden";
	fooVar.style.display = "none";
}
openWindow = function(idC, id)
{
	fooContainerVar = $(idC);
	fooVar = $(id);
	fooContainerVar.style.visibility='visible';
	fooVar.style.visibility='visible';
	fooVar.style.display='block';
}