var EnableSizeReport = false;
var oldwidth = 0;
var oldheight = 0;
var moved = false;
var manualReport = false;

function PopupSizeReport() {
	getWindowSize();
	if ((moved) && (windowWidth == oldwidth) && (windowHeight == oldheight)) {
		moved = false;
		alert("width: " + windowWidth + "; height: " + windowHeight);
	}
	else if (manualReport) {
		manualReport = false;
		alert("width: " + windowWidth + "; height: " + windowHeight);
	}
	oldwidth = windowWidth;
	oldheight = windowHeight;
	reportTimer = setTimeout('PopupSizeReport()',500);
}

function popupsOnload() {
	//doMouseovers();
	
	sessioncounter = history.length;
	if (ie56) sessioncounter = 1+sessioncounter;
	backbutton = new getObj('backbutton');
	if (sessioncounter > 1) backbutton.style.display = "inline";

/*	if (ie56) setPopupContentWidth('popupcontent'); */     // REPLACE IF NEEDED!!! ********************************************************
	if (EnableSizeReport) reportTimer = setTimeout('PopupSizeReport()',500); // sizing
	
	
}
womAdd('popupsOnload()');

window.onresize = function () {
//	if (ie56) setPopupContentWidth('popupcontent');        // REPLACE IF NEEDED!!! ********************************************************
	moved = true; // PopupSizeReport auto-alert
}
