	$(document).ready(function(){ 
		$(document).pngFix();
		$("a.fancy").fancybox({
			'padding': 0,
			'imageScale': true,
			'easingIn': true,
			'easingOut': true,
			'frameWidth': 330,
			'frameHeight': 170,
			'overlayShow': true,
			'overlayOpacity': 0.5,
			'hideOnContentClick': false,
			'centerOnScroll': true
		});
		$(".content").dropShadow();
		$(".content_news_mic").dropShadow();
		$(".news_dreapta").dropShadow();
		$(".tickets_dreapta").dropShadow();
		// Preload all rollovers
		$("#meniu img").each(function() {
			// Set the original src
			rollsrc = $(this).attr("src");
			rollON = rollsrc.replace(/.gif$/ig,"_over.gif");
			$("<img>").attr("src", rollON);
		});
		// Navigation rollovers
		$("#meniu a").mouseover(function(){
			imgsrc = $(this).children("img").attr("src");
			matches = imgsrc.match(/_over/);
			
			// don't do the rollover if state is already ON
			if (!matches) {
			imgsrcON = imgsrc.replace(/.gif$/ig,"_over.gif"); // strip off extension
			$(this).children("img").attr("src", imgsrcON);
			}
			
		});
		$("#meniu a").mouseout(function(){
			$(this).children("img").attr("src", imgsrc);
		});
		// Preload all rollovers
		$("#newsletter_cont img").each(function() {
			// Set the original src
			rollsrc = $(this).attr("src");
			rollON = rollsrc.replace(/.png$/ig,"_over.png");
			$("<img>").attr("src", rollON);
		});
		// Navigation rollovers
		$("#newsletter_cont a").mouseover(function(){
			imgsrc = $(this).children("img").attr("src");
			matches = imgsrc.match(/_over/);
			
			// don't do the rollover if state is already ON
			if (!matches) {
			imgsrcON = imgsrc.replace(/.png$/ig,"_over.png"); // strip off extension
			$(this).children("img").attr("src", imgsrcON);
			}
			
		});
		$("#newsletter_cont a").mouseout(function(){
			$(this).children("img").attr("src", imgsrc);
		});
    });