/**
 *
 * @copyright 2004 OpenDesign
 * @link http://www.opendesign.pl/
 * @author Tomasz Baran <tomasz.baran@opendesign.pl>
 * @version $Revision: 1.3 $
 * @file $RCSfile: showImage.js,v $
 * @date $Date: 2004/06/05 14:34:23 $
 *
 */

function showImage(img,width,height){
	height += 20;
	width += 20;

	if(!top.tmpObj){
		top.tmpObj = window.open(img,'view','scrollbars=1, width='+width+', height='+height+'');
	} else {
		top.tmpObj.close();
		top.tmpObj = window.open(img,'view','scrollbars=1, width='+width+', height='+height+'');
	}

}
