﻿/// <reference name="MicrosoftAjax.js" />
/// <reference path="~/js/jquery/jquery-1.4.2.js" />

Sys.Application.add_load(function() {
    /*$('a[rel="lyteframe"]').click(function() {
    window.open(this.href, 'LyteFrame', 'width=390, height=450');
    return false;
    });*/

    var RightHeaders = $(".right .SectionHeaders");

    if (RightHeaders.length > 0) {
        //RightHeaders[0].style.borderTopStyle = 'none';
        $(".right .SectionHeaders:first").css('border-top-style', 'none');
    }

    if (typeof (myLytebox) != "undefined") {
        myLytebox.updateLyteboxItems();
    }

    $('img.menuitemicon').tooltip({
        track: true,
        delay: 0,
        showURL: false,
        opacity: 1
    });

    $('.tooltip,.tooltipNoImage').tooltip({
        track: false,
        showURL: false,
        opacity: 1
    });

    $('.helplink').tooltip({
        track: false,
        showURL: false,
        opacity: 1
    });
});

if (typeof (Sys) !== 'undefined')
    Sys.Application.notifyScriptLoaded();