
var htmlText = new Array();

htmlText[0] = '<div id="pic-block1">&nbsp;</div>';
htmlText[1] = '<div id="pic-block2">&nbsp;</div>';
htmlText[2] = '<div id="pic-block3">&nbsp;</div>';




$(function() {
    var fish = $('#js-block');
    var index = 0;
    $('div#plans-block>div').each(function() {
        var item = $(this).attr('class').match(/plan(\d+)/);
        if (item != null) {
            $(this).bind('mouseover', function() {
                // change 2-nd row with pre-filled HTML content
                fish.html(htmlText[item[1] - 1]);
            });

            index++;
        }
    });
});
