(function(c){var d=(function(){var e="/videos/";return function(f,g,h){this.file=e+f;this.image=e+g;this.title=h}})();var b=(function(){var e={flashplayer:"/jwplayer/player.swf",height:240,width:427};return function(f,g){if(typeof g=="undefined"){g=true}var h=c(this);c("a.bloodline-video-thb").removeClass("selected");h.addClass("selected");e.autostart=g;e.file=f.file;jwplayer("bloodline-video").setup(e)}})();var a=[new d("bloodline-video-2.mp4","bloodline-video-2-thb.jpg","Bloodline Introduction"),new d("bloodline-video-1.mp4","bloodline-video-1-thb.jpg","Ballistic Gel Test"),new d("bloodline-video-3.mp4","bloodline-video-3-thb.jpg","Petal Segmenting Test"),new d("bloodline-video-4.mp4","bloodline-video-4-thb.jpg","Ballistic Gel Close Up")];c("a.bloodline-video-thb").live((function(){function f(){return c(this).parent("li").tmplItem().data}var e=c("#tmplVidDescr").template();return{click:function(){var g=f.call(this);b.call(this,g)},mouseover:function(){var g=f.call(this);c.tmpl(e,g).insertAfter(this)},mouseout:function(){c("div#bloodline-video-descr").remove()}}})());c("#tmplVidThb").tmpl(a).appendTo("ul#bloodline-video-videos-list");b.call(c("a.bloodline-video-thb:first").get(0),a[0],false)})(jQuery);
