<!--

//--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
// function name:	OpenInNewWindow()
// purpose:			This function is used to open the specified url in a new window.
// parameters:		- URL specifying the location of the file to load in the popup
//					- height - height in pixels for the new window
//					- width - width in pixels for the new window
//					- scrollbars - whether or not to display scrollbars	
//					- status - whether or not to display the status bar
//					- toolbar - whether or not to display the toolbar
//					- menubar - whether or not to display the menubar
//					- location - whether or not to show the location bar
//					- resizeable - whetehr or not the window should be resizeable
//					- titlebar - whether or not to display the titlebar
// return:			- none
//--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
function OpenPhoto( url, height, width, scrollbars, status, toolbar, menubar, location, resizeable, titlebar )
{
	var windowAttributes = height + ", ";
	     windowAttributes = windowAttributes + width + ", ";
	     windowAttributes = windowAttributes + scrollbars + ", ";
	     windowAttributes = windowAttributes + status + ", ";
	     windowAttributes = windowAttributes + toolbar + ", ";
	     windowAttributes = windowAttributes + menubar + ", ";
	     windowAttributes = windowAttributes + location + ", ";
	     windowAttributes = windowAttributes + resizeable + ", ";
	     windowAttributes = windowAttributes + titlebar; 
	     
	     
	     
	window.open( url, null, "height=568,width=804,scrollbars=a,status=no,toolbar=no,menubar=no,location=no,resizable=no,titlebar=no" );
	//window.open( url, null, windowAttributes );
}

//-->

