/***************************************************************************/
/***							Main JavaScript File that contains global functions for the																													*****/																																																																																	
/***       DCPS eAgenda Web Site and Web Application. 																																										 *****/
/***       																																																																																																														*****/
/***       Author: Nathan Arnold                                                                              *****/

function meetingManagerWindow(filename){

	window.open(filename, 'filename','scrollbars=yes,width=600,height=460');

}

function attachmentWindow(filename){

	window.open(filename, 'filename','scrollbars=yes,width=600,height=460');

}


function previewWindow(filename){

	window.open(filename, 'filename','scrollbars=yes,width=800,height=600,left=50,top=20');

}

var newwin;
function launchwin(winurl,winname,winfeatures)
{
	//This launches a new window and then
	//focuses it if window.focus() is supported.
	newwin = window.open(winurl,winname,'scrollbars=yes,width=600,height=460');

	//delay a bit here because IE4 encounters errors
	//when trying to focus a recently opened window
 	setTimeout('newwin.focus();',250);
}
