function change(page, cat, image) 
{	var features =
	'width= 450'+
	',height= 500'+
	',directories= no'+
	',location= no'+
	',menubar= no'+
	',scrollbars= yes'+
	',status= no'+
	',toolbar= no'+
	',resizable= no'+
	', top=100'+
	', left=100';
	var URL = page+".php?p="+cat+"&img="+image;
	window.open (URL , "Edit", features);
}
