$(document).ready(function() {
	
	
	
	$(".alternate tr:odd").css("background","#F4F4F4");
	Shadowbox.init();
	
	
	Cufon.replace('.cfont', {
	fontFamily:'Soho Gothic Pro',
	hover: true
	});
	Cufon.replace('.cfont2', {
	fontFamily:'Myriad Pro',
	hover: true
});

$(function() {
		$( ".accordion" ).accordion({
			autoHeight: false,
			navigation: true
		});
		$(".butonyap").button();
		$(".formonayla").validationEngine();
	});
	
 $('#home_slide').serialScroll({
		items:'li',
		prev:'#slide_left',
		next:'#slide_right',
		offset:0,
		start:0,
		duration:1000,
		force:false,
		lock:true,
		lazy:false,
		axis:'x',
		cycle:true,
		step:1,
		easing:'easeOutQuart', //use this easing equation for a funny effect
		jump:false,
		interval:4000
	});
$(".sagaltmenu").slideUp();
	$('.sagh3').click(
					function (e) {
						$(".sagaltmenu").slideUp();
						$('#' + $(this).attr('rel')).slideDown();
						
						
					}
				);
				

$("#top_menu a").hover(function() {  
                $(this).stop().animate({  marginTop: '-5px' }, 200); 
                },function() {  
                $(this).stop().animate({   marginTop: '0px'}, 200);  
                }); 
$(".pbox").hover(function() {  
                $(this).stop().animate({  opacity: '0.5' }, 200); 
                },function() {  
                $(this).stop().animate({   opacity: '1'}, 200);  
                }); 
$(".sagh3").hover(function() {  
                $(this).stop().animate({  paddingLeft: '+15px' }, 200); 
                },function() {  
                $(this).stop().animate({   paddingLeft: '0px'}, 200);  
                }); 

});
 function onPrint()
{
    window.open("print.asp","wPrint","left=0,top=0,width=700px,height=600px,scrollbars=yes,location=no,resizable=yes,statusbar=no,menubar=yes");
}
