﻿function pageLoad(sender, args) {
    $('.overlaybox').hide();
    if (args.get_isPartialLoad()) {
        /**
        * Show the administrator name on the login help dialog
        * on /for-schools.aspx
        */
        $('ul#ctl00_ctl00_ctl00_ContentPlaceHolderDefault_contentMain_login_forschool_8_adminList').css({ 'display': 'block' });
        //console.debug("Partial postback performed");
    }

    //$('#show-renew-membership-dialog').hide();
}

function func1() {
    $('ul.sf-menu').superfish({
        pathClass: 'current'
    });
}

function func2() {
//    if (document.all && document.getElementById) {
//      navRoot = document.getElementById("foot-link");
//        for (i = 0; i < navRoot.childNodes.length; i++) {
//            node = navRoot.childNodes[i];
//            if (node.nodeName == "LI") {
//                node.onmouseover = function() {
//                    this.className += " over";
//                }
//                node.onmouseout = function() {
//                    this.className = this.className.replace
//      (" over", "");
//                }
//            }
//        }
//    }
}

function addLoadEvent(func) {
    var oldonload = window.onload;
    if (typeof window.onload != 'function') {
        window.onload = func;
    } else {
        window.onload = function() {
            if (oldonload) {
                oldonload();
            }
            func();
        }
    }
}

addLoadEvent(func1);
addLoadEvent(func2);

// radio select function

function setChecked(nameVar, value) {
    alert(nameVar);
    $('input[name=' + nameVar + ']').attr({ 'checked': true });
}

/* =====================================
query string function to get variables
======================================== */
function getQuerystring(key, default_) {
    if (default_ == null) default_ = "";
    key = key.replace(/[\[]/, "\\\[").replace(/[\]]/, "\\\]");
    var regex = new RegExp("[\\?&]" + key + "=([^&#]*)");
    var qs = regex.exec(window.location.href);
    if (qs == null)
        return default_;
    else
        return qs[1];

}
// Tabs-News page ; check query string
function tabsQueryCheck() {
    var schoolID = parseFloat(getQuerystring('schoolNewsID', '1'));
    //alert('schoolID: '+schoolID);
    $('#school-tabs > div').hide(); // Hide all divs
    $('#school-tabs ul.news li').removeClass('active'); // Remove active class if present
    // alert($('ul#tabs1 li').length);
    for (var i = 0; i <= $('#school-tabs ul.news li').length; i++) {
        if ((i + 1) == schoolID) {
            $($('#school-tabs ul.news li')[i]).addClass('active');
            currentTab = $($('#school-tabs ul.news li')[i]).find('a').attr('href');
            $(currentTab).show(); // Show div with id equal to variable currentTab
        }
    }
}

function populateFrame(loc) {
    var frame = document.getElementById("catm");
    frame.setAttribute("src", loc);
}

