var BrowserDetect={init:function(){this.browser=this.searchString(this.dataBrowser)||"An unknown browser";this.version=this.searchVersion(navigator.userAgent)||this.searchVersion(navigator.appVersion)||"an unknown version";this.OS=this.searchString(this.dataOS)||"an unknown OS";},searchString:function(_1){for(var i=0;i<_1.length;i++){var _3=_1[i].string;var _4=_1[i].prop;this.versionSearchString=_1[i].versionSearch||_1[i].identity;if(_3){if(_3.indexOf(_1[i].subString)!=-1){return _1[i].identity;}}else{if(_4){return _1[i].identity;}}}},searchVersion:function(_5){var _6=_5.indexOf(this.versionSearchString);if(_6==-1){return;}return parseFloat(_5.substring(_6+this.versionSearchString.length+1));},dataBrowser:[{string:navigator.userAgent,subString:"OmniWeb",versionSearch:"OmniWeb/",identity:"OmniWeb"},{string:navigator.vendor,subString:"Apple",identity:"Safari"},{prop:window.opera,identity:"Opera"},{string:navigator.vendor,subString:"iCab",identity:"iCab"},{string:navigator.vendor,subString:"KDE",identity:"Konqueror"},{string:navigator.userAgent,subString:"Firefox",identity:"Firefox"},{string:navigator.vendor,subString:"Camino",identity:"Camino"},{string:navigator.userAgent,subString:"Netscape",identity:"Netscape"},{string:navigator.userAgent,subString:"MSIE",identity:"Explorer",versionSearch:"MSIE"},{string:navigator.userAgent,subString:"Gecko",identity:"Mozilla",versionSearch:"rv"},{string:navigator.userAgent,subString:"Mozilla",identity:"Netscape",versionSearch:"Mozilla"}],dataOS:[{string:navigator.platform,subString:"Win",identity:"Windows"},{string:navigator.platform,subString:"Mac",identity:"Mac"},{string:navigator.platform,subString:"Linux",identity:"Linux"}]};BrowserDetect.init();function domFunction(f,a){var n=0;var t=setInterval(function(){var c=true;n++;if(typeof document.getElementsByTagName!="undefined"&&(document.getElementsByTagName("body")[0]!=null||document.body!=null)){c=false;if(typeof a=="object"){for(var i in a){if((a[i]=="id"&&document.getElementById(i)==null)||(a[i]=="tag"&&document.getElementsByTagName(i).length<1)){c=true;break;}}}if(!c){f();clearInterval(t);}}if(n>=60){clearInterval(t);}},250);}var blogAddressToFlashBox;var pluginPath="/wp-content/plugins/wp-flashbox/";var flashPluginVersionString="8";var imageArray=new Array;var imageNum=0;var version=deconcept.SWFObjectUtil.getPlayerVersion();if((version["major"]>0)){var yourInstall="You have Flash player "+version["major"]+"."+version["minor"]+"."+version["rev"]+" installed.";}else{var yourInstall="You have no Flash player installed.";}var getLocationUrl=location.href.split("?");var noFlashContent="<div id=\"noflash\"><strong>Your browser doesn't have Flash Player "+flashPluginVersionString+" or higher installed.</strong><br/><br />"+"<a href=\"http://www.matthijskamstra.nl/blog/index.php/flashbox-just-another-box/\" target=\"_blank\" title=\"FlashBox is created by Matthijs Kamstra aka [mck]\">FlashBox</a> is the method used on this website to show inline images, is build for Flash version "+flashPluginVersionString+" and to see it's effects you need to <a href=\"http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash\" title=\"Download latest Flash Plugin\">install the plugin</a><br/><br />"+yourInstall+"<br />Or your browser does not support Javascript (you should enable it, perhaps?). <br /><br />"+"<ul><li><a href=\"http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash\" title=\"Download latest Flash Plugin\">Click here to download</a> the latest version of the Flash Player.</li>"+"<li>If you believe this message is an error, <a href=\""+getLocationUrl[0]+"?detectflash=false\" title=\"Bypass detection\">click here to bypass detection</a> and try again.</li>"+"<li>If you want to <a href=\""+getLocationUrl[0]+"?noflashbox=true\" title=\"I don't want to use FlashBox\">disable FlashBox</a> and try again</li>"+"<li>Do you want to know more about <a href=\"http://www.matthijskamstra.nl/blog/index.php/flashbox-just-another-box/\" target=\"_blank\" title=\"FlashBox is created by Matthijs Kamstra aka [mck]\">FlashBox</a>?</li></ul><br /><br /><b><a href=\"\" onClick=\"closeFlashBox ();return true\">close this window</a></b> (and change nothing)</div>";var ieFlashContent="<div id=\"noflash\"><strong>You are using Internet Explorer 6 for Windows</strong><br/><br />"+"In some cases, <a href=\"http://www.matthijskamstra.nl/blog/index.php/flashbox-just-another-box/\" target=\"_blank\" title=\"FlashBox is created by Matthijs Kamstra aka [mck]\">FlashBox</a> in combination with IE6 causes the content of the site to be blocked. <a href=\"http://www.matthijskamstra.nl/blog/\" title=\"Matthijs Kamstra aka [mck]\">I'm</a> working on a solution, but this is a complex problem.<br/><br/>So for now <strong>you</strong> can deside how to view the images on this website:"+"<ul><li>Just give it a try: <a href=\""+getLocationUrl[0]+"?noie6block=true\" title=\"Let's see what IE6 is doing\">I'm feeling lucky</a> and try again</li>"+"<li><a href=\"http://www.matthijskamstra.nl/blog/index.php/2007/03/16/flashbox-blocks-content-in-ie6/\" title=\"An explanation about this bug\">Read more about this bug</a></li>"+"<li><a href=\""+getLocationUrl[0]+"?noflashbox=true\" title=\"I don't want to use FlashBox\">Disable FlashBox</a> and try again</li>"+"<li>Update you're IE6 to <a href=\"http://www.microsoft.com/windows/products/winfamily/ie/default.mspx\" title=\"Download the latest Internet Explorer\">Internet Explorer 7.0</a></li>"+"<li>Or you could do this: <a href=\"http://browsehappy.com/browsers/\" title=\"Be a happy browser\">browse happy</a> (but you probably don't want to hear that)</li>"+"<li>Do you want to know more about <a href=\"http://www.matthijskamstra.nl/blog/index.php/flashbox-just-another-box/\" target=\"_blank\" title=\"FlashBox is created by Matthijs Kamstra aka [mck]\">FlashBox</a>?</li></ul><br /><br /><b><a href=\"\" onClick=\"closeFlashBox ();return true\">close this window</a></b> (and change nothing)</div>";function initialize(){if(getQueryParamValue("noflashbox")=="true"){return;}if(!document.getElementsByTagName){return;}var _1=document.getElementsByTagName("a");for(var i=0;i<_1.length;i++){var _3=_1[i];var _4=String(_3.getAttribute("rel"));if(_3.getAttribute("href")&&((_4.toLowerCase().match("flashbox"))||(_4.toLowerCase().match("lightbox")))){_3.onclick=function(){start(this);return false;};}}var _5=document.getElementsByTagName("body").item(0);var _6=document.createElement("div");_6.setAttribute("id","overlay");_6.style.display="none";_6.onclick=function(){closeFlashBox();return false;};_5.appendChild(_6);var _7=document.createElement("div");_7.setAttribute("id","flashcontent");_7.style.display="none";_7.innerHTML=noFlashContent;_5.appendChild(_7);if(getQueryParamValue("sendafriend").length>3){for(var i=0;i<_1.length;i++){var _9=_1[i];if(_9.getAttribute("href")==getQueryParamValue("sendafriend")){start(_9);return false;}}}}function start(_a){var _b=getPageSize();setHeight("overlay",_b[1]);showFlashBox();imageArray=[];imageNum=0;if(!document.getElementsByTagName){return;}var _c=document.getElementsByTagName("a");if((_a.getAttribute("rel")=="flashbox")||(_a.getAttribute("rel")=="lightbox")){imageArray.push(new Array(_a.getAttribute("href"),_a.getAttribute("title")));}else{for(var i=0;i<_c.length;i++){var _e=_c[i];if(_e.getAttribute("href")&&(_e.getAttribute("rel")==_a.getAttribute("rel"))){imageArray.push(new Array(_e.getAttribute("href"),_e.getAttribute("title")));}}while(imageArray[imageNum][0]!=_a.getAttribute("href")){imageNum++;}}var _f=getPageScroll();setTop("flashcontent",_f[1]);setSWFObject();}function setSWFObject(){if(blogAddressToFlashBox==undefined){blogAddressToFlashBox="";pluginPath="";}var so=new SWFObject(blogAddressToFlashBox+pluginPath+"flashbox_v01.4.swf","flashbox_v01.4","100%","100%",flashPluginVersionString,"#666666");so.addVariable("useProxyUrl","wp-content/plugins/wp-flashbox/php/use_proxy.php");so.addVariable("imageNum",imageNum);so.addVariable("imgArray",imageArray);so.addVariable("getLocationUrl",getLocationUrl);so.addVariable("totalImg",imageArray.length);for(var i=0;i<imageArray.length;i++){so.addVariable("img_"+i,imageArray[i][0]);so.addVariable("title_"+i,imageArray[i][1]);}so.addVariable("browserOs",BrowserDetect.OS);so.addVariable("browserName",BrowserDetect.browser);so.addVariable("browserVersion",BrowserDetect.version);so.addVariable("debugflashbox",getQueryParamValue("debugflashbox"));so.addVariable("sendafriend",getQueryParamValue("sendafriend"));so.addParam("scale","noscale");if(BrowserDetect.OS=="Mac"&&BrowserDetect.browser=="Firefox"||BrowserDetect.browser=="Camino"){}else{if(BrowserDetect.OS=="Windows"&&BrowserDetect.browser=="Explorer"&&BrowserDetect.version=="6"){if(getQueryParamValue("noie6block")=="true"){so.addParam("wmode","transparent");}else{document.getElementById("flashcontent").innerHTML=ieFlashContent;return;}}else{so.addParam("wmode","transparent");}}so.addParam("align","TL");so.addParam("showMenu","false");so.write("flashcontent");}function getPageScroll(){var _12;if(self.pageYOffset){_12=self.pageYOffset;}else{if(document.documentElement&&document.documentElement.scrollTop){_12=document.documentElement.scrollTop;}else{if(document.body){_12=document.body.scrollTop;}}}arrayPageScroll=new Array("",_12);return arrayPageScroll;}function getPageSize(){var _13,yScroll;if(window.innerHeight&&window.scrollMaxY){_13=document.body.scrollWidth;yScroll=window.innerHeight+window.scrollMaxY;}else{if(document.body.scrollHeight>document.body.offsetHeight){_13=document.body.scrollWidth;yScroll=document.body.scrollHeight;}else{_13=document.body.offsetWidth;yScroll=document.body.offsetHeight;}}var _14,windowHeight;if(self.innerHeight){_14=self.innerWidth;windowHeight=self.innerHeight;}else{if(document.documentElement&&document.documentElement.clientHeight){_14=document.documentElement.clientWidth;windowHeight=document.documentElement.clientHeight;}else{if(document.body){_14=document.body.clientWidth;windowHeight=document.body.clientHeight;}}}if(yScroll<windowHeight){pageHeight=windowHeight;}else{pageHeight=yScroll;}if(_13<_14){pageWidth=_14;}else{pageWidth=_13;}arrayPageSize=new Array(pageWidth,pageHeight,_14,windowHeight);return arrayPageSize;}function setHeight(_15,h){var elm=document.getElementById(_15);elm.style.height=h+"px";}function setTop(_18,t){var elm=document.getElementById(_18);elm.style.top=t+"px";}function onscrollChange(){var _1b=getPageScroll();setTop("flashcontent",_1b[1]);}function closeFlashBox(){window.onscroll=null;document.getElementById("flashcontent").style.display="none";document.getElementById("overlay").style.display="none";}function showFlashBox(){window.onscroll=onscrollChange;document.getElementById("flashcontent").style.display="block";document.getElementById("overlay").style.display="block";}var foobar=new domFunction(initialize);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(_1,id,w,h,_5,c,_7,_8,_9,_a,_b){if(!document.getElementById){return;}this.DETECT_KEY=_b?_b:"detectflash";this.skipDetect=deconcept.util.getRequestParameter(this.DETECT_KEY);this.params=new Object();this.variables=new Object();this.attributes=new Array();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 deconcept.PlayerVersion(_5.toString().split(".")));}this.installedVer=deconcept.SWFObjectUtil.getPlayerVersion();if(c){this.addParam("bgcolor",c);}var q=_8?_8:"high";this.addParam("quality",q);this.setAttribute("useExpressInstall",_7);this.setAttribute("doExpressInstall",false);var _d=(_9)?_9:window.location;this.setAttribute("xiRedirectUrl",_d);this.setAttribute("redirectUrl","");if(_a){this.setAttribute("redirectUrl",_a);}};deconcept.SWFObject.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;},getVariablePairs:function(){var _16=new Array();var key;var _18=this.getVariables();for(key in _18){_16.push(key+"="+_18[key]);}return _16;},getSWFHTML:function(){var _19="";if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","PlugIn");}_19="<embed type=\"application/x-shockwave-flash\" src=\""+this.getAttribute("swf")+"\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\"";_19+=" id=\""+this.getAttribute("id")+"\" name=\""+this.getAttribute("id")+"\" ";var _1a=this.getParams();for(var key in _1a){_19+=[key]+"=\""+_1a[key]+"\" ";}var _1c=this.getVariablePairs().join("&");if(_1c.length>0){_19+="flashvars=\""+_1c+"\"";}_19+="/>";}else{if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX");}_19="<object id=\""+this.getAttribute("id")+"\" classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\">";_19+="<param name=\"movie\" value=\""+this.getAttribute("swf")+"\" />";var _1d=this.getParams();for(var key in _1d){_19+="<param name=\""+key+"\" value=\""+_1d[key]+"\" />";}var _1f=this.getVariablePairs().join("&");if(_1f.length>0){_19+="<param name=\"flashvars\" value=\""+_1f+"\" />";}_19+="</object>";}return _19;},write:function(_20){if(this.getAttribute("useExpressInstall")){var _21=new deconcept.PlayerVersion([6,0,65]);if(this.installedVer.versionIsValid(_21)&&!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 n=(typeof _20=="string")?document.getElementById(_20):_20;n.innerHTML=this.getSWFHTML();return true;}else{if(this.getAttribute("redirectUrl")!=""){document.location.replace(this.getAttribute("redirectUrl"));}}return false;}};deconcept.SWFObjectUtil.getPlayerVersion=function(){var _23=new deconcept.PlayerVersion([0,0,0]);if(navigator.plugins&&navigator.mimeTypes.length){var x=navigator.plugins["Shockwave Flash"];if(x&&x.description){_23=new deconcept.PlayerVersion(x.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."));}}else{try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");}catch(e){try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");_23=new deconcept.PlayerVersion([6,0,21]);axo.AllowScriptAccess="always";}catch(e){if(_23.major==6){return _23;}}try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");}catch(e){}}if(axo!=null){_23=new deconcept.PlayerVersion(axo.GetVariable("$version").split(" ")[1].split(","));}}return _23;};deconcept.PlayerVersion=function(_27){this.major=_27[0]!=null?parseInt(_27[0]):0;this.minor=_27[1]!=null?parseInt(_27[1]):0;this.rev=_27[2]!=null?parseInt(_27[2]):0;};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;};deconcept.util={getRequestParameter:function(_29){var q=document.location.search||document.location.hash;if(q){var _2b=q.substring(1).split("&");for(var i=0;i<_2b.length;i++){if(_2b[i].substring(0,_2b[i].indexOf("="))==_29){return _2b[i].substring((_2b[i].indexOf("=")+1));}}}return "";}};deconcept.SWFObjectUtil.cleanupSWFs=function(){if(window.opera||!document.all){return;}var _2d=document.getElementsByTagName("OBJECT");for(var i=0;i<_2d.length;i++){_2d[i].style.display="none";for(var x in _2d[i]){if(typeof _2d[i][x]=="function"){_2d[i][x]=function(){};}}}};deconcept.SWFObjectUtil.prepUnload=function(){__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){};if(typeof window.onunload=="function"){var _30=window.onunload;window.onunload=function(){deconcept.SWFObjectUtil.cleanupSWFs();_30();};}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(_31){this[this.length]=_31;return this.length;};}var getQueryParamValue=deconcept.util.getRequestParameter;var FlashObject=deconcept.SWFObject;var SWFObject=deconcept.SWFObject;