window.onload = function()
{
    var set_all = {
      tl: { radius: 15 },
      tr: { radius: 15 },
      bl: { radius: 15 },
      br: { radius: 15 },
      antiAlias: true,
      autoPad: true,
      validTags: ['div']
    }
    var myBoxObject = new curvyCorners(set_all, 'allround');
    myBoxObject.applyCornersToAll();
}
function get_snippet(el, snippet_url, ele, cl)
{
    $.ajax({
        url: snippet_url,
        cache: false,
        success: function(html){
            $('#' + el).html(html);
        }
    });
    if (typeof cl != 'undefined') $('.' + cl).css('color', '#0e034f');
    $('#' + ele).css('color', '#ffad33');
}
function drop_z()
{
    $(".nav").css("z-index","100");
    $("#slideshow").css("z-index","-10");
}
