﻿function Deactivate(A){var B;if(A===undefined){B=this}else{B=A}var C=B.className.toString();if(C.indexOf("active")===-1){if(C===""||C===undefined||C===null){B.className=C+"inactive"}else{B.className=C+" inactive"}}else{if(C.indexOf("inactive")===-1){B.className=C.replace(/( *)active( *)/gi,"$1inactive$2")}else{B.className=C}}B.status=false}function Activate(A){var B;if(A===undefined){B=this}else{B=A}var C=B.className.toString();if(C.indexOf("active")===-1){if(C===""||C===undefined||C===null){B.className=C+"active"}else{B.className=C+" active"}}else{if(C.indexOf("inactive")>-1){B.className=C.replace(/inactive/gi,"active")}}B.status=true}var floatTabAnimationTime=0.15;var intTabFrameRate=45;var intEaseOut=100;window.onkeypress=function(A){if(A.charCode==115){floatTabAnimationTime=2;intTabFrameRate=60}};window.onkeyup=function(A){floatTabAnimationTime=0.15;intTabFrameRate=45};function LoadTab(){if(boolAccordionHover){if(this.wellGroup!==undefined&&this.wellGroup!==null){tabs=document.getElementsByTagName("LI");for(B=0;B<tabs.length;B++){if(tabs[B].tabTitle!==undefined&&tabs[B].tabTitle!==null&&tabs[B].tabTitle!==""&&tabs[B].tagName=="LI"&&this.wellGroup==tabs[B].wellGroup&&!this.status){tabs[B].rootWell.currentHeight=0;tabs[B].Deactivate()}}for(var A=0;A<this.wellGroup.length;A++){if(this.wellGroup[A]&&this.wellGroup[A].id!=this.tabTitle){this.wellGroup[A].Deactivate()}}this.wellGroup.innerHTML=this.wellGroup.originalWell;this.wellGroup.className=this.wellGroup.originalClass}if(this.status===false){this.Activate();this.rootWell.Activate();for(var A=0;A<this.wells.length;A++){if(this.wells[A].id==this.tabTitle){if(this.boolAnimate){this.wells[A].style.overflow="hidden";this.wells[A].style.height="0px";if(this.rootTabs.className.indexOf("accordion")>-1){this.rootWell.currentHeight=0;addAction(this.wells[A].id,"height",0,floatTabAnimationTime,this.rootWell.currentHeight,this.wells[A].height,0,intEaseOut,intTabFrameRate)}else{addAction(this.wells[A].id,"height",0,floatTabAnimationTime,this.rootWell.currentHeight,this.wells[A].height,0,intEaseOut,intTabFrameRate)}if(this.rootWell.currentHeight===0){}addScript("$('"+this.rootWell.id+"').style.height = null;$('"+this.wells[A].id+"').Activate();",0);addScript("document.onselectstart = null;",floatTabAnimationTime);playTimeline();this.rootWell.currentHeight=this.wells[A].height}else{addScript(";$('"+this.wells[A].id+"').Activate();",0);playTimeline()}}else{if(this.rootTabs.className.indexOf("accordion")===-1){addScript(";$('"+this.wells[A].id+"').Deactivate();",0);playTimeline()}else{if(this.rootTabs.className.indexOf("accordion")>-1){if(this.wells[A].status===true){addAction(this.wells[A].id,"height",0,floatTabAnimationTime,this.wells[A].height,0,0,intEaseOut,intTabFrameRate);addScript("$('"+this.wells[A].id+"').Deactivate();",floatTabAnimationTime);playTimeline()}this.rootWell.currentHeight=0}}}}for(var B=0;B<this.tabs.length;B++){if(this.tabs[B].tabTitle==this.tabTitle){this.tabs[B].Activate()}else{if(this.rootTabs.className.indexOf("accordion")===-1){this.tabs[B].Deactivate()}else{if(this.rootTabs.className.indexOf("accordion")>-1){this.tabs[B].Deactivate()}}}}}else{if(this.boolCollapsible){if(!this.boolAnimate){this.rootWell.Deactivate()}this.Deactivate();for(var A=0;A<this.wells.length;A++){if(this.wells[A].id==this.tabTitle){if(this.boolAnimate){addAction(this.wells[A].id,"height",0,floatTabAnimationTime+0.05,this.wells[A].height,0,0,intEaseOut,intTabFrameRate);addScript("$('"+this.rootWell.id+"').style.height = null;",0);addScript("$('"+this.wells[A].id+"').Deactivate();$('"+this.rootWell.id+"').Deactivate();",floatTabAnimationTime);playTimeline();this.rootWell.currentHeight=0}else{this.wells[A].Deactivate()}}}}}this.blur();return false}}var boolRoundCorners=false;var boolAccordionHover=true;var arrPageTabs=new Array();function CreateTabs(G,F,E,D,B,C,A){var H=arrPageTabs.length;arrPageTabs[H]=[];arrPageTabs[H].tab=G;arrPageTabs[H].well=F;arrPageTabs[H].start=E;arrPageTabs[H].coll=D;arrPageTabs[H].anim=B;arrPageTabs[H].def=C;arrPageTabs[H].group=A}window.onload=function(){for(var A=0;A<arrPageTabs.length;A++){ExecTab(arrPageTabs[A].tab,arrPageTabs[A].well,arrPageTabs[A].start,arrPageTabs[A].coll,arrPageTabs[A].anim,arrPageTabs[A].def,arrPageTabs[A].group)}if($("menu")){CreateDropDown($("menu"))}if($("countrySelect")){var B=new CurvyCorners(tabWellAliased,$("countrySelect"));B.applyCornersToAll()}if($("onlineContent")){$("filterForm").style.height=$("onlineContent").clientHeight+"px"}window.onresize()};function sifr(){if(typeof sIFR=="function"){sIFR.replaceElement("h1.sifr",named({sFlashSrc:"/COLTImages/helveticaneuelight.swf",sColor:"#000",sWmode:"transparent"}));sIFR.replaceElement("h2.sifr",named({sFlashSrc:"/COLTImages/helveticaneuelight.swf",sColor:"#006D76",sWmode:"transparent"}))}}function BodyWidth(){if(self.innerWidth){frameWidth=self.innerWidth;frameHeight=self.innerHeight}else{if(document.documentElement&&document.documentElement.clientWidth){frameWidth=document.documentElement.clientWidth;frameHeight=document.documentElement.clientHeight}else{if(document.body){frameWidth=document.body.clientWidth;frameHeight=document.body.clientHeight}}}return[frameWidth,frameHeight]}window.onresize=function(){if($("countrySelect")){$("countrySelect").style.right=(BodyWidth()[0]-965)/2-8+"px"}if($("gallery")){$("gallery").style.top=fetchScrollTop()+300+"px"}if($("rm")){$("rm").style.top=fetchScrollTop()+300+"px"}if($("register")){$("register").style.top=fetchScrollTop()+300+"px"}};window.onscroll=function(){if($("gallery")){$("gallery").style.top=fetchScrollTop()+300+"px"}if($("rm")){$("rm").style.top=fetchScrollTop()+300+"px"}if($("register")){$("register").style.top=fetchScrollTop()+300+"px"}};function hideSelect(){document.getElementById("switchLoginTarget").style.visibility="hidden"}function showSelect(){document.getElementById("switchLoginTarget").style.visibility="visible"}function HideDropDownOnAPage(){for(f=0;f<document.forms.length;f++){var A=document.forms[f].elements;for(e=0;e<A.length;e++){if(A[e].type=="select-one"){A[e].style.display="none"}}}}function ShowDropDownOnAPage(){for(f=0;f<document.forms.length;f++){var A=document.forms[f].elements;for(e=0;e<A.length;e++){if(A[e].type=="select-one"){A[e].style.display="block"}}}}var langTimeOut;function OpenLang(){if($("countrySelect")){$("countrySelect").onmouseout=function(){langTimeOut=setTimeout("$('countrySelect').onmouseout = null;CloseLang();",750)};$("countrySelect").onmouseover=function(){clearTimeout(langTimeOut)};var A=0-$("countrySelect").clientHeight-8;$("countrySelect").style.top=A+"px";addAction($("countrySelect").id,"top",0,0.45,A,0,0,100,45);playTimeline();if($("switchLoginTarget")){hideSelect()}}}function CloseLang(){addAction($("countrySelect").id,"top",0,0.45,0,0-$("countrySelect").clientHeight-8,100,0,45);playTimeline();if($("switchLoginTarget")){showSelect()}}var tabWellUp={tl:{radius:7},tr:{radius:7},bl:{radius:4},br:{radius:4},antiAlias:false,autoPad:true,validTags:["div"]};var tabWell={tl:{radius:4},tr:{radius:4},bl:{radius:7},br:{radius:7},antiAlias:false,autoPad:true,validTags:["div"]};var tabWellAliased={tl:{radius:4},tr:{radius:4},bl:{radius:7},br:{radius:7},antiAlias:false,autoPad:true,validTags:["div"]};function ExecTab(D,O,A,E,I,H,B){var N=[];var K=[];var F=[];var J=0;O.Activate=Activate;O.Deactivate=Deactivate;O.Activate();var G;if(O.className.indexOf("tabWellUp")>-1){G=new CurvyCorners(tabWellUp,O);G.applyCornersToAll()}else{if(O.className.indexOf("tabWell")>-1){G=new CurvyCorners(tabWell,O);G.applyCornersToAll()}}var M=D.getElementsByTagName("LI");for(tabKey=0;tabKey<M.length;tabKey++){if(M[tabKey].title!==undefined&&M[tabKey].title!==null&&M[tabKey].title!==""&&M[tabKey].tagName=="LI"){M[tabKey].tabTitle=M[tabKey].title.replace(/\s/gi,"_");M[tabKey].title=M[tabKey].title.toString().replace(O.id,"");M[tabKey].Deactivate=Deactivate;M[tabKey].Activate=Activate;M[tabKey].onclick=LoadTab;M[tabKey].HTMLNative=M[tabKey].innerHTML;M[tabKey].rootWell=O;M[tabKey].rootTabs=D;M[tabKey].boolCollapsible=E;M[tabKey].boolAnimate=I;M[tabKey].onselectstart=noSelect;if(B!==undefined&&B!==null){M[tabKey].wellGroup=arrSuperGroup}if(H==M[tabKey].tabTitle){M[tabKey].Activate()}else{M[tabKey].Deactivate()}N[N.length]=M[tabKey]}}function L(Q,P){for(tab=0;tab<Q.length;tab++){if(Q[tab].tabTitle==P){return true}}}var C=O.getElementsByTagName("DIV");for(wellKey=0;wellKey<C.length;wellKey++){if(C[wellKey].id!==undefined&&C[wellKey].id!==null&&C[wellKey].id!==""&&C[wellKey].tagName=="DIV"&&L(M,C[wellKey].id)){if(D.className.indexOf("accordion")>-1){C[wellKey].onmouseover=function(){boolAccordionHover=false};C[wellKey].onmouseout=function(){boolAccordionHover=true};C[wellKey].onclick=function(){boolAccordionHover=false}}C[wellKey].Deactivate=Deactivate;C[wellKey].Activate=Activate;oldPosition=C[wellKey].style.position;C[wellKey].style.position="absolute";C[wellKey].height=C[wellKey].clientHeight;if(C[wellKey].clientHeight>J){J+=C[wellKey].clientHeight}C[wellKey].style.position=oldPosition;if(B!==undefined&&B!==null){arrSuperGroup[arrSuperGroup.length]=C[wellKey]}if(H==C[wellKey].id){C[wellKey].Activate()}else{C[wellKey].Deactivate()}K[K.length]=C[wellKey]}}for(tabKey=0;tabKey<M.length;tabKey++){if(M[tabKey].tabTitle!==undefined&&M[tabKey].tagName=="LI"){M[tabKey].tabs=N;M[tabKey].wells=K}}if(B!==undefined&&B!==null){arrSuperGroup[arrSuperGroup.length]=O}if(A){O.currentHeight=$(H).height;O.Activate()}else{O.currentHeight=0;O.HTML=O.innerHTML;O.intAccordianHeight=J;O.Deactivate()}}function noSelect(){return false}var $=function(A){return document.getElementById(A)};var worldTimeline=new Array();var worldFrameRate=30;var transEffects=true;function addAction(I,H,G,F,E,D,C,B,A){arrActionTypes={width:"w",height:"h",top:"y",left:"x",alpha:"a",scrollx:"sx",scrolly:"sy",backgroundx:"bgx",backgroundy:"bgy"};if(C==null){C=0}if(B==null){B=0}if(A==null){A=worldFrameRate}totalFrames=(F-G)*A;G=G*1000;timeLegnth=F*1000;animTime=G;frameCounter=1;while((animTime+G)<(G+timeLegnth)){if(worldTimeline[animTime]==null){worldTimeline[animTime]=new Array()}if(worldTimeline[animTime][I]==null){worldTimeline[animTime][I]=new Array()}intSinIn=((((1-Math.sin(((totalFrames-frameCounter)/totalFrames)*1.5752))*(D-E)))+parseInt(E));intLinIn=(1-((totalFrames-frameCounter)/totalFrames))*(D-E)+parseInt(E);intSinOut=(((Math.sin((((totalFrames-frameCounter)/totalFrames)*1.5752)+1.5752))*(D-E))+parseInt(E));intLinOut=(1-((totalFrames-frameCounter)/totalFrames))*(D-E)+parseInt(E);intCurve=Math.round(((intLinIn-((intLinIn-intSinIn)*(C/100)))+(intLinOut-((intLinOut-intSinOut)*(B/100))))/2);worldTimeline[animTime][I.toString()][arrActionTypes[H]]=intCurve;worldTimeline[animTime][I.toString()]["t"]=animTime;animTime=Math.round(G+(frameCounter*(1000/A)));frameCounter++}timeLegnth=Math.round(timeLegnth);worldTimeline[timeLegnth]=new Array();worldTimeline[timeLegnth][I]=new Array();worldTimeline[timeLegnth][I][arrActionTypes[H]]=Math.round(D);worldTimeline[timeLegnth][I]["t"]=Math.round(D)}function addScript(B,A){if(worldTimeline[A*1000]==null){worldTimeline[A*1000]=new Array()}if(worldTimeline[A*1000]["javascript"]===undefined){worldTimeline[A*1000]["javascript"]=B}else{worldTimeline[A*1000]["javascript"]+=B}}function playTimeline(){for(time in worldTimeline){var A="";for(targetId in worldTimeline[time]){if(targetId=="javascript"){setTimeout(worldTimeline[time]["javascript"],time)}else{for(attributeType in worldTimeline[time][targetId]){if(typeof (worldTimeline[time][targetId][attributeType])=="number"){A=A+"setLayer"+attributeType+"('"+targetId+"',"+worldTimeline[time][targetId][attributeType].toString()+");"}}}}setTimeout("try{"+A+"}catch(e){}",time)}worldTimeline=new Array()}function hideLayer(A){$(A).style.visibility="hidden"}function showLayer(A){$(A).style.visibility="visible"}function setLayera(B,A){if(A!=null){$(B).style.opacity=(A/100);$(B).style.filter="alpha(opacity="+A+");";$(B).style.MozOpacity=(A/100)}if($(B).visibility=="hidden"){showLayer(B)}}function setLayerx(B,A){if(A!=null){$(B).style.left=A+"px"}}function setLayery(B,A){if(A!=null){$(B).style.top=A+"px"}}function setLayerw(B,A){if(A!=null){$(B).style.width=A+"px"}}function setLayerh(B,A){if(A!=null){$(B).style.height=A+"px"}}function setLayert(B,A){}function setLayersx(B,A){if(!bollScheduleDrag){if(A!=null){$(B).scrollLeft=A}}}function setLayersy(B,A){if(!bollScheduleDrag){if(A!=null){$(B).scrollTop=A}}}function setLayerbgx(B,A){$(B).style.backgroundPosition=A+"px 0px"}function setLayerbgy(B,A){$(B).style.backgroundPosition="0px "+A+"px"}function CreateDropDown(D){var A=[];var E=[];var C=D.getElementsByTagName("LI");var B;for(B=0;B<C.length;B++){if(C[B].className.indexOf("active")>-1&&C[B].className.indexOf("inactive")===-1){E[E.length]=C[B]}else{A[E.length]=C[B]}}for(B=0;B<C.length;B++){C[B].listItems=A;C[B].activeListItems=E;C[B].Activate=Activate;C[B].Deactivate=Deactivate;if(C[B].getElementsByTagName("UL").length>0){C[B].onmouseover=function(){for(var F=0;F<this.activeListItems.length;F++){this.activeListItems[F].Deactivate()}this.Activate()};C[B].onfocus=function(){for(var F=0;F<this.activeListItems.length;F++){this.activeListItems[F].Deactivate()}this.Activate()};C[B].onmouseout=function(){this.Deactivate();for(var F=0;F<this.activeListItems.length;F++){this.activeListItems[F].Activate()}}}}}var slideShowTimeout;var arrSlideId=[];function CreateSlideShow(K,I,H,B,E){I.style.width=B+"px";I.style.height=E+"px";var A=0;for(var D=0;D<K.length;D++){arrSlideId[arrSlideId.length]="slide_"+A;var G=document.createElement("DIV");G.id="slide_"+A;G.style.position="absolute";G.style.width=B+"px";G.style.height=E+"px";G.url=K[D]["url"];G.style.backgroundImage="url("+K[D]["image"]+")";G.style.cursor="pointer";G.innerHTML='<h1 style="color:'+K[D]["headingColor"]+';">'+K[D]["heading"]+'</h1><p style="color:'+K[D]["textColor"]+';">'+K[D]["text"]+"</p>";G.onclick=function(){httpIndex=this.url.indexOf("http");if(httpIndex>=0){window.open(this.url)}else{document.location=this.url}};I.appendChild(G);if(D>0){setLayera(G.id,0)}else{setLayera(G.id,100)}A++}I.intCurrentSlide=0;I.elemSlides=arrSlideId;var C=document.createElement("DIV");C.className="number pause";C.id="slide_playPause";C.elemSlideWell=I;C.onclick=function J(L){if(slideShowTimeout===null){PlaySlideShow(this.elemSlideWell.id);this.className="number pause"}else{clearTimeout(slideShowTimeout);slideShowTimeout=null;this.className="number play"}};H.appendChild(C);for(i=0;i<arrSlideId.length;i++){var F=document.createElement("DIV");F.className="number inactive";F.id="slideNav_"+i;F.innerHTML=i+1;F.intSlide=i;F.elemSlideWell=I;F.elemSlides=arrSlideId;F.onclick=function(){clearTimeout(slideShowTimeout);slideShowTimeout=null;$("slide_playPause").className="number play";if(this.elemSlideWell.intCurrentSlide!=this.intSlide){$("slideNav_"+ +this.elemSlideWell.intCurrentSlide).className="number inactive";$("slideNav_"+this.intSlide).className="number active";SlideShowTransition("slide_"+this.elemSlideWell.intCurrentSlide,"slide_"+this.intSlide);this.elemSlideWell.intCurrentSlide=this.intSlide}};H.appendChild(F)}$("slideNav_0").className="number active";I.intTotalSlides=i;slideShowTimeout=setTimeout("PlaySlideShow('"+I.id+"');",intTrnasitionDelay);SlideShowTransition("slide_0","slide_0");K.intCurrentSlide=0}function PlaySlideShow(B){var A=$(B);if(A.intCurrentSlide==(A.intTotalSlides-1)){SlideShowTransition("slide_"+A.intCurrentSlide,"slide_0");$("slideNav_"+A.intCurrentSlide).className="number inactive";$("slideNav_0").className="number active";A.intCurrentSlide=0}else{SlideShowTransition("slide_"+A.intCurrentSlide,"slide_"+(A.intCurrentSlide+1));$("slideNav_"+A.intCurrentSlide).className="number inactive";$("slideNav_"+(A.intCurrentSlide+1)).className="number active";A.intCurrentSlide++}slideShowTimeout=setTimeout("PlaySlideShow('"+A.id+"');",intTrnasitionDelay)}function SlideShowTransition(B,A){for(i=0;i<arrSlideId.length;i++){$(arrSlideId[i]).style.zIndex=0;setLayera(arrSlideId[i],0)}setLayera(B,100);$(B).style.zIndex=1;$(A).style.zIndex=2;addAction(B,"alpha",intTrnasitionTime,intTrnasitionTime,0,0,0,0,20);addAction(A,"alpha",0,intTrnasitionTime,0,100,0,0,20);playTimeline()}function d2h(A){return A.toString(16)}function colorToHex(C){if(C.indexOf("#")===-1){var D=C.match(/[0-9]{3}/gi);var A=Array();for(var B=0;B<D.length;B++){if(D[B]!==null){A[B]=d2h(parseFloat(D[B]))}}return A.join("")}else{return C.replace("#","")}}function registerFlipper(C){var B=C.getElementsByTagName("LI");var D=true;var A=0;for(liKey=0;liKey<B.length;liKey++){if(B[liKey].tagName=="LI"){if(D){B[liKey].style.display="block";D=false;C.position=0}else{B[liKey].style.display="none"}A++}}C.itemCount=A}function flipNext(B){var A=$(B).getElementsByTagName("LI");if($(B).position+1==$(B).itemCount){$(B).position=0}else{$(B).position++}for(liKey=0;liKey<$(B).itemCount;liKey++){if(A[liKey].tagName==="LI"){if(liKey==$(B).position){A[liKey].style.display="block"}else{A[liKey].style.display="none"}}}}function flipBack(B){var A=$(B).getElementsByTagName("LI");if($(B).position-1===-1){$(B).position=$(B).itemCount-1}else{$(B).position--}for(liKey=0;liKey<$(B).itemCount;liKey++){if(A[liKey].tagName==="LI"){if(liKey==$(B).position){A[liKey].style.display="block"}else{A[liKey].style.display="none"}}}}function fetchScrollTop(){var A=0;if(typeof (window.pageYOffset)=="number"){A=window.pageYOffset}else{if(document.body&&(document.body.scrollLeft||document.body.scrollTop)){A=document.body.scrollTop}else{if(document.documentElement&&(document.documentElement.scrollLeft||document.documentElement.scrollTop)){A=document.documentElement.scrollTop}}}return A}function ShowGallery(C,A){if(typeof (document.createElement)=="function"||typeof (document.createElement)=="object"){if($("gallery")){$("gallery").style.display="block"}var B=BodyWidth();if(!$("galleryBackground")){galleryBackground=DOMQuickCreate("DIV","galleryBackground","galleryBackground",document.body);galleryBackground.style.height=document.body.clientHeight+20+"px";galleryBackground.onclick=function(){HideGallery()};gallery=DOMQuickCreate("DIV","gallery","gallery",document.body);gallery.style.top=fetchScrollTop()+300+"px";gallery.style.display="block";gallery.innerHTML='<table cellpadding="0" cellspacing="0" border="0"><tr><td align="center" valign="middle"><div class="galleryClose"><a href="#" onClick="HideGallery();return false;">close</a> <img src="/COLTImages/deco-button-close.gif" alt="Close" onClick="HideGallery();"/></div><div id="galleryFrame" class="galleryFrame"></div></td></tr></table>'}DrawSlide(C,A,true);setLayera("galleryBackground",0);$("galleryBackground").style.display="block";addAction("galleryBackground","alpha",0,0.45,0,60,0,0);playTimeline()}}function DOMQuickCreate(B,C,E,A){var D=document.createElement(B);if(E){D.className=E}if(C){D.id=C}A.appendChild(D);return D}function DrawSlide(A,J,G){if($("gallerySlide_"+J.position)){$("gallerySlide_"+J.position).style.zIndex=980}if(!$("gallerySlide_"+A)){var H=DOMQuickCreate("DIV","gallerySlide_"+A,"gallerySlide",$("galleryFrame"));var F=DOMQuickCreate("H1",null,null,H);F.innerHTML=J[A].description;H.style.zIndex=985;var B=DOMQuickCreate("DIV","mediaFrame"+A,"mediaFrame",H);var C=DOMQuickCreate("IMG","galleryImage_"+A,null,B);C.src=J[A].src+"?seed="+Math.random();C.onload=function(){H.style.display="block";var K={tl:{radius:5},tr:{radius:5},bl:{radius:5},br:{radius:5},antiAlias:true,autoPad:true,validTags:["div"]};var L=new CurvyCorners(K,gallery);L.applyCornersToAll();$("mediaFrame"+A).style.left=(530/2)-(this.width/2)-5+"px";$("mediaFrame"+A).style.top=(325/2)-(this.height/2)+"px";$("mediaFrame"+A).style.width=this.width+10+"px";$("mediaFrame"+A).style.height=this.height+"px";if($("gallerySlide_"+J.position)){$("gallerySlide_"+J.position).style.display="none"}if(G){J.position=A}else{H.style.display="none"}};var I=DOMQuickCreate("DIV",null,"controls",H);if(A!==0){var E=DOMQuickCreate("DIV",null,"previous",I);E.innerHTML='<img src="/COLTImages/deco-button-left.gif" alt="Previous"/> <a href="#" onclick="return false;">Previous</a></div>';E.onclick=function(){DrawSlide(A-1,J,true)}}if(A!==J.length-1){var D=DOMQuickCreate("DIV",null,"next",I);D.innerHTML='<a href="#" onclick="return false;">Next</a> <img src="/COLTImages/deco-button-right.gif" alt="Next"/>';D.onclick=function(){DrawSlide(A+1,J,true)}}pagnation=DOMQuickCreate("P",null,null,I);pagnation.innerHTML="Picture "+(A+1)+" of "+J.length}else{if(A!==J.position){$("gallerySlide_"+A).style.display="block";if($("gallerySlide_"+J.position)){$("gallerySlide_"+J.position).style.display="none"}if(G){J.position=A}}}}function HideGallery(){$("gallery").style.display="none";addAction("galleryBackground","alpha",0,0.45,60,0,0,0);addScript("$('galleryBackground').style.display = 'none';",0.5);playTimeline()}function sendEmailAJAX(){var xmlHttp=null;try{xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");}catch(exception_iexplore){try{xmlHttp=new XMLHttpRequest();}catch(exception_firefox){xmlHttp=null;}}if(xmlHttp==null){alert('Your Browser Does Not Support AJAX!');}else{jtheirName=  document.emailPage.theirName.value;jtheirEmail=   document.emailPage.theirEmail.value;jtextarea=  escape(document.emailPage.textarea.value);jyourName=  document.emailPage.yourName.value;jyourEmail=  document.emailPage.yourEmail.value;jpageTitle = document.title;jpageUrl=location.href;jurl = window.location.href + "?IdcService=EMAIL_THIS_PAGE&pageUrl=" + jpageUrl+ "&yourName="+ jyourName +"&theirName=" + jtheirName + "&yourEmail="+ jyourEmail +"&theirEmail=" + jtheirEmail + "&textarea=" + jtextarea + "&pageTitle=" +jpageTitle ;xmlHttp.open("GET", jurl + "&rand=" + Math.random()*5000,false);xmlHttp.send(null);}}function chkMail(B){var A=/^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;if(A.test(B)){return true}else{return false}}function emailPage(B,A){if(typeof (document.createElement)=="function"||typeof (document.createElement)=="object"){var K=BodyWidth();if(!$("rm")){if(!$("rmBackground")){elemRmBackground=DOMQuickCreate("DIV","rmBackground","rmBackground",document.body);elemRmBackground.style.height=document.body.clientHeight+20+"px";elemRmBackground.onclick=function(){hideRm($("rm"))}}elemRm=DOMQuickCreate("DIV","rm","rm",document.body);elemRm.style.top=fetchScrollTop()+300+"px";elemRm.style.display="block";elemRm.style.visibility="hidden";var J="Email This Page";var O="Close";var G="Their Name";var E="Your Name";var F="Their email address";var L="Your email address";var N="SEND";var M="CANCEL";var H="Your message";var D="Hello,\n\nI would like to share a link with you.\n\n"+B+"\n\nKind Regards,\nThe COLT Team";HideDropDownOnAPage();elemRm.innerHTML='<form name="emailPage" method=post action="?IdcService=EMAIL_THIS_PAGE"><input type="hidden" name="pageTitle" value="'+document.title+'"><input type="hidden" name="pageUrl" value="'+location.href+'"><table cellspacing="0" cellpadding="0" border="0"><tbody><tr><td valign="middle" align="center"><h1>'+J+'</h1> <div class="rmClose"> <a onclick="hideRm($(\'rm\'));window.location.href=window.location.href;return false;" href="#">'+O+'</a> <img onClick="hideRm($(\'rm\'));window.location.href=window.location.href;return false;"alt="Close" src="/COLTImages/deco-button-close.gif"/></div><div class="rmFrame" id="rmFrame" style="text-align: left;"><div class="rmSlide" id="email_step1" style="display: block; width: 525px;"><div style="width: 250px;float:left;"><p> '+G+':<input type="text" class="text" name="theirName" id="theirName"/></p><p> '+F+':<input type="text" class="text" name="theirEmail" id="theirEmail"/></p><p> <input type="hidden" class="text" name="yourName" id="yourName" value="COLT Team"/></p><p> <input type="hidden" class="text" name="yourEmail" id="yourEmail" value = "online@colt.net"/></p><p>'+H+':</p></div><textarea name="textarea" class="textarea">'+D+'</textarea></p><div class="controls"><div class="previous" onclick="hideRm($(\'rm\'));window.location.href=window.location.href;return false;"><span class="button"><a class="label" href="#">'+M+' </a><a href="#"><img class="cap" alt="CANCEL" src="/COLTImages/layout_button_rcapsmall.gif"/></a></span></div><div class="next" onclick="javascript:{if (validateEmailer()==true){sendEmailAJAX();window.location.href=window.location.href;return false;}else{return false;}}"><span class="button"><a class="label" href="#">'+N+' </a><a href="#"><img class="cap" alt="SEND" src="/COLTImages/layout_button_rcapsmall.gif"/></a></span></div></div></div></div></td></tr></tbody></table></form>';var I={tl:{radius:5},tr:{radius:5},bl:{radius:5},br:{radius:5},antiAlias:true,autoPad:true,validTags:["div"]};var C=new CurvyCorners(I,elemRm);C.applyCornersToAll();elemRm.style.display="none";elemRm.style.visibility=""}setLayera("rmBackground",0);$("rmBackground").style.display="block";addAction("rmBackground","alpha",0,0.45,0,60,0,0);addScript("$('rm').style.display = 'block';",0.45);playTimeline()}}function registerUser(){if(typeof (document.createElement)=="function"||typeof (document.createElement)=="object"){var A=BodyWidth();if(!$("register")){if(!$("rmBackground")){elemRmBackground=DOMQuickCreate("DIV","rmBackground","rmBackground",document.body);elemRmBackground.style.height=document.body.clientHeight+20+"px";elemRmBackground.onclick=function(){hideRm($("register"))}}elemRm=DOMQuickCreate("DIV","register","rm",document.body);elemRm.style.top=fetchScrollTop()+300+"px";elemRm.style.display="block";elemRm.style.visibility="hidden";elemRm.innerHTML='<table cellspacing="0" cellpadding="0" border="0"><tbody><tr><td valign="middle" align="center"><h1>Register Now</h1><div class="rmClose"> <a onclick="hideRm($(\'register\'));return false;" href="#">close</a> <img onClick="hideRm($(\'register\'));return false;" alt="Close" src="/COLTImages/deco-button-close.gif"/></div><div class="rmFrame" id="rmFrame" style="text-align: left;"><div class="rmSlide" id="email_step1" style="display: block; width: 525px;"><div style="width: 250px;float:left;"><p>Your Name: <input type="text" class="text" id="yourName"/></p><p>Telephone number: <input type="text" class="text" id="telephoneNumber"/></p></div><div style="width: 250px;float:right;"><p>Email address:<input type="text" class="text" id="emailAddress"/></p><p>Company:<input type="text" class="text" id="company"/></p></div><div class="clearfix"></div>						<div class="controls"><div class="previous" onclick="hideRm($(\'register\'));return false;"><span class="button"><a class="label" href="#">CANCEL</a><a href="#"><img class="cap" alt="CANCEL" src="/COLTImages/layout_button_rcapSmall.gif"/></a></span></div><div class="next" onclick="validateRegister(); return false;"><span class="button"><a class="label" href="#">SEND</a><a href="#"><img class="cap" alt="SEND" src="/COLTImages/layout_button_rcapSmall.gif"/></a></span></div></div></div></div></td></tr></tbody></table>';var B={tl:{radius:5},tr:{radius:5},bl:{radius:5},br:{radius:5},antiAlias:true,autoPad:true,validTags:["div"]};var C=new CurvyCorners(B,elemRm);C.applyCornersToAll();elemRm.style.display="none";elemRm.style.visibility=""}setLayera("rmBackground",0);$("rmBackground").style.display="block";addAction("rmBackground","alpha",0,0.45,0,60,0,0);addScript("$('register').style.display = 'block';",0.45);playTimeline()}}function validateEmailer(){var A=true;var B="";if(!chkMail($("theirEmail").value)){B+="You haven't supplied a valid 'to' email address.\n";A=false}if(!chkMail($("yourEmail").value)){B+="You haven't supplied a valid 'from' email address.\n";A=false}if($("theirName").value===""||$("theirName").value===null){B+="You haven't supplied a recipient name.\n";A=false}if($("yourName").value===""||$("yourName").value===null){B+="You haven't supplied a sender name..\n";A=false}if(A){hideRm($("rm"))}else{alert(B)}return A}function validateRegister(){var A=true;var B="";if(!chkMail($("yourName").value)){B+="You haven't told us your name.\n";A=false}if(!chkMail($("emailAddress").value)){B+="You haven't supplied a valid email address.\n";A=false}if($("telephoneNumber").value===""||$("theirName").value===null){B+="You haven't supplied a telephone number.\n";A=false}if($("yourName").value===""||$("yourName").value===null){B+="You haven't supplied a company.\n";A=false}if(A){hideRm($("register"))}else{alert(B)}}function hideRm(A){A.style.display="none";addAction("rmBackground","alpha",0,0.45,60,0,0,0);addScript("$('rmBackground').style.display = 'none';",0.5);playTimeline();ShowDropDownOnAPage()}function textInputUnGhost(A){if(!A.status){if(!A.strRestColor){A.strRestColor=A.style.color}if(!A.strRest){A.strRest=A.value}A.style.color="#000000";A.value="";A.status=true;A.name=A.title}}function textInputGhost(A){if(A.value===""||A.value===null){A.value=A.strRest;A.style.color="#999999";A.status=false;A.name=""}}function switchLoginTarget(D){if($(D).value!==null&&$(D).value!==""){var B=$(D).options[$(D).selectedIndex].value.split("|");var A=B[0];var C=B[1];if(A!==""){window.open(C,A)}else{window.open(C,"_self")}}else{alert("Please select an application from the drop down menu.")}}function loginPaneSwitch(A,B){Activate(B);Deactivate(A)}var hasFlash=function(){var B=6;if(navigator.appVersion.indexOf("MSIE")!=-1&&navigator.appVersion.indexOf("Windows")>-1){document.write('<script language="VBScript"> \non error resume next \nhasFlash = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & '+B+"))) \n<\/script> \n");if(window.hasFlash!=null){return window.hasFlash}}if(navigator.mimeTypes&&navigator.mimeTypes["application/x-shockwave-flash"]&&navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin){var A=(navigator.plugins["Shockwave Flash 2.0"]||navigator.plugins["Shockwave Flash"]).description;return parseInt(A.charAt(A.indexOf(".")-1))>=B}return false}();String.prototype.normalize=function(){return this.replace(/\s+/g," ")};if(Array.prototype.push==null){Array.prototype.push=function(){var C=0,B=this.length,A=arguments.length;while(C<A){this[B++]=arguments[C++]}return this.length}}if(!Function.prototype.apply){Function.prototype.apply=function(a,b){var c=[];var d,e;if(!a){a=window}if(!b){b=[]}for(var i=0;i<b.length;i++){c[i]="b["+i+"]"}e="a.__applyTemp__("+c.join(",")+");";a.__applyTemp__=this;d=eval(e);a.__applyTemp__=null;return d}}function named(A){return new named.Arguments(A)}named.Arguments=function(A){this.oArgs=A};named.Arguments.prototype.constructor=named.Arguments;named.extract=function(B,A){var E,D;var C=B.length;while(C--){D=B[C];if(D!=null&&D.constructor!=null&&D.constructor==named.Arguments){E=B[C].oArgs;break}}if(E==null){return }for(e in E){if(A[e]!=null){A[e](E[e])}}return };var parseSelector=function(){var C=/^([^#.>`]*)(#|\.|\>|\`)(.+)$/;function D(J,I){var G=J.split(/\s*\,\s*/);var F=[];for(var H=0;H<G.length;H++){F=F.concat(B(G[H],I))}return F}function B(P,O,N){P=P.normalize().replace(" ","`");var M=P.match(C);var L,K,J,I,H,F;var G=[];if(M==null){M=[P,P]}if(M[1]==""){M[1]="*"}if(N==null){N="`"}if(O==null){O=document}switch(M[2]){case"#":H=M[3].match(C);if(H==null){H=[null,M[3]]}L=document.getElementById(H[1]);if(L==null||(M[1]!="*"&&!E(L,M[1]))){return G}if(H.length==2){G.push(L);return G}return B(H[3],L,H[2]);case".":if(N!=">"){K=A(O,M[1])}else{K=O.childNodes}for(J=0,F=K.length;J<F;J++){L=K[J];if(L.nodeType!=1){continue}H=M[3].match(C);if(H!=null){if(L.className==null||L.className.match("(\\s|^)"+H[1]+"(\\s|$)")==null){continue}I=B(H[3],L,H[2]);G=G.concat(I)}else{if(L.className!=null&&L.className.match("(\\s|^)"+M[3]+"(\\s|$)")!=null){G.push(L)}}}return G;case">":if(N!=">"){K=A(O,M[1])}else{K=O.childNodes}for(J=0,F=K.length;J<F;J++){L=K[J];if(L.nodeType!=1){continue}if(!E(L,M[1])){continue}I=B(M[3],L,">");G=G.concat(I)}return G;case"`":K=A(O,M[1]);for(J=0,F=K.length;J<F;J++){L=K[J];I=B(M[3],L,"`");G=G.concat(I)}return G;default:if(N!=">"){K=A(O,M[1])}else{K=O.childNodes}for(J=0,F=K.length;J<F;J++){L=K[J];if(L.nodeType!=1){continue}if(!E(L,M[1])){continue}G.push(L)}return G}}function A(G,F){if(F=="*"&&G.all!=null){return G.all}return G.getElementsByTagName(F)}function E(G,F){return F=="*"?true:G.nodeName.toLowerCase().replace("html:","")==F.toLowerCase()}return D}();var sIFR=function(){var h="http://www.w3.org/1999/xhtml";var g=false;var Z=false;var Y;var U=[];var P=document;var S=P.documentElement;var N=window;var E=P.addEventListener;var D=N.addEventListener;var V=function(){var A=navigator.userAgent.toLowerCase();var C={a:A.indexOf("applewebkit")>-1,b:A.indexOf("safari")>-1,c:navigator.product!=null&&navigator.product.toLowerCase().indexOf("konqueror")>-1,d:A.indexOf("opera")>-1,e:P.contentType!=null&&P.contentType.indexOf("xml")>-1,f:true,g:true,h:null,i:null,j:null,k:null};C.l=C.a||C.c;C.m=!C.a&&navigator.product!=null&&navigator.product.toLowerCase()=="gecko";if(C.m&&A.match(/.*gecko\/(\d{8}).*/)){C.j=new Number(A.match(/.*gecko\/(\d{8}).*/)[1])}C.n=A.indexOf("msie")>-1&&!C.d&&!C.l&&!C.m;C.o=C.n&&A.match(/.*mac.*/)!=null;if(C.d&&A.match(/.*opera(\s|\/)(\d+\.\d+)/)){C.i=new Number(A.match(/.*opera(\s|\/)(\d+\.\d+)/)[2])}if(C.n||(C.d&&C.i<7.6)){C.g=false}if(C.a&&A.match(/.*applewebkit\/(\d+).*/)){C.k=new Number(A.match(/.*applewebkit\/(\d+).*/)[1])}if(N.hasFlash&&(!C.n||C.o)){var a=(navigator.plugins["Shockwave Flash 2.0"]||navigator.plugins["Shockwave Flash"]).description;C.h=parseInt(a.charAt(a.indexOf(".")-1))}if(A.match(/.*(windows|mac).*/)==null||C.o||C.c||(C.d&&(A.match(/.*mac.*/)!=null||C.i<7.6))||(C.b&&C.h<7)||(!C.b&&C.a&&C.k<312)||(C.m&&C.j<20020523)){C.f=false}if(!C.o&&!C.m&&P.createElementNS){try{P.createElementNS(h,"i").innerHTML=""}catch(F){C.e=true}}C.p=C.c||(C.a&&C.k<312);return C}();function G(){return{bIsWebKit:V.a,bIsSafari:V.b,bIsKonq:V.c,bIsOpera:V.d,bIsXML:V.e,bHasTransparencySupport:V.f,bUseDOM:V.g,nFlashVersion:V.h,nOperaVersion:V.i,nGeckoBuildDate:V.j,nWebKitVersion:V.k,bIsKHTML:V.l,bIsGecko:V.m,bIsIE:V.n,bIsIEMac:V.o,bUseInnerHTMLHack:V.p}}if(N.hasFlash==false||!P.getElementsByTagName||!P.getElementById||(V.e&&(V.p||V.n))){return{UA:G()}}function W(F){if((!Q.bAutoInit&&(N.event||F)!=null)||!O(F)){return }g=true;for(var A=0,C=U.length;A<C;A++){R.apply(null,U[A])}U=[]}var Q=W;function O(A){if(Z==false||Q.bIsDisabled==true||((V.e&&V.m||V.l)&&A==null&&g==false)||(P.body==null||P.getElementsByTagName("body").length==0)){return false}return true}function M(A){if(V.n){return A.replace(new RegExp("%\d{0}","g"),"%25")}return A.replace(new RegExp("%(?!\d)","g"),"%25")}function I(C,A){return A=="*"?true:C.nodeName.toLowerCase().replace("html:","")==A.toLowerCase()}function L(F,C,A,n,m){var l="";var k=F.firstChild;var d,c,b,a;if(n==null){n=0}if(m==null){m=""}while(k){if(k.nodeType==3){a=k.nodeValue.replace("<","&lt;");switch(A){case"lower":l+=a.toLowerCase();break;case"upper":l+=a.toUpperCase();break;default:l+=a}}else{if(k.nodeType==1){if(I(k,"a")&&!k.getAttribute("href")==false){if(k.getAttribute("target")){m+="&sifr_url_"+n+"_target="+k.getAttribute("target")}m+="&sifr_url_"+n+"="+M(k.getAttribute("href")).replace(/&/g,"%26");l+='<a href="asfunction:_root.launchURL,'+n+'">';n++}else{if(I(k,"br")){l+="<br/>"}}if(k.hasChildNodes()){b=L(k,null,A,n,m);l+=b.u;n=b.s;m=b.t}if(I(k,"a")){l+="</a>"}}}d=k;k=k.nextSibling;if(C!=null){c=d.parentNode.removeChild(d);C.appendChild(c)}}return{u:l,s:n,t:m}}function K(A){if(P.createElementNS&&V.g){return P.createElementNS(h,A)}return P.createElement(A)}function H(F,A,a){var C=K("param");C.setAttribute("name",A);C.setAttribute("value",a);F.appendChild(C)}function B(F,C){var A=F.className;if(A==null){A=C}else{A=A.normalize()+(A==""?"":" ")+C}F.className=A}function J(C){var A=S;if(Q.bHideBrowserText==false){A=P.getElementsByTagName("body")[0]}if((Q.bHideBrowserText==false||C)&&A){if(A.className==null||A.className.match(/\bsIFR\-hasFlash\b/)==null){B(A,"sIFR-hasFlash")}}}function R(w,v,u,t,s,q,o,n,m,l,k,x,d){if(!O()){return U.push(arguments)}J();named.extract(arguments,{sSelector:function(p){w=p},sFlashSrc:function(p){v=p},sColor:function(p){u=p},sLinkColor:function(p){t=p},sHoverColor:function(p){s=p},sBgColor:function(p){q=p},nPaddingTop:function(p){o=p},nPaddingRight:function(p){n=p},nPaddingBottom:function(p){m=p},nPaddingLeft:function(p){l=p},sFlashVars:function(p){k=p},sCase:function(p){x=p},sWmode:function(p){d=p}});var c=parseSelector(w);if(c.length==0){return false}if(k!=null){k="&"+k.normalize()}else{k=""}if(u!=null){k+="&textcolor="+u}if(s!=null){k+="&hovercolor="+s}if(s!=null||t!=null){k+="&linkcolor="+(t||u)}if(o==null){o=0}if(n==null){n=0}if(m==null){m=0}if(l==null){l=0}if(q==null){q="#FFFFFF"}if(d=="transparent"){if(!V.f){d="opaque"}else{q="transparent"}}if(d==null){d=""}var y,b,a,F,C,A,AF,AE,AD;var AC=null;for(var AA=0,AB=c.length;AA<AB;AA++){y=c[AA];if(y.className!=null&&y.className.match(/\bsIFR\-replaced\b/)!=null){continue}b=y.offsetWidth-l-n;a=y.offsetHeight-o-m;AF=K("span");AF.className="sIFR-alternate";AD=L(y,AF,x);A="txt="+M(AD.u).replace(/\+/g,"%2B").replace(/&/g,"%26").replace(/\"/g,"%22").normalize()+k+"&w="+b+"&h="+a+AD.t;B(y,"sIFR-replaced");if(AC==null||!V.g){if(!V.g){if(!V.n){y.innerHTML=['<embed class="sIFR-flash" type="application/x-shockwave-flash" src="',v,'" quality="best" wmode="',d,'" bgcolor="',q,'" flashvars="',A,'" width="',b,'" height="',a,'" sifr="true"></embed>'].join("")}else{y.innerHTML=['<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" sifr="true" width="',b,'" height="',a,'" class="sIFR-flash"><param name="movie" value="',v,"?",A,'"></param><param name="quality" value="best"></param><param name="wmode" value="',d,'"></param><param name="bgcolor" value="',q,'"></param> </object>'].join("")}}else{if(V.d){AE=K("object");AE.setAttribute("data",v);H(AE,"quality","best");H(AE,"wmode",d);H(AE,"bgcolor",q)}else{AE=K("embed");AE.setAttribute("src",v);AE.setAttribute("quality","best");AE.setAttribute("flashvars",A);AE.setAttribute("wmode",d);AE.setAttribute("bgcolor",q)}AE.setAttribute("sifr","true");AE.setAttribute("type","application/x-shockwave-flash");AE.className="sIFR-flash";if(!V.l||!V.e){AC=AE.cloneNode(true)}}}else{AE=AC.cloneNode(true)}if(V.g){if(V.d){H(AE,"flashvars",A)}else{AE.setAttribute("flashvars",A)}AE.setAttribute("width",b);AE.setAttribute("height",a);AE.style.width=b+"px";AE.style.height=a+"px";y.appendChild(AE)}y.appendChild(AF);if(V.p){y.innerHTML+=""}}if(V.n&&Q.bFixFragIdBug){setTimeout(function(){P.title=Y},0)}}function T(){Y=P.title}function X(){if(Q.bIsDisabled==true){return }Z=true;if(Q.bHideBrowserText){J(true)}if(N.attachEvent){N.attachEvent("onload",W)}else{if(!V.c&&(P.addEventListener||N.addEventListener)){if(V.a&&V.k>=132&&N.addEventListener){N.addEventListener("load",function(){setTimeout("sIFR({})",1)},false)}else{if(P.addEventListener){P.addEventListener("load",W,false)}if(N.addEventListener){N.addEventListener("load",W,false)}}}else{if(typeof N.onload=="function"){var A=N.onload;N.onload=function(){A();W()}}else{N.onload=W}}}if(!V.n||N.location.hash==""){Q.bFixFragIdBug=false}else{T()}}Q.UA=G();Q.bAutoInit=true;Q.bFixFragIdBug=true;Q.replaceElement=R;Q.updateDocumentTitle=T;Q.appendToClassName=B;Q.setup=X;Q.debug=function(){J(true)};Q.debug.replaceNow=function(){X();Q()};Q.bIsDisabled=false;Q.bHideBrowserText=true;return Q}();if(typeof sIFR=="function"&&!sIFR.UA.bIsIEMac){sIFR.setup()}var isIE=navigator.userAgent.toLowerCase().indexOf("msie")>-1;var isMoz=document.implementation&&document.implementation.createDocument;var isSafari=((navigator.userAgent.toLowerCase().indexOf("safari")!=-1)&&(navigator.userAgent.toLowerCase().indexOf("mac")!=-1))?true:false;function CurvyCorners(){if(typeof (arguments[0])!="object"){throw newCurvyError("First parameter of CurvyCorners() must be an object.")}if(typeof (arguments[1])!="object"&&typeof (arguments[1])!="string"){throw newCurvyError("Second parameter of CurvyCorners() must be an object or a class name.")}if(typeof (arguments[1])=="string"){var G=0;var A=getElementsByClass(arguments[1])}else{var G=1;var A=arguments}var F=new Array();if(arguments[0].validTags){var E=arguments[0].validTags}else{var E=["div"]}for(var C=G,B=A.length;C<B;C++){var D=A[C].tagName.toLowerCase();if(inArray(E,D)!==false){F[F.length]=new curvyObject(arguments[0],A[C])}}this.objects=F;this.applyCornersToAll=function(){for(var H=0,I=this.objects.length;H<I;H++){this.objects[H].applyCorners()}}}function curvyObject(){this.box=arguments[1];this.settings=arguments[0];this.topContainer=null;this.bottomContainer=null;this.masterCorners=new Array();this.contentDIV=null;var G=get_style(this.box,"height","height");var D=get_style(this.box,"width","width");var A=get_style(this.box,"borderTopWidth","border-top-width");var H=get_style(this.box,"borderTopColor","border-top-color");var C=get_style(this.box,"backgroundColor","background-color");var E=get_style(this.box,"backgroundImage","background-image");var B=get_style(this.box,"position","position");var F=get_style(this.box,"paddingTop","padding-top");this.boxHeight=parseInt(((G!=""&&G!="auto"&&G.indexOf("%")===-1)?G.substring(0,G.indexOf("px")):this.box.scrollHeight));this.boxWidth=parseInt(((D!=""&&D!="auto"&&D.indexOf("%")===-1)?D.substring(0,D.indexOf("px")):this.box.scrollWidth));this.borderWidth=parseInt(((A!=""&&A.indexOf("px")!==-1)?A.slice(0,A.indexOf("px")):0));this.boxColour=format_colour(C);this.boxPadding=parseInt(((F!=""&&F.indexOf("px")!==-1)?F.slice(0,F.indexOf("px")):0));this.borderColour=format_colour(H);this.borderString=this.borderWidth+"px solid "+this.borderColour;this.backgroundImage=((E!="none")?E:"");this.boxContent=this.box.innerHTML;if(B!="absolute"){this.box.style.position="relative"}this.box.style.padding="0px";if(isIE&&D=="auto"&&G=="auto"){this.box.style.width="100%"}if(this.settings.autoPad===true&&this.boxPadding>0){this.box.innerHTML=""}this.applyCorners=function(){for(var Z=0;Z<2;Z++){switch(Z){case 0:if(this.settings.tl||this.settings.tr){var W=document.createElement("DIV");W.style.width="100%";W.style.fontSize="1px";W.style.overflow="hidden";W.style.position="absolute";W.style.paddingLeft=this.borderWidth+"px";W.style.paddingRight=this.borderWidth+"px";var R=Math.max(this.settings.tl?this.settings.tl.radius:0,this.settings.tr?this.settings.tr.radius:0);W.style.height=R+"px";W.style.top=0-R+"px";W.style.left=0-this.borderWidth+"px";this.topContainer=this.box.appendChild(W)}break;case 1:if(this.settings.bl||this.settings.br){var W=document.createElement("DIV");W.style.width="100%";W.style.fontSize="1px";W.style.overflow="hidden";W.style.position="absolute";W.style.paddingLeft=this.borderWidth+"px";W.style.paddingRight=this.borderWidth+"px";var X=Math.max(this.settings.bl?this.settings.bl.radius:0,this.settings.br?this.settings.br.radius:0);W.style.height=X+"px";W.style.bottom=0-X+"px";W.style.left=0-this.borderWidth+"px";this.bottomContainer=this.box.appendChild(W)}break}}if(this.topContainer){this.box.style.borderTopWidth="0px"}if(this.bottomContainer){this.box.style.borderBottomWidth="0px"}var d=["tr","tl","br","bl"];for(var m in d){if(m>-1<4){var c=d[m];if(!this.settings[c]){if(((c=="tr"||c=="tl")&&this.topContainer!==null)||((c=="br"||c=="bl")&&this.bottomContainer!==null)){var V=document.createElement("DIV");V.style.position="relative";V.style.fontSize="1px";V.style.overflow="hidden";if(this.backgroundImage==""){V.style.backgroundColor=this.boxColour}else{V.style.backgroundImage=this.backgroundImage}switch(c){case"tl":V.style.height=R-this.borderWidth+"px";V.style.marginRight=this.settings.tr.radius-(this.borderWidth*2)+"px";V.style.borderLeft=this.borderString;V.style.borderTop=this.borderString;V.style.left=-this.borderWidth+"px";break;case"tr":V.style.height=R-this.borderWidth+"px";V.style.marginLeft=this.settings.tl.radius-(this.borderWidth*2)+"px";V.style.borderRight=this.borderString;V.style.borderTop=this.borderString;V.style.backgroundPosition="-"+(R+this.borderWidth)+"px 0px";V.style.left=this.borderWidth+"px";break;case"bl":V.style.height=X-this.borderWidth+"px";V.style.marginRight=this.settings.br.radius-(this.borderWidth*2)+"px";V.style.borderLeft=this.borderString;V.style.borderBottom=this.borderString;V.style.left=-this.borderWidth+"px";V.style.backgroundPosition="-"+(this.borderWidth)+"px -"+(this.boxHeight+(X+this.borderWidth))+"px";break;case"br":V.style.height=X-this.borderWidth+"px";V.style.marginLeft=this.settings.bl.radius-(this.borderWidth*2)+"px";V.style.borderRight=this.borderString;V.style.borderBottom=this.borderString;V.style.left=this.borderWidth+"px";V.style.backgroundPosition="-"+(X+this.borderWidth)+"px -"+(this.boxHeight+(X+this.borderWidth))+"px";break}}}else{if(this.masterCorners[this.settings[c].radius]){var V=this.masterCorners[this.settings[c].radius].cloneNode(true)}else{var V=document.createElement("DIV");V.style.height=this.settings[c].radius+"px";V.style.width=this.settings[c].radius+"px";V.style.position="absolute";V.style.fontSize="1px";V.style.overflow="hidden";var M=parseInt(this.settings[c].radius-this.borderWidth);for(var T=0,l=this.settings[c].radius;T<l;T++){if((T+1)>=M){var O=-1}else{var O=(Math.floor(Math.sqrt(Math.pow(M,2)-Math.pow((T+1),2)))-1)}if(M!=l){if((T)>=M){var L=-1}else{var L=Math.ceil(Math.sqrt(Math.pow(M,2)-Math.pow(T,2)))}if((T+1)>=l){var J=-1}else{var J=(Math.floor(Math.sqrt(Math.pow(l,2)-Math.pow((T+1),2)))-1)}}if((T)>=l){var I=-1}else{var I=Math.ceil(Math.sqrt(Math.pow(l,2)-Math.pow(T,2)))}if(O>-1){this.drawPixel(T,0,this.boxColour,100,(O+1),V,-1,this.settings[c].radius)}if(M!=l){for(var S=(O+1);S<L;S++){if(this.settings.antiAlias){if(this.backgroundImage!=""){var K=(pixelFraction(T,S,M)*100);if(K<30){this.drawPixel(T,S,this.borderColour,100,1,V,0,this.settings[c].radius)}else{this.drawPixel(T,S,this.borderColour,100,1,V,-1,this.settings[c].radius)}}else{var b=BlendColour(this.boxColour,this.borderColour,pixelFraction(T,S,M));this.drawPixel(T,S,b,100,1,V,0,this.settings[c].radius,c)}}}if(this.settings.antiAlias){if(J>=L){if(L===-1){L=0}this.drawPixel(T,L,this.borderColour,100,(J-L+1),V,0,0)}}else{if(J>=O){this.drawPixel(T,(O+1),this.borderColour,100,(J-O),V,0,0)}}var Q=this.borderColour}else{var Q=this.boxColour;var J=O}if(this.settings.antiAlias){for(var S=(J+1);S<I;S++){this.drawPixel(T,S,Q,(pixelFraction(T,S,l)*100),1,V,((this.borderWidth>0)?0:-1),this.settings[c].radius)}}}this.masterCorners[this.settings[c].radius]=V.cloneNode(true)}if(c!="br"){for(var Z=0,h=V.childNodes.length;Z<h;Z++){var U=V.childNodes[Z];var g=parseInt(U.style.top.substring(0,U.style.top.indexOf("px")));var o=parseInt(U.style.left.substring(0,U.style.left.indexOf("px")));var q=parseInt(U.style.height.substring(0,U.style.height.indexOf("px")));if(c=="tl"||c=="bl"){U.style.left=this.settings[c].radius-o-1+"px"}if(c=="tr"||c=="tl"){U.style.top=this.settings[c].radius-q-g+"px"}switch(c){case"tr":U.style.backgroundPosition="-"+Math.abs((this.boxWidth-this.settings[c].radius+this.borderWidth)+o)+"px -"+Math.abs(this.settings[c].radius-q-g-this.borderWidth)+"px";break;case"tl":U.style.backgroundPosition="-"+Math.abs((this.settings[c].radius-o-1)-this.borderWidth)+"px -"+Math.abs(this.settings[c].radius-q-g-this.borderWidth)+"px";break;case"bl":U.style.backgroundPosition="-"+Math.abs((this.settings[c].radius-o-1)-this.borderWidth)+"px -"+Math.abs((this.boxHeight+this.settings[c].radius+g)-this.borderWidth)+"px";break}}}}if(V){switch(c){case"tl":if(V.style.position=="absolute"){V.style.top="0px"}if(V.style.position=="absolute"){V.style.left="0px"}if(this.topContainer){this.topContainer.appendChild(V)}break;case"tr":if(V.style.position=="absolute"){V.style.top="0px"}if(V.style.position=="absolute"){V.style.right="0px"}if(this.topContainer){this.topContainer.appendChild(V)}break;case"bl":if(V.style.position=="absolute"){V.style.bottom="0px"}if(V.style.position=="absolute"){V.style.left="0px"}if(this.bottomContainer){this.bottomContainer.appendChild(V)}break;case"br":if(V.style.position=="absolute"){V.style.bottom="0px"}if(V.style.position=="absolute"){V.style.right="0px"}if(this.bottomContainer){this.bottomContainer.appendChild(V)}break}}}}var Y=new Array();Y.t=Math.abs(this.settings.tl.radius-this.settings.tr.radius);Y.b=Math.abs(this.settings.bl.radius-this.settings.br.radius);for(z in Y){if(z=="t"||z=="b"){if(Y[z]){var n=((this.settings[z+"l"].radius<this.settings[z+"r"].radius)?z+"l":z+"r");var N=document.createElement("DIV");N.style.height=Y[z]+"px";N.style.width=this.settings[n].radius+"px";N.style.position="absolute";N.style.fontSize="1px";N.style.overflow="hidden";N.style.backgroundColor=this.boxColour;switch(n){case"tl":N.style.bottom="0px";N.style.left="0px";N.style.borderLeft=this.borderString;this.topContainer.appendChild(N);break;case"tr":N.style.bottom="0px";N.style.right="0px";N.style.borderRight=this.borderString;this.topContainer.appendChild(N);break;case"bl":N.style.top="0px";N.style.left="0px";N.style.borderLeft=this.borderString;this.bottomContainer.appendChild(N);break;case"br":N.style.top="0px";N.style.right="0px";N.style.borderRight=this.borderString;this.bottomContainer.appendChild(N);break}}var P=document.createElement("DIV");P.style.position="relative";P.style.fontSize="1px";P.style.overflow="hidden";P.style.backgroundColor=this.boxColour;P.style.backgroundImage=this.backgroundImage;switch(z){case"t":if(this.topContainer){if(this.settings.tl.radius&&this.settings.tr.radius){P.style.height=R-this.borderWidth+"px";P.style.marginLeft=this.settings.tl.radius-this.borderWidth+"px";P.style.marginRight=this.settings.tr.radius-this.borderWidth+"px";P.style.borderTop=this.borderString;if(this.backgroundImage!=""){P.style.backgroundPosition="-"+(R+this.borderWidth)+"px 0px"}this.topContainer.appendChild(P)}this.box.style.backgroundPosition="0px -"+(R-this.borderWidth)+"px"}break;case"b":if(this.bottomContainer){if(this.settings.bl.radius&&this.settings.br.radius){P.style.height=X-this.borderWidth+"px";P.style.marginLeft=this.settings.bl.radius-this.borderWidth+"px";P.style.marginRight=this.settings.br.radius-this.borderWidth+"px";P.style.borderBottom=this.borderString;if(this.backgroundImage!=""){P.style.backgroundPosition="-"+(X+this.borderWidth)+"px -"+(this.boxHeight+(R+this.borderWidth))+"px"}this.bottomContainer.appendChild(P)}}break}}}if(this.settings.autoPad===true&&this.boxPadding>0){var a=document.createElement("DIV");a.style.position="relative";a.innerHTML=this.boxContent;a.className="autoPadDiv";var p=Math.abs(R-this.boxPadding);var r=Math.abs(X-this.boxPadding);if(R<this.boxPadding){a.style.paddingTop=p+"px"}if(X<this.boxPadding){a.style.paddingBottom=X+"px"}a.style.paddingLeft=this.boxPadding+"px";a.style.paddingRight=this.boxPadding+"px";this.contentDIV=this.box.appendChild(a)}};this.drawPixel=function(R,O,I,N,P,Q,K,M){var J=document.createElement("DIV");J.style.height=P+"px";J.style.width="1px";J.style.position="absolute";J.style.fontSize="1px";J.style.overflow="hidden";var L=Math.max(this.settings.tr.radius,this.settings.tl.radius);if(K===-1&&this.backgroundImage!=""){J.style.backgroundImage=this.backgroundImage;J.style.backgroundPosition="-"+(this.boxWidth-(M-R)+this.borderWidth)+"px -"+((this.boxHeight+L+O)-this.borderWidth)+"px"}else{J.style.backgroundColor=I}if(N!=100){setOpacity(J,N)}J.style.top=O+"px";J.style.left=R+"px";Q.appendChild(J)}}function insertAfter(B,C,A){B.insertBefore(C,A.nextSibling)}function BlendColour(L,J,G){var D=parseInt(L.substr(1,2),16);var K=parseInt(L.substr(3,2),16);var F=parseInt(L.substr(5,2),16);var C=parseInt(J.substr(1,2),16);var I=parseInt(J.substr(3,2),16);var E=parseInt(J.substr(5,2),16);if(G>1||G<0){G=1}var H=Math.round((D*G)+(C*(1-G)));if(H>255){H=255}if(H<0){H=0}var B=Math.round((K*G)+(I*(1-G)));if(B>255){B=255}if(B<0){B=0}var A=Math.round((F*G)+(E*(1-G)));if(A>255){A=255}if(A<0){A=0}return"#"+IntToHex(H)+IntToHex(B)+IntToHex(A)}function IntToHex(A){base=A/16;rem=A%16;base=base-(rem/16);baseS=MakeHex(base);remS=MakeHex(rem);return baseS+""+remS}function MakeHex(A){if((A>=0)&&(A<=9)){return A}else{switch(A){case 10:return"A";case 11:return"B";case 12:return"C";case 13:return"D";case 14:return"E";case 15:return"F"}}}function pixelFraction(H,G,A){var C=0;var B=new Array(1);var F=new Array(1);var I=0;var D="";var E=Math.sqrt((Math.pow(A,2)-Math.pow(H,2)));if((E>=G)&&(E<(G+1))){D="Left";B[I]=0;F[I]=E-G;I=I+1}var E=Math.sqrt((Math.pow(A,2)-Math.pow(G+1,2)));if((E>=H)&&(E<(H+1))){D=D+"Top";B[I]=E-H;F[I]=1;I=I+1}var E=Math.sqrt((Math.pow(A,2)-Math.pow(H+1,2)));if((E>=G)&&(E<(G+1))){D=D+"Right";B[I]=1;F[I]=E-G;I=I+1}var E=Math.sqrt((Math.pow(A,2)-Math.pow(G,2)));if((E>=H)&&(E<(H+1))){D=D+"Bottom";B[I]=E-H;F[I]=0}switch(D){case"LeftRight":C=Math.min(F[0],F[1])+((Math.max(F[0],F[1])-Math.min(F[0],F[1]))/2);break;case"TopRight":C=1-(((1-B[0])*(1-F[1]))/2);break;case"TopBottom":C=Math.min(B[0],B[1])+((Math.max(B[0],B[1])-Math.min(B[0],B[1]))/2);break;case"LeftBottom":C=(F[0]*B[1])/2;break;default:C=1}return C}function rgb2Hex(B){try{var C=rgb2Array(B);var G=parseInt(C[0]);var E=parseInt(C[1]);var A=parseInt(C[2]);var D="#"+IntToHex(G)+IntToHex(E)+IntToHex(A)}catch(F){alert("There was an error converting the RGB value to Hexadecimal in function rgb2Hex")}return D}function rgb2Array(A){var C=A.substring(4,A.indexOf(")"));var B=C.split(", ");return B}function setOpacity(F,C){C=(C==100)?99.999:C;if(isSafari&&F.tagName!="IFRAME"){var B=rgb2Array(F.style.backgroundColor);var E=parseInt(B[0]);var D=parseInt(B[1]);var A=parseInt(B[2]);F.style.backgroundColor="rgba("+E+", "+D+", "+A+", "+C/100+")"}else{if(typeof (F.style.opacity)!="undefined"){F.style.opacity=C/100}else{if(typeof (F.style.MozOpacity)!="undefined"){F.style.MozOpacity=C/100}else{if(typeof (F.style.filter)!="undefined"){F.style.filter="alpha(opacity:"+C+")"}else{if(typeof (F.style.KHTMLOpacity)!="undefined"){F.style.KHTMLOpacity=C/100}}}}}}function inArray(C,B){for(var A=0;A<C.length;A++){if(C[A]===B){return A}}return false}function inArrayKey(B,A){for(key in B){if(key===A){return true}}return false}function addEvent(E,D,B,A){if(E.addEventListener){E.addEventListener(D,B,A);return true}else{if(E.attachEvent){var C=E.attachEvent("on"+D,B);return C}else{E["on"+D]=B}}}function removeEvent(E,D,B,A){if(E.removeEventListener){E.removeEventListener(D,B,A);return true}else{if(E.detachEvent){var C=E.detachEvent("on"+D,B);return C}else{alert("Handler could not be removed")}}}function format_colour(B){var A="#ffffff";if(B!=""&&B!="transparent"){if(B.substr(0,3)=="rgb"){A=rgb2Hex(B)}else{if(B.length==4){A="#"+B.substring(1,2)+B.substring(1,2)+B.substring(2,3)+B.substring(2,3)+B.substring(3,4)+B.substring(3,4)}else{A=B}}}return A}function get_style(obj,property,propertyNS){try{if(obj.currentStyle){var returnVal=eval("obj.currentStyle."+property)}else{if(isSafari&&obj.style.display=="none"){obj.style.display="";var wasHidden=true}var returnVal=document.defaultView.getComputedStyle(obj,"").getPropertyValue(propertyNS);if(isSafari&&wasHidden){obj.style.display="none"}}}catch(e){}return returnVal}function getElementsByClass(G,E,A){var D=new Array();if(E===null){E=document}if(A===null){A="*"}var C=E.getElementsByTagName(A);var B=C.length;var F=new RegExp("(^|s)"+G+"(s|$)");for(i=0,j=0;i<B;i++){if(F.test(C[i].className)){D[j]=C[i];j++}}return D}function newCurvyError(A){return new Error("CurvyCorners Error:\n"+A)}if(typeof deconcept=="undefined"){var deconcept=new Object()}if(typeof deconcept.util=="undefined"){deconcept.util=new Object()}if(typeof deconcept.SWFObjectUtil=="undefined"){deconcept.SWFObjectUtil=new Object()}deconcept.SWFObject=function(K,B,L,D,H,I,F,E,C,J){if(!document.getElementById){return }this.DETECT_KEY=J?J:"detectflash";this.skipDetect=deconcept.util.getRequestParameter(this.DETECT_KEY);this.params=new Object();this.variables=new Object();this.attributes=new Array();if(K){this.setAttribute("swf",K)}if(B){this.setAttribute("id",B)}if(L){this.setAttribute("width",L)}if(D){this.setAttribute("height",D)}if(H){this.setAttribute("version",new deconcept.PlayerVersion(H.toString().split(".")))}this.installedVer=deconcept.SWFObjectUtil.getPlayerVersion();if(!window.opera&&document.all&&this.installedVer.major>7){deconcept.SWFObject.doPrepUnload=true}if(I){this.addParam("bgcolor",I)}var A=F?F:"high";this.addParam("quality",A);this.setAttribute("useExpressInstall",false);this.setAttribute("doExpressInstall",false);var G=(E)?E:window.location;this.setAttribute("xiRedirectUrl",G);this.setAttribute("redirectUrl","");if(C){this.setAttribute("redirectUrl",C)}};deconcept.SWFObject.prototype={useExpressInstall:function(A){this.xiSWFPath=!A?"expressinstall.swf":A;this.setAttribute("useExpressInstall",true)},setAttribute:function(A,B){this.attributes[A]=B},getAttribute:function(A){return this.attributes[A]},addParam:function(B,A){this.params[B]=A},getParams:function(){return this.params},addVariable:function(B,A){this.variables[B]=A},getVariable:function(A){return this.variables[A]},getVariables:function(){return this.variables},getVariablePairs:function(){var C=new Array();var B;var A=this.getVariables();for(B in A){C[C.length]=B+"="+A[B]}return C},getSWFHTML:function(){var B="";if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","PlugIn");this.setAttribute("swf",this.xiSWFPath)}B='<embed type="application/x-shockwave-flash" src="'+this.getAttribute("swf")+'" width="'+this.getAttribute("width")+'" height="'+this.getAttribute("height")+'" style="'+this.getAttribute("style")+'"';B+=' id="'+this.getAttribute("id")+'" name="'+this.getAttribute("id")+'" ';var F=this.getParams();for(var E in F){B+=[E]+'="'+F[E]+'" '}var D=this.getVariablePairs().join("&");if(D.length>0){B+='flashvars="'+D+'"'}B+="/>"}else{if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX");this.setAttribute("swf",this.xiSWFPath)}B='<object id="'+this.getAttribute("id")+'" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+this.getAttribute("width")+'" height="'+this.getAttribute("height")+'" style="'+this.getAttribute("style")+'">';B+='<param name="movie" value="'+this.getAttribute("swf")+'" />';var C=this.getParams();for(var E in C){B+='<param name="'+E+'" value="'+C[E]+'" />'}var A=this.getVariablePairs().join("&");if(A.length>0){B+='<param name="flashvars" value="'+A+'" />'}B+="</object>"}return B},write:function(B){if(this.getAttribute("useExpressInstall")){var A=new deconcept.PlayerVersion([6,0,65]);if(this.installedVer.versionIsValid(A)&&!this.installedVer.versionIsValid(this.getAttribute("version"))){this.setAttribute("doExpressInstall",true);this.addVariable("MMredirectURL",escape(this.getAttribute("xiRedirectUrl")));document.title=document.title.slice(0,47)+" - Flash Player Installation";this.addVariable("MMdoctitle",document.title)}}if(this.skipDetect||this.getAttribute("doExpressInstall")||this.installedVer.versionIsValid(this.getAttribute("version"))){var C=(typeof B=="string")?document.getElementById(B):B;C.innerHTML=this.getSWFHTML();return true}else{if(this.getAttribute("redirectUrl")!=""){document.location.replace(this.getAttribute("redirectUrl"))}}return false}};deconcept.SWFObjectUtil.getPlayerVersion=function(){var E=new deconcept.PlayerVersion([0,0,0]);if(navigator.plugins&&navigator.mimeTypes.length){var A=navigator.plugins["Shockwave Flash"];if(A&&A.description){E=new deconcept.PlayerVersion(A.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."))}}else{if(navigator.userAgent&&navigator.userAgent.indexOf("Windows CE")>=0){var B=1;var C=3;while(B){try{C++;B=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+C);E=new deconcept.PlayerVersion([C,0,0])}catch(D){B=null}}}else{try{var B=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7")}catch(D){try{var B=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");E=new deconcept.PlayerVersion([6,0,21]);B.AllowScriptAccess="always"}catch(D){if(E.major==6){return E}}try{B=new ActiveXObject("ShockwaveFlash.ShockwaveFlash")}catch(D){}}if(B!=null){E=new deconcept.PlayerVersion(B.GetVariable("$version").split(" ")[1].split(","))}}}return E};deconcept.PlayerVersion=function(A){this.major=A[0]!=null?parseInt(A[0]):0;this.minor=A[1]!=null?parseInt(A[1]):0;this.rev=A[2]!=null?parseInt(A[2]):0};deconcept.PlayerVersion.prototype.versionIsValid=function(A){if(this.major<A.major){return false}if(this.major>A.major){return true}if(this.minor<A.minor){return false}if(this.minor>A.minor){return true}if(this.rev<A.rev){return false}return true};deconcept.util={getRequestParameter:function(C){var D=document.location.search||document.location.hash;if(C==null){return D}if(D){var B=D.substring(1).split("&");for(var A=0;A<B.length;A++){if(B[A].substring(0,B[A].indexOf("="))==C){return B[A].substring((B[A].indexOf("=")+1))}}}return""}};deconcept.SWFObjectUtil.cleanupSWFs=function(){var B=document.getElementsByTagName("OBJECT");for(var C=B.length-1;C>=0;C--){B[C].style.display="none";for(var A in B[C]){if(typeof B[C][A]=="function"){B[C][A]=function(){}}}}};if(deconcept.SWFObject.doPrepUnload){if(!deconcept.unloadSet){deconcept.SWFObjectUtil.prepUnload=function(){__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){};window.attachEvent("onunload",deconcept.SWFObjectUtil.cleanupSWFs)};window.attachEvent("onbeforeunload",deconcept.SWFObjectUtil.prepUnload);deconcept.unloadSet=true}}if(!document.getElementById&&document.all){document.getElementById=function(A){return document.all[A]}}var getQueryParamValue=deconcept.util.getRequestParameter;var FlashObject=deconcept.SWFObject;var SWFObject=deconcept.SWFObject;