function projekktorize(){$(".video:visible").each(function(){var a=$("video",this).attr("id");var b="Unknown OS";if(navigator.appVersion.indexOf("Win")!=-1)b="Windows";if(navigator.appVersion.indexOf("Mac")!=-1)b="MacOS";if(navigator.appVersion.indexOf("X11")!=-1)b="Linux";if(b=="Linux"){projekktor("#"+a,{enableTestcard:false,playerFlashMP4:"/rh-resources/swf/projekktor/jarisplayer.swf",autoplay:true,_platformPriority:["native","flash"]})}if(b!="Linux"){projekktor("#"+a,{enableTestcard:false,playerFlashMP4:"/rh-resources/swf/projekktor/jarisplayer.swf",autoplay:true,_platformPriority:["flash","native"]})}projekktor(a).addListener("state",titleHide);$("#"+a+"_img").hide();$(".mvstart").hide()})}function deprojekktorize(){$(".light_up div.projekktor").each(function(){var a=$(this).attr("id");projekktor(a).selfDestruct();$(".mvstart").show()})}$("span.video-dwnld-nojs").remove();var titleHide=function(a){if(a=="AWAKENING"||a=="PLAYING"){$(".videoTitle").hide("slow")}};$(function(){function a(){$("#light_up").lightbox_me({centered:true})}$(".lightbox").click(function(a){var b=$(this).attr("id").replace("_link","");$("#light_"+b).lightbox_me({centered:true,onLoad:function(){projekktorize()},onClose:function(){deprojekktorize()}});a.preventDefault()})})

