function fitMe(extraHeight) {
	var widthCorrection = 12;
	if (document.all && (extraHeight == 0)) extraHeight = 4;
	var heightCorrection = 27 + extraHeight;
	if (document.layers){
		window.innerWidth = document.images[0].width;
		window.innerHeight = document.images[0].height + extraHeight;}	// need heightCorrection here?
	else{
		window.resizeTo(document.images[0].width + widthCorrection,(document.images[0].height + heightCorrection));}
}
function autoCloser() {
	if (!document.forms[0].elements[0].checked) self.close();
}
