﻿/*

www.asapinformatica.com
A.S.A.P. Informatica di Stefano Porrino
Software and website development
Sviluppo Software e Soluzioni internet

*/

$(document).ready(function() {

    $(".asapFade").fadeTo("slow", 0.8);
    $(".asapFade").hover(function() {
        $(this).fadeTo("slow", 1.0);
    }, function() {
        $(this).fadeTo("slow", 0.8);
    });
});


// Create the tooltips only on document load
$(document).ready(function () {
    // By supplying no content attribute, the library uses each elements title attribute by default
    $(".golfAdminUpd").qtip({
        content: false, // Use each elements title attribute
        style: 'cream' // Give it some style
    });
});

// pretty photo
$(document).ready(function () {
    //$("a[rel^='prettyPhoto']").prettyPhoto();
    //$("area[rel^='prettyPhoto']").prettyPhoto();
    $("a[rel^='prettyPhoto'], area[rel^='prettyPhoto']").prettyPhoto();
});

// round corners
$(document).ready(function () {
    $(".asapRoundCorner1").corner("top round 8px").parent().css('padding', '4px').corner("round 10px");
    $(".asapRoundCorner2").corner("20px");
});
