			function openWindow(urlPath) {
				var winparams = "toolbar=1,location=0,directories=0,status=1,menubar=1,scrollbars=1,resizable=1,width=500,height=450,title=Form";
				window.open(urlPath,'Win', winparams);
			}	

			function launchwin(tutorial){
				newwin = window.open("","robodemowin","fullscreen=1,scrollbars=1")
				newwin.resizeBy(15,0)
				
				// Add the path to the flash directory
				tutorial = "./tutorials/" + tutorial 
			
				var htmlString=
				"<HTML> "+
				"<BODY onLoad='window.document.robodemo.focus();'><center>"+
				"<OBJECT CLASSID='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' id=robodemo WIDTH='100%' HEIGHT='100%' CODEBASE='http://active.macromedia.com/flash5/cabs/swflash.cab#version=5,0,0,0'> "+
				"<PARAM NAME=movie VALUE='" + tutorial + "'> "+
				"<PARAM NAME=play VALUE=true> "+
				"<PARAM NAME=loop VALUE=0>"+
				"<PARAM NAME=quality VALUE=high>"+
				"<EMBED name=robodemo SRC='" + tutorial + "' WIDTH='105%' HEIGHT='105%' "+
				"loop=0 quality=high "+
				"TYPE='application/x-shockwave-flash' "+
				"swLiveConnect=true "+
				"PLUGINSPAGE='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash'>"+
				"</EMBED>"+
				"</OBJECT>"+
				"</center>"+
				"</BODY></HTML>"

				newwin.document.open();
				newwin.document.write(htmlString);
				newwin.document.close();
				}