$(document).ready(function () {

    $("#ctl00_ctl00_ctl00_ctl00_ctl00_ContentPlaceHolderDefault_contentMain_contentSubMain_contentMainContent_edit_school_7_btnNextCC").click(function () {
        $.ajax({
            type: "POST",
            url: "edit-school-profile.aspx/echo",
            data: "{}",
            contentType: "application/json; charset=utf-8",
            dataType: "json",
            success: function (msg) {
                // Replace the div's content with the page method's return.
                $("#sample-result").text(msg.d);
            }
        });
    });

    // make links with class="external" open new window
    $("a.external").attr('target', '_blank');

    /* renewal status paybox*/

    //    $('a#show-renew-membership-dialog').live('click', function() {
    //        //$('#paybox-content').show();
    //        $('#renew-membership-dialog').show();
    //        $('.overlaybox').show();
    //        $('.paybox-content > div').hide(); // Hide all divs
    //        $('.paybox-content > div:first').show(); // Show the first div
    //        $('.paybox-content table tr td:first').addClass('active'); // Set the class of the first link to active
    //        $('#fault-page').hide();
    //        $('#pay-credit').show();
    //        // $('.paybox-content ul li:first').addClass('active'); // Set the class of the first link to active
    //        $('.paybox-content table tr td input:radio').click(function() { //When any link is clicked
    //            /*
    //            console.group("Clicked the radio button");
    //            console.warn("Just this");
    //            console.log(this);
    //            console.warn("$(this)");
    //            console.log($(this));
    //            console.log($(this).attr("value"));
    //            console.warn("Selector");
    //            console.log($(this).selector);
    //            console.warn("Context");
    //            console.log($(this).context);
    //            console.groupEnd();
    //            */
    //            //$(this).attr('checked', true));
    //            //$('.paybox-content ul li').removeClass('active'); // Remove active class from all links
    //            //$(this).parent().addClass('active'); //Set clicked link class to active
    //            // var currentTab = $(this).attr('rel'); // Set variable currentTab to value of href attribute of clicked link
    //            var currentTab = $("input[name='pay']:checked").val(); // Set variable currentTab to value of href attribute of clicked link
    //            $('.paybox-content > div').hide(); // Hide all divs
    //            // alert(currentTab + " line 116 or thereabout");
    //            $(currentTab).show(); // Show div with id equal to variable currentTab
    //            //return false;
    //            /*
    //            $('.paybox-content table tr td').removeClass('active'); // Remove active class from all links
    //            $(this).parent().addClass('active'); //Set clicked link class to active
    //            var currentTab = $(this).attr('href'); // Set variable currentTab to value of href attribute of clicked link
    //            //alert(currentTab);
    //            $('.paybox-content > div').hide(); // Hide all divs
    //            $(currentTab).show(); // Show div with id equal to variable currentTab
    //            return false;
    //            */
    //        });
    //        return false;
    //    });

    // Check if this is the forum; it has different styles which affect the positioning
    if ($('div#tabs-forum div.both1812 h1').length) {
        var x = $('div.both1812');
        var position = x.position();
        $('#reportaproblem').css({ position: 'absolute', top: position.top + 15, left: position.left + 20, 'z-index': '5555' });
    } else if ($('div.both1812').length) {
        var x = $('div.both1812');
        var position = x.position();
        $('#reportaproblem').css({ position: 'absolute', top: position.top - 15, left: position.left + 20 });
    }

    $(function () {
        $('a#reportaproblem').click(function () {
            window.open(this.href);
            return false;
        });
    });

    // Force Edit Profile thumbnail widths to fit within their column
    $('div#photosTab p.indent img').each(function () {
        if ($(this).width() > 275) {
            $(this).width(275);
        }
    });

    //$("#ctl00_ctl00_ctl00_ContentPlaceHolderDefault_login_4_textPass").bind("click",function(){$('#ctl00_ctl00_ctl00_ContentPlaceHolderDefault_login_4_buttonLogin').trigger("click");return false;});

    /* 11/24/2009 - Craig Taylor -  Commenting out since "ResetDefaultFired is not a valid function.  The "DefaultButton" of the asp.net panel should 
    handle this functionality anyways
                                    
    $("#ctl00_ctl00_ctl00_ContentPlaceHolderDefault_login_4_textPass").keypress(function(e) {
    var code = (e.keyCode ? e.keyCode : e.which);
    if (code == 13) { //Enter keycode
    ResetDefaultFired();
    }
    });
    */

    // footer align bottom
    var footerHeight = 33;
    if (jQuery.browser.msie) {
        if (parseInt(jQuery.browser.version) < 7) {
            // IE6 specific code
            var winHeight = $(window).height();
            var footerOffset = $(window).scrollTop();
            var footerTop = winHeight - footerHeight + footerOffset;
            $('#footer').css({ "top": footerTop + "px" });
            $(window).resize(function () {
                var winHeight = $(window).height();
                var footerOffset = $(window).scrollTop();
                var footerTop = winHeight - footerHeight + footerOffset;
                $('#footer').css({ "top": footerTop + "px" });
            });
            $(window).scroll(function () {
                var winHeight = $(window).height();
                var footerOffset = $(window).scrollTop();
                var footerTop = winHeight - footerHeight + footerOffset - 20;
                $('#footer').css({ "top": footerTop + 'px' });
            });
        }
    }


    /* ==== Search Results page ===== */
    var searchTabVal = $('#ctl00_ctl00_ctl00_ContentPlaceHolderDefault_contentMain_searchresults_8_searchTab').val();
    var searchTab;
    function searchTabUpdate(val) {
        //alert('Enter searchTabUpdate()');
        searchTabVal = val;

        $('.search-results .users-tabs > div').hide(); // Hide all divs
        $('.search-results .conf-tabs-ul li').removeClass('active');
        if (searchTabVal == '') {
            // alert("no value!");
            searchTabVal = '#' + $('.search-results .conf-tabs-ul li:first').attr('class');
            var searchTab = searchTabVal.substr(1);
            $('.search-results .conf-tabs-ul li:first').addClass('active');
        } else {
            searchTabVal = '#' + $('.search-results .conf-tabs-ul li:first').attr('class');
            var searchTab = searchTabVal.substr(1);
        }
        //alert('Exit searchTabUpdate()');
    }
    searchTabUpdate();
    // Tab navigation
    //alert('Line 133');
    function searchTabFix() {
        $('#' + searchTab).show(); // Show selected div
        $('.search-results .conf-tabs-ul li.' + searchTab).addClass('active'); // Set the class of the first link to active
        $('.search-results .conf-tabs-ul li a').live("click", function () {
            $('.search-results .users-tabs > div').hide(); // Hide all divs
            $('.search-results .conf-tabs-ul li').removeClass('active');
            var searchTabVal = $(this).attr('href');
            $('#ctl00_ctl00_ctl00_ContentPlaceHolderDefault_contentMain_searchresults_8_searchTab').val(searchTabVal);
            var searchTab = searchTabVal.substr(1);
            $('#' + searchTab).show(); // Show selected div
            return false;
        });
    }

    function searchNavShowHide() {
        // show overlay
        var docHeight = $(document).height() - 100;
        $('#nav').append('<div id="overlay">&nbsp;</div>');
        $('#overlay').height(docHeight);
        $('#overlay').show();
        // overlay remove and hide subnav on mouseout
        $('#overlay').click(function () {
            $(this).remove();
            $('#member-frame, #search-frame').hide();
        });
    }

    /* Search Nav Toggle Code */

    $('a#search-link').click(function () {
        $('div#search-frame').slideToggle('fast');
        document.getElementById('member-frame').style.display = 'none';
        document.getElementById('language-frame').style.display = 'none';
        searchNavShowHide();
    });
    $('a#ctl00_ctl00_ctl00_ContentPlaceHolderDefault_navigation_misc_2_memberlink,a#ctl00_ctl00_ctl00_ctl00_ContentPlaceHolderDefault_navigation_misc_2_memberlink,a#ctl00_ctl00_ctl00_ctl00_ctl00_ContentPlaceHolderDefault_navigation_misc_2_memberlink').click(function () {
        $('#member-frame').slideToggle('fast');
        document.getElementById('search-frame').style.display = 'none';
        document.getElementById('language-frame').style.display = 'none';
        searchNavShowHide();
    });

    $('a#member-link_sub').click(function () {
        $('div#member-frame').slideToggle('fast');
        document.getElementById('search-frame').style.display = 'none';
        document.getElementById('language-frame').style.display = 'none';
    });
    $('.langLink,#ctl00_ctl00_ctl00_ContentPlaceHolderDefault_navigation_misc_2_languagelink').click(function () {
        $('div#language-frame').slideToggle('fast');
        document.getElementById('member-frame').style.display = 'none';
        document.getElementById('search-frame').style.display = 'none';
        return false;
    });


    $('.login-help').live("click", function () {
        $('.slide-loginhelp').hide().show();
        return false;
    });
    $('#closeHelp').live("click", function () {
        $('.slide-loginhelp').hide();
        return false;
    });





    // Search / Login Form submit on "Enter"
    // $("#member-frame input").live("keypress", function (e) {
    // 	if (e.which == 13) { 
    // 		$("#ctl00_ctl00_ctl00_ContentPlaceHolderDefault_login_4_buttonLogin").trigger('click');
    // 		var click = "click";	
    // 	}
    // });
    // $("#search-frame input").live("keypress", function (e) {
    // 	if (e.which == 13) { 
    // 		$("#ctl00_ctl00_ctl00_ContentPlaceHolderDefault_search_3_btnSearch").trigger('click');
    // 	}
    // });


    // School login help
    /**/
    $('a.showOverlay').click(function () {
        $(this.hash).show();
        return false;
    });

    $('.overlay-close').not('#closeHelp').click(function () {
        $(this.hash).fadeOut(500);
        return false;
    });

    /**
    //$('ul#ctl00_ctl00_ctl00_ContentPlaceHolderDefault_contentMain_login_forschool_8_adminList').change(function() {
    $('#ctl00_ctl00_ctl00_ContentPlaceHolderDefault_contentMain_login_forschool_8_dropSchool').change(function() {
    $('ul#ctl00_ctl00_ctl00_ContentPlaceHolderDefault_contentMain_login_forschool_8_adminList').css({'display':'block'});
    });


    /* School Tabs function  */
    $('#school-tabs > div').hide(); // Hide all divs
    if ($('input[id*="lbSchoolTabToShow"]').is(':visible')) {
        var hiddenInput = $('input[id*="lbSchoolTabToShow"]').attr('value');
        if (hiddenInput != '') {
            $(hiddenInput).show();
            $('#school-tabs ul li').find('a[href="' + hiddenInput + '"]').parent().addClass('active');
        }
        else {
            $('#school-tabs > div:first').show(); // Show the first div
            $('#school-tabs ul li:first').addClass('active'); // Set the class of the first link to active
        }
    }
    else {
        $('#school-tabs > div:first').show(); // Show the first div
        $('#school-tabs ul li:first').addClass('active'); // Set the class of the first link to active
    }
   
    $('#school-tabs ul li a').click(function () { //When any link is clicked
        $('#school-tabs ul li').removeClass('active'); // Remove active class from all links
        $(this).parent().addClass('active'); //Set clicked link class to active
        var currentTab = $(this).attr('href'); // Set variable currentTab to value of href attribute of clicked link
        $('#school-tabs > div').hide(); // Hide all divs
        $(currentTab).show(); // Show div with id equal to variable currentTab
        $('input[id*="lbSchoolTabToShow"]').attr('value', currentTab);
        return false;
    });

    /* Conference Tabs function */

    $('.tc > div').hide(); // Hide all divs
    $('.tc > div:first').show(); // Show the first div
    $('.tc ul li:first').addClass('active'); // Set the class of the first link to active
    $('.tc ul li a').click(function () { //When any link is clicked
        $(this).parent().parent().find('.active').removeClass('active'); // Remove active class from all links
        $(this).parent().addClass('active'); //Set clicked link class to active
        var currentTab = $(this).attr('href'); // Set variable currentTab to value of href attribute of clicked link
        $(this).parent().parent().parent().find('> div').hide(); // Hide all divs
        $(currentTab + ' div').show(); // Show all divs
        $(currentTab + ' > div').not('div:first').hide(); // Hide all but first div
        $(currentTab + ' .conf-tabs-ul li').removeClass('active'); // Set the class of the first link to active
        $(currentTab + ' div ul li:first').addClass('active'); // Set the class of the first link to active
        $(currentTab + ' .conf-tabs-ul li:first').addClass('active');
        $(currentTab).show(); // Show div with id equal to variable currentTab
        if (currentTab == "#conference10") {
            $("#conference10 > div.corp-box").show();
        } else if (currentTab == "#conference9") {
            $("#conference9 > div.corp-box").show();
        }
        //        console.debug("Clicked a %s", currentTab);
        return false;
    });



    /* pay box */

    $('.paybox-content > div').hide(); // Hide all divs
    $('.paybox-content > div:first').show(); // Show the first div
    // $('.paybox-content ul li:first').addClass('active'); // Set the class of the first link to active
    /**
    * This is not the correct DOM path

    $('.paybox-content ul li a').click(function() { //When any link is clicked
    $(this).find('input').attr('checked', true);
    $('.paybox-content ul li').removeClass('active'); // Remove active class from all links
    $(this).parent().addClass('active'); //Set clicked link class to active
    var currentTab = $(this).attr('href'); // Set variable currentTab to value of href attribute of clicked link
    $('.paybox-content > div').hide(); // Hide all divs
    $(currentTab).show(); // Show div with id equal to variable currentTab
    return false;
    });
    */
    $('.paybox-content table tr td:first').addClass('active'); // Set the class of the first link to active
    // $('.paybox-content ul li:first').addClass('active'); // Set the class of the first link to active
    $('.paybox-content table tr td input:radio').click(function () { //When any link is clicked
        $(this).find('input').attr('checked', true);
        $('.paybox-content ul li').removeClass('active'); // Remove active class from all links
        $('.paybox-content table tr td').removeClass('active'); // Remove active class from all links
        $(this).parent().addClass('active'); //Set clicked link class to active

        // var currentTab = $(this).attr('alt'); // Set variable currentTab to value of href attribute of clicked link
        var currentTab = $("input[name='pay']:checked").val(); // Set variable currentTab to value of href attribute of clicked link
        $('.paybox-content > div').hide(); // Hide all divs
        $(currentTab).show(); // Show div with id equal to variable currentTab
        alert(currentTab);
        return false;
        /*
        $('.paybox-content table tr td').removeClass('active'); // Remove active class from all links
        $(this).parent().addClass('active'); //Set clicked link class to active
        var currentTab = $(this).attr('href'); // Set variable currentTab to value of href attribute of clicked link
        //alert(currentTab);
        $('.paybox-content > div').hide(); // Hide all divs
        $(currentTab).show(); // Show div with id equal to variable currentTab
        return false;
        */
    });
    $('a#rnw-our-mem').click(function () {
        $('div#paybox').slideToggle('fast');
        return false;
    });
    $('a.canc > input').click(function () {
        //        document.getElementById('paybox').style.display = 'none';
        $('.overlaybox').hide();
        return false;
    });

    $('.renewal-close').live('click', function () {
        // $('input.renewal-close').click(function() {
        $('.overlaybox').hide();
        //alert("Close");
        return false;
    });

    $('.thanks').click(function () { //When any link is clicked
        $('.thanks').removeClass('active'); // Remove active class from all links
        $(this).parent().addClass('active'); //Set clicked link class to active
        var currentTab = $(this).attr('href'); // Set variable currentTab to value of href attribute of clicked link
        $('.paybox-content > table').hide(); // Hide all divs
        $('.paybox-content > div').hide();
        $('.paybox-content > b').hide();
        $(currentTab).show(); // Show div with id equal to variable currentTab
        return false;
    });

    /**
    * Renewal dialog
    */
    /*
    $('.paybox-content > div').hide(); // Hide all divs
    $('.paybox-content > div:first').show(); // Show the first div
    $('.paybox-content ul li:first').addClass('active'); // Set the class of the first link to active
    $('.paybox-content ul li a').click(function() { //When any link is clicked
    $(this).find('input').attr('checked', true);
    $('.paybox-content ul li').removeClass('active'); // Remove active class from all links
    $(this).parent().addClass('active'); //Set clicked link class to active
    var currentTab = $(this).attr('href'); // Set variable currentTab to value of href attribute of clicked link
    $('.paybox-content > div').hide(); // Hide all divs
    $(currentTab).show(); // Show div with id equal to variable currentTab
    return false;
    });
    */
    $('a#pnid').click(function () {
        $('div#renwpaybox').slideToggle('fast');
        return false;
    });
    $('a.cancel').click(function () {
        document.getElementById('renw-paybox').style.display = 'none';
        return false;
    });
    /*
    $('.thanks').click(function() { //When any link is clicked
    $('.thanks').removeClass('active'); // Remove active class from all links
    $(this).parent().addClass('active'); //Set clicked link class to active
    var currentTab = $(this).attr('href'); // Set variable currentTab to value of href attribute of clicked link
    $('.paybox-content > table').hide(); // Hide all divs
    $('.paybox-content > div').hide();
    $('.paybox-content > b').hide();
    $(currentTab).show(); // Show div with id equal to variable currentTab
    return false;
    });
    */
    //alert("Show the dialog!");

    /* Users - Tabs */

    $('.users-tabs > div').hide(); // Hide all divs
    $('.users-tabs > div:first').show(); // Show the first div
    $('.users-tabs ul li:first').addClass('active'); // Set the class of the first link to active
    $('.users-tabs ul li a').live("click", function () { //When any link is clicked
        $('.users-tabs ul li').removeClass('active'); // Remove active class from all links
        $(this).parent().addClass('active'); //Set clicked link class to active
        var currentTab = $(this).attr('href'); // Set variable currentTab to value of href attribute of clicked link
        $('.users-tabs > div').hide(); // Hide all divs
        $(currentTab).show(); // Show div with id equal to variable currentTab
        return false;
    });

    /*  Forum Tabs

    $('#forum-tabs > div').hide();
    $('#forum-tabs > div:eq(4)').show();
    $('#forum-tabs ul li:eq(4)').addClass('active');
    $('#forum-tabs ul li a').click(function(){
    $('#forum-tabs ul li').removeClass('active');
    $(this).parent().addClass('active');
    var currentTab = $(this).attr('href');
    $('#forum-tabs > div').hide();
    $(currentTab).show();
    return false;
    });

    */

    /*  Forum Accordian  */

    $('div.forum-tabs> table').click(function () {
        var $this = $(this);
        if ($this.is('.forum-table')) {
            $this.next('div').slideToggle('fast');
            $this.removeClass('forum-table');
            $this.addClass('forum-table2');
        }
        else {
            $this.next('div').slideToggle('fast');
            $this.removeClass('forum-table2');
            $this.addClass('forum-table');
        }
        return false;
    });

    /*  School Profile Accordian  */

    $('div.edit-school-tabs> div:gt(0)').hide();
    $('div.edit-school-tabs> h3').live("click", function () {
        var $this = $(this);
        if ($this.is('.headershown')) {
            $this.next('div').slideToggle('fast');
            $this.removeClass('headershown');
        }
        else {
            $this.next().slideToggle('fast');
            $this.addClass('headershown');
        }
        return false;
    });

    /*  Deadline rolling/fixed toggle */
    $('#ctl00_ctl00_ctl00_ctl00_ctl00_ContentPlaceHolderDefault_contentMain_contentSubMain_contentMainContent_edit-school_7_dropGlanceAdmissionType').change(function () {
        if ($(this).val() == "1") {
            $('div#ctl00_ctl00_ctl00_ctl00_ctl00_ContentPlaceHolderDefault_contentMain_contentSubMain_contentMainContent_edit-school_7_panDeadLineDate').show();
        } else {
            $('div#ctl00_ctl00_ctl00_ctl00_ctl00_ContentPlaceHolderDefault_contentMain_contentSubMain_contentMainContent_edit-school_7_panDeadLineDate').hide();
        }
    });

    /*  Guided Search Toggle  */

    //    $('h5.gs-m').click(function() {
    //        var $this = $(this);
    //        if ($this.is('.gs-m')) {
    //            $this.next('div').slideToggle('fast');
    //            $this.removeClass('gs-m');
    //            $this.addClass('gs-m2');
    //        }
    //        else {
    //            $this.next().slideToggle('fast');
    //            $this.removeClass('gs-m2')
    //            $this.addClass('gs-m');
    //        }
    //        return false;
    //    });
    // get cookie; if present translate page
    // var showMap = $.cookie('showMap'); //get previously translated language 

    // if( destLang )  //if it was set then 
    //         translateTo( destLang ); 
    // }); //end of Google Language API loaded
    var showMap;
    $('div.toggle-map').click(function () {
        var $this = $(this);
        if ($this.is('.toggle-map')) {
            var cssObj = {
                "position": "relative",
                "height": "0px",
                "top": "auto",
                "zoom": "1"
            }
            $('div#gs-map').css(cssObj);

            $("div#gs-map").animate({
                height: "250px"
            }, 1500);
            $this.removeClass('toggle-map');
            $this.addClass('toggle-map2');
        }
        else {
            $("div#gs-map").slideUp(1000, function () {
                $(this).css("height", "0px");
            });
            $this.removeClass('toggle-map2');
            $this.addClass('toggle-map');
        }
        return false;
    });


    /*  Print Page  */
    $('#print-page').click(function () {
        window.print();
        return false
    });


    /*  Guided Search table zebra  */

    $('#result-table tr:nth-child(even)').addClass('even');
    $('#result-table tr td:nth-child(1)').addClass('e-first');

    /*  Forums Zibra  */

    $(".zibra tr:nth-child(even)").addClass("even");

    /*  Forums Reply Text Box  */

    $('a.reply-a').click(function () {
        var $this = $(this);
        $this.next('div').show();
        return false
    });
    $('.reply-cancel').click(function () {
        $('.reply-out-box').hide();
    });

    /*  Members - Edit Profile - Media Gallery  */
    $('#mediaTabs .conf-tabs-ul li a').click(function () {
        $('#mediaTabs > div > div').hide().filter(this.hash).show();
        $('#mediaTabs .conf-tabs-ul li').removeClass('active');
        $(this).parent().addClass('active');
        return false;
    });


});