// ############################
// (c) 2002 www.reflexivity.net
// ############################





//### windows functions (popups)
function openPopup(src,w,h) //i.e. news releases
	{
	if (!w) w=635;
	if (!h) h=700;	
	var w=window.open(src, "popupWin", "width="+w+",height="+h+",scrollbars,menubar,locationbar,statusbar,toolbar,resizable=yes");
 	w.focus();
	}

var imageWin=new Object();
function openImage(src,w,h)
	{
	if (!w) w=400;
	if (!h) h=300;	
	w+=20;
	h+=30;
	if (navigator.appVersion.indexOf("Mac")== -1)
		{
		if (imageWin.location)
			{
			imageWin.close();
			}
		imageWin=window.open(src, "imageWin", "width="+w+",height="+h+",scrollbars=0,menubar=0,locationbar=0,statusbar=0,toolbar=0,resizable=yes");
	 	imageWin.focus();
		}
	else openPopup(src,w,h);
	}

function openWindow(src)
	{
	var w=window.open("/projects/"+src,"presentationWindow800","width=180,height=200,toolbar=0,resizable=yes,location=0,directories=0,status=0,menubar=0");
	w.focus();
	}

