
	
//========================[Sound variables - checking for sound] ===================================//
			var path = "http://www.eastweststrength.com/wp-content/themes/eastweststrength/";			
			var sound1Frame = null;
			var sound2Embed = null;
			var sound3Embed = null;
			var sound4Embed = null;
			var sound5Embed = null;
			
			function init() {
			}
			
			function sound1Play() {
				if ( !sound1Frame ) {
					sound1Frame = document.createElement("iframe");
					sound1Frame.src = "frame.html";
					sound1Frame.width = 0;
					sound1Frame.height = 0;
					sound1Frame.style.visibility = "hidden";
				}
				document.body.appendChild(sound1Frame);
			}
			
			function sound1Stop() {
				if ( sound1Frame ) document.body.removeChild(sound1Frame);
			}
			
			function sound2Play() {
				if ( !sound2Embed ) {
					sound2Embed = document.createElement("embed");
					sound2Embed.setAttribute("src", path+"Sword1.wav");
					sound2Embed.setAttribute("hidden", true);
					sound2Embed.setAttribute("autostart", true);
				} else sound2Stop();
				sound2Embed.removed = false;
				document.body.appendChild(sound2Embed);
			}
			
			function sound2Stop() {
				if ( sound2Embed && !sound2Embed.removed ) {
					document.body.removeChild(sound2Embed);
					sound2Embed.removed = true;
				}
			}
			
			function sound3Play() {
				sound3Stop();
				sound3Embed = document.createElement("embed");
				sound3Embed.setAttribute("src", path+"Sword1.wav");
				sound3Embed.setAttribute("hidden", true);
				sound3Embed.setAttribute("autostart", true);
				document.body.appendChild(sound3Embed);
			}
			
			function sound3Stop() {
				if ( sound3Embed ) {
					document.body.removeChild(sound3Embed);
					sound3Embed = null;
				}
			}
			
			function sound4Play() {
				sound4Stop();
				sound4Embed = document.createElement("embed");
				sound4Embed.setAttribute("src", path+"steel-sword.wav");
				sound4Embed.setAttribute("hidden", true);
				sound4Embed.setAttribute("autostart", true);
				document.body.appendChild(sound4Embed);
			}
			
			function sound4Stop() {
				if ( sound4Embed ) {
					document.body.removeChild(sound4Embed);
					sound4Embed = null;
				}
			}
			
			function sound5Play() {
				sound5Stop();
				sound5Embed = document.createElement("embed");
				sound5Embed.setAttribute("src", path+"steel-sword.wav");
				sound5Embed.setAttribute("hidden", true);
				sound5Embed.setAttribute("autostart", true);
				document.body.appendChild(sound5Embed);
			}
			
			function sound5Stop() {
				if ( sound5Embed ) {
					document.body.removeChild(sound5Embed);
					sound5Embed = null;
				}
			}