//contact address change

$(document).ready(function() {

    //Default Action
    $(".tab_content").hide(); //Hide all content
    $("ul.contact-tabs li:last").addClass("active").show(); //Activate first tab
    $(".tab_content:first").show(); //Show first tab content
    

    /*$('ul#stamp li img').click(function(){
                
            });*/
    //On Click Event
    $("ul.contact-tabs li").click(function() {
        $("ul.contact-tabs li").removeClass("active"); //Remove any "active" class
        $(this).addClass("active"); //Add "active" class to selected tab
        $(".tab_content").hide(); //Hide all tab content
        var activeTab = $(this).find("a").attr("href"); //Find the rel attribute value to identify the active tab + content
        //alert($(this).find("a").attr("title"));
        $('#country').val($(this).find("a").attr('title'));
        $(activeTab).fadeIn(); //Fade in the active content
        return false;
    });
    //added by preeti
    $("ul.contact-tabs li:first").trigger('click');

});

//hover
$(document).ready(function() {
$('.h-services .camera').hover(
function(){
    $(this).stop().fadeTo('slow',0.6);
},
function(){
    $(this).stop().fadeTo('slow',1);
});
$('.h-services .camcorder').hover(
function(){
    $(this).stop().fadeTo('slow',0.6);
},
function(){
    $(this).stop().fadeTo('slow',1);
});
$('.h-services .lens').hover(
function(){
    $(this).stop().fadeTo('slow',0.6);
},
function(){
    $(this).stop().fadeTo('slow',1);
});
$('.h-services .flash').hover(
function(){
    $(this).stop().fadeTo('slow',0.6);
},
function(){
    $(this).stop().fadeTo('slow',1);
});
$('.h-services .ipad').hover(
function(){
    $(this).stop().fadeTo('slow',0.6);
},
function(){
    $(this).stop().fadeTo('slow',1);
});
$('.h-services .headphones').hover(
function(){
    $(this).stop().fadeTo('slow',0.6);
},
function(){
    $(this).stop().fadeTo('slow',1);
});
$('.h-services .mp3').hover(
function(){
    $(this).stop().fadeTo('slow',0.6);
},
function(){
    $(this).stop().fadeTo('slow',1);
});
$('.h-services .battery').hover(
function(){
    $(this).stop().fadeTo('slow',0.6);
},
function(){
    $(this).stop().fadeTo('slow',1);
});

});

//scroll
