

$().ready(function(){
	$("#header img").mouseover(function(){
		if($(this).attr('class') == "switch")
		{
			src = $(this).attr('src');
			src = src.replace('Off', 'On');
			$(this).attr('src', src);
		}
	});
	$("#header img").mouseout(function(){
		if ($(this).attr('class') == "switch") {
			src = $(this).attr('src');
			src = src.replace('On', 'Off');
			$(this).attr('src', src);
		}
	});
});


$().ready(function(){
	src = $("#performance-video").html();
	$("#performance-video").html(
			'<object width="610" height="370"><param name="movie" value="'+src+'"></param><param name="allowFullScreen" value="true"><param name="allowscriptaccess" value="always"></param><embed src="'+src+'" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="610" height="370"></embed></object>'
		);
});

/*$().ready(function(){
	src = $("#training-video").html();
	$("#training-video").html(
			'<object width="610" height="370"><param name="movie" value="'+src+'"></param><param name="allowFullScreen" value="true"><param name="allowscriptaccess" value="always"></param><embed src="'+src+'" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="610" height="370"></embed></object>'
		);
});*/


$().ready(function(){
	src = $("#products-video").html();
	$("#products-video").html(
			'<object width="610" height="370"><param name="movie" value="'+src+'"></param><param name="allowFullScreen" value="true"><param name="allowscriptaccess" value="always"></param><embed src="'+src+'" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="610" height="370"></embed></object>'
		);
});




