function isInt(x) {
   var y=parseInt(x);
   if (isNaN(y)) return false;
   return x==y && x.toString()==y.toString();
}
	$(document).ready(function() {
		$("a.fancy_").fancybox({ 
			'hideOnContentClick': true,
			'overlayShow':true
		});
		$("a.fancy_curs").fancybox({ 
				'hideOnContentClick': true,
				'overlayShow':true,
				'frameWidth':189,
				'frameHeight':82
			});
		
		$("a.fancy_taxe").fancybox({ 
				'hideOnContentClick': true,
				'overlayShow':true,
				'frameWidth':518,
				'frameHeight':470
			});
		setTimeout("show()",1000);
	});
	function show()
	{
		//console.log();
		var height=$('.div_2').height(); 
		if( height < $('.div_3').height() ) height=$('.div_3').height();
		
		if( $('.div_1').height() < height)
			$('.left_js').height(height+'px');
	}
