function photoDisplayShow(p) {
  $("#photoDisplayBgr").height($(document).height());
  $("#photoDisplayBgr").show();
  $("#photoDisplayPic").html('<a href="#" onClick="return photoDisplayHide();"><img src="'+p+'" border="5" style="border-color:#FFFFFF"></a>');
  $("#photoDisplayTbl").height($(window).height());
  $("#photoDisplayTbl").width($(document).width());
  topscroll=0+(window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop); $("#photoDisplayTbl").css("top",topscroll);
  $("#photoDisplayTbl").show();
  $("#photoDisplayBgr").css({zIndex: 10000});
  $("#photoDisplayTbl").css({zIndex: 10001});
  $("#photoDisplayPic").css({zIndex: 10002});
  return false;
}
function photoDisplayHide() {
  $("#photoDisplayTbl").hide();
  $("#photoDisplayBgr").hide();
  return false;
}

$(document).ready(function(){
  $(".offer").mouseover(function () {
      $(this).css("background-color","#EEEEEE").css("cursor","pointer");
  });
  $(".offer").mouseout(function () {
      $(this).css("background-color","").css("cursor","default");
  });
  $(".offer").click(function () {
    window.location = $(this).find("a.offertitle").attr("href");
  });
});

$(document).ready(function(){
  $(".offerhot").mouseover(function () {
      $(this).css("background-color","#FFFFCE").css("cursor","pointer");
  });
  $(".offerhot").mouseout(function () {
      $(this).css("background-color","").css("cursor","default");
  });
  $(".offerhot").click(function () {
    window.location = $(this).find("a.offertitle").attr("href");
  });
});

