//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////var flash_ver = 6;      //required flash plugin version//here is a set variables that define browser vendorvar isIE  = (navigator.userAgent.indexOf("MSIE") != -1) ? true : false;var isNS  = (navigator.userAgent.indexOf("Netscape") != -1) ? true : false;//here is a set variables that define client OSvar isWin = (navigator.userAgent.indexOf("Windows") != -1) ? true : false;var isMac = (navigator.userAgent.indexOf("Mac") != -1) ? true : false;if( isIE ){	//lets see what is IE version	ver_re = new RegExp( ); 	ver_re.compile('MSIE ([0-9].[0-9])','gi');	version = ver_re.exec(navigator.userAgent);	brVer = version[1];}else if( isNS ){	//lets see what is NS version	ver_re = new RegExp( ); 	ver_re.compile('Netscape[0-9]?/([0-9].[0-9])','gi');	version = ver_re.exec(navigator.userAgent);	brVer = version[1];}else{	//just getting version of the client browser	brVer = parseInt(navigator.appVersion );}/////////////////////////////////////////////////////////////////////////////////////////flash plugin detectionvar is_flash_ok = false;if (navigator.plugins != null && navigator.plugins.length > 0) {	//this part is for NS browser	//looking for plugin object	if( navigator.plugins["Shockwave Flash 2.0"] || navigator.plugins["Shockwave Flash"] ){		var isVersion2 = navigator.plugins["Shockwave Flash 2.0"] ? " 2.0" : "";		var flashDescription = navigator.plugins["Shockwave Flash" + isVersion2].description;		var flashVersion = parseInt(flashDescription.charAt(flashDescription.indexOf(".") - 1));				//comparing plugin version and required		if( flashVersion >= flash_ver ){			//version is OK			is_flash_ok = true;		}		else{			//version is lower			is_flash_ok = false;		}	}	else{		//no plugin at all		is_flash_ok = false;	}}else if( isIE &&  brVer >= 4 && isWin ){	//this part for IE on windows, we test flash plugin by VB code, trying to initialize flash plugin object	//trying to initialize different versions - pretty straight forward	document.write('<scr' + 'ipt language="VBScript"\> \n');	document.write('on error resume next \n');	document.write('dim obFlash \n');	document.write('set obFlash = CreateObject("ShockwaveFlash.ShockwaveFlash.7") \n');	document.write('if IsObject(obFlash) then \n');	document.write('flashVersion = 7 \n');	document.write('else set obFlash = CreateObject("ShockwaveFlash.ShockwaveFlash.6") end if \n');	document.write('if flashVersion < 7 and IsObject(obFlash) then \n');	document.write('flashVersion = 6 \n');	document.write('else set obFlash = CreateObject("ShockwaveFlash.ShockwaveFlash.5") end if \n');	document.write('if flashVersion < 6 and IsObject(obFlash) then \n');	document.write('flashVersion = 5 \n');	document.write('else set obFlash = CreateObject("ShockwaveFlash.ShockwaveFlash.4") end if \n');	document.write('if flashVersion < 5 and IsObject(obFlash) then \n');	document.write('flashVersion = 4 \n');	document.write('else set obFlash = CreateObject("ShockwaveFlash.ShockwaveFlash.3") end if \n');	document.write('if flashVersion < 4 and IsObject(obFlash) then \n');	document.write('flashVersion = 3 \n');	document.write('end if');	document.write('</scr' + 'ipt\> \n');				if( flashVersion >= flash_ver ){		//plugin version is ok		is_flash_ok = true;	}	else{		//lower version		is_flash_ok = false;	}}else{	//no plugin at all - unknown browser or OS	is_flash_ok = false;}function openFlash( url ){	win_features = 'dependent=0,directories=0,location=0,menubar=1,personalbar=0,resizable=1,scrollbars=0,status=1,fullscreen=0';	window.open( url,'flash',win_features);}//this is shaker scriptfunction shake(n) {		if (isNS || isIE) {			for (i = 12; i > 0; i--) {				for (j = n; j > 0; j--) {								self.moveBy(0,i);				self.moveBy(i,0);				self.moveBy(0,-i);				self.moveBy(-i,0);        	 }     	 }   	}	}//this function sends email by redirecting form data to the formmail script located //on the killbillboard.com site//this html page has to have image with no content that will be used for script callfunction sendEmail ( email, name, url ) {	document.formmail.src = "http://www.killbillboard.com/killbill_scripts/afh.php?id=1041195243&email=" + email + "&name=" + name + "&url=" + url;}function castAndCrew (  ) {	openComingSoon ();}function locations ( ) {	openComingSoon ();}function trailer ( ) {	openTrailer ();}function pressNotes ( ) {	openComingSoon ();}function tickets ( ) {	openComingSoon ();}function brideGallery() {		popupWindow('thebride','gal');}function brideWall() {		popupWindow('thebride','wal');}function brideCard() {	popupWindow('thebride','ecard');}function orenGallery() {	popupWindow('orenishii','gal');}function orenWall() {	popupWindow('orenishii','wal');}function orenCard() {	popupWindow('orenishii','ecard');}function gogoGallery() {	popupWindow('gogoyubari','gal');}function gogoWall() {	popupWindow('gogoyubari','wal');}function gogoCard() {	popupWindow('gogoyubari','ecard');}function vernitaGallery() {	popupWindow('vernitagreen','gal');}function vernitaWall() {	popupWindow('vernitagreen','wal');}function vernitaCard() {	popupWindow('vernitagreen','ecard');}function elleGallery() {	popupWindow('elledriver','gal');}function elleWall() {	popupWindow('elledriver','wal');}function elleCard() {	popupWindow('elledriver','ecard');}function hanzoGallery() {	popupWindow('hattorihanzo','gal');}function hanzoWall() {	popupWindow('hattorihanzo','wal');}function hanzoCard() {	popupWindow('hattorihanzo','ecard');}