<!--

/******************************************************************************/
//
// NOTE TO DEVELOPERS:
// The following code should be integrated with your web page in order to open
// the presentation in a new window.  To launch the presentation immediately, 
// simply copy the code below into your web page.  To launch the presentation
// when a button or link is clicked, call LaunchPresentation when the onClick
// event is triggered.
//
// 
// LaunchPresentation(sPath,bChromeless, bResize)
//
// Parameters:
//
//	sPath - Path to the folder where the presentaion is located
//
//	bChromeless - Opens a new window without the toolbar, addressbar, statusbar,
//		      menubar, and scrollbars
//	
//	bResize - Determines whether or not the new window can be resized
//
/******************************************************************************/

function LaunchPresentation(sPath,bChromeless, bResize)
{
	var nWidth = screen.availWidth;
	var nHeight = screen.availHeight;

	// Get the width
	if (nWidth > 820)
	{
		nWidth = 980;
		nHeight = 640;
	}

	// Build the options string
	var strOptions = "width=" + nWidth +",height=" + nHeight;
	if (bResize)
	{
		strOptions += ",resizable=yes"
	}

	if (bChromeless)
	{
		strOptions += ", status=0, toolbar=0, location=0, menubar=0, scrollbars=0";
	}
	else
	{
		strOptions += ", status=1, toolbar=1, location=1, menubar=1, scrollbars=1";
	}

	// Launch the URL
	window.open(sPath+"/player.html" , "_blank", strOptions);

}

//LaunchPresentation(true, false);


//-->
