function seepic (page) {	
	w = 550;
	h = screen.height-110;
	if (h > 900) h = 700; 
	else if (h > 550) h = 550; 
	var winl = (screen.width - w) / 2;
	var wint = (screen.height - 115 - h) / 2;
	popwin = window.open(page,'popwin',"toolbar=no,width="+w+",height="+h+",top="+wint+",top="+wint+",left="+winl+",status=yes,scrollbars=yes,resizable=yes,menubar=no");
	popwin.focus();
	return false;
} // end function seepic

/*
$(document).ready(function(){
	if ($("iframe.autoHeight").length)
	{		
		setIframeHeight ();
		$(window).bind('resize', function () {
			setIframeHeight ();  
		});
	}
});

function setIframeHeight () {
	
	win = $(window).height();
	
	docO = $('#wrap').outerHeight();
	margin = docO-$('#wrap').height();
	
	doc = $('#header').outerHeight()+$('#menu').outerHeight()+$('#footer').outerHeight();
	menu = $('#menu').outerHeight();
	
	if (win > doc+margin)
	{	
		menu = win-margin-$('#header').outerHeight()-$('#footer').outerHeight();
		$('#body').height(menu);
	}
	
	$('iframe.autoHeight').height(menu);
	
}
*/
