﻿$(document).ready(function() {
    /* start Show-Hide */
    $('dl.show-hide-a:eq(0)> dd').hide();
    $('dl.show-hide-a:eq(0)> dt').click(function() {
        $(this).next().slideToggle('fast');
    });

    $('dl.show-hide-b:eq(0)> dd').show();
    $('dl.show-hide-b:eq(0)> dt').click(function() {

        $(this).slideToggle('fast');
        $(this).next().slideToggle('fast');
    });

    $('dl.show-hide-c:eq(0)> dd').hide();
    $('dl.show-hide-c:eq(0)> dt').click(function() {
        $(this).next().slideToggle('fast');
    });
    /* end Show-Hide */

    /* start DatePicker */
    $('input').filter('.datepicker').datepicker({
        changeMonth: true,
        changeYear: true,
        showOn: 'button',
        buttonImage: '/Content/images/calendar.gif',
        buttonImageOnly: true
    });
    /* end DatePicker */

    /* start QTip Tooltips */
    /*
    $('a[title]').qtip({
    style: { name: 'green', width: 200, tip: true },
    position: {
    corner: {
    target: 'topRight',
    tooltip: 'bottomLeft'
    }
    }
    });
    */

    /* end Items For CreateUser */

    $('.print').click(function() {
        $('dl.show-hide-a:eq(0)> dd').show();
        window.print();
        return false;
    });
});
