$('.popup-slider .map2').click(function() { $(this).parent().find('img').hide(); $(this).parent().find('img.m2').show(); return false; });
$('.popup-slider .map1').click(function() { $(this).parent().find('img').hide(); $(this).parent().find('img.m1').show(); return false; });
$('.popup-slider .next, .popup-slider .prev').click(function() { $('.slide').cycle('pause'); $(".player").removeClass('pause'); });
$(document).keydown(function(e) { var code = e.keyCode ? e.keyCode : e.which; if (code == 39) { $('.slide').cycle('next').cycle('pause'); $(".player").removeClass('pause'); } });
$(document).keydown(function(e) { var code = e.keyCode ? e.keyCode : e.which; if (code == 37) { $('.slide').cycle('prev').cycle('pause'); $(".player").removeClass('pause'); } });
$('#home-popup a.final-btn').click(function(){
$('#home-popup .popup-top a.close').click(function(){
$(".inline-wide").colorbox({inline:true, width:"900", close: false,
$(document).ready(function () {
$(window).scroll(function() { fixOffset(true);});
$(window).resize(function(){ fixOffset(); });
$('#header .inner').css('margin','0 auto');
$("#header .inner").css('margin', '0 auto 0 '+(0-window.pageXOffset)+'px');
s.parentNode.insertBefore(ga, s);
var s = document.getElementsByTagName('script')[0];
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var ga = document.createElement('script');
_gaq.push(['_trackPageview']);
_gaq.push(['_setDomainName', 'radugainternet.ru']);
_gaq.push(['_setAccount', 'UA-34397068-1']);
Комментариев нет:
Отправить комментарий