PageSourceSearch

https://nspn.tv/MSHSL

html nspn.tv collected 2026-10-01 14:41:24 UTC 338,470 bytes, 1,130 lines download raw bytes

1<!DOCTYPE html><html lang=en prefix="og: http://ogp.me/ns#"><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"><meta name=robots content="INDEX, FOLLOW"><meta name=geo.region content=US-MN><meta name=geo.position content=46.729553;-94.6859><meta name=ICBM content="46.729553, -94.6859"><meta name=description content=""><meta name=keywords content=""><title>league</title><meta property=og:title content=league><meta property=og:type content=article><meta property=og:url content="http://nspn.tv/"><meta property=og:image content=https://ssmstorage.blob.core.windows.net/ssmtvassets/SocialThumbnail.png><meta property=og:description content="">
1<script data-ad-client=ca-pub-2988761696952697 async src=//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js></script>
1<script>
vendor: 328 bytes, line 1
1(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');ga('create','
1UA-37772976-1
vendor: 32 bytes, line 1
1','auto');ga('send','pageview');
1</script>
1<link rel=stylesheet href=//code.jquery.com/ui/1.12.0/themes/base/jquery-ui.css>
1<script src=/node_modules/@mediakind/mkplayer/mkplayer.js></script>
1<link rel=stylesheet href=//cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css><link href="/css/customplayer.css?v=MnSk0egoXRHDA1_vc_sUK1KcnEnCpraZcBD8pHe5t6c" rel=stylesheet>
1<script src=//www.google.com/recaptcha/api.js async defer></script>
1<script src=//www.gstatic.com/cast/sdk/libs/cast.framework/6.0.0/cast_framework.js></script>
1<script src="//www.gstatic.com/cv/js/sender/v1/cast_sender.js?loadCastFramework=1"></script>
1<link rel=stylesheet href="/fonts/myriad/stylesheet.css?v=R2Aus8z_k-xZDnXTPT_tY-neNbVJSqb9ZJTjHjynZBc"><link rel=stylesheet href="/css/compressionStyle.css?v=khI18mnY03zjj-WwsR-tvjzclxkw7MOkxiiKVQvZeCk">
1<script src=//cdn.jsdelivr.net/jquery/2.2.3/jquery.min.js></script>
1<body><div class=main-wrapper><header class=main-header><div id=HeaderTopSection><div class=header-top><div class=row><div class="large-4 medium-4 column"><h1 class=logo><a href="/"><img src="//ssmstorage.blob.core.windows.net/ssmtvassets/NSPN-Logo-Full-White -LowRes.png" alt=PREPSPOTLIGHT.TV></a></h1></div><div class="large-3 medium-3 column"><p class=school-name>Minnesota</div><div class="large-2 medium-2 column"><select id=urlddl name=url><option value="/">--Select--<option selected value=/MSHSL>Minnesota<option value=/CHSAA>Colorado<option value=/AIA>Arizona<option value=/Townball>Town Ball Minnesota<option value=/IOWA>Iowa</select></div><div class="large-2 medium-2 column"><p><nav class=navigation><ul><li><div class=dropdown><a id=signInLink class=dropbtn href=/auth/signin><i class="fa fa-user"></i>Sign In</a></div></ul></nav></div><div class="large-1 medium-1 column"><nav class=navigation><ul><li><div class=dropdown><a style=cursor:pointer onclick=CheckURLAndRedirect()> <img src=//ssmstorage.blob.core.windows.net/ssmtvassets/Help_icon.png style=width:auto;margin-top:12px width=20></a></div></ul></nav></div></div></div>
1<script src=//kit.fontawesome.com/a076d05399.js></script>
1<link href=/css/ProfileDropdown.css rel=stylesheet>
1<script>$(function(){$('#urlddl').change(function(){var val=$(this).val();if(val!=null&&val!=''&&val!='/'){Set_Cookie("leaguepreference",val,30,"/","","")
2window.location.href=val;}
3else{var leaguepreference=Get_Cookie("leaguepreference");if(leaguepreference!=''){$('#urlddl').val(leaguepreference);}}});});function CheckURLAndRedirect(){var checkUrl='MSHSL';if(checkUrl!=null&&checkUrl!=""){window.location.href="/"+checkUrl+"/Support/";}
4else{window.location.href="/MSHSL/Support/";}}</script>
4<script>var signInLink=document.getElementById('signInLink');var currentURL=window.location.href;var possibleStartURLs=["https://prepspotlight-tv-testing.azurewebsites.net","http://localhost:58660","https://nspn.tv","https://prepspotlight.tv","https://www.nspn.tv","https://www.prepspotlight.tv/","https://nspntvproductioncdn.azureedge.net"];var startURL=possibleStartURLs.find(function(url){return currentURL.includes(url);});var relativeURL=currentURL;if(startURL){relativeURL=relativeURL.replace(startURL,'');}
5var returnUrl=encodeURIComponent(relativeURL);if(signInLink!=null){var newURL=signInLink.getAttribute('href')+'?returnurl='+returnUrl;signInLink.setAttribute('href',newURL);}</script>
5</div><style>.block{width:100%;border:none;background-color:#9E0404;color:white;padding:14px 28px;font-size:1.5rem;cursor:pointer;text-align:center}</style><div class=header-bottom><div class=row><div class="large-12 medium-12 column"><a href=#mobile_menu aria-expanded=false> <img src=//ssmstorage.blob.core.windows.net/ssmtvassets/Icon.png class=menu-icon> </a> <nav class=navigation><ul><li><a href=/MSHSL>Home</a><li><a href=/MSHSL/GameStream>GameStream</a><li><a href=#>Sports <span class=sub-arrow></span></a><ul class=games-dropdown><li><a href=/MSHSL/sport/adaptedfloorhockey-ci>Adapted Floor Hockey CI</a><li><a href=/MSHSL/sport/adaptedfloorhockey-pi>Adapted Floor Hockey PI</a><li><a href=/MSHSL/sport/adaptedsoccerci>Adapted Soccer CI</a><li><a href=/MSHSL/sport/adaptedsoccerpi>Adapted Soccer PI</a><li><a href=/MSHSL/sport/adaptersoftballci>Adapted Softball CI</a><li><a href=/MSHSL/sport/adaptedsoftballpi>Adapted Softball PI</a><li><a href=/MSHSL/sport/AlpineSkiing>Alpine Skiing</a><li><a href=/MSHSL/sport/Badminton>Badminton</a><li><a href=/MSHSL/sport/Baseball>Baseball ( Boys )</a><li><a href=/MSHSL/sport/BoysBasketball>Basketball ( Boys )</a><li><a href=/MSHSL/sport/GirlsBasketball>Basketball ( Girls )</a><li><a href=/MSHSL/sport/BeachVolleyball>Beach Volleyball</a><li><a href=/MSHSL/sport/collegiateswimming>College Swimming</a><li><a href=/MSHSL/sport/CrossCountry>Cross Country</a><li><a href=/MSHSL/sport/Dance>Dance</a><li><a href=/MSHSL/sport/FlagFootball>Flag Football</a><li><a href=/MSHSL/sport/Football>Football</a><li><a href=/MSHSL/sport/Golf>Golf</a><li><a href=/MSHSL/sport/Gymnastics>Gymnastics ( Girls )</a><li><a href=/MSHSL/sport/BoysHockey>Hockey ( Boys )</a><li><a href=/MSHSL/sport/GirlsHockey>Hockey ( Girls )</a><li><a href=/MSHSL/sport/BoysLacrosse>Lacrosse ( Boys )</a><li><a href=/MSHSL/sport/GirlsLacrosse>Lacrosse ( Girls )</a><li><a href=/MSHSL/sport/NordicSkiing>Nordic Skiing</a><li><a href=/MSHSL/sport/Other>Other</a><li><a href=/MSHSL/sport/BoysSoccer>Soccer ( Boys )</a><li><a href=/MSHSL/sport/GirlsSoccer>Soccer ( Girls )</a><li><a href=/MSHSL/sport/Softball>Softball ( Girls )</a><li><a href=/MSHSL/sport/coedswimming>Swimming</a><li><a href=/MSHSL/sport/BoysSwimming>Swimming ( Boys )</a><li><a href=/MSHSL/sport/GirlsSwimming>Swimming ( Girls )</a><li><a href=/MSHSL/sport/BoysTennis>Tennis ( Boys )</a><li><a href=/MSHSL/sport/GirlsTennis>Tennis ( Girls )</a><li><a href=/MSHSL/sport/Track&amp;Field>Track &amp; Field</a><li><a href=/MSHSL/sport/BoysVolleyball>Volleyball ( Boys )</a><li><a href=/MSHSL/sport/GirlsVolleyball>Volleyball ( Girls )</a><li><a href=/MSHSL/sport/Wrestling>Wrestling</a><li><a href=/MSHSL/sport/YouthSoccer>Youth Soccer</a></ul><li><a href=#>Shows <span class=sub-arrow></span></a><ul><li><a href=/MSHSL/SpotlightShow>Prep Spotlight </a><li><a href=/MSHSL/YearBookShow>Prep YearBook </a></ul><li><a href=/MSHSL/StateTournament>State Tournaments</a><li><a href=//schoolspacemedia.com/about target=_blank>About Us</a><li class=last-child></ul></nav></div></div></div><section><div style="padding:1% 17% 0 17%"><div><button class=block onclick="document.location='/MSHSL/Subscription'">My Subscriptions and Packages</button></div></div></section>
5<script src=//code.jquery.com/ui/1.12.1/jquery-ui.min.js integrity="sha256-VazP97ZCwtekAsvgPBSUwPFKdrwD3unUfSGVYrahUqU=" crossorigin=anonymous></script>
5<link rel=stylesheet href=//code.jquery.com/ui/1.12.0/themes/base/jquery-ui.css>
5<script>var GetSchoolRequest=[];var jsonobj={"searchtext":""};$(document).ready(function(){var leagueId=$("#hdnLeagueId").val();$("#commonSchoolSearch").autocomplete({source:function(request,response){$.each(GetSchoolRequest,function(key,value){if(typeof(this)!='undefined')
6this.abort();});var urlservice="/AjaxRequest/Ajax/GetSchoolList";jsonobj.searchtext=request.term;var ajaxRequest=$.ajax({type:"GET",url:urlservice+"/?search_text_School="+request.term+"&leagueId="+leagueId,dataType:"json",data:"",contentType:"application/json; charset=utf-8",success:function(data){response($.map(data,function(item){return{label:item.schoolName,val:item.friendlyUrl}}))},error:function(response){},failure:function(response){}});GetSchoolRequest.push(ajaxRequest);},focus:function(event,ui){$("#commonSchoolSearch").val(ui.item.label);return true;},select:function(event,ui){$("#commonSchoolSearch").val(ui.item.label);$("#School-id").val(ui.item.val);CommonSchoolSearch();return true;}});});function CommonSchoolSearch(){if($("#School-id").val()!=null&&$("#School-id").val()!=''){window.location.href=$("#School-id").val();}
7return false;}</script>
7<input type=hidden id=hdnLeagueId value=3> <input type=hidden id=hdnSchoolId value=0> <input type=hidden id=hdnSportId value=0> <input type=hidden id=hdnPageId value=2> <input type=hidden id=hdnShowId value=0> <input type=hidden id=hdnTeamId value=0></header><div class=row><div class="left-sidebar large-9 medium-8 column"><div class=video-container><div class=videobox-section><div id=leaguePostSection><div class=video-container><div class=video-content><h2 style=margin-top:0>Welcome to the Neighborhood</h2><p><font face=Arial><font color=#0a0a0a>NSPN.TV is bringing you another great year of local sports - games and events important to your community.&nbsp;</font><font color=#0a0a0a>Elevate your team's online presence and partner with NSPN&nbsp;for live coverage of your games!</font><span style=color:rgb(10,10,10)>&nbsp;</span></font><div><div><b><font face=Arial>Current School Partners:</font></b></div></div><div><font face=Arial>Benilde-St.Margaret's, Cretin-Derham Hall, Hill-Murray, East Ridge, Lake City, New Prague, Park, Spring Lake Park, St. Cloud Cathedral, Woodbury, and Zumbrota-Mazeppa</font></div><div></div><div><h1 data-testid=article-hero-header class="rt-Heading text-text-primary font-editorial-news-heading-02 md:font-editorial-news-heading-03 lg:font-editorial-news-heading-02 rt-r-size-6 rt-r-weight-bold" style="box-sizing:border-box;border:0 solid rgb(229,231,235);--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x:;--tw-pan-y:;--tw-pinch-zoom:;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position:;--tw-gradient-via-position:;--tw-gradient-to-position:;--tw-ordinal:;--tw-slashed-zero:;--tw-numeric-figure:;--tw-numeric-spacing:;--tw-numeric-fraction:;--tw-ring-inset:;--tw-ring-offset-width:0;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur:;--tw-brightness:;--tw-contrast:;--tw-grayscale:;--tw-hue-rotate:;--tw-invert:;--tw-saturate:;--tw-sepia:;--tw-drop-shadow:;--tw-backdrop-blur:;--tw-backdrop-brightness:;--tw-backdrop-contrast:;--tw-backdrop-grayscale:;--tw-backdrop-hue-rotate:;--tw-backdrop-invert:;--tw-backdrop-opacity:;--tw-backdrop-saturate:;--tw-backdrop-sepia:;--tw-contain-size:;--tw-contain-layout:;--tw-contain-paint:;--tw-contain-style:;margin:0;line-height:1.05;--tw-text-opacity:1;color:rgb(13 13 13/var(--tw-text-opacity));background-color:rgb(255,255,255)"><font face=Arial size=3></font></h1></div></div></div><hr><div class=video-container><div class=video-content><h2 style=margin-top:0>JV - (Girls) Volleyball Cannon Falls Vs Lake City</h2><p>This stream has been cancelled.</div></div><hr><div class="row video-thumbnails-all"><div id=homeThreeTile_32836>
7<div class="large-4 medium-6 small-12 column thumb-box"><div class=clearfix><div class="video-big-box video-small-box"><img id=colImage32836 class=big-thumb src=//ssmstorage.blob.core.windows.net/gamethumbnails/TwoRiversHillMurray9252026100100PM.jpg alt=""> <img class=samll-thumb-overlay src=//ssmstorage.blob.core.windows.net/ssmtvassets/ClickToSubscribe.png alt="" onclick="document.location='/MSHSL/Subscription'"></div></div><h3><b>Two Rivers Vs Hill-Murray</b><p class=event-date><span id=publishDate32836> </span> <span style=margin-left:11% id=showTimeLeague32836> </span> <span class=fr>(Girls) Soccer</span> <span class=clr></span></h3></div>
7<script>$(document).ready(function(){var buttonHighlightFeedId=$("#colBtnHighlightFeed"+32836);$('.controlbar').addClass('hide-content');var buttonFeedId=$("#colBtnFeed"+32836);buttonHighlightFeedId.hide();buttonFeedId.hide();if(''!=null&&''!=""&&'False'!=true){buttonHighlightFeedId.show();}
8else{buttonFeedId.show();}
9var checkUser=false;var isPurchased='False';if(checkUser!=null&&checkUser!=""){if(isPurchased!='True'){var buttonNotPurchased=$("#colBtnNotPurchased"+32836);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32836);buttonNotPurchased.show();buttonPurchasedUrl.hide();}}
10else if(isPurchased=='True'){console.log("true"+isPurchased);}
11else{$("#ThreeColVideo"+32836).addClass("disable-button");var buttonNotPurchased=$("#colBtnNotPurchased"+32836);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32836);buttonNotPurchased.show();buttonPurchasedUrl.hide();}});function ChangeButton(Id,playerid,feedurl,posterImage,image,button,newId){var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){PlayShow(playerid,feedurl,posterImage,image,button,newId);var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
12else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
13function ChangeButtonMKIO(Id,feedurl,posterImage,image,button,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});}
14else{elements.forEach(element=>{element.style.paddingBottom='0%';});}
15const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")}
16$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState)
17var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
18else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
19function RegisterUserActionForPreLive(Id,feedurl,posterImage,image,button,newId,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});}
20else{elements.forEach(element=>{element.style.paddingBottom='0%';});}
21const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")}
22$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){var checkUser=false;var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();$.ajax({url:"/PSTVTransaction/UserActionForPreLive",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,feedurl);}});var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
23else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
24function RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState){var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();model.FeedUrl=feedurl;$.ajax({url:"/PSTVTransaction/UserAction",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,data);}});}
25function ChangePurchasedButton(id){$("#ThreeColVideo"+id).removeClass("disable-button");var buttonPlayPurchasedUrl=$("#plyBtnPurchasedUrl"+id);var buttonNotPurchased=$("#colBtnNotPurchased"+id);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+id);buttonPlayPurchasedUrl.hide();buttonNotPurchased.hide();buttonPurchasedUrl.show();}
26function CheckAndRedirect(id){var checkUser=false;if(checkUser!=null&&checkUser!=""){var leaguename='MSHSL';window.location.href="/"+leaguename+"/EventPackage/"+id;}
27else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename+"&PostId="+id;}}</script>
27</div><div id=homeThreeTile_32838><div class="large-4 medium-6 small-12 column thumb-box"><div class=clearfix><div class="video-big-box video-small-box"><img id=colImage32838 class=big-thumb src=//ssmstorage.blob.core.windows.net/gamethumbnails/ForestLakeWoodbury9252026100242PM.jpg alt=""> <img class=samll-thumb-overlay src=//ssmstorage.blob.core.windows.net/ssmtvassets/ClickToSubscribe.png alt="" onclick="document.location='/MSHSL/Subscription'"></div></div><h3><b>Forest Lake Vs Woodbury</b><p class=event-date><span id=publishDate32838> </span> <span style=margin-left:11% id=showTimeLeague32838> </span> <span class=fr>(Girls) Soccer</span> <span class=clr></span></h3></div>
27<script>$(document).ready(function(){var buttonHighlightFeedId=$("#colBtnHighlightFeed"+32838);$('.controlbar').addClass('hide-content');var buttonFeedId=$("#colBtnFeed"+32838);buttonHighlightFeedId.hide();buttonFeedId.hide();if(''!=null&&''!=""&&'False'!=true){buttonHighlightFeedId.show();}
28else{buttonFeedId.show();}
29var checkUser=false;var isPurchased='False';if(checkUser!=null&&checkUser!=""){if(isPurchased!='True'){var buttonNotPurchased=$("#colBtnNotPurchased"+32838);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32838);buttonNotPurchased.show();buttonPurchasedUrl.hide();}}
30else if(isPurchased=='True'){console.log("true"+isPurchased);}
31else{$("#ThreeColVideo"+32838).addClass("disable-button");var buttonNotPurchased=$("#colBtnNotPurchased"+32838);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32838);buttonNotPurchased.show();buttonPurchasedUrl.hide();}});function ChangeButton(Id,playerid,feedurl,posterImage,image,button,newId){var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){PlayShow(playerid,feedurl,posterImage,image,button,newId);var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
32else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
33function ChangeButtonMKIO(Id,feedurl,posterImage,image,button,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});}
34else{elements.forEach(element=>{element.style.paddingBottom='0%';});}
35const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")}
36$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState)
37var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
38else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
39function RegisterUserActionForPreLive(Id,feedurl,posterImage,image,button,newId,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});}
40else{elements.forEach(element=>{element.style.paddingBottom='0%';});}
41const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")}
42$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){var checkUser=false;var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();$.ajax({url:"/PSTVTransaction/UserActionForPreLive",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,feedurl);}});var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
43else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
44function RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState){var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();model.FeedUrl=feedurl;$.ajax({url:"/PSTVTransaction/UserAction",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,data);}});}
45function ChangePurchasedButton(id){$("#ThreeColVideo"+id).removeClass("disable-button");var buttonPlayPurchasedUrl=$("#plyBtnPurchasedUrl"+id);var buttonNotPurchased=$("#colBtnNotPurchased"+id);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+id);buttonPlayPurchasedUrl.hide();buttonNotPurchased.hide();buttonPurchasedUrl.show();}
46function CheckAndRedirect(id){var checkUser=false;if(checkUser!=null&&checkUser!=""){var leaguename='MSHSL';window.location.href="/"+leaguename+"/EventPackage/"+id;}
47else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename+"&PostId="+id;}}</script>
47</div><div id=homeThreeTile_32840><div class="large-4 medium-6 small-12 column thumb-box"><div class=clearfix><div class="video-big-box video-small-box"><img id=colImage32840 class=big-thumb src=//ssmstorage.blob.core.windows.net/gamethumbnails/StillwaterCretinDerhamHall9252026101310PM.jpg alt=""> <img class=samll-thumb-overlay src=//ssmstorage.blob.core.windows.net/ssmtvassets/ClickToSubscribe.png alt="" onclick="document.location='/MSHSL/Subscription'"></div></div><h3><b>Stillwater Vs Cretin-Derham Hall</b><p class=event-date><span id=publishDate32840> </span> <span style=margin-left:11% id=showTimeLeague32840> </span> <span class=fr>(Boys) Soccer</span> <span class=clr></span></h3></div>
47<script>$(document).ready(function(){var buttonHighlightFeedId=$("#colBtnHighlightFeed"+32840);$('.controlbar').addClass('hide-content');var buttonFeedId=$("#colBtnFeed"+32840);buttonHighlightFeedId.hide();buttonFeedId.hide();if(''!=null&&''!=""&&'False'!=true){buttonHighlightFeedId.show();}
48else{buttonFeedId.show();}
49var checkUser=false;var isPurchased='False';if(checkUser!=null&&checkUser!=""){if(isPurchased!='True'){var buttonNotPurchased=$("#colBtnNotPurchased"+32840);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32840);buttonNotPurchased.show();buttonPurchasedUrl.hide();}}
50else if(isPurchased=='True'){console.log("true"+isPurchased);}
51else{$("#ThreeColVideo"+32840).addClass("disable-button");var buttonNotPurchased=$("#colBtnNotPurchased"+32840);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32840);buttonNotPurchased.show();buttonPurchasedUrl.hide();}});function ChangeButton(Id,playerid,feedurl,posterImage,image,button,newId){var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){PlayShow(playerid,feedurl,posterImage,image,button,newId);var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
52else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
53function ChangeButtonMKIO(Id,feedurl,posterImage,image,button,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});}
54else{elements.forEach(element=>{element.style.paddingBottom='0%';});}
55const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")}
56$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState)
57var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
58else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
59function RegisterUserActionForPreLive(Id,feedurl,posterImage,image,button,newId,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});}
60else{elements.forEach(element=>{element.style.paddingBottom='0%';});}
61const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")}
62$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){var checkUser=false;var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();$.ajax({url:"/PSTVTransaction/UserActionForPreLive",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,feedurl);}});var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
63else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
64function RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState){var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();model.FeedUrl=feedurl;$.ajax({url:"/PSTVTransaction/UserAction",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,data);}});}
65function ChangePurchasedButton(id){$("#ThreeColVideo"+id).removeClass("disable-button");var buttonPlayPurchasedUrl=$("#plyBtnPurchasedUrl"+id);var buttonNotPurchased=$("#colBtnNotPurchased"+id);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+id);buttonPlayPurchasedUrl.hide();buttonNotPurchased.hide();buttonPurchasedUrl.show();}
66function CheckAndRedirect(id){var checkUser=false;if(checkUser!=null&&checkUser!=""){var leaguename='MSHSL';window.location.href="/"+leaguename+"/EventPackage/"+id;}
67else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename+"&PostId="+id;}}</script>
67</div><div id=homeThreeTile_32879><div class="large-4 medium-6 small-12 column thumb-box"><div class=clearfix><div class="video-big-box video-small-box"><img id=colImage32879 class=big-thumb src=//ssmstorage.blob.core.windows.net/gamethumbnails/PineIslandChatfield928202614306PM.jpg alt=""> <img class=samll-thumb-overlay src=//ssmstorage.blob.core.windows.net/ssmtvassets/ClickToSubscribe.png alt="" onclick="document.location='/MSHSL/Subscription'"></div></div><h3><b>Pine Island vs Chatfield - JV followed by Varsity</b><p class=event-date><span id=publishDate32879> </span> <span style=margin-left:11% id=showTimeLeague32879> </span> <span class=fr>(Girls) Volleyball</span> <span class=clr></span></h3></div>
67<script>$(document).ready(function(){var buttonHighlightFeedId=$("#colBtnHighlightFeed"+32879);$('.controlbar').addClass('hide-content');var buttonFeedId=$("#colBtnFeed"+32879);buttonHighlightFeedId.hide();buttonFeedId.hide();if(''!=null&&''!=""&&'False'!=true){buttonHighlightFeedId.show();}
68else{buttonFeedId.show();}
69var checkUser=false;var isPurchased='False';if(checkUser!=null&&checkUser!=""){if(isPurchased!='True'){var buttonNotPurchased=$("#colBtnNotPurchased"+32879);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32879);buttonNotPurchased.show();buttonPurchasedUrl.hide();}}
70else if(isPurchased=='True'){console.log("true"+isPurchased);}
71else{$("#ThreeColVideo"+32879).addClass("disable-button");var buttonNotPurchased=$("#colBtnNotPurchased"+32879);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32879);buttonNotPurchased.show();buttonPurchasedUrl.hide();}});function ChangeButton(Id,playerid,feedurl,posterImage,image,button,newId){var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){PlayShow(playerid,feedurl,posterImage,image,button,newId);var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
72else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
73function ChangeButtonMKIO(Id,feedurl,posterImage,image,button,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});}
74else{elements.forEach(element=>{element.style.paddingBottom='0%';});}
75const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")}
76$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState)
77var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
78else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
79function RegisterUserActionForPreLive(Id,feedurl,posterImage,image,button,newId,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});}
80else{elements.forEach(element=>{element.style.paddingBottom='0%';});}
81const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")}
82$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){var checkUser=false;var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();$.ajax({url:"/PSTVTransaction/UserActionForPreLive",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,feedurl);}});var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
83else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
84function RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState){var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();model.FeedUrl=feedurl;$.ajax({url:"/PSTVTransaction/UserAction",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,data);}});}
85function ChangePurchasedButton(id){$("#ThreeColVideo"+id).removeClass("disable-button");var buttonPlayPurchasedUrl=$("#plyBtnPurchasedUrl"+id);var buttonNotPurchased=$("#colBtnNotPurchased"+id);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+id);buttonPlayPurchasedUrl.hide();buttonNotPurchased.hide();buttonPurchasedUrl.show();}
86function CheckAndRedirect(id){var checkUser=false;if(checkUser!=null&&checkUser!=""){var leaguename='MSHSL';window.location.href="/"+leaguename+"/EventPackage/"+id;}
87else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename+"&PostId="+id;}}</script>
87</div><div id=homeThreeTile_32842><div class="large-4 medium-6 small-12 column thumb-box"><div class=clearfix><div class="video-big-box video-small-box"><img id=colImage32842 class=big-thumb src=//ssmstorage.blob.core.windows.net/gamethumbnails/HastingsHillMurray9252026101912PM.jpg alt=""> <img class=samll-thumb-overlay src=//ssmstorage.blob.core.windows.net/ssmtvassets/ClickToSubscribe.png alt="" onclick="document.location='/MSHSL/Subscription'"></div></div><h3><b>Hastings Vs Hill-Murray</b><p class=event-date><span id=publishDate32842> </span> <span style=margin-left:11% id=showTimeLeague32842> </span> <span class=fr>(Girls) Volleyball</span> <span class=clr></span></h3></div>
87<script>$(document).ready(function(){var buttonHighlightFeedId=$("#colBtnHighlightFeed"+32842);$('.controlbar').addClass('hide-content');var buttonFeedId=$("#colBtnFeed"+32842);buttonHighlightFeedId.hide();buttonFeedId.hide();if(''!=null&&''!=""&&'False'!=true){buttonHighlightFeedId.show();}
88else{buttonFeedId.show();}
89var checkUser=false;var isPurchased='False';if(checkUser!=null&&checkUser!=""){if(isPurchased!='True'){var buttonNotPurchased=$("#colBtnNotPurchased"+32842);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32842);buttonNotPurchased.show();buttonPurchasedUrl.hide();}}
90else if(isPurchased=='True'){console.log("true"+isPurchased);}
91else{$("#ThreeColVideo"+32842).addClass("disable-button");var buttonNotPurchased=$("#colBtnNotPurchased"+32842);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32842);buttonNotPurchased.show();buttonPurchasedUrl.hide();}});function ChangeButton(Id,playerid,feedurl,posterImage,image,button,newId){var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){PlayShow(playerid,feedurl,posterImage,image,button,newId);var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
92else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
93function ChangeButtonMKIO(Id,feedurl,posterImage,image,button,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});}
94else{elements.forEach(element=>{element.style.paddingBottom='0%';});}
95const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")}
96$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState)
97var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
98else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
99function RegisterUserActionForPreLive(Id,feedurl,posterImage,image,button,newId,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});}
100else{elements.forEach(element=>{element.style.paddingBottom='0%';});}
101const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")}
102$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){var checkUser=false;var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();$.ajax({url:"/PSTVTransaction/UserActionForPreLive",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,feedurl);}});var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
103else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
104function RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState){var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();model.FeedUrl=feedurl;$.ajax({url:"/PSTVTransaction/UserAction",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,data);}});}
105function ChangePurchasedButton(id){$("#ThreeColVideo"+id).removeClass("disable-button");var buttonPlayPurchasedUrl=$("#plyBtnPurchasedUrl"+id);var buttonNotPurchased=$("#colBtnNotPurchased"+id);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+id);buttonPlayPurchasedUrl.hide();buttonNotPurchased.hide();buttonPurchasedUrl.show();}
106function CheckAndRedirect(id){var checkUser=false;if(checkUser!=null&&checkUser!=""){var leaguename='MSHSL';window.location.href="/"+leaguename+"/EventPackage/"+id;}
107else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename+"&PostId="+id;}}</script>
107</div><div id=homeThreeTile_32837><div class="large-4 medium-6 small-12 column thumb-box"><div class=clearfix><div class="video-big-box video-small-box"><img id=colImage32837 class=big-thumb src=//ssmstorage.blob.core.windows.net/gamethumbnails/TwoRiversHillMurray9252026100157PM.jpg alt=""> <img class=samll-thumb-overlay src=//ssmstorage.blob.core.windows.net/ssmtvassets/ClickToSubscribe.png alt="" onclick="document.location='/MSHSL/Subscription'"></div></div><h3><b>Two Rivers Vs Hill-Murray</b><p class=event-date><span id=publishDate32837> </span> <span style=margin-left:11% id=showTimeLeague32837> </span> <span class=fr>(Boys) Soccer</span> <span class=clr></span></h3></div>
107<script>$(document).ready(function(){var buttonHighlightFeedId=$("#colBtnHighlightFeed"+32837);$('.controlbar').addClass('hide-content');var buttonFeedId=$("#colBtnFeed"+32837);buttonHighlightFeedId.hide();buttonFeedId.hide();if(''!=null&&''!=""&&'False'!=true){buttonHighlightFeedId.show();}
108else{buttonFeedId.show();}
109var checkUser=false;var isPurchased='False';if(checkUser!=null&&checkUser!=""){if(isPurchased!='True'){var buttonNotPurchased=$("#colBtnNotPurchased"+32837);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32837);buttonNotPurchased.show();buttonPurchasedUrl.hide();}}
110else if(isPurchased=='True'){console.log("true"+isPurchased);}
111else{$("#ThreeColVideo"+32837).addClass("disable-button");var buttonNotPurchased=$("#colBtnNotPurchased"+32837);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32837);buttonNotPurchased.show();buttonPurchasedUrl.hide();}});function ChangeButton(Id,playerid,feedurl,posterImage,image,button,newId){var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){PlayShow(playerid,feedurl,posterImage,image,button,newId);var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
112else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
113function ChangeButtonMKIO(Id,feedurl,posterImage,image,button,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});}
114else{elements.forEach(element=>{element.style.paddingBottom='0%';});}
115const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")}
116$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState)
117var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
118else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
119function RegisterUserActionForPreLive(Id,feedurl,posterImage,image,button,newId,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});}
120else{elements.forEach(element=>{element.style.paddingBottom='0%';});}
121const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")}
122$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){var checkUser=false;var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();$.ajax({url:"/PSTVTransaction/UserActionForPreLive",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,feedurl);}});var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
123else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
124function RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState){var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();model.FeedUrl=feedurl;$.ajax({url:"/PSTVTransaction/UserAction",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,data);}});}
125function ChangePurchasedButton(id){$("#ThreeColVideo"+id).removeClass("disable-button");var buttonPlayPurchasedUrl=$("#plyBtnPurchasedUrl"+id);var buttonNotPurchased=$("#colBtnNotPurchased"+id);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+id);buttonPlayPurchasedUrl.hide();buttonNotPurchased.hide();buttonPurchasedUrl.show();}
126function CheckAndRedirect(id){var checkUser=false;if(checkUser!=null&&checkUser!=""){var leaguename='MSHSL';window.location.href="/"+leaguename+"/EventPackage/"+id;}
127else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename+"&PostId="+id;}}</script>
127</div><div id=homeThreeTile_32839><div class="large-4 medium-6 small-12 column thumb-box"><div class=clearfix><div class="video-big-box video-small-box"><img id=colImage32839 class=big-thumb src=//ssmstorage.blob.core.windows.net/gamethumbnails/ForestLakeWoodbury9252026100439PM.jpg alt=""> <img class=samll-thumb-overlay src=//ssmstorage.blob.core.windows.net/ssmtvassets/ClickToSubscribe.png alt="" onclick="document.location='/MSHSL/Subscription'"></div></div><h3><b>Forest Lake Vs Woodbury</b><p class=event-date><span id=publishDate32839> </span> <span style=margin-left:11% id=showTimeLeague32839> </span> <span class=fr>(Boys) Soccer</span> <span class=clr></span></h3></div>
127<script>$(document).ready(function(){var buttonHighlightFeedId=$("#colBtnHighlightFeed"+32839);$('.controlbar').addClass('hide-content');var buttonFeedId=$("#colBtnFeed"+32839);buttonHighlightFeedId.hide();buttonFeedId.hide();if(''!=null&&''!=""&&'False'!=true){buttonHighlightFeedId.show();}
128else{buttonFeedId.show();}
129var checkUser=false;var isPurchased='False';if(checkUser!=null&&checkUser!=""){if(isPurchased!='True'){var buttonNotPurchased=$("#colBtnNotPurchased"+32839);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32839);buttonNotPurchased.show();buttonPurchasedUrl.hide();}}
130else if(isPurchased=='True'){console.log("true"+isPurchased);}
131else{$("#ThreeColVideo"+32839).addClass("disable-button");var buttonNotPurchased=$("#colBtnNotPurchased"+32839);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32839);buttonNotPurchased.show();buttonPurchasedUrl.hide();}});function ChangeButton(Id,playerid,feedurl,posterImage,image,button,newId){var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){PlayShow(playerid,feedurl,posterImage,image,button,newId);var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
132else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
133function ChangeButtonMKIO(Id,feedurl,posterImage,image,button,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});}
134else{elements.forEach(element=>{element.style.paddingBottom='0%';});}
135const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")}
136$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState)
137var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
138else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
139function RegisterUserActionForPreLive(Id,feedurl,posterImage,image,button,newId,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});}
140else{elements.forEach(element=>{element.style.paddingBottom='0%';});}
141const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")}
142$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){var checkUser=false;var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();$.ajax({url:"/PSTVTransaction/UserActionForPreLive",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,feedurl);}});var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
143else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
144function RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState){var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();model.FeedUrl=feedurl;$.ajax({url:"/PSTVTransaction/UserAction",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,data);}});}
145function ChangePurchasedButton(id){$("#ThreeColVideo"+id).removeClass("disable-button");var buttonPlayPurchasedUrl=$("#plyBtnPurchasedUrl"+id);var buttonNotPurchased=$("#colBtnNotPurchased"+id);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+id);buttonPlayPurchasedUrl.hide();buttonNotPurchased.hide();buttonPurchasedUrl.show();}
146function CheckAndRedirect(id){var checkUser=false;if(checkUser!=null&&checkUser!=""){var leaguename='MSHSL';window.location.href="/"+leaguename+"/EventPackage/"+id;}
147else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename+"&PostId="+id;}}</script>
147</div><div id=homeThreeTile_32841><div class="large-4 medium-6 small-12 column thumb-box"><div class=clearfix><div class="video-big-box video-small-box"><img id=colImage32841 class=big-thumb src=//ssmstorage.blob.core.windows.net/gamethumbnails/StillwaterCretinDerhamHall9252026101830PM.jpg alt=""> <img class=samll-thumb-overlay src=//ssmstorage.blob.core.windows.net/ssmtvassets/ClickToSubscribe.png alt="" onclick="document.location='/MSHSL/Subscription'"></div></div><h3><b>Stillwater Vs Cretin-Derham Hall</b><p class=event-date><span id=publishDate32841> </span> <span style=margin-left:11% id=showTimeLeague32841> </span> <span class=fr>(Girls) Soccer</span> <span class=clr></span></h3></div>
147<script>$(document).ready(function(){var buttonHighlightFeedId=$("#colBtnHighlightFeed"+32841);$('.controlbar').addClass('hide-content');var buttonFeedId=$("#colBtnFeed"+32841);buttonHighlightFeedId.hide();buttonFeedId.hide();if(''!=null&&''!=""&&'False'!=true){buttonHighlightFeedId.show();}
148else{buttonFeedId.show();}
149var checkUser=false;var isPurchased='False';if(checkUser!=null&&checkUser!=""){if(isPurchased!='True'){var buttonNotPurchased=$("#colBtnNotPurchased"+32841);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32841);buttonNotPurchased.show();buttonPurchasedUrl.hide();}}
150else if(isPurchased=='True'){console.log("true"+isPurchased);}
151else{$("#ThreeColVideo"+32841).addClass("disable-button");var buttonNotPurchased=$("#colBtnNotPurchased"+32841);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32841);buttonNotPurchased.show();buttonPurchasedUrl.hide();}});function ChangeButton(Id,playerid,feedurl,posterImage,image,button,newId){var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){PlayShow(playerid,feedurl,posterImage,image,button,newId);var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
152else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
153function ChangeButtonMKIO(Id,feedurl,posterImage,image,button,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});}
154else{elements.forEach(element=>{element.style.paddingBottom='0%';});}
155const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")}
156$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState)
157var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
158else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
159function RegisterUserActionForPreLive(Id,feedurl,posterImage,image,button,newId,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});}
160else{elements.forEach(element=>{element.style.paddingBottom='0%';});}
161const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")}
162$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){var checkUser=false;var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();$.ajax({url:"/PSTVTransaction/UserActionForPreLive",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,feedurl);}});var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
163else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
164function RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState){var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();model.FeedUrl=feedurl;$.ajax({url:"/PSTVTransaction/UserAction",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,data);}});}
165function ChangePurchasedButton(id){$("#ThreeColVideo"+id).removeClass("disable-button");var buttonPlayPurchasedUrl=$("#plyBtnPurchasedUrl"+id);var buttonNotPurchased=$("#colBtnNotPurchased"+id);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+id);buttonPlayPurchasedUrl.hide();buttonNotPurchased.hide();buttonPurchasedUrl.show();}
166function CheckAndRedirect(id){var checkUser=false;if(checkUser!=null&&checkUser!=""){var leaguename='MSHSL';window.location.href="/"+leaguename+"/EventPackage/"+id;}
167else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename+"&PostId="+id;}}</script>
167</div><div id=homeThreeTile_32843><div class="large-4 medium-6 small-12 column thumb-box"><div class=clearfix><div class="video-big-box video-small-box"><img id=colImage32843 class=big-thumb src=//ssmstorage.blob.core.windows.net/gamethumbnails/MankatoEastNewPrague9252026101959PM.jpg alt=""> <img class=samll-thumb-overlay src=//ssmstorage.blob.core.windows.net/ssmtvassets/ClickToSubscribe.png alt="" onclick="document.location='/MSHSL/Subscription'"></div></div><h3><b>Mankato East Vs New Prague</b><p class=event-date><span id=publishDate32843> </span> <span style=margin-left:11% id=showTimeLeague32843> </span> <span class=fr>(Boys) Soccer</span> <span class=clr></span></h3></div>
167<script>$(document).ready(function(){var buttonHighlightFeedId=$("#colBtnHighlightFeed"+32843);$('.controlbar').addClass('hide-content');var buttonFeedId=$("#colBtnFeed"+32843);buttonHighlightFeedId.hide();buttonFeedId.hide();if(''!=null&&''!=""&&'False'!=true){buttonHighlightFeedId.show();}
168else{buttonFeedId.show();}
169var checkUser=false;var isPurchased='False';if(checkUser!=null&&checkUser!=""){if(isPurchased!='True'){var buttonNotPurchased=$("#colBtnNotPurchased"+32843);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32843);buttonNotPurchased.show();buttonPurchasedUrl.hide();}}
170else if(isPurchased=='True'){console.log("true"+isPurchased);}
171else{$("#ThreeColVideo"+32843).addClass("disable-button");var buttonNotPurchased=$("#colBtnNotPurchased"+32843);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32843);buttonNotPurchased.show();buttonPurchasedUrl.hide();}});function ChangeButton(Id,playerid,feedurl,posterImage,image,button,newId){var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){PlayShow(playerid,feedurl,posterImage,image,button,newId);var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
172else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
173function ChangeButtonMKIO(Id,feedurl,posterImage,image,button,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});}
174else{elements.forEach(element=>{element.style.paddingBottom='0%';});}
175const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")}
176$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState)
177var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
178else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
179function RegisterUserActionForPreLive(Id,feedurl,posterImage,image,button,newId,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});}
180else{elements.forEach(element=>{element.style.paddingBottom='0%';});}
181const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")}
182$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){var checkUser=false;var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();$.ajax({url:"/PSTVTransaction/UserActionForPreLive",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,feedurl);}});var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
183else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
184function RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState){var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();model.FeedUrl=feedurl;$.ajax({url:"/PSTVTransaction/UserAction",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,data);}});}
185function ChangePurchasedButton(id){$("#ThreeColVideo"+id).removeClass("disable-button");var buttonPlayPurchasedUrl=$("#plyBtnPurchasedUrl"+id);var buttonNotPurchased=$("#colBtnNotPurchased"+id);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+id);buttonPlayPurchasedUrl.hide();buttonNotPurchased.hide();buttonPurchasedUrl.show();}
186function CheckAndRedirect(id){var checkUser=false;if(checkUser!=null&&checkUser!=""){var leaguename='MSHSL';window.location.href="/"+leaguename+"/EventPackage/"+id;}
187else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename+"&PostId="+id;}}</script>
187</div><div id=homeThreeTile_32844><div class="large-4 medium-6 small-12 column thumb-box"><div class=clearfix><div class="video-big-box video-small-box"><img id=colImage32844 class=big-thumb src=//ssmstorage.blob.core.windows.net/gamethumbnails/MilacaStCloudCathedral9252026102041PM.jpg alt=""> <img class=samll-thumb-overlay src=//ssmstorage.blob.core.windows.net/ssmtvassets/ClickToSubscribe.png alt="" onclick="document.location='/MSHSL/Subscription'"></div></div><h3><b>Milaca Vs St. Cloud Cathedral</b><p class=event-date><span id=publishDate32844> </span> <span style=margin-left:11% id=showTimeLeague32844> </span> <span class=fr>(Girls) Volleyball</span> <span class=clr></span></h3></div>
187<script>$(document).ready(function(){var buttonHighlightFeedId=$("#colBtnHighlightFeed"+32844);$('.controlbar').addClass('hide-content');var buttonFeedId=$("#colBtnFeed"+32844);buttonHighlightFeedId.hide();buttonFeedId.hide();if(''!=null&&''!=""&&'False'!=true){buttonHighlightFeedId.show();}
188else{buttonFeedId.show();}
189var checkUser=false;var isPurchased='False';if(checkUser!=null&&checkUser!=""){if(isPurchased!='True'){var buttonNotPurchased=$("#colBtnNotPurchased"+32844);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32844);buttonNotPurchased.show();buttonPurchasedUrl.hide();}}
190else if(isPurchased=='True'){console.log("true"+isPurchased);}
191else{$("#ThreeColVideo"+32844).addClass("disable-button");var buttonNotPurchased=$("#colBtnNotPurchased"+32844);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32844);buttonNotPurchased.show();buttonPurchasedUrl.hide();}});function ChangeButton(Id,playerid,feedurl,posterImage,image,button,newId){var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){PlayShow(playerid,feedurl,posterImage,image,button,newId);var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
192else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
193function ChangeButtonMKIO(Id,feedurl,posterImage,image,button,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});}
194else{elements.forEach(element=>{element.style.paddingBottom='0%';});}
195const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")}
196$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState)
197var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
198else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
199function RegisterUserActionForPreLive(Id,feedurl,posterImage,image,button,newId,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});}
200else{elements.forEach(element=>{element.style.paddingBottom='0%';});}
201const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")}
202$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){var checkUser=false;var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();$.ajax({url:"/PSTVTransaction/UserActionForPreLive",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,feedurl);}});var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
203else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
204function RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState){var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();model.FeedUrl=feedurl;$.ajax({url:"/PSTVTransaction/UserAction",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,data);}});}
205function ChangePurchasedButton(id){$("#ThreeColVideo"+id).removeClass("disable-button");var buttonPlayPurchasedUrl=$("#plyBtnPurchasedUrl"+id);var buttonNotPurchased=$("#colBtnNotPurchased"+id);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+id);buttonPlayPurchasedUrl.hide();buttonNotPurchased.hide();buttonPurchasedUrl.show();}
206function CheckAndRedirect(id){var checkUser=false;if(checkUser!=null&&checkUser!=""){var leaguename='MSHSL';window.location.href="/"+leaguename+"/EventPackage/"+id;}
207else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename+"&PostId="+id;}}</script>
207</div><div id=homeThreeTile_32845><div class="large-4 medium-6 small-12 column thumb-box"><div class=clearfix><div class="video-big-box video-small-box"><img id=colImage32845 class=big-thumb src=//ssmstorage.blob.core.windows.net/gamethumbnails/ForestLakeWoodbury9252026102120PM.jpg alt=""> <img class=samll-thumb-overlay src=//ssmstorage.blob.core.windows.net/ssmtvassets/ClickToSubscribe.png alt="" onclick="document.location='/MSHSL/Subscription'"></div></div><h3><b>Forest Lake Vs Woodbury</b><p class=event-date><span id=publishDate32845> </span> <span style=margin-left:11% id=showTimeLeague32845> </span> <span class=fr>(Girls) Volleyball</span> <span class=clr></span></h3></div>
207<script>$(document).ready(function(){var buttonHighlightFeedId=$("#colBtnHighlightFeed"+32845);$('.controlbar').addClass('hide-content');var buttonFeedId=$("#colBtnFeed"+32845);buttonHighlightFeedId.hide();buttonFeedId.hide();if(''!=null&&''!=""&&'False'!=true){buttonHighlightFeedId.show();}
208else{buttonFeedId.show();}
209var checkUser=false;var isPurchased='False';if(checkUser!=null&&checkUser!=""){if(isPurchased!='True'){var buttonNotPurchased=$("#colBtnNotPurchased"+32845);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32845);buttonNotPurchased.show();buttonPurchasedUrl.hide();}}
210else if(isPurchased=='True'){console.log("true"+isPurchased);}
211else{$("#ThreeColVideo"+32845).addClass("disable-button");var buttonNotPurchased=$("#colBtnNotPurchased"+32845);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32845);buttonNotPurchased.show();buttonPurchasedUrl.hide();}});function ChangeButton(Id,playerid,feedurl,posterImage,image,button,newId){var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){PlayShow(playerid,feedurl,posterImage,image,button,newId);var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
212else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
213function ChangeButtonMKIO(Id,feedurl,posterImage,image,button,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});}
214else{elements.forEach(element=>{element.style.paddingBottom='0%';});}
215const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")}
216$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState)
217var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
218else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
219function RegisterUserActionForPreLive(Id,feedurl,posterImage,image,button,newId,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});}
220else{elements.forEach(element=>{element.style.paddingBottom='0%';});}
221const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")}
222$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){var checkUser=false;var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();$.ajax({url:"/PSTVTransaction/UserActionForPreLive",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,feedurl);}});var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
223else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
224function RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState){var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();model.FeedUrl=feedurl;$.ajax({url:"/PSTVTransaction/UserAction",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,data);}});}
225function ChangePurchasedButton(id){$("#ThreeColVideo"+id).removeClass("disable-button");var buttonPlayPurchasedUrl=$("#plyBtnPurchasedUrl"+id);var buttonNotPurchased=$("#colBtnNotPurchased"+id);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+id);buttonPlayPurchasedUrl.hide();buttonNotPurchased.hide();buttonPurchasedUrl.show();}
226function CheckAndRedirect(id){var checkUser=false;if(checkUser!=null&&checkUser!=""){var leaguename='MSHSL';window.location.href="/"+leaguename+"/EventPackage/"+id;}
227else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename+"&PostId="+id;}}</script>
227</div><div id=homeThreeTile_32860><div class="large-4 medium-6 small-12 column thumb-box"><div class=clearfix><div class="video-big-box video-small-box"><img id=colImage32860 class=big-thumb src=//ssmstorage.blob.core.windows.net/gamethumbnails/MapleGroveSpringLakePark9252026110902PM.jpg alt=""> <img class=samll-thumb-overlay src=//ssmstorage.blob.core.windows.net/ssmtvassets/ClickToSubscribe.png alt="" onclick="document.location='/MSHSL/Subscription'"></div></div><h3><b>Maple Grove Vs Spring Lake Park</b><p class=event-date><span id=publishDate32860> </span> <span style=margin-left:11% id=showTimeLeague32860> </span> <span class=fr>(Girls) Soccer</span> <span class=clr></span></h3></div>
227<script>$(document).ready(function(){var buttonHighlightFeedId=$("#colBtnHighlightFeed"+32860);$('.controlbar').addClass('hide-content');var buttonFeedId=$("#colBtnFeed"+32860);buttonHighlightFeedId.hide();buttonFeedId.hide();if(''!=null&&''!=""&&'False'!=true){buttonHighlightFeedId.show();}
228else{buttonFeedId.show();}
229var checkUser=false;var isPurchased='False';if(checkUser!=null&&checkUser!=""){if(isPurchased!='True'){var buttonNotPurchased=$("#colBtnNotPurchased"+32860);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32860);buttonNotPurchased.show();buttonPurchasedUrl.hide();}}
230else if(isPurchased=='True'){console.log("true"+isPurchased);}
231else{$("#ThreeColVideo"+32860).addClass("disable-button");var buttonNotPurchased=$("#colBtnNotPurchased"+32860);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32860);buttonNotPurchased.show();buttonPurchasedUrl.hide();}});function ChangeButton(Id,playerid,feedurl,posterImage,image,button,newId){var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){PlayShow(playerid,feedurl,posterImage,image,button,newId);var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
232else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
233function ChangeButtonMKIO(Id,feedurl,posterImage,image,button,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});}
234else{elements.forEach(element=>{element.style.paddingBottom='0%';});}
235const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")}
236$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState)
237var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
238else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
239function RegisterUserActionForPreLive(Id,feedurl,posterImage,image,button,newId,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});}
240else{elements.forEach(element=>{element.style.paddingBottom='0%';});}
241const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")}
242$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){var checkUser=false;var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();$.ajax({url:"/PSTVTransaction/UserActionForPreLive",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,feedurl);}});var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
243else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
244function RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState){var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();model.FeedUrl=feedurl;$.ajax({url:"/PSTVTransaction/UserAction",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,data);}});}
245function ChangePurchasedButton(id){$("#ThreeColVideo"+id).removeClass("disable-button");var buttonPlayPurchasedUrl=$("#plyBtnPurchasedUrl"+id);var buttonNotPurchased=$("#colBtnNotPurchased"+id);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+id);buttonPlayPurchasedUrl.hide();buttonNotPurchased.hide();buttonPurchasedUrl.show();}
246function CheckAndRedirect(id){var checkUser=false;if(checkUser!=null&&checkUser!=""){var leaguename='MSHSL';window.location.href="/"+leaguename+"/EventPackage/"+id;}
247else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename+"&PostId="+id;}}</script>
247</div><span class=clr></span></div><hr><div class="row video-thumbnails-all"><div id=homeThreeTile_32858><div class="large-4 medium-6 small-12 column thumb-box"><div class=clearfix><div class="video-big-box video-small-box"><img id=colImage32858 class=big-thumb src=//ssmstorage.blob.core.windows.net/gamethumbnails/ArmstrongSpringLakePark928202631421PM.jpg alt=""> <img class=samll-thumb-overlay src=//ssmstorage.blob.core.windows.net/ssmtvassets/SignIn-Free.png alt="" onclick="document.location='/Auth/SignIn?returnUrl=/MSHSL'"></div></div><h3><b>Armstrong Vs Spring Lake Park</b><p class=event-date><span id=publishDate32858> </span> <span style=margin-left:11% id=showTimeLeague32858> </span> <span class=fr>(Boys) Soccer</span> <span class=clr></span> <button class="small-btn-red fr" onclick="location.href='/MSHSL/Payment/32858'"> Download </button> <span class=clr></span></h3></div>
247<script>$(document).ready(function(){var buttonHighlightFeedId=$("#colBtnHighlightFeed"+32858);$('.controlbar').addClass('hide-content');var buttonFeedId=$("#colBtnFeed"+32858);buttonHighlightFeedId.hide();buttonFeedId.hide();if(''!=null&&''!=""&&'False'!=true){buttonHighlightFeedId.show();}
248else{buttonFeedId.show();}
249var checkUser=false;var isPurchased='False';if(checkUser!=null&&checkUser!=""){if(isPurchased!='True'){var buttonNotPurchased=$("#colBtnNotPurchased"+32858);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32858);buttonNotPurchased.show();buttonPurchasedUrl.hide();}}
250else if(isPurchased=='True'){console.log("true"+isPurchased);}
251else{$("#ThreeColVideo"+32858).addClass("disable-button");var buttonNotPurchased=$("#colBtnNotPurchased"+32858);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32858);buttonNotPurchased.show();buttonPurchasedUrl.hide();}});function ChangeButton(Id,playerid,feedurl,posterImage,image,button,newId){var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){PlayShow(playerid,feedurl,posterImage,image,button,newId);var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
252else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
253function ChangeButtonMKIO(Id,feedurl,posterImage,image,button,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});}
254else{elements.forEach(element=>{element.style.paddingBottom='0%';});}
255const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")}
256$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState)
257var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
258else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
259function RegisterUserActionForPreLive(Id,feedurl,posterImage,image,button,newId,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});}
260else{elements.forEach(element=>{element.style.paddingBottom='0%';});}
261const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")}
262$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){var checkUser=false;var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();$.ajax({url:"/PSTVTransaction/UserActionForPreLive",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,feedurl);}});var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
263else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
264function RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState){var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();model.FeedUrl=feedurl;$.ajax({url:"/PSTVTransaction/UserAction",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,data);}});}
265function ChangePurchasedButton(id){$("#ThreeColVideo"+id).removeClass("disable-button");var buttonPlayPurchasedUrl=$("#plyBtnPurchasedUrl"+id);var buttonNotPurchased=$("#colBtnNotPurchased"+id);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+id);buttonPlayPurchasedUrl.hide();buttonNotPurchased.hide();buttonPurchasedUrl.show();}
266function CheckAndRedirect(id){var checkUser=false;if(checkUser!=null&&checkUser!=""){var leaguename='MSHSL';window.location.href="/"+leaguename+"/EventPackage/"+id;}
267else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename+"&PostId="+id;}}</script>
267</div><div id=homeThreeTile_32859><div class="large-4 medium-6 small-12 column thumb-box"><div class=clearfix><div class="video-big-box video-small-box"><img id=colImage32859 class=big-thumb src=//ssmstorage.blob.core.windows.net/gamethumbnails/ArmstrongSpringLakePark9252026110808PM.jpg alt=""> <img class=samll-thumb-overlay src=//ssmstorage.blob.core.windows.net/ssmtvassets/SignIn-Free.png alt="" onclick="document.location='/Auth/SignIn?returnUrl=/MSHSL'"></div></div><h3><b>Armstrong Vs Spring Lake Park</b><p class=event-date><span id=publishDate32859> </span> <span style=margin-left:11% id=showTimeLeague32859> </span> <span class=fr>(Girls) Volleyball</span> <span class=clr></span> <button class="small-btn-red fr" onclick="location.href='/MSHSL/Payment/32859'"> Download </button> <span class=clr></span></h3></div>
267<script>$(document).ready(function(){var buttonHighlightFeedId=$("#colBtnHighlightFeed"+32859);$('.controlbar').addClass('hide-content');var buttonFeedId=$("#colBtnFeed"+32859);buttonHighlightFeedId.hide();buttonFeedId.hide();if(''!=null&&''!=""&&'False'!=true){buttonHighlightFeedId.show();}
268else{buttonFeedId.show();}
269var checkUser=false;var isPurchased='False';if(checkUser!=null&&checkUser!=""){if(isPurchased!='True'){var buttonNotPurchased=$("#colBtnNotPurchased"+32859);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32859);buttonNotPurchased.show();buttonPurchasedUrl.hide();}}
270else if(isPurchased=='True'){console.log("true"+isPurchased);}
271else{$("#ThreeColVideo"+32859).addClass("disable-button");var buttonNotPurchased=$("#colBtnNotPurchased"+32859);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32859);buttonNotPurchased.show();buttonPurchasedUrl.hide();}});function ChangeButton(Id,playerid,feedurl,posterImage,image,button,newId){var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){PlayShow(playerid,feedurl,posterImage,image,button,newId);var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
272else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
273function ChangeButtonMKIO(Id,feedurl,posterImage,image,button,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});}
274else{elements.forEach(element=>{element.style.paddingBottom='0%';});}
275const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")}
276$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState)
277var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
278else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
279function RegisterUserActionForPreLive(Id,feedurl,posterImage,image,button,newId,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});}
280else{elements.forEach(element=>{element.style.paddingBottom='0%';});}
281const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")}
282$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){var checkUser=false;var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();$.ajax({url:"/PSTVTransaction/UserActionForPreLive",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,feedurl);}});var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
283else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
284function RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState){var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();model.FeedUrl=feedurl;$.ajax({url:"/PSTVTransaction/UserAction",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,data);}});}
285function ChangePurchasedButton(id){$("#ThreeColVideo"+id).removeClass("disable-button");var buttonPlayPurchasedUrl=$("#plyBtnPurchasedUrl"+id);var buttonNotPurchased=$("#colBtnNotPurchased"+id);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+id);buttonPlayPurchasedUrl.hide();buttonNotPurchased.hide();buttonPurchasedUrl.show();}
286function CheckAndRedirect(id){var checkUser=false;if(checkUser!=null&&checkUser!=""){var leaguename='MSHSL';window.location.href="/"+leaguename+"/EventPackage/"+id;}
287else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename+"&PostId="+id;}}</script>
287</div><span class=clr></span></div><hr><div class="row video-thumbnails-all"><input type=hidden id=IsPurchased_32892 value=True><div id=homeThreeTile_32892><div class="large-4 medium-6 small-12 column thumb-box"><div class=clearfix><div class="video-big-box video-small-box"><img id=colImage32892 class=big-thumb src=//ssmstorage.blob.core.windows.net/gamethumbnails/NSPNPrepUpdateThumbnailS2Ep13png929202642653PM.jpg alt=""> <img class=samll-thumb-overlay src=//ssmstorage.blob.core.windows.net/ssmtvassets/SignIn-Free.png alt="" onclick="document.location='/Auth/SignIn?returnUrl=/MSHSL'"></div></div><h3><b>NSPN Prep Update - Episode 53</b><p class=event-date><span id=publishDate32892> </span> <span style=margin-left:11% id=showTimeLeague32892> </span> <span class=fr>Other</span> <span class=clr></span> <button class="small-btn-red fr" onclick="location.href='/MSHSL/Payment/32892'"> Download </button> <span class=clr></span></h3></div>
287<script>$(document).ready(function(){var buttonHighlightFeedId=$("#colBtnHighlightFeed"+32892);$('.controlbar').addClass('hide-content');var buttonFeedId=$("#colBtnFeed"+32892);buttonHighlightFeedId.hide();buttonFeedId.hide();if(''!=null&&''!=""&&'False'!=true){buttonHighlightFeedId.show();}
288else{buttonFeedId.show();}
289var checkUser=false;var isPurchased='True';if(checkUser!=null&&checkUser!=""){if(isPurchased!='True'){var buttonNotPurchased=$("#colBtnNotPurchased"+32892);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32892);buttonNotPurchased.show();buttonPurchasedUrl.hide();}}
290else if(isPurchased=='True'){console.log("true"+isPurchased);}
291else{$("#ThreeColVideo"+32892).addClass("disable-button");var buttonNotPurchased=$("#colBtnNotPurchased"+32892);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32892);buttonNotPurchased.show();buttonPurchasedUrl.hide();}});function ChangeButton(Id,playerid,feedurl,posterImage,image,button,newId){var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){PlayShow(playerid,feedurl,posterImage,image,button,newId);var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
292else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
293function ChangeButtonMKIO(Id,feedurl,posterImage,image,button,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});}
294else{elements.forEach(element=>{element.style.paddingBottom='0%';});}
295const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")}
296$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState)
297var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
298else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
299function RegisterUserActionForPreLive(Id,feedurl,posterImage,image,button,newId,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});}
300else{elements.forEach(element=>{element.style.paddingBottom='0%';});}
301const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")}
302$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){var checkUser=false;var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();$.ajax({url:"/PSTVTransaction/UserActionForPreLive",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,feedurl);}});var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
303else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
304function RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState){var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();model.FeedUrl=feedurl;$.ajax({url:"/PSTVTransaction/UserAction",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,data);}});}
305function ChangePurchasedButton(id){$("#ThreeColVideo"+id).removeClass("disable-button");var buttonPlayPurchasedUrl=$("#plyBtnPurchasedUrl"+id);var buttonNotPurchased=$("#colBtnNotPurchased"+id);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+id);buttonPlayPurchasedUrl.hide();buttonNotPurchased.hide();buttonPurchasedUrl.show();}
306function CheckAndRedirect(id){var checkUser=false;if(checkUser!=null&&checkUser!=""){var leaguename='MSHSL';window.location.href="/"+leaguename+"/EventPackage/"+id;}
307else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename+"&PostId="+id;}}</script>
307</div><div id=homeThreeTile_32817><div class="large-4 medium-6 small-12 column thumb-box"><div class=clearfix><div class="video-big-box video-small-box"><img id=colImage32817 class=big-thumb src=//ssmstorage.blob.core.windows.net/gamethumbnails/WoodburyEastRidge925202683456PM.jpg alt=""> <img class=samll-thumb-overlay src=//ssmstorage.blob.core.windows.net/ssmtvassets/SignIn-Free.png alt="" onclick="document.location='/Auth/SignIn?returnUrl=/MSHSL'"></div></div><h3><b>Woodbury Vs East Ridge</b><p class=event-date><span id=publishDate32817> </span> <span style=margin-left:11% id=showTimeLeague32817> </span> <span class=fr>(Girls) Soccer</span> <span class=clr></span> <button class="small-btn-red fr" onclick="location.href='/MSHSL/Payment/32817'"> Download </button> <span class=clr></span></h3></div>
307<script>$(document).ready(function(){var buttonHighlightFeedId=$("#colBtnHighlightFeed"+32817);$('.controlbar').addClass('hide-content');var buttonFeedId=$("#colBtnFeed"+32817);buttonHighlightFeedId.hide();buttonFeedId.hide();if(''!=null&&''!=""&&'False'!=true){buttonHighlightFeedId.show();}
308else{buttonFeedId.show();}
309var checkUser=false;var isPurchased='False';if(checkUser!=null&&checkUser!=""){if(isPurchased!='True'){var buttonNotPurchased=$("#colBtnNotPurchased"+32817);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32817);buttonNotPurchased.show();buttonPurchasedUrl.hide();}}
310else if(isPurchased=='True'){console.log("true"+isPurchased);}
311else{$("#ThreeColVideo"+32817).addClass("disable-button");var buttonNotPurchased=$("#colBtnNotPurchased"+32817);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32817);buttonNotPurchased.show();buttonPurchasedUrl.hide();}});function ChangeButton(Id,playerid,feedurl,posterImage,image,button,newId){var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){PlayShow(playerid,feedurl,posterImage,image,button,newId);var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
312else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
313function ChangeButtonMKIO(Id,feedurl,posterImage,image,button,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});}
314else{elements.forEach(element=>{element.style.paddingBottom='0%';});}
315const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")}
316$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState)
317var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
318else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
319function RegisterUserActionForPreLive(Id,feedurl,posterImage,image,button,newId,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});}
320else{elements.forEach(element=>{element.style.paddingBottom='0%';});}
321const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")}
322$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){var checkUser=false;var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();$.ajax({url:"/PSTVTransaction/UserActionForPreLive",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,feedurl);}});var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
323else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
324function RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState){var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();model.FeedUrl=feedurl;$.ajax({url:"/PSTVTransaction/UserAction",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,data);}});}
325function ChangePurchasedButton(id){$("#ThreeColVideo"+id).removeClass("disable-button");var buttonPlayPurchasedUrl=$("#plyBtnPurchasedUrl"+id);var buttonNotPurchased=$("#colBtnNotPurchased"+id);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+id);buttonPlayPurchasedUrl.hide();buttonNotPurchased.hide();buttonPurchasedUrl.show();}
326function CheckAndRedirect(id){var checkUser=false;if(checkUser!=null&&checkUser!=""){var leaguename='MSHSL';window.location.href="/"+leaguename+"/EventPackage/"+id;}
327else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename+"&PostId="+id;}}</script>
327</div><div id=homeThreeTile_32819><div class="large-4 medium-6 small-12 column thumb-box"><div class=clearfix><div class="video-big-box video-small-box"><img id=colImage32819 class=big-thumb src=//ssmstorage.blob.core.windows.net/gamethumbnails/SouthStPaulHillMurray925202683701PM.jpg alt=""> <img class=samll-thumb-overlay src=//ssmstorage.blob.core.windows.net/ssmtvassets/SignIn-Free.png alt="" onclick="document.location='/Auth/SignIn?returnUrl=/MSHSL'"></div></div><h3><b>South St. Paul Vs Hill-Murray</b><p class=event-date><span id=publishDate32819> </span> <span style=margin-left:11% id=showTimeLeague32819> </span> <span class=fr>(Boys) Soccer</span> <span class=clr></span> <button class="small-btn-red fr" onclick="location.href='/MSHSL/Payment/32819'"> Download </button> <span class=clr></span></h3></div>
327<script>$(document).ready(function(){var buttonHighlightFeedId=$("#colBtnHighlightFeed"+32819);$('.controlbar').addClass('hide-content');var buttonFeedId=$("#colBtnFeed"+32819);buttonHighlightFeedId.hide();buttonFeedId.hide();if(''!=null&&''!=""&&'False'!=true){buttonHighlightFeedId.show();}
328else{buttonFeedId.show();}
329var checkUser=false;var isPurchased='False';if(checkUser!=null&&checkUser!=""){if(isPurchased!='True'){var buttonNotPurchased=$("#colBtnNotPurchased"+32819);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32819);buttonNotPurchased.show();buttonPurchasedUrl.hide();}}
330else if(isPurchased=='True'){console.log("true"+isPurchased);}
331else{$("#ThreeColVideo"+32819).addClass("disable-button");var buttonNotPurchased=$("#colBtnNotPurchased"+32819);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32819);buttonNotPurchased.show();buttonPurchasedUrl.hide();}});function ChangeButton(Id,playerid,feedurl,posterImage,image,button,newId){var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){PlayShow(playerid,feedurl,posterImage,image,button,newId);var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
332else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
333function ChangeButtonMKIO(Id,feedurl,posterImage,image,button,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});}
334else{elements.forEach(element=>{element.style.paddingBottom='0%';});}
335const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")}
336$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState)
337var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
338else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
339function RegisterUserActionForPreLive(Id,feedurl,posterImage,image,button,newId,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});}
340else{elements.forEach(element=>{element.style.paddingBottom='0%';});}
341const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")}
342$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){var checkUser=false;var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();$.ajax({url:"/PSTVTransaction/UserActionForPreLive",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,feedurl);}});var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
343else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
344function RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState){var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();model.FeedUrl=feedurl;$.ajax({url:"/PSTVTransaction/UserAction",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,data);}});}
345function ChangePurchasedButton(id){$("#ThreeColVideo"+id).removeClass("disable-button");var buttonPlayPurchasedUrl=$("#plyBtnPurchasedUrl"+id);var buttonNotPurchased=$("#colBtnNotPurchased"+id);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+id);buttonPlayPurchasedUrl.hide();buttonNotPurchased.hide();buttonPurchasedUrl.show();}
346function CheckAndRedirect(id){var checkUser=false;if(checkUser!=null&&checkUser!=""){var leaguename='MSHSL';window.location.href="/"+leaguename+"/EventPackage/"+id;}
347else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename+"&PostId="+id;}}</script>
347</div><div id=homeThreeTile_32821><div class="large-4 medium-6 small-12 column thumb-box"><div class=clearfix><div class="video-big-box video-small-box"><img id=colImage32821 class=big-thumb src=//ssmstorage.blob.core.windows.net/gamethumbnails/IrondalePark925202683825PM.jpg alt=""> <img class=samll-thumb-overlay src=//ssmstorage.blob.core.windows.net/ssmtvassets/SignIn-Free.png alt="" onclick="document.location='/Auth/SignIn?returnUrl=/MSHSL'"></div></div><h3><b>Irondale Vs Park</b><p class=event-date><span id=publishDate32821> </span> <span style=margin-left:11% id=showTimeLeague32821> </span> <span class=fr>(Girls) Soccer</span> <span class=clr></span> <button class="small-btn-red fr" onclick="location.href='/MSHSL/Payment/32821'"> Download </button> <span class=clr></span></h3></div>
347<script>$(document).ready(function(){var buttonHighlightFeedId=$("#colBtnHighlightFeed"+32821);$('.controlbar').addClass('hide-content');var buttonFeedId=$("#colBtnFeed"+32821);buttonHighlightFeedId.hide();buttonFeedId.hide();if(''!=null&&''!=""&&'False'!=true){buttonHighlightFeedId.show();}
348else{buttonFeedId.show();}
349var checkUser=false;var isPurchased='False';if(checkUser!=null&&checkUser!=""){if(isPurchased!='True'){var buttonNotPurchased=$("#colBtnNotPurchased"+32821);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32821);buttonNotPurchased.show();buttonPurchasedUrl.hide();}}
350else if(isPurchased=='True'){console.log("true"+isPurchased);}
351else{$("#ThreeColVideo"+32821).addClass("disable-button");var buttonNotPurchased=$("#colBtnNotPurchased"+32821);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32821);buttonNotPurchased.show();buttonPurchasedUrl.hide();}});function ChangeButton(Id,playerid,feedurl,posterImage,image,button,newId){var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){PlayShow(playerid,feedurl,posterImage,image,button,newId);var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
352else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
353function ChangeButtonMKIO(Id,feedurl,posterImage,image,button,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});}
354else{elements.forEach(element=>{element.style.paddingBottom='0%';});}
355const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")}
356$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState)
357var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
358else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
359function RegisterUserActionForPreLive(Id,feedurl,posterImage,image,button,newId,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});}
360else{elements.forEach(element=>{element.style.paddingBottom='0%';});}
361const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")}
362$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){var checkUser=false;var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();$.ajax({url:"/PSTVTransaction/UserActionForPreLive",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,feedurl);}});var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
363else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
364function RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState){var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();model.FeedUrl=feedurl;$.ajax({url:"/PSTVTransaction/UserAction",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,data);}});}
365function ChangePurchasedButton(id){$("#ThreeColVideo"+id).removeClass("disable-button");var buttonPlayPurchasedUrl=$("#plyBtnPurchasedUrl"+id);var buttonNotPurchased=$("#colBtnNotPurchased"+id);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+id);buttonPlayPurchasedUrl.hide();buttonNotPurchased.hide();buttonPurchasedUrl.show();}
366function CheckAndRedirect(id){var checkUser=false;if(checkUser!=null&&checkUser!=""){var leaguename='MSHSL';window.location.href="/"+leaguename+"/EventPackage/"+id;}
367else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename+"&PostId="+id;}}</script>
367</div><div id=homeThreeTile_32826><div class="large-4 medium-6 small-12 column thumb-box"><div class=clearfix><div class="video-big-box video-small-box"><img id=colImage32826 class=big-thumb src=//ssmstorage.blob.core.windows.net/gamethumbnails/HighlandParkHillMurray925202684245PM.jpg alt=""> <img class=samll-thumb-overlay src=//ssmstorage.blob.core.windows.net/ssmtvassets/SignIn-Free.png alt="" onclick="document.location='/Auth/SignIn?returnUrl=/MSHSL'"></div></div><h3><b>Highland Park Vs Hill-Murray</b><p class=event-date><span id=publishDate32826> </span> <span style=margin-left:11% id=showTimeLeague32826> </span> <span class=fr>(Girls) Volleyball</span> <span class=clr></span> <button class="small-btn-red fr" onclick="location.href='/MSHSL/Payment/32826'"> Download </button> <span class=clr></span></h3></div>
367<script>$(document).ready(function(){var buttonHighlightFeedId=$("#colBtnHighlightFeed"+32826);$('.controlbar').addClass('hide-content');var buttonFeedId=$("#colBtnFeed"+32826);buttonHighlightFeedId.hide();buttonFeedId.hide();if(''!=null&&''!=""&&'False'!=true){buttonHighlightFeedId.show();}
368else{buttonFeedId.show();}
369var checkUser=false;var isPurchased='False';if(checkUser!=null&&checkUser!=""){if(isPurchased!='True'){var buttonNotPurchased=$("#colBtnNotPurchased"+32826);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32826);buttonNotPurchased.show();buttonPurchasedUrl.hide();}}
370else if(isPurchased=='True'){console.log("true"+isPurchased);}
371else{$("#ThreeColVideo"+32826).addClass("disable-button");var buttonNotPurchased=$("#colBtnNotPurchased"+32826);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32826);buttonNotPurchased.show();buttonPurchasedUrl.hide();}});function ChangeButton(Id,playerid,feedurl,posterImage,image,button,newId){var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){PlayShow(playerid,feedurl,posterImage,image,button,newId);var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
372else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
373function ChangeButtonMKIO(Id,feedurl,posterImage,image,button,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});}
374else{elements.forEach(element=>{element.style.paddingBottom='0%';});}
375const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")}
376$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState)
377var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
378else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
379function RegisterUserActionForPreLive(Id,feedurl,posterImage,image,button,newId,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});}
380else{elements.forEach(element=>{element.style.paddingBottom='0%';});}
381const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")}
382$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){var checkUser=false;var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();$.ajax({url:"/PSTVTransaction/UserActionForPreLive",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,feedurl);}});var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
383else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
384function RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState){var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();model.FeedUrl=feedurl;$.ajax({url:"/PSTVTransaction/UserAction",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,data);}});}
385function ChangePurchasedButton(id){$("#ThreeColVideo"+id).removeClass("disable-button");var buttonPlayPurchasedUrl=$("#plyBtnPurchasedUrl"+id);var buttonNotPurchased=$("#colBtnNotPurchased"+id);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+id);buttonPlayPurchasedUrl.hide();buttonNotPurchased.hide();buttonPurchasedUrl.show();}
386function CheckAndRedirect(id){var checkUser=false;if(checkUser!=null&&checkUser!=""){var leaguename='MSHSL';window.location.href="/"+leaguename+"/EventPackage/"+id;}
387else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename+"&PostId="+id;}}</script>
387</div><div id=homeThreeTile_32818><div class="large-4 medium-6 small-12 column thumb-box"><div class=clearfix><div class="video-big-box video-small-box"><img id=colImage32818 class=big-thumb src=//ssmstorage.blob.core.windows.net/gamethumbnails/WoodburyEastRidge925202683550PM.jpg alt=""> <img class=samll-thumb-overlay src=//ssmstorage.blob.core.windows.net/ssmtvassets/SignIn-Free.png alt="" onclick="document.location='/Auth/SignIn?returnUrl=/MSHSL'"></div></div><h3><b>Woodbury Vs East Ridge</b><p class=event-date><span id=publishDate32818> </span> <span style=margin-left:11% id=showTimeLeague32818> </span> <span class=fr>(Boys) Soccer</span> <span class=clr></span> <button class="small-btn-red fr" onclick="location.href='/MSHSL/Payment/32818'"> Download </button> <span class=clr></span></h3></div>
387<script>$(document).ready(function(){var buttonHighlightFeedId=$("#colBtnHighlightFeed"+32818);$('.controlbar').addClass('hide-content');var buttonFeedId=$("#colBtnFeed"+32818);buttonHighlightFeedId.hide();buttonFeedId.hide();if(''!=null&&''!=""&&'False'!=true){buttonHighlightFeedId.show();}
388else{buttonFeedId.show();}
389var checkUser=false;var isPurchased='False';if(checkUser!=null&&checkUser!=""){if(isPurchased!='True'){var buttonNotPurchased=$("#colBtnNotPurchased"+32818);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32818);buttonNotPurchased.show();buttonPurchasedUrl.hide();}}
390else if(isPurchased=='True'){console.log("true"+isPurchased);}
391else{$("#ThreeColVideo"+32818).addClass("disable-button");var buttonNotPurchased=$("#colBtnNotPurchased"+32818);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32818);buttonNotPurchased.show();buttonPurchasedUrl.hide();}});function ChangeButton(Id,playerid,feedurl,posterImage,image,button,newId){var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){PlayShow(playerid,feedurl,posterImage,image,button,newId);var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
392else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
393function ChangeButtonMKIO(Id,feedurl,posterImage,image,button,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});}
394else{elements.forEach(element=>{element.style.paddingBottom='0%';});}
395const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")}
396$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState)
397var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
398else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
399function RegisterUserActionForPreLive(Id,feedurl,posterImage,image,button,newId,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});}
400else{elements.forEach(element=>{element.style.paddingBottom='0%';});}
401const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")}
402$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){var checkUser=false;var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();$.ajax({url:"/PSTVTransaction/UserActionForPreLive",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,feedurl);}});var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
403else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
404function RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState){var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();model.FeedUrl=feedurl;$.ajax({url:"/PSTVTransaction/UserAction",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,data);}});}
405function ChangePurchasedButton(id){$("#ThreeColVideo"+id).removeClass("disable-button");var buttonPlayPurchasedUrl=$("#plyBtnPurchasedUrl"+id);var buttonNotPurchased=$("#colBtnNotPurchased"+id);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+id);buttonPlayPurchasedUrl.hide();buttonNotPurchased.hide();buttonPurchasedUrl.show();}
406function CheckAndRedirect(id){var checkUser=false;if(checkUser!=null&&checkUser!=""){var leaguename='MSHSL';window.location.href="/"+leaguename+"/EventPackage/"+id;}
407else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename+"&PostId="+id;}}</script>
407</div><div id=homeThreeTile_32820><div class="large-4 medium-6 small-12 column thumb-box"><div class=clearfix><div class="video-big-box video-small-box"><img id=colImage32820 class=big-thumb src=//ssmstorage.blob.core.windows.net/gamethumbnails/SouthStPaulHillMurray925202683743PM.jpg alt=""> <img class=samll-thumb-overlay src=//ssmstorage.blob.core.windows.net/ssmtvassets/SignIn-Free.png alt="" onclick="document.location='/Auth/SignIn?returnUrl=/MSHSL'"></div></div><h3><b>South St. Paul Vs Hill-Murray</b><p class=event-date><span id=publishDate32820> </span> <span style=margin-left:11% id=showTimeLeague32820> </span> <span class=fr>(Girls) Soccer</span> <span class=clr></span> <button class="small-btn-red fr" onclick="location.href='/MSHSL/Payment/32820'"> Download </button> <span class=clr></span></h3></div>
407<script>$(document).ready(function(){var buttonHighlightFeedId=$("#colBtnHighlightFeed"+32820);$('.controlbar').addClass('hide-content');var buttonFeedId=$("#colBtnFeed"+32820);buttonHighlightFeedId.hide();buttonFeedId.hide();if(''!=null&&''!=""&&'False'!=true){buttonHighlightFeedId.show();}
408else{buttonFeedId.show();}
409var checkUser=false;var isPurchased='False';if(checkUser!=null&&checkUser!=""){if(isPurchased!='True'){var buttonNotPurchased=$("#colBtnNotPurchased"+32820);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32820);buttonNotPurchased.show();buttonPurchasedUrl.hide();}}
410else if(isPurchased=='True'){console.log("true"+isPurchased);}
411else{$("#ThreeColVideo"+32820).addClass("disable-button");var buttonNotPurchased=$("#colBtnNotPurchased"+32820);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32820);buttonNotPurchased.show();buttonPurchasedUrl.hide();}});function ChangeButton(Id,playerid,feedurl,posterImage,image,button,newId){var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){PlayShow(playerid,feedurl,posterImage,image,button,newId);var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
412else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
413function ChangeButtonMKIO(Id,feedurl,posterImage,image,button,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});}
414else{elements.forEach(element=>{element.style.paddingBottom='0%';});}
415const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")}
416$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState)
417var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
418else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
419function RegisterUserActionForPreLive(Id,feedurl,posterImage,image,button,newId,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});}
420else{elements.forEach(element=>{element.style.paddingBottom='0%';});}
421const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")}
422$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){var checkUser=false;var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();$.ajax({url:"/PSTVTransaction/UserActionForPreLive",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,feedurl);}});var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
423else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
424function RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState){var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();model.FeedUrl=feedurl;$.ajax({url:"/PSTVTransaction/UserAction",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,data);}});}
425function ChangePurchasedButton(id){$("#ThreeColVideo"+id).removeClass("disable-button");var buttonPlayPurchasedUrl=$("#plyBtnPurchasedUrl"+id);var buttonNotPurchased=$("#colBtnNotPurchased"+id);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+id);buttonPlayPurchasedUrl.hide();buttonNotPurchased.hide();buttonPurchasedUrl.show();}
426function CheckAndRedirect(id){var checkUser=false;if(checkUser!=null&&checkUser!=""){var leaguename='MSHSL';window.location.href="/"+leaguename+"/EventPackage/"+id;}
427else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename+"&PostId="+id;}}</script>
427</div><div id=homeThreeTile_32822><div class="large-4 medium-6 small-12 column thumb-box"><div class=clearfix><div class="video-big-box video-small-box"><img id=colImage32822 class=big-thumb src=//ssmstorage.blob.core.windows.net/gamethumbnails/IrondalePark925202683916PM.jpg alt=""> <img class=samll-thumb-overlay src=//ssmstorage.blob.core.windows.net/ssmtvassets/SignIn-Free.png alt="" onclick="document.location='/Auth/SignIn?returnUrl=/MSHSL'"></div></div><h3><b>Irondale Vs Park</b><p class=event-date><span id=publishDate32822> </span> <span style=margin-left:11% id=showTimeLeague32822> </span> <span class=fr>(Boys) Soccer</span> <span class=clr></span> <button class="small-btn-red fr" onclick="location.href='/MSHSL/Payment/32822'"> Download </button> <span class=clr></span></h3></div>
427<script>$(document).ready(function(){var buttonHighlightFeedId=$("#colBtnHighlightFeed"+32822);$('.controlbar').addClass('hide-content');var buttonFeedId=$("#colBtnFeed"+32822);buttonHighlightFeedId.hide();buttonFeedId.hide();if(''!=null&&''!=""&&'False'!=true){buttonHighlightFeedId.show();}
428else{buttonFeedId.show();}
429var checkUser=false;var isPurchased='False';if(checkUser!=null&&checkUser!=""){if(isPurchased!='True'){var buttonNotPurchased=$("#colBtnNotPurchased"+32822);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32822);buttonNotPurchased.show();buttonPurchasedUrl.hide();}}
430else if(isPurchased=='True'){console.log("true"+isPurchased);}
431else{$("#ThreeColVideo"+32822).addClass("disable-button");var buttonNotPurchased=$("#colBtnNotPurchased"+32822);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32822);buttonNotPurchased.show();buttonPurchasedUrl.hide();}});function ChangeButton(Id,playerid,feedurl,posterImage,image,button,newId){var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){PlayShow(playerid,feedurl,posterImage,image,button,newId);var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
432else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
433function ChangeButtonMKIO(Id,feedurl,posterImage,image,button,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});}
434else{elements.forEach(element=>{element.style.paddingBottom='0%';});}
435const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")}
436$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState)
437var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
438else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
439function RegisterUserActionForPreLive(Id,feedurl,posterImage,image,button,newId,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});}
440else{elements.forEach(element=>{element.style.paddingBottom='0%';});}
441const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")}
442$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){var checkUser=false;var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();$.ajax({url:"/PSTVTransaction/UserActionForPreLive",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,feedurl);}});var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
443else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
444function RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState){var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();model.FeedUrl=feedurl;$.ajax({url:"/PSTVTransaction/UserAction",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,data);}});}
445function ChangePurchasedButton(id){$("#ThreeColVideo"+id).removeClass("disable-button");var buttonPlayPurchasedUrl=$("#plyBtnPurchasedUrl"+id);var buttonNotPurchased=$("#colBtnNotPurchased"+id);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+id);buttonPlayPurchasedUrl.hide();buttonNotPurchased.hide();buttonPurchasedUrl.show();}
446function CheckAndRedirect(id){var checkUser=false;if(checkUser!=null&&checkUser!=""){var leaguename='MSHSL';window.location.href="/"+leaguename+"/EventPackage/"+id;}
447else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename+"&PostId="+id;}}</script>
447</div><div id=homeThreeTile_32823><div class="large-4 medium-6 small-12 column thumb-box"><div class=clearfix><div class="video-big-box video-small-box"><img id=colImage32823 class=big-thumb src=//ssmstorage.blob.core.windows.net/gamethumbnails/MinnewaskaStCloudCathedral929202622536PM.jpg alt=""> <img class=samll-thumb-overlay src=//ssmstorage.blob.core.windows.net/ssmtvassets/SignIn-Free.png alt="" onclick="document.location='/Auth/SignIn?returnUrl=/MSHSL'"></div></div><h3><b>Minnewaska Vs St. Cloud Cathedral</b><p class=event-date><span id=publishDate32823> </span> <span style=margin-left:11% id=showTimeLeague32823> </span> <span class=fr>(Boys) Soccer</span> <span class=clr></span> <button class="small-btn-red fr" onclick="location.href='/MSHSL/Payment/32823'"> Download </button> <span class=clr></span></h3></div>
447<script>$(document).ready(function(){var buttonHighlightFeedId=$("#colBtnHighlightFeed"+32823);$('.controlbar').addClass('hide-content');var buttonFeedId=$("#colBtnFeed"+32823);buttonHighlightFeedId.hide();buttonFeedId.hide();if(''!=null&&''!=""&&'False'!=true){buttonHighlightFeedId.show();}
448else{buttonFeedId.show();}
449var checkUser=false;var isPurchased='False';if(checkUser!=null&&checkUser!=""){if(isPurchased!='True'){var buttonNotPurchased=$("#colBtnNotPurchased"+32823);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32823);buttonNotPurchased.show();buttonPurchasedUrl.hide();}}
450else if(isPurchased=='True'){console.log("true"+isPurchased);}
451else{$("#ThreeColVideo"+32823).addClass("disable-button");var buttonNotPurchased=$("#colBtnNotPurchased"+32823);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32823);buttonNotPurchased.show();buttonPurchasedUrl.hide();}});function ChangeButton(Id,playerid,feedurl,posterImage,image,button,newId){var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){PlayShow(playerid,feedurl,posterImage,image,button,newId);var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
452else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
453function ChangeButtonMKIO(Id,feedurl,posterImage,image,button,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});}
454else{elements.forEach(element=>{element.style.paddingBottom='0%';});}
455const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")}
456$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState)
457var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
458else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
459function RegisterUserActionForPreLive(Id,feedurl,posterImage,image,button,newId,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});}
460else{elements.forEach(element=>{element.style.paddingBottom='0%';});}
461const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")}
462$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){var checkUser=false;var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();$.ajax({url:"/PSTVTransaction/UserActionForPreLive",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,feedurl);}});var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
463else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
464function RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState){var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();model.FeedUrl=feedurl;$.ajax({url:"/PSTVTransaction/UserAction",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,data);}});}
465function ChangePurchasedButton(id){$("#ThreeColVideo"+id).removeClass("disable-button");var buttonPlayPurchasedUrl=$("#plyBtnPurchasedUrl"+id);var buttonNotPurchased=$("#colBtnNotPurchased"+id);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+id);buttonPlayPurchasedUrl.hide();buttonNotPurchased.hide();buttonPurchasedUrl.show();}
466function CheckAndRedirect(id){var checkUser=false;if(checkUser!=null&&checkUser!=""){var leaguename='MSHSL';window.location.href="/"+leaguename+"/EventPackage/"+id;}
467else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename+"&PostId="+id;}}</script>
467</div><div id=homeThreeTile_32827><div class="large-4 medium-6 small-12 column thumb-box"><div class=clearfix><div class="video-big-box video-small-box"><img id=colImage32827 class=big-thumb src=//ssmstorage.blob.core.windows.net/gamethumbnails/WoodburyEastRidge925202684325PM.jpg alt=""> <img class=samll-thumb-overlay src=//ssmstorage.blob.core.windows.net/ssmtvassets/SignIn-Free.png alt="" onclick="document.location='/Auth/SignIn?returnUrl=/MSHSL'"></div></div><h3><b>Woodbury Vs East Ridge</b><p class=event-date><span id=publishDate32827> </span> <span style=margin-left:11% id=showTimeLeague32827> </span> <span class=fr>(Girls) Volleyball</span> <span class=clr></span> <button class="small-btn-red fr" onclick="location.href='/MSHSL/Payment/32827'"> Download </button> <span class=clr></span></h3></div>
467<script>$(document).ready(function(){var buttonHighlightFeedId=$("#colBtnHighlightFeed"+32827);$('.controlbar').addClass('hide-content');var buttonFeedId=$("#colBtnFeed"+32827);buttonHighlightFeedId.hide();buttonFeedId.hide();if(''!=null&&''!=""&&'False'!=true){buttonHighlightFeedId.show();}
468else{buttonFeedId.show();}
469var checkUser=false;var isPurchased='False';if(checkUser!=null&&checkUser!=""){if(isPurchased!='True'){var buttonNotPurchased=$("#colBtnNotPurchased"+32827);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32827);buttonNotPurchased.show();buttonPurchasedUrl.hide();}}
470else if(isPurchased=='True'){console.log("true"+isPurchased);}
471else{$("#ThreeColVideo"+32827).addClass("disable-button");var buttonNotPurchased=$("#colBtnNotPurchased"+32827);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32827);buttonNotPurchased.show();buttonPurchasedUrl.hide();}});function ChangeButton(Id,playerid,feedurl,posterImage,image,button,newId){var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){PlayShow(playerid,feedurl,posterImage,image,button,newId);var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
472else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
473function ChangeButtonMKIO(Id,feedurl,posterImage,image,button,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});}
474else{elements.forEach(element=>{element.style.paddingBottom='0%';});}
475const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")}
476$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState)
477var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
478else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
479function RegisterUserActionForPreLive(Id,feedurl,posterImage,image,button,newId,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});}
480else{elements.forEach(element=>{element.style.paddingBottom='0%';});}
481const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")}
482$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){var checkUser=false;var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();$.ajax({url:"/PSTVTransaction/UserActionForPreLive",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,feedurl);}});var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
483else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
484function RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState){var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();model.FeedUrl=feedurl;$.ajax({url:"/PSTVTransaction/UserAction",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,data);}});}
485function ChangePurchasedButton(id){$("#ThreeColVideo"+id).removeClass("disable-button");var buttonPlayPurchasedUrl=$("#plyBtnPurchasedUrl"+id);var buttonNotPurchased=$("#colBtnNotPurchased"+id);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+id);buttonPlayPurchasedUrl.hide();buttonNotPurchased.hide();buttonPurchasedUrl.show();}
486function CheckAndRedirect(id){var checkUser=false;if(checkUser!=null&&checkUser!=""){var leaguename='MSHSL';window.location.href="/"+leaguename+"/EventPackage/"+id;}
487else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename+"&PostId="+id;}}</script>
487</div><div id=homeThreeTile_32828><div class="large-4 medium-6 small-12 column thumb-box"><div class=clearfix><div class="video-big-box video-small-box"><img id=colImage32828 class=big-thumb src=//ssmstorage.blob.core.windows.net/gamethumbnails/IrondalePark925202684422PM.jpg alt=""> <img class=samll-thumb-overlay src=//ssmstorage.blob.core.windows.net/ssmtvassets/SignIn-Free.png alt="" onclick="document.location='/Auth/SignIn?returnUrl=/MSHSL'"></div></div><h3><b>Irondale Vs Park</b><p class=event-date><span id=publishDate32828> </span> <span style=margin-left:11% id=showTimeLeague32828> </span> <span class=fr>(Girls) Volleyball</span> <span class=clr></span> <button class="small-btn-red fr" onclick="location.href='/MSHSL/Payment/32828'"> Download </button> <span class=clr></span></h3></div>
487<script>$(document).ready(function(){var buttonHighlightFeedId=$("#colBtnHighlightFeed"+32828);$('.controlbar').addClass('hide-content');var buttonFeedId=$("#colBtnFeed"+32828);buttonHighlightFeedId.hide();buttonFeedId.hide();if(''!=null&&''!=""&&'False'!=true){buttonHighlightFeedId.show();}
488else{buttonFeedId.show();}
489var checkUser=false;var isPurchased='False';if(checkUser!=null&&checkUser!=""){if(isPurchased!='True'){var buttonNotPurchased=$("#colBtnNotPurchased"+32828);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32828);buttonNotPurchased.show();buttonPurchasedUrl.hide();}}
490else if(isPurchased=='True'){console.log("true"+isPurchased);}
491else{$("#ThreeColVideo"+32828).addClass("disable-button");var buttonNotPurchased=$("#colBtnNotPurchased"+32828);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32828);buttonNotPurchased.show();buttonPurchasedUrl.hide();}});function ChangeButton(Id,playerid,feedurl,posterImage,image,button,newId){var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){PlayShow(playerid,feedurl,posterImage,image,button,newId);var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
492else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
493function ChangeButtonMKIO(Id,feedurl,posterImage,image,button,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});}
494else{elements.forEach(element=>{element.style.paddingBottom='0%';});}
495const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")}
496$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState)
497var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
498else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
499function RegisterUserActionForPreLive(Id,feedurl,posterImage,image,button,newId,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});}
500else{elements.forEach(element=>{element.style.paddingBottom='0%';});}
501const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")}
502$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){var checkUser=false;var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();$.ajax({url:"/PSTVTransaction/UserActionForPreLive",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,feedurl);}});var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
503else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
504function RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState){var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();model.FeedUrl=feedurl;$.ajax({url:"/PSTVTransaction/UserAction",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,data);}});}
505function ChangePurchasedButton(id){$("#ThreeColVideo"+id).removeClass("disable-button");var buttonPlayPurchasedUrl=$("#plyBtnPurchasedUrl"+id);var buttonNotPurchased=$("#colBtnNotPurchased"+id);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+id);buttonPlayPurchasedUrl.hide();buttonNotPurchased.hide();buttonPurchasedUrl.show();}
506function CheckAndRedirect(id){var checkUser=false;if(checkUser!=null&&checkUser!=""){var leaguename='MSHSL';window.location.href="/"+leaguename+"/EventPackage/"+id;}
507else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename+"&PostId="+id;}}</script>
507</div><div id=homeThreeTile_32825><div class="large-4 medium-6 small-12 column thumb-box"><div class=clearfix><div class="video-big-box video-small-box"><img id=colImage32825 class=big-thumb src=//ssmstorage.blob.core.windows.net/gamethumbnails/CannonFallsLakeCity925202684153PM.jpg alt=""> <img class=samll-thumb-overlay src=//ssmstorage.blob.core.windows.net/ssmtvassets/SignIn-Free.png alt="" onclick="document.location='/Auth/SignIn?returnUrl=/MSHSL'"></div></div><h3><b>Cannon Falls Vs Lake City</b><p class=event-date><span id=publishDate32825> </span> <span style=margin-left:11% id=showTimeLeague32825> </span> <span class=fr>(Girls) Volleyball</span> <span class=clr></span> <button class="small-btn-red fr" onclick="location.href='/MSHSL/Payment/32825'"> Download </button> <span class=clr></span></h3></div>
507<script>$(document).ready(function(){var buttonHighlightFeedId=$("#colBtnHighlightFeed"+32825);$('.controlbar').addClass('hide-content');var buttonFeedId=$("#colBtnFeed"+32825);buttonHighlightFeedId.hide();buttonFeedId.hide();if(''!=null&&''!=""&&'False'!=true){buttonHighlightFeedId.show();}
508else{buttonFeedId.show();}
509var checkUser=false;var isPurchased='False';if(checkUser!=null&&checkUser!=""){if(isPurchased!='True'){var buttonNotPurchased=$("#colBtnNotPurchased"+32825);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32825);buttonNotPurchased.show();buttonPurchasedUrl.hide();}}
510else if(isPurchased=='True'){console.log("true"+isPurchased);}
511else{$("#ThreeColVideo"+32825).addClass("disable-button");var buttonNotPurchased=$("#colBtnNotPurchased"+32825);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32825);buttonNotPurchased.show();buttonPurchasedUrl.hide();}});function ChangeButton(Id,playerid,feedurl,posterImage,image,button,newId){var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){PlayShow(playerid,feedurl,posterImage,image,button,newId);var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
512else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
513function ChangeButtonMKIO(Id,feedurl,posterImage,image,button,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});}
514else{elements.forEach(element=>{element.style.paddingBottom='0%';});}
515const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")}
516$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState)
517var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
518else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
519function RegisterUserActionForPreLive(Id,feedurl,posterImage,image,button,newId,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});}
520else{elements.forEach(element=>{element.style.paddingBottom='0%';});}
521const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")}
522$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){var checkUser=false;var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();$.ajax({url:"/PSTVTransaction/UserActionForPreLive",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,feedurl);}});var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
523else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
524function RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState){var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();model.FeedUrl=feedurl;$.ajax({url:"/PSTVTransaction/UserAction",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,data);}});}
525function ChangePurchasedButton(id){$("#ThreeColVideo"+id).removeClass("disable-button");var buttonPlayPurchasedUrl=$("#plyBtnPurchasedUrl"+id);var buttonNotPurchased=$("#colBtnNotPurchased"+id);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+id);buttonPlayPurchasedUrl.hide();buttonNotPurchased.hide();buttonPurchasedUrl.show();}
526function CheckAndRedirect(id){var checkUser=false;if(checkUser!=null&&checkUser!=""){var leaguename='MSHSL';window.location.href="/"+leaguename+"/EventPackage/"+id;}
527else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename+"&PostId="+id;}}</script>
527</div><span class=clr></span></div><hr><div class="row video-thumbnails-all"><div id=homeThreeTile_32814><div class="large-4 medium-6 small-12 column thumb-box"><div class=clearfix><div class="video-big-box video-small-box"><img id=colImage32814 class=big-thumb src=//ssmstorage.blob.core.windows.net/gamethumbnails/SaintFrancisBenildeStMargarets925202683013PM.jpg alt=""> <img class=samll-thumb-overlay src=//ssmstorage.blob.core.windows.net/ssmtvassets/SignIn-Free.png alt="" onclick="document.location='/Auth/SignIn?returnUrl=/MSHSL'"></div></div><h3><b>Saint Francis Vs Benilde-St. Margaret&#x27;s</b><p class=event-date><span id=publishDate32814> </span> <span style=margin-left:11% id=showTimeLeague32814> </span> <span class=fr>(Girls) Soccer</span> <span class=clr></span> <button class="small-btn-red fr" onclick="location.href='/MSHSL/Payment/32814'"> Download </button> <span class=clr></span></h3></div>
527<script>$(document).ready(function(){var buttonHighlightFeedId=$("#colBtnHighlightFeed"+32814);$('.controlbar').addClass('hide-content');var buttonFeedId=$("#colBtnFeed"+32814);buttonHighlightFeedId.hide();buttonFeedId.hide();if(''!=null&&''!=""&&'False'!=true){buttonHighlightFeedId.show();}
528else{buttonFeedId.show();}
529var checkUser=false;var isPurchased='False';if(checkUser!=null&&checkUser!=""){if(isPurchased!='True'){var buttonNotPurchased=$("#colBtnNotPurchased"+32814);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32814);buttonNotPurchased.show();buttonPurchasedUrl.hide();}}
530else if(isPurchased=='True'){console.log("true"+isPurchased);}
531else{$("#ThreeColVideo"+32814).addClass("disable-button");var buttonNotPurchased=$("#colBtnNotPurchased"+32814);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32814);buttonNotPurchased.show();buttonPurchasedUrl.hide();}});function ChangeButton(Id,playerid,feedurl,posterImage,image,button,newId){var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){PlayShow(playerid,feedurl,posterImage,image,button,newId);var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
532else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
533function ChangeButtonMKIO(Id,feedurl,posterImage,image,button,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});}
534else{elements.forEach(element=>{element.style.paddingBottom='0%';});}
535const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")}
536$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState)
537var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
538else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
539function RegisterUserActionForPreLive(Id,feedurl,posterImage,image,button,newId,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});}
540else{elements.forEach(element=>{element.style.paddingBottom='0%';});}
541const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")}
542$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){var checkUser=false;var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();$.ajax({url:"/PSTVTransaction/UserActionForPreLive",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,feedurl);}});var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
543else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
544function RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState){var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();model.FeedUrl=feedurl;$.ajax({url:"/PSTVTransaction/UserAction",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,data);}});}
545function ChangePurchasedButton(id){$("#ThreeColVideo"+id).removeClass("disable-button");var buttonPlayPurchasedUrl=$("#plyBtnPurchasedUrl"+id);var buttonNotPurchased=$("#colBtnNotPurchased"+id);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+id);buttonPlayPurchasedUrl.hide();buttonNotPurchased.hide();buttonPurchasedUrl.show();}
546function CheckAndRedirect(id){var checkUser=false;if(checkUser!=null&&checkUser!=""){var leaguename='MSHSL';window.location.href="/"+leaguename+"/EventPackage/"+id;}
547else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename+"&PostId="+id;}}</script>
547</div><div id=homeThreeTile_32834><div class="large-4 medium-6 small-12 column thumb-box"><div class=clearfix><div class="video-big-box video-small-box"><img id=colImage32834 class=big-thumb src=//ssmstorage.blob.core.windows.net/gamethumbnails/AndoverSpringLakePark925202695908PM.jpg alt=""> <img class=samll-thumb-overlay src=//ssmstorage.blob.core.windows.net/ssmtvassets/SignIn-Free.png alt="" onclick="document.location='/Auth/SignIn?returnUrl=/MSHSL'"></div></div><h3><b>Andover Vs Spring Lake Park</b><p class=event-date><span id=publishDate32834> </span> <span style=margin-left:11% id=showTimeLeague32834> </span> <span class=fr>(Girls) Soccer</span> <span class=clr></span> <button class="small-btn-red fr" onclick="location.href='/MSHSL/Payment/32834'"> Download </button> <span class=clr></span></h3></div>
547<script>$(document).ready(function(){var buttonHighlightFeedId=$("#colBtnHighlightFeed"+32834);$('.controlbar').addClass('hide-content');var buttonFeedId=$("#colBtnFeed"+32834);buttonHighlightFeedId.hide();buttonFeedId.hide();if(''!=null&&''!=""&&'False'!=true){buttonHighlightFeedId.show();}
548else{buttonFeedId.show();}
549var checkUser=false;var isPurchased='False';if(checkUser!=null&&checkUser!=""){if(isPurchased!='True'){var buttonNotPurchased=$("#colBtnNotPurchased"+32834);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32834);buttonNotPurchased.show();buttonPurchasedUrl.hide();}}
550else if(isPurchased=='True'){console.log("true"+isPurchased);}
551else{$("#ThreeColVideo"+32834).addClass("disable-button");var buttonNotPurchased=$("#colBtnNotPurchased"+32834);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32834);buttonNotPurchased.show();buttonPurchasedUrl.hide();}});function ChangeButton(Id,playerid,feedurl,posterImage,image,button,newId){var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){PlayShow(playerid,feedurl,posterImage,image,button,newId);var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
552else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
553function ChangeButtonMKIO(Id,feedurl,posterImage,image,button,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});}
554else{elements.forEach(element=>{element.style.paddingBottom='0%';});}
555const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")}
556$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState)
557var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
558else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
559function RegisterUserActionForPreLive(Id,feedurl,posterImage,image,button,newId,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});}
560else{elements.forEach(element=>{element.style.paddingBottom='0%';});}
561const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")}
562$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){var checkUser=false;var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();$.ajax({url:"/PSTVTransaction/UserActionForPreLive",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,feedurl);}});var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
563else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
564function RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState){var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();model.FeedUrl=feedurl;$.ajax({url:"/PSTVTransaction/UserAction",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,data);}});}
565function ChangePurchasedButton(id){$("#ThreeColVideo"+id).removeClass("disable-button");var buttonPlayPurchasedUrl=$("#plyBtnPurchasedUrl"+id);var buttonNotPurchased=$("#colBtnNotPurchased"+id);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+id);buttonPlayPurchasedUrl.hide();buttonNotPurchased.hide();buttonPurchasedUrl.show();}
566function CheckAndRedirect(id){var checkUser=false;if(checkUser!=null&&checkUser!=""){var leaguename='MSHSL';window.location.href="/"+leaguename+"/EventPackage/"+id;}
567else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename+"&PostId="+id;}}</script>
567</div><div id=homeThreeTile_32815><div class="large-4 medium-6 small-12 column thumb-box"><div class=clearfix><div class="video-big-box video-small-box"><img id=colImage32815 class=big-thumb src=//ssmstorage.blob.core.windows.net/gamethumbnails/StThomasAcademyBenildeStMargarets925202683114PM.jpg alt=""> <img class=samll-thumb-overlay src=//ssmstorage.blob.core.windows.net/ssmtvassets/SignIn-Free.png alt="" onclick="document.location='/Auth/SignIn?returnUrl=/MSHSL'"></div></div><h3><b>St. Thomas Academy Vs Benilde-St. Margaret&#x27;s</b><p class=event-date><span id=publishDate32815> </span> <span style=margin-left:11% id=showTimeLeague32815> </span> <span class=fr>(Boys) Soccer</span> <span class=clr></span> <button class="small-btn-red fr" onclick="location.href='/MSHSL/Payment/32815'"> Download </button> <span class=clr></span></h3></div>
567<script>$(document).ready(function(){var buttonHighlightFeedId=$("#colBtnHighlightFeed"+32815);$('.controlbar').addClass('hide-content');var buttonFeedId=$("#colBtnFeed"+32815);buttonHighlightFeedId.hide();buttonFeedId.hide();if(''!=null&&''!=""&&'False'!=true){buttonHighlightFeedId.show();}
568else{buttonFeedId.show();}
569var checkUser=false;var isPurchased='False';if(checkUser!=null&&checkUser!=""){if(isPurchased!='True'){var buttonNotPurchased=$("#colBtnNotPurchased"+32815);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32815);buttonNotPurchased.show();buttonPurchasedUrl.hide();}}
570else if(isPurchased=='True'){console.log("true"+isPurchased);}
571else{$("#ThreeColVideo"+32815).addClass("disable-button");var buttonNotPurchased=$("#colBtnNotPurchased"+32815);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32815);buttonNotPurchased.show();buttonPurchasedUrl.hide();}});function ChangeButton(Id,playerid,feedurl,posterImage,image,button,newId){var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){PlayShow(playerid,feedurl,posterImage,image,button,newId);var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
572else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
573function ChangeButtonMKIO(Id,feedurl,posterImage,image,button,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});}
574else{elements.forEach(element=>{element.style.paddingBottom='0%';});}
575const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")}
576$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState)
577var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
578else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
579function RegisterUserActionForPreLive(Id,feedurl,posterImage,image,button,newId,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});}
580else{elements.forEach(element=>{element.style.paddingBottom='0%';});}
581const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")}
582$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){var checkUser=false;var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();$.ajax({url:"/PSTVTransaction/UserActionForPreLive",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,feedurl);}});var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
583else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
584function RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState){var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();model.FeedUrl=feedurl;$.ajax({url:"/PSTVTransaction/UserAction",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,data);}});}
585function ChangePurchasedButton(id){$("#ThreeColVideo"+id).removeClass("disable-button");var buttonPlayPurchasedUrl=$("#plyBtnPurchasedUrl"+id);var buttonNotPurchased=$("#colBtnNotPurchased"+id);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+id);buttonPlayPurchasedUrl.hide();buttonNotPurchased.hide();buttonPurchasedUrl.show();}
586function CheckAndRedirect(id){var checkUser=false;if(checkUser!=null&&checkUser!=""){var leaguename='MSHSL';window.location.href="/"+leaguename+"/EventPackage/"+id;}
587else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename+"&PostId="+id;}}</script>
587</div><div id=homeThreeTile_32816><div class="large-4 medium-6 small-12 column thumb-box"><div class=clearfix><div class="video-big-box video-small-box"><img id=colImage32816 class=big-thumb src=//ssmstorage.blob.core.windows.net/gamethumbnails/JordanBenildeStMargarets925202683154PM.jpg alt=""> <img class=samll-thumb-overlay src=//ssmstorage.blob.core.windows.net/ssmtvassets/SignIn-Free.png alt="" onclick="document.location='/Auth/SignIn?returnUrl=/MSHSL'"></div></div><h3><b>Jordan Vs Benilde-St. Margaret&#x27;s</b><p class=event-date><span id=publishDate32816> </span> <span style=margin-left:11% id=showTimeLeague32816> </span> <span class=fr>(Girls) Volleyball</span> <span class=clr></span> <button class="small-btn-red fr" onclick="location.href='/MSHSL/Payment/32816'"> Download </button> <span class=clr></span></h3></div>
587<script>$(document).ready(function(){var buttonHighlightFeedId=$("#colBtnHighlightFeed"+32816);$('.controlbar').addClass('hide-content');var buttonFeedId=$("#colBtnFeed"+32816);buttonHighlightFeedId.hide();buttonFeedId.hide();if(''!=null&&''!=""&&'False'!=true){buttonHighlightFeedId.show();}
588else{buttonFeedId.show();}
589var checkUser=false;var isPurchased='False';if(checkUser!=null&&checkUser!=""){if(isPurchased!='True'){var buttonNotPurchased=$("#colBtnNotPurchased"+32816);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32816);buttonNotPurchased.show();buttonPurchasedUrl.hide();}}
590else if(isPurchased=='True'){console.log("true"+isPurchased);}
591else{$("#ThreeColVideo"+32816).addClass("disable-button");var buttonNotPurchased=$("#colBtnNotPurchased"+32816);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32816);buttonNotPurchased.show();buttonPurchasedUrl.hide();}});function ChangeButton(Id,playerid,feedurl,posterImage,image,button,newId){var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){PlayShow(playerid,feedurl,posterImage,image,button,newId);var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
592else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
593function ChangeButtonMKIO(Id,feedurl,posterImage,image,button,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});}
594else{elements.forEach(element=>{element.style.paddingBottom='0%';});}
595const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")}
596$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState)
597var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
598else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
599function RegisterUserActionForPreLive(Id,feedurl,posterImage,image,button,newId,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});}
600else{elements.forEach(element=>{element.style.paddingBottom='0%';});}
601const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")}
602$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){var checkUser=false;var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();$.ajax({url:"/PSTVTransaction/UserActionForPreLive",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,feedurl);}});var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
603else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
604function RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState){var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();model.FeedUrl=feedurl;$.ajax({url:"/PSTVTransaction/UserAction",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,data);}});}
605function ChangePurchasedButton(id){$("#ThreeColVideo"+id).removeClass("disable-button");var buttonPlayPurchasedUrl=$("#plyBtnPurchasedUrl"+id);var buttonNotPurchased=$("#colBtnNotPurchased"+id);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+id);buttonPlayPurchasedUrl.hide();buttonNotPurchased.hide();buttonPurchasedUrl.show();}
606function CheckAndRedirect(id){var checkUser=false;if(checkUser!=null&&checkUser!=""){var leaguename='MSHSL';window.location.href="/"+leaguename+"/EventPackage/"+id;}
607else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename+"&PostId="+id;}}</script>
607</div><div id=homeThreeTile_32835><div class="large-4 medium-6 small-12 column thumb-box"><div class=clearfix><div class="video-big-box video-small-box"><img id=colImage32835 class=big-thumb src=//ssmstorage.blob.core.windows.net/gamethumbnails/AndoverSpringLakePark925202695946PM.jpg alt=""> <img class=samll-thumb-overlay src=//ssmstorage.blob.core.windows.net/ssmtvassets/SignIn-Free.png alt="" onclick="document.location='/Auth/SignIn?returnUrl=/MSHSL'"></div></div><h3><b>Andover Vs Spring Lake Park</b><p class=event-date><span id=publishDate32835> </span> <span style=margin-left:11% id=showTimeLeague32835> </span> <span class=fr>(Boys) Soccer</span> <span class=clr></span> <button class="small-btn-red fr" onclick="location.href='/MSHSL/Payment/32835'"> Download </button> <span class=clr></span></h3></div>
607<script>$(document).ready(function(){var buttonHighlightFeedId=$("#colBtnHighlightFeed"+32835);$('.controlbar').addClass('hide-content');var buttonFeedId=$("#colBtnFeed"+32835);buttonHighlightFeedId.hide();buttonFeedId.hide();if(''!=null&&''!=""&&'False'!=true){buttonHighlightFeedId.show();}
608else{buttonFeedId.show();}
609var checkUser=false;var isPurchased='False';if(checkUser!=null&&checkUser!=""){if(isPurchased!='True'){var buttonNotPurchased=$("#colBtnNotPurchased"+32835);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32835);buttonNotPurchased.show();buttonPurchasedUrl.hide();}}
610else if(isPurchased=='True'){console.log("true"+isPurchased);}
611else{$("#ThreeColVideo"+32835).addClass("disable-button");var buttonNotPurchased=$("#colBtnNotPurchased"+32835);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32835);buttonNotPurchased.show();buttonPurchasedUrl.hide();}});function ChangeButton(Id,playerid,feedurl,posterImage,image,button,newId){var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){PlayShow(playerid,feedurl,posterImage,image,button,newId);var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
612else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
613function ChangeButtonMKIO(Id,feedurl,posterImage,image,button,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});}
614else{elements.forEach(element=>{element.style.paddingBottom='0%';});}
615const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")}
616$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState)
617var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
618else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
619function RegisterUserActionForPreLive(Id,feedurl,posterImage,image,button,newId,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});}
620else{elements.forEach(element=>{element.style.paddingBottom='0%';});}
621const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")}
622$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){var checkUser=false;var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();$.ajax({url:"/PSTVTransaction/UserActionForPreLive",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,feedurl);}});var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
623else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
624function RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState){var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();model.FeedUrl=feedurl;$.ajax({url:"/PSTVTransaction/UserAction",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,data);}});}
625function ChangePurchasedButton(id){$("#ThreeColVideo"+id).removeClass("disable-button");var buttonPlayPurchasedUrl=$("#plyBtnPurchasedUrl"+id);var buttonNotPurchased=$("#colBtnNotPurchased"+id);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+id);buttonPlayPurchasedUrl.hide();buttonNotPurchased.hide();buttonPurchasedUrl.show();}
626function CheckAndRedirect(id){var checkUser=false;if(checkUser!=null&&checkUser!=""){var leaguename='MSHSL';window.location.href="/"+leaguename+"/EventPackage/"+id;}
627else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename+"&PostId="+id;}}</script>
627</div><span class=clr></span></div><hr><div class="row video-thumbnails-all"><div id=homeThreeTile_32737><div class="large-4 medium-6 small-12 column thumb-box"><div class=clearfix><div class="video-big-box video-small-box"><img id=colImage32737 class=big-thumb src=//ssmstorage.blob.core.windows.net/gamethumbnails/Sept26ParkInviteMainGympng926202644817AM.jpg alt=""> <img class=samll-thumb-overlay src=//ssmstorage.blob.core.windows.net/ssmtvassets/SignIn-Free.png alt="" onclick="document.location='/Auth/SignIn?returnUrl=/MSHSL'"></div></div><h3><b>Main Court - Park Invitational</b><p class=event-date><span id=publishDate32737> </span> <span style=margin-left:11% id=showTimeLeague32737> </span> <span class=fr>(Girls) Volleyball</span> <span class=clr></span> <button class="small-btn-red fr" onclick="location.href='/MSHSL/Payment/32737'"> Download </button> <span class=clr></span></h3></div>
627<script>$(document).ready(function(){var buttonHighlightFeedId=$("#colBtnHighlightFeed"+32737);$('.controlbar').addClass('hide-content');var buttonFeedId=$("#colBtnFeed"+32737);buttonHighlightFeedId.hide();buttonFeedId.hide();if(''!=null&&''!=""&&'False'!=true){buttonHighlightFeedId.show();}
628else{buttonFeedId.show();}
629var checkUser=false;var isPurchased='False';if(checkUser!=null&&checkUser!=""){if(isPurchased!='True'){var buttonNotPurchased=$("#colBtnNotPurchased"+32737);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32737);buttonNotPurchased.show();buttonPurchasedUrl.hide();}}
630else if(isPurchased=='True'){console.log("true"+isPurchased);}
631else{$("#ThreeColVideo"+32737).addClass("disable-button");var buttonNotPurchased=$("#colBtnNotPurchased"+32737);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32737);buttonNotPurchased.show();buttonPurchasedUrl.hide();}});function ChangeButton(Id,playerid,feedurl,posterImage,image,button,newId){var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){PlayShow(playerid,feedurl,posterImage,image,button,newId);var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
632else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
633function ChangeButtonMKIO(Id,feedurl,posterImage,image,button,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});}
634else{elements.forEach(element=>{element.style.paddingBottom='0%';});}
635const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")}
636$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState)
637var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
638else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
639function RegisterUserActionForPreLive(Id,feedurl,posterImage,image,button,newId,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});}
640else{elements.forEach(element=>{element.style.paddingBottom='0%';});}
641const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")}
642$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){var checkUser=false;var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();$.ajax({url:"/PSTVTransaction/UserActionForPreLive",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,feedurl);}});var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
643else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
644function RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState){var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();model.FeedUrl=feedurl;$.ajax({url:"/PSTVTransaction/UserAction",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,data);}});}
645function ChangePurchasedButton(id){$("#ThreeColVideo"+id).removeClass("disable-button");var buttonPlayPurchasedUrl=$("#plyBtnPurchasedUrl"+id);var buttonNotPurchased=$("#colBtnNotPurchased"+id);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+id);buttonPlayPurchasedUrl.hide();buttonNotPurchased.hide();buttonPurchasedUrl.show();}
646function CheckAndRedirect(id){var checkUser=false;if(checkUser!=null&&checkUser!=""){var leaguename='MSHSL';window.location.href="/"+leaguename+"/EventPackage/"+id;}
647else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename+"&PostId="+id;}}</script>
647</div><div id=homeThreeTile_32770><div class="large-4 medium-6 small-12 column thumb-box"><div class=clearfix><div class="video-big-box video-small-box"><img id=colImage32770 class=big-thumb src=//ssmstorage.blob.core.windows.net/gamethumbnails/Sept26EagleInviteCourt1png926202644810AM.jpg alt=""> <img class=samll-thumb-overlay src=//ssmstorage.blob.core.windows.net/ssmtvassets/SignIn-Free.png alt="" onclick="document.location='/Auth/SignIn?returnUrl=/MSHSL'"></div></div><h3><b>Court 1 - Eagle Invite</b><p class=event-date><span id=publishDate32770> </span> <span style=margin-left:11% id=showTimeLeague32770> </span> <span class=fr>(Girls) Volleyball</span> <span class=clr></span> <button class="small-btn-red fr" onclick="location.href='/MSHSL/Payment/32770'"> Download </button> <span class=clr></span></h3></div>
647<script>$(document).ready(function(){var buttonHighlightFeedId=$("#colBtnHighlightFeed"+32770);$('.controlbar').addClass('hide-content');var buttonFeedId=$("#colBtnFeed"+32770);buttonHighlightFeedId.hide();buttonFeedId.hide();if(''!=null&&''!=""&&'False'!=true){buttonHighlightFeedId.show();}
648else{buttonFeedId.show();}
649var checkUser=false;var isPurchased='False';if(checkUser!=null&&checkUser!=""){if(isPurchased!='True'){var buttonNotPurchased=$("#colBtnNotPurchased"+32770);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32770);buttonNotPurchased.show();buttonPurchasedUrl.hide();}}
650else if(isPurchased=='True'){console.log("true"+isPurchased);}
651else{$("#ThreeColVideo"+32770).addClass("disable-button");var buttonNotPurchased=$("#colBtnNotPurchased"+32770);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32770);buttonNotPurchased.show();buttonPurchasedUrl.hide();}});function ChangeButton(Id,playerid,feedurl,posterImage,image,button,newId){var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){PlayShow(playerid,feedurl,posterImage,image,button,newId);var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
652else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
653function ChangeButtonMKIO(Id,feedurl,posterImage,image,button,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});}
654else{elements.forEach(element=>{element.style.paddingBottom='0%';});}
655const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")}
656$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState)
657var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
658else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
659function RegisterUserActionForPreLive(Id,feedurl,posterImage,image,button,newId,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});}
660else{elements.forEach(element=>{element.style.paddingBottom='0%';});}
661const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")}
662$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){var checkUser=false;var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();$.ajax({url:"/PSTVTransaction/UserActionForPreLive",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,feedurl);}});var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
663else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
664function RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState){var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();model.FeedUrl=feedurl;$.ajax({url:"/PSTVTransaction/UserAction",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,data);}});}
665function ChangePurchasedButton(id){$("#ThreeColVideo"+id).removeClass("disable-button");var buttonPlayPurchasedUrl=$("#plyBtnPurchasedUrl"+id);var buttonNotPurchased=$("#colBtnNotPurchased"+id);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+id);buttonPlayPurchasedUrl.hide();buttonNotPurchased.hide();buttonPurchasedUrl.show();}
666function CheckAndRedirect(id){var checkUser=false;if(checkUser!=null&&checkUser!=""){var leaguename='MSHSL';window.location.href="/"+leaguename+"/EventPackage/"+id;}
667else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename+"&PostId="+id;}}</script>
667</div><div id=homeThreeTile_32864><div class="large-4 medium-6 small-12 column thumb-box"><div class=clearfix><div class="video-big-box video-small-box"><img id=colImage32864 class=big-thumb src=//ssmstorage.blob.core.windows.net/gamethumbnails/Sept26EagleInviteCourt3png926202644801AM.jpg alt=""> <img class=samll-thumb-overlay src=//ssmstorage.blob.core.windows.net/ssmtvassets/SignIn-Free.png alt="" onclick="document.location='/Auth/SignIn?returnUrl=/MSHSL'"></div></div><h3><b>Court 3 - Eagle Invite</b><p class=event-date><span id=publishDate32864> </span> <span style=margin-left:11% id=showTimeLeague32864> </span> <span class=fr>(Girls) Volleyball</span> <span class=clr></span> <button class="small-btn-red fr" onclick="location.href='/MSHSL/Payment/32864'"> Download </button> <span class=clr></span></h3></div>
667<script>$(document).ready(function(){var buttonHighlightFeedId=$("#colBtnHighlightFeed"+32864);$('.controlbar').addClass('hide-content');var buttonFeedId=$("#colBtnFeed"+32864);buttonHighlightFeedId.hide();buttonFeedId.hide();if(''!=null&&''!=""&&'False'!=true){buttonHighlightFeedId.show();}
668else{buttonFeedId.show();}
669var checkUser=false;var isPurchased='False';if(checkUser!=null&&checkUser!=""){if(isPurchased!='True'){var buttonNotPurchased=$("#colBtnNotPurchased"+32864);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32864);buttonNotPurchased.show();buttonPurchasedUrl.hide();}}
670else if(isPurchased=='True'){console.log("true"+isPurchased);}
671else{$("#ThreeColVideo"+32864).addClass("disable-button");var buttonNotPurchased=$("#colBtnNotPurchased"+32864);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32864);buttonNotPurchased.show();buttonPurchasedUrl.hide();}});function ChangeButton(Id,playerid,feedurl,posterImage,image,button,newId){var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){PlayShow(playerid,feedurl,posterImage,image,button,newId);var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
672else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
673function ChangeButtonMKIO(Id,feedurl,posterImage,image,button,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});}
674else{elements.forEach(element=>{element.style.paddingBottom='0%';});}
675const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")}
676$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState)
677var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
678else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
679function RegisterUserActionForPreLive(Id,feedurl,posterImage,image,button,newId,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});}
680else{elements.forEach(element=>{element.style.paddingBottom='0%';});}
681const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")}
682$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){var checkUser=false;var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();$.ajax({url:"/PSTVTransaction/UserActionForPreLive",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,feedurl);}});var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
683else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
684function RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState){var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();model.FeedUrl=feedurl;$.ajax({url:"/PSTVTransaction/UserAction",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,data);}});}
685function ChangePurchasedButton(id){$("#ThreeColVideo"+id).removeClass("disable-button");var buttonPlayPurchasedUrl=$("#plyBtnPurchasedUrl"+id);var buttonNotPurchased=$("#colBtnNotPurchased"+id);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+id);buttonPlayPurchasedUrl.hide();buttonNotPurchased.hide();buttonPurchasedUrl.show();}
686function CheckAndRedirect(id){var checkUser=false;if(checkUser!=null&&checkUser!=""){var leaguename='MSHSL';window.location.href="/"+leaguename+"/EventPackage/"+id;}
687else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename+"&PostId="+id;}}</script>
687</div><div id=homeThreeTile_32735><div class="large-4 medium-6 small-12 column thumb-box"><div class=clearfix><div class="video-big-box video-small-box"><img id=colImage32735 class=big-thumb src=//ssmstorage.blob.core.windows.net/gamethumbnails/EastviewEastRidge918202635341AM.jpg alt=""> <img class=samll-thumb-overlay src=//ssmstorage.blob.core.windows.net/ssmtvassets/SignIn-Free.png alt="" onclick="document.location='/Auth/SignIn?returnUrl=/MSHSL'"></div></div><h3><b>Eastview Vs East Ridge</b><p class=event-date><span id=publishDate32735> </span> <span style=margin-left:11% id=showTimeLeague32735> </span> <span class=fr>(Girls) Soccer</span> <span class=clr></span> <button class="small-btn-red fr" onclick="location.href='/MSHSL/Payment/32735'"> Download </button> <span class=clr></span></h3></div>
687<script>$(document).ready(function(){var buttonHighlightFeedId=$("#colBtnHighlightFeed"+32735);$('.controlbar').addClass('hide-content');var buttonFeedId=$("#colBtnFeed"+32735);buttonHighlightFeedId.hide();buttonFeedId.hide();if(''!=null&&''!=""&&'False'!=true){buttonHighlightFeedId.show();}
688else{buttonFeedId.show();}
689var checkUser=false;var isPurchased='False';if(checkUser!=null&&checkUser!=""){if(isPurchased!='True'){var buttonNotPurchased=$("#colBtnNotPurchased"+32735);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32735);buttonNotPurchased.show();buttonPurchasedUrl.hide();}}
690else if(isPurchased=='True'){console.log("true"+isPurchased);}
691else{$("#ThreeColVideo"+32735).addClass("disable-button");var buttonNotPurchased=$("#colBtnNotPurchased"+32735);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32735);buttonNotPurchased.show();buttonPurchasedUrl.hide();}});function ChangeButton(Id,playerid,feedurl,posterImage,image,button,newId){var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){PlayShow(playerid,feedurl,posterImage,image,button,newId);var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
692else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
693function ChangeButtonMKIO(Id,feedurl,posterImage,image,button,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});}
694else{elements.forEach(element=>{element.style.paddingBottom='0%';});}
695const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")}
696$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState)
697var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
698else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
699function RegisterUserActionForPreLive(Id,feedurl,posterImage,image,button,newId,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});}
700else{elements.forEach(element=>{element.style.paddingBottom='0%';});}
701const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")}
702$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){var checkUser=false;var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();$.ajax({url:"/PSTVTransaction/UserActionForPreLive",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,feedurl);}});var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
703else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
704function RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState){var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();model.FeedUrl=feedurl;$.ajax({url:"/PSTVTransaction/UserAction",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,data);}});}
705function ChangePurchasedButton(id){$("#ThreeColVideo"+id).removeClass("disable-button");var buttonPlayPurchasedUrl=$("#plyBtnPurchasedUrl"+id);var buttonNotPurchased=$("#colBtnNotPurchased"+id);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+id);buttonPlayPurchasedUrl.hide();buttonNotPurchased.hide();buttonPurchasedUrl.show();}
706function CheckAndRedirect(id){var checkUser=false;if(checkUser!=null&&checkUser!=""){var leaguename='MSHSL';window.location.href="/"+leaguename+"/EventPackage/"+id;}
707else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename+"&PostId="+id;}}</script>
707</div><div id=homeThreeTile_32736><div class="large-4 medium-6 small-12 column thumb-box"><div class=clearfix><div class="video-big-box video-small-box"><img id=colImage32736 class=big-thumb src=//ssmstorage.blob.core.windows.net/gamethumbnails/TwoRiversEastRidge918202635448AM.jpg alt=""> <img class=samll-thumb-overlay src=//ssmstorage.blob.core.windows.net/ssmtvassets/SignIn-Free.png alt="" onclick="document.location='/Auth/SignIn?returnUrl=/MSHSL'"></div></div><h3><b>Two Rivers Vs East Ridge</b><p class=event-date><span id=publishDate32736> </span> <span style=margin-left:11% id=showTimeLeague32736> </span> <span class=fr>(Boys) Soccer</span> <span class=clr></span> <button class="small-btn-red fr" onclick="location.href='/MSHSL/Payment/32736'"> Download </button> <span class=clr></span></h3></div>
707<script>$(document).ready(function(){var buttonHighlightFeedId=$("#colBtnHighlightFeed"+32736);$('.controlbar').addClass('hide-content');var buttonFeedId=$("#colBtnFeed"+32736);buttonHighlightFeedId.hide();buttonFeedId.hide();if(''!=null&&''!=""&&'False'!=true){buttonHighlightFeedId.show();}
708else{buttonFeedId.show();}
709var checkUser=false;var isPurchased='False';if(checkUser!=null&&checkUser!=""){if(isPurchased!='True'){var buttonNotPurchased=$("#colBtnNotPurchased"+32736);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32736);buttonNotPurchased.show();buttonPurchasedUrl.hide();}}
710else if(isPurchased=='True'){console.log("true"+isPurchased);}
711else{$("#ThreeColVideo"+32736).addClass("disable-button");var buttonNotPurchased=$("#colBtnNotPurchased"+32736);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32736);buttonNotPurchased.show();buttonPurchasedUrl.hide();}});function ChangeButton(Id,playerid,feedurl,posterImage,image,button,newId){var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){PlayShow(playerid,feedurl,posterImage,image,button,newId);var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
712else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
713function ChangeButtonMKIO(Id,feedurl,posterImage,image,button,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});}
714else{elements.forEach(element=>{element.style.paddingBottom='0%';});}
715const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")}
716$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState)
717var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
718else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
719function RegisterUserActionForPreLive(Id,feedurl,posterImage,image,button,newId,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});}
720else{elements.forEach(element=>{element.style.paddingBottom='0%';});}
721const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")}
722$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){var checkUser=false;var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();$.ajax({url:"/PSTVTransaction/UserActionForPreLive",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,feedurl);}});var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
723else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
724function RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState){var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();model.FeedUrl=feedurl;$.ajax({url:"/PSTVTransaction/UserAction",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,data);}});}
725function ChangePurchasedButton(id){$("#ThreeColVideo"+id).removeClass("disable-button");var buttonPlayPurchasedUrl=$("#plyBtnPurchasedUrl"+id);var buttonNotPurchased=$("#colBtnNotPurchased"+id);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+id);buttonPlayPurchasedUrl.hide();buttonNotPurchased.hide();buttonPurchasedUrl.show();}
726function CheckAndRedirect(id){var checkUser=false;if(checkUser!=null&&checkUser!=""){var leaguename='MSHSL';window.location.href="/"+leaguename+"/EventPackage/"+id;}
727else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename+"&PostId="+id;}}</script>
727</div><span class=clr></span></div><hr><div class="row video-thumbnails-all"><div id=homeThreeTile_32767><div class="large-4 medium-6 small-12 column thumb-box"><div class=clearfix><div class="video-big-box video-small-box"><img id=colImage32767 class=big-thumb src=//ssmstorage.blob.core.windows.net/gamethumbnails/Sept25EagleInviteCourt1png926202644720AM.jpg alt=""> <img class=samll-thumb-overlay src=//ssmstorage.blob.core.windows.net/ssmtvassets/SignIn-Free.png alt="" onclick="document.location='/Auth/SignIn?returnUrl=/MSHSL'"></div></div><h3><b>Court 1 - Eagle Invite</b><p class=event-date><span id=publishDate32767> </span> <span style=margin-left:11% id=showTimeLeague32767> </span> <span class=fr>(Girls) Volleyball</span> <span class=clr></span> <button class="small-btn-red fr" onclick="location.href='/MSHSL/Payment/32767'"> Download </button> <span class=clr></span></h3></div>
727<script>$(document).ready(function(){var buttonHighlightFeedId=$("#colBtnHighlightFeed"+32767);$('.controlbar').addClass('hide-content');var buttonFeedId=$("#colBtnFeed"+32767);buttonHighlightFeedId.hide();buttonFeedId.hide();if(''!=null&&''!=""&&'False'!=true){buttonHighlightFeedId.show();}
728else{buttonFeedId.show();}
729var checkUser=false;var isPurchased='False';if(checkUser!=null&&checkUser!=""){if(isPurchased!='True'){var buttonNotPurchased=$("#colBtnNotPurchased"+32767);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32767);buttonNotPurchased.show();buttonPurchasedUrl.hide();}}
730else if(isPurchased=='True'){console.log("true"+isPurchased);}
731else{$("#ThreeColVideo"+32767).addClass("disable-button");var buttonNotPurchased=$("#colBtnNotPurchased"+32767);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32767);buttonNotPurchased.show();buttonPurchasedUrl.hide();}});function ChangeButton(Id,playerid,feedurl,posterImage,image,button,newId){var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){PlayShow(playerid,feedurl,posterImage,image,button,newId);var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
732else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
733function ChangeButtonMKIO(Id,feedurl,posterImage,image,button,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});}
734else{elements.forEach(element=>{element.style.paddingBottom='0%';});}
735const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")}
736$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState)
737var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
738else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
739function RegisterUserActionForPreLive(Id,feedurl,posterImage,image,button,newId,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});}
740else{elements.forEach(element=>{element.style.paddingBottom='0%';});}
741const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")}
742$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){var checkUser=false;var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();$.ajax({url:"/PSTVTransaction/UserActionForPreLive",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,feedurl);}});var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
743else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
744function RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState){var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();model.FeedUrl=feedurl;$.ajax({url:"/PSTVTransaction/UserAction",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,data);}});}
745function ChangePurchasedButton(id){$("#ThreeColVideo"+id).removeClass("disable-button");var buttonPlayPurchasedUrl=$("#plyBtnPurchasedUrl"+id);var buttonNotPurchased=$("#colBtnNotPurchased"+id);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+id);buttonPlayPurchasedUrl.hide();buttonNotPurchased.hide();buttonPurchasedUrl.show();}
746function CheckAndRedirect(id){var checkUser=false;if(checkUser!=null&&checkUser!=""){var leaguename='MSHSL';window.location.href="/"+leaguename+"/EventPackage/"+id;}
747else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename+"&PostId="+id;}}</script>
747</div><div id=homeThreeTile_32768><div class="large-4 medium-6 small-12 column thumb-box"><div class=clearfix><div class="video-big-box video-small-box"><img id=colImage32768 class=big-thumb src=//ssmstorage.blob.core.windows.net/gamethumbnails/Sept25EagleInviteCourt3png926202644726AM.jpg alt=""> <img class=samll-thumb-overlay src=//ssmstorage.blob.core.windows.net/ssmtvassets/SignIn-Free.png alt="" onclick="document.location='/Auth/SignIn?returnUrl=/MSHSL'"></div></div><h3><b>Court 3 - Eagle Invite</b><p class=event-date><span id=publishDate32768> </span> <span style=margin-left:11% id=showTimeLeague32768> </span> <span class=fr>(Girls) Volleyball</span> <span class=clr></span> <button class="small-btn-red fr" onclick="location.href='/MSHSL/Payment/32768'"> Download </button> <span class=clr></span></h3></div>
747<script>$(document).ready(function(){var buttonHighlightFeedId=$("#colBtnHighlightFeed"+32768);$('.controlbar').addClass('hide-content');var buttonFeedId=$("#colBtnFeed"+32768);buttonHighlightFeedId.hide();buttonFeedId.hide();if(''!=null&&''!=""&&'False'!=true){buttonHighlightFeedId.show();}
748else{buttonFeedId.show();}
749var checkUser=false;var isPurchased='False';if(checkUser!=null&&checkUser!=""){if(isPurchased!='True'){var buttonNotPurchased=$("#colBtnNotPurchased"+32768);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32768);buttonNotPurchased.show();buttonPurchasedUrl.hide();}}
750else if(isPurchased=='True'){console.log("true"+isPurchased);}
751else{$("#ThreeColVideo"+32768).addClass("disable-button");var buttonNotPurchased=$("#colBtnNotPurchased"+32768);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32768);buttonNotPurchased.show();buttonPurchasedUrl.hide();}});function ChangeButton(Id,playerid,feedurl,posterImage,image,button,newId){var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){PlayShow(playerid,feedurl,posterImage,image,button,newId);var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
752else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
753function ChangeButtonMKIO(Id,feedurl,posterImage,image,button,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});}
754else{elements.forEach(element=>{element.style.paddingBottom='0%';});}
755const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")}
756$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState)
757var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
758else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
759function RegisterUserActionForPreLive(Id,feedurl,posterImage,image,button,newId,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});}
760else{elements.forEach(element=>{element.style.paddingBottom='0%';});}
761const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")}
762$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){var checkUser=false;var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();$.ajax({url:"/PSTVTransaction/UserActionForPreLive",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,feedurl);}});var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
763else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
764function RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState){var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();model.FeedUrl=feedurl;$.ajax({url:"/PSTVTransaction/UserAction",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,data);}});}
765function ChangePurchasedButton(id){$("#ThreeColVideo"+id).removeClass("disable-button");var buttonPlayPurchasedUrl=$("#plyBtnPurchasedUrl"+id);var buttonNotPurchased=$("#colBtnNotPurchased"+id);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+id);buttonPlayPurchasedUrl.hide();buttonNotPurchased.hide();buttonPurchasedUrl.show();}
766function CheckAndRedirect(id){var checkUser=false;if(checkUser!=null&&checkUser!=""){var leaguename='MSHSL';window.location.href="/"+leaguename+"/EventPackage/"+id;}
767else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename+"&PostId="+id;}}</script>
767</div><div id=homeThreeTile_32730><div class="large-4 medium-6 small-12 column thumb-box"><div class=clearfix><div class="video-big-box video-small-box"><img id=colImage32730 class=big-thumb src=//ssmstorage.blob.core.windows.net/gamethumbnails/SMBBenildeStMargarets918202634756AM.jpg alt=""> <img class=samll-thumb-overlay src=//ssmstorage.blob.core.windows.net/ssmtvassets/SignIn-Free.png alt="" onclick="document.location='/Auth/SignIn?returnUrl=/MSHSL'"></div></div><h3><b>SMB Vs Benilde-St. Margaret&#x27;s</b><p class=event-date><span id=publishDate32730> </span> <span style=margin-left:11% id=showTimeLeague32730> </span> <span class=fr>Football</span> <span class=clr></span> <button class="small-btn-red fr" onclick="location.href='/MSHSL/Payment/32730'"> Download </button> <span class=clr></span></h3></div>
767<script>$(document).ready(function(){var buttonHighlightFeedId=$("#colBtnHighlightFeed"+32730);$('.controlbar').addClass('hide-content');var buttonFeedId=$("#colBtnFeed"+32730);buttonHighlightFeedId.hide();buttonFeedId.hide();if(''!=null&&''!=""&&'False'!=true){buttonHighlightFeedId.show();}
768else{buttonFeedId.show();}
769var checkUser=false;var isPurchased='False';if(checkUser!=null&&checkUser!=""){if(isPurchased!='True'){var buttonNotPurchased=$("#colBtnNotPurchased"+32730);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32730);buttonNotPurchased.show();buttonPurchasedUrl.hide();}}
770else if(isPurchased=='True'){console.log("true"+isPurchased);}
771else{$("#ThreeColVideo"+32730).addClass("disable-button");var buttonNotPurchased=$("#colBtnNotPurchased"+32730);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32730);buttonNotPurchased.show();buttonPurchasedUrl.hide();}});function ChangeButton(Id,playerid,feedurl,posterImage,image,button,newId){var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){PlayShow(playerid,feedurl,posterImage,image,button,newId);var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
772else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
773function ChangeButtonMKIO(Id,feedurl,posterImage,image,button,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});}
774else{elements.forEach(element=>{element.style.paddingBottom='0%';});}
775const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")}
776$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState)
777var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
778else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
779function RegisterUserActionForPreLive(Id,feedurl,posterImage,image,button,newId,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});}
780else{elements.forEach(element=>{element.style.paddingBottom='0%';});}
781const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")}
782$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){var checkUser=false;var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();$.ajax({url:"/PSTVTransaction/UserActionForPreLive",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,feedurl);}});var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
783else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
784function RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState){var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();model.FeedUrl=feedurl;$.ajax({url:"/PSTVTransaction/UserAction",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,data);}});}
785function ChangePurchasedButton(id){$("#ThreeColVideo"+id).removeClass("disable-button");var buttonPlayPurchasedUrl=$("#plyBtnPurchasedUrl"+id);var buttonNotPurchased=$("#colBtnNotPurchased"+id);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+id);buttonPlayPurchasedUrl.hide();buttonNotPurchased.hide();buttonPurchasedUrl.show();}
786function CheckAndRedirect(id){var checkUser=false;if(checkUser!=null&&checkUser!=""){var leaguename='MSHSL';window.location.href="/"+leaguename+"/EventPackage/"+id;}
787else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename+"&PostId="+id;}}</script>
787</div><input type=hidden id=IsPurchased_32769 value=True><div id=homeThreeTile_32769><div class="large-4 medium-6 small-12 column thumb-box"><div class=clearfix><div class="video-big-box video-small-box"><img id=colImage32769 class=big-thumb src=//ssmstorage.blob.core.windows.net/gamethumbnails/MinnesotaSportsRadioNSPNWeek42026png926202623607AM.jpg alt=""> <img class=samll-thumb-overlay src=//ssmstorage.blob.core.windows.net/ssmtvassets/SignIn-Free.png alt="" onclick="document.location='/Auth/SignIn?returnUrl=/MSHSL'"></div></div><h3><b>After the Game - Week 4</b><p class=event-date><span id=publishDate32769> </span> <span style=margin-left:11% id=showTimeLeague32769> </span> <span class=fr>Football</span> <span class=clr></span> <button class="small-btn-red fr" onclick="location.href='/MSHSL/Payment/32769'"> Download </button> <span class=clr></span></h3></div>
787<script>$(document).ready(function(){var buttonHighlightFeedId=$("#colBtnHighlightFeed"+32769);$('.controlbar').addClass('hide-content');var buttonFeedId=$("#colBtnFeed"+32769);buttonHighlightFeedId.hide();buttonFeedId.hide();if(''!=null&&''!=""&&'False'!=true){buttonHighlightFeedId.show();}
788else{buttonFeedId.show();}
789var checkUser=false;var isPurchased='True';if(checkUser!=null&&checkUser!=""){if(isPurchased!='True'){var buttonNotPurchased=$("#colBtnNotPurchased"+32769);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32769);buttonNotPurchased.show();buttonPurchasedUrl.hide();}}
790else if(isPurchased=='True'){console.log("true"+isPurchased);}
791else{$("#ThreeColVideo"+32769).addClass("disable-button");var buttonNotPurchased=$("#colBtnNotPurchased"+32769);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+32769);buttonNotPurchased.show();buttonPurchasedUrl.hide();}});function ChangeButton(Id,playerid,feedurl,posterImage,image,button,newId){var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){PlayShow(playerid,feedurl,posterImage,image,button,newId);var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
792else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
793function ChangeButtonMKIO(Id,feedurl,posterImage,image,button,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});}
794else{elements.forEach(element=>{element.style.paddingBottom='0%';});}
795const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")}
796$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState)
797var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
798else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
799function RegisterUserActionForPreLive(Id,feedurl,posterImage,image,button,newId,ShowState){var eventState=ShowState;const elements=document.querySelectorAll('.video-big-box');const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;if(isMobileScreen){elements.forEach(element=>{element.style.paddingBottom='0%';});}
800else{elements.forEach(element=>{element.style.paddingBottom='0%';});}
801const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen||isIpadScreen){$("#video-container"+Id).addClass("open-mobile")}
802$("#video-container"+Id).addClass("Video-container");$("#video-container"+Id).addClass("normal-screen");var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){var checkUser=false;var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();$.ajax({url:"/PSTVTransaction/UserActionForPreLive",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,feedurl);}});var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);buttonHighlightFeedId.hide();buttonFeedId.hide();}
803else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename;}}
804function RegisterUserActionForLiveAndOnDemand(feedurl,posterImage,image,button,Id,eventState){var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();model.FeedUrl=feedurl;$.ajax({url:"/PSTVTransaction/UserAction",datatype:"json",type:"POST",data:model,success:function(data){PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,data);}});}
805function ChangePurchasedButton(id){$("#ThreeColVideo"+id).removeClass("disable-button");var buttonPlayPurchasedUrl=$("#plyBtnPurchasedUrl"+id);var buttonNotPurchased=$("#colBtnNotPurchased"+id);var buttonPurchasedUrl=$("#colBtnPurchasedUrl"+id);buttonPlayPurchasedUrl.hide();buttonNotPurchased.hide();buttonPurchasedUrl.show();}
806function CheckAndRedirect(id){var checkUser=false;if(checkUser!=null&&checkUser!=""){var leaguename='MSHSL';window.location.href="/"+leaguename+"/EventPackage/"+id;}
807else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename+"&PostId="+id;}}</script>
807</div><span class=clr></span></div><hr>
807<script>$(document).ready(function()
808{const d=new Date();var year=d.getFullYear();var month=d.getMonth()+1;var day=d.getDate();let diff=d.getTimezoneOffset();var modelList=[];var itemObject={PublishDate:"9/30/2027 12:00:00 AM",ShowTime:"",LeagueId:"3",PostId:"15384",TimeDiff:diff,StateId:"1"};modelList.push(itemObject);var itemObject={PublishDate:"10/2/2026 12:00:00 AM",ShowTime:"",LeagueId:"3",PostId:"32893",TimeDiff:diff,StateId:"1"};modelList.push(itemObject);var itemObject={PublishDate:"10/1/2026 12:00:00 AM",ShowTime:"5:00 PM",LeagueId:"3",PostId:"32836",TimeDiff:diff,StateId:"1"};modelList.push(itemObject);var itemObject={PublishDate:"10/1/2026 12:00:00 AM",ShowTime:"7:00 PM",LeagueId:"3",PostId:"32837",TimeDiff:diff,StateId:"1"};modelList.push(itemObject);var itemObject={PublishDate:"10/1/2026 12:00:00 AM",ShowTime:"5:00 PM",LeagueId:"3",PostId:"32838",TimeDiff:diff,StateId:"1"};modelList.push(itemObject);var itemObject={PublishDate:"10/1/2026 12:00:00 AM",ShowTime:"7:00 PM",LeagueId:"3",PostId:"32839",TimeDiff:diff,StateId:"1"};modelList.push(itemObject);var itemObject={PublishDate:"10/1/2026 12:00:00 AM",ShowTime:"5:00 PM",LeagueId:"3",PostId:"32840",TimeDiff:diff,StateId:"1"};modelList.push(itemObject);var itemObject={PublishDate:"10/1/2026 12:00:00 AM",ShowTime:"7:00 PM",LeagueId:"3",PostId:"32841",TimeDiff:diff,StateId:"1"};modelList.push(itemObject);var itemObject={PublishDate:"10/1/2026 12:00:00 AM",ShowTime:"6:30 PM",LeagueId:"3",PostId:"32842",TimeDiff:diff,StateId:"1"};modelList.push(itemObject);var itemObject={PublishDate:"10/1/2026 12:00:00 AM",ShowTime:"7:00 PM",LeagueId:"3",PostId:"32843",TimeDiff:diff,StateId:"1"};modelList.push(itemObject);var itemObject={PublishDate:"10/1/2026 12:00:00 AM",ShowTime:"7:00 PM",LeagueId:"3",PostId:"32844",TimeDiff:diff,StateId:"1"};modelList.push(itemObject);var itemObject={PublishDate:"10/1/2026 12:00:00 AM",ShowTime:"7:00 PM",LeagueId:"3",PostId:"32845",TimeDiff:diff,StateId:"1"};modelList.push(itemObject);var itemObject={PublishDate:"10/1/2026 12:00:00 AM",ShowTime:"7:00 PM",LeagueId:"3",PostId:"32860",TimeDiff:diff,StateId:"1"};modelList.push(itemObject);var itemObject={PublishDate:"10/1/2026 12:00:00 AM",ShowTime:"6:00 PM",LeagueId:"3",PostId:"32879",TimeDiff:diff,StateId:"1"};modelList.push(itemObject);var itemObject={PublishDate:"9/30/2026 12:00:00 AM",ShowTime:"7:00 PM",LeagueId:"3",PostId:"32858",TimeDiff:diff,StateId:"3"};modelList.push(itemObject);var itemObject={PublishDate:"9/30/2026 12:00:00 AM",ShowTime:"7:00 PM",LeagueId:"3",PostId:"32859",TimeDiff:diff,StateId:"3"};modelList.push(itemObject);var itemObject={PublishDate:"9/29/2026 12:00:00 AM",ShowTime:"5:00 PM",LeagueId:"3",PostId:"32817",TimeDiff:diff,StateId:"3"};modelList.push(itemObject);var itemObject={PublishDate:"9/29/2026 12:00:00 AM",ShowTime:"7:00 PM",LeagueId:"3",PostId:"32818",TimeDiff:diff,StateId:"3"};modelList.push(itemObject);var itemObject={PublishDate:"9/29/2026 12:00:00 AM",ShowTime:"5:00 PM",LeagueId:"3",PostId:"32819",TimeDiff:diff,StateId:"3"};modelList.push(itemObject);var itemObject={PublishDate:"9/29/2026 12:00:00 AM",ShowTime:"7:00 PM",LeagueId:"3",PostId:"32820",TimeDiff:diff,StateId:"3"};modelList.push(itemObject);var itemObject={PublishDate:"9/29/2026 12:00:00 AM",ShowTime:"5:00 PM",LeagueId:"3",PostId:"32821",TimeDiff:diff,StateId:"3"};modelList.push(itemObject);var itemObject={PublishDate:"9/29/2026 12:00:00 AM",ShowTime:"7:00 PM",LeagueId:"3",PostId:"32822",TimeDiff:diff,StateId:"3"};modelList.push(itemObject);var itemObject={PublishDate:"9/29/2026 12:00:00 AM",ShowTime:"7:00 PM",LeagueId:"3",PostId:"32823",TimeDiff:diff,StateId:"3"};modelList.push(itemObject);var itemObject={PublishDate:"9/29/2026 12:00:00 AM",ShowTime:"7:15 PM",LeagueId:"3",PostId:"32825",TimeDiff:diff,StateId:"3"};modelList.push(itemObject);var itemObject={PublishDate:"9/29/2026 12:00:00 AM",ShowTime:"6:30 PM",LeagueId:"3",PostId:"32826",TimeDiff:diff,StateId:"3"};modelList.push(itemObject);var itemObject={PublishDate:"9/29/2026 12:00:00 AM",ShowTime:"7:00 PM",LeagueId:"3",PostId:"32827",TimeDiff:diff,StateId:"3"};modelList.push(itemObject);var itemObject={PublishDate:"9/29/2026 12:00:00 AM",ShowTime:"7:00 PM",LeagueId:"3",PostId:"32828",TimeDiff:diff,StateId:"3"};modelList.push(itemObject);var itemObject={PublishDate:"9/29/2026 12:00:00 AM",ShowTime:"11:30 AM",LeagueId:"3",PostId:"32892",TimeDiff:diff,StateId:"3"};modelList.push(itemObject);var itemObject={PublishDate:"9/28/2026 12:00:00 AM",ShowTime:"5:00 PM",LeagueId:"3",PostId:"32814",TimeDiff:diff,StateId:"3"};modelList.push(itemObject);var itemObject={PublishDate:"9/28/2026 12:00:00 AM",ShowTime:"7:00 PM",LeagueId:"3",PostId:"32815",TimeDiff:diff,StateId:"3"};modelList.push(itemObject);var itemObject={PublishDate:"9/28/2026 12:00:00 AM",ShowTime:"7:00 PM",LeagueId:"3",PostId:"32816",TimeDiff:diff,StateId:"3"};modelList.push(itemObject);var itemObject={PublishDate:"9/28/2026 12:00:00 AM",ShowTime:"5:00 PM",LeagueId:"3",PostId:"32834",TimeDiff:diff,StateId:"3"};modelList.push(itemObject);var itemObject={PublishDate:"9/28/2026 12:00:00 AM",ShowTime:"7:00 PM",LeagueId:"3",PostId:"32835",TimeDiff:diff,StateId:"3"};modelList.push(itemObject);var itemObject={PublishDate:"9/26/2026 12:00:00 AM",ShowTime:"3:00 PM",LeagueId:"3",PostId:"32735",TimeDiff:diff,StateId:"3"};modelList.push(itemObject);var itemObject={PublishDate:"9/26/2026 12:00:00 AM",ShowTime:"7:00 PM",LeagueId:"3",PostId:"32736",TimeDiff:diff,StateId:"3"};modelList.push(itemObject);var itemObject={PublishDate:"9/26/2026 12:00:00 AM",ShowTime:"8:00 AM",LeagueId:"3",PostId:"32737",TimeDiff:diff,StateId:"3"};modelList.push(itemObject);var itemObject={PublishDate:"9/26/2026 12:00:00 AM",ShowTime:"9:30 AM",LeagueId:"3",PostId:"32770",TimeDiff:diff,StateId:"3"};modelList.push(itemObject);var itemObject={PublishDate:"9/26/2026 12:00:00 AM",ShowTime:"9:30 AM",LeagueId:"3",PostId:"32864",TimeDiff:diff,StateId:"3"};modelList.push(itemObject);var itemObject={PublishDate:"9/25/2026 12:00:00 AM",ShowTime:"7:00 PM",LeagueId:"3",PostId:"32730",TimeDiff:diff,StateId:"3"};modelList.push(itemObject);var itemObject={PublishDate:"9/25/2026 12:00:00 AM",ShowTime:"5:00 PM",LeagueId:"3",PostId:"32767",TimeDiff:diff,StateId:"3"};modelList.push(itemObject);var itemObject={PublishDate:"9/25/2026 12:00:00 AM",ShowTime:"5:00 PM",LeagueId:"3",PostId:"32768",TimeDiff:diff,StateId:"3"};modelList.push(itemObject);var itemObject={PublishDate:"9/25/2026 12:00:00 AM",ShowTime:"9:30 PM",LeagueId:"3",PostId:"32769",TimeDiff:diff,StateId:"3"};modelList.push(itemObject);var localDateTime=getLocalPublishDateAndTimeForAll(modelList);function getLocalPublishDateAndTimeForAll(modelList){$.ajax({type:"POST",url:"/Your/GetLocalPublishDateAndTimeleagueForAllList",data:JSON.stringify(modelList),contentType:"application/json",dataType:"json",success:function(response){response.forEach(function(item){const dateTime=new Date(item.updatedPublishDateTime);const formattedDate=(dateTime.getMonth()+1).toString().padStart(2,'0')+'/'+
809dateTime.getDate().toString().padStart(2,'0')+'/'+
810dateTime.getFullYear();const hours=dateTime.getHours();const minutes=dateTime.getMinutes();const ampm=hours>=12?'PM':'AM';const formattedTime=((hours%12)||12).toString().padStart(2,'0')+':'+
811minutes.toString().padStart(2,'0')+' '+
812ampm;var publishDateElement=document.getElementById('publishDate'+item.postId);var showTimeElement=document.getElementById('showTimeLeague'+item.postId);if(publishDateElement!==null){publishDateElement.textContent=formattedDate;}
813if(showTimeElement!==null){showTimeElement.textContent=formattedTime;}
814if(item.stateId==1&&formattedDate!=(month.toString().padStart(2,'0')+"/"+day.toString().padStart(2,'0')+"/"+year)){var divId="homeThreeTile_"+item.postId;var divElement=document.getElementById(divId);if(divElement){divElement.innerHTML=null;}}});},error:function(req,status,error){console.error(error);}});}});</script>
814</div></div><span class=clr></span><div class=align-right><a id=LeagueSeeMore class=view-all title="See More Videos" href=javascript:void(0)>See More</a> <input type=hidden id=hdnleagueSeeMoreCount value=2></div><div id=imgleagueLoader style=display:none class=align-center><img src=//ssmstorage.blob.core.windows.net/prepespotlightasset/images/ring.gif width=80></div></div><hr>
814<script>$(document).ready(function(){$.ajax({url:"https://geolocation-db.com/json/",type:'GET',dataType:'json',success:function(res){$.ajax({url:"/LeagueHome/GetLocation",datatype:"json",type:"POST",data:{"json":res},success:function(data){if(data!=null){}},error:function(err){}});}});});</script>
814</div><div class="right-sidebar large-3 medium-4 column"><div class=filter-game-streams style=height:270px><h4>Search</h4><div><ul><li><input id=Search_Sport name=Sport class="search-field margin-btm-none" placeholder="( Sport )"> <span class=clr></span> <input type=hidden id=Search_Sport_Id value=0><li><input id=Search_Team name=Team class="search-field margin-btm-none" placeholder="( Home Team )"> <span class=clr></span> <input type=hidden id=Search_Team_Id value=0><li><input id=Search_VisitingTeam name=Team class="search-field margin-btm-none" placeholder="( Visiting Team )"> <span class=clr></span> <input type=hidden id=Search_VisitingTeam_Id value=0><li><table><tbody><tr><td><div class=picker style=margin-right:5px><label for=fromperiod><b>FROM</b></label> <input style="padding:2px 0 2px 0;width:130px" type=date id=fromperiod name=from></div><td><div class=picker><label for=toperiod><b>TO</b></label> <input style="padding:2px 0 2px 0;width:130px" type=date id=toperiod name=to></div></table><span class=clr></span> <input type=hidden id=Search_EventDate value=0><li style=margin-right:0;margin-top:-17px;padding:8px;width:260px;margin-left:16px><button id=btnSchoolSearch class="small-btn-schedule fr" style=width:inherit onclick=SchoolSportSearch()>Search</button></ul></div></div>
814<script>var GetSportRequest=[];var GetTeamRequest=[];var GetVisitingTeamRequest=[];var jsonobjSchool={"search_text_School":""};var jsonobjSport={"search_text_Sport":""};var jsonobjTeam={"search_text_Team":""};var jsonobjVisitingTeam={"search_text_VisitingTeam":""};$(document).ready(function(){var leagueId=$("#hdnLeagueId").val();$("#fromperiod").val('');$("#toperiod").val('');$("#Search_Sport").val('');$("#Search_Team").val('');$("#Search_VisitingTeam").val('');$("#Search_Sport_Id").val('0');$("#Search_Team_Id").val('0');$("#Search_VisitingTeam_Id").val('0');$("#Search_Team").autocomplete({source:function(request,response)
815{$.each(GetTeamRequest,function(key,value){if(typeof(this)!='undefined')
816this.abort();});var urlservice="/AjaxRequest/Ajax/GetSchoolList";jsonobjTeam.searchtext=request.term;var ajaxTeamRequest=$.ajax({type:"GET",url:urlservice+"/?search_text_School="+request.term+"&leagueId="+leagueId,dataType:"json",data:"",contentType:"application/json; charset=utf-8",success:function(data){response($.map(data,function(item){return{label:item.schoolName,val:item.schoolId}}))},error:function(response){},failure:function(response){}});GetTeamRequest.push(ajaxTeamRequest);},focus:function(event,ui){$("#project").val(ui.item.label);return true;},select:function(event,ui){$("#Search_Team").val(ui.item.label);$("#Search_Team_Id").val(ui.item.val);return true;}});$("#Search_VisitingTeam").autocomplete({source:function(request,response)
817{$.each(GetVisitingTeamRequest,function(key,value){if(typeof(this)!='undefined')
818this.abort();});var urlservice="/AjaxRequest/Ajax/GetSchoolList";jsonobjVisitingTeam.searchtext=request.term;var ajaxTeamRequest=$.ajax({type:"GET",url:urlservice+"/?search_text_School="+request.term+"&leagueId="+leagueId,dataType:"json",data:"",contentType:"application/json; charset=utf-8",success:function(data){response($.map(data,function(item){return{label:item.schoolName,val:item.schoolId}}))},error:function(response){},failure:function(response){}});GetVisitingTeamRequest.push(ajaxTeamRequest);},focus:function(event,ui){$("#project").val(ui.item.label);return true;},select:function(event,ui){$("#Search_VisitingTeam").val(ui.item.label);$("#Search_VisitingTeam_Id").val(ui.item.val);return true;}});$("#Search_Sport").autocomplete({source:function(request,response){$.each(GetSportRequest,function(key,value){if(typeof(this)!='undefined')
819this.abort();});var urlservice="/AjaxRequest/Ajax/GetSportList";jsonobjSport.searchtext=request.term;var ajaxSportRequest=$.ajax({type:"GET",url:urlservice+"/?search_text_Sport="+request.term,dataType:"json",data:"",contentType:"application/json; charset=utf-8",success:function(data){response($.map(data,function(item){return{label:item.sportName,val:item.sportId}}))},error:function(response){},failure:function(response){}});GetSportRequest.push(ajaxSportRequest);},focus:function(event,ui){$("#Search_Sport").val(ui.item.label);return true;},select:function(event,ui){$("#Search_Sport").val(ui.item.label);$("#Search_Sport_Id").val(ui.item.val);return true;}});});function SchoolSportSearch()
820{var leagueId=$("#hdnLeagueId").val();var SportId=$("#Search_Sport_Id").val();var SportName=$("#Search_Sport").val()==""?"null":$("#Search_Sport").val();var SchoolId=$("#Search_School_Id").val();var TeamID=$("#Search_Team_Id").val();var TeamName=$("#Search_Team").val()==""?"null":$("#Search_Team").val();var VisitingTeamID=$("#Search_VisitingTeam_Id").val();var VisitingName=$("#Search_VisitingTeam").val()==""?"null":$("#Search_VisitingTeam").val();var FromDate=$("#fromperiod").val()==""?"null":$("#fromperiod").val();var ToDate=$("#toperiod").val()==""?"null":$("#toperiod").val();if(leagueId!=""&&leagueId!="0"&&(SportId!="0"||SchoolId!="0"||TeamID!="0"||VisitingTeamID!="0"||FromDate!=""||ToDate!=""))
821{var t1=window.location.href;var t2=t1.split('/');var t3=t2[0]+'//'+t2[2]+'/'+t2[3];var url=t3+"/"+"GameStreamById/"+leagueId+"&"+SportName+"&"+SportId+"&"+TeamName+"&"+TeamID+"&"+VisitingName+"&"+VisitingTeamID+"&"+FromDate+"&"+ToDate;window.location.href=url;}
822return false;}</script>
822<link href=//cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.6.1/css/bootstrap-datepicker.css rel=stylesheet>
822<script src=/js/jquery-migrate.min.js></script>
822<script src=/js/moment.js></script>
822<script src=/js/bootstrap-datepicker.js></script>
822<script src=/js/bootstrap-datepaginator.js></script>
822<script>var GetScheduleRequest=[];var currentDate="";var endDate="";$(document).ready(function(){currentDate=GetTodayDate();endDate=GetEndDate();selectedDate=GetTodayDateInFormat();fnAjaxMethod.fn_GetScheduleSection();fnAjaxMethod.fn_GetScheduleByDate(selectedDate);});var fnAjaxMethod={fn_GetScheduleByDate:function(selectedDate)
823{var leagueid=$("#hdnLeagueId").val();var Sportid=$("#hdnSportId").val();var Schoolid=$("#hdnSchoolId").val();var Showid=$("#hdnShowId").val();$.each(GetScheduleRequest,function(key,value)
824{if(typeof(this)!='undefined')
825this.abort();});Type="Post";Url="/AjaxRequest/Ajax/GetTeamSchedule";Data={"SelDate":""+selectedDate+"","leagueId":""+leagueid+"","SportId":""+Sportid+"","SchoolId":""+Schoolid+"","ShowId":""+Showid+"","leagueName":""+'MSHSL'+"","widgetId":""+''+""};ProcessData=true;var ajaxRequest=$.ajax({type:Type,url:Url,data:Data,success:function(data){$("#ScheduleSection").html(data);},error:function(){}});GetScheduleRequest.push(ajaxRequest);},fn_GetScheduleSection:function(){var options={endDateFormat:'DD-MM-YYYY',selectedDateFormat:'DD-MM-YYYY',selectedDate:currentDate,highlightSelectedDate:true,injectStyle:true,itemWidth:'30',navItemWidth:'16',selectedItemWidth:'10',showCalendar:true,showStartOfWeek:true,size:'small',startOfWeek:'Mon',text:'dd<br/>Do',textSelected:'ddd<br/>Do,MMM <br/>YYYY',width:'172',onSelectedDateChanged:function(event,date){var dateAsObject=$.datepicker.formatDate('mm/dd/yy',new Date(date));fnAjaxMethod.fn_GetScheduleByDate(dateAsObject);}}
826$('#DatePaginator').datepaginator(options);}}
827function GetTodayDate(){var today=new Date();var dd=today.getDate();var mm=today.getMonth()+1;var yyyy=today.getFullYear();if(dd<10){dd='0'+dd}
828if(mm<10){mm='0'+mm}
829var today=dd+'/'+mm+'/'+yyyy;return today;}
830function GetEndDate(){var today=new Date();var dd=today.getDate();var mm=today.getMonth()+2;var yyyy=today.getFullYear();if(dd<10){dd='0'+dd}
831if(mm<10){mm='0'+mm}
832else{if(mm=13){mm=mm-1}}
833var today=dd+'/'+mm+'/'+yyyy;return today;}
834function GetTodayDateInFormat(){var today=new Date();var dd=today.getDate();var mm=today.getMonth()+1;var yyyy=today.getFullYear();if(dd<10){dd='0'+dd}
835if(mm<10){mm='0'+mm}
836var today=mm+'/'+dd+'/'+yyyy;return today;}</script>
836<div class=event-detail-section><div style=text-align:center><button class=streaming-schedule-button onclick="location.href='/MSHSL/StreamingSchedule'"> STREAMING SCHEDULE </button></div><span class=clr></span> <a style=color:blue;cursor:pointer;text-decoration:underline onclick="location.href='/MSHSL/StreamingSchedule'"> View Full Schedule </a> <span class=clr></span><div id=DatePaginator></div><div id=ScheduleSection><style>.time-block{font-weight:bold;margin:10px;display:initial !important}</style><div id=tab-1 class="schedule-data tab-content"><h5>Oct 1st</h5><div class=scroll-list><ul><li>Two Rivers Vs Hill-Murray<span> GirlsSoccer <span class=time-block id=showTimeLeagueSchedule32836></span> <button class="small-btn-schedule fr" onclick="location.href='/MSHSL/GameStream/32836'">Watch Now</button> </span><li>Forest Lake Vs Woodbury<span> GirlsSoccer <span class=time-block id=showTimeLeagueSchedule32838></span> <button class="small-btn-schedule fr" onclick="location.href='/MSHSL/GameStream/32838'">Watch Now</button> </span><li>Stillwater Vs Cretin-Derham Hall<span> BoysSoccer <span class=time-block id=showTimeLeagueSchedule32840></span> <button class="small-btn-schedule fr" onclick="location.href='/MSHSL/GameStream/32840'">Watch Now</button> </span><li>Pine Island vs Chatfield - JV followed by Varsity<span> GirlsVolleyball <span class=time-block id=showTimeLeagueSchedule32879></span> <button class="small-btn-schedule fr" onclick="location.href='/MSHSL/GameStream/32879'">Watch Now</button> </span><li>Hastings Vs Hill-Murray<span> GirlsVolleyball <span class=time-block id=showTimeLeagueSchedule32842></span> <button class="small-btn-schedule fr" onclick="location.href='/MSHSL/GameStream/32842'">Watch Now</button> </span><li>Two Rivers Vs Hill-Murray<span> BoysSoccer <span class=time-block id=showTimeLeagueSchedule32837></span> <button class="small-btn-schedule fr" onclick="location.href='/MSHSL/GameStream/32837'">Watch Now</button> </span><li>Forest Lake Vs Woodbury<span> BoysSoccer <span class=time-block id=showTimeLeagueSchedule32839></span> <button class="small-btn-schedule fr" onclick="location.href='/MSHSL/GameStream/32839'">Watch Now</button> </span><li>Stillwater Vs Cretin-Derham Hall<span> GirlsSoccer <span class=time-block id=showTimeLeagueSchedule32841></span> <button class="small-btn-schedule fr" onclick="location.href='/MSHSL/GameStream/32841'">Watch Now</button> </span><li>Mankato East Vs New Prague<span> BoysSoccer <span class=time-block id=showTimeLeagueSchedule32843></span> <button class="small-btn-schedule fr" onclick="location.href='/MSHSL/GameStream/32843'">Watch Now</button> </span><li>Milaca Vs St. Cloud Cathedral<span> GirlsVolleyball <span class=time-block id=showTimeLeagueSchedule32844></span> <button class="small-btn-schedule fr" onclick="location.href='/MSHSL/GameStream/32844'">Watch Now</button> </span><li>Forest Lake Vs Woodbury<span> GirlsVolleyball <span class=time-block id=showTimeLeagueSchedule32845></span> <button class="small-btn-schedule fr" onclick="location.href='/MSHSL/GameStream/32845'">Watch Now</button> </span><li>Maple Grove Vs Spring Lake Park<span> GirlsSoccer <span class=time-block id=showTimeLeagueSchedule32860></span> <button class="small-btn-schedule fr" onclick="location.href='/MSHSL/GameStream/32860'">Watch Now</button> </span></ul></div></div>
836<script>$(document).ready(function(){const d=new Date();var year=d.getFullYear();var month=d.getMonth()+1;var day=d.getDate();let diff=d.getTimezoneOffset();var modelList=[];$('.schedule-data .scroll-list').slimscroll({height:'294px'});var itemObject={PublishDate:"10/1/2026 9:41:24 AM",ShowTime:"5:00 PM",LeagueId:"3",PostId:"32836",TimeDiff:diff,StateId:"1"};modelList.push(itemObject);var itemObject={PublishDate:"10/1/2026 9:41:24 AM",ShowTime:"5:00 PM",LeagueId:"3",PostId:"32838",TimeDiff:diff,StateId:"1"};modelList.push(itemObject);var itemObject={PublishDate:"10/1/2026 9:41:24 AM",ShowTime:"5:00 PM",LeagueId:"3",PostId:"32840",TimeDiff:diff,StateId:"1"};modelList.push(itemObject);var itemObject={PublishDate:"10/1/2026 9:41:24 AM",ShowTime:"6:00 PM",LeagueId:"3",PostId:"32879",TimeDiff:diff,StateId:"1"};modelList.push(itemObject);var itemObject={PublishDate:"10/1/2026 9:41:24 AM",ShowTime:"6:30 PM",LeagueId:"3",PostId:"32842",TimeDiff:diff,StateId:"1"};modelList.push(itemObject);var itemObject={PublishDate:"10/1/2026 9:41:24 AM",ShowTime:"7:00 PM",LeagueId:"3",PostId:"32837",TimeDiff:diff,StateId:"1"};modelList.push(itemObject);var itemObject={PublishDate:"10/1/2026 9:41:24 AM",ShowTime:"7:00 PM",LeagueId:"3",PostId:"32839",TimeDiff:diff,StateId:"1"};modelList.push(itemObject);var itemObject={PublishDate:"10/1/2026 9:41:24 AM",ShowTime:"7:00 PM",LeagueId:"3",PostId:"32841",TimeDiff:diff,StateId:"1"};modelList.push(itemObject);var itemObject={PublishDate:"10/1/2026 9:41:24 AM",ShowTime:"7:00 PM",LeagueId:"3",PostId:"32843",TimeDiff:diff,StateId:"1"};modelList.push(itemObject);var itemObject={PublishDate:"10/1/2026 9:41:24 AM",ShowTime:"7:00 PM",LeagueId:"3",PostId:"32844",TimeDiff:diff,StateId:"1"};modelList.push(itemObject);var itemObject={PublishDate:"10/1/2026 9:41:24 AM",ShowTime:"7:00 PM",LeagueId:"3",PostId:"32845",TimeDiff:diff,StateId:"1"};modelList.push(itemObject);var itemObject={PublishDate:"10/1/2026 9:41:24 AM",ShowTime:"7:00 PM",LeagueId:"3",PostId:"32860",TimeDiff:diff,StateId:"1"};modelList.push(itemObject);var localDateTime=getLocalPublishDateAndTimeEventList(modelList);function getLocalPublishDateAndTimeEventList(modelList){$.ajax({type:"POST",url:"/Your/GetLocalPublishDateAndTimeleagueForAllList",data:JSON.stringify(modelList),contentType:"application/json",dataType:"json",success:function(response){response.forEach(function(item){const dateTime=new Date(item.updatedPublishDateTime);const formattedDate=(dateTime.getMonth()+1).toString().padStart(2,'0')+'/'+
837dateTime.getDate().toString().padStart(2,'0')+'/'+
838dateTime.getFullYear();const hours=dateTime.getHours();const minutes=dateTime.getMinutes();const ampm=hours>=12?'PM':'AM';const formattedTime=((hours%12)||12).toString().padStart(2,'0')+':'+
839minutes.toString().padStart(2,'0')+' '+
840ampm;var showTimeElement=document.getElementById('showTimeLeagueSchedule'+item.postId);if(showTimeElement!==null){showTimeElement.textContent=formattedTime;}});},error:function(req,status,error){console.error(error);}});}});function CheckAndRedirect(id){var checkUser=false;var leaguename='MSHSL';if(checkUser!=null&&checkUser!=""){window.location.href="/"+leaguename+"/EventPackage/"+id;}
841else{window.location.href="/Auth/SignIn?returnUrl=/"+leaguename+"&PostId="+id;}}</script>
841</div></div><div class="add-section align-center"><a href=//schoolspacemedia.com/jobs target=_blank alt=""> <img src=//ssmstorage.blob.core.windows.net/ssmtvassets/JoinOurTeam-WebBanner.png alt=""> </a></div><div class="add-section align-center"><a href="//varsity.startribune.com/" target=_blank alt=""> <img src=//ssmstorage.blob.core.windows.net/ssmtvassets/StribVarsity_DigitalAdsRONROS_2025.jpg alt=""> </a></div><div class=twitter-section><a class=twitter-timeline data-height=600 data-theme=dark href=//twitter.com/NSPNminnesota>Tweets by @NSPNminnesota</a>
841<script async src=//platform.twitter.com/widgets.js charset=utf-8></script>
841</div></div></div><footer class=footer-wraper><div class=footer><p>To read our Terms of Use, <a style=cursor:pointer;text-decoration:underline href="//ssmstorage.blob.core.windows.net/customfiles/School Space Terms of Use.pdf" target=_blank>click here</a> <br> For support using NSPN.tv or questions about game purchases, <a style=cursor:pointer;text-decoration:underline onclick=CheckURLAndRedirect()> visit fan support </a> <br>For story ideas or general questions, please email us at <a href=mailto:[email protected]>[email protected]</a> <br>For sponsorship inquiries, please email us at <a href=mailto:[email protected]>[email protected]</a> <br>For job inquiries, please email us at <a href=mailto:[email protected]>[email protected]</a></div>
841<script>function CheckURLAndRedirect(){var checkUrl='MSHSL';if(checkUrl!=null&&checkUrl!=""){window.location.href="/"+checkUrl+"/Support/";}
842else{window.location.href="/MSHSL/Support/";}}</script>
842</footer>
842<script src="/js/plugins.js?v=HxNZYT7-Jafaa6XvoF-4CL0hUcWyO3Y0ls5k3td0x3E"></script>
842<script src=/js/jquery.slimscroll.min.js></script>
842</div><div class=show-sml><nav id=mobile_menu><ul><li><form class=search-form><input id=MobileCommonSchoolSearch placeholder="( Find Your School )" type=search class="margin-btm-none fl"> <button type=button id=btnMobileCommonSchoolSearch class=fl onclick=MobileSchoolSearch()><img src=//ssmstorage.blob.core.windows.net/prepespotlightasset/images/search-icon.png alt=""></button> <span class=clr></span> <input type=hidden id=MobileSchool-id></form><li><a href=/MSHSL>Home</a><li><a href=/MSHSL/GameStream>GameStream</a><li><a href=/SearchGameStream/MSHSL>Search</a><li><li><a href=#>Shows <span class=sub-arrow></span></a><ul><li><a href=/MSHSL/SpotlightShow>Prep Spotlight </a><li><a href=/MSHSL/YearBookShow>Prep YearBook </a></ul><li><a href=#>Sports <span class=sub-arrow></span></a><ul class=games-dropdown><li><a href=/MSHSL/sport/adaptedfloorhockey-ci>Adapted Floor Hockey CI</a><li><a href=/MSHSL/sport/adaptedfloorhockey-pi>Adapted Floor Hockey PI</a><li><a href=/MSHSL/sport/adaptedsoccerci>Adapted Soccer CI</a><li><a href=/MSHSL/sport/adaptedsoccerpi>Adapted Soccer PI</a><li><a href=/MSHSL/sport/adaptersoftballci>Adapted Softball CI</a><li><a href=/MSHSL/sport/adaptedsoftballpi>Adapted Softball PI</a><li><a href=/MSHSL/sport/AlpineSkiing>Alpine Skiing</a><li><a href=/MSHSL/sport/Badminton>Badminton</a><li><a href=/MSHSL/sport/Baseball>Baseball ( Boys )</a><li><a href=/MSHSL/sport/BoysBasketball>Basketball ( Boys )</a><li><a href=/MSHSL/sport/GirlsBasketball>Basketball ( Girls )</a><li><a href=/MSHSL/sport/BeachVolleyball>Beach Volleyball</a><li><a href=/MSHSL/sport/collegiateswimming>College Swimming</a><li><a href=/MSHSL/sport/CrossCountry>Cross Country</a><li><a href=/MSHSL/sport/Dance>Dance</a><li><a href=/MSHSL/sport/FlagFootball>Flag Football</a><li><a href=/MSHSL/sport/Football>Football</a><li><a href=/MSHSL/sport/Golf>Golf</a><li><a href=/MSHSL/sport/Gymnastics>Gymnastics ( Girls )</a><li><a href=/MSHSL/sport/BoysHockey>Hockey ( Boys )</a><li><a href=/MSHSL/sport/GirlsHockey>Hockey ( Girls )</a><li><a href=/MSHSL/sport/BoysLacrosse>Lacrosse ( Boys )</a><li><a href=/MSHSL/sport/GirlsLacrosse>Lacrosse ( Girls )</a><li><a href=/MSHSL/sport/NordicSkiing>Nordic Skiing</a><li><a href=/MSHSL/sport/Other>Other</a><li><a href=/MSHSL/sport/BoysSoccer>Soccer ( Boys )</a><li><a href=/MSHSL/sport/GirlsSoccer>Soccer ( Girls )</a><li><a href=/MSHSL/sport/Softball>Softball ( Girls )</a><li><a href=/MSHSL/sport/coedswimming>Swimming</a><li><a href=/MSHSL/sport/BoysSwimming>Swimming ( Boys )</a><li><a href=/MSHSL/sport/GirlsSwimming>Swimming ( Girls )</a><li><a href=/MSHSL/sport/BoysTennis>Tennis ( Boys )</a><li><a href=/MSHSL/sport/GirlsTennis>Tennis ( Girls )</a><li><a href=/MSHSL/sport/Track&amp;Field>Track &amp; Field</a><li><a href=/MSHSL/sport/BoysVolleyball>Volleyball ( Boys )</a><li><a href=/MSHSL/sport/GirlsVolleyball>Volleyball ( Girls )</a><li><a href=/MSHSL/sport/Wrestling>Wrestling</a><li><a href=/MSHSL/sport/YouthSoccer>Youth Soccer</a></ul><li><a href=/MSHSL/EventPackage>Buy Packages</a><li><a href=/MSHSL/StateTournament>State Tournaments</a><li><a href="/auth/signin?returnurl=%2FMSHSL"><i class="fa fa-user"></i> Sign In </a><li><a href=/MSHSL/Support>Fan Support</a><li><li class=last-child></ul></nav>
842<script>var GetSchoolRequest=[];var jsonobj={"searchtext":""};$(document).ready(function(){var leagueId=$("#hdnLeagueId").val();$("#MobileCommonSchoolSearch").autocomplete({source:function(request,response){$.each(GetSchoolRequest,function(key,value){if(typeof(this)!='undefined')
843this.abort();});var urlservice="/AjaxRequest/Ajax/GetSchoolList";jsonobj.searchtext=request.term;$.ajax({type:"GET",url:urlservice+"/?search_text_School="+request.term+"&leagueId="+leagueId,dataType:"json",data:"",contentType:"application/json; charset=utf-8",success:function(data){response($.map(data,function(item){return{label:item.schoolName,val:item.friendlyUrl}}))},error:function(response){},failure:function(response){}});GetSchoolRequest.push(ajaxRequest);},focus:function(event,ui){$("#MobileCommonSchoolSearch").val(ui.item.label);return true;},select:function(event,ui){$("#MobileCommonSchoolSearch").val(ui.item.label);$("#MobileSchool-id").val(ui.item.val);CommonSchoolSearch();return true;}});});function MobileSchoolSearch()
844{if($("#MobileSchool-id").val()!=null&&$("#MobileSchool-id").val()!=''){window.location.href=$("#MobileSchool-id").val();}
845return false;}</script>
845</div>
845<script>var Prep_Spotlight_Players=[];var Three_Col_Players=[];var refreshTimer;var timeInterval=1000*(120);var liveRequest=[];$(function(){$('nav#mobile_menu').mmenu({"offCanvas":{"position":"right"},extensions:['effect-slide-menu','pageshadow'],navbars:[{},{content:['close']}]});});$('.bxslider').bxSlider({minSlides:2,maxSlides:4,slideWidth:220,slideMargin:10});$('.bxsliderTwo').bxSlider({adaptiveHeight:true,mode:'fade'});$(document).ready(function(){var leagueTopHeaderId=$("#hdnLeagueId").val();var sportTopHeaderId=$("#hdnSportId").val();var schoolTopHeaderId=$("#hdnSchoolId").val();var showTopHeaderId=$("#hdnShowId").val();var teamTopHeaderId=$("#hdnTeamId").val();var topContainer=$("#HeaderTopSection");var refreshTopComponent=function(){$.get("/National/UpdateTopHeader",{leagueId:leagueTopHeaderId,schoolId:schoolTopHeaderId,sportId:sportTopHeaderId,teamId:teamTopHeaderId,showId:showTopHeaderId},function(data){topContainer.html(data);});};const urlParams=new URLSearchParams(window.location.search);const referralCode=urlParams.get('referral');if(referralCode){window.sessionStorage.setItem("referralCode",referralCode);}
846$(function(){window.setTimeout(refreshTopComponent,2000);});$("#SeeMoreWidgetEvents").click(function(){$("#imgleagueLoader").show();var leagueid=$("#hdnLeagueId").val();var Sportid=$("#hdnSportId").val();var Schoolid=$("#hdnSchoolId").val();var Pageid=$("#hdnPageId").val();var container=$("#leaguePostSection");var count=parseInt($("#hdnleagueSeeMoreCount").val());var widgetUrl=$("#widgetid").val();$.get("/WidgetFriendlyURL/SeeMoreVideoTile/",{widgetUrl:widgetUrl,countNew:count},function(data){container.html(data);$("#imgleagueLoader").hide();});count=count+1;$("#hdnleagueSeeMoreCount").val(count);});$("#LeagueSeeMore").click(function(){$("#imgleagueLoader").show();var leagueid=$("#hdnLeagueId").val();var Sportid=$("#hdnSportId").val();var Schoolid=$("#hdnSchoolId").val();var Pageid=$("#hdnPageId").val();var container=$("#leaguePostSection");var count=parseInt($("#hdnleagueSeeMoreCount").val());$.get("/LeagueHome/SeeMoreVideoTile/",{leagueId:leagueid,countNew:count,SchoolId:Schoolid,sportId:Sportid,PageId:Pageid},function(data){console.log(data);container.html(data);console.log(container.html(data));$("#imgleagueLoader").hide();});count=count+1;$("#hdnleagueSeeMoreCount").val(count);});$("#SportSeeMore").click(function(){$("#imgleagueLoader").show();var leagueid=$("#hdnLeagueId").val();var Sportid=$("#hdnSportId").val();var Schoolid=$("#hdnSchoolId").val();var Pageid=$("#hdnPageId").val();var container=$("#SportPostSection");var count=parseInt($("#hdnSportSeeMoreCount").val());$.get("/Sport/SeeMoreVideoTile/",{leagueId:leagueid,countNew:count,SchoolId:Schoolid,sportId:Sportid,PageId:Pageid},function(data){container.html(data);$("#imgleagueLoader").hide();});count=count+1;$("#hdnSportSeeMoreCount").val(count);});$("#SchoolSeeMore").click(function(){$("#imgleagueLoader").show();var leagueid=$("#hdnLeagueId").val();var Sportid=$("#hdnSportId").val();var Schoolid=$("#hdnSchoolId").val();var Pageid=$("#hdnPageId").val();var container=$("#SchoolPostSection");var count=parseInt($("#hdnSchoolSeeMoreCount").val());$.get("/School/SeeMoreVideoTile/",{leagueId:leagueid,countNew:count,SchoolId:Schoolid,sportId:Sportid,PageId:Pageid},function(data){container.html(data);$("#imgleagueLoader").hide();});count=count+1;$("#hdnSchoolSeeMoreCount").val(count);});$("#watchAgainSeeMore").click(function(){$("#imgLoaderwatchagain").show();var leagueid=$("#hdnLeagueId").val();var Sportid=$("#hdnSportId").val();var Schoolid=$("#hdnSchoolId").val();var Pageid=$("#hdnPageId").val();var container=$("#watchAgainVideoGallery");var count=parseInt($("#watchAgainvideoGalleryTileCount").val());$.get("/GameStream/watchAgainSeeMore/",{leagueId:leagueid,countNew:count,SchoolId:Schoolid,sportId:Sportid,PageId:Pageid},function(data){container.html(data);$("#imgLoaderwatchagain").hide();});count=count+9;$("#watchAgainvideoGalleryTileCount").val(count);});$("#ShowSeeMore").click(function(){$("#imgShowLoader").show();var leagueid=$("#hdnLeagueId").val();var Sportid=$("#hdnSportId").val();var Schoolid=$("#hdnSchoolId").val();var Pageid=$("#hdnPageId").val();
846var Showid=$("#hdnShowId").val();var container=$("#ShowPostSection");var count=parseInt($("#hdnShowSeeMoreCount").val());$.get("/Show/ShowSeeMore/",{leagueId:leagueid,countNew:count,SchoolId:Schoolid,sportId:Sportid,PageId:Pageid,ShowId:Showid},function(data){container.html(data);$("#imgShowLoader").hide();});count=count+9;$("#hdnShowSeeMoreCount").val(count);});$(".tabs-menu td a").click(function(event){event.preventDefault();$(this).parent().addClass("current");$(this).parent().siblings().removeClass("current");var tab=$(this).attr("href");$(tab).parent().find('div').fadeOut();$(tab).fadeIn();});});let inactivityTimeout;let isFullScreen=false;let iosPlayer;let IsPausedByUser=false;function PlayShow(playerid,feedurl,posterImage,image,button,Id){var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();model.FeedUrl=feedurl;$.ajax({url:"/PSTVTransaction/UserAction",datatype:"json",type:"POST",data:model,success:function(data){if(!feedurl.includes("/manifest(filter=AssetFilter_")){feedurl=data+"/manifest";}
847var userName="";var count=0;var countnew=0;if('False'){var firstName=$("#hdnUserFirstName").val();var lastName=$("#hdnUserLastName").val();if(firstName!=null&&firstName!=""&&firstName!=undefined)
848userName=firstName+" "+lastName;}
849var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);if(buttonHighlightFeedId.text()==""||buttonHighlightFeedId.is(':visible')){buttonHighlightFeedId.hide();buttonFeedId.show();}
850else{buttonHighlightFeedId.show();buttonFeedId.hide();}
851$('#'+image).hide();$('#'+button).hide();var source={src:feedurl,type:"application/vnd.ms-sstr+xml"};var myOptions={"nativeControlsForTouch":false,autoplay:true,controls:true,width:"279.328",height:"156",poster:"https://ssmstorage.blob.core.windows.net/ssmtvassets/LoadingGraphic.jpg",logo:{"enabled":false},plugins:{ga:{'eventLabel':feedurl+" "+userName,'eventsToTrack':['playerConfig','loaded','playTime','percentsPlayed','start','end','play','pause','error','buffering','fullscreen','seek','bitrate'],'debug':false}},ampAds:{preRoll:{sourceUri:'/images/Advertisement_XMLFile2.xml',options:{skipAd:{enabled:false,offset:10}}},mainProgram:{source:source,}}};var PlayerObj=amp(playerid,myOptions);PlayerObj.addEventListener('playing',function(){console.log("playing");console.log(this.id_);$("#homeThreeTile_"+Id).addClass("Livevideoplaying"+Id);$("#friendlyurlwidget_"+Id).addClass("Livevideoplaying"+Id);if(window.matchMedia("(max-width: 1024px)").matches){if(count==0){$("#"+this.id_+" .vjs-progress-control").hide();count=count+1;}}
852document.getElementById("techIssue"+Id).style.display='none';document.getElementById("urlNotFound"+Id).style.display='none';});PlayerObj.addEventListener('ended',function(){console.log('Video Finished!');if(count>0){$("#"+this.id_+" .vjs-progress-control").show();}});PlayerObj.addEventListener('error',function(){if(PlayerObj.error().code&amp.errorCode.abortedErrStart){document.getElementById("techIssue"+Id).style.display='block';console.log("1");}
853else if(PlayerObj.error().code&amp.errorCode.networkErrHttpUrlNotFound){console.log("2.1");document.getElementById("techIssue"+Id).style.display='block';refreshTimer=setInterval("GetNewFeedforTechIssue("+Id+")",timeInterval);}
854else if(PlayerObj.error().code&amp.errorCode.networkErrTimeout){console.log("2.2");document.getElementById("techIssue"+Id).style.display='block';refreshTimer=setInterval("GetNewFeedforTechIssue("+Id+")",timeInterval);}
855else if(PlayerObj.error().code&amp.errorCode.networkErrStart){console.log("2");document.getElementById("techIssue"+Id).style.display='block';refreshTimer=setInterval("GetNewFeedforTechIssue("+Id+")",timeInterval);}
856else if(PlayerObj.error().code&amp.errorCode.decodeErrStart){document.getElementById("techIssue"+Id).style.display='block';console.log("3");}
857else if(PlayerObj.error().code&amp.errorCode.srcErrStart){document.getElementById("techIssue"+Id).style.display='block';console.log("4");}
858else if(PlayerObj.error().code&amp.errorCode.encryptErrStart){document.getElementById("techIssue"+Id).style.display='block';console.log("5");}
859else if(PlayerObj.error().code&amp.errorCode.srcPlayerMismatchStart){document.getElementById("techIssue"+Id).style.display='block';console.log("6");}
860else{document.getElementById("techIssue"+Id).style.display='block';console.log("7");}});var eventDurInSec=0;PlayerObj.addEventListener('loadeddata',function(){eventDurInSec=parseInt(PlayerObj.duration());});var setTimeForEvent=GetStartTimeForEvent("GAMESTREAM");if(parseInt(setTimeForEvent)>0){PlayerObj.addEventListener(amp.eventName.play,function(){if(eventDurInSec>setTimeForEvent){PlayerObj.currentTime(parseInt(setTimeForEvent));}});}
861Three_Col_Players.push(PlayerObj);},});}
862function PlayShowMKIO(feedurl,posterImage,image,button,Id,eventState,data){var feedurl;var dashUrl;var hlsUrl;const formatMpd="format=mpd-time-cmaf";const formatM3u8="format=m3u8-cmaf";if(data.includes("/manifest(filter=")){dashUrl=addFormatToUrl(data,formatMpd);hlsUrl=addFormatToUrl(data,formatM3u8);}
863else{dashUrl=data+"/manifest(format=mpd-time-cmaf)";hlsUrl=data+"/manifest(format=m3u8-cmaf)";}
864function addFormatToUrl(url,format){const manifestIndex=url.indexOf("manifest(");if(manifestIndex===-1){return url;}
865const insertPosition=manifestIndex+"manifest(".length;const newUrl=url.slice(0,insertPosition)+format+","+url.slice(insertPosition);return newUrl;}
866var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);if(buttonHighlightFeedId.text()==""||buttonHighlightFeedId.is(':visible')){buttonHighlightFeedId.hide();buttonFeedId.show();}
867else{buttonHighlightFeedId.show();buttonFeedId.hide();}
868$('#'+image).hide();$('#'+button).hide();var controlbar=document.getElementById('controlbar'+Id);if(controlbar){controlbar.classList.remove('hide-content');}
869const videoContainer=document.getElementById("video-container"+Id);videoContainer.classList.add('hide-seekbar');const bufferLoader=document.getElementById("bufferLoader"+Id);const muteBtn=document.getElementById("muteBtn"+Id);const volumeSlider=document.getElementById("volumeSlider"+Id);const seekBar=document.getElementById("seekBar"+Id);const seekBarTooltip=document.getElementById("seekBarTooltip"+Id);const playPauseBtn=document.getElementById("playPauseBtn"+Id);const playPauseBtnBottom=document.getElementById("playPauseBtnBottom"+Id);const currentTimeLabel=document.getElementById("currentTime"+Id);const durationLabel=document.getElementById("duration"+Id);const pipBtn=document.getElementById("pipBtn"+Id);const fullscreenBtns=document.getElementById("fullscreenBtns"+Id);const settingsBtn=document.getElementById("settingsBtn"+Id);const settingsMenu=document.getElementById("settingsMenu"+Id);const qualityOptions=document.getElementById("qualityOptions"+Id);const jumpBackBtn=document.getElementById("jumpBackBtn"+Id);const jumpForwardBtn=document.getElementById("jumpForwardBtn"+Id);const castButton=document.getElementById("castButton"+Id);const goLive=document.getElementById("goLives"+Id);const video=document.getElementById("bitmovinplayer-video-video-container"+Id)
870const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;if(isMobileScreen){$("#video-container"+Id).removeClass("full-screen");$("#video-container"+Id).removeClass("full-width");}
871function updatefontSize(idName,percent){const element=document.getElementById(idName);const currentFontSize=window.getComputedStyle(element).fontSize;const newFontSize=parseFloat(currentFontSize)*percent;element.style.fontSize=`${newFontSize}px`;}
872jumpBackBtn.addEventListener("click",jumpBack);jumpForwardBtn.addEventListener("click",jumpForward);volumeSlider.addEventListener("input",handleVolumeChange);volumeSlider.addEventListener("touchend",handleVolumeChange);goLive.addEventListener("click",GoLive);castButton.addEventListener("click",CastButton);playPauseBtn.addEventListener("click",PlayPauseBtn);playPauseBtnBottom.addEventListener("click",PlayPauseBtn);muteBtn.addEventListener("click",MuteBtn);settingsBtn.addEventListener('click',SettingsBtn);let isJumpBack=false;let newTime=0;let currentTimejumpBack=0;let lastUpdateTime=Date.now();let lastKnownTime=0;let updateInterval;let jumpBackSeconds;let currentTimeIsjumpback=0;let testMyCount=0;let duration=0;let currentTime=0;let isSeekbarInput=false;let seekBarcurrentTime=0;let lastVolume;let durationSeekBar=0;var backwardLive=null;var backwardLiveCurrent=null;var seekbarvalueChanged=null;let lastManualInteractionTime=0;let selectedTimefromLive=null;let lastSeconds=null;let previousMiddleValue=null;let updatedTime=null;let timeString=null;let parts=null;let lastValue=null;
872let currentValue=null;let firstClick=true;let jumpBackTimeout=null;let jumpForwardTimeout=null;let isjumpForward=false;let currentValueForward=null;let durationValueForward=null;let formatedTimeHHMMSS=null;let partsOfTimeHHMMSS=null;let liveSeekBarPercentage=null;let player;let mainSourceConfig;let mainSourceConfigVod;let prerollSourceConfig;const BUFFER_THRESHOLD=0;let currentTimeforResume=0;let isseeked=false;let isPlaybackFinish=false;let stallTimeout;let isPlaybackFinished=false;volumeSlider.value=100;let seekbarvalueChangedlast=0;let incrementtime=0;let liveEnded=false;let playermuted=false;let playerVolume=100;let PIPIsenable=false;const playerConfig={key:"d0167b1c-9767-4287-9ddc-e0fa09d31e02",playback:{muted:false,autoplay:true},ui:false,events:{[mkplayer.MKPlayerEvent.TimeChanged]:(event)=>{if(eventState==1){$("#homeThreeTile_"+Id).addClass("HomeCustomCurrentPlay"+Id);}
873if(eventState==2){$("#homeThreeTile_"+Id).addClass("PlayingLiveEvent"+Id);}
874if(eventState==2||eventState==1){if(player.isLive()){let offsetTime=player.getTimeShift();let duration=player.getDuration();if(offsetTime>=-1){currentTimeLabel.textContent="🔴 Live";}
875else{currentTimeLabel.textContent=FormatSecondsIntoHHMMSS(offsetTime);}
876durationLabel.textContent=FormatSecondsIntoHHMMSS(duration);seekBar.step=0.01;let seconds=Math.abs(offsetTime);seconds=duration-seconds;seekBar.value=parseFloat(((seconds/duration)*100).toFixed(3));}
877else{let currentTime=player.getCurrentTime();let duration=player.getDuration();let onDemandSeekbarPercentage=(currentTime/duration)*100;currentTimeLabel.textContent=FormatSecondsIntoHHMMSS(currentTime);seekBar.value=onDemandSeekbarPercentage;currentTimeforResume=currentTime;}}
878else{let currentTime=player.getCurrentTime();let duration=player.getDuration();let onDemandSeekbarPercentage=(currentTime/duration)*100;currentTimeLabel.textContent=FormatSecondsIntoHHMMSS(currentTime);seekBar.value=onDemandSeekbarPercentage;currentTimeforResume=currentTime;}},[mkplayer.MKPlayerEvent.Playing]:(data)=>{if(eventState==2){$("#homeThreeTile_"+Id).addClass("Livevideoplaying"+Id);$("#friendlyurlwidget_"+Id).addClass("Livevideoplaying"+Id);$("#gameStreamFWV_"+Id).addClass("Livevideoplaying"+Id);}
879if(liveEnded){let currentTime=player.getCurrentTime();let duration=player.getDuration();let onDemandSeekbarPercentage=(currentTime/duration)*100;currentTimeLabel.textContent=FormatSecondsIntoHHMMSS(currentTime);seekBar.value=onDemandSeekbarPercentage;currentTimeforResume=currentTime;}},[mkplayer.MKPlayerEvent.DurationChanged]:(data)=>{const ua=navigator.userAgent||navigator.vendor||window.opera;const isTouch='ontouchstart'in window&&!window.MSStream;if(eventState==2){let isiOSDevicess=(/iPad|iPhone|iPod/.test(navigator.userAgent)||(navigator.userAgent.includes('Macintosh')&&'ontouchend'in document))&&!window.MSStream;if(!player.isLive()&&!isiOSDevicess){let currentTime=player.getCurrentTime();console.log(currentTime);var duration=player.getDuration();console.log(duration);const givenTimestamp=currentTime;const givenDate=new Date(givenTimestamp*1000);liveEnded=true;const currentDate=new Date();const timeDifference=(currentDate-givenDate)/1000;console.log(timeDifference);const seekTimesss=duration-timeDifference;console.log(seekTimesss);player.reload(undefined,{startOffset:Math.floor(seekTimesss)});const goLive=document.querySelector("#video-container"+Id+" .goLive-icon");goLive.style.visibility='hidden';}
880else{console.log("isLive else");}}},[mkplayer.MKPlayerEvent.PlaybackFinished]:(data)=>{if(eventState==2&&player.hasEnded()){if(window.location.pathname.toLowerCase().includes('gamestream')||window.location.pathname.toLowerCase().includes('mediaplayer')){GetStreamEndContent(Id,"GameStreamPage","Finish",'GetReceiveMessage');}
881else{GetStreamEndContent(Id,"HomePage","Finish",'GetReceiveMessage');}}
882else if(eventState!=2&&player.hasEnded()){seekBar.value=0;currentTimeLabel.textContent='00:00:00';player.reload();}},[mkplayer.MKPlayerEvent.SourceLoaded]:()=>{UpdateUI(player);},[mkplayer.MKPlayerEvent.Play]:()=>{playPauseBtn.innerHTML='<i class="fas fa-pause"></i>';playPauseBtnBottom.innerHTML='<i class="fas fa-pause"></i>';},[mkplayer.MKPlayerEvent.Error]:(data)=>
882{if(eventState!=2){console.log('Error');console.error('Error during retry attempt:',data);currentTimeforResume=currentTimeforResume+1;var duration=player.getDuration();if(duration>currentTimeforResume){player.reload(undefined,{startOffset:currentTimeforResume});}
883else{player.reload();currentTimeLabel.textContent='00:00';seekBar.value=0;durationLabel.textContent=FormatSecondsIntoHHMMSS(duration);}}
884else{console.log('Error');var duration=player.getDuration();player.reload(undefined,{startOffset:duration});}},[mkplayer.MKPlayerEvent.Paused]:(data)=>{let isiOSDevice=(/iPad|iPhone|iPod/.test(navigator.userAgent)||(navigator.userAgent.includes('Macintosh')&&'ontouchend'in document))&&!window.MSStream;if(eventState==1&&isiOSDevice){$("#homeThreeTile_"+Id).removeClass("HomeCustomCurrentPlay"+Id);}
885playPauseBtn.innerHTML=`<button id="playPauseBtn`+Id+`" class="icon play-ppi-icon"><i class="fas fa-play"></i></button>`;playPauseBtnBottom.innerHTML=`<button id="playPauseBtnBottom`+Id+`" class="icon"><i class="fas fa-play"></i></button>`;},}};function UpdateUI(player){const duration=player.getDuration();durationLabel.textContent=FormatSecondsIntoHHMMSS(duration);const controlBar=document.querySelector("#video-container"+Id+" .controlbar");const FullWidthcontrolBar=document.querySelector("#video-container"+Id+".full-width");const FullScreecontrolBar=document.querySelector("#video-container"+Id+".full-screen");const midArrow=document.querySelector("#video-container"+Id+" .seekbar-container");const volumeControl=document.querySelector("#video-container"+Id+" .controlbar .volume-button.volume-up");const goLive=document.querySelector("#video-container"+Id+" .goLive-icon");const goLiveButton=document.getElementById("goLives"+Id);const castbuttons=document.getElementById("castButton"+Id);const pipBtns=document.getElementById("pipBtn"+Id);var vQ=player.getAvailableVideoQualities();populateQualityOptions(vQ);initializeCasting(Id);if(prerollSourceConfig.adType==="preroll"||eventState==1){prerollSourceConfig.adType="";controlBar.style.visibility='hidden';midArrow.style.visibility='hidden';goLive.style.visibility='hidden';castbuttons.style.visibility='hidden';pipBtns.style.visibility='hidden';}
886else if(eventState==2||eventState==1){bufferLoader.style.display='block';videoContainer.style.setProperty('filter','blur(1px)');player.play().then(()=>{bufferLoader.style.display='none';videoContainer.style.removeProperty('filter');goLive.style.visibility='initial';videoContainer.classList.remove('hide-seekbar');controlBar.style.visibility='initial';midArrow.style.visibility='initial';castbuttons.style.visibility='initial';pipBtns.style.visibility='initial';controlBar.style.width='94%';if(FullWidthcontrolBar!=null&&FullWidthcontrolBar!=""&&FullWidthcontrolBar!=undefined){controlBar.style.width='93.7%%';}
887if(FullScreecontrolBar!=null&&FullScreecontrolBar!=""&&FullScreecontrolBar!=undefined){controlBar.style.width='93.7%%';}}).catch(error=>{console.error("Playback error:",error);bufferLoader.style.display='none';});}
888else{bufferLoader.style.display='block';videoContainer.style.setProperty('filter','blur(1px)');player.play().then(()=>{bufferLoader.style.display='none';videoContainer.style.removeProperty('filter');videoContainer.classList.remove('hide-seekbar');controlBar.style.visibility='initial';midArrow.style.visibility='initial';castbuttons.style.visibility='initial';pipBtns.style.visibility='initial';controlBar.style.width='94%';if(FullWidthcontrolBar!=null&&FullWidthcontrolBar!=""&&FullWidthcontrolBar!=undefined){controlBar.style.width='97.7%';}
889if(FullScreecontrolBar!=null&&FullScreecontrolBar!=""&&FullScreecontrolBar!=undefined){controlBar.style.width='98.7%';}}).catch(error=>{console.error("Playback error:",error);bufferLoader.style.display='none';});}
890if(eventState!=2||prerollSourceConfig.adType==="preroll"){goLiveButton.disabled=true;}
891else{goLiveButton.disabled=false;}
892volumeControl.style.visibility='initial';}
893player=new mkplayer.MKPlayer(videoContainer,playerConfig);player.on(mkplayer.MKPlayerEvent.Ready,(event)=>{$("#video-container"+Id).addClass("open");});mainSourceConfig={title:"",description:"",poster:"https://ssmstorage.blob.core.windows.net/ssmtvassets/LoadingGraphic.jpg",hls:hlsUrl,dash:dashUrl,assetType:"live",};mainSourceConfigVod={title:"",description:"",poster:"https://ssmstorage.blob.core.windows.net/ssmtvassets/LoadingGraphic.jpg",hls:hlsUrl,dash:dashUrl,assetType:"vod",};prerollSourceConfig={title:"",description:"",poster:"https://ssmstorage.blob.core.windows.net/ssmtvassets/LoadingGraphic.jpg",hls:"https://westus2.av.mk.io/nspnwcdn-nspn-w/e91cbca5-041e-4682-a271-c580b06c5169/2025-PreRoll-Fall-6s.ism/manifest(format=m3u8-cmaf)",dash:"https://westus2.av.mk.io/nspnwcdn-nspn-w/e91cbca5-041e-4682-a271-c580b06c5169/2025-PreRoll-Fall-6s.ism/manifest(format=mpd-time-cmaf)",adType:'preroll'};function loadPrerollSource(){const mainSourceConfigToUse=eventState===3||eventState===1?mainSourceConfigVod:mainSourceConfig;var onPrerollEnded;
893if(eventState==1){player.load(mainSourceConfigToUse).then(()=>{console.log('mainSourceConfigToUse');player.play();});}
894else{player.load(prerollSourceConfig).then(()=>{const isiOS=(/iPad|iPhone|iPod/.test(navigator.userAgent)||(navigator.userAgent.includes('Macintosh')&&'ontouchend'in document))&&!window.MSStream;player.setVolume(playerVolume);if(playermuted){player.mute();}
895player.play();if(isiOS){onPrerollEnded=()=>{playermuted=player.isMuted();playerVolume=player.getVolume();player.load(mainSourceConfigToUse).then(()=>{if(playermuted){player.mute();}
896player.setVolume(playerVolume);player.play();}).catch((error)=>{console.error("Error loading the main source!",error);});const videoElement=player.getVideoElement();if(videoElement){videoElement.removeEventListener('ended',onPrerollEnded);}else{console.error("Video element is null after player reinitialization.");}};}
897else{onPrerollEnded=()=>{let playermuted=player.isMuted();playerVolume=player.getVolume();player.destroy();const playerMultiple=new mkplayer.MKPlayer(videoContainer,playerConfig);player=playerMultiple;player.load(mainSourceConfigToUse).then(()=>{if(playermuted){player.mute();}
898player.setVolume(playerVolume);player.play();}).catch((error)=>{console.error("Error loading the main source!",error);});const videoElement=player.getVideoElement();if(videoElement){videoElement.removeEventListener('ended',onPrerollEnded);}else{console.error("Video element is null after player reinitialization."+videoContainer.id);}};}
899const videoElement=player.getVideoElement();if(videoElement){videoElement.addEventListener('ended',onPrerollEnded);}else{console.error("Video element is null while adding the event listener.");}}).catch((error)=>{console.error("Error loading preroll source:",error);player.load(mainSourceConfigToUse).then(()=>{player.play();console.log("Main source loaded as fallback!");}).catch((mainError)=>{console.error("Error loading fallback main source:",mainError);});});}}
900loadPrerollSource();function loadMedia(){const castContext=cast.framework.CastContext.getInstance();let session=castContext.getCurrentSession();if(session){loadMediaToSession(session);}else{castContext.requestSession().then(newSession=>{session=newSession;loadMediaToSession(session);}).catch(error=>{console.error('Error starting session:',error);});}}
901function loadMediaToSession(session){const dashMediaInfo=new chrome.cast.media.MediaInfo(dashUrl,'application/dash+xml');const hlsMediaInfo=new chrome.cast.media.MediaInfo(hlsUrl,'application/x-mpegurl');const loadRequest=new chrome.cast.media.LoadRequest(dashMediaInfo);session.loadMedia(loadRequest).then(()=>{console.log('Media loaded successfully.');}).catch((error)=>{console.error('Error loading media:',error);});}
902function CastButton(){const context=cast.framework.CastContext.getInstance();if(context){initializeCastApi(Id);context.requestSession().then(session=>{console.log('Session started:',session);loadMedia();}).catch(error=>{console.error('Error requesting session:',error);if(error.code){switch(error.code){case chrome.cast.ErrorCode.CANCEL:console.error('Session request was cancelled.');break;case chrome.cast.ErrorCode.FAILED:console.error('Session request failed.');break;case chrome.cast.ErrorCode.EXTENSION_NOT_INSTALLED:console.error('Cast extension is not installed.');break;default:console.error('Unknown error occurred:',error);}}});}else{console.error('CastContext is not available.');}}
903if('pictureInPictureEnabled'in document){pipBtn.addEventListener('click',()=>{if(document.pictureInPictureElement){document.exitPictureInPicture();}else{const elementId="bitmovinplayer-video-video-container"+Id;const elements=document.querySelectorAll(`[id="${elementId}"]`);if(elements.length>1){elements[0].parentNode.removeChild(elements[0]);}
904const video=document.getElementById("bitmovinplayer-video-video-container"+Id)
905if(video){video.requestPictureInPicture().catch(error=>{console.error('Failed to enter Picture-in-Picture mode:',error);});}else{console.error('No video element found');}}});}else{console.error('Picture-in-Picture is not supported by this browser');pipBtn.disabled=true;}
906function jumpForward(){showBufferingIndicator(true);isseeked=true;if(eventState==1||eventState==2){let duration=player.getDuration();if(duration<=0)return;if(player.getTimeShift()<-11){let currentTime=player.getCurrentTime();let seektime=Math.max(currentTime+10,0);player.seek(seektime);player.play();}
907else{currentTimeLabel.textContent="🔴 Live";player.seekToLiveEdge();player.play();}}
908else{player.seek(player.getCurrentTime()+10);player.play();}
909player.on('seeked',()=>{player.play();showBufferingIndicator(false);},{once:true});}
910function jumpBack(){showBufferingIndicator(true);if(eventState==1||eventState==2){let duration=player.getDuration();if(currentTimeLabel.textContent!="🔴 Live"){let currentTime=player.getCurrentTime();let seektime=Math.max(currentTime-10,0);player.seek(seektime);player.play();}
911else{let currentTime=player.getCurrentTime();let seektime=Math.max(currentTime-10,0);player.seek(seektime);player.play();}}
912else{var currenttimenewr=player.getCurrentTime();player.seek(currenttimenewr-10);player.play();}
913player.on('seeked',()=>{player.play();showBufferingIndicator(false);},{once:true});}
914function populateQualityOptions(levels){qualityOptions.innerHTML='';const autoOption=document.createElement('li');autoOption.textContent='Auto';autoOption.dataset.value='auto';autoOption.classList.add('quality-option');autoOption.classList.add('quality-option');qualityOptions.appendChild(autoOption);
914levels.forEach((level)=>{const option=document.createElement('li');option.textContent=`${level.height}p`;option.dataset.value=level.id;option.classList.add('quality-option');qualityOptions.appendChild(option);});const options=qualityOptions.querySelectorAll('.quality-option');options.forEach(option=>{option.addEventListener('click',function(){const selectedQuality=this.dataset.value;document.querySelectorAll('.quality-option').forEach(li=>li.classList.remove('isActive'));this.classList.add('isActive');if(selectedQuality==='auto'){$('.quality-option').removeClass('check-others').addClass('check-auto');player.setVideoQualityAuto();}else{$('.quality-option').removeClass('check-auto').addClass('check-others');player.setVideoQuality(selectedQuality);}
915qualityOptions.style.display='none';});});}
916function FormatSecondsIntoHHMMSS(seconds){let sign=seconds<0?"-":"";seconds=Math.abs(seconds);let hrs=Math.floor(seconds/3600);let mins=Math.floor((seconds%3600)/60);let secs=Math.floor(seconds%60);return(sign+
917(hrs<10?"0":"")+hrs+":"+
918(mins<10?"0":"")+mins+":"+
919(secs<10?"0":"")+secs);}
920function PlayPauseBtn(){if(player.isPlaying()){player.pause();}else{player.play();}}
921function SettingsBtn(event){const isDropdownVisible=qualityOptions.style.display==='block';qualityOptions.style.display=isDropdownVisible?'none':'block';event.stopPropagation();}
922document.addEventListener('click',(event)=>{if(!settingsBtn.contains(event.target)&&!qualityOptions.contains(event.target)){qualityOptions.style.display='none';}});function MuteBtn(){if(player.isMuted()){volumeSlider.value=player.getVolume();player.unmute();muteBtn.innerHTML='<i class="fas fa-volume-up"></i>';}
923else{muteBtn.innerHTML='<i class="fas fa-volume-mute"></i>';player.mute();volumeSlider.value=0;}}
924function handleVolumeChange(event){event.preventDefault();if(volumeSlider.value==0){player.setVolume(volumeSlider.value);player.mute();muteBtn.innerHTML='<i class="fas fa-volume-mute"></i>';}
925else{player.setVolume(volumeSlider.value);player.unmute();muteBtn.innerHTML='<i class="fas fa-volume-up"></i>';}}
926function debounce(func,wait){let timeout;return function(...args){clearTimeout(timeout);timeout=setTimeout(()=>func.apply(this,args),wait);};}
927const seekVideo=(event)=>{event.preventDefault();const duration=player.getDuration();const rect=seekBar.getBoundingClientRect();seekBar.step=0.01;const seekOffset=((event.clientX||event.touches[0].clientX)-rect.left)/rect.width*duration;seekBar.step=0.01;if(eventState==2){const seekTimes=seekOffset-player.getDuration();currentTimeLabel.textContent=FormatSecondsIntoHHMMSS(seekTimes);}
928else{currentTimeLabel.textContent=FormatSecondsIntoHHMMSS(seekOffset);}
929showBufferingIndicator(true);player.seek(seekOffset);const onSeeked=()=>{showBufferingIndicator(false);player.off('seeked',onSeeked);player.play();};player.on('seeked',onSeeked);if(eventState===1||eventState===2){player.play();}};const debouncedSeek=debounce(seekVideo,100);seekBar.addEventListener("pointerdown",debouncedSeek);seekBar.addEventListener("click",debounce(seekVideo,100));seekBar.addEventListener("pointerup",debouncedSeek);function showBufferingIndicator(isBuffering){if(bufferLoader){bufferLoader.style.display=isBuffering?'block':'none';}
930if(videoContainer){videoContainer.style.setProperty('filter',isBuffering?'blur(1px)':'none');}}
931seekBar.addEventListener('mousemove',(e)=>{const duration=player.getDuration();const rect=seekBar.getBoundingClientRect();seekBar.step=0.01;const seekTime=((e.clientX||e.touches[0].clientX)-rect.left)/rect.width*duration;seekBarTooltip.style.left=`${e.clientX - rect.left}px`;if(player.isLive()){const seekTimes=seekTime-duration;seekBarTooltip.textContent=FormatSecondsIntoHHMMSS(seekTimes);seekBarTooltip.style.display='block';}
932else{seekBarTooltip.textContent=FormatSecondsIntoHHMMSS(seekTime);seekBarTooltip.style.display='block';}});seekBar.addEventListener("mouseleave",()=>{seekBarTooltip.style.display='none';});seekBar.addEventListener("mouseenter",()=>{seekBarTooltip.style.display='block';});function GoLive(){showBufferingIndicator(true);currentTimeLabel.textContent='🔴 Live';var currentDurationofLive=player.getDuration();seekBar.value=100;player.seekToLiveEdge();player.on('seeked',()=>{player.play();showBufferingIndicator(false);},{once:true});}
933connection.on("GetReceiveMessa"+Id,(CheckFeedUrls,PostId)=>{if(Id==PostId){let CheckFeedUrl=CheckFeedUrls.split("/manifest")[0];var feedhlsUrl=CheckFeedUrl;var feedDashUrl=CheckFeedUrl;if(CheckFeedUrls.includes("filter")){var feedhlsUrl=feedhlsUrl+"/manifest(format=m3u8-cmaf,filter=playback)";var feedDashUrl=feedDashUrl+"/manifest(format=mpd-time-cmaf,filter=playback)";}
934else{var feedhlsUrl=feedhlsUrl+"/manifest(format=m3u8-cmaf,filter=live)";var feedDashUrl=feedDashUrl+"/manifest(format=mpd-time-cmaf,filter=live)";}
935mainSourceConfig={title:"",description:"",poster:"https://ssmstorage.blob.core.windows.net/ssmtvassets/LoadingGraphic.jpg",hls:feedhlsUrl,dash:feedDashUrl,assetType:"vod",};console.log(mainSourceConfig,"mainSourceConfig")
936var container=document.getElementById("video-container"+PostId);if(container){var liveElement=document.getElementById('live'+PostId);if(liveElement){liveElement.style.display='block';}}
937let prerollSourceConfiguration={title:"",description:"",poster:"https://ssmstorage.blob.core.windows.net/ssmtvassets/LoadingGraphic.jpg",hls:"https://westus2.av.mk.io/nspnwcdn-nspn-w/e91cbca5-041e-4682-a271-c580b06c5169/2025-PreRoll-Fall-6s.ism/manifest(format=m3u8-cmaf)",dash:"https://westus2.av.mk.io/nspnwcdn-nspn-w/e91cbca5-041e-4682-a271-c580b06c5169/2025-PreRoll-Fall-6s.ism/manifest(format=mpd-time-cmaf)",adType:mkplayer.MKAdType.Preroll};if(($("div").hasClass("CustomCurrentPlay"+PostId))||($("div").hasClass("HomeCustomCurrentPlay"+PostId))){prerollSourceConfig.adType='preroll';const isiOSDevices=(/iPad|iPhone|iPod/.test(navigator.userAgent)||(navigator.userAgent.includes('Macintosh')&&'ontouchend'in document))&&!window.MSStream;if(isiOSDevices){let onPrerollEndeds;let ismutesonprelive=player.isMuted();player.load(prerollSourceConfig).then(()=>
937{if(ismutesonprelive){player.mute();}
938else{player.unmute();}
939player.play();onPrerollEndeds=()=>{eventState=2;player.load(mainSourceConfig).then(()=>{player.seekToLiveEdge();player.on('seeked',()=>{player.play();showBufferingIndicator(false);},{once:true});}).catch((error)=>{console.error("Error loading the main source!",error);});const videoElement=player.getVideoElement();if(videoElement){videoElement.removeEventListener('ended',onPrerollEndeds);}else{console.error("Video element is null after player reinitialization.");}};const videoElement=player.getVideoElement();if(videoElement){videoElement.addEventListener('ended',onPrerollEndeds);}else{console.error("Video element is null while adding the event listener.");}}).catch((error)=>{console.error("Error loading preroll source:");});}
940else{eventState=2;playerVolume=player.getVolume();playermuted=player.isMuted();player=new mkplayer.MKPlayer(container,playerConfig);loadPrerollSource();}}
941else{if(window.location.pathname.toLowerCase().includes('gamestream')&&eventState==1){prerollSourceConfig.adType='preroll';eventState=2;player=new mkplayer.MKPlayer(container,playerConfig);loadPrerollSource();}
942else if(eventState==1){eventState=2;GetStreamEndContent(PostId,"HomePage","Massage","GetReceiveMessage");}}}});}
943function fullscreenBtns(screen,Id){const fullscreenButton=document.getElementById('fullscreenBtns'+Id);const fullWidthscreenBtns=document.getElementById('fullWidthscreenBtns'+Id);const videoContainer=document.getElementById('video-container'+Id);const isMobileScreen=window.matchMedia("(max-width: 767px)").matches;const isIpadScreen=window.matchMedia("(min-width: 768px) and (max-width: 900px)").matches;const isiOS=(/iPad|iPhone|iPod/.test(navigator.userAgent)||(navigator.userAgent.includes('Macintosh')&&'ontouchend'in document))&&!window.MSStream;function hideIcons(){if(isFullScreen){videoContainer.classList.remove('open');}}
944function showIcons(){if(isFullScreen){videoContainer.classList.add('open');}}
945function resetInactivityTimeout(){if(isFullScreen){showIcons();clearTimeout(inactivityTimeout);inactivityTimeout=setTimeout(hideIcons,5000);}}
946function exitHandler(event){if(!document.fullscreenElement&&!document.webkitIsFullScreen&&!document.mozFullScreen&&!document.msFullscreenElement){const qualityItems=document.querySelectorAll('.quality-dropdown li');qualityItems.forEach(item=>{item.style.fontSize='15px';});$(".quality-dropdown").css("width","90px");if(isMobileScreen||isIpadScreen){$("#video-container"+Id).removeClass("full-width full-screen").addClass("open");}else{if(videoContainer.classList.contains('normal-screen')){$("#video-container"+Id).removeClass("full-width full-screen").addClass("normal-screen");fullscreenButton.innerHTML='<i class="fas fa-expand"></i>';}else{$("#video-container"+Id).removeClass("full-screen").addClass("full-width");fullscreenButton.innerHTML='<i class="fas fa-expand"></i>';}}}}
947if(document.fullscreenElement){document.exitFullscreen().then(()=>{if(isLandscapeAndroidPhone()){videoContainer.classList.remove('video-container-Fullwidth');const videoElement=videoContainer.querySelector('video');videoElement.classList.remove('video-container-RemoveHieght');}
948if(isiOS){fullscreenButton.innerHTML='<i class="fas fa-expand"></i>';}
949if(isMobileScreen||isIpadScreen){$("#video-container"+Id).removeClass("full-width");}else if(screen=="fullWidth"&&isMobileScreen!=true){$("#video-container"+Id).removeClass("full-screen");$("#video-container"+Id).removeClass("normal-screen ");$("#video-container"+Id).addClass("full-width");}else{$("#video-container"+Id).removeClass("full-screen");$("#video-container"+Id).addClass("normal-screen");}
950fullscreenButton.innerHTML='<i class="fas fa-expand"></i>';isFullScreen=false;document.removeEventListener('mousemove',resetInactivityTimeout);document.removeEventListener('keypress',resetInactivityTimeout);document.removeEventListener('click',resetInactivityTimeout);document.removeEventListener('touchstart',resetInactivityTimeout);document.removeEventListener('fullscreenchange',exitHandler);document.removeEventListener('webkitfullscreenchange',exitHandler);document.removeEventListener('mozfullscreenchange',exitHandler);document.removeEventListener('MSFullscreenChange',exitHandler);clearTimeout(inactivityTimeout);}).catch((err)=>{console.error(`Error attempting to exit fullscreen: ${err.message} (${err.name})`);});if(document.webkitExitFullscreen){document.webkitExitFullscreen();}else if(document.msExitFullscreen){document.msExitFullscreen();}}else{if(isiOS){const videoElement=videoContainer.querySelector('video');if(videoElement&&typeof videoElement.webkitEnterFullscreen==='function'){videoElement.webkitEnterFullscreen();if(isiOS){}
951isFullScreen=true;const qualityItems=document.querySelectorAll('.quality-dropdown li');
951qualityItems.forEach(item=>{item.style.fontSize='25px';});$(".quality-dropdown").css("width","130px");fullscreenButton.innerHTML='<i class="fas fa-expand"></i>';}else{console.error("Fullscreen is not supported on this iOS version.");}}else{if(isLandscapeAndroidPhone()){console.log('go in full screen');videoContainer.classList.add('video-container-Fullwidth');const videoElement=videoContainer.querySelector('video');videoElement.classList.add('video-container-RemoveHieght');}
952const qualityItems=document.querySelectorAll('.quality-dropdown li');qualityItems.forEach(item=>{item.style.fontSize='25px';});$(".quality-dropdown").css("width","130px");videoContainer.requestFullscreen().then(()=>{if(isMobileScreen||isIpadScreen){$("#video-container"+Id).removeClass("full-screen");$("#video-container"+Id).removeClass("full-width");}else{$("#video-container"+Id).addClass("full-screen");$("#video-container"+Id).removeClass("full-width");}
953fullscreenButton.innerHTML='<i class="fas fa-compress"></i>';isFullScreen=true;document.addEventListener('mousemove',resetInactivityTimeout);document.addEventListener('keypress',resetInactivityTimeout);document.addEventListener('click',resetInactivityTimeout);document.addEventListener('touchstart',resetInactivityTimeout);document.addEventListener('fullscreenchange',exitHandler);document.addEventListener('webkitfullscreenchange',exitHandler);document.addEventListener('mozfullscreenchange',exitHandler);document.addEventListener('MSFullscreenChange',exitHandler);resetInactivityTimeout();}).catch((err)=>{console.error(`Error attempting to enter fullscreen: ${err.message} (${err.name})`);});}}}
954function isLandscapeAndroidPhone(){const isAndroid=/Android/i.test(navigator.userAgent);return isAndroid}
955function initializeCasting(Id){const userAgent=navigator.userAgent;const isChrome=userAgent.includes("Chrome")&&!userAgent.includes("Edge")&&!userAgent.includes("OPR")&&!userAgent.includes("Edg");const isSafari=userAgent.includes("Safari")&&!userAgent.includes("Chrome")&&!userAgent.includes("Chromium");if(isChrome){console.log("Initializing Chromecast...");window['__onGCastApiAvailable']=function(isAvailable){if(isAvailable){initializeAirPlay(Id);initializeCastApi(Id);}else{console.error("Chromecast SDK is not available.");}};}else if(isSafari){console.log("Initializing AirPlay...");initializeAirPlay(Id);}else{console.warn("Casting is only supported in Chrome for Chromecast or Safari for AirPlay.");}}
956function initializeCastApi(Id){const context=cast.framework.CastContext.getInstance();context.setOptions({receiverApplicationId:chrome.cast.media.DEFAULT_MEDIA_RECEIVER_APP_ID,autoJoinPolicy:chrome.cast.AutoJoinPolicy.ORIGIN_SCOPED});}
957function initializeAirPlay(Id){const videoElement=document.getElementById("bitmovinplayer-video-video-container"+Id)
958if(videoElement&&typeof videoElement.webkitShowPlaybackTargetPicker==='function'){videoElement.addEventListener('webkitplaybacktargetavailabilitychanged',event=>{if(event.availability==='available'){document.getElementById('airplayButton'+Id).style.display='block';document.getElementById('castButton'+Id).style.display='none';}});document.getElementById('airplayButton'+Id).addEventListener('click',()=>{videoElement.webkitShowPlaybackTargetPicker();});}else{console.warn("AirPlay is not supported in your browser.");}}
959function PlayShowFWV(playerid,feedurl,posterImage,image,button,Id){var location=window.location.href;var model={};model.PostId=Id;model.URl=location.toString();model.FeedUrl=feedurl;$.ajax({url:"/PSTVTransaction/UserAction",datatype:"json",type:"POST",data:model,success:function(data){feedurl=data+"/manifest";var userName="";var count=0;if('False'){var firstName=$("#hdnUserFirstName").val();var lastName=$("#hdnUserLastName").val();if(firstName!=null&&firstName!=""&&firstName!=undefined)
960userName=firstName+" "+lastName;}
961var buttonHighlightFeedId=$("#colBtnHighlightFeed"+Id);var buttonFeedId=$("#colBtnFeed"+Id);if(buttonHighlightFeedId.text()==""||buttonHighlightFeedId.is(':visible')){buttonHighlightFeedId.hide();buttonFeedId.show();}
962else{buttonHighlightFeedId.show();buttonFeedId.hide();}
963$('#'+image).hide();$('#'+button).hide();var source={src:feedurl,type:"application/vnd.ms-sstr+xml"};var myOptions={"nativeControlsForTouch":false,autoplay:true,controls:true,width:"898",height:"505.125",poster:"https://ssmstorage.blob.core.windows.net/ssmtvassets/LoadingGraphic.jpg",logo:{"enabled":false},plugins:{ga:{'eventLabel':feedurl+" "+userName,'eventsToTrack':['playerConfig','loaded','playT
963ime','percentsPlayed','start','end','play','pause','error','buffering','fullscreen','seek','bitrate'],'debug':false}},ampAds:{preRoll:{sourceUri:'/images/Advertisement_XMLFile2.xml',options:{skipAd:{enabled:false,offset:10}}},mainProgram:{source:source,}}};var PlayerObj=amp(playerid,myOptions);PlayerObj.addEventListener('playing',function(){console.log("playing");console.log(this.id_);$("#gameStreamFWV_"+Id).addClass("Livevideoplaying"+Id);if(window.matchMedia("(max-width: 1024px)").matches){if(count==0){$("#"+this.id_+" .vjs-progress-control").hide();count=count+1;}}
964document.getElementById("techIssue"+Id).style.display='none';document.getElementById("urlNotFound"+Id).style.display='none';});PlayerObj.addEventListener('ended',function(){console.log('Video Finished!');if(count>0){$("#"+this.id_+" .vjs-progress-control").show();}});PlayerObj.addEventListener('error',function(){if(PlayerObj.error().code&amp.errorCode.abortedErrStart){document.getElementById("techIssue"+Id).style.display='block';console.log("1");}
965else if(PlayerObj.error().code&amp.errorCode.networkErrHttpUrlNotFound){console.log("2.1");document.getElementById("techIssue"+Id).style.display='block';refreshTimer=setInterval("GetNewFeedforTechIssue("+Id+")",timeInterval);}
966else if(PlayerObj.error().code&amp.errorCode.networkErrTimeout){console.log("2.2");document.getElementById("techIssue"+Id).style.display='block';refreshTimer=setInterval("GetNewFeedforTechIssue("+Id+")",timeInterval);}
967else if(PlayerObj.error().code&amp.errorCode.networkErrStart){console.log("2");document.getElementById("techIssue"+Id).style.display='block';refreshTimer=setInterval("GetNewFeedforTechIssue("+Id+")",timeInterval);}
968else if(PlayerObj.error().code&amp.errorCode.decodeErrStart){document.getElementById("techIssue"+Id).style.display='block';console.log("3");}
969else if(PlayerObj.error().code&amp.errorCode.srcErrStart){document.getElementById("techIssue"+Id).style.display='block';console.log("4");}
970else if(PlayerObj.error().code&amp.errorCode.encryptErrStart){document.getElementById("techIssue"+Id).style.display='block';console.log("5");}
971else if(PlayerObj.error().code&amp.errorCode.srcPlayerMismatchStart){document.getElementById("techIssue"+Id).style.display='block';console.log("6");}
972else{document.getElementById("techIssue"+Id).style.display='block';console.log("7");}});var eventDurInSec=0;PlayerObj.addEventListener('loadeddata',function(){eventDurInSec=parseInt(PlayerObj.duration());});var setTimeForEvent=GetStartTimeForEvent("GAMESTREAM");if(parseInt(setTimeForEvent)>0){PlayerObj.addEventListener(amp.eventName.play,function(){if(eventDurInSec>setTimeForEvent){PlayerObj.currentTime(parseInt(setTimeForEvent));}});}
973Three_Col_Players.push(PlayerObj);},});}
974function GetStartTimeForEvent(pageName){var timeInSeconds=0;var location=window.location.href;if(location!=null||location!=""){var urlSegments=location.split('/');for(var i in urlSegments){if(urlSegments[i].toString().toUpperCase()==pageName.toUpperCase()){var startTime=(urlSegments[urlSegments.length-1]).toString().split(':');if(startTime.length==3){for(var i=0;i<startTime.length;i++){if(isInt(startTime[i])){switch(i){case 0:{timeInSeconds=timeInSeconds+(parseInt(startTime[i])*3600);break;}
975case 1:{timeInSeconds=timeInSeconds+(parseInt(startTime[i])*60);break;}
976case 2:{timeInSeconds=timeInSeconds+parseInt(startTime[i]);break;}
977default:{break;}}}
978else{timeInSeconds=0;return timeInSeconds;}}}}}}
979return timeInSeconds;}
980function isInt(value){return!isNaN(value)&&parseInt(Number(value))==value&&!isNaN(parseInt(value,10));}
981function GetNewFeedforTechIssue(Id){$.each(liveRequest,function(key,value){if(typeof(this)!='undefined')
982this.abort();});var urlservice="/AjaxRequest/Ajax/GetNewFeedforTechIssue";var ajaxRequest=$.ajax({type:"GET",url:urlservice+"/?PostId="+Id,dataType:"json",data:"",contentType:"application/json; charset=utf-8",success:function(data){if(data!=null){if(data[0].PublicPubpoint!=""&&data[0].CompId!=""){var Id='colVideoPlayer'+data[0].PostId;var feedurl=data[0].PublicPubpoint;var obj=Three_Col_Players.filter(function(obj){return obj.id_==Id;})[0];obj.src([{"src":feedurl,"type":"application/vnd.ms-sstr+xml"}]);clearInterval(refreshTimer);document.getElementById("techIssue"+data[0].PostId).style.display='none';document.getElementById("urlNotFound"+data[0].PostId).style.display='none';}}},error:function(response){clearInterval(refreshTimer);},failure:function(response){}});liveRequest.push(ajaxRequest);}
983function PurchaseVideo(Id){var container=$("#PlayEpisodeSection");$.get("/Payment/PaymentHome/",{PostId:Id},function(data){container.html(data);$('.bxslider').bxSlider({minSlides:2,maxSlides:4,slideWidth:220,slideMargin:10});$('.bxsliderTwo').bxSlider({adaptiveHeight:true,mode:'fade'});});}
984function PlaySpotlightShow(playerid,feedurl,posterImage,image,button,episodeid){$('#'+image).hide();$('#'+button).hide();var myOptions={techOrder:["flashSS","azureHtml5JS","html5","silverlightSS"],"nativeControlsForTouch":false,autoplay:true,controls:true,width:"898",height:"505.125",poster:"https://ssmstorage.blob.core.windows.net/ssmtvassets/LoadingGraphic.jpg",logo:{"enabled":false}};
984var objplayer=amp(playerid,myOptions);var eventDurInSec=0;objplayer.addEventListener('loadeddata',function(){eventDurInSec=parseInt(objplayer.duration());});var setTimeForEvent=GetStartTimeForEvent("YEARBOOKSHOW");if(parseInt(setTimeForEvent)<=0){setTimeForEvent=GetStartTimeForEvent("SPOTLIGHTSHOW");}
985if(parseInt(setTimeForEvent)>0){objplayer.addEventListener(amp.eventName.play,function(){if(eventDurInSec>setTimeForEvent){objplayer.currentTime(parseInt(setTimeForEvent));}});}
986objplayer.src([{"src":feedurl,"type":"application/vnd.ms-sstr+xml"}]);Prep_Spotlight_Players.push(objplayer);}
987function PlaySegments(subTime,EposideId){var Id='VideoPlayer'+EposideId;var obj=Prep_Spotlight_Players.filter(function(obj){return obj.id_==Id;})[0];if(obj==undefined){document.getElementById('Button'+EposideId).click();setTimeout(function(){obj=Prep_Spotlight_Players.filter(function(obj){return obj.id_==Id;})[0];obj.currentTime(TimeInSec(subTime));},4000);}
988else{obj=Prep_Spotlight_Players.filter(function(obj){return obj.id_==Id;})[0];obj.currentTime(TimeInSec(subTime));}}
989function TimeInSec(time){var timeinsec=parseFloat(time);timeinsec=timeinsec/10000000;return timeinsec}
990function Set_Cookie(name,value,expires,path,domain,secure){expires=expires*60*60*24*1000;var today=new Date();var expires_date=new Date(today.getTime()+(expires));var cookieString=name+"="+escape(value)+
991((expires)?";expires="+expires_date.toGMTString():"")+
992((path)?";path="+path:"")+
993((domain)?";domain="+domain:"")+
994((secure)?";secure":"");document.cookie=cookieString;}
995function Get_Cookie(cname){var name=cname+"=";var ca=document.cookie.split(';');for(var i=0;i<ca.length;i++){var c=ca[i];while(c.charAt(0)==' '){c=c.substring(1);}
996if(c.indexOf(name)==0){return c.substring(name.length,c.length);}}
997return"";}</script>
997<script src=/js/SignalR.js></script>
997<script>var purchasedDetails;var subscriptionDetails;const connection=new signalR.HubConnectionBuilder().withUrl("/chat").build();connection.serverTimeoutInMilliseconds=600000;async function start(){try{await connection.start();console.log("SignalR Connected.");}catch(err){console.log(err);setTimeout(()=>start(),5000);}};connection.onclose(async()=>{await start();});start();connection.on("GetReceiveMessageStaging",(PostId)=>{console.log('GetReceiveMessage',PostId);if(($("div").hasClass("CustomCurrentPlay"+PostId))||($("div").hasClass("HomeCustomCurrentPlay"+PostId))){}
998else if(!($("div").hasClass("PlayingLiveEvent"+PostId))){if(window.location.pathname.toLowerCase().includes('gamestream')||window.location.pathname.toLowerCase().includes('mediaplayer')){console.log('if started');if(window.location.pathname.toLowerCase().includes('gamestream')){const container=document.querySelector('#post_'+PostId+' .video-big-box.video-small-box');if(container){const firstImg=container.querySelector('img.big-thumb');const anchor=container.querySelector('a');const secondImg=anchor?anchor.querySelector('img.small-thumb-overlay'):null;const newDiv=document.createElement('div');const newAnchor=document.createElement('a');newAnchor.href=anchor?.href||'#';const liveSpan=document.createElement('span');liveSpan.textContent='Live';newAnchor.appendChild(liveSpan);firstImg.className='';if(firstImg){const img1=firstImg.cloneNode(true);newAnchor.appendChild(img1);}
999if(secondImg){const img2=secondImg.cloneNode(true);newAnchor.appendChild(img2);}else{const fallbackImg=document.createElement('img');fallbackImg.className='samll-thumb-overlay';fallbackImg.src='//ssmstorage.blob.core.windows.net/ssmtvassets/WatchNow-Purchase.png';fallbackImg.alt='';newAnchor.appendChild(fallbackImg);}
1000newDiv.appendChild(newAnchor);console.log(newDiv.outerHTML);container.innerHTML='';container.appendChild(newDiv);container.className='';}}
1001else{GetStreamEndContent(PostId,"GameStreamPage","Message",'GetReceiveMessage');}
1002console.log('if ended');}
1003else{console.log('else started');GetStreamEndContent(PostId,"HomePage","Message",'GetReceiveMessage');console.log('else ended');}}});connection.on("ReceiveMessage",(user,message)=>{if(user!=null){if('False'&&''==user){$.ajax({url:"/LeagueHome/LogOut1stLogin",datatype:"json",type:"POST",data:{"userId":user},success:function(data){if(data!=null){if(data!=='undefined'&&data!==''&&data!==null){if(data.message!==undefined&&data.message!==''&&data.message!==null){location.href="https://prepspotlight-tv-testing.azurewebsites.net/LeagueHome/UserSIgnOut/"+data.message;}}}},error:function(err){}});}}});function createGameStreamEventHtml(liveNow,isPurchased,isSubscription,checkFeedURL){let livNowPostId=liveNow.livNowPostId;isPurchased=$("#IsPurchased_"+livNowPostId+"").val();isSubscription=$("#IsSubscriptionPurchased_"+livNowPostId+"").val();if(livNowPostId){let eventPostDiv=$("#EventPost_"+livNowPostId);let includedInSubscription=liveNow.includedInSubscription;let isSubscriptionPurchased=isSubscription;let livNowEventTime=liveNow.livNowEventTime;let liveFeedUrl=liveNow.liveFeedUrl;let liveNowEventDate=liveNow.liveNowEventDate;let liveNowEventName=liveNow.liveNowEventName;let liveNowEventState=liveNow.liveNowEventState;let liveNowIsPurchased=isPurchased;let liveNowPrice=liveNow.liveNowPrice;let liveNowShowDateTime=liveNow.liveNowShowDateTime;let liveNowSportDetail=liveNow.liveNowSportDetail;let liveNowThumbnailImagePath=liveNow.liveNowThumbnailImagePath;let liveNowshowUrl=liveNow.liveNowshowUrl;let IsAuthenticated='False';IsAuthenticated=IsAuthenticated.toLowerCase();let dynamicHtmlContent='';if(liveNowEventState==1){dynamicHtmlContent=`<div class="large-4 medium-6 small-12 column thumb
1003-box" id="post_`+livNowPostId+`">
1004
1005                                                                                                                                                                                                                                                                                                                                                                                                                                   <div class="video-big-box video-small-box">`;if(liveNowIsPurchased){if(IsAuthenticated!="false"){dynamicHtmlContent+=`<img id="colImage`+livNowPostId+`" class="big-thumb" src="`+liveNowThumbnailImagePath+`" alt="">
1006
1007                                                                                                                                                                                                                                                                                                                                                                                                                                <img class="samll-thumb-overlay" src="https://ssmstorage.blob.core.windows.net/ssmtvassets/EventNotStarted.png" alt="">`;}
1008else{dynamicHtmlContent+=`<img id="colImage`+livNowPostId+`" class="big-thumb" src="`+liveNowThumbnailImagePath+`" alt="">
1009
1010                                                                                                                                                                                                                                                                                                                                                                                                                                    <img class="samll-thumb-overlay" src="https://ssmstorage.blob.core.windows.net/ssmtvassets/SignIn-Free.png" alt="" onclick="document.location='/Auth/SignIn?returnUrl=/MSHSL'">`;}}
1011else{if(includedInSubscription==false){dynamicHtmlContent+=`<img id="colImage`+livNowPostId+`" class="big-thumb" src="`+liveNowThumbnailImagePath+`" alt="" />
1012
1013                                                                                                                                                                                                                                                                                                                                                                                                                                    <img class="samll-thumb-overlay" src="https://ssmstorage.blob.core.windows.net/ssmtvassets/ClickToBuyNow.png" alt="" onclick="CheckAndRedirect(`+livNowPostId+`)" />`;}
1014else{if(liveNowIsPurchased){dynamicHtmlContent+=`<img id="colImage`+livNowPostId+`" class="big-thumb" src="`+liveNowThumbnailImagePath+`" alt="">
1015
1016                                                                                                                                                                                                                                                                                                                                                                                                                                        <img class="samll-thumb-overlay" src="https://ssmstorage.blob.core.windows.net/ssmtvassets/EventNotStarted.png" alt="">`;}
1017else{dynamicHtmlContent+=`<img id="colImage`+livNowPostId+`" class="big-thumb" src="`+liveNowThumbnailImagePath+`" alt="" />
1018
1019                                                                                                                                                                                                                                                                                                                                                                                                                                        <img class="samll-thumb-overlay" src="https://ssmstorage.blob.core.windows.net/ssmtvassets/ClickToSubscribe.png" alt="" onclick="document.location='/MSHSL/Subscription'" />`;}}}
1020dynamicHtmlContent+=`</div>
1021
1022                                                                                                                                                                                                                                                                                                                                                                                                                        <h3>
1023
1024                                                                                                                                                                                                                                                                                                                                                                                                                            <b>`+livNowPostId+`</b>
1025
1026                                                                                                                                                                                                                                                                                                                                                                                                                            <p class="event-date">
1027
1028                                                                                                                                                                                                                                                                                                                                                                                                                               `+liveNowEventDate+` <span style="margin-left:11%">
1028`+livNowEventTime+`</span><span class="fr">`+liveNowSportDetail+`</span>
1029
1030                                                                                                                                                                                                                                                                                                                                                                                                                                <span class="clr"></span>
1031
1032                                                                                                                                                                                                                                                                                                                                                                                                                            </p>
1033
1034                                                                                                                                                                                                                                                                                                                                                                                                                        </h3>
1035
1036                                                                                                                                                                                                                                                                                                                                                                                                                    </div>`;}
1037else{dynamicHtmlContent+=`<div class="large-4 medium-6 small-12 column thumb
1037-box" id="post_`+livNowPostId+`">
1038
1039                                                                                                                                                                                                                                                                                                                                                                                                                        <div onclick="CheckDisabledOrNotLiveById(`+livNowPostId+`)">
1040
1041                                                                                                                                                                                                                                                                                                                                                                                                                            <div id="GameStreamLiveVideoTile`+livNowPostId+`">`;if(liveNowIsPurchased){if(liveNowPrice.toString()=="0"||liveNowPrice.toString()=="0.00"){if(IsAuthenticated!="false"){dynamicHtmlContent+=`<a href="liveNowshowUrl">
1042
1043                                                                                                                                                                                                                                                                                                                                                                                                                                                <span>LIVE</span>
1044
1045                                                                                                                                                                                                                                                                                                                                                                                                                                                <img src="`+liveNowThumbnailImagePath+`" alt="">
1046
1047                                                                                                                                                                                                                                                                                                                                                                                                                                                <img class="samll-thumb-overlay" src="https://ssmstorage.blob.core.windows.net/ssmtvassets/WatchNow-Free.png" alt="">
1048
1049                                                                                                                                                                                                                                                                                                                                                                                                                                            </a>`;}
1050else{dynamicHtmlContent+=`<a href="javascript:ChangeButtonNew(`+livNowPostId+`)">
1051
1052                                                                                                                                                                                                                                                                                                                                                                                                                                                <span>LIVE</span>
1053
1054                                                                                                                                                                                                                                                                                                                                                                                                                                                <img src="`+liveNowThumbnailImagePath+`" alt="">
1055
1056                                                                                                                                                                                                                                                                                                                                                                                                                                                <img class="samll-thumb-overlay" src="https://ssmstorage.blob.core.windows.net/ssmtvassets/SignIn-Free.png" alt="">
1057
1058                                                                                                                                                                                                                                                                                                                                                                                                                                            </a>`;}}
1059else{if(includedInSubscription==false){dynamicHtmlContent+=` <a href="liveNowshowUrl">
1060
1061                                                                                                                                                                                                                                                                                                                                                                                                                                                <sp
1061an>LIVE</span>
1062
1063                                                                                                                                                                                                                                                                                                                                                                                                                                                <img src="`+liveNowThumbnailImagePath+`" alt="">
1064
1065                                                                                                                                                                                                                                                                                                                                                                                                                                                <img class="samll-thumb-overlay" src="https://ssmstorage.blob.core.windows.net/ssmtvassets/WatchNow-Purchase.png" alt="">
1066
1067                                                                                                                                                                                                                                                                                                                                                                                                                                            </a>`;}
1068else{if(isSubscriptionPurchased=="True"){dynamicHtmlContent+=` <a href="liveNowshowUrl">
1069
1070                                                                                                                                                                                                                                                                                                                                                                                                                                                    <span>LIVE</span>
1071
1072                                                                                                                                                                                                                                                                                                                                                                                                                                                    <img src="`+liveNowThumbnailImagePath+`" alt="">
1073
1074                                                                                                                                                                                                                                                                                                                                                                                                                                                    <img class="samll-thumb-overlay" src="https://ssmstorage.blob.core.windows.net/ssmtvassets/WatchNow-Subscription.png" alt="">
1075
1076                                                                                                                                                                                                                                                                                                                                                                                                                                                </a>`;}
1077else{dynamicHtmlContent+=`<a href="/MSHSL/Subscription">
1078
1079                                                                                                                                                                                                                                                                                                                                                                                                                                                    <img src="`+liveNowThumbnailImagePath+`" alt="">
1080
1081                                                                                                                                                                                                                                                                                                                                                                                                                                                    <img class="samll-thumb-overlay" src="https://ssmstorage.blob.core.windows.net/ssmtvassets/ClickToSubscribe.png" alt="">
1082
1083                                                                                                                                                                                                                                                                                                                                                                                                                                                </a>`;}}}}
1084else{if(includedInSubscription==false){dynamicHtmlContent+=`<a onclick="CheckAndRedirect(`+livNowPostId+`)">
1085
1086                                                                                                                                                                                                                                                                                                                                                                                                                                            <img src="`+liveNowThumbnailImagePath+`" alt="">
1087
1088                                                                                                                                                                                                                                                                                                                                                                                                                                            <img class="samll-thumb-overlay" src="https://ssmstorage.blob.core.windows.net/ssmtvassets/ClickToBuyNow.png" alt="">
1089
1090                                                                                                                                                                                                                                                                                                                                                                                                                                        </a>`;}
1091else{if(isSubscriptionPurchased=="True"){dynamicHtmlContent+=` <a href="liveNowshowUrl">
1092
1093                                                                                                                                                                                                                                                                                                                                                                                                                                                    <sp
1093an>LIVE</span>
1094
1095                                                                                                                                                                                                                                                                                                                                                                                                                                                    <img src="`+liveNowThumbnailImagePath+`" alt="">
1096
1097                                                                                                                                                                                                                                                                                                                                                                                                                                                    <img class="samll-thumb-overlay" src="https://ssmstorage.blob.core.windows.net/ssmtvassets/WatchNow-Subscription.png" alt="">
1098
1099                                                                                                                                                                                                                                                                                                                                                                                                                                                </a>`;}
1100else{dynamicHtmlContent+=`<a href="/MSHSL/Subscription">
1101
1102                                                                                                                                                                                                                                                                                                                                                                                                                                                <img src="liveNowThumbnailImagePath" alt="">
1103
1104                                                                                                                                                                                                                                                                                                                                                                                                                                                <img class="samll-thumb-overlay" src="https://ssmstorage.blob.core.windows.net/ssmtvassets/ClickToSubscribe.png" alt="">
1105
1106                                                                                                                                                                                                                                                                                                                                                                                                                                            </a>`;}}}
1107dynamicHtmlContent+=` <h3>
1108
1109                                                                                                                                                                                                                                                                                                                                                                                                                                    <b>`+liveNowEventName+`</b>
1110
1111                                                                                                                                                                                                                                                                                                                                                                                                                                    <p class="event-date">
1112
1113                                                                                                                                                                                                                                                                                                                                                                                                                                       `+liveNowEventDate+` <span style="margin-left:11%">
1113`+livNowEventTime+`</span><span class="fr">`+liveNowSportDetail+`</span>
1114
1115                                                                                                                                                                                                                                                                                                                                                                                                                                        <span class="clr"></span>
1116
1117                                                                                                                                                                                                                                                                                                                                                                                                                                    </p>
1118
1119                                                                                                                                                                                                                                                                                                                                                                                                                                </h3>
1120
1121                                                                                                                                                                                                                                                                                                                                                                                                                            </div>
1122
1123                                                                                                                                                                                                                                                                                                                                                                                                                        </div>
1124
1125                                                                                                                                                                                                                                                                                                                                                                                                                    </div>`}
1126eventPostDiv.html(dynamicHtmlContent);}}
1127function GetStreamEndContent(Id,PageName,Massage,from){$.ajax({url:"/Ajax/GetViewComponentHtml",type:"GET",data:{PostId:Id,pathname:window.location.pathname,pageName:PageName,offsetTimezone:new Date().getTimezoneOffset(),fromName:from},success:function(data){console.log(data);if(window.location.pathname.toLowerCase().includes('gamestream')&&from=='GetReceiveMessage'){$('gameStreamFWV'+Id).html(data);}
1128if(window.location.pathname.toLowerCase().includes('gamestream')){$('EventPost_'+Id).html(data);}
1129else if(window.location.pathname.toLowerCase().includes('mediaplayer')){$('#gameStreamFWV_'+Id).html(data);}
1130else{$('#homeThreeTile_'+Id).html(data);}},error:function(){}});}</script>
1130<style>.amp-logo{opacity:0;display:none}.amp-tube-skin .vjs-controls-disabled .vjs-control-bar,.amp-tube-skin .vjs-using-native-controls .vjs-control-bar,.amp-tube-skin .vjs-error .vjs-control-bar{opacity:1 !important;visibility:visible !important}.azuremediaplayer .vjs-player:last-child .vjs-progress-control{display:none}.vjs-controls-enabled vjs-player vjs-workinghover amp-touch-enabled vjs-playing vjs-has-started .azuremediaplayer .vjs-player:last-child .vjs-current-time-display{display:none}.azuremediaplayer .vjs-player:last-child .vjs-duration-display{display:none}.azuremediaplayer .vjs-player:last-child .vjs-current-time-display{display:none}.azuremediaplayer .amp-touch-enabled.vjs-player:last-child .vjs-progress-control{display:table-cell}.azuremediaplayer .amp-touch-enabled.vjs-player:last-child .vjs-current-time-display{display:table-cell}.azuremediaplayer .amp-touch-enabled.vjs-player:last-child .vjs-duration-display{display:table-cell}.amp-tube-skin.amp-size-s .vjs-control-bar .amp-controlbaricons-left .vjs-play-control{display:inline-block !important}</style>

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.