// JavaScript Document

<!-- begin

function WinPopup(URL, winName){
	if(winName == "Description"){
		window.open(URL,winName,'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=550,height=400,left=20,top=20'); 
	}
	else if(winName == "tutorials"){
		// TO DO: get the screen size and adjust the width of the window
		// TO DO: focus window on open
		window.open(URL,winName,'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,left=20,top=20'); 
	}
	else if(winName == "links"){
		// TO DO: get the screen size and adjust the width of the window
		// TO DO: focus window on open
		window.open(URL,winName,'toolbar=yes,location=yes,directories=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,left=20,top=20'); 
	}
	else if(winName == "calendars"){
		// TO DO: get the screen size and adjust the width of the window
		// TO DO: focus window on open
		window.open(URL,winName,'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,left=0,top=0,width=1050,height=550'); 
	}
	else if(winName == "message"){
		//TO DO: get the screen size and adjust the width of the window
		//TO DO: focus window on open
		window.open(URL,winName,'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbar=yes,resizable=yes,width=600,height=200,left=135,top=260');
	}
	else if(winName == "library"){
		//TO DO: get the screen size adn adjust the width of the window
		//TO DO: focus window on open
		window.open(URL,winName,'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=575,height=550,left=150,top=150');
	}
	else{
		window.open(URL,winName,'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes'); 
	}
	
	return false;
}




function WinClose(){
	window.writeln('<center><a href="javascript:window.close();">Close Window</a></center>');
}



// end -->