/* Peek animation */
/*
jQuery(document).delegate('.mod_webportal_properties_wrapper.template_thumbnails.peek', 'mouseenter',
function() {
    jQuery(this).stop(true).animate({'margin-top': '-130px'}, 200);
});
jQuery(document).delegate('.mod_webportal_properties_wrapper.template_thumbnails.peek', 'mouseleave',
function() { 
    jQuery(this).stop(true).animate({'margin-top': '0px'}, 200);
});
*/
/* Fade animation */
/*
jQuery(document).delegate('.mod_webportal_properties_wrapper.template_thumbnails.fade', 'mouseenter',
function() {
    jQuery(this).find('.unhover').eq(0).stop(true).animate({'opacity':'0'}, 200);
    jQuery(this).find('.hover').eq(0).stop(true).animate({'opacity':'1'}, 200);
});
jQuery(document).delegate('.mod_webportal_properties_wrapper.template_thumbnails.fade', 'mouseleave',
function() {
    jQuery(this).find('.hover').eq(0).stop(true).animate({'opacity':'0'}, 200);
    jQuery(this).find('.unhover').eq(0).stop(true).animate({'opacity':'1'}, 200);
});
*/

jQuery(document).ready(function() {
    jQuery('.mod_webportal_properties_wrapper.template_thumbnails.peek').bind('mouseenter', function() {
        jQuery(this).stop(true).animate({'margin-top': '-130px'}, 200);
    });
    jQuery('.mod_webportal_properties_wrapper.template_thumbnails.peek').bind('mouseleave', function() { 
        jQuery(this).stop(true).animate({'margin-top': '0px'}, 200);
    });
});

jQuery(document).ready(function() {
    jQuery('.mod_webportal_properties_wrapper.template_thumbnails.fade').bind('mouseenter', function() {
        jQuery(this).find('.unhover').eq(0).stop(true).animate({'opacity':'0'}, 200);
        jQuery(this).find('.hover').eq(0).stop(true).show().animate({'opacity':'1'}, 200);
    });
    jQuery('.mod_webportal_properties_wrapper.template_thumbnails.fade').bind('mouseleave', function() {
        jQuery(this).find('.hover').eq(0).stop(true).animate({'opacity':'0'}, 200);
        jQuery(this).find('.unhover').eq(0).stop(true).show().animate({'opacity':'1'}, 200);
    });
});
