function InitHeart(){$("#reason1").hide();$("#reason2").hide();$("#reason3").hide();$("#reason4").hide();$("#reason5").hide();$("#reason6").hide();$(".name a").click(function(){var a=$(this).attr("href");var b=$(this).attr("rel");if((a=="#expand1")&&(b=="show")){$("div#reason1").slideDown("fast");$(this).attr({rel:"hide"});$(this).attr({title:"-"});$("#heart .heart-item p#name1 a span").css({background:"url(/images/heart/btn_close.gif) no-repeat"})}if((a=="#expand1")&&(b=="hide")){$("div#reason1").slideUp("fast");$(this).attr({rel:"show"});$(this).attr({title:"+"});$("#heart .heart-item p#name1 a span").css({background:"url(/images/heart/btn_open.gif) no-repeat"})}if((a=="#expand2")&&(b=="show")){$("div#reason2").slideDown("fast");$(this).attr({rel:"hide"});$(this).attr({title:"-"});$("#heart .heart-item p#name2 a span").css({background:"url(/images/heart/btn_close.gif) no-repeat"})}if((a=="#expand2")&&(b=="hide")){$("div#reason2").slideUp("fast");$(this).attr({rel:"show"});$(this).attr({title:"+"});$("#heart .heart-item p#name2 a span").css({background:"url(/images/heart/btn_open.gif) no-repeat"})}if((a=="#expand3")&&(b=="show")){$("div#reason3").slideDown("fast");$(this).attr({rel:"hide"});$(this).attr({title:"-"});$("#heart .heart-item p#name3 a span").css({background:"url(/images/heart/btn_close.gif) no-repeat"})}if((a=="#expand3")&&(b=="hide")){$("div#reason3").slideUp("fast");$(this).attr({rel:"show"});$(this).attr({title:"+"});$("#heart .heart-item p#name3 a span").css({background:"url(/images/heart/btn_open.gif) no-repeat"})}if((a=="#expand4")&&(b=="show")){$("div#reason4").slideDown("fast");$(this).attr({rel:"hide"});$(this).attr({title:"-"});$("#heart .heart-item p#name4 a span").css({background:"url(/images/heart/btn_close.gif) no-repeat"})}if((a=="#expand4")&&(b=="hide")){$("div#reason4").slideUp("fast");$(this).attr({rel:"show"});$(this).attr({title:"+"});$("#heart .heart-item p#name4 a span").css({background:"url(/images/heart/btn_open.gif) no-repeat"})}if((a=="#expand5")&&(b=="show")){$("div#reason5").slideDown("fast");$(this).attr({rel:"hide"});$(this).attr({title:"-"});$("#heart .heart-item p#name5 a span").css({background:"url(/images/heart/btn_close.gif) no-repeat"})}if((a=="#expand5")&&(b=="hide")){$("div#reason5").slideUp("fast");$(this).attr({rel:"show"});$(this).attr({title:"+"});$("#heart .heart-item p#name5 a span").css({background:"url(/images/heart/btn_open.gif) no-repeat"})}if((a=="#expand6")&&(b=="show")){$("div#reason6").slideDown("fast");$(this).attr({rel:"hide"});$(this).attr({title:"-"});$("#heart .heart-item p#name6 a span").css({background:"url(/images/heart/btn_close.gif) no-repeat"})}if((a=="#expand6")&&(b=="hide")){$("div#reason6").slideUp("fast");$(this).attr({rel:"show"});$(this).attr({title:"+"});$("#heart .heart-item p#name6 a span").css({background:"url(/images/heart/btn_open.gif) no-repeat"})}})}function WiganValueLeague(){$("a#adHoc-wigan").hide();$("#adHoc-valueLeague-copy").hide();$("#adHoc-matchDayTips-copy").hide();var a=$(".story-date").html();$(".adHoc-date").html(a);$(".adHoc090519Links p").show();$(".adHoc090519Links a").click(function(){var b=$(this).attr("id");if(b=="adHoc-valueLeague"){$("#adHoc-matchDayTips-copy").hide();$(".story-copy p").hide();$(".story-copy h3").hide();$("#adHoc-valueLeague-copy").show();$("#adHoc-valueLeague-copy p").show();$("#adHoc-valueLeague-copy h3").show();$("a#adHoc-valueLeague").hide();$("a#adHoc-wigan").show();$("a#adHoc-matchDayTips").show();$(".adHoc090519Links p").show()}if(b=="adHoc-matchDayTips"){$("#adHoc-valueLeague-copy").hide();$(".story-copy p").hide();$(".story-copy h3").hide();$("#adHoc-matchDayTips-copy").show();$("#adHoc-matchDayTips-copy p").show();$("#adHoc-matchDayTips-copy h3").show();$("a#adHoc-valueLeague").show();$("a#adHoc-wigan").show();$("a#adHoc-matchDayTips").hide();$(".adHoc090519Links p").show()}if(b=="adHoc-wigan"){$(".story-copy p").show();$(".story-copy h3").show();$("#adHoc-valueLeague-copy").hide();$("#adHoc-matchDayTips-copy").hide();$("a#adHoc-valueLeague").show();$("a#adHoc-wigan").hide();$("a#adHoc-matchDayTips").show();$(".adHoc090519Links p").show()}})}function ResetScrollPosition(){var b=document.getElementById("__SCROLLPOSITIONX");var a=document.getElementById("__SCROLLPOSITIONY");if(b&&a){b.value=0;a.value=0}};