Sys.Application.add_load(WireEvents); //Triggers after a sync or an asyinc post-back.            
function WireEvents() {

/* the next line is an example of how you can override default options globally (currently commented out) ... */
 // $.fn.cluetip.defaults.tracking = true;
// $.fn.cluetip.defaults.debug = true;
$(document).ready(function() {

 // $.cluetip.setup({insertionType: 'insertBefore', insertionElement: 'div:first'});
 
//default theme
$('a.basic').cluetip();
$('a.nhelpDomanda').cluetip({
    cluetipClass: 'jtip',
    showTitle: false,
    topOffset: 15,
    positionBy: 'bottomTop',
    sticky: true,
    mouseOutClose: true, 
    closeText: 'x',
    width: 450});
$('a.tipPage').cluetip({
    cluetipClass: 'jtip',
    showTitle: false,
    topOffset: 15,
    positionBy: 'auto',
    sticky: true,
    mouseOutClose: true,
    closeText: 'x',
    width: 450
});
    // Rounded Corner theme
  $('ol.rounded a:eq(0)').cluetip({splitTitle: '|', dropShadow: false, cluetipClass: 'rounded', showtitle: false});
});

}

$(document).ready(function() {

    // $.cluetip.setup({insertionType: 'insertBefore', insertionElement: 'div:first'});

    //default theme
    $('a.basic').cluetip();
    $('a.nhelpDomanda').cluetip({
        cluetipClass: 'jtip',
        showTitle: false,
        topOffset: 15,
        positionBy: 'bottomTop',
        sticky: true,
        mouseOutClose: true,
        closeText: 'x',
        width: 450
    });
    $('a.tipPage').cluetip({
        cluetipClass: 'jtip',
        showTitle: false,
        topOffset: 15,
        positionBy: 'auto',
        sticky: true,
        mouseOutClose: true,
        closeText: 'x',
        width: 450
    });
    // Rounded Corner theme
    $('ol.rounded a:eq(0)').cluetip({ splitTitle: '|', dropShadow: false, cluetipClass: 'rounded', showtitle: false });
});
