	var w=0
	var h=0
	var p=""
	function openWindow(strUrl, intWidth, intHeight, path)
	{
		p= path
		w= intWidth
		h= intHeight
		//alert(p)
		open(strUrl,"Testing","width=" + intWidth + ",height=" + intHeight);
	}

function resizeWindow()
{
	self.resizeTo(opener.w,opener.h);
	self.focus();
	self.moveTo((screen.availWidth/2)-(opener.w/2),(screen.availHeight/2)-(opener.h/2));
}
function getImage()
{
	strPath = opener.p;
	return strPath;
}

	function openWindow2(strUrl, intWidth, intHeight)
	{
		w= intWidth
		h= intHeight
		//alert(p)
		open(strUrl,"Testing","width=" + intWidth + ",height=" + intHeight);
	}