var avt_jQuery_1_3_2_avt_1_5 = jQuery;/*
 * JSMin
 * Javascript Compressor
 * http://www.crockford.com/
 * http://www.smallsharptools.com/
*/

if(typeof(avt)=="undefined"){var avt={};}
avt.coreClient_1_5={$:avt_jQuery_1_3_2_avt_1_5,fnOnReady:[],options:{appPath:"",bRunPngFix:true},init:function(opts){avt.coreClient_1_5.$.extend(this.options,opts);this.options.bRunPngFix&&this.fixPng();if(this.fnOnReady){for(var i=0;i<this.fnOnReady.length;i++){this.fnOnReady[i]();}
delete this.fnOnReady;}},ready:function(fn){this.fnOnReady.push(fn);},fixPng:function(){avt.coreClient_1_5.$(document).ready(function(){var IE6=(navigator.userAgent.toLowerCase().indexOf('msie 6')!=-1)&&(navigator.userAgent.toLowerCase().indexOf('msie 7')==-1)
if(IE6){var arVersion=navigator.appVersion.split("MSIE")
var version=parseFloat(arVersion[1])
if((version>=5.5)&&(document.body.filters)){for(var i=0;i<document.images.length;i++){var img=document.images[i]
var imgName=img.src.toUpperCase()
if(avt.coreClient_1_5.$(img).hasClass("pngFix")&&imgName.substring(imgName.length-3,imgName.length)=="PNG"){var imgID=(img.id)?"id='"+img.id+"' ":""
var imgClass=(img.className)?"class='"+img.className+"' ":""
var imgTitle=(img.title)?"title='"+img.title+"' ":"title='"+img.alt+"' "
var imgStyle="display:inline-block;"+img.style.cssText
if(img.align=="left")imgStyle="float:left;"+imgStyle
if(img.align=="right")imgStyle="float:right;"+imgStyle
if(img.parentElement.href)imgStyle="cursor:hand;"+imgStyle
var strNewHTML="<span "+imgID+imgClass+imgTitle
+" style=\""+"width:"+img.width+"px; height:"+img.height+"px;"+imgStyle+";"
+"filter:progid:DXImageTransform.Microsoft.AlphaImageLoader"
+"(src=\'"+img.src+"\', sizingMethod='scale');\"></span>"
img.outerHTML=strNewHTML
i=i-1}}}}});}}
avt.nxp={$$:avt.coreClient_1_5,$:avt_jQuery_1_3_2_avt_1_5}
avt.navxp={core:{$:avt_jQuery_1_3_2_avt_1_5}}
if(typeof(NavXp)=="undefined")
NavXp={};NavXp.core={appPath:"",init:function(appPath){this.appPath=appPath;avt.coreClient_1_5.init({appPath:appPath,bRunPngFix:true});}}

if (!NavXp) { var NavXp = {}; }
if (!NavXp.skin) { NavXp.skin = {}; }
if (!NavXp.skins) { NavXp.skins = {}; }

