function openWin(page) {
	var handle = window.open("", "Image", 'width=800, height=533');
	handle.document.write('<body style="margin:0;padding:0;"><img width="800" height="533" src="'+page+'" alt="" title="Click X to Close"/></body>')
	handle.focus();
};
function openWinP(page) {
	var handle = window.open("", "Image", 'width=533, height=800');
	handle.document.write('<body style="margin:0;padding:0;"><img width="533" height="800" src="'+page+'" alt=""/></body>')
};

function goImgWin(myImage,myWidth,myHeight,
 origLeft,origTop) {
myHeight += 0;
myWidth += 0;
TheImgWin = window.open(myImage,'image','height=' +
myHeight + ',width=' + myWidth +
',toolbar=no,directories=no,status=no,' +
'menubar=no,scrollbars=no,resizable=no');
TheImgWin.resizeTo(myWidth+0,myHeight+0);
TheImgWin.moveTo(origLeft,origTop);
TheImgWin.focus();
}

function openWin2(myimage) {
TheImgWin = window.open(myimage,'image','width=800','height=533', 'toolbar=no,directories=no,status=no, menubar=no,scrollbars=no,resizable=no');
TheImgWin.resizeTo(800,533);
TheImgWin.moveTo(100,50);
TheImgWin.focus();
};

