// JavaScript Document
var isInternetExplorer = navigator.appName.indexOf("Microsoft") != -1;
// Handle all the FSCommand messages in a Flash movie.
function titleB_DoFSCommand(command, args) {
	var titleBObj = isInternetExplorer ? document.all.titleB : document.titleB;
	//
	if (command=="start") {
		document.titleB.SetVariable("firstvisit", firstvisit);
		document.titleB.Play();
	}
	if (command=="puff") {
		document.buttonP.Play();
	}
	//
}
// Hook for Internet Explorer.
if (navigator.appName && navigator.appName.indexOf("Microsoft") != -1 && navigator.userAgent.indexOf("Windows") != -1 && navigator.userAgent.indexOf("Windows 3.1") == -1) {
	document.write('<script language=\"VBScript\"\>\n');
	document.write('On Error Resume Next\n');
	document.write('Sub titleB_FSCommand(ByVal command, ByVal args)\n');
	document.write('	Call titleB_DoFSCommand(command, args)\n');
	document.write('End Sub\n');
	document.write('</script\>\n');
}
document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" id="titleB" width="750" height="125" align="middle"><param name="allowScriptAccess" value="sameDomain" /><param name="movie" value="swfnav/titleB.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /><embed src="swfnav/titleB.swf" quality="high" bgcolor="#ffffff" width="750" height="125" swLiveConnect=true id="titleB" name="titleB" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></object>');