NavXp.skins["HorizontalDropdowns/Windows Standard"] = {
    init : function() {
    },
    
    show : function(item, panel) {
    
        // let us do some caching
        if (!item.root) { 
            item.root = item.parents(".NavXpRoot:first");
            panel.length && panel.css("top", panel.parents(".navxp_HDD_WindowsStandard:first").position().top + item.outerHeight() + 2 + "px");
        }
        if (!item.parentPanels) { item.parentPanels = item.parents(".child_container"); }
        if (!item.otherPanels) { item.otherPanels = item.root.find(".child_container").not(item.parentPanels).not(panel); }
        if (!item.rootItem) { item.rootItem = item.parentPanels.length > 0 ? item.parentPanels.filter(":last").parent().next("a:first") : item; }
        if (!item.parentItems) { item.parentItems = item.parentPanels.prev("a"); }
        if (!item.otherItems) { item.otherItems = item.root.find(".itemLN:visible").not(item.parentItems); }

        // prevent parents from hiding
        item.parentPanels.each( function() {
            clearTimeout(this["timeout"]);
        });

        // prevent this popup from hiding
        if (panel.get(0)) {
            if (item.parentPanels.length > 0) {
                panel.css("left", item.position().left + item.outerWidth());
                panel.css("top", item.position().top);
            }
            clearTimeout(panel.get(0)["timeout"]);
            panel.css("z-index", "201");
        }
        
        // hide the rest of the popups
        item.otherPanels.filter(":visible").css("z-index", "200").slideUp("fast");
        
        // keep all parent items marked as selected
        item.parentItems.addClass("selChild");

        // and unselect the rest
        item.otherItems.removeClass("selChild");
        item.root.find(".itemL0Lower").not(item.rootItem).removeClass("itemL0Sel");
        panel.length && item.rootItem.addClass("itemL0Sel");
        
        panel.find(".child_container").show().hide(); // solves IE6 bug
        
        panel.slideDown("fast");
    },

    hide : function(item, panel) {

        // let us do some caching
        if (!item.root) { item.root = item.parents(".NavXpRoot:first"); }
        if (!item.parentPanels) { item.parentPanels = item.parents(".child_container"); }
        if (!item.otherPanels) { item.otherPanels = item.root.find(".child_container").not(item.parentPanels).not(panel); }
        if (!item.rootItem) { item.rootItem = item.parentPanels.length > 0 ? item.parentPanels.filter(":last").parent().next("a:first") : item; }
        if (!item.parentItems) { item.parentItems = item.parentPanels.prev("a"); }
        if (!item.otherItems) { item.otherItems = item.root.find(".itemLN:visible").not(item.parentItems); }

        //item.otherItems.removeClass("selChild");
       // item.removeClass("selChild");
        //item.parentItems.removeClass("selChild");
        
        // let's hide all popups
        var timer = 500;
        var iCall = 0;
        if (item.parentPanels.length == 0) {
            if (panel.get(0)) {
                panel.get(0)["timeout"] = setTimeout(function() { 
                        panel.slideUp("fast"); 
                        item.rootItem.removeClass("itemL0Sel");
                    }, timer);
            }
        } else {
            for (var i = item.parentPanels.length - 1; i >= 0 ; i--, timer += 200) {
                item.parentPanels.get(i)["timeout"] = setTimeout(function() { 
                    item.parentPanels.eq(iCall).slideUp("fast"); 
                    iCall++; 
                    if (iCall == item.parentPanels.length) {
                        item.rootItem.removeClass("itemL0Sel");
                    }
                }, timer);
            }
        }
    }
}

if (typeof Sys != "undefined" && typeof Sys.Application != "undefined") {
   Sys.Application.notifyScriptLoaded();
} avt.nxp.$(document).ready(function() { if (NavXp.skins['HorizontalDropdowns/Windows Standard']) NavXp.skins['HorizontalDropdowns/Windows Standard'].init(); });
if (!NavXp) { var NavXp = {}; }
if (!NavXp.skin) { NavXp.skin = {}; }
if (!NavXp.skins) { NavXp.skins = {}; }

