/*	
    2004-08-11 - jnn 
	Opens specified picture in a popup window the same size ever time and on top every time and in the center of the screen
*/

function poppic(img) 
{
	// initialize winX and winY to default values
	// for cases where Screen object isn't supported
	var winX = 20;
	var winY = 20;
	var w = 400;
	var h = 400;
	var extra = ',resizable=yes';

	// only set new values if 4.0 browser
	///if (parseInt(navigator.appVersion) >= 4) {
	///	winX = (screen.availWidth - w)-20;
	///	winY = (screen.availHeight - h)-20;
	///}

	popwin = window.open('http://gypsy.chattablogs.com/archives/poppic.php?img=' + img, 'poppic', 'width=' + w + ',height=' + h + ',left=' + winX + ',top=' + winY + extra);
	return popwin;
}