jQuery(document).ready(function () {

$('.KatastimaFrontItem  a').each(function() {
if ($(this).attr('href')=="") {
    $(this).addClass('Hidden')
}      
})


	var min=10; 	
	var max=14;	
	var reset = jQuery('#Content').css('fontSize'); 
	var elm = jQuery('#Content');  
	var size = str_replace(reset, 'px', ''); 
	jQuery('a.fontSizePlus').click(function() {

		if (size==10) {

			size=12;
			elm.css({'fontSize' : 12});
		}
		else if (size==12)
		{

		 	size=14;
		    elm.css({'fontSize' : 14});
		}
		else if (size==14)

			{
			size=10;	
		    elm.css({'fontSize' : 10});
			}

		//cancel a click event
		return false;	
		
	});

	
	
		
});

//A string replace function
function str_replace(haystack, needle, replacement) {
	var temp = haystack.split(needle);
	return temp.join(replacement);
}

function mycarousel_initCallback(carousel)
{
    // Disable autoscrolling if the user clicks the prev or next button.
    carousel.buttonNext.bind('click', function() {
        carousel.startAuto(0);
    });

    carousel.buttonPrev.bind('click', function() {
        carousel.startAuto(0);
    });

    // Pause autoscrolling if the user moves with the cursor over the clip.
    carousel.clip.hover(function() {
        carousel.stopAuto();
    }, function() {
        carousel.startAuto();
    });
};
   

