//kayy

/*$(document).ready(function(){
$('a[href*=#]').click(function() {
if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') 
        && location.hostname == this.hostname) {
            var $target = $(this.hash);
            $target = $target.length && $target || $('[name=' + this.hash.slice(1) +']');
            if ($target.length) {
                var targetOffset = $target.offset().top;
                $('html,body').animate({scrollTop: targetOffset}, 1000);
                return false;
            }
        }
    });
});*/

//nivo
/*$(window).load(function() {
	$('#slider').nivoSlider({
		effect:'random',
		slices:15,
		animSpeed:500,
		pauseTime:3000,
		directionNav:false, //Next & Prev
		directionNavHide:true, //Only show on hover
		controlNav:false, //1,2,3...
		pauseOnHover:false, //Stop animation while hovering
		manualAdvance:false, //Force manual transitions
		beforeChange: function(){},
		afterChange: function(){}
	});
});*/

//colorbox
$(document).ready(function(){
$("a[rel='cbox-galeri']").colorbox({slideshow:false, transition:"fade"});
$("a[rel='cbox']").colorbox({slideshow:false, transition:"fade"});
$("a[rel='cbox-iframe']").colorbox({slideshow:false, iframe:true, innerWidth:790, innerHeight:570});
$("a[rel='cbox-contact']").colorbox({slideshow:false, iframe:true, innerWidth:700, innerHeight:660});
$("a[rel='bilgi']").colorbox({slideshow:false, iframe:true, innerWidth:700, innerHeight:660});
$("a[rel='video']").colorbox({slideshow:false, iframe:true, innerWidth:700, innerHeight:660});
$("a[rel='konum']").colorbox({slideshow:false, iframe:true, innerWidth:790, innerHeight:570});
			});

//newsletter
/*
function popup_form_add(form, pencere)
{
if (! window.focus)return true;
window.open('', pencere, 'height=200,width=300,scrollbars=no');
form.target=pencere;
return true;
}*/

