function addEvent(_1,_2,fn){if(_1.addEventListener){_1.addEventListener(_2,fn,false);EventCache.add(_1,_2,fn);}else{if(_1.attachEvent){_1["e"+_2+fn]=fn;_1[_2+fn]=function(){_1["e"+_2+fn](window.event);};_1.attachEvent("on"+_2,_1[_2+fn]);EventCache.add(_1,_2,fn);}else{_1["on"+_2]=_1["e"+_2+fn];}}}var EventCache=function(){var _4=[];return {listEvents:_4,add:function(_5,_6,_7){_4.push(arguments);},flush:function(){var i,item;for(i=_4.length-1;i>=0;i=i-1){item=_4[i];if(item[0].removeEventListener){item[0].removeEventListener(item[1],item[2],item[3]);}if(item[1].substring(0,2)!="on"){item[1]="on"+item[1];}if(item[0].detachEvent){item[0].detachEvent(item[1],item[2]);}item[0][item[1]]=null;}}};}();addEvent(window,"unload",EventCache.flush);function insertAfter(_9,_a){var _b=_a.parentNode;if(_b.lastChild==_a){_b.appendChild(_9);}else{_b.insertBefore(_9,_a.nextSibling);}}if(typeof com=="undefined"){var com=new Object();}if(typeof com.deconcept=="undefined"){com.deconcept=new Object();}if(typeof com.deconcept.util=="undefined"){com.deconcept.util=new Object();}if(typeof com.deconcept.FlashObjectUtil=="undefined"){com.deconcept.FlashObjectUtil=new Object();}com.deconcept.FlashObject=function(_1,id,w,h,_5,c,_7,_8,_9,_a,_b){if(!document.createElement||!document.getElementById){return;}this.DETECT_KEY=_b?_b:"detectflash";this.skipDetect=com.deconcept.util.getRequestParameter(this.DETECT_KEY);this.params=new Object();this.variables=new Object();this.attributes=new Array();this.useExpressInstall=_7;if(_1){this.setAttribute("swf",_1);}if(id){this.setAttribute("id",id);}if(w){this.setAttribute("width",w);}if(h){this.setAttribute("height",h);}if(_5){this.setAttribute("version",new com.deconcept.PlayerVersion(_5.toString().split(".")));}this.installedVer=com.deconcept.FlashObjectUtil.getPlayerVersion(this.getAttribute("version"),_7);if(c){this.addParam("bgcolor",c);}var q=_8?_8:"high";this.addParam("quality",q);var _d=(_9)?_9:window.location;this.setAttribute("xiRedirectUrl",_d);this.setAttribute("redirectUrl","");if(_a){this.setAttribute("redirectUrl",_a);}};com.deconcept.FlashObject.prototype={setAttribute:function(_e,_f){this.attributes[_e]=_f;},getAttribute:function(_10){return this.attributes[_10];},addParam:function(_11,_12){this.params[_11]=_12;},getParams:function(){return this.params;},addVariable:function(_13,_14){this.variables[_13]=_14;},getVariable:function(_15){return this.variables[_15];},getVariables:function(){return this.variables;},createParamTag:function(n,v){var p=document.createElement("param");p.setAttribute("name",n);p.setAttribute("value",v);return p;},getVariablePairs:function(){var _19=new Array();var key;var _1b=this.getVariables();for(key in _1b){_19.push(key+"="+_1b[key]);}return _19;},getFlashHTML:function(){var _1c="";if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","PlugIn");}_1c="<embed type=\"application/x-shockwave-flash\" src=\""+this.getAttribute("swf")+"\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\"";_1c+=" id=\""+this.getAttribute("id")+"\" name=\""+this.getAttribute("id")+"\" ";var _1d=this.getParams();for(var key in _1d){_1c+=[key]+"=\""+_1d[key]+"\" ";}var _1f=this.getVariablePairs().join("&");if(_1f.length>0){_1c+="flashvars=\""+_1f+"\"";}_1c+="/>";}else{if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX");}_1c="<object id=\""+this.getAttribute("id")+"\" classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\">";_1c+="<param name=\"movie\" value=\""+this.getAttribute("swf")+"\" />";var _20=this.getParams();for(var key in _20){_1c+="<param name=\""+key+"\" value=\""+_20[key]+"\" />";}var _22=this.getVariablePairs().join("&");if(_22.length>0){_1c+="<param name=\"flashvars\" value=\""+_22+"\" />";}_1c+="</object>";}return _1c;},write:function(_23){if(this.useExpressInstall){var _24=new com.deconcept.PlayerVersion([6,0,65]);if(this.installedVer.versionIsValid(_24)&&!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);}}else{this.setAttribute("doExpressInstall",false);}if(this.skipDetect||this.getAttribute("doExpressInstall")||this.installedVer.versionIsValid(this.getAttribute("version"))){var n=(typeof _23=="string")?document.getElementById(_23):_23;n.innerHTML=this.getFlashHTML();}else{if(this.getAttribute("redirectUrl")!=""){document.location.replace(this.getAttribute("redirectUrl"));}}}};com.deconcept.FlashObjectUtil.getPlayerVersion=function(_26,_27){var _28=new com.deconcept.PlayerVersion(0,0,0);if(navigator.plugins&&navigator.mimeTypes.length){var x=navigator.plugins["Shockwave Flash"];if(x&&x.description){_28=new com.deconcept.PlayerVersion(x.description.replace(/([a-z]|[A-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."));}}else{try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");for(var i=3;axo!=null;i++){axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+i);_28=new com.deconcept.PlayerVersion([i,0,0]);}}catch(e){}if(_26&&_28.major>_26.major){return _28;}if(!_26||((_26.minor!=0||_26.rev!=0)&&_28.major==_26.major)||_28.major!=6||_27){try{_28=new com.deconcept.PlayerVersion(axo.GetVariable("$version").split(" ")[1].split(","));}catch(e){}}}return _28;};com.deconcept.PlayerVersion=function(_2c){this.major=parseInt(_2c[0])||0;this.minor=parseInt(_2c[1])||0;this.rev=parseInt(_2c[2])||0;};com.deconcept.PlayerVersion.prototype.versionIsValid=function(fv){if(this.major<fv.major){return false;}if(this.major>fv.major){return true;}if(this.minor<fv.minor){return false;}if(this.minor>fv.minor){return true;}if(this.rev<fv.rev){return false;}return true;};com.deconcept.util={getRequestParameter:function(_2e){var q=document.location.search||document.location.hash;if(q){var _30=q.indexOf(_2e+"=");var _31=(q.indexOf("&",_30)>-1)?q.indexOf("&",_30):q.length;if(q.length>1&&_30>-1){return q.substring(q.indexOf("=",_30)+1,_31);}}return "";},removeChildren:function(n){while(n.hasChildNodes()){n.removeChild(n.firstChild);}}};if(Array.prototype.push==null){Array.prototype.push=function(_33){this[this.length]=_33;return this.length;};}var getQueryParamValue=com.deconcept.util.getRequestParameter;var FlashObject=com.deconcept.FlashObject;function wptexturize(_3f){_3f=" "+_3f+" ";var _40=true;var _41="";var _42=0;var _43=_3f.length;while(_42<_43){var _44=_3f.indexOf("<",_42);if(_44>-1){if(_44==_42){_44=_3f.indexOf(">",_42);}_44++;}else{_44=_43;}var s=_3f.substring(_42,_44);_42=_44;if(s.substr(0,1)!="<"&&_40==true){s=s.replace(/---/g,"&#8212;");s=s.replace(/--/g,"&#8211;");s=s.replace(/\.{3}/g,"&#8230;");s=s.replace(/``/g,"&#8220;");s=s.replace(/'s/g,"&#8217;s");s=s.replace(/'(\d\d(?:&#8217;|')?s)/g,"&#8217;$1");s=s.replace(/([\s"])'/g,"$1&#8216;");s=s.replace(/(\d+)"/g,"$1&Prime;");s=s.replace(/(\d+)'/g,"$1&prime;");s=s.replace(/([^\s])'([^'\s])/g,"$1&#8217;$2");s=s.replace(/(\s)"([^\s])/g,"$1&#8220;$2");s=s.replace(/"(\s)/g,"&#8221;$1");s=s.replace(/'(\s|.)/g,"&#8217;$1");s=s.replace(/\(tm\)/ig,"&#8482;");s=s.replace(/\(c\)/ig,"&#169;");s=s.replace(/\(r\)/ig,"&#174;");s=s.replace(/''/g,"&#8221;");s=s.replace(/(\d+)x(\d+)/g,"$1&#215;$2");}else{if(s.substr(0,5)=="<code"){_40=false;}else{_40=true;}}_41+=s;}return _41.substr(1,_41.length-2);}function wpautop(p){p=p+"\n\n";p=p.replace(/(<blockquote[^>]*>)/g,"\n$1");p=p.replace(/(<\/blockquote[^>]*>)/g,"$1\n");p=p.replace(/\r\n/g,"\n");p=p.replace(/\r/g,"\n");p=p.replace(/\n\n+/g,"\n\n");p=p.replace(/\n?(.+?)(?:\n\s*\n)/g,"<p>$1</p>");p=p.replace(/<p>\s*?<\/p>/g,"");p=p.replace(/<p>\s*(<\/?blockquote[^>]*>)\s*<\/p>/g,"$1");p=p.replace(/<p><blockquote([^>]*)>/ig,"<blockquote$1><p>");p=p.replace(/<\/blockquote><\/p>/ig,"<p></blockquote>");p=p.replace(/<p>\s*<blockquote([^>]*)>/ig,"<blockquote$1>");p=p.replace(/<\/blockquote>\s*<\/p>/ig,"</blockquote>");p=p.replace(/\s*\n\s*/g,"<br />");return p;}function updateLivePreview(){var _47=document.getElementById("comment");var _48=document.getElementById("author");var _49=document.getElementById("url");if(_47){var _4a=wpautop(wptexturize(_47.value));}if(_48){var _4b=_48.value;}if(_49){var _4c=_49.value;}if(_4c&&_4b){var _4d="Comment by "+"<a href=\""+_4c+"\">"+_4b+"</a>";}else{if(!_4c&&_4b){var _4e="Comment by "+_4b;}else{if(_4c&&!_4b){var _4f="Comment by "+"<a href=\""+_4c+"\">Anonymous</a>";}else{var _50="Comment by Anonymous";}}}document.getElementById("commentPreview").innerHTML="<p class=\"liveprev-head\"><img src=\"http://www.adammessinger.com/images/pencil.gif\" alt=\"Pencil icon\" class=\"icon\" style=\"width:15px;height:15px;\" /><strong>Live Preview</strong></p><p>"+_4a+"</p>";}function initLivePreview(){if(!document.getElementById){return false;}var _51=document.getElementById("comment");var _52=document.getElementById("author");var _53=document.getElementById("url");if(_51){_51.onkeyup=updateLivePreview;}if(_52){_52.onkeyup=updateLivePreview;}if(_53){_53.onkeyup=updateLivePreview;}}function clearCurrentLink(){var a=document.getElementsByTagName("A");for(var i=0;i<a.length;i++){if(a[i].href==window.location.href.split("#")[0]){removeNode(a[i]);}}}function removeNode(n){if(n.hasChildNodes()){for(var i=0;i<n.childNodes.length;i++){n.parentNode.insertBefore(n.childNodes[i].cloneNode(true),n);}}n.parentNode.removeChild(n);}addEvent(window,"load",clearCurrentLink);addEvent(window,"load",initLivePreview);