Object.createNamespace("Site.Modules");Site.Modules.Nodes={};Object.createNamespace("Site.Modules.Nodes.Controls");Site.Modules.Nodes.Controls.Selection={config:{},Nodes:[],Selection:{Nodes:[],To:null},constructor:function(e,forceNew) {Site.Modules.Nodes.Controls.Selection.superclass.constructor.apply(this,arguments);var elements=LLDom("ModalDialog").select("div.NodesControlModalSelection a").elements;for(var i=0,l=elements.length;i<l;i++){this.Nodes.push(LLDom(elements[i]));} LLDom("ModalDialogYes").on("click",this.execute.createDelegate(this));this.Nodes.forEach(function(e) {e.on("click",function(ev) {var target=LLDom(ev.getTarget());if(target.hasClass("Selected")) {target.removeClass("Selected");this.Selection.To=null;} else {this.Nodes.forEach(function(e){e.removeClass("Selected");}.createDelegate(this));target.addClass("Selected");this.Selection.To=target.getData().Id;}}.createDelegate(this));}.createDelegate(this));this.Nodes.forEach(function(e) {if(e.hasClass("hasMore")) {e.on("click",function(ev) {var target=LLDom(ev.getTarget());var data=target.getData();var id=data.Id;this.Nodes.forEach(function(e) {var data=e.getData();var parentId=data.ParentId;var isVisible=null;if(parentId==id) {if(isVisible==null){isVisible=e.isVisible();} if(isVisible){e.hide();} else{e.show();}}}.createDelegate(this));}.createDelegate(this));}}.createDelegate(this));},execute:function(){if(this.Selection.To&&this.Selection.Nodes.length>0){return new LLWeb.Client().redirect(Site.getBase("~/nodes/move/"+this.Selection.Nodes.join(",")+"/"+this.Selection.To));}}};(function(){Object.extending("Site.Modules.Nodes.Controls.Selection","Lucid.Lib.Dom.Element");})();Object.createNamespace("Site.Modules.Nodes.Views");Site.Modules.Nodes.Views.Index={initNodeSelector:function(nodes) {Lucid.Lib.System.Task.delay(function() {var e=LLDom("ModalDialog").select("div.NodesControlModalSelection").elements[0];var control=new Site.Modules.Nodes.Controls.Selection(e);control.Selection.Nodes=nodes;Site.Modules.Nodes.Views.Index.NodeSelector=control;},100);},initEntrySelector:function(nodes) {Lucid.Lib.System.Task.delay(function() {var e=LLDom("ModalDialog").select("div.NodesControlModalSelection").elements[0];var control=new Site.Modules.Nodes.Controls.ESelection(e);control.Selection.Nodes=nodes;Site.Modules.Nodes.Views.Index.NodeSelector=control;},100);}};Object.createNamespace("Site.Modules.Nodes.Views");Site.Modules.Nodes.Views.Form={constructor:function(e,forceNew) {Site.Modules.Nodes.Views.Form.superclass.constructor.apply(this,[arguments[0],true]);if(!Site.Stores.Temp.get("Dom::"+this.Id+"::initialised")) {var templates=this.select("div.Applications div.View").elements;for(var i=0,l=templates.length;i<l;i++) {LLDom(templates[i]).on("click",function(event,target) {while(target.tagName!="DIV"){target=target.parentNode;} target=LLDom(target);var templates=this.select("div.Applications div.View").elements;for(var i=0,l=templates.length;i<l;i++){LLDom(templates[i]).removeClass("Selected");} target.addClass("Selected");var data=target.getData();if(data) {LLDom("id.0.Controller").setValue(data.Controller);LLDom("id.0.Action").setValue(data.Action);LLDom("id.0.View").setValue(data.View);LLDom("id.0.View").setValue(data.View);LLDom.query("textarea[name='data[0][Configuration]']")[0].setValue(Json.format(Json.stringify(data.Configuration)));}}.createDelegate(this));} if(LLDom.exists("id.37af26c359d0400faff497c9423c6057")){LLDom("id.37af26c359d0400faff497c9423c6057").on("click",function(){try{LLDom("id.e10bbd04a2614f189dad3b80e62888cc").activate("id.c87dd2d56bc3459faf657b1fd915daab");}catch(e){}});} Site.Stores.Temp.set("Dom::"+this.Id+"::initialised",true);}}};(function(){Object.extending("Site.Modules.Nodes.Views.Form","Lucid.Lib.Dom.Element.Form");})();Object.createNamespace("Site.Modules.Nodes.Views.Form");Site.Modules.Nodes.Views.Form.Rights={data:null,Role:null,Resource:null,Rights:[],Roles:{Available:null,Selected:null},constructor:function(e,forceNew) {Site.Modules.Nodes.Views.Form.superclass.constructor.apply(this,arguments);this.data=LLDom(this.select("input.Data").elements[0]);try{var rights=Json.parse(this.data.getValue());}catch(e){var rights=[];} for(var i=0,l=rights.length;i<l;i++){if(!rights[i]||(!rights[i].Action&&!rights[i].Resource&&!rights[i].Role&&!rights[i].Type)){}else{this.Rights.push(rights[i]);}} this.Resource=LLDom(this.select("input.Resource").elements[0]).getValue();this.Roles.Available=LLDom(this.select("select.AvailableRoles").elements[0]);this.Roles.Remove=LLDom(this.select("a.Remove").elements[0]);this.Roles.Selected=LLDom(this.select("select.SelectedRoles").elements[0]);for(var i=0,l=this.Rights.length;i<l;i++) {if(this.Roles.Available.getIndexByValue(this.Rights[i].Role)!==false&&this.Roles.Selected.getIndexByValue(this.Rights[i].Role)===false) {var index=this.Roles.Available.getIndexByValue(this.Rights[i].Role);this.Roles.Selected.addOption(this.Roles.Available.Options[index].getText(),this.Rights[i].Role);}} this.Roles.Available.on("change",function(ev) {var e=LLDom(ev.getTarget());if(e.getValue()!="0"){this.addRole(e.getValue(),e.getText());}}.createDelegate(this));this.Roles.Remove.on("click",function(ev) {var value=this.Roles.Selected.getValue();var index=this.Roles.Selected.getIndexByValue(value);if(index!==false){this.removeRole(value);}}.createDelegate(this));this.Roles.Selected.on("contextmenu",function(ev) {var value=LLDom(ev.getTarget()).getValue();this.removeRole(value);ev.stopEvent();}.createDelegate(this));this.Roles.Selected.on("click",function(ev){this.selectRole(this.Roles.Selected.getValue());}.createDelegate(this));this.select("input[type=checkbox]").elements.forEach(function(e) {LLDom(e).on("click",function(ev) {var e=LLDom(ev.getTarget());var value=e.getValue().split("|");var row=e.parent("TR");if(e.dom.checked){this.setRight(value[0],value[1]);}else{this.unsetRight(value[0],value[1]);} row.removeClass("Allowed");row.removeClass("Disallowed");if(e.dom.checked&&value[1]==1){row.addClass("Allowed");} else if(!e.dom.checked&&value[1]==1){row.removeClass("Allowed");} else if(e.dom.checked&&value[1]==-1){row.addClass("Disallowed");} else if(!e.dom.checked&&value[1]==-1){row.removeClass("Disallowed");}}.createDelegate(this));}.createDelegate(this));this.select("a.AllowAll").elements.forEach(function(e) {LLDom(e).on("click",function(ev) {var table=LLDom(ev.getTarget()).parent("table",true);table.select("input[type=checkbox].Allow").elements.forEach(function(e) {e=LLDom(e);e.check();var tr=e.parent("TR");tr.addClass("Allowed");tr.removeClass("Disallowed");this.setRight(e.getValue().split("|")[0],1);}.createDelegate(this));}.createDelegate(this));}.createDelegate(this));this.select("a.DisallowAll").elements.forEach(function(e) {LLDom(e).on("click",function(ev) {var table=LLDom(ev.getTarget()).parent("table",true);table.select("input[type=checkbox].Disallow").elements.forEach(function(e) {e=LLDom(e);e.check();var tr=e.parent("TR");tr.removeClass("Allowed");tr.addClass("Disallowed");this.setRight(e.getValue().split("|")[0],-1);}.createDelegate(this));}.createDelegate(this));}.createDelegate(this));this.select("a.ClearAll").elements.forEach(function(e) {LLDom(e).on("click",function(ev) {var table=LLDom(ev.getTarget()).parent("table",true);table.select("input[type=checkbox]").elements.forEach(function(e) {var e=LLDom(e);e.uncheck();var tr=e.parent("TR");tr.removeClass("Allowed");tr.removeClass("Disallowed");var value=e.getValue().split("|");this.unsetRight(value[0],value[1]);}.createDelegate(this));}.createDelegate(this));}.createDelegate(this));},addRole:function(role,label){if(this.Roles.Selected.getIndexByValue(role)===false){this.Roles.Selected.addOption(label,role);}this.selectRole(role);},selectRole:function(role) {var index=this.Roles.Selected.getIndexByValue(role);if(index!==false) {this.Roles.Selected.select(index);this.Role=role;var checkboxes=this.select("input[type=checkbox]").elements;for(var ii=0,ll=checkboxes.length;ii<ll;ii++) {var checkbox=LLDom(checkboxes[ii]);checkbox.uncheck();var tr=checkbox.parent("TR");tr.removeClass("Allowed");tr.removeClass("Disallowed");} for(var i=0,l=this.Rights.length;i<l;i++) {if(this.Rights[i].Role==role) {var checkboxes=this.select("input[value='"+this.Rights[i].Action+"|"+this.Rights[i].Type+"']").elements;for(var ii=0,ll=checkboxes.length;ii<ll;ii++) {var checkbox=LLDom(checkboxes[ii]);var tr=checkbox.parent("TR");checkbox.check();if(this.Rights[i].Type==1){tr.addClass("Allowed");}else if(this.Rights[i].Type==-1){tr.addClass("Disallowed");}}}}}},removeRole:function(role) {for(var i=0;i<this.Rights.length;i++){if(this.Rights[i].Role==role){this.Rights.splice(i,1);i--;}} this.data.setValue(Json.stringify(this.Rights));this.Roles.Selected.removeOption(this.Roles.Selected.getIndexByValue(role));},setRight:function(action,type) {this.unsetRight(action,(type==1?-1:1));this.Rights.push({Role:this.Role,Resource:this.Resource,Action:action,Type:type});this.data.setValue(Json.stringify(this.Rights));},unsetRight:function(action,type) {this.select("input[value='"+action+"|"+type+"']").elements.forEach(function(e){e.checked=false;});for(i=0,l=this.Rights.length;i<l;i++){if(this.Rights[i].Role==this.Role&&this.Rights[i].Action==action&&this.Rights[i].Type==type){this.Rights.splice(i,1);l--;}} this.data.setValue(Json.stringify(this.Rights));}};(function(){Object.extending("Site.Modules.Nodes.Views.Form.Rights","Lucid.Lib.Dom.Element");})();Object.createNamespace("Site.Modules.Locations.Views");Site.Modules.Locations.Views.Location={constructor:function(e,forceNew) {Site.Modules.Locations.Views.Location.superclass.constructor.apply(this,arguments);if(LLDom.exists(this.Id+".value")&&LLDom.exists(this.Id+".button")) {this.Value=LLDom(this.Id+".value");this.Button=LLDom(this.Id+".button");this.Value.on("click",function(ev) {var value=this.Value.getValue();if(value.startsWith(" ")){this.Value.setValue("");}}.createDelegate(this));this.Button.on("click",function(ev) {var iframe=LLDom(this.Id+".iframe");dump(this.Id);dump(iframe);var value=this.Value.getValue();var src=iframe.dom.src;var m=/&saddr=(.*)&daddr=/.match(src);if(value&&m) {src=src.replace(m[0],"&saddr="+escape(value)+"&daddr=");iframe.dom.src=src;}}.createDelegate(this));}}};(function(){Object.extending("Site.Modules.Locations.Views.Location","Lucid.Lib.Dom.Element");})();Object.createNamespace("Site.Modules");Site.Modules.Events={};Object.createNamespace("Site.Modules.Events");Site.Modules.Events.Form={constructor:function(e,forceNew) {Site.Modules.Events.Form.superclass.constructor.apply(this,arguments);this.FromTime=LLDom("id.c1d4768949bc4deeaa54c6a766b81912");this.ToTime=LLDom("id.f86458565cc649fbbf817265df6e5cd9");this.AllDay=LLDom("id.5717663638ba4f649ab9ea14ce688fc1");this.WithoutEndTime=LLDom("id.1d973efe303347e7a3d7148d3a875a6e");if(this.AllDay) {this.AllDay.Checkbox.on("click",function(ev) {if(this.AllDay.Checkbox.isChecked()) {this.FromTime.setValue(0);this.FromTime.Input.setValue("00:00");this.FromTime.Input.disable();this.ToTime.setValue(0);this.ToTime.Input.setValue("00:00");this.ToTime.Input.disable();} else {this.FromTime.Input.enable();this.ToTime.Input.enable();}}.createDelegate(this));LLDom.getDocument().onReady(function() {if(this.AllDay.Checkbox.isChecked()) {this.FromTime.setValue(0);this.FromTime.Input.setValue("00:00");this.FromTime.Input.disable();this.ToTime.setValue(0);this.ToTime.Input.setValue("00:00");this.ToTime.Input.disable();} else {this.FromTime.Input.enable();this.ToTime.Input.enable();}}.createDelegate(this));} if(this.WithoutEndTime) {this.WithoutEndTime.Checkbox.on("click",function(ev) {if(this.WithoutEndTime.Checkbox.isChecked()) {this.ToTime.setValue(0);this.ToTime.Input.setValue("00:00");this.ToTime.Input.disable();} else {this.ToTime.Input.enable();}}.createDelegate(this));LLDom.getDocument().onReady(function() {if(this.WithoutEndTime.Checkbox.isChecked()) {this.ToTime.setValue(0);this.ToTime.Input.setValue("00:00");this.ToTime.Input.disable();}}.createDelegate(this));}}};(function(){Object.extending("Site.Modules.Events.Form","Lucid.Lib.Dom.Element.Form");})();Object.createNamespace("Site.Modules.Portals.Views");Site.Modules.Portals.Views.FadeIn={constructor:function(e,forceNew) {var fades=Ext.select("div.FadeIn").elements;for(var i=0,l=fades.length;i<l;i++) {Ext.get(fades[i]).fadeIn ({opacity:1,duration:2});}}};(function(){Object.extending("Site.Modules.Portals.Views.FadeIn","Lucid.Lib.Dom.Element");})();if(window.jQuery){$(document).ready(function(){$('.Animation').animate({top:"0",opacity:"1"},1800);setTimeout(function(){$('#green_right').animate({opacity:".75"},700);setTimeout(function(){$('#bleu_cenetr').animate({opacity:".75"},700);setTimeout(function(){$('#yellow_left').animate({opacity:".75"},700);},700);},700);},400);});} if(typeof jQuery!='undefined'){$(document).ready(function(){$('button.ContactSubmit').click(function(){formValidationMessage();});});} function formValidationMessage(){if($('input').hasClass('Invalid')||$('textarea').hasClass('Invalid')){$('#messageError').show();}else{$('#messageError').hide();}} Object.createNamespace("Site.Modules.Roles.Views");Site.Modules.Roles.Views.Login={DefaultLogin:null,OpenIdLogin:null,constructor:function(e,forceNew) {Site.Modules.Roles.Views.Login.superclass.constructor.apply(this,arguments);}};(function(){Object.extending("Site.Modules.Roles.Views.Login","Lucid.Lib.Dom.Element");})();var acc=document.getElementsByClassName("accordion");var i=0;var j=0;for(i=0;i<acc.length;i++){acc[i].onclick=function(){this.classList.toggle("active");var panel=this.nextElementSibling;if(panel.style.maxHeight){panel.style.maxHeight=null;}else{panel.style.maxHeight=panel.scrollHeight+"px";}};} var gacc=document.getElementsByClassName("g-accordion");var i=0;var j=0;for(i=0;i<gacc.length;i++){gacc[i].onclick=function(){this.classList.toggle("g-active");var panel=this.nextElementSibling;if(panel.style.maxHeight){panel.style.maxHeight=null;}else{panel.style.maxHeight="100%";}};} Object.createNamespace("Site.Modules.Search.Controls");Site.Modules.Search.Controls.Search={config:{},defaults:{placeHolder:""},Form:null,Input:null,Button:null,Url:null,config:{},constructor:function(e,forceNew,config) {Site.Modules.Search.Controls.Search.superclass.constructor.apply(this,arguments);this.config=Object.applyIf(config||{},this.defaults);this.Form=LLDom(this.select("form").elements[0]);this.Input=LLDom(this.select("input").elements[0]);this.Button=LLDom(this.select("button.Submit").elements[0]);this.Url=this.Form.getAction();if(!this.Url){this.Url="~/core/24d4cf109ab841c38135975ff1e0a122/";} if(!(this.Url.startsWith("http://")||this.Url.startsWith("https://"))){this.Url=Site.getBase(this.Url);} new Lucid.Lib.Dom.Behavior.HasPlaceholder(this.Input.Id,true,this.config);if(this.config.placeHolder){this.config.placeHolder=Site.I18n.translate(this.config.placeHolder);} this.Button.on("click",function(ev) {if(this.Input.getValue()==this.config.placeHolder){return false;} ev.stopEvent();if(this.Input.validate()){return new LLWeb.Client().redirect(this.Url+encodeURIComponent(this.Input.getValue()));}}.createDelegate(this));this.Form.on("submit",function(ev){ev.stopEvent();if(this.Input.validate()){return new LLWeb.Client().redirect(this.Url+encodeURIComponent(this.Input.getValue()));}}.createDelegate(this));}};(function(){Object.extending("Site.Modules.Search.Controls.Search","Lucid.Lib.Dom.Element");})();Object.createNamespace("Site.Modules.Search.Views");Site.Modules.Search.Views.Index={constructor:function(e,forceNew) {Site.Modules.Search.Views.Index.superclass.constructor.apply(this,arguments);this.Form=LLDom(this.select("form.Search").elements[0]);this.Value=LLDom(this.select("form.Search input").elements[0]);this.Button=LLDom(this.select("form.Search button.Button").elements[0]);this.Url=this.Form.getAction();if(!this.Url){this.Url="~/core/24d4cf109ab841c38135975ff1e0a122/";} if(!(this.Url.startsWith("http://")||this.Url.startsWith("https://"))){this.Url=Site.getBase(this.Url);} this.Form.on("submit",function(ev){ev.stopEvent();if(this.Form.validate()){return new LLWeb.Client().redirect(this.Url+encodeURIComponent(this.Value.getValue()));}}.createDelegate(this));this.Button.on("click",function(ev){ev.stopEvent();if(this.Form.validate()){return new LLWeb.Client().redirect(this.Url+encodeURIComponent(this.Value.getValue()));}}.createDelegate(this));}};(function(){Object.extending("Site.Modules.Search.Views.Index","Lucid.Lib.Dom.Element");})();Object.createNamespace("Site.Modules");Site.Modules.Images={};Object.createNamespace("Site.Modules.Images");Site.Modules.Images.Create={Image:{Source:null,Filters:{}},constructor:function(source,filters) {if(typeOf(source,"String")){this.Image.Source=source;} if(typeOf(filters,"Object")){this.Image.Filters=filters;} Site.Modules.Images.Create.superclass.constructor.apply(this,arguments);this.addEvents({get:true});},get:function() {Lucid.Lib.Io.Network.Http.Request.request({method:"POST",url:(Site.getWeb()!=Site.getBase()?Site.getBase():Site.getWeb())+"public/images/"+Site.Id+"/create",params:{Image:Json.stringify(this.Image)},callback:function(options,success,response) {this.fireEvent("get",response.responseText);this.purgeListeners();}.createDelegate(this)});}};(function(){Object.extending("Site.Modules.Images.Create","Ext.util.Observable");})();Object.createNamespace("Site.Modules.Images");Site.Modules.Images.Preview={Image:{Source:null,Filters:{}},constructor:function(source,filters) {Site.Modules.Images.Preview.superclass.constructor.apply(this,arguments);this.Image.Source=source;this.Image.Filters=filters;},get:function(){var q={g:this.Image};return Site.getBase("public/images/"+Site.Id+"/preview/?q="+LLSys.Encode.Base64.encode(Json.stringify(q)));}};(function(){Object.extending("Site.Modules.Images.Preview","Ext.util.Observable");})();Object.createNamespace("Site.Modules.Images.Controls.Form");var table;Site.Modules.Images.Controls.Form.Table={config:{},constructor:function(e,forceNew) {Site.Modules.Images.Controls.Form.Table.superclass.constructor.apply(this,arguments);this.config=this.getData();this.Add=LLDom(this.Id+".add");this.addEvents({move:true});this.Add.on("click",this.add.createDelegate(this));this.select("a.SetStatus").elements.forEach(function(e){LLDom(e).on("click",this.toggleStatus.createDelegate(this));}.createDelegate(this));this.select("a.MoveUp").elements.forEach(function(e){LLDom(e).on("click",this.up.createDelegate(this));}.createDelegate(this));this.select("a.MoveDown").elements.forEach(function(e){LLDom(e).on("click",this.down.createDelegate(this));}.createDelegate(this));this.select("a.Delete").elements.forEach(function(e) {LLDom(e).on("click",function(ev,e) {while(e.tagName!="TR"){e=e.parentNode;} var row=LLDom(e);var image=row.select("input.Image").elements[0];image.value="";row.hide();}.createDelegate(this));}.createDelegate(this));this.on("move",function() {this.Rows=this.getRows();var c=1;this.select("input.Sort").elements.forEach(function(e){LLDom(e).setValue(c++);}.createDelegate(this));}.createDelegate(this));this.add();table=this;},down:function(e) {if(typeof e.getTarget!="undefined"){var e=e.getTarget();} while(e.tagName!="TR"){e=e.parentNode;} var row=LLDom(e);row.move(1);this.fireEvent("move",this,row);},toggleStatus:function(e) {if(typeof e.getTarget!="undefined"){var e=e.getTarget();} while(e.tagName!="TR"){e=e.parentNode;} var input=LLDom(LLDom(e).select("input.Status").elements[0]);var a=LLDom(LLDom(e).select("a.SetStatus").elements[0]);if(input.getValue()==0) {input.setValue(1);a.replaceClass("Offline","Online");} else {input.setValue(0);a.replaceClass("Online","Offline");}},up:function(e) {if(typeof e.getTarget!="undefined"){var e=e.getTarget();} while(e.tagName!="TR"){e=e.parentNode;} var row=LLDom(e);if(row.getPosition()>1){row.move(-1);} this.fireEvent("move",this,row);},add:function() {var referenceIndex=Number.save(this.config.ReferenceIndex);var reference=this.config.Reference;var imageIndex=Number.save(this.config.ImageIndex,1)-1;this.config.ImageIndex=imageIndex;this.setData(this.config);var imageFieldId=LLDom.createId();var row=this.addRow();row.addClass("noHover");row.Cells[0].addClass("Index");row.Cells[0].update(((this.Rows.length-1)+"<input name=\"data[{0}][Images][{2}][id]\" type=\"hidden\" value=\"0\">"+"<input name=\"data[{0}][Images][{2}][Reference]\" type=\"hidden\" value=\"{1}\">"+"<input class=\"Sort\" name=\"data[{0}][Images][{2}][Sort]\" type=\"hidden\" value=\"0\">"+"<input class=\"Status\" name=\"data[{0}][Images][{2}][Status]\" type=\"hidden\" value=\"1\">").template (referenceIndex,reference,imageIndex));row.Cells[1].update(("<input name=\"data[{0}][Images][{2}][id]\" type=\"hidden\" value=\"0\">"+"<input name=\"data[{0}][Images][{2}][Reference]\" type=\"hidden\" value=\"{1}\">"+"<input class=\"Sort\" name=\"data[{0}][Images][{2}][Sort]\" type=\"hidden\" value=\"0\">"+"<input class=\"Status\" name=\"data[{0}][Images][{2}][Status]\" type=\"hidden\" value=\"1\">"+"<div class=\"ImageFieldControl\">"+"<input class=\"type:SW1hZ2U=\" id=\"{3}\" name=\"data[{0}][Images][{2}][Image]\" type=\"hidden\">"+"<img class=\"Image\" id=\"{3}.image\" src=\"public/images/site/images/null.gif\">"+"<div class=\"Controls\">"+"<a class=\"FontIcon Select\" id=\"{3}.select\" title=\"{5}\"></a> "+"<a class=\"FontIcon Remove\" id=\"{3}.cancel\" title=\"{6}\"></a>"+"</div>"+"</div>").template(referenceIndex,reference,imageIndex,imageFieldId,LB.getWeb(),Site.I18n.translate("Select Image"),Site.I18n.translate("Clear Image")));new Lucid.Core.Site.Controls.Form.Image(imageFieldId,null,{Accepts:["gif","jpg","jpe","jpeg","png"]});row.Cells[2].update("<input name=\"data[{0}][Images][{1}][Name]\" type=\"text\">".template(referenceIndex,imageIndex));row.Cells[3].addClass("Controls");row.Cells[3].update(("<a class=\"FontIcon Online SetStatus\" title=\"{1}\"></a> "+"<a class=\"FontIcon Up MoveUp\" title=\"{2}\"></a> "+"<a class=\"FontIcon Down MoveDown\" title=\"{3}\"></a> "+"<a class=\"FontIcon Delete\" title=\"{4}\"></a>").template(LB.getWeb(),Site.I18n.translate("Set Image Offline"),Site.I18n.translate("Move Image Up"),Site.I18n.translate("Move Image Down"),Site.I18n.translate("Remove Image")));LLDom(row.Cells[3].select("a.SetStatus").elements[0]).on("click",this.toggleStatus.createDelegate(this));LLDom(row.Cells[3].select("a.MoveUp").elements[0]).on("click",this.up.createDelegate(this));LLDom(row.Cells[3].select("a.MoveDown").elements[0]).on("click",this.down.createDelegate(this));LLDom(row.Cells[3].select("a.Delete").elements[0]).on("click",function(ev) {var ele=ev.getTarget();while(ele.tagName!="TR"){ele=ele.parentNode;} LLDom(ele).destroy();}.createDelegate(this));return row;}};(function(){Object.extending("Site.Modules.Images.Controls.Form.Table","Lucid.Lib.Dom.Element.Table");})();function sbCloseSnippetsMessage(ident,id){document.cookie="show_"+ident+"=false; path=/";document.cookie="show_"+id+"=false; path=/";sbCheckSnippetsMessage(ident,id);} function sbHideSnippetsMessage(ident,id){$("#"+id).hide();} function sbCheckSnippetsMessage(ident,id){var cookie=getCookie("show_"+id);if(cookie==undefined||cookie==''||cookie=='true'){$("#"+id).css('visibility','visible');$("#"+id).show();} if(cookie==='false'){sbHideSnippetsMessage(ident,id);}} function sbOnLoadCheckSnippetsMessage(){var messages=$('[name=sbCheckSnippetsMessage]');for(var i=0;i<messages.length;i++){var id=messages[i].value;sbCheckSnippetsMessage(0,id);}} Ext.onReady(function(){try{eval("$(document).ready(function(){sbOnLoadCheckSnippetsMessage();});");}catch(e){var script=document.createElement('script');var type=document.createAttribute('type');type.nodeValue='text/javascript';script.setAttributeNode(type);var source=document.createAttribute('src');source.nodeValue="//code.jquery.com/jquery-2.1.1.min.js";script.setAttributeNode(source);var head=document.getElementsByTagName('head')[0];head.appendChild(script);Ext.onReady(function(){$(document).ready(function(){sbOnLoadCheckSnippetsMessage();});});}});Object.createNamespace("Site.Modules.Videos.Controls.Form");Site.Modules.Videos.Controls.Form.Table={config:{},Add:null,constructor:function(e,forceNew) {Site.Modules.Videos.Controls.Form.Table.superclass.constructor.apply(this,arguments);this.config=this.getData();this.Add=LLDom(this.Id+".add");this.addEvents({move:true});this.Add.on("click",this.add.createDelegate(this));this.select("a.SetStatus").elements.forEach(function(e){LLDom(e).on("click",this.toggleStatus.createDelegate(this));}.createDelegate(this));this.select("a.MoveUp").elements.forEach(function(e){LLDom(e).on("click",this.up.createDelegate(this));}.createDelegate(this));this.select("a.MoveDown").elements.forEach(function(e){LLDom(e).on("click",this.down.createDelegate(this));}.createDelegate(this));this.select("a.Delete").elements.forEach(function(e) {LLDom(e).on("click",function(ev,e) {while(e.tagName!="TR"){e=e.parentNode;} var row=LLDom(e);var video=row.select("input.Video").elements[0];video.value=0;var link=row.select("input.Link").elements[0];link.value="";row.hide();}.createDelegate(this));}.createDelegate(this));this.on("move",function() {this.Rows=this.getRows();var c=1;this.select("input.Sort").elements.forEach(function(e){LLDom(e).setValue(c++);}.createDelegate(this));}.createDelegate(this));this.add();},down:function(e) {if(typeof e.getTarget!="undefined"){var e=e.getTarget();} while(e.tagName!="TR"){e=e.parentNode;} var row=LLDom(e);row.move(1);this.fireEvent("move",this,row);},toggleStatus:function(e) {if(typeof e.getTarget!="undefined"){var e=e.getTarget();} while(e.tagName!="TR"){e=e.parentNode;} var input=LLDom(LLDom(e).select("input.Status").elements[0]);var a=LLDom(LLDom(e).select("a.SetStatus").elements[0]);if(input.getValue()==0){input.setValue(1);a.replaceClass("Offline","Online");} else{input.setValue(0);a.replaceClass("Online","Offline");}},up:function(e) {if(typeof e.getTarget!="undefined"){var e=e.getTarget();} while(e.tagName!="TR"){e=e.parentNode;} var row=LLDom(e);if(row.getPosition()>1){row.move(-1);} this.fireEvent("move",this,row);},add:function() {var referenceIndex=Number.save(this.config.ReferenceIndex);var reference=this.config.Reference;var videoIndex=Number.save(this.config.VideoIndex,1)-1;this.config.VideoIndex=videoIndex;this.setData(this.config);var imageFieldId=LLDom.createId();var videoFieldId=LLDom.createId();var linkFieldId=LLDom.createId();var row=this.addRow();row.addClass("noHover");row.Cells[0].addClass("Index");row.Cells[0].update(((this.Rows.length-1)+"<input name=\"data[{0}][Videos][{2}][id]\" type=\"hidden\" value=\"0\">"+"<input name=\"data[{0}][Videos][{2}][Reference]\" type=\"hidden\" value=\"{1}\">"+"<input class=\"Sort\" name=\"data[{0}][Videos][{2}][Sort]\" type=\"hidden\" value=\"0\">"+"<input class=\"Status\" name=\"data[{0}][Videos][{2}][Status]\" type=\"hidden\" value=\"1\">").template(referenceIndex,reference,videoIndex));row.Cells[1].addClass("Minimal");row.Cells[1].update(("<div class=\"ImageFieldControl\">"+"<input class=\"Value type:SW1hZ2U=\" id=\"{3}\" name=\"data[{0}][Videos][{2}][Image]\" type=\"hidden\">"+"<img class=\"Image\" id=\"{3}.image\" src=\"public/images/site/images/null.gif\">"+"<div class=\"Controls\">"+"<a class=\"FontIcon Select\" id=\"{3}.select\" title=\"{5}\"></a> "+"<a class=\"FontIcon Remove\" id=\"{3}.cancel\" title=\"{6}\"></a>"+"</div>"+"</div>").template(referenceIndex,reference,videoIndex,imageFieldId,LB.getWeb(),Site.I18n.translate("Select Image"),Site.I18n.translate("Clear Image")));new Lucid.Core.Site.Controls.Form.Image(imageFieldId,null,{Accepts:["gif","jpg","jpe","jpeg","png"]});row.Cells[2].setStyle("padding","0.5em");row.Cells[2].update(("<label>{7}:</label>"+"<div class=\"idc-708c052d65e1490abdcebbf22d563256\">"+"<input class=\"Video\" id=\"{3}\" isrequired=\"\" name=\"data[{0}][Videos][{2}][Video]\" type=\"hidden\" value=\"0\">"+"<div class=\"Label\" id=\"{3}.label\">"+"{4}"+"</div>"+"<div class=\"Controls\">"+"<a class=\"FontIcon Select\" id=\"{3}.select\" title=\"{5}\"></a>"+"<a class=\"FontIcon Clear\" id=\"{3}.cancel\" title=\"{6}\"></a>"+"</div>"+"</div>"+"<label>{3}:</label><input class=\"Link\" name=\"data[{0}][Videos][{1}][Link]\" id=\"{2}\" type=\"text\">".template(referenceIndex,videoIndex,linkFieldId,Site.I18n.translate("Link"))+"<label>{2}:</label><input name=\"data[{0}][Videos][{1}][Name]\" type=\"text\">".template(referenceIndex,videoIndex,Site.I18n.translate("Title"))).template(referenceIndex,reference,videoIndex,videoFieldId,Site.I18n.translate("No file selected."),Site.I18n.translate("Select File"),Site.I18n.translate("Clear File"),Site.I18n.translate("File")));new Site.Modules.Files.Controls.Form.File(videoFieldId,false,{Accepts:["flv","mp4","mov"]});row.Cells[3].addClass("Controls");row.Cells[3].update(("<a class=\"FontIcon Online SetStatus\" title=\"{1}\"></a> "+"<a class=\"FontIcon Up MoveUp\" title=\"{2}\"></a> "+"<a class=\"FontIcon Down MoveDown\" title=\"{3}\"></a> "+"<a class=\"FontIcon Delete\" title=\"{4}\"></a>").template(LB.getWeb(),Site.I18n.translate("Set Video Offline"),Site.I18n.translate("Move Video Up"),Site.I18n.translate("Move Video Down"),Site.I18n.translate("Remove Video")));LLDom(linkFieldId).on("paste",function(ev) {Lucid.Lib.System.Task.delay(function() {var link=this.Cells[2].select("input.Link").elements;var image=this.Cells[1].select("div.ImageFieldControl img.Image").elements;var value=this.Cells[1].select("div.ImageFieldControl input.Value").elements;var video=new Lucid.Lib.Services.Google.Videos.Video(link[0].value);setTimeout(function(){if(video.Id&&typeof image[0]!="undefined"&&(image[0].src.endsWith("null.gif")||image[0].src.startsWith("http")||image[0].src.startsWith("https"))){image[0].src=video.Thumbs.Default;}},300);}.createDelegate(row),100);}.createDelegate(row));LLDom(row.Cells[3].select("a.SetStatus").elements[0]).on("click",this.toggleStatus.createDelegate(this));LLDom(row.Cells[3].select("a.MoveUp").elements[0]).on("click",this.up.createDelegate(this));LLDom(row.Cells[3].select("a.MoveDown").elements[0]).on("click",this.down.createDelegate(this));LLDom(row.Cells[3].select("a.Delete").elements[0]).on("click",function(ev) {var ele=ev.getTarget();while(ele.tagName!="TR"){ele=ele.parentNode;} LLDom(ele).destroy();}.createDelegate(this));}};(function(){Object.extending("Site.Modules.Videos.Controls.Form.Table","Lucid.Lib.Dom.Element.Table");})();Object.createNamespace("Site.Modules");Site.Modules.Files={Selectors:{},constructor:function() {Site.Modules.Files.superclass.constructor.apply(this,arguments);if(LLDom.exists("id.bae56a20ad8f4d91a6e47364a18ffd38")) {var form=LLDom("id.bae56a20ad8f4d91a6e47364a18ffd38");var button=LLDom("id.56aa839956894ae89f5a4fa7b939ab41");form.on("submit",function(ev) {ev.stopEvent();var form=LLDom("id.bae56a20ad8f4d91a6e47364a18ffd38");var search=form.getElementByName("s");if(search.validate()) {var url=Site.getBase("~/core/9d713af2d20c45109f2575f1cc03ee78/search/"+escape(search.getValue()));return new LLWeb.Client().redirect(url);}});button.on("click",function(ev) {ev.stopEvent();var form=LLDom("id.bae56a20ad8f4d91a6e47364a18ffd38");var search=form.getElementByName("s");if(search.validate()) {var url=Site.getBase("~/core/9d713af2d20c45109f2575f1cc03ee78/search/"+escape(search.getValue()));return new LLWeb.Client().redirect(url);}});} if(LLDom.exists("id.ed360931ea814083a2f99663f63d863f")) {var form=LLDom("id.ed360931ea814083a2f99663f63d863f");var button=LLDom("id.d0309af4391b44068157347833602efe");form.on("submit",function(ev) {ev.stopEvent();var form=LLDom("id.ed360931ea814083a2f99663f63d863f");var search=form.getElementByName("s");if(search.validate()) {var url=Site.getBase("~/core/9d713af2d20c45109f2575f1cc03ee78/select/search/"+escape(search.getValue()));return new LLWeb.Client().redirect(url);}});button.on("click",function(ev) {ev.stopEvent();var form=LLDom("id.ed360931ea814083a2f99663f63d863f");var search=form.getElementByName("s");if(search.validate()) {var url=Site.getBase("~/core/9d713af2d20c45109f2575f1cc03ee78/select/search/"+escape(search.getValue()));return new LLWeb.Client().redirect(url);}});} this.addEvents({select:true});},select:function(item,filters) {Lucid.Core.Site.Controls.Modal.Dialog.Instance.close();if(!item.parent_id) {Site.Modules.Files.getInstance().fireEvent("select",item,filters);} else {Lucid.Lib.Io.Network.Http.Request.request({method:"POST",url:(Site.getWeb()!=Site.getBase()?Site.getBase():Site.getWeb())+"public/images/"+Site.Id+"/children",params:{Id:item.id,Filters:filters},callback:function(options,success,response) {var items=JSON.parse(response.responseText);var rows=table.select("div.ImageFieldControl input").elements;for(var i=0;i<rows.length;i++) {if(rows[i].value=="") {var ele=rows[i].parentNode;while(ele.tagName!="TR"){ele=ele.parentNode;} if(ele.style.visibility!='visible'&&ele.style.display!='none') {LLDom(ele).destroy();}}} for(var i=0;i<items.length;i++) {var row=table.add();row.Cells[1].select("div.ImageFieldControl input").elements[0].value=items[i].source;row.Cells[1].select("div.ImageFieldControl img").elements[0].src=items[i].src;} table.add();}.createDelegate(this)});}}};(function(){Object.extending("Site.Modules.Files","Ext.util.Observable");})();Site.Modules.Files.getInstance=function() {if(!this.instance) {this.instance=new Site.Modules.Files();} return this.instance;};Object.createNamespace("Site.Modules.Files.Controls.Form");Site.Modules.Files.Controls.Form.File={defaults:{Accepts:null},config:{},Label:null,Select:null,Cancel:null,Dialog:null,constructor:function(e,forceNew,config) {Site.Modules.Files.Controls.Form.File.superclass.constructor.apply(this,arguments);this.config=Object.applyIf(config||{},this.defaults);this.Label=LLDom(this.Id+".label");this.Select=LLDom(this.Id+".select");this.Cancel=LLDom(this.Id+".cancel");this.Dialog=new LC.Site.Controls.Modal.Dialog(null,null,{For:this.Id+".select",AlignTo:"Body",Align:"c-c?",Width:1000,Height:680,Title:Site.I18n.translate("Select File"),Message:null,Iframe:"~/core/9d713af2d20c45109f2575f1cc03ee78/select/index/0/?q="+LLSys.Encode.Base64.encode(Json.stringify({o:{Callback:null,Filters:false,Accepts:this.config.Accepts}})),IsMasked:true,IsResizable:true,IsDragable:true});this.on("change",function(){this.validate()}.createDelegate(this));this.Select.on("click",function() {Site.Modules.Files.getInstance().on("select",function(item) {Site.Modules.Files.getInstance().purgeListeners();this.setValue(item.id);var index="Name_"+Site.I18n.Locale.Locale;if(item[index]) {var name=item[index];} else if(!item[index]&&Site.I18n.Locale.Locale=="en_GB"&&item["Name_de_DE"]) {var name=item["Name_de_DE"];} else if(!item[index]&&item["Name_en_GB"]) {var name=item["Name_en_GB"];} else {var name="undefined";} this.Label.update(name+"."+item.Extension+" ("+Site.I18n.formatByteValue(item.Size)+")");}.createDelegate(this));}.createDelegate(this));this.Cancel.on("click",function(){this.clear()}.createDelegate(this));},setValue:function(value) {Site.Modules.Files.Controls.Form.File.superclass.setValue.apply(this,[value]);return true;},clear:function() {Site.Modules.Files.Controls.Form.File.superclass.setValue.apply(this,[""]);this.Label.update(Site.I18n.translate("No file selected"));return true;}};(function(){Object.extending("Site.Modules.Files.Controls.Form.File","Lucid.Lib.Dom.Element.Form.Text");})();var app=app||{};(function(o){"use strict";var ajax,getFormData,setProgress;ajax=function(data){var xmlhttp=(window.XMLHttpRequest)?new window.XMLHttpRequest():new window.ActiveXObject("Microsoft.XMLHTTP");var uploaded;xmlhttp.addEventListener('readystatechange',function(){if(this.readyState===4){if(this.status===200){uploaded=JSON.parse(this.response);if(typeof o.options.finished==='function'){o.options.finished(uploaded);}}else{if(typeof o.options.error==='function'){o.options.error();}}}});setProgress(0);xmlhttp.upload.addEventListener('progress',function(event){var percent;if(event.lengthComputable===true&&o.options.files.files.length!=0){percent=Math.round((event.loaded/event.total)*100);setProgress(percent);}});xmlhttp.open('post',o.options.processor);xmlhttp.send(data);};getFormData=function(source){var data=new FormData(),i;for(i=0;i<source.length;i=i+1){data.append('File[]',source[i]);} data.append('ajax',true);return data;};setProgress=function(value){if(o.options.progressBar!==undefined){o.options.progressBar.style.width=value?value+'%':0;} if(o.options.progressText!==undefined){o.options.progressText.innerText=value?value+'%':'';}};o.uploader=function(options){o.options=options;if(o.options.files!==undefined){ajax(getFormData(o.options.files.files));}}}(app));Object.createNamespace("Site.Modules.Files.Views");Site.Modules.Files.Views.Apply={constructor:function(config) {Site.Modules.Files.Views.Apply.superclass.constructor.apply(this,arguments);this.config=config||{};this.Form=LLDom("id.ace0ca5e8e4b444eb2aabb12dc649ff7");this.Image=LLDom("id.75e2b9e414994c4887d8c97cb2d3ec05");this.Form.Elements.forEach(function(e) {e.on("change",this.onChange.createDelegate(this));}.createDelegate(this));Site.onReady(this.onChange.createDelegate(this));Site.onReady(function() {var buttons=this.Form.select("button.Apply").elements;buttons.forEach(function(e) {LLDom(e).on("click",function(ev) {var item=LLDom("id.75e2b9e414994c4887d8c97cb2d3ec05").getData();if(isEmpty(this.config.Callback)) {this.config.Callback="window.parent.Site.Modules.Files.getInstance().select";} if(typeOf(this.config.Callback,"function")) {this.callback(item,this.getFilters());} else if(typeOf(this.config.Callback,"String")) {eval(this.config.Callback)(item,this.getFilters());}}.createDelegate(this));}.createDelegate(this));}.createDelegate(this));},getFilters:function() {var r={};var resize=this.Form.getElementByName("resize").getValue();var width=Number.saveWithin(this.Form.getElementByName("width").getValue(),0,2000);var height=Number.saveWithin(this.Form.getElementByName("height").getValue(),0,2000);if(resize=="ResizeTo") {r.ResizeTo=[width,height];} else if(resize=="ClipTo") {r.ClipTo=[width,height];} var sharpen=Number.saveWithin(this.Form.getElementByName("sharpen").getValue(),0,256);if(sharpen>0) {r.Sharpen=sharpen;} return r;},getSource:function(){return this.Form.getElementByName("source").getValue();},onChange:function() {var imagePreview=new Site.Modules.Images.Preview(this.getSource(),this.getFilters());var src=imagePreview.get();this.Image.setSource(src);}};(function(){Object.extending("Site.Modules.Files.Views.Apply","Object");})();Object.createNamespace("Site.Modules.Files.Views");Site.Modules.Files.Views.Index={Menu:{SelectAll:null,SelectNone:null,ReverseSelection:null,Delete:null,Move:null},constructor:function(e,forceNew) {Site.Modules.Files.Views.Index.superclass.constructor.apply(this,arguments);this.Selector=new Site.Modules.Files.Selectors.Index("id.e13bb5a62aba4c679779c0fd911536d3");this.Selector.View=this;Site.Modules.Files.getInstance().Selectors["Index"]=this.Selector;this.Menu.SelectAll=LLDom("id.c246bd659fe04e5b894e2dbc11157cfe");this.Menu.SelectNone=LLDom("id.0873e2b1da654214aa4b0751869f9651");this.Menu.ReverseSelection=LLDom("id.6ea188c200d14a6a80183fe76fb93335");this.Menu.Move=LLDom("id.48552f904de845a38a9b3d3ca12c2293");this.Menu.Delete=LLDom("id.f9deca853e834c1ca4353970da229445");this.Directories=[];var directories=this.select("tr.Directory").elements;for(var i=0,l=directories.length;i<l;i++) {this.Directories.push(LLDom(directories[i]));} for(var i=0,l=this.Directories.length;i<l;i++) {this.Directories[i].dom.ondragover=function() {this.className="Directory DragOver";return false;};this.Directories[i].dom.ondragleave=function() {this.className="Directory";return false;};this.Directories[i].dom.ondragend=function() {this.className="Directory";return false;};this.Directories[i].dom.ondrop=function(ev) {this.className="Directory";ev.preventDefault();var e=LLDom(this);var data=e.getData();if(data&&data.Id&&typeof FormData=="function") {var files=ev.dataTransfer.files;var formData=new FormData();for(var ii=0;ii<files.length;ii++) {formData.append("data_"+ii+"_File",files[ii]);} var xhr=new XMLHttpRequest();xhr.open("POST",Site.getBase("~/core/9d713af2d20c45109f2575f1cc03ee78/files/upload5/"+data.Id));xhr.onload=function() {new LLWeb.Client().refresh();};xhr.upload.onprogress=function(event) {if(event.lengthComputable) {var complete=(event.loaded/event.total*100|0);};};xhr.send(formData);}};} this.Menu.SelectAll.on("click",function(ev) {var r=this.Selector.selectAll();if(r>0) {this.Menu.Move.removeClass("Disabled");this.Menu.Delete.removeClass("Disabled");} else {this.Menu.Move.addClass("Disabled");this.Menu.Delete.addClass("Disabled");}}.createDelegate(this));this.Menu.SelectNone.on("click",function() {var r=this.Selector.selectNone();if(r>0) {this.Menu.Move.removeClass("Disabled");this.Menu.Delete.removeClass("Disabled");} else {this.Menu.Move.addClass("Disabled");this.Menu.Delete.addClass("Disabled");}}.createDelegate(this));this.Menu.ReverseSelection.on("click",function() {var r=this.Selector.reverseSelection();if(r>0) {this.Menu.Move.removeClass("Disabled");this.Menu.Delete.removeClass("Disabled");} else {this.Menu.Move.addClass("Disabled");this.Menu.Delete.addClass("Disabled");}}.createDelegate(this));this.Menu.Move.on("click",function() {var selected=this.Selector.Selected;if(selected.Directories.length>0||selected.Files.length>0) {LLSys.Task.delay(function() {var e=LLDom("ModalDialog").select("div.idc-7302a089186a4e26a3b4cb08bb59eda1").elements[0];var selector=new Site.Modules.Files.Selectors.Directory(e);selector.Selected.Files=selected.Files;selector.Selected.Directories=selected.Directories;Site.Modules.Files.getInstance().Selectors["Directory"]=selector;LLDom("ModalDialogYes").on("click",function() {var selector=Site.Modules.Files.getInstance().Selectors["Directory"];if(selector.Selected.To) {if(selector.Selected.Directories.length>0&&selector.Selected.Files.length>0) {return new LLWeb.Client().redirect(Site.getBase("~/core/9d713af2d20c45109f2575f1cc03ee78/move/"+selector.Selected.Directories.join(",")+"/"+selector.Selected.Files.join(",")+"/"+selector.Selected.To));} else if(selector.Selected.Files.length>0) {return new LLWeb.Client().redirect(Site.getBase("~/core/9d713af2d20c45109f2575f1cc03ee78/files/move/"+selector.Selected.Files.join(",")+"/"+selector.Selected.To));} else if(selector.Selected.Directories.length>0) {return new LLWeb.Client().redirect(Site.getBase("~/core/9d713af2d20c45109f2575f1cc03ee78/directories/move/"+selector.Selected.Directories.join(",")+"/"+selector.Selected.To));}} LLDom("ModalDialogYes").purgeListeners();}.createDelegate(this));LLDom("ModalDialogCancel").on("click",function(){LLDom("ModalDialogYes").purgeListeners();}.createDelegate(this));}.createDelegate(this),100);} else {Lucid.Core.Site.Controls.Modal.Dialog.Instance.stopEvent=true;new Lucid.Core.Site.Controls.Document.Messages.Error().setMessage("<t>No directories and/or files selected. You have to select at least one directory or file.</t>");return false;}}.createDelegate(this));this.onModalDialogClickYes1=function() {var selected=this.Selector.Selected;var required=LLDom("ModalDialogTanValue").getInnerHtml();var tan=LLDom("ModalDialogTanInput");if(tan.isVisible()&&tan.getValue()==required) {return new LLWeb.Client().redirect(Site.getBase("~/core/9d713af2d20c45109f2575f1cc03ee78/delete/"+selected.Directories.join(",")+"/"+selected.Files.join(",")));}};this.Menu.Delete.on("click",function(ev) {var selected=this.Selector.Selected;if(selected.Directories.length>0||selected.Files.length>0) {LLDom("ModalDialogYes").on("click",this.onModalDialogClickYes1.createDelegate(this));LLDom("ModalDialogCancel").on("click",function(){LLDom("ModalDialogYes").purgeListeners();}.createDelegate(this));} else {Lucid.Core.Site.Controls.Modal.Dialog.Instance.stopEvent=true;new Lucid.Core.Site.Controls.Document.Messages.Error().setMessage("<t>No directories and/or files selected. You have to select at least one directory or file.</t>");return false;}}.createDelegate(this));this.onModalDialogClickYes2=function(ev) {var selector=Site.Modules.Files.getInstance().Selectors["Directory"];if(selector.Selected.To) {if(selector.Selected.Directories.length>0&&selector.Selected.Files.length>0) {return new LLWeb.Client().redirect(Site.getBase("~/core/9d713af2d20c45109f2575f1cc03ee78/move/"+selector.Selected.Directories.join(",")+"/"+selector.Selected.Files.join(",")+"/"+selector.Selected.To));} else if(selector.Selected.Files.length>0) {return new LLWeb.Client().redirect(Site.getBase("~/core/9d713af2d20c45109f2575f1cc03ee78/files/move/"+selector.Selected.Files.join(",")+"/"+selector.Selected.To));} else if(selector.Selected.Directories.length>0) {return new LLWeb.Client().redirect(Site.getBase("~/core/9d713af2d20c45109f2575f1cc03ee78/directories/move/"+selector.Selected.Directories.join(",")+"/"+selector.Selected.To));}}};this.select("a.Move").elements.forEach(function(e) {LLDom(e).on("click",function(ev) {var ele=ev.getTarget();var parent=ele;while(parent.tagName!="TR") {parent=parent.parentNode;} var data=LLDom(parent).getData();LLSys.Task.delay(function() {var e=LLDom("ModalDialog").select("div.idc-7302a089186a4e26a3b4cb08bb59eda1").elements[0];var selector=new Site.Modules.Files.Selectors.Directory(e);selector.Selected[(data.IsFile?"Files":"Directories")]=[data.Id];Site.Modules.Files.getInstance().Selectors["Directory"]=selector;LLDom("ModalDialogYes").on("click",function() {var selector=Site.Modules.Files.getInstance().Selectors["Directory"];if(selector.Selected.To) {if(selector.Selected.Directories.length>0&&selector.Selected.Files.length>0) {return new LLWeb.Client().redirect(Site.getBase("~/core/9d713af2d20c45109f2575f1cc03ee78/move/"+selector.Selected.Directories.join(",")+"/"+selector.Selected.Files.join(",")+"/"+selector.Selected.To));} else if(selector.Selected.Files.length>0) {return new LLWeb.Client().redirect(Site.getBase("~/core/9d713af2d20c45109f2575f1cc03ee78/files/move/"+selector.Selected.Files.join(",")+"/"+selector.Selected.To));} else if(selector.Selected.Directories.length>0) {return new LLWeb.Client().redirect(Site.getBase("~/core/9d713af2d20c45109f2575f1cc03ee78/directories/move/"+selector.Selected.Directories.join(",")+"/"+selector.Selected.To));}} LLDom("ModalDialogYes").purgeListeners();}.createDelegate(this));LLDom("ModalDialogCancel").on("click",function(){LLDom("ModalDialogYes").purgeListeners();}.createDelegate(this));}.createDelegate(this),100);}.createDelegate(this));}.createDelegate(this));}};(function(){Object.extending("Site.Modules.Files.Views.Index","Lucid.Lib.Dom.Element");})();Object.createNamespace("Site.Modules.Files.Views");Site.Modules.Files.Views.Select={config:{},constructor:function(e,forceNew,config) {Site.Modules.Files.Views.Select.superclass.constructor.apply(this,arguments);this.config=config||{};this.Directories=[];var directories=this.select("tr.Directory").elements;dump(directories);for(var i=0,l=directories.length;i<l;i++) {this.Directories.push(LLDom(directories[i]));} for(var i=0,l=this.Directories.length;i<l;i++) {this.Directories[i].dom.ondragover=function() {this.className="Directory DragOver";return false;};this.Directories[i].dom.ondragleave=function() {this.className="Directory";return false;};this.Directories[i].dom.ondragend=function() {this.className="Directory";return false;};this.Directories[i].dom.ondrop=function(ev) {this.className="Directory";ev.preventDefault();var e=LLDom(this);var data=e.getData();if(data&&data.Id&&typeof FormData=="function") {var files=ev.dataTransfer.files;var formData=new FormData();for(var ii=0;ii<files.length;ii++) {formData.append("data_"+ii+"_File",files[ii]);} var xhr=new XMLHttpRequest();xhr.open("POST",Site.getBase("~/core/9d713af2d20c45109f2575f1cc03ee78/files/upload5/"+data.Id));xhr.onload=function() {new LLWeb.Client().refresh()};xhr.upload.onprogress=function(event) {if(event.lengthComputable) {var complete=(event.loaded/event.total*100|0);};};xhr.send(formData);}};} var selects=this.select("td.Select button.Select").elements;selects.forEach(function(e) {LLDom(e).on("click",function(ev) {var e=ev.getTarget();while(e.tagName!=="BUTTON") {e=e.parentNode;} var item=LLDom(e).getData();if(typeOf(this.config.Callback)=="undefined"||this.config.Callback===null) {this.config.Callback="window.parent.Site.Modules.Files.getInstance().select";} if(typeOf(this.config.Callback,"Function")) {this.config.Callback(item);} else if(typeOf(this.config.Callback,"String")) {eval(this.config.Callback)(item);}}.createDelegate(this));}.createDelegate(this));var selects=this.select("div.DirectorySelect button.Select").elements;selects.forEach(function(e) {LLDom(e).on("click",function(ev) {var e=ev.getTarget();while(e.tagName!=="BUTTON") {e=e.parentNode;} var item=LLDom(e).getData();if(typeOf(this.config.Callback)=="undefined"||this.config.Callback===null) {this.config.Callback="window.parent.Site.Modules.Files.getInstance().select";} if(typeOf(this.config.Callback,"Function")) {this.config.Callback(item);} else if(typeOf(this.config.Callback,"String")) {eval(this.config.Callback)(item);}}.createDelegate(this));}.createDelegate(this));}};(function(){Object.extending("Site.Modules.Files.Views.Select","Lucid.Lib.Dom.Element");})();Object.createNamespace("Site.Modules.Files.Views.Select");Site.Modules.Files.Views.Select.Search={config:{},constructor:function(e,forceNew,config) {Site.Modules.Files.Views.Select.Search.superclass.constructor.apply(this,arguments);this.config=config||{};var selects=this.select("td.Select button.Select").elements;selects.forEach(function(e) {LLDom(e).on("click",function(ev) {var e=ev.getTarget();while(e.tagName!=="BUTTON") {e=e.parentNode;} var item=LLDom(e).getData();if(typeOf(this.config.Callback)=="undefined"||this.config.Callback===null) {this.config.Callback="window.parent.Site.Modules.Files.getInstance().select";} if(typeOf(this.config.Callback,"Function")) {this.config.Callback(item);} else if(typeOf(this.config.Callback,"String")) {eval(this.config.Callback)(item);}}.createDelegate(this));}.createDelegate(this));}};(function(){Object.extending("Site.Modules.Files.Views.Select.Search","Lucid.Lib.Dom.Element");})();Object.createNamespace("Site.Modules.Files.Selectors");Site.Modules.Files.Selectors.Directory={Directories:[],Selected:{Directories:[],Files:[],To:null},constructor:function(e,forceNew) {Site.Modules.Files.Selectors.Directory.superclass.constructor.apply(this,arguments);var elements=LLDom("ModalDialog").select("div.idc-7302a089186a4e26a3b4cb08bb59eda1 a").elements;for(var i=0,l=elements.length;i<l;i++) {this.Directories.push(LLDom(elements[i]));} this.Directories.forEach(function(e) {e.on("click",function(ev) {var target=LLDom(ev.getTarget());if(target.hasClass("Selected")) {target.removeClass("Selected");this.Selected.To=null;} else {this.Directories.forEach(function(e) {e.removeClass("Selected");}.createDelegate(this));target.addClass("Selected");this.Selected.To=target.getData().Id;}}.createDelegate(this));}.createDelegate(this));this.Directories.forEach(function(e) {if(e.hasClass("hasMore")) {e.on("click",function(ev) {var target=LLDom(ev.getTarget());var data=target.getData();var id=data.Id;this.Directories.forEach(function(e) {var data=e.getData();var parentId=data.ParentId;var isVisible=null;if(parentId==id) {if(isVisible==null) {isVisible=e.isVisible();} if(isVisible) {e.hide();} else {e.show();}}}.createDelegate(this));}.createDelegate(this));}}.createDelegate(this));}};(function(){Object.extending("Site.Modules.Files.Selectors.Directory","Lucid.Lib.Dom.Element");})();Object.createNamespace("Site.Modules.Files.Selectors");Site.Modules.Files.Selectors.Index={Selected:{Directories:[],Files:[],To:null},constructor:function(e,forceNew) {Site.Modules.Files.Selectors.Index.superclass.constructor.apply(this,arguments);this.onClick=function(ev,ele) {if(ele.tagName!="A") {while(ele.tagName!="TR"&&ele.parentNode) {ele=ele.parentNode;} ele=LLDom(ele);var data=ele.getData();if(Object.isDefined(data,"IsFile")||Object.isDefined(data,"IsDirectory")) {if(data.IsSelected) {ele.removeClass("Selected");data.IsSelected=0;if(data.IsDirectory) {this.unselectDirectory(data.Id);} else if(data.IsFile) {this.unselectFile(data.Id);}} else {ele.addClass("Selected");data.IsSelected=1;if(data.IsDirectory) {this.selectDirectory(data.Id);} else if(data.IsFile) {this.selectFile(data.Id);}} ele.setData(data);}} var r=(this.Selected.Directories.length+this.Selected.Files.length);if(r>0&&this.View.Menu.Move&&this.View.Menu.Delete) {this.View.Menu.Move.removeClass("Disabled");this.View.Menu.Delete.removeClass("Disabled");} else {this.View.Menu.Move.addClass("Disabled");this.View.Menu.Delete.addClass("Disabled");}};for(var i=0,l=this.Rows.length;i<l;i++) {this.Rows[i].on("click",this.onClick.createDelegate(this));}},reverseSelection:function() {for(var i=0,l=this.Rows.length;i<l;i++) {var data=this.Rows[i].getData();if(data.IsDirectory||data.IsFile) {if(data.IsSelected) {data.IsSelected=false;data.IsDirectory?this.unselectDirectory(data.Id):this.unselectFile(data.Id);this.Rows[i].removeClass("Selected");} else {data.IsSelected=true;data.IsDirectory?this.selectDirectory(data.Id):this.selectFile(data.Id);this.Rows[i].addClass("Selected");} this.Rows[i].setData(data);}} return(this.Selected.Directories.length+this.Selected.Files.length);},selectAll:function() {for(var i=0,l=this.Rows.length;i<l;i++) {var data=this.Rows[i].getData();if(data.IsDirectory||data.IsFile) {data.IsSelected=true;data.IsDirectory?this.selectDirectory(data.Id):this.selectFile(data.Id);this.Rows[i].setData(data);this.Rows[i].addClass("Selected");}} return(this.Selected.Directories.length+this.Selected.Files.length);},selectDirectory:function(id) {this.Selected.Directories.push(id);return(this.Selected.Directories.length+this.Selected.Files.length);},selectFile:function(id) {this.Selected.Files.push(id);return(this.Selected.Directories.length+this.Selected.Files.length);},selectNone:function() {for(var i=0,l=this.Rows.length;i<l;i++) {var data=this.Rows[i].getData();if(data.IsDirectory||data.IsFile) {data.IsSelected=false;data.IsDirectory?this.unselectDirectory(data.Id):this.unselectFile(data.Id);this.Rows[i].setData(data);this.Rows[i].removeClass("Selected");}} return 0;},unselectDirectory:function(id) {for(var i=0,l=this.Selected.Directories.length;i<l;i++) {if(this.Selected.Directories[i]==id) {this.Selected.Directories.splice(i,1);}} return(this.Selected.Directories.length+this.Selected.Files.length);},unselectFile:function(id) {for(var i=0,l=this.Selected.Files.length;i<l;i++) {if(this.Selected.Files[i]==id) {this.Selected.Files.splice(i,1);}} return(this.Selected.Directories.length+this.Selected.Files.length);}};(function(){Object.extending("Site.Modules.Files.Selectors.Index","Lucid.Lib.Dom.Element.Table");})();Object.createNamespace("Site.Modules.Files.Selectors");Site.Modules.Files.Selectors.Select={Selected:{Directories:[],Files:[],To:null},constructor:function(e,forceNew) {Site.Modules.Files.Selectors.Select.superclass.constructor.apply(this,arguments);this.addEvents({"select":true});},select:function(item) {Site.Modules.Files.getInstance().Selectors["Select"].fireEvent("select",item);}};(function(){Object.extending("Site.Modules.Files.Selectors.Select","Ext.util.Observable");})();Object.createNamespace("Site.Modules.Core.Views");Site.Modules.Core.Views.Test={constructor:function(e,forceNew){Site.Modules.Core.Views.Test.superclass.constructor.apply(this,arguments);}};(function(){Object.extending("Site.Modules.Core.Views.Test","Lucid.Lib.Dom.Element");})();Object.createNamespace("Site.Modules");Site.Modules.Translations={};Object.createNamespace("Site.Modules.Translations.Views");Site.Modules.Translations.Views.Form={Table:null,constructor:function(e,forceNew) {var rows,row,key;Site.Modules.Translations.Views.Form.superclass.constructor.apply(this,arguments);this.Table=LLDom(this.select("table").elements[0]);rows=this.Table.getRows();for(var i=0,l=rows.length;i<l;i++) {key=false;row=rows[i];if(row){key=row.select("input.TranslationKey").elements[0];} if(key) {row.bind={Key:LLDom(key),Label:LLDom(row.select("div.TranslationLabel").elements[0]),Value:LLDom(row.select("textarea.TranslationValue").elements[0]),EditControl:LLDom(row.select("a.TranslationEditControl").elements[0]),CopyControl:LLDom(row.select("a.TranslationCopyControl").elements[0]),ClearControl:LLDom(row.select("a.TranslationClearControl").elements[0])};row.bind.EditControl.on("click",function() {this.bind.Label.hide();this.bind.Value.show();this.bind.Value.focus();}.createDelegate(row));row.bind.CopyControl.on("click",function() {this.bind.Label.hide();this.bind.Value.show(this.bind.Key.getValue());this.bind.Value.setValue(this.bind.Key.getValue());this.bind.Value.focus();}.createDelegate(row));row.bind.ClearControl.on("click",function() {this.bind.Label.update("");this.bind.Value.setValue("");}.createDelegate(row));row.bind.Value.on("blur",function() {this.bind.Label.update(this.bind.Value.getValue());this.bind.Value.hide();this.bind.Label.show();}.createDelegate(row))}}}};(function(){Object.extending("Site.Modules.Translations.Views.Form","Lucid.Lib.Dom.Element.Form");})();(function(window,undefined){var S={version:"3.0.3"};var ua=navigator.userAgent.toLowerCase();if(ua.indexOf("windows")>-1||ua.indexOf("win32")>-1){S.isWindows=true} else{if(ua.indexOf("macintosh")>-1||ua.indexOf("mac os x")>-1){S.isMac=true} else{if(ua.indexOf("linux")>-1){S.isLinux=true}}} S.isIE=ua.indexOf("msie")>-1;S.isIE6=ua.indexOf("msie 6")>-1;S.isIE7=ua.indexOf("msie 7")>-1;S.isGecko=ua.indexOf("gecko")>-1&&ua.indexOf("safari")==-1;S.isWebKit=ua.indexOf("applewebkit/")>-1;var inlineId=/#(.+)$/,galleryName=/^(light|shadow)box\[(.*?)\]/i,inlineParam=/\s*([a-z_]*?)\s*=\s*(.+)\s*/,fileExtension=/[0-9a-z]+$/i,scriptPath=/(.+\/)shadowbox\.js/i;var open=false,initialized=false,lastOptions={},slideDelay=0,slideStart,slideTimer;S.current=-1;S.dimensions=null;S.ease=function(state){return 1+Math.pow(state-1,3)};S.errorInfo={fla:{name:"Flash",url:"http://www.adobe.com/products/flashplayer/"},qt:{name:"QuickTime",url:"http://www.apple.com/quicktime/download/"},wmp:{name:"Windows Media Player",url:"http://www.microsoft.com/windows/windowsmedia/"},f4m:{name:"Flip4Mac",url:"http://www.flip4mac.com/wmv_download.htm"}};S.gallery=[];S.onReady=noop;S.path=null;S.player=null;S.playerId="sb-player";S.options={animate:true,animateFade:true,autoplayMovies:true,continuous:false,enableKeys:true,flashParams:{bgcolor:"#000000",allowfullscreen:true},flashVars:{},flashVersion:"9.0.115",handleOversize:"resize",handleUnsupported:"link",onChange:noop,onClose:noop,onFinish:noop,onOpen:noop,showMovieControls:true,skipSetup:false,slideshowDelay:0,viewportPadding:20};S.getCurrent=function(){return S.current>-1?S.gallery[S.current]:null};S.hasNext=function(){return S.gallery.length>1&&(S.current!=S.gallery.length-1||S.options.continuous)};S.isOpen=function(){return open};S.isPaused=function(){return slideTimer=="pause"};S.applyOptions=function(options){lastOptions=apply({},S.options);apply(S.options,options)};S.revertOptions=function(){apply(S.options,lastOptions)};S.init=function(options,callback){if(initialized){return} initialized=true;if(S.skin.options){apply(S.options,S.skin.options)} if(options){apply(S.options,options)} if(!S.path){var path,scripts=document.getElementsByTagName("script");for(var i=0,len=scripts.length;i<len;++i){path=scriptPath.exec(scripts[i].src);if(path){S.path=path[1];break}}} if(callback){S.onReady=callback} bindLoad()};S.open=function(obj){if(open){return} var gc=S.makeGallery(obj);S.gallery=gc[0];S.current=gc[1];obj=S.getCurrent();if(obj==null){return} S.applyOptions(obj.options||{});filterGallery();if(S.gallery.length){obj=S.getCurrent();if(S.options.onOpen(obj)===false){return} open=true;S.skin.onOpen(obj,load)}};S.close=function(){if(!open){return} open=false;if(S.player){S.player.remove();S.player=null} if(typeof slideTimer=="number"){clearTimeout(slideTimer);slideTimer=null} slideDelay=0;listenKeys(false);S.options.onClose(S.getCurrent());S.skin.onClose();S.revertOptions()};S.play=function(){if(!S.hasNext()){return} if(!slideDelay){slideDelay=S.options.slideshowDelay*1000} if(slideDelay){slideStart=now();slideTimer=setTimeout(function(){slideDelay=slideStart=0;S.next()},slideDelay);if(S.skin.onPlay){S.skin.onPlay()}}};S.pause=function(){if(typeof slideTimer!="number"){return} slideDelay=Math.max(0,slideDelay-(now()-slideStart));if(slideDelay){clearTimeout(slideTimer);slideTimer="pause";if(S.skin.onPause){S.skin.onPause()}}};S.change=function(index){if(!(index in S.gallery)){if(S.options.continuous){index=(index<0?S.gallery.length+index:0);if(!(index in S.gallery)){return}} else{return}} S.current=index;if(typeof slideTimer=="number"){clearTimeout(slideTimer);slideTimer=null;slideDelay=slideStart=0} S.options.onChange(S.getCurrent());load(true)};S.next=function(){S.change(S.current+1)};S.previous=function(){S.change(S.current-1)};S.setDimensions=function(height,width,maxHeight,maxWidth,topBottom,leftRight,padding,preserveAspect){var originalHeight=height,originalWidth=width;var extraHeight=2*padding+topBottom;if(height+extraHeight>maxHeight){height=maxHeight-extraHeight} var extraWidth=2*padding+leftRight;if(width+extraWidth>maxWidth){width=maxWidth-extraWidth} var changeHeight=(originalHeight-height)/originalHeight,changeWidth=(originalWidth-width)/originalWidth,oversized=(changeHeight>0||changeWidth>0);if(preserveAspect&&oversized){if(changeHeight>changeWidth){width=Math.round((originalWidth/originalHeight)*height)} else{if(changeWidth>changeHeight){height=Math.round((originalHeight/originalWidth)*width)}}} S.dimensions={height:height+topBottom,width:width+leftRight,innerHeight:height,innerWidth:width,top:Math.floor((maxHeight-(height+extraHeight))/2+padding),left:Math.floor((maxWidth-(width+extraWidth))/2+padding),oversized:oversized};return S.dimensions};S.makeGallery=function(obj){var gallery=[],current=-1;if(typeof obj=="string"){obj=[obj]} if(typeof obj.length=="number"){each(obj,function(i,o){if(o.content){gallery[i]=o} else{gallery[i]={content:o}}});current=0} else{if(obj.tagName){var cacheObj=S.getCache(obj);obj=cacheObj?cacheObj:S.makeObject(obj)} if(obj.gallery){gallery=[];var o;for(var key in S.cache){o=S.cache[key];if(o.gallery&&o.gallery==obj.gallery){if(current==-1&&o.content==obj.content){current=gallery.length} gallery.push(o)}} if(current==-1){gallery.unshift(obj);current=0}} else{gallery=[obj];current=0}} each(gallery,function(i,o){gallery[i]=apply({},o)});return[gallery,current]};S.makeObject=function(link,options){var obj={content:link.href,title:link.getAttribute("title")||"",link:link};if(options){options=apply({},options);each(["player","title","height","width","gallery"],function(i,o){if(typeof options[o]!="undefined"){obj[o]=options[o];delete options[o]}});obj.options=options} else{obj.options={}} if(!obj.player){obj.player=S.getPlayer(obj.content)} var rel=link.getAttribute("rel");if(rel){var match=rel.match(galleryName);if(match){obj.gallery=escape(match[2])} each(rel.split(";"),function(i,p){match=p.match(inlineParam);if(match){obj[match[1]]=match[2]}})} return obj};S.getPlayer=function(content){if(content.indexOf("#")>-1&&content.indexOf(document.location.href)==0){return"inline"} var q=content.indexOf("?");if(q>-1){content=content.substring(0,q)} var ext,m=content.match(fileExtension);if(m){ext=m[0].toLowerCase()} if(ext){if(S.img&&S.img.ext.indexOf(ext)>-1){return"img"} if(S.swf&&S.swf.ext.indexOf(ext)>-1){return"swf"} if(S.flv&&S.flv.ext.indexOf(ext)>-1){return"flv"} if(S.qt&&S.qt.ext.indexOf(ext)>-1){if(S.wmp&&S.wmp.ext.indexOf(ext)>-1){return"qtwmp"} else{return"qt"}} if(S.wmp&&S.wmp.ext.indexOf(ext)>-1){return"wmp"}} return"iframe"};function filterGallery(){var err=S.errorInfo,plugins=S.plugins,obj,remove,needed,m,format,replace,inlineEl,flashVersion;for(var i=0;i<S.gallery.length;++i){obj=S.gallery[i];remove=false;needed=null;switch(obj.player){case"flv":case"swf":if(!plugins.fla){needed="fla"} break;case"qt":if(!plugins.qt){needed="qt"} break;case"wmp":if(S.isMac){if(plugins.qt&&plugins.f4m){obj.player="qt"} else{needed="qtf4m"}} else{if(!plugins.wmp){needed="wmp"}} break;case"qtwmp":if(plugins.qt){obj.player="qt"} else{if(plugins.wmp){obj.player="wmp"} else{needed="qtwmp"}} break} if(needed){if(S.options.handleUnsupported=="link"){switch(needed){case"qtf4m":format="shared";replace=[err.qt.url,err.qt.name,err.f4m.url,err.f4m.name];break;case"qtwmp":format="either";replace=[err.qt.url,err.qt.name,err.wmp.url,err.wmp.name];break;default:format="single";replace=[err[needed].url,err[needed].name]} obj.player="html";obj.content='<div class="sb-message">'+sprintf(S.lang.errors[format],replace)+"</div>"} else{remove=true}} else{if(obj.player=="inline"){m=inlineId.exec(obj.content);if(m){inlineEl=get(m[1]);if(inlineEl){obj.content=inlineEl.innerHTML} else{remove=true}} else{remove=true}} else{if(obj.player=="swf"||obj.player=="flv"){flashVersion=(obj.options&&obj.options.flashVersion)||S.options.flashVersion;if(S.flash&&!S.flash.hasFlashPlayerVersion(flashVersion)){obj.width=310;obj.height=177}}}} if(remove){S.gallery.splice(i,1);if(i<S.current){--S.current} else{if(i==S.current){S.current=i>0?i-1:i}} --i}}} function listenKeys(on){if(!S.options.enableKeys){return} (on?addEvent:removeEvent)(document,"keydown",handleKey)} function handleKey(e){if(e.metaKey||e.shiftKey||e.altKey||e.ctrlKey){return} var code=keyCode(e),handler;switch(code){case 81:case 88:case 27:handler=S.close;break;case 37:handler=S.previous;break;case 39:handler=S.next;break;case 32:handler=typeof slideTimer=="number"?S.pause:S.play;break} if(handler){preventDefault(e);handler()}} function load(changing){listenKeys(false);var obj=S.getCurrent();var player=(obj.player=="inline"?"html":obj.player);if(typeof S[player]!="function"){throw"unknown player "+player} if(changing){S.player.remove();S.revertOptions();S.applyOptions(obj.options||{})} S.player=new S[player](obj,S.playerId);if(S.gallery.length>1){var next=S.gallery[S.current+1]||S.gallery[0];if(next.player=="img"){var a=new Image();a.src=next.content} var prev=S.gallery[S.current-1]||S.gallery[S.gallery.length-1];if(prev.player=="img"){var b=new Image();b.src=prev.content}} S.skin.onLoad(changing,waitReady)} function waitReady(){if(!open){return} if(typeof S.player.ready!="undefined"){var timer=setInterval(function(){if(open){if(S.player.ready){clearInterval(timer);timer=null;S.skin.onReady(show)}} else{clearInterval(timer);timer=null}},10)} else{S.skin.onReady(show)}} function show(){if(!open){return} S.player.append(S.skin.body,S.dimensions);S.skin.onShow(finish)} function finish(){if(!open){return} if(S.player.onLoad){S.player.onLoad()} S.options.onFinish(S.getCurrent());if(!S.isPaused()){S.play()} listenKeys(true)} if(!Array.prototype.indexOf){Array.prototype.indexOf=function(obj,from){var len=this.length>>>0;from=from||0;if(from<0){from+=len} for(;from<len;++from){if(from in this&&this[from]===obj){return from}} return-1}} function now(){return(new Date).getTime()} function apply(original,extension){for(var property in extension){original[property]=extension[property]} return original} function each(obj,callback){var i=0,len=obj.length;for(var value=obj[0];i<len&&callback.call(value,i,value)!==false;value=obj[++i]){}} function sprintf(str,replace){return str.replace(/\{(\w+?)\}/g,function(match,i){return replace[i]})} function noop(){} function get(id){return document.getElementById(id)} function remove(el){el.parentNode.removeChild(el)} var supportsOpacity=true,supportsFixed=true;function checkSupport(){var body=document.body,div=document.createElement("div");supportsOpacity=typeof div.style.opacity==="string";div.style.position="fixed";div.style.margin=0;div.style.top="20px";body.appendChild(div,body.firstChild);supportsFixed=div.offsetTop==20;body.removeChild(div)} S.getStyle=(function(){var opacity=/opacity=([^)]*)/,getComputedStyle=document.defaultView&&document.defaultView.getComputedStyle;return function(el,style){var ret;if(!supportsOpacity&&style=="opacity"&&el.currentStyle){ret=opacity.test(el.currentStyle.filter||"")?(parseFloat(RegExp.$1)/100)+"":"";return ret===""?"1":ret} if(getComputedStyle){var computedStyle=getComputedStyle(el,null);if(computedStyle){ret=computedStyle[style]} if(style=="opacity"&&ret==""){ret="1"}} else{ret=el.currentStyle[style]} return ret}})();S.appendHTML=function(el,html){if(el.insertAdjacentHTML){el.insertAdjacentHTML("BeforeEnd",html)} else{if(el.lastChild){var range=el.ownerDocument.createRange();range.setStartAfter(el.lastChild);var frag=range.createContextualFragment(html);el.appendChild(frag)} else{el.innerHTML=html}}};S.getWindowSize=function(dimension){if(document.compatMode==="CSS1Compat"){return document.documentElement["client"+dimension]} return document.body["client"+dimension]};S.setOpacity=function(el,opacity){var style=el.style;if(supportsOpacity){style.opacity=(opacity==1?"":opacity)} else{style.zoom=1;if(opacity==1){if(typeof style.filter=="string"&&(/alpha/i).test(style.filter)){style.filter=style.filter.replace(/\s*[\w\.]*alpha\([^\)]*\);?/gi,"")}} else{style.filter=(style.filter||"").replace(/\s*[\w\.]*alpha\([^\)]*\)/gi,"")+" alpha(opacity="+(opacity*100)+")"}}};S.clearOpacity=function(el){S.setOpacity(el,1)};function getTarget(e){var target=e.target?e.target:e.srcElement;return target.nodeType==3?target.parentNode:target} function getPageXY(e){var x=e.pageX||(e.clientX+(document.documentElement.scrollLeft||document.body.scrollLeft)),y=e.pageY||(e.clientY+(document.documentElement.scrollTop||document.body.scrollTop));return[x,y]} function preventDefault(e){e.preventDefault()} function keyCode(e){return e.which?e.which:e.keyCode} function addEvent(el,type,handler){if(el.addEventListener){el.addEventListener(type,handler,false)} else{if(el.nodeType===3||el.nodeType===8){return} if(el.setInterval&&(el!==window&&!el.frameElement)){el=window} if(!handler.__guid){handler.__guid=addEvent.guid++} if(!el.events){el.events={}} var handlers=el.events[type];if(!handlers){handlers=el.events[type]={};if(el["on"+type]){handlers[0]=el["on"+type]}} handlers[handler.__guid]=handler;el["on"+type]=addEvent.handleEvent}} addEvent.guid=1;addEvent.handleEvent=function(event){var result=true;event=event||addEvent.fixEvent(((this.ownerDocument||this.document||this).parentWindow||window).event);var handlers=this.events[event.type];for(var i in handlers){this.__handleEvent=handlers[i];if(this.__handleEvent(event)===false){result=false}} return result};addEvent.preventDefault=function(){this.returnValue=false};addEvent.stopPropagation=function(){this.cancelBubble=true};addEvent.fixEvent=function(e){e.preventDefault=addEvent.preventDefault;e.stopPropagation=addEvent.stopPropagation;return e};function removeEvent(el,type,handler){if(el.removeEventListener){el.removeEventListener(type,handler,false)} else{if(el.events&&el.events[type]){delete el.events[type][handler.__guid]}}} var loaded=false,DOMContentLoaded;if(document.addEventListener){DOMContentLoaded=function(){document.removeEventListener("DOMContentLoaded",DOMContentLoaded,false);S.load()}} else{if(document.attachEvent){DOMContentLoaded=function(){if(document.readyState==="complete"){document.detachEvent("onreadystatechange",DOMContentLoaded);S.load()}}}} function doScrollCheck(){if(loaded){return} try{document.documentElement.doScroll("left")} catch(e){setTimeout(doScrollCheck,1);return} S.load()} function bindLoad(){if(document.readyState==="complete"){return S.load()} if(document.addEventListener){document.addEventListener("DOMContentLoaded",DOMContentLoaded,false);window.addEventListener("load",S.load,false)} else{if(document.attachEvent){document.attachEvent("onreadystatechange",DOMContentLoaded);window.attachEvent("onload",S.load);var topLevel=false;try{topLevel=window.frameElement===null} catch(e){} if(document.documentElement.doScroll&&topLevel){doScrollCheck()}}}} S.load=function(){if(loaded){return} if(!document.body){return setTimeout(S.load,13)} loaded=true;checkSupport();S.onReady();if(!S.options.skipSetup){S.setup()} S.skin.init()};S.plugins={};if(navigator.plugins&&navigator.plugins.length){var names=[];each(navigator.plugins,function(i,p){names.push(p.name)});names=names.join(",");var f4m=names.indexOf("Flip4Mac")>-1;S.plugins={fla:names.indexOf("Shockwave Flash")>-1,qt:names.indexOf("QuickTime")>-1,wmp:!f4m&&names.indexOf("Windows Media")>-1,f4m:f4m}} else{var detectPlugin=function(name){var axo;try{axo=new ActiveXObject(name)} catch(e){} return!!axo};S.plugins={fla:detectPlugin("ShockwaveFlash.ShockwaveFlash"),qt:detectPlugin("QuickTime.QuickTime"),wmp:detectPlugin("wmplayer.ocx"),f4m:false}} var relAttr=/^(light|shadow)box/i,expando="shadowboxCacheKey",cacheKey=1;S.cache={};S.select=function(selector){var links=[];if(!selector){var rel;each(document.getElementsByTagName("a"),function(i,el){rel=el.getAttribute("rel");if(rel&&relAttr.test(rel)){links.push(el)}})} else{var length=selector.length;if(length){if(typeof selector=="string"){if(S.find){links=S.find(selector)}} else{if(length==2&&typeof selector[0]=="string"&&selector[1].nodeType){if(S.find){links=S.find(selector[0],selector[1])}} else{for(var i=0;i<length;++i){links[i]=selector[i]}}}} else{links.push(selector)}} return links};S.setup=function(selector,options){each(S.select(selector),function(i,link){S.addCache(link,options)})};S.teardown=function(selector){each(S.select(selector),function(i,link){S.removeCache(link)})};S.addCache=function(link,options){var key=link[expando];if(key==undefined){key=cacheKey++;link[expando]=key;addEvent(link,"click",handleClick)} S.cache[key]=S.makeObject(link,options)};S.removeCache=function(link){removeEvent(link,"click",handleClick);delete S.cache[link[expando]];link[expando]=null};S.getCache=function(link){var key=link[expando];return(key in S.cache&&S.cache[key])};S.clearCache=function(){for(var key in S.cache){S.removeCache(S.cache[key].link)} S.cache={}};function handleClick(e){S.open(this);if(S.gallery.length){preventDefault(e)}} S.find=(function(){var chunker=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,done=0,toString=Object.prototype.toString,hasDuplicate=false,baseHasDuplicate=true;[0,0].sort(function(){baseHasDuplicate=false;return 0});var Sizzle=function(selector,context,results,seed){results=results||[];var origContext=context=context||document;if(context.nodeType!==1&&context.nodeType!==9){return[]} if(!selector||typeof selector!=="string"){return results} var parts=[],m,set,checkSet,extra,prune=true,contextXML=isXML(context),soFar=selector;while((chunker.exec(""),m=chunker.exec(soFar))!==null){soFar=m[3];parts.push(m[1]);if(m[2]){extra=m[3];break}} if(parts.length>1&&origPOS.exec(selector)){if(parts.length===2&&Expr.relative[parts[0]]){set=posProcess(parts[0]+parts[1],context)} else{set=Expr.relative[parts[0]]?[context]:Sizzle(parts.shift(),context);while(parts.length){selector=parts.shift();if(Expr.relative[selector]){selector+=parts.shift()} set=posProcess(selector,set)}}} else{if(!seed&&parts.length>1&&context.nodeType===9&&!contextXML&&Expr.match.ID.test(parts[0])&&!Expr.match.ID.test(parts[parts.length-1])){var ret=Sizzle.find(parts.shift(),context,contextXML);context=ret.expr?Sizzle.filter(ret.expr,ret.set)[0]:ret.set[0]} if(context){var ret=seed?{expr:parts.pop(),set:makeArray(seed)}:Sizzle.find(parts.pop(),parts.length===1&&(parts[0]==="~"||parts[0]==="+")&&context.parentNode?context.parentNode:context,contextXML);set=ret.expr?Sizzle.filter(ret.expr,ret.set):ret.set;if(parts.length>0){checkSet=makeArray(set)} else{prune=false} while(parts.length){var cur=parts.pop(),pop=cur;if(!Expr.relative[cur]){cur=""} else{pop=parts.pop()} if(pop==null){pop=context} Expr.relative[cur](checkSet,pop,contextXML)}} else{checkSet=parts=[]}} if(!checkSet){checkSet=set} if(!checkSet){throw"Syntax error, unrecognized expression: "+(cur||selector)} if(toString.call(checkSet)==="[object Array]"){if(!prune){results.push.apply(results,checkSet)} else{if(context&&context.nodeType===1){for(var i=0;checkSet[i]!=null;i++){if(checkSet[i]&&(checkSet[i]===true||checkSet[i].nodeType===1&&contains(context,checkSet[i]))){results.push(set[i])}}} else{for(var i=0;checkSet[i]!=null;i++){if(checkSet[i]&&checkSet[i].nodeType===1){results.push(set[i])}}}}} else{makeArray(checkSet,results)} if(extra){Sizzle(extra,origContext,results,seed);Sizzle.uniqueSort(results)} return results};Sizzle.uniqueSort=function(results){if(sortOrder){hasDuplicate=baseHasDuplicate;results.sort(sortOrder);if(hasDuplicate){for(var i=1;i<results.length;i++){if(results[i]===results[i-1]){results.splice(i--,1)}}}} return results};Sizzle.matches=function(expr,set){return Sizzle(expr,null,null,set)};Sizzle.find=function(expr,context,isXML){var set,match;if(!expr){return[]} for(var i=0,l=Expr.order.length;i<l;i++){var type=Expr.order[i],match;if((match=Expr.leftMatch[type].exec(expr))){var left=match[1];match.splice(1,1);if(left.substr(left.length-1)!=="\\"){match[1]=(match[1]||"").replace(/\\/g,"");set=Expr.find[type](match,context,isXML);if(set!=null){expr=expr.replace(Expr.match[type],"");break}}}} if(!set){set=context.getElementsByTagName("*")} return{set:set,expr:expr}};Sizzle.filter=function(expr,set,inplace,not){var old=expr,result=[],curLoop=set,match,anyFound,isXMLFilter=set&&set[0]&&isXML(set[0]);while(expr&&set.length){for(var type in Expr.filter){if((match=Expr.match[type].exec(expr))!=null){var filter=Expr.filter[type],found,item;anyFound=false;if(curLoop===result){result=[]} if(Expr.preFilter[type]){match=Expr.preFilter[type](match,curLoop,inplace,result,not,isXMLFilter);if(!match){anyFound=found=true} else{if(match===true){continue}}} if(match){for(var i=0;(item=curLoop[i])!=null;i++){if(item){found=filter(item,match,i,curLoop);var pass=not^!!found;if(inplace&&found!=null){if(pass){anyFound=true} else{curLoop[i]=false}} else{if(pass){result.push(item);anyFound=true}}}}} if(found!==undefined){if(!inplace){curLoop=result} expr=expr.replace(Expr.match[type],"");if(!anyFound){return[]} break}}} if(expr===old){if(anyFound==null){throw"Syntax error, unrecognized expression: "+expr} else{break}} old=expr} return curLoop};var Expr=Sizzle.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\((even|odd|[\dn+-]*)\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF-]|\\.)+)(?:\((['"]*)((?:\([^\)]+\)|[^\2\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(elem){return elem.getAttribute("href")}},relative:{"+":function(checkSet,part){var isPartStr=typeof part==="string",isTag=isPartStr&&!/\W/.test(part),isPartStrNotTag=isPartStr&&!isTag;if(isTag){part=part.toLowerCase()} for(var i=0,l=checkSet.length,elem;i<l;i++){if((elem=checkSet[i])){while((elem=elem.previousSibling)&&elem.nodeType!==1){} checkSet[i]=isPartStrNotTag||elem&&elem.nodeName.toLowerCase()===part?elem||false:elem===part}} if(isPartStrNotTag){Sizzle.filter(part,checkSet,true)}},">":function(checkSet,part){var isPartStr=typeof part==="string";if(isPartStr&&!/\W/.test(part)){part=part.toLowerCase();for(var i=0,l=checkSet.length;i<l;i++){var elem=checkSet[i];if(elem){var parent=elem.parentNode;checkSet[i]=parent.nodeName.toLowerCase()===part?parent:false}}} else{for(var i=0,l=checkSet.length;i<l;i++){var elem=checkSet[i];if(elem){checkSet[i]=isPartStr?elem.parentNode:elem.parentNode===part}} if(isPartStr){Sizzle.filter(part,checkSet,true)}}},"":function(checkSet,part,isXML){var doneName=done++,checkFn=dirCheck;if(typeof part==="string"&&!/\W/.test(part)){var nodeCheck=part=part.toLowerCase();checkFn=dirNodeCheck} checkFn("parentNode",part,doneName,checkSet,nodeCheck,isXML)},"~":function(checkSet,part,isXML){var doneName=done++,checkFn=dirCheck;if(typeof part==="string"&&!/\W/.test(part)){var nodeCheck=part=part.toLowerCase();checkFn=dirNodeCheck} checkFn("previousSibling",part,doneName,checkSet,nodeCheck,isXML)}},find:{ID:function(match,context,isXML){if(typeof context.getElementById!=="undefined"&&!isXML){var m=context.getElementById(match[1]);return m?[m]:[]}},NAME:function(match,context){if(typeof context.getElementsByName!=="undefined"){var ret=[],results=context.getElementsByName(match[1]);for(var i=0,l=results.length;i<l;i++){if(results[i].getAttribute("name")===match[1]){ret.push(results[i])}} return ret.length===0?null:ret}},TAG:function(match,context){return context.getElementsByTagName(match[1])}},preFilter:{CLASS:function(match,curLoop,inplace,result,not,isXML){match=" "+match[1].replace(/\\/g,"")+" ";if(isXML){return match} for(var i=0,elem;(elem=curLoop[i])!=null;i++){if(elem){if(not^(elem.className&&(" "+elem.className+" ").replace(/[\t\n]/g," ").indexOf(match)>=0)){if(!inplace){result.push(elem)}} else{if(inplace){curLoop[i]=false}}}} return false},ID:function(match){return match[1].replace(/\\/g,"")},TAG:function(match,curLoop){return match[1].toLowerCase()},CHILD:function(match){if(match[1]==="nth"){var test=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(match[2]==="even"&&"2n"||match[2]==="odd"&&"2n+1"||!/\D/.test(match[2])&&"0n+"+match[2]||match[2]);match[2]=(test[1]+(test[2]||1))-0;match[3]=test[3]-0} match[0]=done++;return match},ATTR:function(match,curLoop,inplace,result,not,isXML){var name=match[1].replace(/\\/g,"");if(!isXML&&Expr.attrMap[name]){match[1]=Expr.attrMap[name]} if(match[2]==="~="){match[4]=" "+match[4]+" "} return match},PSEUDO:function(match,curLoop,inplace,result,not){if(match[1]==="not"){if((chunker.exec(match[3])||"").length>1||/^\w/.test(match[3])){match[3]=Sizzle(match[3],null,null,curLoop)} else{var ret=Sizzle.filter(match[3],curLoop,inplace,true^not);if(!inplace){result.push.apply(result,ret)} return false}} else{if(Expr.match.POS.test(match[0])||Expr.match.CHILD.test(match[0])){return true}} return match},POS:function(match){match.unshift(true);return match}},filters:{enabled:function(elem){return elem.disabled===false&&elem.type!=="hidden"},disabled:function(elem){return elem.disabled===true},checked:function(elem){return elem.checked===true},selected:function(elem){elem.parentNode.selectedIndex;return elem.selected===true},parent:function(elem){return!!elem.firstChild},empty:function(elem){return!elem.firstChild},has:function(elem,i,match){return!!Sizzle(match[3],elem).length},header:function(elem){return/h\d/i.test(elem.nodeName)},text:function(elem){return"text"===elem.type},radio:function(elem){return"radio"===elem.type},checkbox:function(elem){return"checkbox"===elem.type},file:function(elem){return"file"===elem.type},password:function(elem){return"password"===elem.type},submit:function(elem){return"submit"===elem.type},image:function(elem){return"image"===elem.type},reset:function(elem){return"reset"===elem.type},button:function(elem){return"button"===elem.type||elem.nodeName.toLowerCase()==="button"},input:function(elem){return/input|select|textarea|button/i.test(elem.nodeName)}},setFilters:{first:function(elem,i){return i===0},last:function(elem,i,match,array){return i===array.length-1},even:function(elem,i){return i%2===0},odd:function(elem,i){return i%2===1},lt:function(elem,i,match){return i<match[3]-0},gt:function(elem,i,match){return i>match[3]-0},nth:function(elem,i,match){return match[3]-0===i},eq:function(elem,i,match){return match[3]-0===i}},filter:{PSEUDO:function(elem,match,i,array){var name=match[1],filter=Expr.filters[name];if(filter){return filter(elem,i,match,array)} else{if(name==="contains"){return(elem.textContent||elem.innerText||getText([elem])||"").indexOf(match[3])>=0} else{if(name==="not"){var not=match[3];for(var i=0,l=not.length;i<l;i++){if(not[i]===elem){return false}} return true} else{throw"Syntax error, unrecognized expression: "+name}}}},CHILD:function(elem,match){var type=match[1],node=elem;switch(type){case"only":case"first":while((node=node.previousSibling)){if(node.nodeType===1){return false}} if(type==="first"){return true} node=elem;case"last":while((node=node.nextSibling)){if(node.nodeType===1){return false}} return true;case"nth":var first=match[2],last=match[3];if(first===1&&last===0){return true} var doneName=match[0],parent=elem.parentNode;if(parent&&(parent.sizcache!==doneName||!elem.nodeIndex)){var count=0;for(node=parent.firstChild;node;node=node.nextSibling){if(node.nodeType===1){node.nodeIndex=++count}} parent.sizcache=doneName} var diff=elem.nodeIndex-last;if(first===0){return diff===0} else{return(diff%first===0&&diff/first>=0)}}},ID:function(elem,match){return elem.nodeType===1&&elem.getAttribute("id")===match},TAG:function(elem,match){return(match==="*"&&elem.nodeType===1)||elem.nodeName.toLowerCase()===match},CLASS:function(elem,match){return(" "+(elem.className||elem.getAttribute("class"))+" ").indexOf(match)>-1},ATTR:function(elem,match){var name=match[1],result=Expr.attrHandle[name]?Expr.attrHandle[name](elem):elem[name]!=null?elem[name]:elem.getAttribute(name),value=result+"",type=match[2],check=match[4];return result==null?type==="!=":type==="="?value===check:type==="*="?value.indexOf(check)>=0:type==="~="?(" "+value+" ").indexOf(check)>=0:!check?value&&result!==false:type==="!="?value!==check:type==="^="?value.indexOf(check)===0:type==="$="?value.substr(value.length-check.length)===check:type==="|="?value===check||value.substr(0,check.length+1)===check+"-":false},POS:function(elem,match,i,array){var name=match[2],filter=Expr.setFilters[name];if(filter){return filter(elem,i,match,array)}}}};var origPOS=Expr.match.POS;for(var type in Expr.match){Expr.match[type]=new RegExp(Expr.match[type].source+/(?![^\[]*\])(?![^\(]*\))/.source);Expr.leftMatch[type]=new RegExp(/(^(?:.|\r|\n)*?)/.source+Expr.match[type].source)} var makeArray=function(array,results){array=Array.prototype.slice.call(array,0);if(results){results.push.apply(results,array);return results} return array};try{Array.prototype.slice.call(document.documentElement.childNodes,0)} catch(e){makeArray=function(array,results){var ret=results||[];if(toString.call(array)==="[object Array]"){Array.prototype.push.apply(ret,array)} else{if(typeof array.length==="number"){for(var i=0,l=array.length;i<l;i++){ret.push(array[i])}} else{for(var i=0;array[i];i++){ret.push(array[i])}}} return ret}} var sortOrder;if(document.documentElement.compareDocumentPosition){sortOrder=function(a,b){if(!a.compareDocumentPosition||!b.compareDocumentPosition){if(a==b){hasDuplicate=true} return a.compareDocumentPosition?-1:1} var ret=a.compareDocumentPosition(b)&4?-1:a===b?0:1;if(ret===0){hasDuplicate=true} return ret}} else{if("sourceIndex"in document.documentElement){sortOrder=function(a,b){if(!a.sourceIndex||!b.sourceIndex){if(a==b){hasDuplicate=true} return a.sourceIndex?-1:1} var ret=a.sourceIndex-b.sourceIndex;if(ret===0){hasDuplicate=true} return ret}} else{if(document.createRange){sortOrder=function(a,b){if(!a.ownerDocument||!b.ownerDocument){if(a==b){hasDuplicate=true} return a.ownerDocument?-1:1} var aRange=a.ownerDocument.createRange(),bRange=b.ownerDocument.createRange();aRange.setStart(a,0);aRange.setEnd(a,0);bRange.setStart(b,0);bRange.setEnd(b,0);var ret=aRange.compareBoundaryPoints(Range.START_TO_END,bRange);if(ret===0){hasDuplicate=true} return ret}}}} function getText(elems){var ret="",elem;for(var i=0;elems[i];i++){elem=elems[i];if(elem.nodeType===3||elem.nodeType===4){ret+=elem.nodeValue} else{if(elem.nodeType!==8){ret+=getText(elem.childNodes)}}} return ret} (function(){var form=document.createElement("div"),id="script"+(new Date).getTime();form.innerHTML="<a name='"+id+"'/>";var root=document.documentElement;root.insertBefore(form,root.firstChild);if(document.getElementById(id)){Expr.find.ID=function(match,context,isXML){if(typeof context.getElementById!=="undefined"&&!isXML){var m=context.getElementById(match[1]);return m?m.id===match[1]||typeof m.getAttributeNode!=="undefined"&&m.getAttributeNode("id").nodeValue===match[1]?[m]:undefined:[]}};Expr.filter.ID=function(elem,match){var node=typeof elem.getAttributeNode!=="undefined"&&elem.getAttributeNode("id");return elem.nodeType===1&&node&&node.nodeValue===match}} root.removeChild(form);root=form=null})();(function(){var div=document.createElement("div");div.appendChild(document.createComment(""));if(div.getElementsByTagName("*").length>0){Expr.find.TAG=function(match,context){var results=context.getElementsByTagName(match[1]);if(match[1]==="*"){var tmp=[];for(var i=0;results[i];i++){if(results[i].nodeType===1){tmp.push(results[i])}} results=tmp} return results}} div.innerHTML="<a href='#'></a>";if(div.firstChild&&typeof div.firstChild.getAttribute!=="undefined"&&div.firstChild.getAttribute("href")!=="#"){Expr.attrHandle.href=function(elem){return elem.getAttribute("href",2)}} div=null})();if(document.querySelectorAll){(function(){var oldSizzle=Sizzle,div=document.createElement("div");div.innerHTML="<p class='TEST'></p>";if(div.querySelectorAll&&div.querySelectorAll(".TEST").length===0){return} Sizzle=function(query,context,extra,seed){context=context||document;if(!seed&&context.nodeType===9&&!isXML(context)){try{return makeArray(context.querySelectorAll(query),extra)} catch(e){}} return oldSizzle(query,context,extra,seed)};for(var prop in oldSizzle){Sizzle[prop]=oldSizzle[prop]} div=null})()} (function(){var div=document.createElement("div");div.innerHTML="<div class='test e'></div><div class='test'></div>";if(!div.getElementsByClassName||div.getElementsByClassName("e").length===0){return} div.lastChild.className="e";if(div.getElementsByClassName("e").length===1){return} Expr.order.splice(1,0,"CLASS");Expr.find.CLASS=function(match,context,isXML){if(typeof context.getElementsByClassName!=="undefined"&&!isXML){return context.getElementsByClassName(match[1])}};div=null})();function dirNodeCheck(dir,cur,doneName,checkSet,nodeCheck,isXML){for(var i=0,l=checkSet.length;i<l;i++){var elem=checkSet[i];if(elem){elem=elem[dir];var match=false;while(elem){if(elem.sizcache===doneName){match=checkSet[elem.sizset];break} if(elem.nodeType===1&&!isXML){elem.sizcache=doneName;elem.sizset=i} if(elem.nodeName.toLowerCase()===cur){match=elem;break} elem=elem[dir]} checkSet[i]=match}}} function dirCheck(dir,cur,doneName,checkSet,nodeCheck,isXML){for(var i=0,l=checkSet.length;i<l;i++){var elem=checkSet[i];if(elem){elem=elem[dir];var match=false;while(elem){if(elem.sizcache===doneName){match=checkSet[elem.sizset];break} if(elem.nodeType===1){if(!isXML){elem.sizcache=doneName;elem.sizset=i} if(typeof cur!=="string"){if(elem===cur){match=true;break}} else{if(Sizzle.filter(cur,[elem]).length>0){match=elem;break}}} elem=elem[dir]} checkSet[i]=match}}} var contains=document.compareDocumentPosition?function(a,b){return a.compareDocumentPosition(b)&16}:function(a,b){return a!==b&&(a.contains?a.contains(b):true)};var isXML=function(elem){var documentElement=(elem?elem.ownerDocument||elem:0).documentElement;return documentElement?documentElement.nodeName!=="HTML":false};var posProcess=function(selector,context){var tmpSet=[],later="",match,root=context.nodeType?[context]:context;while((match=Expr.match.PSEUDO.exec(selector))){later+=match[0];selector=selector.replace(Expr.match.PSEUDO,"")} selector=Expr.relative[selector]?selector+"*":selector;for(var i=0,l=root.length;i<l;i++){Sizzle(selector,root[i],tmpSet)} return Sizzle.filter(later,tmpSet)};return Sizzle})();S.flash=(function(){var swfobject=function(){var UNDEF="undefined",OBJECT="object",SHOCKWAVE_FLASH="Shockwave Flash",SHOCKWAVE_FLASH_AX="ShockwaveFlash.ShockwaveFlash",FLASH_MIME_TYPE="application/x-shockwave-flash",EXPRESS_INSTALL_ID="SWFObjectExprInst",win=window,doc=document,nav=navigator,domLoadFnArr=[],regObjArr=[],objIdArr=[],listenersArr=[],script,timer=null,storedAltContent=null,storedAltContentId=null,isDomLoaded=false,isExpressInstallActive=false;var ua=function(){var w3cdom=typeof doc.getElementById!=UNDEF&&typeof doc.getElementsByTagName!=UNDEF&&typeof doc.createElement!=UNDEF,playerVersion=[0,0,0],d=null;if(typeof nav.plugins!=UNDEF&&typeof nav.plugins[SHOCKWAVE_FLASH]==OBJECT){d=nav.plugins[SHOCKWAVE_FLASH].description;if(d&&!(typeof nav.mimeTypes!=UNDEF&&nav.mimeTypes[FLASH_MIME_TYPE]&&!nav.mimeTypes[FLASH_MIME_TYPE].enabledPlugin)){d=d.replace(/^.*\s+(\S+\s+\S+$)/,"$1");playerVersion[0]=parseInt(d.replace(/^(.*)\..*$/,"$1"),10);playerVersion[1]=parseInt(d.replace(/^.*\.(.*)\s.*$/,"$1"),10);playerVersion[2]=/r/.test(d)?parseInt(d.replace(/^.*r(.*)$/,"$1"),10):0}} else{if(typeof win.ActiveXObject!=UNDEF){var a=null,fp6Crash=false;try{a=new ActiveXObject(SHOCKWAVE_FLASH_AX+".7")} catch(e){try{a=new ActiveXObject(SHOCKWAVE_FLASH_AX+".6");playerVersion=[6,0,21];a.AllowScriptAccess="always"} catch(e){if(playerVersion[0]==6){fp6Crash=true}} if(!fp6Crash){try{a=new ActiveXObject(SHOCKWAVE_FLASH_AX)} catch(e){}}} if(!fp6Crash&&a){try{d=a.GetVariable("$version");if(d){d=d.split(" ")[1].split(",");playerVersion=[parseInt(d[0],10),parseInt(d[1],10),parseInt(d[2],10)]}} catch(e){}}}} var u=nav.userAgent.toLowerCase(),p=nav.platform.toLowerCase(),webkit=/webkit/.test(u)?parseFloat(u.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):false,ie=false,windows=p?/win/.test(p):/win/.test(u),mac=p?/mac/.test(p):/mac/.test(u);return{w3cdom:w3cdom,pv:playerVersion,webkit:webkit,ie:ie,win:windows,mac:mac}}();var onDomLoad=function(){if(!ua.w3cdom){return} addDomLoadEvent(main);if(ua.ie&&ua.win){try{doc.write("<script id=__ie_ondomload defer=true src=//:><\/script>");script=getElementById("__ie_ondomload");if(script){addListener(script,"onreadystatechange",checkReadyState)}} catch(e){}} if(ua.webkit&&typeof doc.readyState!=UNDEF){timer=setInterval(function(){if(/loaded|complete/.test(doc.readyState)){callDomLoadFunctions()}},10)} if(typeof doc.addEventListener!=UNDEF){doc.addEventListener("DOMContentLoaded",callDomLoadFunctions,null)} addLoadEvent(callDomLoadFunctions)}();function checkReadyState(){if(script.readyState=="complete"){script.parentNode.removeChild(script);callDomLoadFunctions()}} function callDomLoadFunctions(){if(isDomLoaded){return} if(ua.ie&&ua.win){var s=createElement("span");try{var t=doc.getElementsByTagName("body")[0].appendChild(s);t.parentNode.removeChild(t)} catch(e){return}} isDomLoaded=true;if(timer){clearInterval(timer);timer=null} var dl=domLoadFnArr.length;for(var i=0;i<dl;i++){domLoadFnArr[i]()}} function addDomLoadEvent(fn){if(isDomLoaded){fn()} else{domLoadFnArr[domLoadFnArr.length]=fn}} function addLoadEvent(fn){if(typeof win.addEventListener!=UNDEF){win.addEventListener("load",fn,false)} else{if(typeof doc.addEventListener!=UNDEF){doc.addEventListener("load",fn,false)} else{if(typeof win.attachEvent!=UNDEF){addListener(win,"onload",fn)} else{if(typeof win.onload=="function"){var fnOld=win.onload;win.onload=function(){fnOld();fn()}} else{win.onload=fn}}}}} function main(){var rl=regObjArr.length;for(var i=0;i<rl;i++){var id=regObjArr[i].id;if(ua.pv[0]>0){var obj=getElementById(id);if(obj){regObjArr[i].width=obj.getAttribute("width")?obj.getAttribute("width"):"0";regObjArr[i].height=obj.getAttribute("height")?obj.getAttribute("height"):"0";if(hasPlayerVersion(regObjArr[i].swfVersion)){if(ua.webkit&&ua.webkit<312){fixParams(obj)} setVisibility(id,true)} else{if(regObjArr[i].expressInstall&&!isExpressInstallActive&&hasPlayerVersion("6.0.65")&&(ua.win||ua.mac)){showExpressInstall(regObjArr[i])} else{displayAltContent(obj)}}}} else{setVisibility(id,true)}}} function fixParams(obj){var nestedObj=obj.getElementsByTagName(OBJECT)[0];if(nestedObj){var e=createElement("embed"),a=nestedObj.attributes;if(a){var al=a.length;for(var i=0;i<al;i++){if(a[i].nodeName=="DATA"){e.setAttribute("src",a[i].nodeValue)} else{e.setAttribute(a[i].nodeName,a[i].nodeValue)}}} var c=nestedObj.childNodes;if(c){var cl=c.length;for(var j=0;j<cl;j++){if(c[j].nodeType==1&&c[j].nodeName=="PARAM"){e.setAttribute(c[j].getAttribute("name"),c[j].getAttribute("value"))}}} obj.parentNode.replaceChild(e,obj)}} function showExpressInstall(regObj){isExpressInstallActive=true;var obj=getElementById(regObj.id);if(obj){if(regObj.altContentId){var ac=getElementById(regObj.altContentId);if(ac){storedAltContent=ac;storedAltContentId=regObj.altContentId}} else{storedAltContent=abstractAltContent(obj)} if(!(/%$/.test(regObj.width))&&parseInt(regObj.width,10)<310){regObj.width="310"} if(!(/%$/.test(regObj.height))&&parseInt(regObj.height,10)<137){regObj.height="137"} doc.title=doc.title.slice(0,47)+" - Flash Player Installation";var pt=ua.ie&&ua.win?"ActiveX":"PlugIn",dt=doc.title,fv="MMredirectURL="+win.location+"&MMplayerType="+pt+"&MMdoctitle="+dt,replaceId=regObj.id;if(ua.ie&&ua.win&&obj.readyState!=4){var newObj=createElement("div");replaceId+="SWFObjectNew";newObj.setAttribute("id",replaceId);obj.parentNode.insertBefore(newObj,obj);obj.style.display="none";var fn=function(){obj.parentNode.removeChild(obj)};addListener(win,"onload",fn)} createSWF({data:regObj.expressInstall,id:EXPRESS_INSTALL_ID,width:regObj.width,height:regObj.height},{flashvars:fv},replaceId)}} function displayAltContent(obj){if(ua.ie&&ua.win&&obj.readyState!=4){var el=createElement("div");obj.parentNode.insertBefore(el,obj);el.parentNode.replaceChild(abstractAltContent(obj),el);obj.style.display="none";var fn=function(){obj.parentNode.removeChild(obj)};addListener(win,"onload",fn)} else{obj.parentNode.replaceChild(abstractAltContent(obj),obj)}} function abstractAltContent(obj){var ac=createElement("div");if(ua.win&&ua.ie){ac.innerHTML=obj.innerHTML} else{var nestedObj=obj.getElementsByTagName(OBJECT)[0];if(nestedObj){var c=nestedObj.childNodes;if(c){var cl=c.length;for(var i=0;i<cl;i++){if(!(c[i].nodeType==1&&c[i].nodeName=="PARAM")&&!(c[i].nodeType==8)){ac.appendChild(c[i].cloneNode(true))}}}}} return ac} function createSWF(attObj,parObj,id){var r,el=getElementById(id);if(el){if(typeof attObj.id==UNDEF){attObj.id=id} if(ua.ie&&ua.win){var att="";for(var i in attObj){if(attObj[i]!=Object.prototype[i]){if(i.toLowerCase()=="data"){parObj.movie=attObj[i]} else{if(i.toLowerCase()=="styleclass"){att+=' class="'+attObj[i]+'"'} else{if(i.toLowerCase()!="classid"){att+=" "+i+'="'+attObj[i]+'"'}}}}} var par="";for(var j in parObj){if(parObj[j]!=Object.prototype[j]){par+='<param name="'+j+'" value="'+parObj[j]+'" />'}} el.outerHTML='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'+att+">"+par+"</object>";objIdArr[objIdArr.length]=attObj.id;r=getElementById(attObj.id)} else{if(ua.webkit&&ua.webkit<312){var e=createElement("embed");e.setAttribute("type",FLASH_MIME_TYPE);for(var k in attObj){if(attObj[k]!=Object.prototype[k]){if(k.toLowerCase()=="data"){e.setAttribute("src",attObj[k])} else{if(k.toLowerCase()=="styleclass"){e.setAttribute("class",attObj[k])} else{if(k.toLowerCase()!="classid"){e.setAttribute(k,attObj[k])}}}}} for(var l in parObj){if(parObj[l]!=Object.prototype[l]){if(l.toLowerCase()!="movie"){e.setAttribute(l,parObj[l])}}} el.parentNode.replaceChild(e,el);r=e} else{var o=createElement(OBJECT);o.setAttribute("type",FLASH_MIME_TYPE);for(var m in attObj){if(attObj[m]!=Object.prototype[m]){if(m.toLowerCase()=="styleclass"){o.setAttribute("class",attObj[m])} else{if(m.toLowerCase()!="classid"){o.setAttribute(m,attObj[m])}}}} for(var n in parObj){if(parObj[n]!=Object.prototype[n]&&n.toLowerCase()!="movie"){createObjParam(o,n,parObj[n])}} el.parentNode.replaceChild(o,el);r=o}}} return r} function createObjParam(el,pName,pValue){var p=createElement("param");p.setAttribute("name",pName);p.setAttribute("value",pValue);el.appendChild(p)} function removeSWF(id){var obj=getElementById(id);if(obj&&(obj.nodeName=="OBJECT"||obj.nodeName=="EMBED")){if(ua.ie&&ua.win){if(obj.readyState==4){removeObjectInIE(id)} else{win.attachEvent("onload",function(){removeObjectInIE(id)})}} else{obj.parentNode.removeChild(obj)}}} function removeObjectInIE(id){var obj=getElementById(id);if(obj){for(var i in obj){if(typeof obj[i]=="function"){obj[i]=null}} obj.parentNode.removeChild(obj)}} function getElementById(id){var el=null;try{el=doc.getElementById(id)} catch(e){} return el} function createElement(el){return doc.createElement(el)} function addListener(target,eventType,fn){target.attachEvent(eventType,fn);listenersArr[listenersArr.length]=[target,eventType,fn]} function hasPlayerVersion(rv){var pv=ua.pv,v=rv.split(".");v[0]=parseInt(v[0],10);v[1]=parseInt(v[1],10)||0;v[2]=parseInt(v[2],10)||0;return(pv[0]>v[0]||(pv[0]==v[0]&&pv[1]>v[1])||(pv[0]==v[0]&&pv[1]==v[1]&&pv[2]>=v[2]))?true:false} function createCSS(sel,decl){if(ua.ie&&ua.mac){return} var h=doc.getElementsByTagName("head")[0],s=createElement("style");s.setAttribute("type","text/css");s.setAttribute("media","screen");if(!(ua.ie&&ua.win)&&typeof doc.createTextNode!=UNDEF){s.appendChild(doc.createTextNode(sel+" {"+decl+"}"))} h.appendChild(s);if(ua.ie&&ua.win&&typeof doc.styleSheets!=UNDEF&&doc.styleSheets.length>0){var ls=doc.styleSheets[doc.styleSheets.length-1];if(typeof ls.addRule==OBJECT){ls.addRule(sel,decl)}}} function setVisibility(id,isVisible){var v=isVisible?"visible":"hidden";if(isDomLoaded&&getElementById(id)){getElementById(id).style.visibility=v} else{createCSS("#"+id,"visibility:"+v)}} function urlEncodeIfNecessary(s){var regex=/[\\\"<>\.;]/;var hasBadChars=regex.exec(s)!=null;return hasBadChars?encodeURIComponent(s):s} var cleanup=function(){if(ua.ie&&ua.win){window.attachEvent("onunload",function(){var ll=listenersArr.length;for(var i=0;i<ll;i++){listenersArr[i][0].detachEvent(listenersArr[i][1],listenersArr[i][2])} var il=objIdArr.length;for(var j=0;j<il;j++){removeSWF(objIdArr[j])} for(var k in ua){ua[k]=null} ua=null;for(var l in swfobject){swfobject[l]=null} swfobject=null})}}();return{registerObject:function(objectIdStr,swfVersionStr,xiSwfUrlStr){if(!ua.w3cdom||!objectIdStr||!swfVersionStr){return} var regObj={};regObj.id=objectIdStr;regObj.swfVersion=swfVersionStr;regObj.expressInstall=xiSwfUrlStr?xiSwfUrlStr:false;regObjArr[regObjArr.length]=regObj;setVisibility(objectIdStr,false)},getObjectById:function(objectIdStr){var r=null;if(ua.w3cdom){var o=getElementById(objectIdStr);if(o){var n=o.getElementsByTagName(OBJECT)[0];if(!n||(n&&typeof o.SetVariable!=UNDEF)){r=o} else{if(typeof n.SetVariable!=UNDEF){r=n}}}} return r},embedSWF:function(swfUrlStr,replaceElemIdStr,widthStr,heightStr,swfVersionStr,xiSwfUrlStr,flashvarsObj,parObj,attObj){if(!ua.w3cdom||!swfUrlStr||!replaceElemIdStr||!widthStr||!heightStr||!swfVersionStr){return} widthStr+="";heightStr+="";if(hasPlayerVersion(swfVersionStr)){setVisibility(replaceElemIdStr,false);var att={};if(attObj&&typeof attObj===OBJECT){for(var i in attObj){if(attObj[i]!=Object.prototype[i]){att[i]=attObj[i]}}} att.data=swfUrlStr;att.width=widthStr;att.height=heightStr;var par={};if(parObj&&typeof parObj===OBJECT){for(var j in parObj){if(parObj[j]!=Object.prototype[j]){par[j]=parObj[j]}}} if(flashvarsObj&&typeof flashvarsObj===OBJECT){for(var k in flashvarsObj){if(flashvarsObj[k]!=Object.prototype[k]){if(typeof par.flashvars!=UNDEF){par.flashvars+="&"+k+"="+flashvarsObj[k]} else{par.flashvars=k+"="+flashvarsObj[k]}}}} addDomLoadEvent(function(){createSWF(att,par,replaceElemIdStr);if(att.id==replaceElemIdStr){setVisibility(replaceElemIdStr,true)}})} else{if(xiSwfUrlStr&&!isExpressInstallActive&&hasPlayerVersion("6.0.65")&&(ua.win||ua.mac)){isExpressInstallActive=true;setVisibility(replaceElemIdStr,false);addDomLoadEvent(function(){var regObj={};regObj.id=regObj.altContentId=replaceElemIdStr;regObj.width=widthStr;regObj.height=heightStr;regObj.expressInstall=xiSwfUrlStr;showExpressInstall(regObj)})}}},getFlashPlayerVersion:function(){return{major:ua.pv[0],minor:ua.pv[1],release:ua.pv[2]}},hasFlashPlayerVersion:hasPlayerVersion,createSWF:function(attObj,parObj,replaceElemIdStr){if(ua.w3cdom){return createSWF(attObj,parObj,replaceElemIdStr)} else{return undefined}},removeSWF:function(objElemIdStr){if(ua.w3cdom){removeSWF(objElemIdStr)}},createCSS:function(sel,decl){if(ua.w3cdom){createCSS(sel,decl)}},addDomLoadEvent:addDomLoadEvent,addLoadEvent:addLoadEvent,getQueryParamValue:function(param){var q=doc.location.search||doc.location.hash;if(param==null){return urlEncodeIfNecessary(q)} if(q){var pairs=q.substring(1).split("&");for(var i=0;i<pairs.length;i++){if(pairs[i].substring(0,pairs[i].indexOf("="))==param){return urlEncodeIfNecessary(pairs[i].substring((pairs[i].indexOf("=")+1)))}}} return""},expressInstallCallback:function(){if(isExpressInstallActive&&storedAltContent){var obj=getElementById(EXPRESS_INSTALL_ID);if(obj){obj.parentNode.replaceChild(storedAltContent,obj);if(storedAltContentId){setVisibility(storedAltContentId,true);if(ua.ie&&ua.win){storedAltContent.style.display="block"}} storedAltContent=null;storedAltContentId=null;isExpressInstallActive=false}}}}}();return swfobject})();S.lang={code:"en",of:"of",loading:"loading",cancel:"Cancel",next:"Next",previous:"Previous",play:"Play",pause:"Pause",close:"Close",errors:{single:'You must install the <a href="{0}">{1}</a> browser plugin to view this content.',shared:'You must install both the <a href="{0}">{1}</a> and <a href="{2}">{3}</a> browser plugins to view this content.',either:'You must install either the <a href="{0}">{1}</a> or the <a href="{2}">{3}</a> browser plugin to view this content.'}};var pre,proxyId="sb-drag-proxy",dragData,dragProxy,dragTarget;function resetDrag(){dragData={x:0,y:0,startX:null,startY:null}} function updateProxy(){var dims=S.dimensions;apply(dragProxy.style,{height:dims.innerHeight+"px",width:dims.innerWidth+"px"})} function enableDrag(){resetDrag();var style=["position:absolute","cursor:"+(S.isGecko?"-moz-grab":"move"),"background-color:"+(S.isIE?"#fff;filter:alpha(opacity=0)":"transparent")].join(";");S.appendHTML(S.skin.body,'<div id="'+proxyId+'" style="'+style+'"></div>');dragProxy=get(proxyId);updateProxy();addEvent(dragProxy,"mousedown",startDrag)} function disableDrag(){if(dragProxy){removeEvent(dragProxy,"mousedown",startDrag);remove(dragProxy);dragProxy=null} dragTarget=null} function startDrag(e){preventDefault(e);var xy=getPageXY(e);dragData.startX=xy[0];dragData.startY=xy[1];dragTarget=get(S.player.id);addEvent(document,"mousemove",positionDrag);addEvent(document,"mouseup",endDrag);if(S.isGecko){dragProxy.style.cursor="-moz-grabbing"}} function positionDrag(e){var player=S.player,dims=S.dimensions,xy=getPageXY(e);var moveX=xy[0]-dragData.startX;dragData.startX+=moveX;dragData.x=Math.max(Math.min(0,dragData.x+moveX),dims.innerWidth-player.width);var moveY=xy[1]-dragData.startY;dragData.startY+=moveY;dragData.y=Math.max(Math.min(0,dragData.y+moveY),dims.innerHeight-player.height);apply(dragTarget.style,{left:dragData.x+"px",top:dragData.y+"px"})} function endDrag(){removeEvent(document,"mousemove",positionDrag);removeEvent(document,"mouseup",endDrag);if(S.isGecko){dragProxy.style.cursor="-moz-grab"}} S.img=function(obj,id){this.obj=obj;this.id=id;this.ready=false;var self=this;pre=new Image();pre.onload=function(){self.height=obj.height?parseInt(obj.height,10):pre.height;self.width=obj.width?parseInt(obj.width,10):pre.width;self.ready=true;pre.onload=null;pre=null};pre.src=obj.content};S.img.ext=["bmp","gif","jpg","jpeg","png"];S.img.prototype={append:function(body,dims){var img=document.createElement("img");img.id=this.id;img.src=this.obj.content;img.style.position="absolute";var height,width;if(dims.oversized&&S.options.handleOversize=="resize"){height=dims.innerHeight;width=dims.innerWidth} else{height=this.height;width=this.width} img.setAttribute("height",height);img.setAttribute("width",width);body.appendChild(img)},remove:function(){var el=get(this.id);if(el){remove(el)} disableDrag();if(pre){pre.onload=null;pre=null}},onLoad:function(){var dims=S.dimensions;if(dims.oversized&&S.options.handleOversize=="drag"){enableDrag()}},onWindowResize:function(){var dims=S.dimensions;switch(S.options.handleOversize){case"resize":var el=get(this.id);el.height=dims.innerHeight;el.width=dims.innerWidth;break;case"drag":if(dragTarget){var top=parseInt(S.getStyle(dragTarget,"top")),left=parseInt(S.getStyle(dragTarget,"left"));if(top+this.height<dims.innerHeight){dragTarget.style.top=dims.innerHeight-this.height+"px"} if(left+this.width<dims.innerWidth){dragTarget.style.left=dims.innerWidth-this.width+"px"} updateProxy()} break}}};S.iframe=function(obj,id){this.obj=obj;this.id=id;var overlay=get("sb-overlay");this.height=obj.height?parseInt(obj.height,10):overlay.offsetHeight;this.width=obj.width?parseInt(obj.width,10):overlay.offsetWidth};S.iframe.prototype={append:function(body,dims){var html='<iframe id="'+this.id+'" name="'+this.id+'" height="100%" width="100%" frameborder="0" marginwidth="0" marginheight="0" style="visibility:hidden" onload="this.style.visibility=\'visible\'" scrolling="auto"';if(S.isIE){html+=' allowtransparency="true"';if(S.isIE6){html+=" src=\"javascript:false;document.write('');\""}} html+="></iframe>";body.innerHTML=html},remove:function(){var el=get(this.id);if(el){remove(el);if(S.isGecko){delete window.frames[this.id]}}},onLoad:function(){var win=S.isIE?get(this.id).contentWindow:window.frames[this.id];win.location.href=this.obj.content}};S.html=function(obj,id){this.obj=obj;this.id=id;this.height=obj.height?parseInt(obj.height,10):300;this.width=obj.width?parseInt(obj.width,10):500};S.html.prototype={append:function(body,dims){var div=document.createElement("div");div.id=this.id;div.className="html";div.innerHTML=this.obj.content;body.appendChild(div)},remove:function(){var el=get(this.id);if(el){remove(el)}}};S.swf=function(obj,id){this.obj=obj;this.id=id;this.height=obj.height?parseInt(obj.height,10):300;this.width=obj.width?parseInt(obj.width,10):300};S.swf.ext=["swf"];S.swf.prototype={append:function(body,dims){var tmp=document.createElement("div");tmp.id=this.id;body.appendChild(tmp);var height=dims.innerHeight,width=dims.innerWidth,swf=this.obj.content,version=S.options.flashVersion,express=S.path+"expressInstall.swf",flashvars=S.options.flashVars,params=S.options.flashParams;S.flash.embedSWF(swf,this.id,width,height,version,express,flashvars,params)},remove:function(){S.flash.expressInstallCallback();S.flash.removeSWF(this.id)},onWindowResize:function(){var dims=S.dimensions,el=get(this.id);el.height=dims.innerHeight;el.width=dims.innerWidth}};var jwControllerHeight=20;S.flv=function(obj,id){this.obj=obj;this.id=id;this.height=obj.height?parseInt(obj.height,10):300;if(S.options.showMovieControls){this.height+=jwControllerHeight} this.width=obj.width?parseInt(obj.width,10):300};S.flv.ext=["flv","m4v"];S.flv.prototype={append:function(body,dims){var tmp=document.createElement("div");tmp.id=this.id;body.appendChild(tmp);var height=dims.innerHeight,width=dims.innerWidth,swf=S.path+"player.swf",version=S.options.flashVersion,express=S.path+"expressInstall.swf",flashvars=apply({file:this.obj.content,height:height,width:width,autostart:(S.options.autoplayMovies?"true":"false"),controlbar:(S.options.showMovieControls?"bottom":"none"),backcolor:"0x000000",frontcolor:"0xCCCCCC",lightcolor:"0x557722"},S.options.flashVars),params=S.options.flashParams;S.flash.embedSWF(swf,this.id,width,height,version,express,flashvars,params)},remove:function(){S.flash.expressInstallCallback();S.flash.removeSWF(this.id)},onWindowResize:function(){var dims=S.dimensions,el=get(this.id);el.height=dims.innerHeight;el.width=dims.innerWidth}};var qtControllerHeight=16;S.qt=function(obj,id){this.obj=obj;this.id=id;this.height=obj.height?parseInt(obj.height,10):300;if(S.options.showMovieControls){this.height+=qtControllerHeight} this.width=obj.width?parseInt(obj.width,10):300};S.qt.ext=["dv","mov","moov","movie","mp4","avi","mpg","mpeg"];S.qt.prototype={append:function(body,dims){var opt=S.options,autoplay=String(opt.autoplayMovies),controls=String(opt.showMovieControls);var html="<object",movie={id:this.id,name:this.id,height:this.height,width:this.width,kioskmode:"true"};if(S.isIE){movie.classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B";movie.codebase="http://www.apple.com/qtactivex/qtplugin.cab#version=6,0,2,0"} else{movie.type="video/quicktime";movie.data=this.obj.content} for(var m in movie){html+=" "+m+'="'+movie[m]+'"'} html+=">";var params={src:this.obj.content,scale:"aspect",controller:controls,autoplay:autoplay};for(var p in params){html+='<param name="'+p+'" value="'+params[p]+'">'} html+="</object>";body.innerHTML=html},remove:function(){try{document[this.id].Stop()} catch(e){} var el=get(this.id);if(el){remove(el)}}};var wmpControllerHeight=(S.isIE?70:45);S.wmp=function(obj,id){this.obj=obj;this.id=id;this.height=obj.height?parseInt(obj.height,10):300;if(S.options.showMovieControls){this.height+=wmpControllerHeight} this.width=obj.width?parseInt(obj.width,10):300};S.wmp.ext=["asf","avi","mpg","mpeg","wm","wmv"];S.wmp.prototype={append:function(body,dims){var opt=S.options,autoplay=opt.autoplayMovies?1:0;var movie='<object id="'+this.id+'" name="'+this.id+'" height="'+this.height+'" width="'+this.width+'"',params={autostart:opt.autoplayMovies?1:0};if(S.isIE){movie+=' classid="clsid:6BF52A52-394A-11d3-B153-00C04F79FAA6"';params.url=this.obj.content;params.uimode=opt.showMovieControls?"full":"none"} else{movie+=' type="video/x-ms-wmv"';movie+=' data="'+this.obj.content+'"';params.showcontrols=opt.showMovieControls?1:0} movie+=">";for(var p in params){movie+='<param name="'+p+'" value="'+params[p]+'">'} movie+="</object>";body.innerHTML=movie},remove:function(){if(S.isIE){try{window[this.id].controls.stop();window[this.id].URL="movie"+now()+".wmv";window[this.id]=function(){}} catch(e){}} var el=get(this.id);if(el){setTimeout(function(){remove(el)},10)}}};var overlayOn=false,visibilityCache=[],pngIds=["sb-nav-close","sb-nav-next","sb-nav-play","sb-nav-pause","sb-nav-previous"],container,overlay,wrapper,doWindowResize=true;function animate(el,property,to,duration,callback){var isOpacity=(property=="opacity"),anim=isOpacity?S.setOpacity:function(el,value){el.style[property]=""+value+"px"};if(duration==0||(!isOpacity&&!S.options.animate)||(isOpacity&&!S.options.animateFade)){anim(el,to);if(callback){callback()} return} var from=parseFloat(S.getStyle(el,property))||0;var delta=to-from;if(delta==0){if(callback){callback()} return} duration*=1000;var begin=now(),ease=S.ease,end=begin+duration,time;var interval=setInterval(function(){time=now();if(time>=end){clearInterval(interval);interval=null;anim(el,to);if(callback){callback()}} else{anim(el,from+ease((time-begin)/duration)*delta)}},10)} function setSize(){container.style.height=S.getWindowSize("Height")+"px";container.style.width=S.getWindowSize("Width")+"px"} function setPosition(){container.style.top=document.documentElement.scrollTop+"px";container.style.left=document.documentElement.scrollLeft+"px"} function toggleTroubleElements(on){if(on){each(visibilityCache,function(i,el){el[0].style.visibility=el[1]||""})} else{visibilityCache=[];each(S.options.troubleElements,function(i,tag){each(document.getElementsByTagName(tag),function(j,el){visibilityCache.push([el,el.style.visibility]);el.style.visibility="hidden"})})}} function toggleNav(id,on){var el=get("sb-nav-"+id);if(el){el.style.display=on?"":"none"}} function toggleLoading(on,callback){var loading=get("sb-loading"),playerName=S.getCurrent().player,anim=(playerName=="img"||playerName=="html");if(on){S.setOpacity(loading,0);loading.style.display="block";var wrapped=function(){S.clearOpacity(loading);if(callback){callback()}};if(anim){animate(loading,"opacity",1,S.options.fadeDuration,wrapped)} else{wrapped()}} else{var wrapped=function(){loading.style.display="none";S.clearOpacity(loading);if(callback){callback()}};if(anim){animate(loading,"opacity",0,S.options.fadeDuration,wrapped)} else{wrapped()}}} function buildBars(callback){var obj=S.getCurrent();get("sb-title-inner").innerHTML=obj.title||"";var close,next,play,pause,previous;if(S.options.displayNav){close=true;var len=S.gallery.length;if(len>1){if(S.options.continuous){next=previous=true} else{next=(len-1)>S.current;previous=S.current>0}} if(S.options.slideshowDelay>0&&S.hasNext()){pause=!S.isPaused();play=!pause}} else{close=next=play=pause=previous=false} toggleNav("close",close);toggleNav("next",next);toggleNav("play",play);toggleNav("pause",pause);toggleNav("previous",previous);var counter="";if(S.options.displayCounter&&S.gallery.length>1){var len=S.gallery.length;if(S.options.counterType=="skip"){var i=0,end=len,limit=parseInt(S.options.counterLimit)||0;if(limit<len&&limit>2){var h=Math.floor(limit/2);i=S.current-h;if(i<0){i+=len} end=S.current+(limit-h);if(end>len){end-=len}} while(i!=end){if(i==len){i=0} counter+='<a onclick="Shadowbox.change('+i+');"';if(i==S.current){counter+=' class="sb-counter-current"'} counter+=">"+(++i)+"</a>"}} else{counter=[S.current+1,S.lang.of,len].join(" ")}} get("sb-counter").innerHTML=counter;callback()} function showBars(callback){var titleInner=get("sb-title-inner"),infoInner=get("sb-info-inner"),duration=0.35;titleInner.style.visibility=infoInner.style.visibility="";if(titleInner.innerHTML!=""){animate(titleInner,"marginTop",0,duration)} animate(infoInner,"marginTop",0,duration,callback)} function hideBars(anim,callback){var title=get("sb-title"),info=get("sb-info"),titleHeight=title.offsetHeight,infoHeight=info.offsetHeight,titleInner=get("sb-title-inner"),infoInner=get("sb-info-inner"),duration=(anim?0.35:0);animate(titleInner,"marginTop",titleHeight,duration);animate(infoInner,"marginTop",infoHeight*-1,duration,function(){titleInner.style.visibility=infoInner.style.visibility="hidden";callback()})} function adjustHeight(height,top,anim,callback){var wrapperInner=get("sb-wrapper-inner"),duration=(anim?S.options.resizeDuration:0);animate(wrapper,"top",top,duration);animate(wrapperInner,"height",height,duration,callback)} function adjustWidth(width,left,anim,callback){var duration=(anim?S.options.resizeDuration:0);animate(wrapper,"left",left,duration);animate(wrapper,"width",width,duration,callback)} function setDimensions(height,width){var bodyInner=get("sb-body-inner"),height=parseInt(height),width=parseInt(width),topBottom=wrapper.offsetHeight-bodyInner.offsetHeight,leftRight=wrapper.offsetWidth-bodyInner.offsetWidth,maxHeight=overlay.offsetHeight,maxWidth=overlay.offsetWidth,padding=parseInt(S.options.viewportPadding)||20,preserveAspect=(S.player&&S.options.handleOversize!="drag");return S.setDimensions(height,width,maxHeight,maxWidth,topBottom,leftRight,padding,preserveAspect)} var K={};K.markup='<div id="sb-container"><div id="sb-overlay"></div><div id="sb-wrapper"><div id="sb-title"><div id="sb-title-inner"></div></div><div id="sb-wrapper-inner"><div id="sb-body"><div id="sb-body-inner"></div><div id="sb-loading"><div id="sb-loading-inner"><span>{loading}</span></div></div></div></div><div id="sb-info"><div id="sb-info-inner"><div id="sb-counter"></div><div id="sb-nav"><a id="sb-nav-close" title="{close}" onclick="Shadowbox.close()"></a><a id="sb-nav-next" title="{next}" onclick="Shadowbox.next()"></a><a id="sb-nav-play" title="{play}" onclick="Shadowbox.play()"></a><a id="sb-nav-pause" title="{pause}" onclick="Shadowbox.pause()"></a><a id="sb-nav-previous" title="{previous}" onclick="Shadowbox.previous()"></a></div></div></div></div></div>';K.options={animSequence:"sync",counterLimit:10,counterType:"default",displayCounter:true,displayNav:true,fadeDuration:0.35,initialHeight:160,initialWidth:320,modal:false,overlayColor:"#000",overlayOpacity:0.5,resizeDuration:0.35,showOverlay:true,troubleElements:["select","object","embed","canvas"]};K.init=function(){S.appendHTML(document.body,sprintf(K.markup,S.lang));K.body=get("sb-body-inner");container=get("sb-container");overlay=get("sb-overlay");wrapper=get("sb-wrapper");if(!supportsFixed){container.style.position="absolute"} if(!supportsOpacity){var el,m,re=/url\("(.*\.png)"\)/;each(pngIds,function(i,id){el=get(id);if(el){m=S.getStyle(el,"backgroundImage").match(re);if(m){}}})} var timer;addEvent(window,"resize",function(){if(timer){clearTimeout(timer);timer=null} if(open){timer=setTimeout(K.onWindowResize,10)}})};K.onOpen=function(obj,callback){doWindowResize=false;container.style.display="block";setSize();var dims=setDimensions(S.options.initialHeight,S.options.initialWidth);adjustHeight(dims.innerHeight,dims.top);adjustWidth(dims.width,dims.left);if(S.options.showOverlay){overlay.style.backgroundColor=S.options.overlayColor;S.setOpacity(overlay,0);if(!S.options.modal){addEvent(overlay,"click",S.close)} overlayOn=true} if(!supportsFixed){setPosition();addEvent(window,"scroll",setPosition)} toggleTroubleElements();container.style.visibility="visible";if(overlayOn){animate(overlay,"opacity",S.options.overlayOpacity,S.options.fadeDuration,callback)} else{callback()}};K.onLoad=function(changing,callback){toggleLoading(true);while(K.body.firstChild){remove(K.body.firstChild)} hideBars(changing,function(){if(!open){return} if(!changing){wrapper.style.visibility="visible"} buildBars(callback)})};K.onReady=function(callback){if(!open){return} var player=S.player,dims=setDimensions(player.height,player.width);var wrapped=function(){showBars(callback)};switch(S.options.animSequence){case"hw":adjustHeight(dims.innerHeight,dims.top,true,function(){adjustWidth(dims.width,dims.left,true,wrapped)});break;case"wh":adjustWidth(dims.width,dims.left,true,function(){adjustHeight(dims.innerHeight,dims.top,true,wrapped)});break;default:adjustWidth(dims.width,dims.left,true);adjustHeight(dims.innerHeight,dims.top,true,wrapped)}};K.onShow=function(callback){toggleLoading(false,callback);doWindowResize=true};K.onClose=function(){if(!supportsFixed){removeEvent(window,"scroll",setPosition)} removeEvent(overlay,"click",S.close);wrapper.style.visibility="hidden";var callback=function(){container.style.visibility="hidden";container.style.display="none";toggleTroubleElements(true)};if(overlayOn){animate(overlay,"opacity",0,S.options.fadeDuration,callback)} else{callback()}};K.onPlay=function(){toggleNav("play",false);toggleNav("pause",true)};K.onPause=function(){toggleNav("pause",false);toggleNav("play",true)};K.onWindowResize=function(){if(!doWindowResize){return} setSize();var player=S.player,dims=setDimensions(player.height,player.width);adjustWidth(dims.width,dims.left);adjustHeight(dims.innerHeight,dims.top);if(player.onWindowResize){player.onWindowResize()}};S.skin=K;window.Shadowbox=S})(window);Object.createNamespace("Site.Plugins.SocialNetworking.Controls");Site.Plugins.SocialNetworking.Controls.Facebook={defaults:{},config:{},constructor:function(e,forceNew,config) {Site.Plugins.SocialNetworking.Controls.Facebook.superclass.constructor.apply(this,arguments);var locale=Site.I18n.Locale.Locale;if(locale=="en_AU") {locale="en_GB";} this.config=Object.applyIf(config||{},this.defaults);(function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(d.getElementById(id))return;js=d.createElement(s);js.id=id;js.src="//connect.facebook.net/"+locale+"/all.js#xfbml=1";fjs.parentNode.insertBefore(js,fjs);}(document,'script','facebook-jssdk'));}};(function(){Object.extending("Site.Plugins.SocialNetworking.Controls.Facebook","Lucid.Lib.Dom.Element");})();Object.createNamespace("Site.Plugins.SocialNetworking.Controls");Site.Plugins.SocialNetworking.Controls.FacebookIcon={defaults:{},config:{},constructor:function(e,forceNew,config) {Site.Plugins.SocialNetworking.Controls.Facebook.superclass.constructor.apply(this,arguments);document.getElementById('FacebookIcon').addEventListener("click",function(){window.open("http://www.facebook.com/sharer.php?u="+this.getAttribute('data-url'),"mywindow","menubar=1,resizable=1,width=410,height=290");});}};(function(){Object.extending("Site.Plugins.SocialNetworking.Controls.FacebookIcon","Lucid.Lib.Dom.Element");})();Object.createNamespace("Site.Plugins.SocialNetworking.Controls");Site.Plugins.SocialNetworking.Controls.Google={defaults:{},config:{},constructor:function(e,forceNew,config) {Site.Plugins.SocialNetworking.Controls.Google.superclass.constructor.apply(this,arguments);this.config=Object.applyIf(config||{},this.defaults);window.___gcfg={lang:Site.I18n.Locale.Language};(function() {var po=document.createElement("script");po.type="text/javascript";po.async=true;po.src="https://apis.google.com/js/plusone.js";var s=document.getElementsByTagName("script")[0];s.parentNode.insertBefore(po,s);})();}};(function(){Object.extending("Site.Plugins.SocialNetworking.Controls.Google","Lucid.Lib.Dom.Element");})();Object.createNamespace("Site.Plugins.SocialNetworking.Controls");Site.Plugins.SocialNetworking.Controls.GoogleIcon={defaults:{},config:{},constructor:function(e,forceNew,config) {Site.Plugins.SocialNetworking.Controls.Google.superclass.constructor.apply(this,arguments);document.getElementById('GoogleIcon').addEventListener("click",function(){window.open("https://plus.google.com/share?url="+this.getAttribute('data-url'),"mywindow","menubar=1,resizable=1,width=510,height=630");});}};(function(){Object.extending("Site.Plugins.SocialNetworking.Controls.GoogleIcon","Lucid.Lib.Dom.Element");})();Object.createNamespace("Site.Plugins.SocialNetworking.Controls");Site.Plugins.SocialNetworking.Controls.Mail={defaults:{},config:{},Link:null,Form:null,Cancel:null,body:null,constructor:function(e,forceNew,config) {Site.Plugins.SocialNetworking.Controls.Mail.superclass.constructor.apply(this,arguments);this.config=Object.applyIf(config||{},this.defaults);this.body=new LLDom.Document.Body(document.body);this.Link=LLDom(this.Id+".link");this.Modal=LLDom(this.Id+".modal");this.Form=LLDom(this.Id+".form");this.Cancel=LLDom(this.Id+".cancel");this.Link.on("click",function() {if(this.Modal.isVisible()) {this.Modal.hide();this.Modal.behavior.disable();} else {this.body.mask();if(!this.Modal.behavior) {this.Modal.behavior=new LLDom.Behavior.OutOfBoxClick(this.Modal.Id);this.Modal.behavior.on("out",function() {this.body.unmask();this.Modal.hide();this.Modal.behavior.disable();}.createDelegate(this));} else {this.Modal.behavior.enable();} this.Modal.show();this.Modal.moveToTop();this.Modal.alignTo(this.Link.Id,"br-tr?");}}.createDelegate(this));this.Cancel.on("click",function() {if(this.isVisible()) {this.body.unmask();this.Modal.hide();this.Modal.behavior.disable();}}.createDelegate(this));this.Form.getElementByName("Title").setValue(LLDom.getDocument().getTitle());this.Form.getElementByName("Url").setValue(document.location.href);}};(function(){Object.extending("Site.Plugins.SocialNetworking.Controls.Mail","Lucid.Lib.Dom.Element");})();Object.createNamespace("Site.Plugins.SocialNetworking.Controls");Site.Plugins.SocialNetworking.Controls.More={defaults:{},config:{},Link:null,Modal:null,body:null,constructor:function(e,forceNew,config) {Site.Plugins.SocialNetworking.Controls.More.superclass.constructor.apply(this,arguments);this.config=Object.applyIf(config||{},this.defaults);this.body=new LLDom.Document.Body(document.body);this.Link=LLDom(this.Id+".link");this.Modal=LLDom(this.Id+".modal");this.Link.on("click",function() {if(this.Modal.isVisible()) {this.Modal.hide();this.Modal.behavior.disable();} else {this.body.mask();if(!this.Modal.behavior) {this.Modal.behavior=new LLDom.Behavior.OutOfBoxClick(this.Modal.Id);this.Modal.behavior.on("out",function() {this.body.unmask();this.Modal.hide();this.Modal.behavior.disable();}.createDelegate(this));} else {this.Modal.behavior.enable();} this.Modal.show();this.Modal.moveToTop();this.Modal.alignTo(this.Link.Id,"br-tr?");}}.createDelegate(this));}};(function(){Object.extending("Site.Plugins.SocialNetworking.Controls.More","Lucid.Lib.Dom.Element");})();Object.createNamespace("Site.Plugins.SocialNetworking.Controls");Site.Plugins.SocialNetworking.Controls.Twitter={defaults:{},config:{},constructor:function(e,forceNew,config) {Site.Plugins.SocialNetworking.Controls.Twitter.superclass.constructor.apply(this,arguments);this.config=Object.applyIf(config||{},this.defaults);!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");}};(function(){Object.extending("Site.Plugins.SocialNetworking.Controls.Twitter","Lucid.Lib.Dom.Element");})();Object.createNamespace("Site.Plugins.SocialNetworking.Controls");Site.Plugins.SocialNetworking.Controls.TwitterIcon={defaults:{},config:{},constructor:function(e,forceNew,config) {Site.Plugins.SocialNetworking.Controls.Twitter.superclass.constructor.apply(this,arguments);document.getElementById('TwitterIcon').addEventListener("click",function(){window.open("http://twitter.com/intent/tweet?url="+this.getAttribute('data-url'),"mywindow","menubar=1,resizable=1,width=550,height=461");});}};(function(){Object.extending("Site.Plugins.SocialNetworking.Controls.TwitterIcon","Lucid.Lib.Dom.Element");})();Lucid.Boot.root="/var/www/vhosts/iti.org/events.iti.org";Lucid.Boot.web="";Site.Id="customers/francophone.congress.iti.org";Site.I18n.Locale={"Language":"en","Country":"GB","Locale":"en_GB","Numeric":{"Seperator":{"Decimal":".","Thousands":","},"Grouping":[3,3],"FractionalDigits":2,"Positive":{"Sign":"","Position":1},"Negative":{"Sign":"-","Position":1}},"Currency":{"International":"GPB","Symbol":"\\u00a3","Seperator":{"Decimal":".","Thousands":"y"},"Grouping":[3,3],"Positive":{"Precedes":1,"SeperatedBySpace":0},"Negative":{"Precedes":1,"SeperatedBySpace":0}},"Date":{"Days":{"Names":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],"Abbreviations":{"1":["S","M","D","M","D","F","S"],"2":["Su","Mo","Tu","We","Th","Fr","Sa"],"3":["Sun","Mon","Tue","Web","Thu","Fri","Sat"]}},"Months":{"Names":["January","February","March","April","May","June","July","August","September","October","November","December"],"Abbreviations":{"1":["J","F","M","A","M","J","J","A","S","O","N","D"],"2":["Ja","Fe","Mr","Ap","Ma","Jn","Jl","Au","Se","Oc","No","De"],"3":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]}},"AM":"am","PM":"pm","Formats":{"DateTime":{"Format":"%d\/%m\/%Y %H:%M","Parse":{"RegExp":"^([0-9]{1,2})\\\/([0-9]{1,2})\\\/([0-9]{4})( ([0-9]{2}):([0-9]{2})(:([0-9]{2}))?)?$","Mapping":{"Year":3,"Month":2,"Day":1,"Hour":5,"Minute":6,"Second":8}}},"Date":{"Format":"%d\/%m\/%Y","Parse":{"RegExp":"^([0-9]{1,2})\\\/([0-9]{1,2})\\\/([0-9]{4})$","Mapping":{"Year":3,"Month":2,"Day":1,"Hour":null,"Minute":null,"Second":null}}},"Time":{"Format":"%H:%M","Parse":{"RegExp":"^([0-9]{2}):([0-9]{2})(:([0-9]{2}))?$","Mapping":{"Year":null,"Month":null,"Day":null,"Hour":1,"Minute":2,"Second":4}}},"TimeWithSeconds":{"Format":"%H:%M:%S"},"FormatedDate":{"Format":"%A, %e. %B %Y"},"EnglishDate":{"Format":"%A, %B %e, %Y"},"EnglishDate2":{"Format":"%B %e, %Y"},"ShortFormatedDate":{"Format":"%a, %e. %b %Y"},"FormatedDateWithoutDow":{"Format":"%e. %B %Y"},"NameOfDay":{"Format":"%A"},"ShortNameOfDay":{"Format":"%a"},"NameOfMonth":{"Format":"%B"},"ShortNameOfMonth":{"Format":"%b"},"DayAndMonth":{"Format":"%e %B"}}}};Site.I18n.Translations={"":"","{0} files were imported: <code>{1}<\/code>":"","{0} items affected":"","{0} more chars":"","Accepted":"","Accept Guestbook Entry":"","Access":"","Access Tools":"","Action":"","Add":"","Add Area":"","Add Article":"","Add Comments":"","Add directories":"","Add Directory":"","Add Download":"","Add Entry":"","Add Error":"","Add Error Message":"","Add Event":"","Add Exhibitor":"","Add Field":"","Add File":"","Add files":"","Add Folder":"","Add Frequently Asked Question":"","Add Guestbook Entry":"","Add [ID_SINGULAR]":"","Add Image":"","Add Index":"","Additional":"","Add Jobs":"","Add Link":"","Add Location":"","Add Metadata":"","Add modules":"","Add News":"","Add Newsletter":"","Add Page":"","Add Panorama":"","Add Person":"","Add plugins":"","Add Portal Entry":"","Add Program":"","Add Redirect":"","Address":"","Add Role":"","Add roles":"","Add Row":"","Add Script":"","Add Setting":"","Add Slide":"","Add Snippet":"","Add Subscriber":"","Add Subscribers":"","Add Table":"","Add Table Fields":"","Add Table Indexes":"","Add Table Rows":"","Add Tables":"","Add Tag":"","Add Tags":"","Add Task":"","Add Template":"","Add Templates":"","Administration":"","After the upload you have to select the <a href=\"~\/core\/9d713af2d20c45109f2575f1cc03ee78\/index\/3\">import folder<\/a> in the file manager again and uploaded files will imported automatically.":"","<a href=\"http:\/\/en.wikipedia.org\/wiki\/List_of_HTTP_status_codes\" target=\"_blank\">HTTP Status Code<\/a>":"","<a href=\"http:\/\/en.wikipedia.org\/wiki\/Regular_expression\" target=\"_blank\">Regular Expression<\/a>":"","Album":"","All":"","All day?":"","Allow":"","Although meta descriptions have no direct impact on rankings, they are nevertheless important because they form the text that users see in search results. That's why they should \"sell\" the website and the user ask to click the page. If the meta description is too long, it is cut by the search engines and then acts probably no longer responsive to the user.":"","A meta description should be no longer than 155 characters. Use in popular search phrases but write correct sentences, visitors can read. Do not use string of search terms.":"","and":"","and added the following message:":"","Application Cache":"","Application cache successful cleared. {0} items removed.":"","Area":"","Areas":"","Article":"","at":"","Attribute1":"","Attribute2":"","Attribute3":"","Automatic login by user {0}.":"","Back":"","Based on <a href=\"http:\/\/en.wikipedia.org\/wiki\/ISO\/IEC_5218\" target=\"_blank\">ISO\/IEC 5218<\/a>":"","Bind Role to an OpenId Identity":"","Body":"","Boxes":"","Break":"","Builds successful executed.":"","Button Text":"","By":"","Calculate Route":"","Cancel":"","Captcha invalid":"","Change the Password":"","characters":"","characters reached":"","Charset":"","City":"","Class":"","Clean Application Cache":"","Clean Data Cache":"","Clean Directories":"","Clean Directory":"","Cleaned Application Cache":"","Cleaned Data Cache":"","Cleaned Directories":"","Cleaned Directory":"","Cleaned Log Store":"","Cleaned Mail Store":"","Cleaned Render Cache":"","Cleaned Session Store":"","Clean Log Store":"","Clean Mail Store":"","Clean Render Cache":"","Clean Session Store":"","Clear all":"","Clear Application Cache":"","Clear Data Cache":"","Clear File":"","Clear Image":"","Clear Log Store":"","Clear Mail Store":"","Clear Render Cache":"","Clear Roles Store":"","Clear Session Store":"","Click here to improve your position in search engines":"","Clip to":"","Close":"","Collapse All":"","Color":"","Comma-Separated Values (CSV)":"","Comment":"","Comments and Attachments":"","Comment Spammer":"","Configuration":"","Configure":"","Confirm Newsletter Subscription Changes":"","Confirm your newsletter subscription changes":"","Contact":"","Contact List":"","Contact Request":"","Contact, short form, map":"","Content":"","Content Typ2":"","Content Typ3":"","Contrary to the opinion of many are keywords (keywords) but still you wichtig.?Verwenden most accurate keywords and ensure that these terms also appears in the page title and the text of the page.":"","Controller":"","Copy Translation":"","Core":"","Country":"","Created":"","Created by":"","Create in core":"","Create new Tag":"","Current":"","Current Directory":"","Current Password":"","Custom":"","cut out":"","Data":"","Database":"","Data Cache":"","Data cache successful cleared. {0} items removed.":"","Date":"","day":"","days":"","Dear Madam {0}":"","Dear Sir {0}":"","Dear Sir or Madam":"","Defaults to":"","Default Value":"","Delete":"","Delete all Logs":"","Delete all Mail":"","Delete all Mails":"","Delete all Sessions":"","Delete Area":"","Delete Article":"","Delete cache files":"","Delete caches":"","Delete Change":"","Delete Comment":"","Delete Contact Request":"","Delete directories":"","Delete Directory":"","Delete Download":"","Delete Error":"","Delete Error Message":"","Delete Event":"","Delete Exhibitor":"","Delete Field":"","Delete File":"","Delete files":"","Delete Frequently Asked Question":"","Delete Guestbook Entry":"","Delete [ID_SINGULAR]":"","Delete Index":"","Delete Job":"","Delete Jobs":"","Delete Js Minified files":"","Delete Keyword":"","Delete Link":"","Delete Location":"","Delete Log":"","Delete log store":"","Delete Mail":"","Delete mail store":"","Delete Metadata":"","Delete News":"","Delete Newsletter":"","Delete Page":"","Delete Person":"","Delete Portal Entry":"","Delete Program":"","Delete Redirect":"","Delete Role":"","Delete roles":"","Delete Row":"","Delete Script":"","Delete Selected Items":"","Delete Session":"","Delete session store":"","Delete Setting":"","Delete Snippet":"","Delete Subscriber":"","Delete Subscribers":"","Delete Table":"","Delete Table Fields":"","Delete Table Indexes":"","Delete Table Rows":"","Delete Tables":"","Delete Tag":"","Delete Tags":"","Delete Template":"","Delete Templates":"","deprecated":"","Description":"","Detailed Error Messages":"","Development Mode":"","Diashow":"","Dimensions":"","Directories":"","Directory":"","Disabled":"","Disallow":"","Documentation":"","Dog school and dog training in Basel - Masterdog":"","Dog school, dog training, dog training, Basel":"","Domain Name":"","Do not remove any translations (add\/update only)":"","Do not show this news on the homepage":"","Download":"","Downloads":"","Download Site":"","Download sites":"","Do you really want to delete all log?":"","Do you really want to delete all mails?":"","Do you really want to delete all sessions?":"","Do you really want to delete this area?":"","Do you really want to delete this article?":"","Do you really want to delete this change?":"","Do you really want to delete this comment?":"","Do you really want to delete this contact request?":"","Do you really want to delete this directory?<br \/><br \/> <em>If you delete this directory every subdirectory and file will get deleted too!<\/em>":"","Do you really want to delete this download?":"","Do you really want to delete this error message?":"","Do you really want to delete this event?":"","Do you really want to delete this exhibitor?":"","Do you really want to delete this field?":"","Do you really want to delete this file?":"","Do you really want to delete this frequently asked question?":"","Do you really want to delete this guestbook entry?":"","Do you really want to delete this [ID_SINGULAR_LC]?":"","Do you really want to delete this index?":"","Do you really want to delete this job?":"","Do you really want to delete this Keyword?":"","Do you really want to delete this link?":"","Do you really want to delete this location?":"","Do you really want to delete this log?":"","Do you really want to delete this mail?":"","Do you really want to delete this news?":"","Do you really want to delete this newsletter?":"","Do you really want to delete this page?<br \/><br \/><em>If you delete this page any containing pages and content will get deleted!<\/em>":"","Do you really want to delete this page?<p><em>If you delete this page any containing pages and content will get deleted!<\/em><\/p>":"","Do you really want to delete this person?":"","Do you really want to delete this portal entry?":"","Do you really want to delete this program?":"","Do you really want to delete this programs?":"","Do you really want to delete this redirect?":"","Do you really want to delete this role?":"","Do you really want to delete this row?":"","Do you really want to delete this script?":"","Do you really want to delete this session?":"","Do you really want to delete this setting?":"","Do you really want to delete this snippet?":"","Do you really want to delete this subscriber?":"","Do you really want to delete this table?":"","Do you really want to delete this tag?":"","Do you really want to delete this template?":"","Do you really want to truncate this table?":"","Drag and drop a file or select add Image":"","Duplicate":"","Duplicate Event":"","Duplicate Page":"","eAccelerator session support is not enabled. You have to compile eAccelerator with '--with-eaccelerator-sessions'.":"","Edit":"","Edit Area":"","Edit Article":"","Edit Comment":"","Edit Configuration":"","Edit directories":"","Edit Directory":"","Edit Download":"","Edit entries:":"","Edit Error":"","Edit Event":"","Edit Exhibitor":"","Edit Field":"","Edit File":"","Edit files":"","Edit Frequently Asked Question":"","Edit Guestbook Entry":"","Edit [ID_SINGULAR]":"","Edit Index":"","Edit Job":"","Edit Jobs":"","Edit Link":"","Edit Location":"","Edit Metadata":"","Edit News":"","Edit Newsletter":"","Edit Page":"","Edit Person":"","Edit Portal Entry":"","Edit Program":"","Edit Redirect":"","Edit Rights":"","Edit Role":"","Edit roles":"","Edit Row":"","Edit Script":"","Edit Setting":"","Edit Snippet":"","Edit Subscriber":"","Edit Subscribers":"","Edit Table":"","Edit Table Fields":"","Edit Table Indexes":"","Edit Table Rows":"","Edit Tables":"","Edit Tag":"","Edit Tags":"","Edit Template":"","Edit Templates":"","Edit Text":"","Edit Translation":"","e.g. enter time 16:30":"","Elapsed":"","Email":"","E-Mail":"","Email Address":"","E-Mail Repeat":"","empty":"","Enabled":"","Enables <a href=\"http:\/\/php.net\/manual\/en\/book.pcre.php\" target=\"_blank\">PCRE<\/a> (Perl Compatible <a href=\"http:\/\/en.wikipedia.org\/wiki\/Regular_expression\" target=\"_blank\">Regular Expressions<\/a>).":"","End":"","Enter and thus to improve the position in the search engines a page title, description and keywords.":"","Enter here the name of the module as plural and in <a href=\"http:\/\/en.wikipedia.org\/wiki\/CamelCase\" target=\"_blank\">UpperCamelCase<\/a>; for example: \"ProductRatings\".":"","Enter here the name of the module as singular and in <a href=\"http:\/\/en.wikipedia.org\/wiki\/CamelCase\" target=\"_blank\">UpperCamelCase<\/a>; for example: \"ProductRating\".":"","Enter here the name of the plugin in <a href=\"http:\/\/en.wikipedia.org\/wiki\/CamelCase\" target=\"_blank\">UpperCamelCase<\/a>; for example: \"MailFilters\".":"","Enter the date using this format":"","Entry":"","Error":"","Error adding the field: <code>{0}<\/code>.":"","Error creating the table: <code>{0}<\/code>.":"","Error deleting the field: <code>{0}<\/code>.":"","Error deleting the index: <code>{0}<\/code>.":"","Error deleting the row: <code>{0}<\/code>.":"","Error deleting the table: <code>{0}<\/code>.":"","Error Messages":"","Error moving the field: <code>{0}<\/code>.":"","Error reported at":"","Error saving the field: <code>{0}<\/code>.":"","Error saving the index: <code>{0}<\/code>.":"","Error saving the record. Either there were a problem with the database or one or more fields were not valid. Please check your input and try again.":"","Error saving the row: <code>{0}<\/code>.":"","Error saving the table: <code>{0}<\/code>.":"","Error setting locale to <code>{0}<\/code>. The locale is not supported by this system. The current locale is <code>{1}<\/code>.":"","Error truncating the table: <code>{0}<\/code>.":"","Event":"","Event Location":"","Events":"","EventsTable":"","Example:":"","Execute Export Tool":"","Execute Integrity Check Tool":"","Execute Query":"","Execute SQL":"","Exhibitor":"","Exhibitors":"","Expand All":"","Export":"","Export As":"","Export File":"","Extends":"","Extract File":"","Facebook":"","Failed Login by user {0}. User is not allowed to log in.":"","Failed Login by user {0}. Username and\/or password incorrect.":"","Failed to write the upload file to disk.":"","Family Name":"","FAQ":"","Featured":"","Featured?":"","female":"","Fields":"","File":"","Filename":"","Files":"","Files Manager":"","Filter Service":"","Firstame":"","First name":"","First Name":"","Follow":"","Follow {0} on Facebook":"","Follow {0} on Google Plus":"","Follow @{0} on Twitter":"","Forgot your password?":"","Form":"","Forward":"","Frequently Asked Questions":"","From":"","Full Name":"","Full Width Slider":"","GetResource Service":"","Gettext project file":"","Global Search":"","Google+":"","Google Analytics":"","Google Maps":"","Go to the guestbook entry":"","Go to the page":"","Go to the Sitemap":"","Grid":"","Group":"","Grouped List":"","Guestbook":"","Guestbook Entrys":"","Guid":"","GUIDs":"","Harvester":"","Head":"","Height":"","Home":"","Homepage":"","Honorific Prefixes":"","Honorific Suffixes":"","hour":"","hours":"","HTML":"","http:\/\/en.wikipedia.org\/wiki\/OpenID":"","HTTP Status Code":"","I agree":"J'accepte","Icons Service":"","Id":"","[ID]":"","Ident":"","[ID_PLURAL]":"","[ID_SINGULAR]":"","If <a href=\"http:\/\/www.sqlite.org\/\" target=\"_blank\">SQLite<\/a> is used the download contains everything as a full backup. If <a href=\"http:\/\/www.mysql.com\/\" target=\"_blank\">MySQL<\/a> is used it is required to create a separate database backup.":"","If checked the module will get created in the core site; otherwise the module will get created in the current site.":"","If checked the plugin will get created in the core site; otherwise the plugin will get created in the current site.":"","I found the following error \/ I received the following error message":"","If you define a Google Maps URL all other options will get ignored.":"","Image":"","Images":"","Import":"","IMPORTANT: To see the controls to edit the website, please reload the website.<br \/>PC: Please use <code>CTRL<\/code> + <code>F5<\/code> or <code>CTRL<\/code> + <code>R<\/code>; MAC: <code>CMD<\/code> + <code>R<\/code>":"","Import As":"","Import File":"","Import was not successful. The import file is not valid.":"","Import was not successful. The import file was not readable.":"","Import was successful. {0} new subscribers, {1} already subscribed and {2} were invalid":"","Indented List":"","Index":"","Indexes":"","Indexing":"","Information":"","Information about the usage of storage and caches.":"","Inherits":"","Install Site":"","Install sites":"","Integrity Check":"","Interval":"","In the dog school Masterdog with your dog to learn basic obedience, social behavior with other dogs and much more for a happy coexistence. Call us for a free consultation: Tel 00 00 000 000 000":"","IP":"","IP address":"","is disabled":"","is enabled":"","Is Not Null":"","Is Primary":"","Is running":"","Items":"","I wanted to do this":"","I would like to remain logged in on this computer":"","JS Minified files are deleted. {0} items were deleted.":"","just":"","Keyword":"","Keywords":"","Language":"","Languages and Countries":"","Last Access":"","Last Changes":"","Last Modified":"","Lastname":"","Last name":"","Last Name":"","Last Run":"","Lecture":"","Lecture Title":"","Line":"","Link":"","Links":"","List":"","List of installed modules like":"","List of installed plugins like":"","List of locations":"","List of texts":"","List (simple)":"","List (with Image)":"","Locale":"","localhost":"","Location":"","Locations":"","Log":"","Login":"","Login by clicking on the following url:":"","Login by user {0}.":"","Login data for the website":"","Login Form":"","Logout":"","Logout by user {0}.":"","Logs":"","Log Store":"","Log store successful cleared. {0} logs removed.":"","Lucid Newsletter Subscriber Export File":"","Lucid translation export file":"","Machine":"","Mail":"","Mails":"","Mail Store":"","Mail store successful cleared. {0} mail removed.":"","Maintenance Mode":"","male":"","Map":"","Maximum of":"","Member validation for the website":"","Member with email (<code>{0}<\/code>) already exist.":"","Menu":"","Message":"","Metadata":"","Meta: Description":"","Method":"","minute":"","minutes":"","Miscellaneous":"","Missing a temporary folder.":"","Mode":"","Moderator":"","Modified At":"","Modified by":"","Module":"","Module exists already.":"","Modules":"","Module \/ View":"","Month":"","Monthly":"","Monthly View":"","more ...":"","More":"","Move":"","Move Area Down":"","Move Area Up":"","Move Article Down":"","Move Article Up":"","Move Directory":"","Move Download Down":"","Move Download Up":"","Move Entity":"","Move Exhibitor Down":"","Move Exhibitor Up":"","Move Field Down":"","Move Field Up":"","Move File":"","Move Frequently Asked Question Down":"","Move Frequently Asked Question Up":"","Move [ID_SINGULAR] Down":"","Move [ID_SINGULAR] Up":"","Move Image Down":"","Move Image Up":"","Move Link Down":"","Move Link Up":"","Move Location Down":"","Move Location Up":"","Move Newsletter Down":"","Move Newsletter Up":"","Move Page":"","Move Page Down":"","Move Page Up":"","Move Person Down":"","Move Person Up":"","Move Portal Entry Down":"","Move Portal Entry Up":"","Move Program Down":"","Move Program Up":"","Move Redirect Down":"","Move Redirect Up":"","Move Selected Items":"","Move Tag Down":"","Move Tag Up":"","Move Template Down":"","Move Template Up":"","Move Video Down":"","Move Video Up":"","Mr.":"","Mrs.":"","MS Application: Task":"","My Profile":"","MySQL 5.x Script":"","Name":"","Name \/ Email":"","Navigation":"","New":"","New contact request from":"","New error report from":"","New Guestbook Entry":"","New Password":"","News":"","Newsletter":"","Newsletters":"","New source address...":"","Next News":"","Next Run":"","Next Step":"","No":"","No.":"","Nodes":"","No directories and\/or files selected. You have to select at least one directory or file.":"","No entries found.":"","No exhibitors found.":"","No file defined.":"","No file selected.":"","No file was selected for uploaded.":"","None":"","No role with the email address <code>{0}<\/code> was not found.":"","No routes defined.":"","not applicable":"","No text defined.":"","Null":"","Number":"","Occurrence":"","of":"","Offline":"","Online":"","Open file manager":"","OpenId":"","OpenId authentification failed. The error error message was: <code>{0}<\/code>. This may happen if you enter a invalid username.":"","Open Link in a New Window":"","Open Link in the Same Window":"","OpenSearch Service":"","Or copy this linktext, enter it in the browser menu and hit enter":"","Order by":"","Other databases than SQLite are not supported.":"","Other\/given names":"","Overview":"","Page":"","Page Information":"","Pages":"","Page Title":"","Panoramas":"","Parent Folder":"","Password":"","Path":"","<p>Enter here the route you wish to redirect from (without domain name and leading slash). e.g.:<br \/><code>events\/event.php?type=courses<\/code><\/p><p>If regular expressions are enabled you MUST enter a <a href=\"http:\/\/php.net\/manual\/en\/book.pcre.php\" target=\"_blank\">PCRE<\/a> compatible regular expression matching the route.<\/p>":"","<p>Enter here the route you wish to redirect to (without domain name and leading slash). e.g.:<br \/><code>Events\/Courses<\/code><\/p><p>If regular expressions are enabled you SHOULD enter a <a href=\"http:\/\/php.net\/manual\/en\/book.pcre.php\" target=\"_blank\">PCRE<\/a> compatible replacement string as defined in <a href=\"http:\/\/www.php.net\/manual\/en\/function.preg-replace.php\" target=\"_blank\">preg_replace<\/a>.<\/p>":"","Person":"","Persons":"","Phone":"","Phrase":"","Picture gallery":"","Please enter the TAN":"","Please make sure you filled out all forms marked red.":"","Please note that the sender's identity was not verified.":"","Please select":"","Please select...":"","Please Select":"","Please select the Newsletter that you want to subscribe on it.":"","Please select the Newsletter that you want to unsubscribe on it.":"","Plugin":"","Plugin exists already.":"","Plugins":"","Plural":"","Portal Entry":"","Portals":"","Post Code":"","Post Code \/ City":"","Pragmas":"","Prepare":"","Prepare all mails for distribution.<br \/>This will speed up distribution of large quantities of mails":"","Prepared":"","Prepare Newsletter":"","Preparing":"","Preview":"","Previous News":"","Primary Key":"","Production Mode":"","Product with image gallery":"","Profile":"","Program":"","Programs":"","Protocol List":"","<p><strong>The request was blocked because<\/strong> your ip address <code>{0}<\/code> is blacklisted on <a href=\"http:\/\/www.projecthoneypot.org\/about_us.php\" target=\"_blank\">HTTP:BL<\/a><\/p><p>Your ip address is marked as: <a href=\"http:\/\/www.projecthoneypot.org\/ip_{0}\" target=\"_blank\">{2}<\/a> with a threat level of <code>{1}<\/code>.<\/p>":"","Read":"","Read caches":"","Read Configuration":"","Read Database":"","Read files":"","Read jobs":"","Read Jobs":"","Read log store":"","Read mail store":"","Read Metadata":"","Read modules":"","Read Newsletter":"","Read plugins":"","Read Rights":"","Read roles":"","Read session store":"","Read site":"","Read sites":"","Read stores":"","Read Subscribers":"","Read system information":"","Read Table Fields":"","Read Table Indexes":"","Read Table Rows":"","Read Tables":"","Read Tags":"","Read Template":"","Read Templates":"","Recipient":"","Recover Password":"","Recover your Password":"","Redirect":"","Redirects":"","Redirects to":"","Refresh":"","Regular Expression":"","Rejected":"","Reject Guestbook Entry":"","Reload":"","Reloaded site. {0} items were reloaded.":"","Remove":"","Remove Image":"","Remove Translation":"","Remove Video":"","Render Cache":"","Render cache successful cleared. {0} items removed.":"","Repeat password":"","Reply To":"","Requires":"","Requires username.":"","resize":"","Resize":"","Resize to":"","Response":"","Responsive Image":"","Return":"","Return to the homepage":"","Reverse":"","Rights":"","robots.txt: Disallow":"","Robots.txt: Disallow":"","robots.txt Service":"","Roles Store":"","Roles store successful cleared. {0} entries removed.":"","Route":"","Routes":"","Row":"","Rows":"","rows affected":"","Run builds":"","Run Builds":"","Run jobs":"","Run Recovery":"","Run the Task":"","Run Update":"","Save":"","Save and Back":"","Save and continue":"","Scheduler Job excuted":"","Scheduler Job excuted (forced)":"","Scheduler Service":"","Scripts":"","Scripts (shared)":"","Search":"","Search for":"","Search on":"","Search our site":"","seconds":"","Security Modules":"","Select":"","Select Color":"","Select Date":"","Select File":"","Select Image":"","Select Image or File":"","Selection":"","Select to add\u2026":"","Select your language":"","Send":"","Send an request":"","Send Contact Request":"","Sended":"","Sender":"","Sending":"","Send Newsletter":"","Send page as mail.":"","Send Testmail":"","Send to email":"","Seq.":"","Service for Windows 7\/8 Pinned Sites and Jump Lists":"","Session":"","Sessions":"","Session Store":"","Session store successful cleared. {0} sessions removed.":"","Set Area Offline":"","Set Area Online":"","Set Article Offline":"","Set Article Online":"","Set Change Offline":"","Set Change Online":"","Set Comment Offline":"","Set Comment Online":"","Set Download Offline":"","Set Download Online":"","Set Event as Featured":"","Set Event Offline":"","Set Event Online":"","Set Exhibitor Offline":"","Set Exhibitor Online":"","Set Frequently Asked Question Offline":"","Set Frequently Asked Question Online":"","Set [ID_SINGULAR] Offline":"","Set [ID_SINGULAR] Online":"","Set Image Offline":"","Set Image Online":"","Set Link Offline":"","Set Link Online":"","Set Location Offline":"","Set Location Online":"","Set News as Featured":"","Set Newsletter Offline":"","Set Newsletter Online":"","Set News Offline":"","Set News Online":"","Set Page Offline":"","Set Page Online":"","Set Person Offline":"","Set Person Online":"","Set Portal Entry Offline":"","Set Portal Entry Online":"","Set Program Offline":"","Set Program Online":"","Set Redirect Offline":"","Set Redirect Online":"","Set Role Offline":"","Set Role Online":"","Set Script Offline":"","Set Script Online":"","Set Snippet Offline":"","Set Snippet Online":"","Set Subscriber Offline":"","Set Subscriber Online":"","Set Tag Offline":"","Set Tag Online":"","Set Template Offline":"","Set Template Online":"","Setting":"","Settings":"","Set Video Offline":"","Set Video Online":"","Sex":"","Shadowbox":"","Sharpen":"","Short Text":"","Show All":"","Show Configuration":"","Show Error and higher":"","Showing keywords (only activate when you have little text on the page) bottom of the page":"","Show Notices and higher":"","Show only Fatal Error":"","Show Source":"","Show the map in full screen.":"","Show Trace":"","Show Warnings and higher":"","Sign in":"","Signs of a maximum of":"","Singular":"","Site":"","Site is disabled.":"","Sitemap":"","Sitemap: Change Frequency":"","Sitemap: Exclude":"","Sitemap: Priority":"","sitemap.xml Service":"","Sites":"","Size":"","Slider":"","Snippet":"","Snippets":"","Social":"","Social Networking":"","Source":"","<span class=\"Name\">{0}<\/span> at <span class=\"Node\"><a href=\"{3}\">{2}<\/a><\/span> was deleted.":"","<span class=\"Name\">{0}<\/span> at <span class=\"Node\"><a href=\"{3}\">{2}<\/a><\/span> was deleted by <span class=\"Role\"><a href=\"{5}\">{4}<\/a><\/span>.":"","<span class=\"Name\"><a href=\"{1}\">{0}<\/a><\/span> at <span class=\"Node\"><a href=\"{3}\">{2}<\/a><\/span> was added.":"","<span class=\"Name\"><a href=\"{1}\">{0}<\/a><\/span> at <span class=\"Node\"><a href=\"{3}\">{2}<\/a><\/span> was added by <span class=\"Role\"><a href=\"{5}\">{4}<\/a><\/span>.":"","<span class=\"Name\"><a href=\"{1}\">{0}<\/a><\/span> at <span class=\"Node\"><a href=\"{3}\">{2}<\/a><\/span> was changed.":"","<span class=\"Name\"><a href=\"{1}\">{0}<\/a><\/span> at <span class=\"Node\"><a href=\"{3}\">{2}<\/a><\/span> was changed by <span class=\"Role\"><a href=\"{5}\">{4}<\/a><\/span>.":"","<span class=\"Name\"><a href=\"{1}\">{0}<\/a><\/span> status was changed.":"","<span class=\"Name\"><a href=\"{1}\">{0}<\/a><\/span> status was changed by <span class=\"Role\"><a href=\"{5}\">{4}<\/a><\/span>.":"","Speaker":"","Speaker Link":"","SQL":"","SQLite 3.x Binary":"","SQLite 3.x Script":"","Start":"","Status":"","Step #1: Select the newsletter":"","Step #1: Set name and route":"","Step #2: Select the template":"","Step #3: Save and continue":"","Step #4: Save and continue":"","Store":"","Stores":"","Styles":"","Styles (shared)":"","Subject":"","Submit":"","Subscribe":"","Subscriber":"","Subscribers":"","Subscriptions":"","Subtitle":"","Suspicious":"","Swiper":"","Syndication Service":"","System":"","System Information":"","Table":"","Table Fields":"","Table Indexes":"","Table Rows":"","Tables":"","Tag":"","Tags":"","Target":"","Task":"","Tasks":"","Template":"","Templates":"","Templates (compiled)":"","Test":"","Text":"","Text and Images":"","Text File (List of email addresses)":"","ThankYou":"","Thany you very much for your report. We will check the error and will get back to you as soon as possible.":"","The {0} (or entry of {0}) was not found.":"","The area <code>{0}<\/code> can not be deleted.":"","The argument <oode>{0}<\/code> is not a associative array.":"","The argument <oode>{0}<\/code> is not a callable.":"","The argument <oode>{0}<\/code> is not a object.":"","The constant <code>{0}<\/code> is already defined.":"","The current password was wrong.":"","The databases was successful vacuumed and {0} of space was saved.":"","The databases was successful vacuumed but no space was saved.":"","The database was checked and following problems were found":"","The database was checked and no problems were found.":"","The default area <code>{0}<\/code> can not be deleted.":"","The default area <code>{0}<\/code> can not be set offline.":"","The directory <code>{0}<\/code> can not be deleted.":"","The error message <code>{0}<\/code> can not be deleted.":"","The file <code>{0}<\/code> was not found.":"","The file upload was stopped by an extension.":"","The file was not found":"","The import was successful. Added: {0} \/ Edited: {1} \/ Removed: {2}.":"","The item <code>{0}<\/code> can not be moved because the page is a parent of the target page.":"","The item <code>{0}<\/code> can not be moved because the page is the same as the target.":"","The items from <code>{0}<\/code> can not be moved because the source and target pages are not unsing the same templage.":"","The keyword ({0}) was successfully deleted.":"","The locale string is invalid.":"","The login data was sent to your email address.":"","The new and repeated password do not match.":"","The new password must not be empty.":"","The OpenId identify was not validated.":"","The page <code>{0}<\/code> can not be deleted because it is protected.":"","The page <code>{0}<\/code> can not be moved because it is protected.":"","The page <code>{0}<\/code> can not be moved because the page is a parent of the target page.":"","The page <code>{0}<\/code> can not be moved because the page is the same as the target.":"","The page is configured to redirect but no URL was defined.":"","The page title should contain important keywords. Use the most important keywords at the beginning always. Use up to 55 characters. Do not use string of search terms.":"","The page was not found.":"","The password was changed successful.":"","The php setting 'apc.rfc1867' is deactivated but has to be activated.":"","There is a problem of login, Please try again.":"","The reload was successful. Added: {0} \/ Removed: {1}.":"","The reload was successful but no new or deprecated items found.":"","The resource <code>{0}<\/code> is forbidden.":"","The resource <code>{0}<\/code> was not found.":"","The Response":"","The Route is the part of the address after the address of the site the new created page will be accessible. The Route must be unique and can only contain alphanumeric and certain special characters. Allowed special characters are <abbr class=\"Char\" title=\"Slash\">\/<\/abbr>, <abbr class=\"Char\" title=\"Underscore\">_<\/abbr>, <abbr class=\"Char\" title=\"Hyphen \/ Minus\">-<\/abbr> und <abbr class=\"Char\" title=\"Dot\">.<\/abbr>":"","The status of the job is":"","The table was successful truncated and {0} row were deleted.":"","The test mail was successful to {0}.":"","The timezone <code>{0}<\/code> is not supported. Setting timezone to UTC.":"","The uploaded file exceeds the 'MAX_FILE_SIZE' directive in the form.":"","The uploaded file exceeds the 'upload_max_filesize' directive in php.ini.":"","The uploaded file was only partially uploaded.":"","The user <code>{0}<\/code> can not be deleted.":"","The user <code>{0}<\/code> is not allowed to log in.":"","The user name or password is incorrect.":"","The VACUUM command rebuilds the entire database. There are several reasons to do this. See also: <a href=\"http:\/\/www.sqlite.org\/lang_vacuum.html\" target=\"_blank\">SQLite vacuum-stmt<\/a>":"","The value of the argument <code>{0}<\/code> is invalid.":"","This is the import folder. The import folder allows you to import file into the filemanger you uploaded via FTP. To import files you have to upload these file to the folder:":"","This module is disabled.":"","This module is enabled.":"","This page was successfully send to <code>{0}<\/code>.":"","This plugin is disabled.":"","This plugin is enabled.":"","This will send a test mail to the given email address. A random subscriber will get selected to format the test mail.":"","Thumbnail Size":"","Time":"","TinyMce":"","Title":"","Title on image":"","To":"","today":"","Tools":"","Top Image":"","Top Image Centered Title":"","Top Image Height":"","Top Image Opacity":"","Transition":"","Translation":"","Translations":"","Truncate Table":"","Tweet":"","Twitter":"","Type":"","Unable to edit the page <code>{0}<\/code>. This page is protected.":"","Unable to fetch the session data because the Suhosin extension is configured to encrypt the session data (<code>suhosin.session.encrypt = 1<\/code>).":"","Unable to load the session store because the default PHP session handler is used.":"","Unbind Role from an OpenId Identity":"","unbound":"","undefined":"","Undefined":"","Unfortunately, there are no future events":"","Unfortunately, there is currently no news":"","Uninstall Site":"","Uninstall sites":"","Unique":"","unknown":"","Unknown error.":"","Unset Event as Featured":"","Unset News as Featured":"","Unsubscribe":"","Update site":"","Upload":"","Upload files":"","Upload Files":"","Url":"","URL":"","User":"","User Agent":"","User, Groups and Roles":"","Username":"","Use Vacuum Tools":"","Vacuum":"","Validated Files":"","Validated Images":"","Validate Files":"","Validate Images":"","Validate your request by clicking <a href=\"{$route}\"><t>here":"","Value":"","Values":"","Variable <code>{0}<\/code> triggered rule <code>{1}<\/code> with a threat level of <code>{2}<\/code>.":"","Version":"","Video":"","Videos":"","View":"","Visit the recommended page by clicking on the following url:":"","WARNING: Please note that the database table will get created only in the database of the current site.":"","WARNING: This feature SHOULD only get used by developers. This feature is EXPERIMENTAL.":"","was added":"","was deleted":"","was edited":"","Webpage recommendation from":"","Week":"","Weekly":"","Weekly View":"","We've send a confirmation mail to the email address <code>{0}<\/code>. Please open the mail and click on the link to confirm your newsletter subscription changes.":"","What is an OpenId?":"","What is your E-mail address?":"","Width":"","Without end time":"","would like to recommend to you to visit this webpage":"","Write New Entry":"","Yes":"","yesterday":"","You are logged in as":"","You are logged in as <code>{0}<\/code>.":"","You are logged out.":"","You can not sign off to the newsletter <code>{0}<\/code>, because you are not signed up to this newsletter.":"","You can not sign up for the newsletter <code>{0}<\/code>, since you are already signed up for this newsletter.":"","You have no rights to add {0}.":"","You have no rights to delete {0}.":"","You have no rights to delete cache files.":"","You have no rights to delete js minified files.":"","You have no rights to download sites.":"","You have no rights to edit {0}.":"","You have no rights to export translations.":"","You have no rights to import translations.":"","You have no rights to install sites.":"","You have no rights to read {0}.":"","You have no rights to read this page.":"","You have no rights to reload.":"","You have no rights to run jobs.":"","You have no rights to run the builds.":"","You have no rights to run the update.":"","You have no rights to to execute the database export.":"","You have no rights to to execute the database integrity check.":"","You have no rights to to execute the database vacuum.":"","You have no rights to uninstall sites.":"","You have successfully signed off for the newsletter <code>{0}<\/code>.":"","You have successfully signed up for the newsletter <code>{0}<\/code>.":"","You have to enter a valid search term in the search field.":"","Your contact request was successfully submitted.":"","Your email":"","Your email address will not be published.":"","You requested the login data for the website":"","Your Guestbook Entry was accepted":"","Your Guestbook Entry was rejected":"","Your guestbook entry was saved and published.":"","Your guestbook entry was saved and will get published after review.":"","Your member account was successfully created and you are logged in now as <code>{0}<\/code>.":"","Your Message":"","Your message (optional)":"","Your Options":""};$(document).ready(function(){makeMobileMenuSpecial();$('div.idv-82e573b196f64a3db6661ece036c8ddc div.Text div.CongressLocationAndDate').animate({'bottom':'0'},500);$('div.idv-82e573b196f64a3db6661ece036c8ddc div.Text div.CongressTitle').animate({'bottom':'0'},1000);$('.GoToTop').click(function(){$('html, body').animate({scrollTop:0},'slow');});if(jQuery(window).scrollTop()===0&&jQuery('.GoToTopContainer').css("display")!="none"){jQuery('.GoToTopContainer').hide();}else if(jQuery('.GoToTopContainer').css("display")=="none"){jQuery('.gotop').show();} jQuery(window).scroll(function(){if(jQuery(this).scrollTop()===0&&jQuery('.GoToTopContainer').css("display")!="none"){jQuery('.GoToTopContainer').fadeOut();}else if(jQuery('.GoToTopContainer').css("display")=="none"){jQuery('.GoToTopContainer').fadeIn();}});setTimeout(function(){var toggles=document.querySelectorAll(".c-hamburger");for(var i=toggles.length-1;i>=0;i--){var toggle=toggles[i];toggleHandler(toggle);};function toggleHandler(toggle){toggle.addEventListener("click",function(e){e.preventDefault();(this.classList.contains("is-active")===true)?this.classList.remove("is-active"):this.classList.add("is-active");});}},100);if(localStorage.getItem("CookiesHinweis")!="Closed"){$('.CookiesHinweisOuter').show();localStorage.setItem("CookiesHinweis","Open");}else{$('.CookiesHinweisOuter').hide();localStorage.setItem("CookiesHinweis","Closed");} jQuery('.CookiesHinweisClose').click(function(){$('.CookiesHinweisOuter').hide();localStorage.setItem("CookiesHinweis","Closed");});if(localStorage.getItem("UpperBanner")!="Closed"){$('.UpperBanner').show();localStorage.setItem("UpperBanner","Open");}else{$('.UpperBanner').hide();localStorage.setItem("UpperBanner","Closed");} $('div.CloseUpperBanner').click(function(){$('.UpperBanner').hide();localStorage.setItem("UpperBanner","Closed");});$('div.pageNorth div.Search button.Button.Submit').click(function(){if($('div.pageNorth div.Search input').width()==0){$('body').addClass('Search');$('div.pageNorth div.Areas').hide();$('div.pageNorth div.Search').css({'padding-right':'10px','border-width':'1px'});$('div.pageNorth div.Search form').animate({'width':'480px'});$('div.pageNorth div.Search input').css({'width':'420px','padding':'2px','margin-right':'20px'});$('div.pageNorth div.Search button.Button.Submit').css({'width':'30px','padding':'0 5px','float':'left'});$('div.pageNorth div.Search input').focus();}else{$('body').removeClass('Search');if($('.dropdown-content .Selected').length){$('div.pageNorth div.Areas').show();} $('div.pageNorth div.Search form').css({'width':'0'});$('div.pageNorth div.Search').css({'padding-right':'0','border-width':'0'});$('div.pageNorth div.Search input').css({'width':'0','padding':'0','margin-right':'0'});$('div.pageNorth div.Search button.Button.Submit').css({'width':'none','padding':'0','float':'right'});} $('div.pageNorth div.Search input').focusout(function(){$('body').removeClass('Search');if($('.dropdown-content .Selected').length){$('div.pageNorth div.Areas').show();} $('div.pageNorth div.Search form').css({'width':'0'});$('div.pageNorth div.Search').css({'padding-right':'0','border-width':'0'});$('div.pageNorth div.Search input').css({'width':'0','padding':'0','margin-right':'0'});$('div.pageNorth div.Search button.Button.Submit').css({'width':'none','padding':'0','float':'right'});});});if($('.dropdown-content .Selected').length){$('div.pageNorth div.Areas').show();$('.dropbtn #selected-language').html($('.dropdown-content .Selected').html());}else{$('div.pageNorth div.Areas').hide();} if(localStorage.getItem("CounterTop")!="Closed"){$('.CounterTop').show();localStorage.setItem("CounterTop","Open");}else{$('.CounterTop').hide();localStorage.setItem("CounterTop","Closed");} $('div.CloseUpperBanner').click(function(){$('.UpperBanner').hide();localStorage.setItem("UpperBanner","Closed");});$('div.CloseCounterTop').click(function(){$('.CounterTop').hide();localStorage.setItem("CounterTop","Closed");});var s=document.getElementById('flipdown').getAttribute('data-date');var date=new Date(s.replace(/-/g,"/"));var twoDaysFromNow=(date.getTime()/1000)+1;var flipdown=new FlipDown(twoDaysFromNow).start();});function makeMobileMenuSpecial(){sbKlappeAus();$('.Vertical a.hasMore').each(function(){if($(this).hasClass('Selected')){$(this).show();if(!$(this).parent().parent().is('.Vertical>ul')) $($(this).parent().parent()).show();if(!$(this).parent().parent().parent().parent().is('.Vertical>ul')) $($(this).parent().parent().parent().parent()).show();if(!$(this).parent().parent().parent().parent().parent().parent().is('.Vertical>ul')) $($(this).parent().parent().parent().parent().parent().parent()).show();if(!$(this).parent().parent().parent().parent().parent().parent().is('.Vertical>ul')) $($(this).parent().parent().parent().parent().parent().parent()).show();}});$('.Vertical a.hasMore').click(function(event){if(!$(this).hasClass('Selected')){$('.Vertical .hasMore ul').hide();$('.Vertical a.Selected').removeClass('Selected');$('.Vertical a.Current').removeClass('Current');$('#'+$(this).attr('id')).addClass('Selected');$('#'+$(this).attr('id')).addClass('Current');var li=$('#'+$(this).attr('id')).parent();$(li.find('ul')[0]).show();$(li.parent()).show();$(li.parent().parent()).show();$(li.parent().parent().parent()).show();$(li.parent().parent().parent().parent()).show();event.preventDefault();}});} function openSupMenuElements(linkId){$('.Vertical ul li.hasMore ul').hide();$('.Vertical ul a.Selected').removeClass('Selected');$('.Vertical ul a.Current').removeClass('Current');$('#'+linkId).addClass('Selected');$('#'+linkId).addClass('Current');var li=$('#'+linkId).parent();$(li.find('ul')[0]).show();} function sbKlappeAus(){var li=$('li.hasMore');var li1=$('li ul li.Selected').parent().parent();$(li1.find('a')[0]).addClass('Selected');for(i=0;i<li.length;i++){if($(li[i]).attr('id')==li1.attr('id')){$(li[i]).addClass('Selected');}}}