﻿function WebForm_DefButton(event, target) { if (event.keyCode == 13) { var src = event.srcElement || event.target; if (!src || (src.tagName.toLowerCase() != "textarea")) { var defaultButton = document.getElementById(target); if (defaultButton && typeof (defaultButton.click) != "undefined") { defaultButton.click(); event.cancelBubble = true; if (event.stopPropagation) event.stopPropagation(); return false } } } return true }

function photo4resto() { var move = -15; var zoom = 1.2; $('.photo4img').hover(function() { width = $('.photo4img').width() * zoom; height = $('.photo4img').height() * zoom; $(this).find('img').stop(false, true).animate({ 'width': width, 'height': height, 'top': move, 'left': move }, { duration: 200 }) }, function() { $(this).find('img').stop(false, true).animate({ 'width': $('.photo4img').width(), 'height': $('.photo4img').height(), 'top': '0', 'left': '0' }, { duration: 100 }) }) }