$(document).ready(function () {
	$(".promotion-go").hover(
		function () {
		  $(this).css("cursor", "pointer");
		  $(this).click(function(){
		    window.location.replace('http://cinemacity.ps/promotions?ref=content');
		    return false;
		  });
		},
		function () {
		  return;
		}
	);

	$(".coming-soon-shows").hover(
		function () {
		  var link = $(this).attr("rel");
		  $(this).css("cursor", "pointer");
		  $(this).click(function(){
		    window.location.replace(link);
		    return false;
		  });
		},
		function () {
		  return;
		}
	);

	$(".answer-each").hover(
		function () {
		  $(this).addClass("hl");
		  $(this).click(
		    function(){
		      $("input", this).attr("checked", "checked");
		    },
		    function(){
		      $("input", this).attr("checked", "checked");
		    }
		  );
		},
		function () {
		  $(this).removeClass("hl");
		}
	);

	$(".movie-area-wej").hover(
		function () {
		  $(this).addClass("hl");
		},
		function () {
		  $(this).removeClass("hl");
		}
	);

	$(".now-showing").hover(
		function(){
		  $(".now-showing-notice", this).show();
		},
		function(){
		  $(".now-showing-notice", this).hide();
		}
	);

	$("li[id $= '_nav_sy']").tipsy({title: 'data-title', fade: true});

	$("div[id ^= 'dock_show_']").hover(
		function () {
		  $('.main-cover-face', this).removeClass("op");
		},
		function () {
		  $('.main-cover-face', this).addClass("op");
		}
	);

	$("td.show-cell").hover(
		function () {
		  $(this).addClass("hl").css("cursor", "pointer");
		},
		function () {
		  $(this).removeClass("hl");
		}
	);

	$(".show-times-date").click(
		function(){
		  $(".times-hashed", this).slideToggle();
		},
		function(){
		  $(".times-hashed", this).slideToggle();
		}
	);

	$(".show-times-date").hover(
		function () {
		  $(this).addClass("hl").css("cursor", "pointer");
		},
		function () {
		  $(this).removeClass("hl");
		}
	);   
});

