// Sample HTML code
// <a href="javascript:openSWFPanel('cbwh','1', '1')">Open Panel 1, Nav Item 1 and Play Video</a>

	
		// Utility function for ID of SWF pass the ID param of the SWF
		function thisMovie(swf) {
				if(navigator.appName.indexOf("Microsoft") != -1) {
					return window[swf];
				} else {
					return document[swf];
				}
			};
			
		// JS function that calls into Flash - takes 3 args:
		// playerID, panelID, navID (1-x)
		// also calls the clickNavItem when called - uses the same args
		function openSWFPanel(playerID, arg1, arg2) {
			thisMovie(playerID).openPanel(arg1);
			clickNavItem(playerID, arg1, arg2)
		}
		
		function clickNavItem(playerID, arg1, arg2) {
			thisMovie(playerID).clickNav(arg1, arg2);
		}
