
/* PING | WEBSITE FUNCTIONS BEWARE ############## */
/* DO NOT MAKE A CHANGE IF YOU ARE NOT AUTHORIZED */
/* ############################################## */
/* created 12.09.2009 by spielersun - ping.com.tr */

function css_browser_selector(u){var ua = u.toLowerCase(),is=function(t){return ua.indexOf(t)>-1;},g='gecko',w='webkit',s='safari',h=document.getElementsByTagName('html')[0],b=[(!(/opera|webtv/i.test(ua))&&/msie\s(\d)/.test(ua))?('ie ie'+RegExp.$1):is('firefox/2')?g+' ff2':is('firefox/3.5')?g+' ff3 ff3_5':is('firefox/3')?g+' ff3':is('gecko/')?g:/opera(\s|\/)(\d+)/.test(ua)?'opera opera'+RegExp.$2:is('konqueror')?'konqueror':is('chrome')?w+' chrome':is('iron')?w+' iron':is('applewebkit/')?w+' '+s+(/version\/(\d+)/.test(ua)?' '+s+RegExp.$1:''):is('mozilla/')?g:'',is('j2me')?'mobile':is('iphone')?'iphone':is('ipod')?'ipod':is('mac')?'mac':is('darwin')?'mac':is('webtv')?'webtv':is('win')?'win':is('freebsd')?'freebsd':(is('x11')||is('linux'))?'linux':'','js']; c = b.join(' '); h.className += ' '+c; return c;}; css_browser_selector(navigator.userAgent);
 

function ping_whatWeDo_openSection($page) {
    $('.what_we_do_text').css("display","none");
    $('#what_we_do_' + $page).fadeIn("fast");
}

$(function() {
    $('#officers a').tooltip();
});


$(document).ready(function(){ 

    $('#client_list_2').hide();
    $('#client_list_3').hide();
    
    $('#clients_go_1').click(function(){
        $('#client_list_2').hide();
        $('#client_list_1').show();
        });
    
    $('#clients_go_2').click(function(){
        $('#client_list_1').hide();
        $('#client_list_2').show();
        });
    
    $('#clients_go_3').click(function(){
        $('#client_list_2').hide();
        $('#client_list_3').show();
        });
    
    $('#clients_go_4').click(function(){
        $('#client_list_3').hide();
        $('#client_list_2').show();
        });
    
  
    
    $('#goto_burcin').click(function(event){
        event.preventDefault();
        $.scrollTo( '130px', 800 );
    });
    $('#goto_ilker').click(function(event){
        event.preventDefault();
        $.scrollTo( '1050px', 800 );
    });
    $('#goto_sarper').click(function(event){
        event.preventDefault();
        $.scrollTo( '1600px', 800 );
    });
//    $('#goto_gozde').click(function(event){
//        event.preventDefault();
//        $.scrollTo( '1050px', 800 );
//    });
    $('#goto_binatli').click(function(event){
        event.preventDefault();
        $.scrollTo( '800px', 800 );
    });
    $('#goto_aylin').click(function(event){
        event.preventDefault();
        $.scrollTo( '550px', 800 );
    });
    $('#goto_zeynep').click(function(event){
        event.preventDefault();
        $.scrollTo( '1750px', 800 );
    });
    
    $('#goto_mehmet').click(function(event){
        event.preventDefault();
        $.scrollTo( '1250px', 800 );
    });
    
    
    $('#goto_top').click(function(event){
        event.preventDefault();
        $.scrollTo( '0px', 800 );
    });
    
    
    
    $('#btn_text_detay').click(function(){
        $('#btn_text_detay').hide();
        $('#text_detay').show("slow");
    });
    
    $('#twitter_feed').css("display","none");
    $('#btn_twitter').click(function(){$('#twitter_feed').toggle();});

    $('#newsletter_feed').css("display","none");
    $('#btn_newsletter').click(function(){$('#newsletter_feed').toggle();});
    
    jQuery.ifixpng('images/pixel.gif');
    $('.pngfix, .header img, .index img').ifixpng();
        
    $('.btnProPagiNext').css("display","none");
    $('.btnProPagiPrev').css("display","none");

    $('.prev').hover(function(){$('.btnProPagiPrev').fadeIn("fast");});
    $('.prev').mouseleave(function(){$('.btnProPagiPrev').css("display","none");});

    $('.next').hover(function(){$('.btnProPagiNext').fadeIn("fast");});
    $('.next').mouseleave(function(){$('.btnProPagiNext').css("display","none");});

    $('#proPagin').mouseleave(function(){
    $('.btnProPagiNext').css("display","none");
    $('.btnProPagiPrev').css("display","none");
    });

});