var isIE=(navigator.appVersion.indexOf("MSIE")!=-1)?true:false;var isWin=(navigator.appVersion.toLowerCase().indexOf("win")!=-1)?true:false;var isOpera=(navigator.userAgent.indexOf("Opera")!=-1)?true:false;function ControlVersion(){var a;var b;var c;try{b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");a=b.GetVariable("$version")}catch(c){}if(!a){try{b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");a="WIN 6,0,21,0";b.AllowScriptAccess="always";a=b.GetVariable("$version")}catch(c){}}if(!a){try{b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");a=b.GetVariable("$version")}catch(c){}}if(!a){try{b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");a="WIN 3,0,18,0"}catch(c){}}if(!a){try{b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");a="WIN 2,0,0,11"}catch(c){a=-1}}return a}function GetSwfVer(){var g=-1;if(navigator.plugins!=null&&navigator.plugins.length>0){if(navigator.plugins["Shockwave Flash 2.0"]||navigator.plugins["Shockwave Flash"]){var f=navigator.plugins["Shockwave Flash 2.0"]?" 2.0":"";var a=navigator.plugins["Shockwave Flash"+f].description;var e=a.split(" ");var c=e[2].split(".");var h=c[0];var b=c[1];var d=e[3];if(d==""){d=e[4]}if(d[0]=="d"){d=d.substring(1)}else{if(d[0]=="r"){d=d.substring(1);if(d.indexOf("d")>0){d=d.substring(0,d.indexOf("d"))}}else{if(d[0]=="b"){d=d.substring(1)}}}var g=h+"."+b+"."+d}}else{if(navigator.userAgent.toLowerCase().indexOf("webtv/2.6")!=-1){g=4}else{if(navigator.userAgent.toLowerCase().indexOf("webtv/2.5")!=-1){g=3}else{if(navigator.userAgent.toLowerCase().indexOf("webtv")!=-1){g=2}else{if(isIE&&isWin&&!isOpera){g=ControlVersion()}}}}}return g}function DetectFlashVer(f,d,c){versionStr=GetSwfVer();if(versionStr==-1){return false}else{if(versionStr!=0){if(isIE&&isWin&&!isOpera){tempArray=versionStr.split(" ");tempString=tempArray[1];versionArray=tempString.split(",")}else{versionArray=versionStr.split(".")}var e=versionArray[0];var a=versionArray[1];var b=versionArray[2];if(e>parseFloat(f)){return true}else{if(e==parseFloat(f)){if(a>parseFloat(d)){return true}else{if(a==parseFloat(d)){if(b>=parseFloat(c)){return true}}}}}return false}}}function AC_AddExtension(d,a){var c=d.indexOf("?");if(c!=-1){var b=d.substring(0,c);if(b.length>=a.length&&b.lastIndexOf(a)==(b.length-a.length)){return d}else{return d.replace(/\?/,a+"?")}}else{if(d.length>=a.length&&d.lastIndexOf(a)==(d.length-a.length)){return d}else{return d+a}}}function AC_Generateobj(e,d,a){var c="";if(isIE&&isWin&&!isOpera){c+="<object ";for(var b in e){c+=b+'="'+e[b]+'" '}c+=">";for(var b in d){c+='<param name="'+b+'" value="'+d[b]+'" /> '}c+="</object>"}else{c+="<embed ";for(var b in a){c+=b+'="'+a[b]+'" '}c+="> </embed>"}document.write(c)}function AC_FL_RunContent(){var a=AC_GetArgs(arguments,".swf","movie","clsid:d27cdb6e-ae6d-11cf-96b8-444553540000","application/x-shockwave-flash");AC_Generateobj(a.objAttrs,a.params,a.embedAttrs)}function AC_GetArgs(b,e,g,d,h){var a=new Object();a.embedAttrs=new Object();a.params=new Object();a.objAttrs=new Object();for(var c=0;c<b.length;c=c+2){var f=b[c].toLowerCase();switch(f){case"classid":break;case"pluginspage":a.embedAttrs[b[c]]=b[c+1];break;case"src":case"movie":b[c+1]=AC_AddExtension(b[c+1],e);a.embedAttrs.src=b[c+1];a.params[g]=b[c+1];break;case"onafterupdate":case"onbeforeupdate":case"onblur":case"oncellchange":case"onclick":case"ondblClick":case"ondrag":case"ondragend":case"ondragenter":case"ondragleave":case"ondragover":case"ondrop":case"onfinish":case"onfocus":case"onhelp":case"onmousedown":case"onmouseup":case"onmouseover":case"onmousemove":case"onmouseout":case"onkeypress":case"onkeydown":case"onkeyup":case"onload":case"onlosecapture":case"onpropertychange":case"onreadystatechange":case"onrowsdelete":case"onrowenter":case"onrowexit":case"onrowsinserted":case"onstart":case"onscroll":case"onbeforeeditfocus":case"onactivate":case"onbeforedeactivate":case"ondeactivate":case"type":case"codebase":a.objAttrs[b[c]]=b[c+1];break;case"id":case"width":case"height":case"align":case"vspace":case"hspace":case"class":case"title":case"accesskey":case"name":case"tabindex":a.embedAttrs[b[c]]=a.objAttrs[b[c]]=b[c+1];break;default:a.embedAttrs[b[c]]=a.params[b[c]]=b[c+1]}}a.objAttrs.classid=d;if(h){a.embedAttrs.type=h}return a};var LBI=window.LBI||{};LBI.custom={toggle:(function(){var a={controller:".control",controlElem:".expandContent",active:-1,animation:false,collapsible:false};function c(i,f,e,h){var d=jQuery(i),g=d.attr("href");f.removeClass("selected");d.addClass("selected");if(h.animation){if(LBI.custom.toggle.externalControl){e.removeClass("selected")}else{e.slideUp(300)}jQuery(g).slideDown("slow")}else{e.removeClass("selected");jQuery(g).addClass("selected")}}var b=function(f,d){var e=jQuery.extend({},a,d||{});jQuery(f).each(function(){var h=jQuery(this).find(e.controller),g=jQuery(this).find(e.controlElem);g.removeClass("selected");if(e.active<0){jQuery(g[0]).addClass("selected")}h.bind("click",function(){c(this,h,g,e);return false})})};return{init:b,externalControl:false}}()),quickLinks:(function(){function a(){jQuery(".quick_links a").bind("click",function(){var b=jQuery(this).attr("href");LBI.custom.toggle.externalControl=true;jQuery(b+" .control").click();LBI.custom.toggle.externalControl=false})}return{init:function(){a()}}}()),contactMap:(function(){var e=null;var f=null;var b=null;markers=[{City:"AbuDhabi",Address:"Hamdan Street<br />Abu Dhabi<br />P. O. Box 40280",ID:"gmapid-f4ee60ac-beda-4eff-86d1-b4d98028fff5",Latitude:"24.492736",Longitude:"54.36733",Title:"Abu Dhabi",Website:"http://www.lbi.com/en/AbuDhabi/ContactUs_Accessible/"},{City:"Amsterdam",Address:"Joop Geesinkweg, 209<br />1096 Amsterdam",ID:"gmapid-48afc882-6630-49db-ac7f-83da7eee95f4",Latitude:"52.335437",Longitude:"4.933818",Title:"Amsterdam",Website:"http://www.lostboys.nl/"},{City:"Atlanta",Address:"1888 Emery St NW<br />GA 30318<br />Atlanta",ID:"gmapid-ab1f934f-b372-4dd6-8703-972660536f08",Latitude:"33.808192",Longitude:"-84.414356",Title:"Atlanta",Website:"http://www.lbiatlanta.com/"},{City:"Berlin-Iven_and_Hillmann",Address:"Monbijouplatz 10<br />10178,Berlin",ID:"gmapid-ff4ce9c0-3ba9-4f1a-819e-9833549bd291",Latitude:"52.523221",Longitude:"13.39905",Title:"Berlin - Iven and Hillmann",Website:"http://www.iven-hillmann.com/"},{City:"Berlin-Metadesign",Address:"Leibnizstra&#223;e 65<br />10625 Berlin",ID:"gmapid-04c33b1a-870e-429a-850f-0adac97a2e87",Latitude:"52.504513",Longitude:"13.313601",Title:"Berlin - Metadesign",Website:"http://www.metadesign.de/"},{City:"Brussels",Address:"Vorstlaan 191 Bd du Souverain<br />1160 Brussels",ID:"gmapid-659d6ba1-3f7b-47e2-84a6-cc21b6710730",Latitude:"50.81767",Longitude:"4.427101",Title:"Brussels",Website:"http://www.lbigroup.be"},{City:"Cologne",Address:"Hansaring 97<br />50670 K&#246;ln",ID:"gmapid-0f5bde35-c0dc-439b-a740-d197b1147490",Latitude:"50.948661",Longitude:"6.950942",Title:"Cologne",Website:"http://www.lbi-germany.de/"},{City:"Copenhagen",Address:"Vermundsgade 40A<br />2100 Kobenhavn",ID:"gmapid-20750ec6-6c60-442f-bd84-c368003664d8",Latitude:"55.708012",Longitude:"12.550244",Title:"Copenhagen",Website:"http://www.lbicph.com/"},{City:"Exeter",Address:"Broadwalk House North<br />Southernhay West<br />Exeter<br />EX1 1TS",ID:"gmapid-34cbb5a3-6a84-48f6-bda1-806de25a99b9",Latitude:"50.721935",Longitude:"-3.527588",Title:"Exeter",Website:"http://www.lbi-netrank.co.uk/"},{City:"Ghent",Address:"Kortrijksesteenweg 1144 bus N<br />9051 Sint-Denijs-Westrem",ID:"gmapid-6c037cb0-1b79-470b-ac8d-74156ea6da16",Latitude:"51.018497",Longitude:"3.673496",Title:"Ghent",Website:"http://www.lbigroup.be"},{City:"Gothenburg",Address:"&#214;stra Larmgatan 16<br />411 07 G&#246;teborg",ID:"gmapid-5e1f37be-c8ad-4779-bd2b-32ea7e93a50f",Latitude:"57.7052019662899",Longitude:"11.9712996482849",Title:"Gothenburg",Website:"http://www.lbigot.com/"},{City:"Hamburg",Address:"M&#246;nkedamm 11<br />20457 Hamburg",ID:"gmapid-ace41414-f5fa-40d2-944d-c6da8ee73dff",Latitude:"53.549013",Longitude:"9.989206",Title:"Hamburg",Website:"http://www.lbi-germany.de/"},{City:"London",Address:"Atlantis Building<br />Truman Brewery<br />146 Brick Lane<br />London E1 6RU",ID:"gmapid-c40d9812-c875-4222-8e52-eecc81be1a42",Latitude:"51.5217218177544",Longitude:"-0.0715184211730957",Title:"London",Website:"http://www.lbi.co.uk/"},{City:"Madrid",Address:"Jos&#233; Echegaray, 6<br />Edificio B, planta 1a<br />Parque Empresarial Las Rozas<br />28230 - Las Rozas, Madrid",ID:"gmapid-52980617-6c5b-42f7-a46a-165d9c4427fc",Latitude:"40.523297",Longitude:"-3.89029",Title:"Madrid",Website:"http://www.lbigroup.es/"},{City:"Malmo",Address:"Brogatan 10<br />211 44 Malm&#246;",ID:"gmapid-efd76f77-c178-4822-a1f2-0e73a92e8551",Latitude:"55.5973",Longitude:"13.002658",Title:"Malmo",Website:"http://www.lbigot.com/"},{City:"Milan",Address:"Via Marghera 43<br />20149 Milano",ID:"gmapid-42e2b9b5-42f8-40cd-9733-ee965e3b0c41",Latitude:"45.466697",Longitude:"9.151703",Title:"Milan",Website:"http://www.iconmedialab.it/"},{City:"Mumbai",Address:"126, Mathura Das Mill Compound<br />N.M. Joshi Marg,<br />Lower Parel,<br />Mumbai - 400 013",ID:"gmapid-288408ab-4c38-4595-bb9f-e538ca1f7395",Latitude:"19.001358",Longitude:"72.831392",Title:"Mumbai",Website:"http://www.lbi.co.in/"},{City:"Munich",Address:"Kolosseumstra&#223;e 1<br />80469 M&#252;nchen",ID:"gmapid-508056e3-57e4-4bae-a7f1-10f12d3c6f46",Latitude:"48.130867",Longitude:"11.571286",Title:"Munich",Website:"http://www.lbi-germany.de/"},{City:"NewYork-IconNicholson",Address:"295 Lafayette St<br />New York<br />NY 10012",ID:"gmapid-1a731a6a-508e-4534-864b-9c33b349d0fa",Latitude:"40.724706",Longitude:"-73.995452",Title:"NY - IconNicholson",Website:"http://www.iconnicholson.com/"},{City:"NewYork-Special_Ops_Media",Address:"Park Avenue South 235<br />5th floor<br />New York, NY 10003",ID:"gmapid-f7714cf1-88b5-4b27-a117-1d76c44cdaf9",Latitude:"40.737687",Longitude:"-73.987659",Title:"NY - Special Ops Media",Website:"http://www.specialopsmedia.com/"},{City:"NewYork-Syrup",Address:"Vestry street 12<br />7th floor<br />New York, NY 10013",ID:"gmapid-0c75448c-4bba-4f4f-9530-4559d6b9ba25",Latitude:"40.722775",Longitude:"-74.007266",Title:"NY - Syrup",Website:"http://www.syrupnyc.com/"},{City:"Paris",Address:"19,rue de Jussieu<br />75005,Paris",ID:"gmapid-95cab2e0-e3a9-4207-a005-66850ccb9de2",Latitude:"48.845996",Longitude:"2.355299",Title:"Paris",Website:"http://www.lbi.com/"},{City:"Stockholm",Address:"Kungsgatan,6<br />S-111 43<br />Stockholm",ID:"gmapid-2520bc0c-ba8d-4e7d-bb53-ccd5d0786f19",Latitude:"59.336194",Longitude:"18.06999",Title:"Stockholm",Website:"http://www.lbisweden.se/"},{City:"Zurich",Address:"Gerechtigkeitsgasse,6<br />8001,Z&#252;rich",ID:"gmapid-576de780-2cf6-4394-9d86-47db1d629a46",Latitude:"47.369988",Longitude:"8.531999",Title:"Zurich",Website:"http://www.lbi-switzerland.com/"}];function c(h){for(var g=0;g<markers.length;g++){if(markers[g].City==h){return g}}}function a(i){i=i||0;var g=jQuery("#address");if(g.length>0){var h="<p>LBi ";h+=markers[i].Title;h+="<br />";h+=markers[i].Address;h+="</p>";g.html(h)}}function d(k){k=k||0;if(jQuery("#contact").length>0){var l=new GMap2(document.getElementById("img-feature")),j=new GIcon(G_DEFAULT_ICON),g;l.setCenter(new GLatLng(markers[k].Latitude,markers[k].Longitude),15);l.setUIToDefault();j.image="/wp-content/themes/lbi/assets/img/map-marker.png";j.shadow="http://www.google.com/mapfiles/shadow50.png";j.iconSize=new GSize(33,41);j.shadowSize=new GSize(22,20);g={icon:j};for(var h=0;h<markers.length;h++){b=new GLatLng(markers[h].Latitude,markers[h].Longitude);f=new GMarker(b,g);l.addOverlay(f);GEvent.addListener(f,"click",(function(m,i){return function(){var n="<b>#"+m.Title+"</b><br />"+m.Address+'<br /><a href="'+m.Website+'">'+m.Website+"</a>";l.openInfoWindowHtml(i,n)}})(markers[h],b))}}}return{init:function(){branch=c(myLBi);d(branch);a(branch);jQuery(".branchFocus").bind("click",function(){for(var g=0;g<markers.length;g++){if($(this).hasClass(markers[g].City)){d(g);break}}})}}}()),styleTagline:(function(){function a(){var b=jQuery("h2.random_tagline");if(b.length>0){var c=b.text(),d="",e=c.split(" "),f;jQuery.each(e,function(g,h){f=h.split("");jQuery.each(f,function(i,j){if(i===0){d+="<span>"+j+"</span>"}else{d+=j}});d+=" "});b.html(d)}}return{init:function(){a()}}}()),newWin:(function(){return{init:function(){jQuery(".winnew").click(function(){var a=window.open(jQuery(this).attr("href"),"pop");a.focus();return false})}}}()),twitterFeed:(function(){function b(){var d=jQuery("#img-feature"),g=jQuery("#orientation"),c=d.offset().top+d.height(),f=g.offset().top+g.height(),e=(c-f)-44;jQuery("#featured-post").css({marginTop:-e})}function a(){var d=jQuery("#tweet");if(d.length>0){var c=location.host;jQuery.get("http://"+c+"/proxy/proxy.php",{city:myLBi},function(e){if(typeof e==="string"){d[0].innerHTML=e}},"html")}b()}return{init:function(){a()}}}()),territorySelect:(function(){function a(){jQuery(".territoryTrigger").bind("click",function(){if(jQuery(".territorySelector").width()!=594){jQuery(".territorySelector").animate({height:"347",width:"594"},500,function(){jQuery(".territoryPanel").fadeIn("fast");jQuery("#tagline").hide();jQuery("#tagline").css("z-index",150003);jQuery("#tagline").fadeIn("slow")});jQuery(".territoryWrapper").css("z-index",150002);jQuery(".territorySelector").css("z-index",150001);jQuery("#cboxOverlay").css({opacity:0.7}).show()}jQuery("#cboxOverlay").bind("click",function(){jQuery(".territoryPanel").hide();jQuery("#cboxOverlay").hide();jQuery(".territorySelector").css("height","20px");jQuery(".territorySelector").css("width","200px");jQuery(".territoryWrapper").css("z-index",17);jQuery(".territorySelector").css("z-index",16);jQuery("#tagline").css("z-index",1)})});jQuery(".closeCross").bind("click",function(){jQuery("#cboxOverlay").click()})}return{init:function(){a()}}}()),ajaxTabs:(function(){function a(){jQuery(".ajaxTabs li a").bind("click",function(){var b=jQuery(".ajaxTabs li a").index(this);jQuery(".tabLoader").show();var c=jQuery(this);jQuery(".ajaxContent").eq(b).load(c.attr("href"),function(){jQuery(".ajaxTabs li a").removeClass("selected");jQuery(".subContent").removeClass("selected");jQuery(".subContent").eq(b).addClass("selected");$(c).addClass("selected");LBI.custom.toggle.init(jQuery(".expander"),{collapsible:true,animation:true});jQuery(".tabLoader").hide()});return false})}return{init:function(){a()}}}()),BCS_bio:(function(){function a(){$(".show-bio").colorbox({width:"50%",inline:true,href:function(){return"#"+$(this).parent().children("div").attr("id")}})}return{init:function(){a()}}}())};jQuery(document).ready(function(){LBI.custom.toggle.init(jQuery(".expander"),{collapsible:true,animation:true});LBI.custom.toggle.init(jQuery(".tabs"),{controller:".tabControls a",controlElem:".content"});LBI.custom.quickLinks.init();LBI.custom.contactMap.init();LBI.custom.styleTagline.init();LBI.custom.newWin.init();LBI.custom.twitterFeed.init();LBI.custom.territorySelect.init();LBI.custom.ajaxTabs.init();LBI.custom.BCS_bio.init()});BrowserHistoryUtils={addEvent:function(e,d,b,a){a=a||false;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}}}};BrowserHistory=(function(){var B={ie:false,firefox:false,safari:false,opera:false,version:-1};var c="";var d=document.location.href;var w=document.location.href;var b=document.location.hash;var h="history/historyFrame.html?";var t=-1;var E=[];var v=l(w,w+"#"+b,b);var y=[];var k=[];var i=null;var s=navigator.userAgent.toLowerCase();if(s.indexOf("opera")!=-1){B.opera=true}else{if(s.indexOf("msie")!=-1){B.ie=true;B.version=parseFloat(s.substring(s.indexOf("msie")+4))}else{if(s.indexOf("safari")!=-1){B.safari=true;B.version=parseFloat(s.substring(s.indexOf("safari")+7))}else{if(s.indexOf("gecko")!=-1){B.firefox=true}}}}if(B.ie==true&&B.version==7){window._ie_firstload=false}function n(){return document.getElementById("ie_historyFrame")}function q(){return document.getElementById("firefox_anchorDiv")}function p(){return document.getElementById("safari_formDiv")}function a(){return document.getElementById("safari_remember_field")}function o(I){if(I&&document.getElementById(I)){var F=document.getElementById(I);if(typeof F.SetVariable!="undefined"){return F}else{var H=F.getElementsByTagName("object");var G=F.getElementsByTagName("embed");if(H.length>0&&typeof H[0].SetVariable!="undefined"){return H[0]}else{if(G.length>0&&typeof G[0].SetVariable!="undefined"){return G[0]}}}}else{var H=document.getElementsByTagName("object");var G=document.getElementsByTagName("embed");if(G.length>0&&typeof G[0].SetVariable!="undefined"){return G[0]}else{if(H.length>0&&typeof H[0].SetVariable!="undefined"){return H[0]}else{if(H.length>1&&typeof H[1].SetVariable!="undefined"){return H[1]}}}}return undefined}function u(){var G=[];if(G.length==0){var F=document.getElementsByTagName("object");G=F}if(G.length==0||G[0].object==null){var F=document.getElementsByTagName("embed");G=F}return G}function g(){var G=n().contentWindow.document;var F=String(G.location.search);if(F.length==1&&F.charAt(0)=="?"){F=""}else{if(F.length>=2&&F.charAt(0)=="?"){F=F.substring(1)}}return F}function m(){var F=document.location.href.indexOf("#");return(F>=0)?document.location.href.substr(F+1):""}function f(F){if(F==""){F="#"}document.location.hash=F}function l(F,G,H){return{baseUrl:F,newUrl:G,flexAppUrl:H,title:null}}function D(L,F,N){k=[];if(B.ie){if(N==c&&document.location.href==w&&window._ie_firstload){d=w;return}if((!N||N==c)&&window._ie_firstload){F=L+"#"+c;N=c}else{n().src=h+N}f(N)}else{if(y.length==0&&v.flexAppUrl==N){v=l(L,F,N)}else{if(y.length>0&&y[y.length-1].flexAppUrl==N){y[y.length-1]=l(L,F,N)}}if(B.safari){if(B.version<=419.3){var H=window.location.pathname.toString();H=H.substring(H.lastIndexOf("/")+1);p().innerHTML='<form name="historyForm" action="'+H+"#"+N+'" method="GET"></form>';var M=window.location.search.substring(1);var I=M.split("&");for(var J=0;J<I.length;J++){var K=I[J].split("=");var G=document.createElement("input");G.type="hidden";G.name=K[0];G.value=K[1];document.forms.historyForm.appendChild(G)}document.forms.historyForm.submit()}else{top.location.hash=N}E[history.length]=N;x()}else{A(N);f(N)}}y.push(l(L,F,N))}function x(){if(B.safari){a().value=E.join(",")}}function j(){var G=y.pop();if(!G){return}var F=y[y.length-1];if(!F&&y.length==0){F=v}k.push(G)}function z(){var F=k.pop();if(!F){return}y.push(F)}function e(){k=[]}function r(){if(B.ie){if(d!=document.location.href&&d+"#"!=document.location.href){if(B.version<7){d=document.location.href;document.location.reload()}else{if(m()!=g()){var F=h+m();n().src=F}}}}if(B.safari){if(t>=0&&history.length!=t){var L=m();if(B.version<528.16){t=history.length;L=E[t]}if(typeof BrowserHistory_multiple!="undefined"&&BrowserHistory_multiple==true){var J=u();for(var I=0;I<J.length;I++){J[I].browserURLChange(L)}}else{o().browserURLChange(L)}x()}}if(B.firefox){if(d!=document.location.href){var H=y.length;var K={back:false,forward:false,set:false};if((window.location.hash==b||window.location.href==w)&&(H==1)){K.back=true;j()}if(k.length>0){if(k[k.length-1].flexAppUrl==m()){K.forward=true;z()}}if((H>=2)&&(y[H-2])){if(y[H-2].flexAppUrl==m()){K.back=true;j()}}if(!K.back&&!K.forward){var G={back:-1,forward:-1};for(var I=0;I<y.length;I++){if(y[I].flexAppUrl==m()&&I!=(H-2)){arbitraryUrl=true;G.back=I}}for(var I=0;I<k.length;I++){if(k[I].flexAppUrl==m()&&I!=(H-2)){arbitraryUrl=true;G.forward=I}}e()}d=document.location.href;var L=m();if(L==""){}if(typeof BrowserHistory_multiple!="undefined"&&BrowserHistory_multiple==true){var J=u();for(var I=0;I<J.length;I++){J[I].browserURLChange(L)}}else{o().browserURLChange(L)}}}}function A(F){if(document.getElementsByName(F).length==0){q().innerHTML+="<a name='"+F+"'>"+F+"</a>"}}var C=function(){if(B.ie){var I=document.getElementsByTagName("script");for(var M=0,P;P=I[M];M++){if(P.src.indexOf("history.js")>-1){var K=(new String(P.src)).replace("history.js","historyFrame.html")}}h=K+"?";var F=h;var J=document.createElement("iframe");J.id="ie_historyFrame";J.name="ie_historyFrame";try{document.body.appendChild(J)}catch(N){setTimeout(function(){document.body.appendChild(J)},0)}}if(B.safari){var H=document.createElement("div");H.id="safari_rememberDiv";document.body.appendChild(H);H.innerHTML='<input type="text" id="safari_remember_field" style="width: 500px;">';var G=document.createElement("div");G.id="safari_formDiv";document.body.appendChild(G);var O=document.createElement("div");O.id="safarireloader";var I=document.getElementsByTagName("script");for(var M=0,P;P=I[M];M++){if(P.src.indexOf("history.js")>-1){html=(new String(P.src)).replace(".js",".html")}}O.innerHTML='<iframe id="safarireloader-iframe" src="about:blank" frameborder="no" scrolling="no"></iframe>';document.body.appendChild(O);O.style.position="absolute";O.style.left=O.style.top="-9999px";J=O.getElementsByTagName("iframe")[0];if(document.getElementById("safari_remember_field").value!=""){E=document.getElementById("safari_remember_field").value.split(",")}}if(B.firefox){var L=document.createElement("div");L.id="firefox_anchorDiv";document.body.appendChild(L)}};return{historyHash:E,backStack:function(){return y},forwardStack:function(){return k},getPlayer:o,initialize:function(F){C(F)},setURL:function(F){document.location.href=F},getURL:function(){return document.location.href},getTitle:function(){return document.title},setTitle:function(H){try{y[y.length-1].title=H}catch(G){}if(B.safari){if(H==""){try{var F=window.location.href.toString();H=F.substring((F.lastIndexOf("/")+1),F.lastIndexOf("#"))}catch(G){H=""}}}document.title=H},setDefaultURL:function(J){c=J;J=m();if(B.ie){window._ie_firstload=true;var F=h+J;var H=function(){n().src=F;window.location.replace("#"+J);setInterval(r,50)};try{H()}catch(K){window.setTimeout(function(){H()},0)}}if(B.safari){t=history.length;if(E.length==0){E[t]=J;var I="#"+J;window.location.replace(I)}else{}setInterval(r,50)}if(B.firefox||B.opera){var G=new RegExp("#"+J+"$");if(window.location.toString().match(G)){}else{var I="#"+J;window.location.replace(I)}setInterval(r,50)}},setBrowserURL:function(J,F){if(B.ie&&typeof F!="undefined"){i=F}var I=document.location.href.indexOf("#");var G=I!=-1?document.location.href.substr(0,I):document.location.href;var H=G+"#"+J;if(document.location.href!=H&&document.location.href+"#"!=H){d=H;D(G,H,J);t=history.length}},browserURLChange:function(J){var F=null;if(B.ie&&i!=null){F=i}pendingURL="";if(typeof BrowserHistory_multiple!="undefined"&&BrowserHistory_multiple==true){var H=u();for(var G=0;G<H.length;G++){try{H[G].browserURLChange(J)}catch(I){}}}else{try{o(F).browserURLChange(J)}catch(I){}}i=null},getUserAgent:function(){return navigator.userAgent},getPlatform:function(){return navigator.platform}}})();function setURL(a){document.location.href=a}function backButton(){history.back()}function forwardButton(){history.forward()}function goForwardOrBackInHistory(a){history.go(a)}(function(i){var u=navigator.userAgent;var e=
/*@cc_on!@*/
false;var st=setTimeout;if(/webkit/i.test(u)){st(function(){var dr=document.readyState;if(dr=="loaded"||dr=="complete"){i()}else{st(arguments.callee,10)}},10)}else{if((/mozilla/i.test(u)&&!/(compati)/.test(u))||(/opera/i.test(u))){document.addEventListener("DOMContentLoaded",i,false)}else{if(e){(function(){var t=document.createElement("doc:rdy");try{t.doScroll("left");i();t=null}catch(e){st(arguments.callee,0)}})()}else{window.onload=i}}}})(function(){BrowserHistory.initialize()});(function(z){var p="colorbox",n="hover",v=true,O=false,U,l=!z.support.opacity,Q=l&&!window.XMLHttpRequest,T="click.colorbox",w="cbox_open",I="cbox_load",s="cbox_complete",H="cbox_cleanup",m="cbox_closed",L="resize.cbox_resize",E,R,S,d,x,i,b,D,c,M,B,f,q,h,k,J,j,G,r,V,g,e,a,o,y,N,u,K,F,A={transition:"elastic",speed:350,width:O,height:O,innerWidth:O,innerHeight:O,initialWidth:"400",initialHeight:"400",maxWidth:O,maxHeight:O,scalePhotos:v,scrolling:v,inline:O,html:O,iframe:O,photo:O,href:O,title:O,rel:O,opacity:0.7,preloading:v,current:"image {current} of {total}",previous:"previous",next:"next",close:"Close",open:O,overlayClose:v,slideshow:O,slideshowAuto:v,slideshowSpeed:2500,slideshowStart:"start slideshow",slideshowStop:"stop slideshow",preloadIMG:v};function C(W,X){X=X==="x"?document.documentElement.clientWidth:document.documentElement.clientHeight;return(typeof W==="string")?Math.round((W.match(/%/)?(X/100)*parseInt(W,10):parseInt(W,10))):W}function t(W){return N.photo||W.match(/\.(gif|png|jpg|jpeg|bmp)(?:\?([^#]*))?(?:#(\.*))?$/i)}function P(){for(var W in N){if(typeof(N[W])==="function"){N[W]=N[W].call(o)}}}U=z.fn.colorbox=function(X,W){if(this.length){this.each(function(){var Y=z(this).data(p)?z.extend({},z(this).data(p),X):z.extend({},A,X);z(this).data(p,Y).addClass("cboxelement")})}else{z(this).data(p,z.extend({},A,X))}z(this).unbind(T).bind(T,function(Z){o=this;N=z(o).data(p);P();F=W||O;var Y=N.rel||o.rel;if(Y&&Y!=="nofollow"){c=z(".cboxelement").filter(function(){var aa=z(this).data(p).rel||this.rel;return(aa===Y)});y=c.index(o);if(y<0){c=c.add(o);y=c.length-1}}else{c=z(o);y=0}if(!u){u=v;K=v;z().bind("keydown.cbox_close",function(aa){if(aa.keyCode===27){aa.preventDefault();U.close()}}).bind("keydown.cbox_arrows",function(aa){if(aa.keyCode===37){aa.preventDefault();G.click()}else{if(aa.keyCode===39){aa.preventDefault();j.click()}}});if(N.overlayClose){E.css({cursor:"pointer"}).one("click",U.close)}o.blur();z.event.trigger(w);r.html(N.close);E.css({opacity:N.opacity}).show();N.w=C(N.initialWidth,"x");N.h=C(N.initialHeight,"y");U.position(0);if(Q){M.bind("resize.cboxie6 scroll.cboxie6",function(){E.css({width:M.width(),height:M.height(),top:M.scrollTop(),left:M.scrollLeft()})}).trigger("scroll.cboxie6")}}U.slideshow();U.load();Z.preventDefault()});if(X&&X.open){z(this).triggerHandler(T)}return this};U.init=function(){function W(X){return z('<div id="cbox'+X+'"/>')}M=z(window);R=z('<div id="colorbox"/>');E=W("Overlay").hide();S=W("Wrapper");d=W("Content").append(B=W("LoadedContent").css({width:0,height:0}),f=W("LoadingOverlay"),q=W("LoadingGraphic"),h=W("Title"),k=W("Current"),J=W("Slideshow"),j=W("Next"),G=W("Previous"),r=W("Close"));S.append(z("<div/>").append(W("TopLeft"),x=W("TopCenter"),W("TopRight")),z("<div/>").append(i=W("MiddleLeft"),d,b=W("MiddleRight")),z("<div/>").append(W("BottomLeft"),D=W("BottomCenter"),W("BottomRight"))).children().children().css({"float":"left"});z("body").prepend(E,R.append(S));if(l){R.addClass("cboxIE");if(Q){E.css("position","absolute")}}d.children().addClass(n).mouseover(function(){z(this).addClass(n)}).mouseout(function(){z(this).removeClass(n)}).hide();V=x.height()+D.height()+d.outerHeight(v)-d.height();g=i.width()+b.width()+d.outerWidth(v)-d.width();e=B.outerHeight(v);a=B.outerWidth(v);R.css({"padding-bottom":V,"padding-right":g}).hide();j.click(U.next);G.click(U.prev);r.click(U.close);d.children().removeClass(n)};U.position=function(ab,Y){var aa,X=document.documentElement.clientHeight,Z=Math.max(X-N.h-e-V,0)/2+M.scrollTop(),W=Math.max(document.documentElement.clientWidth-N.w-a-g,0)/2+M.scrollLeft();aa=(R.width()===N.w+a&&R.height()===N.h+e)?0:ab;S[0].style.width=S[0].style.height="9999px";function ac(ad){x[0].style.width=D[0].style.width=d[0].style.width=ad.style.width;q[0].style.height=f[0].style.height=d[0].style.height=i[0].style.height=b[0].style.height=ad.style.height}R.dequeue().animate({width:N.w+a,height:N.h+e,top:Z,left:W},{duration:aa,complete:function(){ac(this);K=O;S[0].style.width=(N.w+a+g)+"px";S[0].style.height=(N.h+e+V)+"px";if(Y){Y()}},step:function(){ac(this)}})};U.resize=function(aa){if(!u){return}var ab,Z,X,ad,ah,W,af,Y=N.transition==="none"?0:N.speed;M.unbind(L);if(!aa){af=setTimeout(function(){var ai=B.wrapInner("<div style='overflow:auto'></div>").children();N.h=ai.height();B.css({height:N.h});ai.replaceWith(ai.children());U.position(Y)},1);return}B.remove();B=z('<div id="cboxLoadedContent"/>').html(aa);function ae(){N.w=N.w||B.width();return N.w}function ac(){N.h=N.h||B.height();return N.h}B.hide().appendTo(E).css({width:ae(),overflow:N.scrolling?"auto":"hidden"}).css({height:ac()}).prependTo(d);z("#cboxPhoto").css({cssFloat:"none"});if(Q){z("select:not(#colorbox select)").filter(function(){return this.style.visibility!=="hidden"}).css({visibility:"hidden"}).one(H,function(){this.style.visibility="inherit"})}function ag(ai){U.position(ai,function(){if(!u){return}if(l){if(W){B.fadeIn(100)}R[0].style.removeAttribute("filter")}d.children().show();if(N.iframe){B.append("<iframe id='cboxIframe'"+(N.scrolling?" ":"scrolling='no'")+" name='iframe_"+new Date().getTime()+"' frameborder=0 src='"+(N.href||o.href)+"' />")}f.hide();q.hide();J.hide();if(c.length>1){k.html(N.current.replace(/\{current\}/,y+1).replace(/\{total\}/,c.length));j.html(N.next);G.html(N.previous);if(N.slideshow){J.show()}}else{k.hide();j.hide();G.hide()}h.html(N.title||o.title);z.event.trigger(s);if(F){F.call(o)}if(N.transition==="fade"){R.fadeTo(Y,1,function(){if(l){R[0].style.removeAttribute("filter")}})}M.bind(L,function(){U.position(0)})})}if((N.transition==="fade"&&R.fadeTo(Y,0,function(){ag(0)}))||ag(Y)){}if(N.preloading&&c.length>1){Z=y>0?c[y-1]:c[c.length-1];ad=y<c.length-1?c[y+1]:c[0];ah=z(ad).data(p).href||ad.href;X=z(Z).data(p).href||Z.href;if(t(ah)){z("<img />").attr("src",ah)}if(t(X)){z("<img />").attr("src",X)}}};U.load=function(){var X,W,aa,Z=U.resize;K=v;function Y(ad){var ac=z(ad),ae=ac.find("img"),ab=ae.length;function af(){var ag=new Image();ab=ab-1;if(ab>=0&&N.preloadIMG){ag.onload=af;ag.src=ae[ab].src}else{Z(ac)}}af()}o=c[y];N=z(o).data(p);P();z.event.trigger(I);N.h=N.height?C(N.height,"y")-e-V:N.innerHeight?C(N.innerHeight,"y"):O;N.w=N.width?C(N.width,"x")-a-g:N.innerWidth?C(N.innerWidth,"x"):O;N.mw=N.w;N.mh=N.h;if(N.maxWidth){N.mw=C(N.maxWidth,"x")-a-g;N.mw=N.w&&N.w<N.mw?N.w:N.mw}if(N.maxHeight){N.mh=C(N.maxHeight,"y")-e-V;N.mh=N.h&&N.h<N.mh?N.h:N.mh}X=N.href||z(o).attr("href");f.show();q.show();r.show();if(N.inline){z('<div id="cboxInlineTemp" />').hide().insertBefore(z(X)[0]).bind(I+" "+H,function(){z(this).replaceWith(B.children())});Z(z(X))}else{if(N.iframe){Z(" ")}else{if(N.html){Y(N.html)}else{if(t(X)){W=new Image();W.onload=function(){var ab;W.onload=null;W.id="cboxPhoto";z(W).css({margin:"auto",border:"none",display:"block",cssFloat:"left"});if(N.scalePhotos){aa=function(){W.height-=W.height*ab;W.width-=W.width*ab};if(N.mw&&W.width>N.mw){ab=(W.width-N.mw)/W.width;aa()}if(N.mh&&W.height>N.mh){ab=(W.height-N.mh)/W.height;aa()}}if(N.h){W.style.marginTop=Math.max(N.h-W.height,0)/2+"px"}Z(W);if(c.length>1){z(W).css({cursor:"pointer"}).click(U.next)}if(l){W.style.msInterpolationMode="bicubic"}};W.src=X}else{z("<div />").load(X,function(ab,ac){if(ac==="success"){Y(this)}else{Z(z("<p>Request unsuccessful.</p>"))}})}}}}};U.next=function(){if(!K){y=y<c.length-1?y+1:0;U.load()}};U.prev=function(){if(!K){y=y>0?y-1:c.length-1;U.load()}};U.slideshow=function(){var X,W,Y="cboxSlideshow_";J.bind(m,function(){J.unbind();clearTimeout(W);R.removeClass(Y+"off "+Y+"on")});function Z(){J.text(N.slideshowStop).bind(s,function(){W=setTimeout(U.next,N.slideshowSpeed)}).bind(I,function(){clearTimeout(W)}).one("click",function(){X();z(this).removeClass(n)});R.removeClass(Y+"off").addClass(Y+"on")}X=function(){clearTimeout(W);J.text(N.slideshowStart).unbind(s+" "+I).one("click",function(){Z();W=setTimeout(U.next,N.slideshowSpeed);z(this).removeClass(n)});R.removeClass(Y+"on").addClass(Y+"off")};if(N.slideshow&&c.length>1){if(N.slideshowAuto){Z()}else{X()}}};U.close=function(){z.event.trigger(H);u=O;z().unbind("keydown.cbox_close keydown.cbox_arrows");M.unbind(L+" resize.cboxie6 scroll.cboxie6");E.css({cursor:"auto"}).fadeOut("fast");R.stop(v,O).fadeOut("fast",function(){B.remove();R.css({opacity:1});d.children().hide();z.event.trigger(m)})};U.element=function(){return z(o)};U.settings=A;z(U.init)}(jQuery));var swfobject=function(){var b="undefined",Q="object",n="Shockwave Flash",p="ShockwaveFlash.ShockwaveFlash",P="application/x-shockwave-flash",m="SWFObjectExprInst",j=window,K=document,T=navigator,o=[],N=[],i=[],d=[],J,Z=null,M=null,l=null,e=false,A=false;var h=function(){var v=typeof K.getElementById!=b&&typeof K.getElementsByTagName!=b&&typeof K.createElement!=b,AC=[0,0,0],x=null;if(typeof T.plugins!=b&&typeof T.plugins[n]==Q){x=T.plugins[n].description;if(x&&!(typeof T.mimeTypes!=b&&T.mimeTypes[P]&&!T.mimeTypes[P].enabledPlugin)){x=x.replace(/^.*\s+(\S+\s+\S+$)/,"$1");AC[0]=parseInt(x.replace(/^(.*)\..*$/,"$1"),10);AC[1]=parseInt(x.replace(/^.*\.(.*)\s.*$/,"$1"),10);AC[2]=/r/.test(x)?parseInt(x.replace(/^.*r(.*)$/,"$1"),10):0}}else{if(typeof j.ActiveXObject!=b){var y=null,AB=false;try{y=new ActiveXObject(p+".7")}catch(t){try{y=new ActiveXObject(p+".6");AC=[6,0,21];y.AllowScriptAccess="always"}catch(t){if(AC[0]==6){AB=true}}if(!AB){try{y=new ActiveXObject(p)}catch(t){}}}if(!AB&&y){try{x=y.GetVariable("$version");if(x){x=x.split(" ")[1].split(",");AC=[parseInt(x[0],10),parseInt(x[1],10),parseInt(x[2],10)]}}catch(t){}}}}var AD=T.userAgent.toLowerCase(),r=T.platform.toLowerCase(),AA=/webkit/.test(AD)?parseFloat(AD.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):false,q=false,z=r?/win/.test(r):/win/.test(AD),w=r?/mac/.test(r):/mac/.test(AD);
/*@cc_on q=true;@if(@_win32)z=true;@elif(@_mac)w=true;@end@*/
return{w3cdom:v,pv:AC,webkit:AA,ie:q,win:z,mac:w}}();var L=function(){if(!h.w3cdom){return}f(H);if(h.ie&&h.win){try{K.write("<script id=__ie_ondomload defer=true src=//:><\/script>");J=C("__ie_ondomload");if(J){I(J,"onreadystatechange",S)}}catch(q){}}if(h.webkit&&typeof K.readyState!=b){Z=setInterval(function(){if(/loaded|complete/.test(K.readyState)){E()}},10)}if(typeof K.addEventListener!=b){K.addEventListener("DOMContentLoaded",E,null)}R(E)}();function S(){if(J.readyState=="complete"){J.parentNode.removeChild(J);E()}}function E(){if(e){return}if(h.ie&&h.win){var v=a("span");try{var u=K.getElementsByTagName("body")[0].appendChild(v);u.parentNode.removeChild(u)}catch(w){return}}e=true;if(Z){clearInterval(Z);Z=null}var q=o.length;for(var r=0;r<q;r++){o[r]()}}function f(q){if(e){q()}else{o[o.length]=q}}function R(r){if(typeof j.addEventListener!=b){j.addEventListener("load",r,false)}else{if(typeof K.addEventListener!=b){K.addEventListener("load",r,false)}else{if(typeof j.attachEvent!=b){I(j,"onload",r)}else{if(typeof j.onload=="function"){var q=j.onload;j.onload=function(){q();r()}}else{j.onload=r}}}}}function H(){var t=N.length;for(var q=0;q<t;q++){var u=N[q].id;if(h.pv[0]>0){var r=C(u);if(r){N[q].width=r.getAttribute("width")?r.getAttribute("width"):"0";N[q].height=r.getAttribute("height")?r.getAttribute("height"):"0";if(c(N[q].swfVersion)){if(h.webkit&&h.webkit<312){Y(r)}W(u,true)}else{if(N[q].expressInstall&&!A&&c("6.0.65")&&(h.win||h.mac)){k(N[q])}else{O(r)}}}}else{W(u,true)}}}function Y(t){var q=t.getElementsByTagName(Q)[0];if(q){var w=a("embed"),y=q.attributes;if(y){var v=y.length;for(var u=0;u<v;u++){if(y[u].nodeName=="DATA"){w.setAttribute("src",y[u].nodeValue)}else{w.setAttribute(y[u].nodeName,y[u].nodeValue)}}}var x=q.childNodes;if(x){var z=x.length;for(var r=0;r<z;r++){if(x[r].nodeType==1&&x[r].nodeName=="PARAM"){w.setAttribute(x[r].getAttribute("name"),x[r].getAttribute("value"))}}}t.parentNode.replaceChild(w,t)}}function k(w){A=true;var u=C(w.id);if(u){if(w.altContentId){var y=C(w.altContentId);if(y){M=y;l=w.altContentId}}else{M=G(u)}if(!(/%$/.test(w.width))&&parseInt(w.width,10)<310){w.width="310"}if(!(/%$/.test(w.height))&&parseInt(w.height,10)<137){w.height="137"}K.title=K.title.slice(0,47)+" - Flash Player Installation";var z=h.ie&&h.win?"ActiveX":"PlugIn",q=K.title,r="MMredirectURL="+j.location+"&MMplayerType="+z+"&MMdoctitle="+q,x=w.id;if(h.ie&&h.win&&u.readyState!=4){var t=a("div");x+="SWFObjectNew";t.setAttribute("id",x);u.parentNode.insertBefore(t,u);u.style.display="none";var v=function(){u.parentNode.removeChild(u)};I(j,"onload",v)}U({data:w.expressInstall,id:m,width:w.width,height:w.height},{flashvars:r},x)}}function O(t){if(h.ie&&h.win&&t.readyState!=4){var r=a("div");t.parentNode.insertBefore(r,t);r.parentNode.replaceChild(G(t),r);t.style.display="none";var q=function(){t.parentNode.removeChild(t)};I(j,"onload",q)}else{t.parentNode.replaceChild(G(t),t)}}function G(v){var u=a("div");if(h.win&&h.ie){u.innerHTML=v.innerHTML}else{var r=v.getElementsByTagName(Q)[0];if(r){var w=r.childNodes;if(w){var q=w.length;for(var t=0;t<q;t++){if(!(w[t].nodeType==1&&w[t].nodeName=="PARAM")&&!(w[t].nodeType==8)){u.appendChild(w[t].cloneNode(true))}}}}}return u}function U(AG,AE,t){var q,v=C(t);if(v){if(typeof AG.id==b){AG.id=t}if(h.ie&&h.win){var AF="";for(var AB in AG){if(AG[AB]!=Object.prototype[AB]){if(AB.toLowerCase()=="data"){AE.movie=AG[AB]}else{if(AB.toLowerCase()=="styleclass"){AF+=' class="'+AG[AB]+'"'}else{if(AB.toLowerCase()!="classid"){AF+=" "+AB+'="'+AG[AB]+'"'}}}}}var AD="";for(var AA in AE){if(AE[AA]!=Object.prototype[AA]){AD+='<param name="'+AA+'" value="'+AE[AA]+'" />'}}v.outerHTML='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'+AF+">"+AD+"</object>";i[i.length]=AG.id;q=C(AG.id)}else{if(h.webkit&&h.webkit<312){var AC=a("embed");AC.setAttribute("type",P);for(var z in AG){if(AG[z]!=Object.prototype[z]){if(z.toLowerCase()=="data"){AC.setAttribute("src",AG[z])}else{if(z.toLowerCase()=="styleclass"){AC.setAttribute("class",AG[z])}else{if(z.toLowerCase()!="classid"){AC.setAttribute(z,AG[z])}}}}}for(var y in AE){if(AE[y]!=Object.prototype[y]){if(y.toLowerCase()!="movie"){AC.setAttribute(y,AE[y])}}}v.parentNode.replaceChild(AC,v);q=AC}else{var u=a(Q);u.setAttribute("type",P);for(var x in AG){if(AG[x]!=Object.prototype[x]){if(x.toLowerCase()=="styleclass"){u.setAttribute("class",AG[x])}else{if(x.toLowerCase()!="classid"){u.setAttribute(x,AG[x])}}}}for(var w in AE){if(AE[w]!=Object.prototype[w]&&w.toLowerCase()!="movie"){F(u,w,AE[w])}}v.parentNode.replaceChild(u,v);q=u}}}return q}function F(t,q,r){var u=a("param");u.setAttribute("name",q);u.setAttribute("value",r);t.appendChild(u)}function X(r){var q=C(r);if(q&&(q.nodeName=="OBJECT"||q.nodeName=="EMBED")){if(h.ie&&h.win){if(q.readyState==4){B(r)}else{j.attachEvent("onload",function(){B(r)})}}else{q.parentNode.removeChild(q)}}}function B(t){var r=C(t);if(r){for(var q in r){if(typeof r[q]=="function"){r[q]=null}}r.parentNode.removeChild(r)}}function C(t){var q=null;try{q=K.getElementById(t)}catch(r){}return q}function a(q){return K.createElement(q)}function I(t,q,r){t.attachEvent(q,r);d[d.length]=[t,q,r]}function c(t){var r=h.pv,q=t.split(".");q[0]=parseInt(q[0],10);q[1]=parseInt(q[1],10)||0;q[2]=parseInt(q[2],10)||0;return(r[0]>q[0]||(r[0]==q[0]&&r[1]>q[1])||(r[0]==q[0]&&r[1]==q[1]&&r[2]>=q[2]))?true:false}function V(v,r){if(h.ie&&h.mac){return}var u=K.getElementsByTagName("head")[0],t=a("style");t.setAttribute("type","text/css");t.setAttribute("media","screen");if(!(h.ie&&h.win)&&typeof K.createTextNode!=b){t.appendChild(K.createTextNode(v+" {"+r+"}"))}u.appendChild(t);if(h.ie&&h.win&&typeof K.styleSheets!=b&&K.styleSheets.length>0){var q=K.styleSheets[K.styleSheets.length-1];if(typeof q.addRule==Q){q.addRule(v,r)}}}function W(t,q){var r=q?"visible":"hidden";if(e&&C(t)){C(t).style.visibility=r}else{V("#"+t,"visibility:"+r)}}function g(s){var r=/[\\\"<>\.;]/;var q=r.exec(s)!=null;return q?encodeURIComponent(s):s}var D=function(){if(h.ie&&h.win){window.attachEvent("onunload",function(){var w=d.length;for(var v=0;v<w;v++){d[v][0].detachEvent(d[v][1],d[v][2])}var t=i.length;for(var u=0;u<t;u++){X(i[u])}for(var r in h){h[r]=null}h=null;for(var q in swfobject){swfobject[q]=null}swfobject=null})}}();return{registerObject:function(u,q,t){if(!h.w3cdom||!u||!q){return}var r={};r.id=u;r.swfVersion=q;r.expressInstall=t?t:false;N[N.length]=r;W(u,false)},getObjectById:function(v){var q=null;if(h.w3cdom){var t=C(v);if(t){var u=t.getElementsByTagName(Q)[0];if(!u||(u&&typeof t.SetVariable!=b)){q=t}else{if(typeof u.SetVariable!=b){q=u}}}}return q},embedSWF:function(x,AE,AB,AD,q,w,r,z,AC){if(!h.w3cdom||!x||!AE||!AB||!AD||!q){return}AB+="";AD+="";if(c(q)){W(AE,false);var AA={};if(AC&&typeof AC===Q){for(var v in AC){if(AC[v]!=Object.prototype[v]){AA[v]=AC[v]}}}AA.data=x;AA.width=AB;AA.height=AD;var y={};if(z&&typeof z===Q){for(var u in z){if(z[u]!=Object.prototype[u]){y[u]=z[u]}}}if(r&&typeof r===Q){for(var t in r){if(r[t]!=Object.prototype[t]){if(typeof y.flashvars!=b){y.flashvars+="&"+t+"="+r[t]}else{y.flashvars=t+"="+r[t]}}}}f(function(){U(AA,y,AE);if(AA.id==AE){W(AE,true)}})}else{if(w&&!A&&c("6.0.65")&&(h.win||h.mac)){A=true;W(AE,false);f(function(){var AF={};AF.id=AF.altContentId=AE;AF.width=AB;AF.height=AD;AF.expressInstall=w;k(AF)})}}},getFlashPlayerVersion:function(){return{major:h.pv[0],minor:h.pv[1],release:h.pv[2]}},hasFlashPlayerVersion:c,createSWF:function(t,r,q){if(h.w3cdom){return U(t,r,q)}else{return undefined}},removeSWF:function(q){if(h.w3cdom){X(q)}},createCSS:function(r,q){if(h.w3cdom){V(r,q)}},addDomLoadEvent:f,addLoadEvent:R,getQueryParamValue:function(v){var u=K.location.search||K.location.hash;if(v==null){return g(u)}if(u){var t=u.substring(1).split("&");for(var r=0;r<t.length;r++){if(t[r].substring(0,t[r].indexOf("="))==v){return g(t[r].substring((t[r].indexOf("=")+1)))}}}return""},expressInstallCallback:function(){if(A&&M){var q=C(m);if(q){q.parentNode.replaceChild(M,q);if(l){W(l,true);if(h.ie&&h.win){M.style.display="block"}}M=null;l=null;A=false}}}}}();
