﻿$(document).ready(function () {
    $("a.window, a.new_window").click(function () {
        window.open($(this).attr("href"));
        return false;
    });

    $('#folio-thumbs img').mouseover(function () {
        $(this).fadeTo('fast', 0.7, function () {
        });
    });
    $('#folio-thumbs img').mouseout(function () {
        $(this).fadeTo('slow', 1.0, function () {
        });
    });


    var pagetitle = $('title').html();
    pagetitle = pagetitle.replace("Portfolio - ", "");
    //pagetitle = pagetitle.substring(11, 40);
    $('#portfolio-head #drop-down .selector strong').html(pagetitle);

    var eml = "mirek.holec@gmail.com";
    $('#get-eml').html(eml);

    var height = $(window).height();
    $('.scripbd iframe').attr('height', height - 210);
});
