div').eq($(this).index()).show().siblings().hide();
});
});
//hover
$('.g_header .hover').length < 1 && $('.g_header .item').eq(0).addClass('hover');
//رձֹ
var closeadNum = 0;
$('#otherpics').delegate('.btn_close', 'click', function(){
if(closeadNum == 1){
$(this).parent().hide();
}else{
window.open($(this).parent().find('a:first').attr('href'));
}
closeadNum ++;
});
});