NavXp.skins["HorizontalDropdowns/Struik"] = {
    init : function() {
        $("#dnn_mainMenu_menuRender a.topLevelItems").hover(onNavXPMenuItemRollOver, onNavXPMenuItemRollOut);
        $("#dnn_mainMenu_menuRender a.itemLN").hover(onNavXPSubMenuItemRollOver, onNavXPSubMenuItemRollOut);
    },
    
    show : function(item, panel) {
    
        // let us do some caching
        if (!item.root) { 
            item.root = item.parents("div.Struik.MainMenu:first");
            panel.length && panel.css("top", panel.parents("div.Struik.MainMenu:first").position().top + item.outerHeight()  + "px");
        }
        if (!item.parentPanels) { item.parentPanels = item.parents("div.child_container"); }
        if (!item.otherPanels) { item.otherPanels = item.root.find("div.child_container").not(item.parentPanels).not(panel); }
        if (!item.rootItem) { item.rootItem = item.parentPanels.length > 0 ? item.parentPanels.filter(":last").parent().next("a:first") : item; }
        if (!item.parentItems) { item.parentItems = item.parentPanels.prev("a"); }
        if (!item.otherItems) { item.otherItems = item.root.find("a.itemLN:visible").not(item.parentItems); }

        // prevent parents from hiding
        item.parentPanels.each( function() {
            clearTimeout(this["timeout"]);
        });

        // prevent this popup from hiding
        if (panel.get(0)) {
            if (item.parentPanels.length > 0) {
                panel.css("left", item.position().left + item.outerWidth() );
                panel.css("top", item.position().top);
            }
            clearTimeout(panel.get(0)["timeout"]);
            panel.css("z-index", "201");
        }
        
        // hide the rest of the popups
        item.otherPanels.filter(":visible").css("z-index", "200").hide();
        
        // keep all parent items marked as selected
        item.parentItems.addClass("selChild");

        // and unselect the rest
        item.otherItems.removeClass("selChild");
        item.root.find("a.itemL0Lower").not(item.rootItem).removeClass("itemL0Sel");
        panel.length && item.rootItem.addClass("itemL0Sel");
        
        panel.find("div.child_container").show().hide(); // solves IE6 bug
        
        panel.slideDown("fast");
    },

    hide : function(item, panel) {

        // let us do some caching
        if (!item.root) { item.root = item.parents("div.NavXpRoot:first"); }
        if (!item.parentPanels) { item.parentPanels = item.parents("div.child_container"); }
        if (!item.otherPanels) { item.otherPanels = item.root.find("div.child_container").not(item.parentPanels).not(panel); }
        if (!item.rootItem) { item.rootItem = item.parentPanels.length > 0 ? item.parentPanels.filter(":last").parent().next("a:first") : item; }
        if (!item.parentItems) { item.parentItems = item.parentPanels.prev("a"); }
        if (!item.otherItems) { item.otherItems = item.root.find("a.itemLN:visible").not(item.parentItems); }

        //item.otherItems.removeClass("selChild");
       // item.removeClass("selChild");
        //item.parentItems.removeClass("selChild");
        
        // let's hide all popups
        var timer = 500;
        var iCall = 0;
        if (item.parentPanels.length == 0) {
            if (panel.get(0)) {
                panel.get(0)["timeout"] = setTimeout(function() { 
                        panel.hide() 
                        item.rootItem.removeClass("itemL0Sel");
                    }, timer);
            }
        } else {
            for (var i = item.parentPanels.length - 1; i >= 0 ; i--, timer += 200) {
                item.parentPanels.get(i)["timeout"] = setTimeout(function() { 
                    item.parentPanels.eq(iCall).hide(); 
                    iCall++; 
                    if (iCall == item.parentPanels.length) {
                        item.rootItem.removeClass("itemL0Sel");
                    }
                }, timer);
            }
        }
    }
}

if (typeof Sys != "undefined" && typeof Sys.Application != "undefined") {
   Sys.Application.notifyScriptLoaded();
} 

function onNavXPMenuItemRollOver()
{
    NavXp.skins["HorizontalDropdowns/Struik"].show(avt.navxp.core.$(this), avt.navxp.core.$(this).prev("div:first").children("div:first"));
}

function onNavXPMenuItemRollOut()
{
   NavXp.skins["HorizontalDropdowns/Struik"].hide(avt.navxp.core.$(this), avt.navxp.core.$(this).prev("div:first").children("div:first"));
}

function onNavXPSubMenuItemRollOver()
{
    NavXp.skins["HorizontalDropdowns/Struik"].show(avt.navxp.core.$(this), avt.navxp.core.$(this).next("div.child_container:first"));
}

function onNavXPSubMenuItemRollOut()
{
    NavXp.skins["HorizontalDropdowns/Struik"].hide(avt.navxp.core.$(this), avt.navxp.core.$(this).next("div.child_container:first"));
}avt.nxp.$(document).ready(function() { if (NavXp.skins['HorizontalDropdowns/Struik']) NavXp.skins['HorizontalDropdowns/Struik'].init(); });
if (!NavXp) { var NavXp = {}; }
if (!NavXp.skin) { NavXp.skin = {}; }
if (!NavXp.skins) { NavXp.skins = {}; }

NavXp.skins["VerticalLists/Sitemap"] = {
    init : function() {
        
    }
}

if (typeof Sys != "undefined" && typeof Sys.Application != "undefined") {
   Sys.Application.notifyScriptLoaded();
} avt.nxp.$(document).ready(function() { if (NavXp.skins['VerticalLists/Sitemap']) NavXp.skins['VerticalLists/Sitemap'].init(); });
