/*
	Document Root defined
	Usage: 
		-
*/
var DR = '/';


/*
	Program Note Pop-Up Launcher
	Usage: 
		- onClick="notePopUp ();"
		- onClick="self.close ()"
	
	Note: Still not working yet. :P
*/
function notePopUp ()
	{
	window.open( DR + 'calendar/notes/_scratch.asp', 'note', 'scrollbars=1,height=410,width=600');
	}
	
	
	
	
/*
	Document Root defined
	Usage: 
		- onclick="popUp('normal', '/images/pieces/photo_youth01.jpg');"
*/
function popUp(whatType)
{
	var popUpURL, popupName, popUpParams;
	
	switch (whatType)
	{
	case "example" :
		popUpURL = documentRoot + 'example.phtml';
		popupName = 'example';
		popUpParams = 'height=420,width=620';
		break;
		
	case "normal" :
		popUpURL = arguments[1];
		popupName = 'popup';
		popUpParams = 'height=420,width=620';
		break;

	default :
		return false;
		break;
	}
	window.open(popUpURL, popupName, popUpParams);
}
	

function MM_openBrWindow(theURL,winName,features) { //v2.0
	  window.open(theURL,winName,features);
	}


	
	



