This website encountered an unexpected problem

What Happened:

There was an unexpected error in this website. This may be due to a programming bug.

How this will affect you:

The current page will not load.

What you can do about it:

Close your browser, navigate back to this website, and try repeating your last action. Try alternative methods of performing the same action. If problems persist, contact .
');var j=i.parent();if(i.css("position")=="static"){j.css({position:"relative"});i.css({position:"relative"})}else{var g=i.css("top");if(isNaN(parseInt(g,10))){g="auto"}var h=i.css("left");if(isNaN(parseInt(h,10))){h="auto"}j.css({position:i.css("position"),top:g,left:h,zIndex:i.css("z-index")}).show();i.css({position:"relative",top:0,left:0})}j.css(f);return j},removeWrapper:function(f){if(f.parent().is(".ui-effects-wrapper")){return f.parent().replaceWith(f)}return f},setTransition:function(h,g,i,f){f=f||{};c.each(g,function(k,j){unit=h.cssUnit(j);if(unit[0]>0){f[j]=unit[0]*i+unit[1]}});return f},animateClass:function(g,i,f,k){var j=(typeof f=="function"?f:(k?k:null));var h=(typeof f=="string"?f:null);return this.each(function(){var q={};var m=c(this);var r=m.attr("style")||"";if(typeof r=="object"){r=r.cssText}if(g.toggle){m.hasClass(g.toggle)?g.remove=g.toggle:g.add=g.toggle}var o=c.extend({},(document.defaultView?document.defaultView.getComputedStyle(this,null):this.currentStyle));if(g.add){m.addClass(g.add)}if(g.remove){m.removeClass(g.remove)}var p=c.extend({},(document.defaultView?document.defaultView.getComputedStyle(this,null):this.currentStyle));if(g.add){m.removeClass(g.add)}if(g.remove){m.addClass(g.remove)}for(var l in p){if(typeof p[l]!="function"&&p[l]&&l.indexOf("Moz")==-1&&l.indexOf("length")==-1&&p[l]!=o[l]&&(l.match(/color/i)||(!l.match(/color/i)&&!isNaN(parseInt(p[l],10))))&&(o.position!="static"||(o.position=="static"&&!l.match(/left|top|bottom|right/)))){q[l]=p[l]}}m.animate(q,i,h,function(){if(typeof c(this).attr("style")=="object"){c(this).attr("style")["cssText"]="";c(this).attr("style")["cssText"]=r}else{c(this).attr("style",r)}if(g.add){c(this).addClass(g.add)}if(g.remove){c(this).removeClass(g.remove)}if(j){j.apply(this,arguments)}})})}};function e(h,f){var g=h[1]&&h[1].constructor==Object?h[1]:{};if(f){g.mode=f}var i=h[1]&&h[1].constructor!=Object?h[1]:(g.duration?g.duration:h[2]);i=c.fx.off?0:typeof i==="number"?i:c.fx.speeds[i]||c.fx.speeds._default;var j=g.callback||(c.isFunction(h[1])&&h[1])||(c.isFunction(h[2])&&h[2])||(c.isFunction(h[3])&&h[3]);return[h[0],g,i,j]}c.fn.extend({_show:c.fn.show,_hide:c.fn.hide,__toggle:c.fn.toggle,_addClass:c.fn.addClass,_removeClass:c.fn.removeClass,_toggleClass:c.fn.toggleClass,effect:function(f,h,g,i){return c.effects[f]?c.effects[f].call(this,{method:f,options:h||{},duration:g,callback:i}):null},show:function(){if(!arguments[0]||(arguments[0].constructor==Number||(/(slow|normal|fast)/).test(arguments[0]))){return this._show.apply(this,arguments)}else{return this.effect.apply(this,e(arguments,"show"))}},hide:function(){if(!arguments[0]||(arguments[0].constructor==Number||(/(slow|normal|fast)/).test(arguments[0]))){return this._hide.apply(this,arguments)}else{return this.effect.apply(this,e(arguments,"hide"))}},toggle:function(){if(!arguments[0]||(arguments[0].constructor==Number||(/(slow|normal|fast)/).test(arguments[0]))||(c.isFunction(arguments[0])||typeof arguments[0]=="boolean")){return this.__toggle.apply(this,arguments)}else{return this.effect.apply(this,e(arguments,"toggle"))}},addClass:function(h,g,f,i){return g?c.effects.animateClass.apply(this,[{add:h},g,f,i]):this._addClass(h)},removeClass:function(h,g,f,i){return g?c.effects.animateClass.apply(this,[{remove:h},g,f,i]):this._removeClass(h)},toggleClass:function(h,g,f,i){return((typeof g!=="boolean")&&g)?c.effects.animateClass.apply(this,[{toggle:h},g,f,i]):this._toggleClass(h,g)},morph:function(i,g,h,f,j){return c.effects.animateClass.apply(this,[{add:g,remove:i},h,f,j])},switchClass:function(){return this.morph.apply(this,arguments)},cssUnit:function(f){var g=this.css(f),h=[];c.each(["em","px","%","pt"],function(k,j){if(g.indexOf(j)>0){h=[parseFloat(g),j]}});return h}});c.each(["backgroundColor","borderBottomColor","borderLeftColor","borderRightColor","borderTopColor","color","outlineColor"],function(f,g){c.fx.step[g]=function(h){if(h.state==0){h.start=b(h.elem,g);h.end=a(h.end)}h.elem.style[g]="rgb("+[Math.max(Math.min(parseInt((h.pos*(h.end[0]-h.start[0]))+h.start[0],10),255),0),Math.max(Math.min(parseInt((h.pos*(h.end[1]-h.start[1]))+h.start[1],10),255),0),Math.max(Math.min(parseInt((h.pos*(h.end[2]-h.start[2]))+h.start[2],10),255),0)].join(",")+")"}});function a(g){var f;if(g&&g.constructor==Array&&g.length==3){return g}if(f=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(g)){return[parseInt(f[1],10),parseInt(f[2],10),parseInt(f[3],10)]}if(f=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(g)){return[parseFloat(f[1])*2.55,parseFloat(f[2])*2.55,parseFloat(f[3])*2.55]}if(f=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(g)){return[parseInt(f[1],16),parseInt(f[2],16),parseInt(f[3],16)]}if(f=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(g)){return[parseInt(f[1]+f[1],16),parseInt(f[2]+f[2],16),parseInt(f[3]+f[3],16)]}if(f=/rgba\(0, 0, 0, 0\)/.exec(g)){return d.transparent}return d[c.trim(g).toLowerCase()]}function b(f,h){var g;do{g=c.curCSS(f,h);if(g!=""&&g!="transparent"||c.nodeName(f,"body")){break}h="backgroundColor"}while(f=f.parentNode);return a(g)}var d={aqua:[0,255,255],azure:[240,255,255],beige:[245,245,220],black:[0,0,0],blue:[0,0,255],brown:[165,42,42],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgrey:[169,169,169],darkgreen:[0,100,0],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkviolet:[148,0,211],fuchsia:[255,0,255],gold:[255,215,0],green:[0,128,0],indigo:[75,0,130],khaki:[240,230,140],lightblue:[173,216,230],lightcyan:[224,255,255],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightyellow:[255,255,224],lime:[0,255,0],magenta:[255,0,255],maroon:[128,0,0],navy:[0,0,128],olive:[128,128,0],orange:[255,165,0],pink:[255,192,203],purple:[128,0,128],violet:[128,0,128],red:[255,0,0],silver:[192,192,192],white:[255,255,255],yellow:[255,255,0],transparent:[255,255,255]};c.easing.jswing=c.easing.swing;c.extend(c.easing,{def:"easeOutQuad",swing:function(f,g,h,i,j){return c.easing[c.easing.def](f,g,h,i,j)},easeInQuad:function(f,g,h,i,j){return i*(g/=j)*g+h},easeOutQuad:function(f,g,h,i,j){return -i*(g/=j)*(g-2)+h},easeInOutQuad:function(f,g,h,i,j){if((g/=j/2)<1){return i/2*g*g+h}return -i/2*((--g)*(g-2)-1)+h},easeInCubic:function(f,g,h,i,j){return i*(g/=j)*g*g+h},easeOutCubic:function(f,g,h,i,j){return i*((g=g/j-1)*g*g+1)+h},easeInOutCubic:function(f,g,h,i,j){if((g/=j/2)<1){return i/2*g*g*g+h}return i/2*((g-=2)*g*g+2)+h},easeInQuart:function(f,g,h,i,j){return i*(g/=j)*g*g*g+h},easeOutQuart:function(f,g,h,i,j){return -i*((g=g/j-1)*g*g*g-1)+h},easeInOutQuart:function(f,g,h,i,j){if((g/=j/2)<1){return i/2*g*g*g*g+h}return -i/2*((g-=2)*g*g*g-2)+h},easeInQuint:function(f,g,h,i,j){return i*(g/=j)*g*g*g*g+h},easeOutQuint:function(f,g,h,i,j){return i*((g=g/j-1)*g*g*g*g+1)+h},easeInOutQuint:function(f,g,h,i,j){if((g/=j/2)<1){return i/2*g*g*g*g*g+h}return i/2*((g-=2)*g*g*g*g+2)+h},easeInSine:function(f,g,h,i,j){return -i*Math.cos(g/j*(Math.PI/2))+i+h},easeOutSine:function(f,g,h,i,j){return i*Math.sin(g/j*(Math.PI/2))+h},easeInOutSine:function(f,g,h,i,j){return -i/2*(Math.cos(Math.PI*g/j)-1)+h},easeInExpo:function(f,g,h,i,j){return(g==0)?h:i*Math.pow(2,10*(g/j-1))+h},easeOutExpo:function(f,g,h,i,j){return(g==j)?h+i:i*(-Math.pow(2,-10*g/j)+1)+h},easeInOutExpo:function(f,g,h,i,j){if(g==0){return h}if(g==j){return h+i}if((g/=j/2)<1){return i/2*Math.pow(2,10*(g-1))+h}return i/2*(-Math.pow(2,-10*--g)+2)+h},easeInCirc:function(f,g,h,i,j){return -i*(Math.sqrt(1-(g/=j)*g)-1)+h},easeOutCirc:function(f,g,h,i,j){return i*Math.sqrt(1-(g=g/j-1)*g)+h},easeInOutCirc:function(f,g,h,i,j){if((g/=j/2)<1){return -i/2*(Math.sqrt(1-g*g)-1)+h}return i/2*(Math.sqrt(1-(g-=2)*g)+1)+h},easeInElastic:function(f,m,h,i,j){var l=1.70158;var k=0;var g=i;if(m==0){return h}if((m/=j)==1){return h+i}if(!k){k=j*0.3}if(g-1);this.isWinXPSP2=(g.indexOf("SV1")>-1);this.isWinVista=(g.indexOf("windows nt 6.")>-1);this.isMac=(g.indexOf("mac")>-1);this.isSun=(g.indexOf("sunos")>-1);this.isUnix=(this.isSun||(g.indexOf("x11")>-1)||(g.indexOf("irix")>-1)||(g.indexOf("hp-ux")>-1)||(g.indexOf("sco")>-1)||(g.indexOf("unix_sv")>-1)||(g.indexOf("unix_system_v")>-1)||(g.indexOf("ncr")>-1)||(g.indexOf("reliantunix")>-1)||(g.indexOf("dec")>-1)||(g.indexOf("osf1")>-1)||(g.indexOf("dec_alpha")>-1)||(g.indexOf("alphaserver")>-1)||(g.indexOf("ultrix")>-1)||(g.indexOf("alphastation")>-1)||(g.indexOf("sinix")>-1)||(g.indexOf("aix")>-1)||(g.indexOf("inux")>-1)||(g.indexOf("bsd")>-1)||(g.indexOf("freebsd")>-1));var f=g.indexOf("opera");this.isOpera=(f>-1);this.isSafari=((g.indexOf("safari")!=-1)&&(!this.isOpera));this.isNetscape=((window.navigator.appName=="Netscape")&&!this.isOpera);this.isFirefox=(((g.indexOf("firefox/1.")!=-1)||(g.indexOf("firefox/2.")!=-1))&&(!this.isOpera));this.isNetscape60=false;var b=g.indexOf("msie ");this.isIE=((b>-1)&&!this.isOpera);if(this.isFirefox){this.isNetscape=true;this.isOpera=false;this.isNetscape60=false}if(this.isOpera){this.browserVersion=parseFloat(g.substring(f+6))}else{if(this.isIE){this.browserVersion=parseFloat(g.substring(b+5))}else{if(this.isNetscape){var a=g.indexOf("netscape/");if(a>-1){this.browserVersion=parseFloat(g.substring(a+9))}else{var e=g.indexOf("netscape6");if(e>-1){this.browserVersion=parseFloat(g.substring(e+10));this.isNetscape60=(this.browserVersion>=6&&this.browserVersion<6.1)}else{this.browserVersion=parseFloat(window.navigator.appVersion);if(this.browserVersion>=5){var c=g.indexOf("rv:");if(c>-1){if(g.indexOf("rv:0.9.4")>-1){this.browserVersion=6.2}else{if(g.indexOf("rv:1.7.5")>-1){this.browserVersion=8.1}else{var d=parseFloat(g.substring(c+3));if(d>=1&&d<1.4){this.browserVersion=7}else{if(d>=1.4&&d<1.5){this.browserVersion=7.1}else{if(d>=1.7&&d<1.8){this.browserVersion=7.2}else{if(d>=1.8&&d<1.9){this.browserVersion=7.23}else{if(d>=1.9){this.browserVersion=7.96}else{this.isNetscape=false}}}}}}}}else{this.isNetscape=false}}}}}else{this.browserVersion=parseFloat(window.navigator.appVersion)}}}}; 1394_ContentMetadata Ektron.Cms.ContentMetaData[] urn:Ektron:CMS400:Register:EktronSmartFormJS:DateTimeThursday, October 23, 2014 2:51:29 PM urn:Ektron:CMS400:Register:EktronBlockUiJS:DateTimeThursday, October 23, 2014 2:50:30 PM 1975_ContentMetadata Ektron.Cms.ContentMetaData[] urn:Ektron:CMS400:Register:EktronWorkareaContextMenusTreesJS:FileEktron.ready(function(){if("undefined"===typeof Ektron.ContextMenus.Trees){Ektron.ContextMenus.Trees={};Ektron.ContextMenus.Trees.redirectUrl="";Ektron.ContextMenus.Trees.blockframes=function(){Ektron.Workarea.Overlay.block({target:{ek_main:true,ek_nav_bottom:false}})};Ektron.ContextMenus.Trees.blockallframes=function(){Ektron.Workarea.Overlay.block({target:{ek_nav_bottom:true}})};Ektron.ContextMenus.Trees.BlogFolder={EnableCommands:function(a,b){b.find("a").attr("data-ektron-parentid",a.ParentId);folderPermissions=a.Folder;roleMemberships=a.RoleMemberships;enableList=[];if(folderPermissions.CanEditFolders||folderPermissions.CanEditApprovals){enableList.push("#viewFolderProperties")}if((folderPermissions.CanAddFolders||folderPermissions.CanEditFolders||folderPermissions.IsAdmin)&&(a.Id!==0)){enableList.push("#cutFolder");enableList.push("#copyFolder")}if((folderPermissions.CanAddFolders||folderPermissions.IsAdmin)&&(top.Ektron.Workarea.FolderClipBoard.folderid!="")&&(top.Ektron.Workarea.FolderClipBoard.foldertype==="1"&&top.Ektron.Workarea.FolderClipBoard.foldertype==="2")){enableList.push("#pasteFolder")}if(folderPermissions.CanDeleteFolders){enableList.push("#deleteFolder")}if(folderPermissions.IsAdmin||a.IsARoleMemberForFolder_FolderUserAdmin){enableList.push("#deleteFolderContent")}b.enableContextMenuItems(enableList.toString());Ektron.ContextMenus.ShowSeparator(b)},Init:function(){Ektron.ContextMenus.Trees.InitializeMenu("div.ektronTreeContainer ul.Content li a[data-ektron-datatype='1']","#blogFolderContextMenu")}};Ektron.ContextMenus.Trees.Calendar={confirmFolderDelete:"",EnableCommands:function(a,b){b.find("a").attr("data-ektron-parentid",a.ParentId);folderPermissions=a.Folder;enableList=[];if((folderPermissions.CanEditFolders||folderPermissions.CanEditApprovals)){enableList.push("#viewFolderProperties")}if((folderPermissions.CanAddFolders||folderPermissions.CanEditFolders||folderPermissions.IsAdmin)&&(a.Id!==0)){enableList.push("#cutFolder");enableList.push("#copyFolder")}if(a.Id!==0&&folderPermissions.CanDeleteFolders){enableList.push("#deleteFolder")}b.enableContextMenuItems(enableList.toString());Ektron.ContextMenus.ShowSeparator(b)},Init:function(){Ektron.ContextMenus.Trees.InitializeMenu("div#TreeOutput ul.Content li a[data-ektron-datatype='8']","#calendarFolderContextMenu")}};Ektron.ContextMenus.Trees.Collections={confirmCollectionDelete:"",EnableCommands:function(b,d,a,c){c=parseInt(c,10);d.find("a").attr("data-ektron-folderid",a);folderPermissions=b.Folder;rolePermissions=b.RoleMemberships;enableList=[];if(rolePermissions.AminCollectionMenu||folderPermissions.IsCollections){if(c<0){enableList.push("#addCollection")}else{enableList.push("#addCollectionItems");enableList.push("#removeCollection");enableList.push("#reorderCollection");enableList.push("#viewCollectionProperties");enableList.push("#deleteCollection")}}if(top.Ektron.Workarea.TaxonomyClipBoard.items.length>0&&c>-1){enableList.push("#collectionAssignSelectedItems")}d.enableContextMenuItems(enableList.toString());Ektron.ContextMenus.ShowSeparator(d)},Init:function(){Ektron.ContextMenus.Trees.InitializeMenu("div#CollectionTreeOutput ul.ektree li a","#collectionsContextMenu")}};Ektron.ContextMenus.Trees.CommunityFolder={EnableCommands:function(a,b){b.find("a").attr("data-ektron-parentid",a.ParentId);folderPermissions=a.Folder;rolesPermissions=a.RoleMemberships;enableList=[];if(folderPermissions.CanAddFolders){enableList.push("#addBlogFolder");enableList.push("#addBoardFolder");enableList.push("#addCommunityFolder");enableList.push("#addCalendarFolder");if(a.LicensedFeatures.eCommerce){enableList.push("#addEcommerceFolder")}}if((top.Ektron.Workarea.ClipBoard.items.length>0)&&(rolesPermissions.MoveOrCopy!==false)&&(top.Ektron.Workarea.ClipBoard.items[0].t!=3333)){enableList.push("#showConfirmModal")}if(folderPermissions.CanEditFolders||folderPermissions.CanEditApprovals){enableList.push("#viewFolderProperties")}if((folderPermissions.CanAddFolders||folderPermissions.CanEditFolders||folderPermissions.IsAdmin)&&(a.Id!==0)){enableList.push("#cutFolder");enableList.push("#copyFolder")}if((folderPermissions.CanAddFolders||folderPermissions.IsAdmin)&&(top.Ektron.Workarea.FolderClipBoard.folderid!="")&&(top.Ektron.Workarea.FolderClipBoard.foldertype==="6")){enableList.push("#pasteFolder")}if(folderPermissions.CanDelete){enableList.push("#deleteFolderContent")}if(folderPermissions.CanDeleteFolders){enableList.push("#deleteFolder")}b.enableContextMenuItems(enableList.toString());Ektron.ContextMenus.ShowSeparator(b)},Init:function(){Ektron.ContextMenus.Trees.InitializeMenu("div.ektronTreeContainer ul.Content li a[data-ektron-datatype='6']","#communityFolderContextMenu")}};Ektron.ContextMenus.Trees.DiscussionBoardFolder={EnableCommands:function(a,b){b.find("a").attr("data-ektron-parentid",a.ParentId);folderPermissions=a.Folder;enableList=[];if(folderPermissions.CanAddFolders){enableList.push("#addDiscussionForum");enableList.push("#addSubject")}if(folderPermissions.CanEditFolders||folderPermissions.CanEditApprovals){enableList.push("#viewBoardProperties")}if((folderPermissions.CanAddFolders||folderPermissions.CanEditFolders||folderPermissions.IsAdmin)&&(a.Id!==0)){enableList.push("#cutFolder");enableList.push("#copyFolder")}if((folderPermissions.CanAddFolders||folderPermissions.IsAdmin)&&(top.Ektron.Workarea.FolderClipBoard.folderid!="")&&(top.Ektron.Workarea.FolderClipBoard.foldertype!="3"&&top.Ektron.Workarea.FolderClipBoard.foldertype==="4")){enableList.push("#pasteFolder")}if(folderPermissions.CanDeleteFolders){enableList.push("#deleteFolder")}b.enableContextMenuItems(enableList.toString());Ektron.ContextMenus.ShowSeparator(b)},Init:function(){Ektron.ContextMenus.Trees.InitializeMenu("div.ektronTreeContainer ul.Content li a[data-ektron-datatype='3']","#discussionBoardFolderContextMenu")}};Ektron.ContextMenus.Trees.DiscussionForumFolder={EnableCommands:function(a,b){b.find("a").attr("data-ektron-parentid",a.ParentId);folderPermissions=a.Folder;enableList=[];if(folderPermissions.CanAdd){enableList.push("#addForumTopic")}if(a.IsARoleMemberForFolder_FolderUserAdmin||folderPermissions.CanEditFolders||folderPermissions.CanEditApprovals){enableList.push("#viewForumProperties")}if(a.IsARoleMemberForFolder_FolderUserAdmin||folderPermissions.IsAdmin){enableList.push("#viewForumPermissions")}if(folderPermissions.CanDeleteFolders||folderPermissions.IsAdmin){enableList.push("#deleteForum")}b.enableContextMenuItems(enableList.toString());Ektron.ContextMenus.ShowSeparator(b)},Init:function(){Ektron.ContextMenus.Trees.InitializeMenu("div.ektronTreeContainer ul.Content li a[data-ektron-datatype='4']","#discussionForumFolderContextMenu")}};Ektron.ContextMenus.Trees.EcommerceFolder={EnableCommands:function(a,b){b.find("a").attr("data-ektron-parentid",a.ParentId);folderPermissions=a.Folder;rolesPermissions=a.RoleMemberships;licenses=a.LicensedFeatures;enableList=[];if((top.Ektron.Workarea.ClipBoard.items.length>0)&&(top.Ektron.Workarea.ClipBoard.items[0].t==3333)){enableList.push("#showConfirmModal")}if((folderPermissions.CanAddFolders||rolesPermissions.CommerceAdmin)&&licenses.eCommerce){enableList.push("#addEcommerceFolder")}if(folderPermissions.CanEditFolders||folderPermissions.CanEditApprovals){enableList.push("#viewFolderProperties")}if((folderPermissions.CanAddFolders||folderPermissions.CanEditFolders||folderPermissions.IsAdmin)&&(a.Id!==0)){enableList.push("#cutFolder");enableList.push("#copyFolder")}if((folderPermissions.CanAddFolders||folderPermissions.IsAdmin)&&(top.Ektron.Workarea.FolderClipBoard.folderid!="")&&(top.Ektron.Workarea.FolderClipBoard.foldertype==="9")){enableList.push("#pasteFolder")}if((folderPermissions.CanDeleteFolders||rolesPermissions.CommerceAdmin)&&licenses.eCommerce){enableList.push("#deleteFolder")}if((folderPermissions.CanDelete||folderPermissions.IsAdmin)&&licenses.eCommerce){enableList.push("#deleteFolderContent")}b.enableContextMenuItems(enableList.toString());Ektron.ContextMenus.ShowSeparator(b)},Init:function(){Ektron.ContextMenus.Trees.InitializeMenu("div.ektronTreeContainer ul.Content li a[data-ektron-datatype='9']","#ecommerceFolderContextMenu")}};Ektron.ContextMenus.Trees.EnableCommands=function(b,a){a.Menu.disableContextMenu();switch(a.DataType){case"0":Ektron.ContextMenus.Trees.Folder.EnableCommands(b,a.Menu);break;case"1":Ektron.ContextMenus.Trees.BlogFolder.EnableCommands(b,a.Menu);break;case"2":Ektron.ContextMenus.Trees.SiteFolder.EnableCommands(b,a.Menu);break;case"3":Ektron.ContextMenus.Trees.DiscussionBoardFolder.EnableCommands(b,a.Menu);break;case"4":Ektron.ContextMenus.Trees.DiscussionForumFolder.EnableCommands(b,a.Menu);break;case"5":break;case"6":Ektron.ContextMenus.Trees.CommunityFolder.EnableCommands(b,a.Menu);break;case"7":break;case"8":Ektron.ContextMenus.Trees.Calendar.EnableCommands(b,a.Menu);break;case"9":Ektron.ContextMenus.Trees.EcommerceFolder.EnableCommands(b,a.Menu);break;case"10":Ektron.ContextMenus.Trees.Taxonomy.EnableCommands(b,a.Menu,a.Id);break;case"11":Ektron.ContextMenus.Trees.Collections.EnableCommands(b,a.Menu,a.FolderId,a.Id);break;case"12":Ektron.ContextMenus.Trees.Menus.EnableCommands(b,a.Menu,a.FolderId,a.Id,a.ItemCount);break}Ektron.ContextMenus.AdjustMenuPosition(a.Menu,false)};Ektron.ContextMenus.Trees.Folder={confirmFolderDelete:"",confirmInheritTargetFolder:"",EnableCommands:function(a,b){b.find("a").attr("data-ektron-parentid",a.ParentId);folderPermissions=a.Folder;roleMemberships=a.RoleMemberships;enableList=[];if(folderPermissions.CanAddFolders){enableList.push("#addFolder");enableList.push("#addBlogFolder");enableList.push("#addBoardFolder");enableList.push("#addCommunityFolder");enableList.push("#addCalendarFolder");if(a.LicensedFeatures.eCommerce){enableList.push("#addEcommerceFolder")}if(a.Id===0&&a.LicensedFeatures.MultiSite){enableList.push("#addSiteFolder")}}if((folderPermissions.CanAddFolders||folderPermissions.CanEditFolders||folderPermissions.IsAdmin||folderPermissions.CanAdd||folderPermissions.CanEdit)&&(top.Ektron.Workarea.ClipBoard.items.length>0&&top.Ektron.Workarea.ClipBoard.items[0].t!=3333)){enableList.push("#showConfirmModal")}if((folderPermissions.CanEditFolders||folderPermissions.CanEditApprovals)){enableList.push("#viewFolderProperties")}if((folderPermissions.CanAddFolders||folderPermissions.CanEditFolders||folderPermissions.IsAdmin)&&(a.Id!==0)){enableList.push("#cutFolder");enableList.push("#copyFolder")}if((folderPermissions.CanAddFolders||folderPermissions.IsAdmin)&&(top.Ektron.Workarea.FolderClipBoard.folderid!="")&&(top.Ektron.Workarea.FolderClipBoard.foldertype!=="2")&&top.Ektron.Workarea.FolderClipBoard.foldertype!=="4"){enableList.push("#pasteFolder")}if(folderPermissions.CanDelete||folderPermissions.IsAdmin){enableList.push("#deleteFolderContent")}if(a.Id!==0&&folderPermissions.CanDeleteFolders){enableList.push("#deleteFolder")}b.enableContextMenuItems(enableList.toString());Ektron.ContextMenus.ShowSeparator(b)},Init:function(){Ektron.ContextMenus.Trees.InitializeMenu("div#TreeOutput ul.Content li a[data-ektron-datatype='0'], div.ektronTreeContainer ul.Content li#T0_tv0 > span a","#folderContextMenu")}};Ektron.ContextMenus.Trees.GetContextProperties=function(c,d){var f={};f.TriggerId=c.attr("id");f.Text=c.text();f.LangType=c.attr("data-ektron-languagetype");f.DataType=c.attr("data-ektron-datatype");if("undefined"==typeof(f.DataType)){f.DataType="0";c.attr("data-ektron-datatype","0")}if("undefined"==typeof(f.LangType)){f.LangType="";c.attr("data-ektron-languagetype","")}f.Id=(f.TriggerId).substring(1,(f.TriggerId).indexOf("_"));f.Menu=$ektron(d);var a=c.attr("data-ektron-folderid");if(a){f.FolderId=a}var e=c.attr("data-ektron-parentid");if(e){f.ParentId=e}var g=c.attr("data-ektron-itemcount");if(g){f.ItemCount=g}var b=c.attr("data-ektron-ancestorid");if(b){f.AncestorId=b}return f};Ektron.ContextMenus.Trees.GetFolderPath=function(a){$ektron.ajax({type:"Get",url:"controls/content/cutCopyAssignHandler.ashx?targetid="+a+"&action=getfolderpath",data:"",dataType:"string",success:function(b){top.TreeNavigation("LibraryTree",b);top.TreeNavigation("ContentTree",b)}})};Ektron.ContextMenus.Trees.Init=function(){Ektron.ContextMenus.Trees.Folder.Init();Ektron.ContextMenus.Trees.SiteFolder.Init();Ektron.ContextMenus.Trees.BlogFolder.Init();Ektron.ContextMenus.Trees.CommunityFolder.Init();Ektron.ContextMenus.Trees.DiscussionBoardFolder.Init();Ektron.ContextMenus.Trees.DiscussionForumFolder.Init();Ektron.ContextMenus.Trees.EcommerceFolder.Init();Ektron.ContextMenus.Trees.Calendar.Init();Ektron.ContextMenus.Trees.Taxonomy.Init();Ektron.ContextMenus.Trees.Collections.Init();Ektron.ContextMenus.Trees.Menus.Init();$ektron(document).bind("contextMenuHide",function(){$ektron(document).find(".contextMenuHighlight").removeClass("contextMenuHighlight")})};Ektron.ContextMenus.Trees.InitializeMenu=function(c,a){var b=$ektron(c+"");b.contextMenu({menu:a,hideMenuDelay:1000,inSpeed:400,outSpeed:100,onContextMenu:function(d){var g=Ektron.ContextMenus.Trees.GetContextProperties(d.menuTrigger,this.menu);Ektron.ContextMenus.HighlightAndTextSwap(d.menuTrigger,g);var e="checkType="+g.DataType;if(g.FolderId){e+="&action=getPermissions&id="+g.FolderId}else{e+="&action=getPermissions&id="+g.Id}var f=Ektron.ContextMenus.GetPermissions({context:g,dataParams:e,onSuccess:function(i){var h=$ektron.extend(f,i);Ektron.ContextMenus.Trees.EnableCommands(h,g)},onError:function(i,h,j,k){k.menu.disableContextMenu()}})},onItemClick:function(d){Ektron.ContextMenus.Trees.PerformAction(d.action,d.menuTrigger,d.menuItemClicked)}})};Ektron.ContextMenus.Trees.Menus={confirmMenuDelete:"",EnableCommands:function(b,e,a,c,d){c=parseInt(c,10);e.find("a").attr("data-ektron-folderid",a);enableList=[];folderPermissions=b.Folder;roleMemberships=b.RoleMemberships;if(roleMemberships.AminCollectionMenu||folderPermissions.IsCollections){if(c<0){enableList.push("#addMenu")}if(c>0){enableList.push("#addMenuItems");if(d>0){enableList.push("#removeMenuItems")}if(d>1){enableList.push("#reorderMenu")}enableList.push("#viewMenuProperties");enableList.push("#deleteMenu")}}if(top.Ektron.Workarea.TaxonomyClipBoard.items.length>0&&c>-1){enableList.push("#menuAssignSelectedItems")}e.enableContextMenuItems(enableList.toString());Ektron.ContextMenus.ShowSeparator(e)},Init:function(){Ektron.ContextMenus.Trees.InitializeMenu("div#MenuTreeOutput ul.ektree li span a","#menutreeContextMenu")}};Ektron.ContextMenus.PasteContent=function(d){var e=top.frames.ek_main.$ektron("#targetId")[0].value;var a=top.frames.ek_main.$ektron("#parentId")[0].value;var c=top.Ektron.Workarea.ClipBoard.action;var b=Ektron.JSON.stringify(top.Ektron.Workarea.ClipBoard.items,null,null);$ektron.ajax({type:"Get",url:"controls/content/cutCopyAssignHandler.ashx?obj="+b+"&action="+c+"&targetid="+e+"&multilang="+d,data:"",dataType:"string",success:function(f){if(f.indexOf("Error: ")!==0){Ektron.ContextMenus.Trees.redirectUrl="/content.aspx?action=ViewContentByCategory&id="+e+"&treeViewId=0"}else{Ektron.ContextMenus.redirectToErrror(f)}Ektron.ContextMenus.RedirectRightPane(Ektron.ContextMenus.Trees.redirectUrl);if(c==="cutContent"){top.Ektron.Workarea.ClipBoard.items=[];top.Ektron.Workarea.TaxonomyClipBoard.items=[];top.Ektron.Workarea.ClipBoard.action=c}$ektron(top.document).find("#BottomFrameSet").find("#ek_nav_bottom")[0].contentWindow.NavIframeContainer.frames.nav_folder_area.frames.ContentTree.$ektron(".ektronModalOverlay").modalHide();$ektron(top.document).find("#BottomFrameSet").find("#ek_nav_bottom")[0].contentWindow.NavIframeContainer.frames.nav_folder_area.frames.ContentTree.$ektron("#blockTree").modalHide();Ektron.ContextMenus.Trees.GetFolderPath(e)}})};Ektron.ContextMenus.Trees.PerformAction=function(n,y,s){var m=y.attr("id");var z=s.find("span.triggerName");var d=m.substring(1,m.indexOf("_"));var r=" ";var p=s.attr("data-ektron-folderid");var j=y.attr("data-ektron-status");var u=("undefined"==typeof(s.attr("data-ektron-languagetype")))?(("undefined"==typeof(y.attr("data-ektron-languagetype")))?"":y.attr("data-ektron-languagetype")):s.attr("data-ektron-languagetype");if(u==""){u=$ektron("#contLanguage")[0].value}var h=y.attr("data-ektron-parentid");var o=y.attr("data-ektron-ancestorid");var f=(y.attr("data-ektron-approvalrequired")=="true")?true:false;if(p){r=s.attr("data-ektron-folderid")}var q=new Ektron.String();var g=false;var x=top.Ektron.Workarea.ClipBoard.action;var t=Ektron.JSON.stringify(top.Ektron.Workarea.ClipBoard.items,null,null);var k=top.Ektron.Workarea.TaxonomyClipBoard.action;var i=Ektron.JSON.stringify(top.Ektron.Workarea.TaxonomyClipBoard.items,null,null);var w=top.Ektron.Workarea.FolderClipBoard.action;var b=top.Ektron.Workarea.FolderClipBoard.folderid;var c=top.Ektron.Workarea.TaxonomyTreeClipBoard.action;var v=top.Ektron.Workarea.TaxonomyTreeClipBoard.taxonomyid;var l=false;switch(n){case"addBlogFolder":command="content.aspx?action=AddSubFolder&type=blog&id={0}";g=true;break;case"addBlogPost":command="edit.aspx?close=false&ContType=1&type=add&createtask=1&id={0}&folderid={0}&back_file=content.aspx&back_action=ViewContentByCategory&back_id={0}&AllowHTML=1";g=true;break;case"addBoardFolder":command="content.aspx?action=AddSubFolder&type=discussionboard&id={0}";g=true;break;case"addCollection":command="collections.aspx?action=Add&folderid=0&rf=1&back=collections.aspx%3faction%3dViewCollectionReport";g=true;break;case"addCollectionItems":command="collections.aspx?action=AddLink&nid={0}&folderid={2}&rf=1";g=true;break;case"addCommunityFolder":command="content.aspx?LangType="+u+"&action=AddSubFolder&type=communityfolder&id={0}";g=true;break;case"addCalendarFolder":command="content.aspx?action=AddSubFolder&type=calendar&id={0}";g=true;break;case"addDiscussionForum":command="content.aspx?action=AddSubFolder&type=discussionforum&id={0}";g=true;break;case"addEcommerceFolder":command="content.aspx?LangType="+u+"&action=AddSubFolder&type=catalog&id={0}";g=true;break;case"addFolder":command="content.aspx?LangType="+u+"&type=folder&action=AddSubFolder&id={0}";g=true;break;case"addMenu":if(d<0){command="collections.aspx?action=AddMenu&folderid=0&bPage=ViewMenuReport&rf=1&back=collections.aspx%3faction%3dViewMenuReport"}else{command="collections.aspx?action=AddSubMenu&folderid=0&nId={0}&parentid={0}&ancestorid="+o+"&bPage=ViewMenuReport&rf=1&back=collections.aspx%3faction%3dViewMenuReport"}g=true;break;case"addMenuItems":command="collections.aspx?action=AddMenuItem&nid={0}&folderid=0&LangType="+u+"&back=menu.aspx%3fAction%3dviewcontent%26menuid%3d{0}%26treeViewId%3d-3&parentid={0}&ancestorid="+o+"&rf=1";g=true;break;case"addSiteFolder":command="content.aspx?LangType=1033&type=site&action=AddSubFolder&id={0}";g=true;break;case"addSubject":command="threadeddisc/addeditboard.aspx?action=addcat&id={0}";g=true;break;case"addTaxonomy":if(d<0){command="taxonomy.aspx?action=add"}else{command="taxonomy.aspx?action=add&parentid={0}&LangType="+u}g=true;break;case"addForumTopic":command="threadeddisc/addedittopic.aspx?action=add&LangType="+u+"&id={0}&rf=1";g=true;break;case"deleteFolder":command="content.aspx?action=DoDeleteFolder&id={0}&ParentID={1}";g=top.confirm(Ektron.ContextMenus.Trees.Folder.confirmFolderDelete);break;case"deleteCollection":command="collectionaction.aspx?action=doDelete&nId={0}&folderid={2}&rf=1";g=top.confirm(Ektron.ContextMenus.Trees.Collections.confirmCollectionDelete);break;case"deleteFolderContent":command="content.aspx?action=DeleteContentByCategory&id={0}";g=true;break;case"deleteForum":command="content.aspx?action=DoDeleteFolder&id={0}&ParentID={1}";g=top.confirm(Ektron.ContextMenus.Trees.Folder.confirmFolderDelete);break;case"deleteMenu":command="collectionaction.aspx?action=doDeleteMenu&nid={0}&LangType="+u+"&back=menu.aspx%3Faction%3Ddeleted%26title%3D"+z+"&rf=1";g=top.confirm(Ektron.ContextMenus.Trees.Menus.confirmMenuDelete);break;case"removeCollection":command="collections.aspx?action=DeleteLink&nid={0}&folderid={2}&rf=1";g=true;break;case"removeMenuItems":command="menu.aspx?action=removeitems&menuid={0}&parentid="+h+"&rf=1";g=true;break;case"reorderCollection":var a="";if(f){if(j=="A"){a="&folderid=0&checkout=true"}else{a="&status=o"}}command="collections.aspx?action=ReOrderLinks&nid={0}&rf=1"+a;g=true;break;case"reorderMenu":command="collections.aspx?action=ReOrderMenuItems&nid={0}&folderid=0&LangType="+u+"&back=menu.aspx%3fAction%3dviewcontent%26menuid%3d{0}%26treeViewId%3d-3&rf=1";g=true;break;case"taxonomyAddContent":command="taxonomy.aspx?action=additem&taxonomyid={0}&LangType="+u;g=true;break;case"taxonomyAddFolders":command="taxonomy.aspx?action=addfolder&taxonomyid={0}&LangType="+u;g=true;break;case"viewCollectionProperties":command="collections.aspx?action=ViewAttributes&nid={0}&folderid={2}";g=true;break;case"viewBoardProperties":command="threadeddisc/addeditboard.aspx?LangType="+u+"&action=View&id={0}";g=true;break;case"viewForumProperties":command="threadeddisc/addeditforum.aspx?action=View&id={0}";g=true;break;case"viewForumPermissions":command="content.aspx?action=ViewPermissions&type=folder&rf=1&id={0}";g=true;break;case"viewFolderProperties":command="content.aspx?action=ViewFolder&id={0}";g=true;break;case"viewMenuProperties":command="menu.aspx?action=viewmenu&menuid={0}&parentid=0&LangType="+u;g=true;break;case"viewTaxonomyProperties":command="taxonomy.aspx?action=view&taxonomyid={0}&LangType="+u;g=true;break;case"showConfirmModal":if((""+top.Ektron.Workarea.FolderContext.folderLanguage+""!==""+top.Ektron.Workarea.ClipBoard.items[0].l+"")&&(x.toLowerCase()=="cutcontent")){alert("The current language does not match the language of the cut content. Before you paste, you must switch to the cut content language.");return false}if(top.frames.ek_main.