$(document).ready(function () {
$('.uslugi li img').hover(function () {
var img = document.createElement('img');
img.src = $(this).attr('src');
img.alt = 'Преглед';
$('#preview').html(img);
}, function () {
$('#preview').html(null);
});
// $('img.ceni').hover(function () {
// $('body').append('' + $(this).data('text') + '');
// }, function () {
// $('.help').remove();
// }).bind('mousemove mouseenter', function (e) {
// $('.help').css({
// left: e.pageX + 3,
// top: e.pageY + 9
// });
// }).click(function () {
// var img = document.createElement('img'), text = document.createElement('b'), close = document.createElement('b');
// close.innerHTML = 'затвори';
// close.className = 'close';
// text.innerHTML = $(this).data('text');
// img.src = $(this).attr('src');
// img.className = 'cena';
// img.alt = 'Преглед';
// djam1();
// $('.djam1').html(close);
// $('.djam1').append('
');
// $('.djam1').append(img);
// $('.djam1').append('
');
// $('.djam1').append(text);
// $('.cena').css({
// maxWidth: window_width - 100,
// maxHeight: window_height - 110
// });
// });
});