if(!KA){var KA=new Object();};KA.hasRequired=function(){if(document.getElementById&&document.getElementsByTagName){var html=document.getElementsByTagName('html')[0];html.className+=((html.className=='')?'':' ')+'has-dom';return true;};return false;}();KA.hasFlash=function(){var flashVersion=0;var required=6;var m=16;var ua=navigator.userAgent.toLowerCase();if(navigator.plugins&&navigator.plugins.length){var p=navigator.plugins['Shockwave Flash'];if(typeof p=='object'){for(var i=m;i>=3;i--){if(p.description&&p.description.indexOf(i+'.')!=-1){flashVersion=i;break;};};};}else if(window.ActiveXObject&&window.print){var found=false;for(var i=m;i>=3&&!found;i--){try{found=eval("new ActiveXObject('ShockwaveFlash.ShockwaveFlash."+i+"');");if(found){flashVersion=i;};}catch(e){};};};if(required<flashVersion){var html=document.getElementsByTagName('html')[0];html.className+=((html.className=='')?'':' ')+'has-flash';return true;};return false;}();KA.onload=function(){if(this.hasRequired){for(var module in this){if(this[module].onload){this[module].onload();};};};};KA.FlashSlide={slides:[],swfs:null,current:0,show:function(slide_id,slide_num){if(!KA.hasRequired){alert("Your browser is tooooooooo old to run this application, please update.");return;};if(!KA.hasFlash){alert("Please first install the Flah Player 8");return;};var d=document;if(this.current>this.slides.length-1){this.current=0;}if(this.current<0){this.current=this.slides.length-1;}var divcontainer="flash_"+slide_id;if(!document.getElementById(divcontainer)){var divholder=document.createElement("div");divholder.id=divcontainer;document.body.appendChild(divholder);}document.getElementById(divcontainer).innerHTML="";var swf=this.slides[this.current];var swfHTML="<embed src='"+swf+"' width='800' height='600' type='application/x-shockwave-flash'></embed>";document.getElementById(divcontainer).innerHTML=swfHTML;},refresh:function(){document.body.innerHTML+='';},onload:function(){this.loadSlide();},loadSlide:function(){this.slides=this.swfs.split(" ");this.show('slide',this.current);},next:function(){this.show('slide',this.current++);},prev:function(){this.show('slide',this.current--);}};window.onload=function(){KA.onload();};