/********************************************************************************* * Floatbox v4.13 * July 24, 2010 * * Copyright (c) 2008-2010 Byron McGregor * Website: http://randomous.com/floatbox * This software and all associated files are protected by copyright. * Redistribution and modification of the executable portions is prohibited. * Use on any commercial site requires registration and purchase of a license key. * See http://randomous.com/floatbox/license for details. * This comment block must be retained in all deployments. **********************************************************************************/ Floatbox.prototype.customPaths = { installBase: '', modules: '', languages: '', graphics: '' }; function Floatbox(){var a=this;a.proto=Floatbox.prototype;a.extend=function(){var d=arguments,h=d[0]||{},g,c,f;if(d[2]===true){h=d.callee({},h)}for(var e=1,b=d.length;e-1;if(f.K){g.ie=a;g.EF=f.DG(d[fb.VG](d[fb.SO]("Windows NT")+11))<6;g.ED=d[fb.SO](" x64;")>0;h=f.K<=7?1.2:(f.K===8?1.9:1)}else{if(window.opera){g.opera=a;g.GS=f.DD(d)<9.5;g.GR=f.DD(j[fb.VG](j[fb.SO]("Version/")+8))>=10.5;if(g.GS){h=1.5}}else{if(d[fb.SO]("WebKit")>-1){g.KA=a;g.KB=g.FH;g.EP=/iP(hone|od|ad)/.test(j);h=1.5}else{if(j[fb.SO]("Firefox")>-1){g.ff=a;g.CT=f.DG(j[fb.VG](j[fb.SO]("Firefox")+8))<3;g.CS=!g.CT;g.CR=g.FH}else{if(j[fb.SO]("SeaMonkey")>-1){g.seaMonkey=a;g.ID=f.DG(j[fb.VG](j[fb.SO]("SeaMonkey")+10))<2}}}}}f.extend(i,g,{IT:h,Z:self,F:document,CB:document[fb.QJ],CC:document[fb.SB]("head")[0],AP:document.body,FY:f[fb.QF].modules||f.EN+"modules/",FA:f[fb.QF].languages||f.EN+"languages/",DL:f[fb.QF].graphics||f.EN+"graphics/",rtl:f[fb.SH](document.body,"direction")==="rtl"});f.DH("core")}else{f.parent=fb[fb.SV];fb.topBox=fb[fb.SV]=f;fb.children.push(f)}var k=f.DL;f.HU=k+"magnify_plus.cur";f.HR=k+"magnify_minus.cur";f.GN=k+"404.jpg";f.AO=k+"blank.gif";var e=/\bautoStart=(.+?)(?:&|$)/i.exec(location.search);f.AK=e?e[1]:c;f.EJ=a;return f},DK:function(e,d,j){var f,h=document[fb.SB](e),g=h.length;while(g--){if((f=j.exec(h[g][d]))){return f[1]||"./"}}return""},DJ:function(){var e=this,d;function f(i){var h={},g;for(g in i){if(i.hasOwnProperty(g)){h[g==="img"?fb.SL:g]=e.HA(i[g])}}return h}e.J.J=e[fb.SI].globalOptions||{};e.J.BA=e[fb.SI].childOptions||{};e.J.JT=f(e[fb.SI].typeOptions);e.J.BB=f(e[fb.SI].classOptions);e.GX.J=self.fbPageOptions||{};e.GX.BA=self.fbChildOptions||{};e.GX.JT=f(self.fbTypeOptions);e.GX.BB=f(self.fbClassOptions);if((e.J.J.enableCookies||e.GX.J.enableCookies)&&(d=/fbOptions=(.+?)(;|$)/.exec(document.cookie))){e.extend(e.CO,e.HA(d[1]))}if(e.J.J[fb.QN]||e.GX.J[fb.QN]||(location.search&&/enableQueryStringOptions=true/i.test(location.search))){e.extend(e.CO,e.HA(location.search[fb.VG](1)))}e.II(e.BZ);e.II(e.J.J);e.II(e.GX.J);e.II(e.CO)},IH:function(e,d){var g=this,i={},h=g.J,j=g.GX,f=e.AF?e.AF[fb.UL](/\s+/," ").split(" "):[];function k(n){var l={},m=f.length;while(m--){g.extend(l,n.BB[f[m]])}return l}g.extend(i,g.BZ,h.J);if(d){g.extend(i,h.BA)}g.extend(i,h.JT[e.type]);if(e.X){g.extend(i,h.JT[e.X])}g.extend(i,k(h),j.J);if(d){g.extend(i,j.BA)}g.extend(i,j.JT[e.type]);if(e.X){g.extend(i,j.JT[e.X])}g.extend(i,k(j),g.CO,e.EV);return(e.W=e.GT=i)},tagAnchors:function(d){this[fb.PB](d)},activateElements:function(g){var n=this;if(!n.EJ){return n.G(function(){n[fb.PB](g)},50)}if(!(g=fb$(g))){if(n.BY){n.BY(-1)}for(var k=0;k/.test(o.C)){o.type="html";o.X="direct"}else{if((k=/#([a-z][^\s=]*)$/i.exec(o.C))){var n=p.CV(k[1],o.GW);if(n){o.C=n;o.type="html";o.X=fb.SQ}}}if(!o.type){o.type=o.EV.type||p.CU(o.C);if(o.type==="img"){o.type=fb.SL}if(/^(iframe|inline|ajax|direct)$/i.test(o.type)){o.X=o.type;o.type="html"}if(/^(flash|quicktime|wmp|silverlight|pdf)$/i.test(o.type)){o.X=o.type;o.type=fb.SZ}}}if(!o.JI&&o.EV.autoTypes&&(o.EV.autoTypes[fb.SO](o.type)>-1||(o.X&&o.EV.autoTypes[fb.SO](o.X)>-1))){o.JI=a}if(!o.JI){return}if(p.ie&&o.X==="pdf"&&p.EU(o.C)){o.type="html";o.X=fb.SK}if(o.X===fb.SQ){o.BK=p.KE(o.C)}p.IH(o);o.group=o.W.group||o.group||"";p.anchors.push(o);if(o.type===fb.SZ){p.DH(fb.SZ)}if(o.href&&!fb[fb.PJ]){if(p.AK){if(o.W.showThis!==b&&o.href[fb.SO](p.AK)>-1){fb[fb.PJ]=o}}else{if(o.W[fb.PJ]===a){fb[fb.PJ]=o}else{if(o.W[fb.PJ]==="once"){var k=/fbAutoShown=(.+?)(?:;|$)/.exec(document.cookie),f=k?k[1]:"",e=escape(o.href);if(f[fb.SO](e)===-1){fb[fb.PJ]=o;document.cookie="fbAutoShown="+f+e+"; path=/"}}}}}if(p.K===6&&o.B){o.B.hideFocus="true"}if(o.B&&!l){p[fb.PC](o.B,"click",p.CZ(o),p.BD,o.L)}if(l){return o}},CZ:function(d){var e=this;return function(f){if(!(f&&(f.ctrlKey||f.metaKey||f.shiftKey||f.altKey))||d.W.showThis===b||(d.type!==fb.SL&&d.X!==fb.SK)){e.start(this);return e[fb.VD](f)}}},CU:function(j){if(typeof j!==fb.VE){return""}var g=j.search(/[\?#]/),f=(g!==-1)?j[fb.VG](0,g):j,h="",e,k={youtube:/\.com\/(watch\?v=|watch\?(.+)&v=|v\/[\w\-]+)/,"video.yahoo":/\.com\/watch\/\w+\/\w+/,dailymotion:/\.com\/swf\/\w+/,vimeo:/\.com\/\w+/,vevo:/\.com\/(watch\/\w+|videoplayer\/(index|embedded)\?)/i};h=f[fb.VG](f.lastIndexOf(".")+1)[fb.VI]();if(/^(jpe?g|png|gif|bmp)$/.test(h)){return fb.SL}if(/^(html?|php[1-9]?|aspx?)$/.test(h)){return fb.SK}if(h==="swf"){return"flash"}if(h==="pdf"){return"pdf"}if(h==="xap"){return fb.VA}if(/^(mpe?g|movi?e?|3gp|3g2|m4v|mp4|qt)$/.test(h)){return"quicktime"}if(/^(wmv?|avi|asf)$/.test(h)){return"wmp"}if((e=/^(?:http:)?\/\/(?:www.)?([a-z\.]+)\.com\//i.exec(f))&&e[1]){var d=e[1][fb.VI]();if(k[d]&&k[d].test(j)){return"flash"}}return fb.SK},CV:function(j,h){var e=this,g=c;if(typeof j===fb.VE){g=(h&&h[fb.RZ](j))||e.F[fb.RZ](j)||fb$(j);var d=fb[fb.ST].length,f;while(!g&&d--&&(f=fb[fb.ST][d])){if(e.H(f[fb.QT])===fb.SK&&!e.EU(f[fb.QT].src)){if((h=e[fb.SC](f[fb.QT]))){g=h[fb.RZ](j)}}}}return g},KE:function(g){var f=this,d=g[fb.UB];if(d[fb.RW]("data-fb-info")==="wrapper"){return d}else{var e=g[fb.TX][fb.QC]("div");e[fb.UQ]("data-fb-info","wrapper");e.style[fb.QH]=f[fb.SH](g,fb.QH);e.style[fb.VJ]=f[fb.SH](g,fb.VJ);d.replaceChild(e,g);e[fb.PG](g);if(f[fb.SH](g,fb.QH)===fb.TH){g.style[fb.QH]="block"}if(f[fb.SH](g,fb.VJ)===fb.SJ){g.style[fb.VJ]=fb.VK}return e}},HA:function(m){var o=this,l={};if(o.typeOf(m)===fb.TJ){return m}if(typeof m!==fb.VE||!m){return l}var k=[],j,g=/`([^`]*?)`/g;g.lastIndex=0;while((j=g.exec(m))){k.push(j[1])}if(k.length){m=m[fb.UL](g,"``")}m=m[fb.UL](/[\r\n]/g," ");m=m[fb.UL](/\s{2,}/g," ");m=m[fb.UL](/\s*[:=]\s*/g,":");m=m[fb.UL](/\s*[;&,]\s*/g," ");m=m[fb.UL](/^\s+|\s+$/g,"");m=m[fb.UL](/(:\d+)px\b/gi,"$1");var e=m.split(" "),h=e.length;while(h--){var f=e[h].split(":"),d=f[0],n=f[1];if(d){if(!isNaN(n)){n=+n}else{if(n==="true"){n=a}else{if(n==="false"){n=b}else{if(n==="``"){n=k.pop()||""}}}}l[d]=n}}return l},FI:function(f){var e="",d,g;for(d in f){g=f[d];if(g!==""){if(/[:=&;,\s]/.test(g)){g="`"+g+"`"}e+=d+":"+g+" "}}return e},II:function(f){var e=this;for(var d in f){if(e.BZ.hasOwnProperty(d)&&f[d]!==""){e[d]=f[d]}}},DH:function(e,f){var d=fb;if(e&&!(d[e+"Loaded"]||d.FZ[e])){d.FZ[e]=a;d.executeJS((f||d.FY)+e+".js"+d.EX)}},executeJS:function(e){var f=this,h=f.F||document,d=f.CC||h[fb.SB]("head")[0]||h[fb.QJ],g=h[fb.QC]("script");g.type="text/javascript";g.src=e;g.onload=g[fb.TS]=function(){if(/^$|complete|loaded/.test(this.readyState||"")){d[fb.UJ](g);g=g.onload=g[fb.TS]=c}};d.insertBefore(g,d[fb.RT])},getStyle:function(k,f,n){var p=this,h;function m(q){return n?p.P(p.DD(q)||0):q||""}if(!(k=fb$(k))){return c}if(window.getComputedStyle){var g=k[fb.TX]&&(k[fb.TX][fb.QG]||k[fb.TX][fb.UC]);if(!(h=g&&g.getComputedStyle(k,""))){return c}if(f){f=f[fb.UL](/([A-Z])/g,"-$1")[fb.VI]();return m(h.getPropertyValue(f)||"")}}f=f&&f[fb.UL](/-(\w)/g,function(q,r){return r.toUpperCase()});if(k.currentStyle){h=k.currentStyle;if(f){var l=h[f]||"";if(/^[\.\d]+[^\.\d]/.test(l)&&!/^\d+px/i.test(l)){var o=k[fb.TX],e=o[fb.QC]("div");o.body[fb.PG](e);e.style.left=l;l=e.style.pixelLeft+"px";o.body[fb.UJ](e)}return m(l)}}if(h&&!f){var j="",d,i;if(h.cssText){j=h.cssText}else{for(d in h){i=h[d];if(isNaN(d)&&i&&typeof i===fb.VE){j+=d[fb.UL](/([A-Z])/g,"-$1")[fb.VI]()+": "+i+"; "}}}return j}return m((k.style&&f&&k.style[f])||"")},addEvent:function(g,j,h,o,n){var q=this;if((g=fb$(g))){if(g[fb.TF]==9&&/^DOMContentLoaded$/i.test(j)){var k=q.CD.length;while(k--){if(q.CD[k]===h){break}}if(k===-1){q.CD.push(h)}}else{if(g[fb.PD]){g[fb.PD](j,h,b)}else{if(g.attachEvent){if(!o){o=q.DP(h)}q[fb.UK](g,j,h,o);var m=arguments.callee,f="on"+j,l=j+o,e=f+o,p=g[fb.TX]||g,d=p[fb.UC]||g;g[l]=h;g[e]=function(r){if(!r){var i=g[fb.TX];r=i&&i[fb.UC]&&i[fb.UC].event}r.target=r&&(r.target||r.srcElement);if(g&&g[l]){return g[l](r)}};g.attachEvent(f,g[e])}}}if(n||n===0){if(!fb.CM[n]){fb.CM[n]=[]}fb.CM[n].push({a:g,b:j,c:h,d:o})}}return h},removeEvent:function(g,i,h,l){var m=this;g=fb$(g);try{if(!(g&&(g[fb.TF]||g[fb.QI]))){return}}catch(j){return}if(g[fb.PD]){g.removeEventListener(i,h,b)}else{if(g.detachEvent){if(!l){l=m.DP(h)}var f="on"+i,k=i+l,d=f+l;if(g[d]){g.detachEvent(f,g[d])}g[d]=g[k]=c}}},DP:function(g){var f=g+"",e=f.length,d=e;while(d--){e=((e<<5)^(e>>27))^f.charCodeAt(d)}return e},stopEvent:function(f){f=f||window.event;if(f){if(f.stopPropagation){f.stopPropagation()}if(f.preventDefault){f.preventDefault()}try{f.cancelBubble=a}catch(d){}try{f.returnValue=b}catch(d){}try{f.cancel=a}catch(d){}}return b},getElementsByClassName:function(h,j){j=fb$(j)||document[fb.QJ];var f=[];if(j[fb.SA]){var k=j[fb.SA](h),e=k.length;while(e--){f[e]=k[e]}}else{var l=new RegExp("(^|\\s)"+h+"(\\s|$)"),g=j[fb.SB]("*");for(var e=0,d=g.length;e]+[^>\\w-=\"']"+e+"[^\\w\\-]","i")).test(d[fb.SF](f))},encodeHTML:function(d){if(typeof d!==fb.VE){return d}return d[fb.UL](/&/g,"&")[fb.UL](//g,">")[fb.UL](/"/g,""")},decodeHTML:function(e){if(typeof e!==fb.VE){return e}var d=e[fb.UL](/</g,"<")[fb.UL](/>/g,">")[fb.UL](/"/g,'"')[fb.UL](/'/g,"'")[fb.UL](/&/g,"&");return d[fb.UL](/&#(\d+);/g,function(f,g){return fb.JH(+g)})},setInnerHTML:function(d,h){if(!(d=fb$(d))){return b}try{d[fb.SS]=h;return a}catch(l){}try{var n=d[fb.TX],j=n.createRange();j.selectNodeContents(d);j.deleteContents();if(h){var f=(new DOMParser).parseFromString('
'+h+"
","application/xhtml+xml"),m=f[fb.QJ].childNodes;for(var g=0,k=m.length;g0},flashObject:function(e,i,r,l,k,g){var s=this,q=(i+"")[fb.UL]("px","")||"100%",o=(r+"")[fb.UL]("px","")||"100%",f={wmode:"opaque",scale:"exactfit",play:"false",quality:"high"},j=fb$(k);if(typeof l===fb.TJ){s.extend(f,l)}var m=''}else{m+='type="application/x-shockwave-flash" data="'+e+'">'}for(var d in f){if(f.hasOwnProperty(d)){m+=''}}m+="";if(j&&j[fb.TF]==1){s[fb.UR](j,m)}else{document.write(m)}},start:function(f,d){var e=this;e.G(function(){e.start(f,d)},100)},preload:function(f,g,e){var d=this;d.G(function(){d.preload(f,g,e)},250)},BT:function(f,d){var e=this;e.G(function(){e.BT(f,d)},200)},JN:function(f,d){var e=this;e.G(function(){e.JN(f,d)},200)},HC:function(){var d=this;d.G(function(){d.HC()},150)},translate:function(f,d,g){var e=this;e.G(function(){e.translate(f,d,g)},200)},ajax:function(h,g){var d=this;if(g===d.undefined){if(window.XMLHttpRequest){g=new XMLHttpRequest}else{try{g=new ActiveXObject("Msxml2.XMLHTTP.6.0")}catch(f){try{g=new ActiveXObject("Msxml2.XMLHTTP")}catch(f){}}}}g=g||b;d.G(function(){d.ajax(h,g)},200);return g},printNode:function(f,e){var d=this;d.G(function(){d.printNode(f,e)},200)},I:function(e,f){var d=this;d.G(function(){d.I(e,f)},200)}})})();var fb$=function(a){return typeof a===fb.VE?(document[fb.RZ](a)||null):a};if(typeof fb.K==="undefined"){fb.proto.EX=fb.DK("script","src",/floatbox.js(\?.*)$/i);fb.proto.K=0;(function(){var a=document[fb.QC]("div");fb[fb.UR](a,'');if(a[fb.RT]&&a[fb.RT].id==="fb_ieChk"){if(document.documentMode){fb.proto.K=document.documentMode}else{fb[fb.UR](a,'');fb.proto.K=a[fb.RT]&&a[fb.RT].id==="fb_ie6"?6:7}}fb[fb.UR](a,"");a=null})()}fb[fb.PC](document,"DOMContentLoaded",fb.IZ);fb[fb.PC](window,"load",function(){fb.GP();if(!fb.EJ){return fb.G(arguments.callee,50)}var c=self[fb.QI].body;if(c[fb.SB]("a").length>document.fbAnchorCount){fb[fb.PB](c)}var b=fb[fb.SV];if(b[fb.SD]()===self){if(b.coreLoaded&&b[fb.QE].W[fb.UP]==="no"){b.resize()}if(!b.modal){b[fb.PC](document[fb.QJ],"click",function(){if(b!==fb.topBox){b.HV()}})}}if(fb.Z===self){fb.I(null,fb.KD)}var d;if(self===fb.Z&&fb[fb.UU]!==fb.TH&&fb[fb.UT]){var e=fb.DL+"shadow",a="_s"+fb[fb.UT]+"_r"+fb[fb.QB]+".png";d=[e+fb.QA+a,e+fb.QA+a[fb.UL]("_r"+fb[fb.QB],"_r0")];if(fb[fb.UU]==="halo"){d.push(e+"Top"+a,e+"Left"+a)}else{a="_drop"+a}d.push(e+"Right"+a,e+"Bottom"+a)}fb.G(function(){fb.preload(d,null,true)},200);fb[fb.PC](window,"unload",function(){if(self.fb&&fb.D&&fb.Z===self){fb.D("*");var f=fb[fb.ST].length;while(f--){fb.BY(f);fb.destroyDOM(f)}fb.BY(-1);var f=fb.HH.length;while(f--){fb.HH[f]=null}}})});if(document[fb.PD]){document[fb.PD]("DOMContentLoaded",fb.GP,false)};(function(){/*@cc_on try{document.body.doScroll('up');return fb.GP();}catch(e){}/*@if (false) @*/if(/loaded|complete/.test(document.readyState))return fb.GP();/*@end @*/if(fb.CD.length)fb.G(arguments.callee,20);})();