function getAllChildren(a){return a.all?a.all:a.getElementsByTagName("*")}function checkToken(c,b,a){if(c==""){return true}else{if(c==">"){a=a.firstChild;while(a){if(a==b){return true}a=a.nextSibling}}else{if(c=="first-child"){a=a.firstChild;while(a.nodeName=="#text"){if(a.firstChild){a=a.firstChild}else{a=a.nextSibling}}if(a==b){return true}}else{if(c=="a"){if(b.nodeName=="A"){return true}}else{if(c=="+"){a=a.nextSibling;while(a){if(a==b){return true}a=a.nextSibling}}else{if(c.length>0){if(b.getAttribute(c[1])){if(c[2]==""&&b.getAttribute(c[1])==c[3]){return true}else{if((c[2]=="~"||c[2]=="|")&&b.getAttribute(c[1]).indexOf(c[3])>-1){return true}}}}}}}}}return false}getElementsBySelector=document.getElementsBySelector=function(m){if(!document.getElementsByTagName||typeof(m)!="string"){return Array()}var r=new Array();var t=m.split(",");for(var q=0;q<t.length;q++){var m=t[q].replace(/^\s+/,"").replace(/\s+$/,"");var s=m.split(" ");var e=new Array(this);var c="";for(var o=0;o<s.length;o++){var h=s[o].replace(/^\s+/,"").replace(/\s+$/,"");if(h.indexOf(">")>-1){c=">";continue}else{if(h.indexOf(":first-child")>-1){c="first-child";h=h.replace(/:first-child/g,"")}else{if(h.indexOf(":link")>-1){c="a";h=h.replace(":link","")}else{if(h.indexOf("+")>-1){c="+";continue}else{if(h.match(/^([a-zA-Z*]+)\[([a-zA-Z]+)([~\|]?)=.([^\]"]*).\]$/)){parts=h.match(/^([a-zA-Z*]+)\[([a-zA-Z]+)([~\|]?)=.([^\]"]*).\]$/);c=new Array("attribute",parts[2],parts[3],parts[4]);h=parts[1]}}}}}h=h.replace(":visited","").replace(":active","").replace(":hover","").replace(":focus","");if(h.indexOf("#")>-1){var f=h.split("#");if(f[1]==""){return Array()}if(f[0]==""){f[0]="*"}var d=new Array();for(var n=0;n<e.length;n++){if(c!="+"){var p=e[n].getElementById(f[1])}else{var p=e[n].parentNode.getElementById(f[1])}if(p&&p.nodeName&&(f[0]=="*"||p.nodeName.toLowerCase()==f[0].toLowerCase())){if(checkToken(c,p,e[n])){d[d.length]=p}}}e=d;continue}if(h.indexOf(".")>-1){var f=h.split(".");if(f[1]==""){return Array()}if(f[0]==""){f[0]="*"}var d=new Array();for(var n=0;n<e.length;n++){if(f[0]=="*"){if(c!="+"){var b=getAllChildren(e[n])}else{var b=getAllChildren(e[n].parentNode)}}else{if(c!="+"){var b=e[n].getElementsByTagName(f[0])}else{var b=e[n].parentNode.getElementsByTagName(f[0])}}for(var g=0;g<b.length;g++){if(b[g].className&&b[g].className.match(new RegExp("\\b"+f[1]+"\\b"))){if(checkToken(c,b[g],e[n])){d[d.length]=b[g]}}}}e=d;continue}var d=new Array();for(var n=0;n<e.length;n++){if(h=="*"){if(c!="+"){var b=getAllChildren(e[n])}else{if(c=="+"){var b=getAllChildren(e[n].parentNode)}}}else{if(c!="+"){var b=e[n].getElementsByTagName(h)}else{var b=e[n].parentNode.getElementsByTagName(h)}}for(var g=0;g<b.length;g++){if(checkToken(c,b[g],e[n])){d[d.length]=b[g]}}}e=d;c=""}r=e}var a=new Array();for(q=0;q<r.length;q++){for(o=0;o<r.length;o++){if(r[q]==r[o]&&q!=o){r[o]=""}}if(r[q]!=""){a[a.length]=r[q]}}return a};function swfirController(){this.swfirs=new Array();this.addswfir=function(a){var b=this.swfirs.length;this.swfirs[b]=a;return b};this.getswfirs=function(){return this.swfirs};this.getNextId=function(){return this.swfirs.length};this.resize=function(c,b,a){if(this.swfirs[c].elasticityWidth==false){this.swfirs[c].setAttribute("width",b);this.swfirs[c].style.width=b+"px"}this.swfirs[c].setAttribute("height",a);this.swfirs[c].style.height=a+"px"}}var firController=new swfirController();function swfir(){this.name="swfir";this.version="1.1.1";this.debug=false;this.params=new Array();this.background="";this.src="swfir.swf";this.wmode="transparent";this.elasticityWidth=false;this.specify=function(b,c){if(b=="debug"){if(c==true||c=="true"){this.debug=true}else{this.debug=false}return}if(b=="wmode"){this.wmode=c}if(b=="background-color"){this.background=this.cleanColor(c);return}if(b=="border-color"||b=="shadow-color"){c=this.cleanColor(c,"flash")}if(b=="shadow-blur"){this.params.shadowBlurX=c;this.params.shadowBlurY=c;acceptableFound=true}if(b=="border-radius"||b=="border-width"||b=="border-alpha"||b=="shadow-blur-x"||b=="shadow-blur-y"){c=parseFloat(c);if((c==NaN||c=="NaN")&&this.debug==true){this.error("'"+b+"' must be a number.  Please make sure in your source there are no quotes (\") around the number.")}}if(b=="rotate"&&Number(c)<0){c=360+Number(c)}if(b=="src"){this.src=c;return}if(b=="elasticity"){if(parseFloat(c)){this.elasticityWidth=c}else{var a=document.createElement("div");a.style.position="absolute";a.style.left="-10em";a.style.width="1em";a.style.height="1em";document.body.appendChild(a);this.elasticityWidth=a.offsetHeight;a.parentNode.removeChild(a)}return}var d=new Array();d["border-radius"]="borderRadius";d["border-width"]="borderWidth";d["border-color"]="borderColor";d["shadow-offset"]="shadowOffset";d["shadow-angle"]="shadowAngle";d["shadow-alpha"]="shadowAlpha";d["shadow-blur-x"]="shadowBlurX";d["shadow-blur-y"]="shadowBlurY";d["shadow-strength"]="shadowStrength";d["shadow-color"]="shadowColor";d["shadow-quality"]="shadowQuality";d["shadow-inner"]="shadowInner";d["shadow-knockout"]="shadowKnockout";d["shadow-hide"]="shadowHide";d.rotate="rotate";d.overflow="overflow";d.link="link";this.params[d[b]]=c};this.swap=function(j){if(typeof(j).toLowerCase()=="string"){var b=document.getElementsBySelector(j)}else{if(j.nodeName){var b=[j]}else{if(j.length!=0){var b=j}}}if(this.hasImg(b)==false){var b=document.getElementsBySelector(j+" img");if(this.hasImg(b)==false&&this.debug==true){this.error("No images were selected with the selector '"+j+"'");return}}for(var k=0;k<b.length;k++){var e="";var l="";var c="";var f="";var o="";var p="";var a=this.src;var h="";if(b[k].getAttribute("id")){e=b[k].getAttribute("id")}if(b[k].className!=""){l=b[k].className+" swfir"}else{l="swfir"}if(this.background!=""){p=this.background}if(b[k].getAttribute("style")){if(b[k].style.cssText&&b[k].style.cssText!=""){c+=b[k].style.cssText+";"}else{if(typeof b[k].getAttribute("style")=="string"){c+=b[k].getAttribute("style")}}}f=b[k].width;o=b[k].height;if(this.elasticityWidth!=false){if(c!=""){c+=" "}c+="width:"+(f/this.elasticityWidth)+"em;"}else{if(b[k].getAttribute("width",2)){if(c!=""){c+=" "}c+="width:"+b[k].getAttribute("width",2)+";"}if(b[k].getAttribute("height",2)){if(c!=""){c+=" "}c+="height:"+b[k].getAttribute("height",2)+";"}}this.params.srcWidth=f;this.params.srcHeight=o;var d="";for(var n in this.params){d+=("&"+n+"="+this.params[n])}if((elementLink=this.withinLink(b[k]))!=false&&!this.params.link){d+="&link="+elementLink.href.replace(/\?/g,"%3F").replace(/&/g,"%26")}h="url="+b[k].src+d+"&swfirId="+firController.getNextId();var m=document.createElement("span");if(e){m.setAttribute("id",e)}if(l){m.className=l}b[k].parentNode.insertBefore(m,b[k]);m.appendChild(b[k].parentNode.removeChild(b[k]));var g=new SWFObject(this.src,"swfir"+firController.getNextId(),f,o,"6",this.bgcolor);if(c!=""){g.setAttribute("style",c)}g.addParam("flashvars",h);g.addParam("menu","false");g.addParam("wmode",this.wmode);g.write(m);firController.addswfir(m.firstChild)}};this.cleanColor=function(a,b){a=a.replace(/^0x/,"");a=a.replace(/^#/,"");if(a.length=="3"){a=a.substring(0,1)+a.substring(0,1)+a.substring(1,2)+a.substring(1,2)+a.substring(2,3)+a.substring(2,3)}if(b=="flash"){a="0x"+a}else{a="#"+a}return a};this.hasImg=function(b){for(var a=0;a<b.length;a++){if(b[a].nodeName=="IMG"){return true}}return false};this.withinLink=function(a){while(a.nodeName!="A"){if(a.parentNode){a=a.parentNode}else{return false}}return a};this.error=function(a){alert(this.name+" "+this.version+" Error\n\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(n,b,o,e,j,l,g,f,d,m,k){if(!document.getElementById){return}this.DETECT_KEY=k?k:"detectflash";this.skipDetect=deconcept.util.getRequestParameter(this.DETECT_KEY);this.params=new Object();this.variables=new Object();this.attributes=new Array();if(n){this.setAttribute("swf",n)}if(b){this.setAttribute("id",b)}if(o){this.setAttribute("width",o)}if(e){this.setAttribute("height",e)}if(j){this.setAttribute("version",new deconcept.PlayerVersion(j.toString().split(".")))}this.installedVer=deconcept.SWFObjectUtil.getPlayerVersion();if(l){this.addParam("bgcolor",l)}var a=f?f:"high";this.addParam("quality",a);this.setAttribute("useExpressInstall",g);this.setAttribute("doExpressInstall",false);var i=(d)?d:window.location;this.setAttribute("xiRedirectUrl",i);this.setAttribute("redirectUrl","");if(m){this.setAttribute("redirectUrl",m)}};deconcept.SWFObject.prototype={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.push(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")}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")}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 d=new deconcept.PlayerVersion([0,0,0]);if(navigator.plugins&&navigator.mimeTypes.length){var a=navigator.plugins["Shockwave Flash"];if(a&&a.description){d=new deconcept.PlayerVersion(a.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."))}}else{try{var b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7")}catch(c){try{var b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");d=new deconcept.PlayerVersion([6,0,21]);b.AllowScriptAccess="always"}catch(c){if(d.major==6){return d}}try{b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash")}catch(c){}}if(b!=null){d=new deconcept.PlayerVersion(b.GetVariable("$version").split(" ")[1].split(","))}}return d};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(a){var d=document.location.search||document.location.hash;if(d){var c=d.substring(1).split("&");for(var b=0;b<c.length;b++){if(c[b].substring(0,c[b].indexOf("="))==a){return c[b].substring((c[b].indexOf("=")+1))}}}return""}};deconcept.SWFObjectUtil.cleanupSWFs=function(){if(window.opera||!document.all){return}var c=document.getElementsByTagName("OBJECT");for(var b=0;b<c.length;b++){c[b].style.display="none";for(var a in c[b]){if(typeof c[b][a]=="function"){c[b][a]=function(){}}}}};deconcept.SWFObjectUtil.prepUnload=function(){__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){};if(typeof window.onunload=="function"){var a=window.onunload;window.onunload=function(){deconcept.SWFObjectUtil.cleanupSWFs();a()}}else{window.onunload=deconcept.SWFObjectUtil.cleanupSWFs}};if(typeof window.onbeforeunload=="function"){var oldBeforeUnload=window.onbeforeunload;window.onbeforeunload=function(){deconcept.SWFObjectUtil.prepUnload();oldBeforeUnload()}}else{window.onbeforeunload=deconcept.SWFObjectUtil.prepUnload}if(Array.prototype.push==null){Array.prototype.push=function(a){this[this.length]=a;return this.length}}var getQueryParamValue=deconcept.util.getRequestParameter;var FlashObject=deconcept.SWFObject;var SWFObject=deconcept.SWFObject;