<!--
var aNoteWin

var agt=navigator.userAgent.toLowerCase() // Make easier for testing
var isIE4;

this.major = parseInt(navigator.appVersion)
this.ie = (agt.indexOf("msie") != -1);
isIE4 = (this.ie && (this.major == 4));

function GetPositionLeft(nWindowLeft) {

	// Get client width and height
	var nClientWidth;
	nClientWidth = self.screenLeft;

	// Work-out window placements
	if (nClientWidth >= 0) {
		nWindowLeft = nClientWidth + 5;
	}
	
	return nWindowLeft;
}

function GetPositionTop(nWindowTop) {

	// Get client width and height
	var nClientHeight;
	nClientHeight = self.screenTop;

	// Work-out window placements
	nWindowTop = nClientHeight;
	
	return nWindowTop;
}


function popupsizable(topic,width,height) {
	
	if (isIE4) {
		var nWindowTop = GetPositionTop(nWindowTop);
		var nWindowLeft = GetPositionLeft(nWindowLeft);
		
		nWindowTop = nWindowTop - 85;
		nWindowLeft = nWindowLeft + 10
		
		
	} else {
		var nWindowTop = 10;
		var nWindowLeft = 15;
	}
	
	if (self.aPopUp3 == null) {
		aPopUp = window.open(topic,'PopupInformation','resizable=yes,scrollbars=yes,location=no,status=no,menubar=1,directories=no,top='+ nWindowTop +',left='+ nWindowLeft +',width='+width+',height='+height+',titlebar=no');
		self.aNoteWin = aPopUp;
	}
	else {
		closePicture()
		aPopUp = window.open(topic,'PopupInformation','resizable=yes,scrollbars=yes,location=no,status=no,menubar=1,directories=no,top='+ nWindowTop +',left='+ nWindowLeft +',width='+width+',height='+height+',titlebar=no');
		self.aNoteWin = aPopUp;
	}
}

function closePicture(which) {
	if (self.aPopUp != null) {
		self.aPopUp = null;
		self.aNoteWin.close();
	}
}

//-->
