﻿            // Create the tooltips only on document load
            $(document).ready(function () {
                // Notice the use of the each() method to acquire access to each elements attributes
                $('a[tooltip]').each(function () {
                    $(this).qtip({
                       content: $(this).next(),
                        //  content: $(this).attr('tooltip'),
                        style: {
                            width: 350,
                            margin: 0,
                            padding:0,
                            background: '#F9F9F9',
                            color: '#007287',
                            border: { width: 2, radius: 1, color: '#C4C4C4' }
                        },
                        hide: { when: 'mouseout', fixed: true },
                        position: {
                            corner: {
                                target: 'bottomRight',
                                tooltip: 'topRight'
                            }
                        }
                    });
                });
            });

            $(document).ready(function () {
                $("#checkall").click(function () {
                    $("#ctl00_ContentPlaceHolder1_YedionControl1_DataList1").find("input[type$='checkbox']").each(function () {
                        this.checked = true;
                    });
                });
            });

