function toggleSM(a,c){if(a=="twitter")if(c.checked)document.getElementById("tdTwitterFull").style.display="block";else document.getElementById("tdTwitterFull").style.display="none";else if(c.checked){document.getElementById("tdSMSFull1").style.display="block";document.getElementById("tdSMSFull2").style.display="block"}else{document.getElementById("tdSMSFull1").style.display="none";document.getElementById("tdSMSFull2").style.display="none"}}
function getRealLeft(a){xPos=a.offsetLeft;for(tempEl=a.offsetParent;tempEl!=null;){xPos+=tempEl.offsetLeft;tempEl=tempEl.offsetParent}return xPos}function getRealTop(a){yPos=a.offsetTop;for(tempEl=a.offsetParent;tempEl!=null;){yPos+=tempEl.offsetTop;tempEl=tempEl.offsetParent}return yPos}function CharacterCount_Truncate(a,c,b){var d=String;d=a.value.length;if(d>b)a.value=a.value.substr(0,b);if(c!=null)document.getElementById(c).innerHTML=d;return d}
function CharacterCount(a,c){var b=String;b=a.length;if(c!=null)document.getElementById(c).innerHTML=b;return b}function rollover(a,c,b){str=a.src;if(!a.src)str=a.firstChild.src;str=c?str.indexOf(".jpg")>0?str.substring(0,str.length-4)+"b.jpg":str.substring(0,str.length-4)+"b.gif":str.indexOf(".jpg")>0?str.substring(0,str.length-5)+".jpg":str.substring(0,str.length-5)+".gif";a.src=str;if(b){a.onmouseover=function(){};a.onmouseout=function(){}}}
function addLoadEvent(a){var c=window.onload;window.onload=typeof window.onload!="function"?a:function(){c&&c();a()}}function removeRow(a){tbody=document.getElementById(a);tbody=tbody.getElementsByTagName("tbody")[0];currrow>0&&tbody.removeChild(tbody.getElementsByTagName("tr")[currrow]);currrow=-1}
function loadRow(a,c,b,d,e,g,h){tbody=document.getElementById(c);tbody=tbody.getElementsByTagName("tbody")[0];currrow>0&&g&&tbody.removeChild(tbody.getElementsByTagName("tr")[currrow]);trow=tbody.getElementsByTagName("tr")[d+1];c=document.createElement("TR");g=document.createElement("TD");c.appendChild(g);g.innerHTML=a;g.colSpan=e;g.className=b;d+1==tbody.getElementsByTagName("tr").length?tbody.appendChild(c):tbody.insertBefore(c,trow);currrow=h?-1:d+1}
function row_class_change(a,c,b,d){tbody=document.getElementById(a);tbody=tbody.getElementsByTagName("tbody")[0];trow=tbody.getElementsByTagName("tr")[b+1];trow.className=trow.className+" "+c;if(d){cval=parseInt(d.substr(1,30),16);tds=trow.getElementsByTagName("td");for(a=0;a<=tds.length-1;a++){tds[a].style.backgroundColor=d;try{ary=[];ary=Contrast.match(d,["#000000","#333333","#666666","#999999","#CCCCCC","#FFFFFF"]);tdata=tds[a].getElementsByTagName("a");for(c=0;c<=tdata.length-1;c++)tdata[c].style.color=
ary[1];tds[a].style.color=ary[1]}catch(e){}}}}function showCaption(a,c){if(!(navigator.userAgent.indexOf("Safari")>0)){cap=document.getElementById(a);if(c){cap.style.display="block";cap.style.margin="-"+(cap.scrollHeight-0)+"px 0px 0px 0px";cap.className="media_object_caption"}else cap.style.display="none"}}function obscure_email(a,c){document.write('<a href="mailto:'+a+"@"+c+'">'+a+"@"+c+"</a>")}function append_action(a){document.forms[0].action=a}
function popup_window(a,c,b){var d;d=screen.availWidth;ah=screen.availHeight;window.open(a,"popup","scrollbars=yes,width="+b+",height="+c+",top="+(ah-c)/2+",left="+(d-b)/2)}
function w_dim(){return A=typeof window.innerWidth!="undefined"?[window.innerWidth,window.innerHeight]:typeof document.documentElement!="undefined"&&typeof document.documentElement.clientWidth!="undefined"&&document.documentElement.clientWidth!=0?[document.documentElement.clientWidth,document.documentElement.clientHeight]:[document.getElementsByTagName("body")[0].clientWidth,document.getElementsByTagName("body")[0].clientHeight]}
function animate_v2(a,c,b,d,e){button=document.getElementById(b);if(jaaulde.utils.cookies.get(a)=="viewed"){if(parseInt(button.style.top)<0)return}else jaaulde.utils.cookies.set(a,"viewed");a=w_dim();aw=a[0];ah=a[1];button.style.zIndex="50000";button.style.left=aw/2-button.scrollWidth/2+"px";d=ah/2-button.scrollHeight/2;ddtimer=parseInt(button.style.top)<0?window.setTimeout("moveButton(1,'"+b+"',"+d+","+e+");",0,"JavaScript"):window.setTimeout("moveButton(0,'"+b+"',"+d+","+e+");",0,"JavaScript")}
function animate(a,c,b,d){aw=screen.availWidth;ah=window.innerHeight;button=document.getElementById(c);button.style.zIndex="50000";button.style.left=aw/2-button.scrollWidth/2+"px";b=ah/2-button.scrollHeight/2;ddtimer=parseInt(button.style.top)<0?window.setTimeout("moveButton(1,'"+c+"',"+b+","+d+");",0,"JavaScript"):window.setTimeout("moveButton(0,'"+c+"',"+b+","+d+");",0,"JavaScript")}
function moveButton(a,c,b,d){button=document.getElementById(c);if(a==1){if(parseInt(button.style.top)<b){button.style.top=parseInt(button.style.top)+10+"px";ddtimer=window.setTimeout("moveButton(1,'"+c+"',"+b+","+d+");",0,"JavaScript")}}else if(parseInt(button.style.top)>d){button.style.top=parseInt(button.style.top)-10+"px";ddtimer=window.setTimeout("moveButton(0,'"+c+"',"+b+","+d+");",0,"JavaScript")}}
var Contrast=function(){var a={min:{brightness:50,difference:300},brightness:function(b,d){return Math.abs(Math.round((b.r*299+b.g*587+b.b*114)/1E3-(d.r*299+d.g*587+d.b*114)/1E3))},difference:function(b,d){b=Math.max(b.r,d.r)-Math.min(b.r,d.r)+(Math.max(b.g,d.g)-Math.min(b.g,d.g))+(Math.max(b.b,d.b)-Math.min(b.b,d.b));return Math.abs(Math.round(b))},rgb:function(b){b=b.replace("#","");return{r:parseInt(b.charAt(0)+b.charAt(1),16),g:parseInt(b.charAt(2)+b.charAt(3),16),b:parseInt(b.charAt(4)+b.charAt(5),
16)}}},c={test:function(b,d){b=a.rgb(b);var e=a.rgb(d);d=a.brightness(b,e);b=a.difference(b,e);return d>=a.min.brightness&&b>=a.min.difference?d-a.min.brightness+(b-a.min.difference):false},match:function(b,d){var e,g,h;if(typeof b=="string")b=[b];if(typeof d=="string")d=[d];var f={score:0,hex1:null,hex2:null};if(d==null)for(g=0;g<b.length;g++)for(h=0;h<b.length;h++){e=c.test(b[g],b[h]);if(e>f.score){f.score=e;f.hex1=b[g];f.hex2=b[h]}}else for(g=0;g<b.length;g++)for(h=0;h<d.length;h++){e=c.test(b[g],
d[h]);if(e>f.score){f.score=e;f.hex1=b[g];f.hex2=d[h]}}return f.score>0?[f.hex1,f.hex2]:false}};return c}();var jaaulde=window.jaaulde||{};jaaulde.utils=jaaulde.utils||{};
jaaulde.utils.cookies=function(){var a=[],c={hoursToLive:null,path:"/",domain:null,secure:false},b=function(f){return typeof f!=="object"||f===null?c:{hoursToLive:typeof f.hoursToLive==="number"&&f.hoursToLive!==0?f.hoursToLive:c.hoursToLive,path:typeof f.path==="string"&&f.path!==""?f.path:c.path,domain:typeof f.domain==="string"&&f.domain!==""?f.domain:c.domain,secure:typeof f.secure==="boolean"&&f.secure?f.secure:c.secure}},d=function(f){var i=new Date;i.setTime(i.getTime()+f*60*60*1E3);return i.toGMTString()},
e=function(f){f=b(f);return(typeof f.hoursToLive==="number"?"; expires="+d(f.hoursToLive):"")+"; path="+f.path+(typeof f.domain==="string"?"; domain="+f.domain:"")+(f.secure===true?"; secure":"")},g=function(){a={};for(var f,i,j=document.cookie.split(";"),k=0;k<j.length;k+=1){f=j[k].split("=");i=f[0].replace(/^\s*/,"").replace(/\s*$/,"");f=decodeURIComponent(f[1]);a[i]=f}return a},h=function(){};h.prototype.get=function(f){var i;g();if(typeof f==="string")i=typeof a[f]!=="undefined"?a[f]:null;else if(typeof f===
"object"&&f!==null){i={};for(var j in f)i[f[j]]=typeof a[f[j]]!=="undefined"?a[f[j]]:null}else i=a;return i};h.prototype.filter=function(f){var i={};g();if(typeof f==="string")f=new RegExp(f);for(var j in a)if(j.match(f))i[j]=a[j];return i};h.prototype.set=function(f,i,j){if(typeof i==="undefined"||i===null){if(typeof j!=="object"||j===null)j={};i="";j.hoursToLive=-8760}j=e(j);document.cookie=f+"="+encodeURIComponent(i)+j};h.prototype.del=function(f,i){var j={};if(typeof i!=="object"||i===null)i=
{};if(typeof f==="boolean"&&f===true)j=this.get();else if(typeof f==="string")j[f]=true;for(var k in j)typeof k==="string"&&k!==""&&this.set(k,null,i)};h.prototype.test=function(){var f=false;this.set("cT","data");if(this.get("cT")==="data"){this.del("cT");f=true}return f};h.prototype.setOptions=function(f){if(typeof f!=="object")f=null;c=b(f)};return new h}();
(function(){window.jQuery&&function(a){a.cookies=jaaulde.utils.cookies;a.each({cookify:function(c){return this.each(function(){var b,d=false,e=false,g="",h="",f=["name","id"];for(b in f)if(!isNaN(b)){g=a(this).attr(f[b]);if(typeof g==="string"&&g!==""){d=true;break}}if(d){b=this.nodeName.toLowerCase();if(b!=="input"&&b!=="textarea"&&b!=="select"&&b!=="img"){h=a(this).html();e=true}else{b=a(this).attr("type");if(typeof b==="string"&&b!=="")b=b.toLowerCase();if(b!=="radio"&&b!=="checkbox"){h=a(this).val();
e=true}}if(e){if(typeof h!=="string"||h==="")h=null;a.cookies.set(g,h,c)}}})},cookieFill:function(){return this.each(function(){var c,b=false,d="",e=["name","id"];for(c in e)if(!isNaN(c)){d=a(this).attr(e[c]);if(typeof d==="string"&&d!==""){b=true;break}}if(b){c=a.cookies.get(d);if(c!==null){b=this.nodeName.toLowerCase();b==="input"||b==="textarea"||b==="select"?a(this).val(c):a(this).html(c)}}})},cookieBind:function(c){return this.each(function(){a(this).cookieFill().change(function(){a(this).cookify(c)})})}},
function(c){a.fn[c]=this})}(window.jQuery)})();function Querystring(a){this.params={};this.get=Querystring_get;a=location.search.substring(1,location.search.length);if(a.length!=0){a=a.replace(/\+/g," ");a=a.split("&");for(var c=0;c<a.length;c++){var b=a[c].split("="),d=unescape(b[0]);b=b.length==2?unescape(b[1]):d;this.params[d]=b}}}function Querystring_get(a,c){a=this.params[a];return a!=null?a:c};function WBCollapse(){for(var a=document.getElementsByTagName("ul"),c=0;c<a.length;c++){var b=a[c];if(b.getAttribute("title")=="leftNav_WB")b.className="leftnav_closed"}a=document.getElementsByTagName("div");for(c=0;c<a.length;c++){b=a[c];if(b.getAttribute("title")=="headline_morebox")b.className="divMoreHeadline_morebox mh_hidden"}a=document.getElementsByTagName("img");for(c=0;c<a.length;c++){b=a[c];if(b.getAttribute("title")=="leftnav_WB_image")if(b.onmouseover==undefined){b.onmouseover=function(){rollover(this,
true)};b.onmouseout=function(){rollover(this,false)}}}}function Expand_508(a,c){c.Item.Open()}function Collapse_508(a,c){c.Item.Parent.Close()}addLoadEvent(WBCollapse);function launch_ads(a,c,b){for(var d=new String,e=document.getElementsByTagName("a"),g=0;g<e.length;g++){var h=e[g];if(h.getAttribute("rev")==a){h.style.display="none";if(d=="")d=h.id;else d+="@"+h.id}}try{if(c)document.getElementById(d).style.display="block";else rotate_ad(a,0,d,b)}catch(f){}}
function rotate_ad(a,c,b,d){var e=b.split("@");if(c==0)document.getElementById(e[e.length-1]).style.display="none";else document.getElementById(e[c-1]).style.display="none";document.getElementById(e[c]).style.display="block";if(c<e.length-1)c+=1;else c=0;htimer_ads=setTimeout('rotate_ad("'+a+'",'+c+',"'+b+'",'+d+");",d)}var ad_list=new String;function count_ad(a){if(ad_list!="")ad_list+=",";ad_list+=a}
function count_ad_master(){if(ad_list!==""){var a=new XMLHttpRequest;a.open("GET","/services/ad_counter.aspx?ad_id="+ad_list,true);a.send(null)}};currrow=-1;function loadGameInfo(a,c,b,d){if(parseInt(currrow-1)==parseInt(b))removeRow(a);else{var e,g=new XMLHttpRequest;g.open("GET","/services/schedule_detail.aspx?id="+escape(c),true);g.onreadystatechange=function(){if(g.readyState==4){e=g.responseText;loadRow(e,a,"schedule_detail_row",b,d,true);g=null}};g.send(null)}}function toggleHelp(a){obj=document.getElementById("divHelp_"+a);obj.style.display=obj.style.display=="none"?"block":"none"};function launch_scoreboard(a){for(var c=new String,b=document.getElementsByTagName("div"),d=0;d<b.length;d++){var e=b[d];if(e.getAttribute("title")=="scoreboard_item"){$("#"+e.id).hide();if(c=="")c=e.id;else c+="@"+e.id}}rotate_scores(0,c,a)}
function rotate_scores(a,c,b){try{var d=a,e=c.split("@");d==0?$("#"+e[e.length-1]).fadeOut(500,function(){$("#"+e[d]).fadeIn(500)}):$("#"+e[d-1]).fadeOut(500,function(){$("#"+e[d]).fadeIn(500)});if(a<e.length-1)a+=1;else a=0;htimer_ads=setTimeout("rotate_scores("+a+',"'+c+'",'+b+");",b)}catch(g){}};var currId="nomatch",HidingTimer,currLink,lhref=String;
function showDiv(a){clearTimeout(HidingTimer);var c=document.getElementById("smartBox");identifier=a.attributes.rev.value;lhref=a.attributes.href.value;c.innerHTML='<a href="javascript:hideDiv()"></a>Loading...';c.style.display="none";c.onmouseover=function(){cancelHide()};c.onmouseout=function(){startHide()};var b=parseInt(getRealLeft(a));if(b+300>screen.width)b-=200;c.style.left=b+"px";c.style.top=getRealTop(a)+20+"px";var d=new XMLHttpRequest;if(lhref.indexOf("coaches",0)>0)d.open("GET","/services/smartplayerview.aspx?coach=true&id="+
escape(identifier),true);else lhref.indexOf("staff",0)>0?d.open("GET","/services/smartplayerview.aspx?staff=true&id="+escape(identifier),true):d.open("GET","/services/smartplayerview.aspx?id="+escape(identifier),true);d.onreadystatechange=function(){if(d.readyState==4){c.innerHTML='<a href="javascript:hideDiv()"></a>';c.innerHTML+=d.responseText;d=null}};d.send(null);currId=identifier;$("#"+c.id).fadeIn(300);return false}function cancelHide(){clearTimeout(HidingTimer)}
function startHide(){HidingTimer=setTimeout("hideDiv();",1E3)}function hideDiv(){$("#smartBox").fadeOut(500)}function addDiv(){if(document.getElementById("smartBox")==null)var a=document.getElementsByTagName("body")[0].innerHTML+=a}document.write('<div id="smartBox"></div>');
function smart_links(){ary=document.getElementsByTagName("dfn");if(ary.length!=0)if(ary[0].childNodes[0])for(var a=0;a<ary.length;a++)try{ary[a].childNodes[0].onmouseover=function(){showDiv(this)};ary[a].childNodes[0].onmouseout=function(){startHide()}}catch(c){}else{ary=document.getElementsByTagName("a");for(a=0;a<ary.length;a++)if(ary[a].attributes.rev)try{ary[a].onmouseover=function(){showDiv(this)};ary[a].onmouseout=function(){startHide()}}catch(b){}}}addLoadEvent(smart_links);function expand(a,c,b){var d=document.getElementsByTagName("ul");try{if($("#"+a).is(":visible")&&!b){$("#"+a).hide("blind",{direction:"vertical"},500);$("#"+a).removeClass();("#"+a).addClass("offmouse");return false}}catch(e){return false}go=true;if(c)for(c=0;c<d.length;c++){var g=d[c];if(g.getAttribute("title")=="leftNav_WB"){$("#"+g.id).is(":visible")&&!b?$("#"+g.id).hide("blind",{direction:"vertical"},500):$("#"+g.id).hide();g.className="offmouse"}}try{if(go){$("#"+a).show("blind",{direction:"vertical"},
500);document.getElementById(a).classname="onmouse"}b&&rollover(document.getElementById("img_"+a),true,true)}catch(h){}};currID_MH="";var HidingTimer_MH,HidingTimer_TS,curr_story,running,numstories_global;function moreheadlines_show(a,c){clearTimeout(HidingTimer_MH);if(c){currID_MH!=a&&currID_MH!=""&&moreheadlines_hide(currID_MH);document.getElementById("divMoreHeadline_more_"+a).style.display="block";currID_MH=a}else HidingTimer_MH=setTimeout("moreheadlines_show ("+a+", true)",1E3)}function moreheadlines_hide(a){document.getElementById("divMoreHeadline_more_"+a).style.display="none"}
function moreheadlines_stoptimer(){clearTimeout(HidingTimer_MH)}
function ICS_rotate(a,c,b,d){if(d=="")d=4E3;for(var e=1;e<=c;e++){document.getElementById("rotImage_"+e).style.display="none";document.getElementById("rotStory_"+e).style.display="none";document.getElementById("rotHeadline_"+e).className="divTopStory_Rotate_ICS_Headlines"}document.getElementById("rotImage_"+a).style.display="block";document.getElementById("rotStory_"+a).style.display="block";document.getElementById("rotHeadline_"+a).className+=" divTopStory_Rotate_ICS_Headlines_selected";a+=1;if(a>
c)a=1;if(b)clearTimeout(HidingTimer_TS);else HidingTimer_TS=setTimeout("ICS_rotate("+a+","+c+",0,"+d+")",d)}function CS_rotate_stop(a){if(running){clearTimeout(HidingTimer_TS);running=false;rollover(a,true,false)}else{rollover(a,false,false);running=true;HidingTimer_TS=setTimeout("CS_rotate("+curr_story+","+numstories_global+",0,4000)",4E3)}}var story_effect="none",no_text_fade=true;
function CS_rotate(a,c,b,d){running=true;if(d==undefined)d=4E3;if(curr_story>0){for(var e=1;e<=c;e++)document.getElementById("rotHeadlineImg_"+e).src="/images/thumbbuttons_"+e+".gif";tstory_id=a;$("#rotHeadline_"+curr_story).toggleClass("divTopStory_Rotate_CS_Headlines_selected");if(story_effect!="none")if(no_text_fade){$("#rotStory_"+curr_story).hide();$("#rotStory_"+tstory_id).show()}else story_effect=="fader"?$("#rotStory_"+curr_story).fadeOut(500,function(){$("#rotStory_"+tstory_id).fadeIn(1500)}):
$("#rotStory_"+curr_story).fadeOut(500,function(){$("#rotStory_"+tstory_id).fadeIn(1E3)});else{$("#rotStory_"+curr_story).hide();$("#rotStory_"+tstory_id).show()}if(story_effect=="fader")$("#rotImage_"+curr_story).fadeOut(500,function(){$("#rotImage_"+tstory_id).fadeIn(500)});else if(story_effect=="slideleft")$("#rotImage_"+curr_story).fadeOut(500,function(){$("#rotImage_"+tstory_id).show("slide",{direction:"left"},500)});else if(story_effect=="slideright")$("#rotImage_"+curr_story).fadeOut(500,function(){$("#rotImage_"+
tstory_id).show("slide",{direction:"right"},500)});else if(story_effect=="slidetop")$("#rotImage_"+curr_story).fadeOut(500,function(){$("#rotImage_"+tstory_id).show("slide",{direction:"up"},500)});else if(story_effect=="slidebottom")$("#rotImage_"+curr_story).fadeOut(500,function(){$("#rotImage_"+tstory_id).show("slide",{direction:"down"},500)});else{$("#rotImage_"+curr_story).hide();$("#rotImage_"+tstory_id).show()}}else{for(e=1;e<=c;e++){document.getElementById("rotStory_"+e).style.display="none";
document.getElementById("rotHeadline_"+e).className="divTopStory_Rotate_CS_Headlines";document.getElementById("rotImage_"+e).style.display="none";document.getElementById("rotHeadlineImg_"+e).src="/images/thumbbuttons_"+e+".gif"}if(story_effect=="none"){$("#rotStory_"+a).show();$("#rotImage_"+a).show()}else{$("#rotStory_"+a).fadeIn("slow");$("#rotImage_"+a).fadeIn("slow")}}$("#rotHeadline_"+a).toggleClass("divTopStory_Rotate_CS_Headlines_selected",true);document.getElementById("rotHeadlineImg_"+a).src=
"/images/thumbbuttons_"+a+"b.gif";curr_story=a;numstories_global=c;a+=1;if(a>c)a=1;if(b){running=false;clearTimeout(HidingTimer_TS)}else HidingTimer_TS=setTimeout("CS_rotate("+a+","+c+",0,"+d+")",d)}var currStory_TV=0;
function TV_rotate(a,c,b,d){if(d==undefined)d=4E3;if(currStory_TV!=a){if(currStory_TV>0){tstory_id=a;$("#rotHeadline_"+currStory_TV).toggleClass("divTopStory_Rotate_TV_Headlines_selected");if(story_effect!="none")if(no_text_fade){$("#rotStory_"+currStory_TV).hide();$("#rotStory_"+tstory_id).show()}else story_effect=="fader"?$("#rotStory_"+currStory_TV).fadeOut(500,function(){$("#rotStory_"+tstory_id).fadeIn(1500)}):$("#rotStory_"+currStory_TV).fadeOut(500,function(){$("#rotStory_"+tstory_id).fadeIn(1E3)});
else{$("#rotStory_"+currStory_TV).hide();$("#rotStory_"+tstory_id).show()}if(story_effect=="fader")$("#rotStory_bm_"+currStory_TV).fadeOut(500,function(){$("#rotStory_bm_"+tstory_id).fadeIn(500)});else if(story_effect=="slideleft")$("#rotStory_bm_"+currStory_TV).fadeOut(500,function(){$("#rotStory_bm_"+tstory_id).show("slide",{direction:"left"},500)});else if(story_effect=="slideright")$("#rotStory_bm_"+currStory_TV).fadeOut(500,function(){$("#rotStory_bm_"+tstory_id).show("slide",{direction:"right"},
500)});else if(story_effect=="slidetop")$("#rotStory_bm_"+currStory_TV).fadeOut(500,function(){$("#rotStory_bm_"+tstory_id).show("slide",{direction:"up"},500)});else if(story_effect=="slidebottom")$("#rotStory_bm_"+currStory_TV).fadeOut(500,function(){$("#rotStory_bm_"+tstory_id).show("slide",{direction:"down"},500)});else{$("#rotStory_bm_"+currStory_TV).hide();$("#rotStory_bm_"+tstory_id).show()}}else if(story_effect=="none"){$("#rotStory_"+a).show();$("#rotStory_bm_"+a).show()}else{$("#rotStory_"+
a).fadeIn("slow");$("#rotStory_bm_"+a).fadeIn("slow")}$("#rotHeadline_"+a).toggleClass("divTopStory_Rotate_TV_Headlines_selected",true);currStory_TV=a;a+=1;if(a>c)a=1;if(b)clearTimeout(HidingTimer_TS);else HidingTimer_TS=setTimeout("TV_rotate("+a+","+c+",0,"+d+")",d)}}
function CSHeadlines_rotate(a,c,b,d){if(d==undefined)d=4E3;for(var e=1;e<=c;e++){document.getElementById("rotStory1_"+e).style.display="none";document.getElementById("rotHeadline1_"+e).className="divHeadlines_Rotate_CS_Headlines";document.getElementById("rotImage1_"+e).style.display="none";document.getElementById("rotHeadlineImg1_"+e).src="/images/headlinethumb_"+e+".gif"}document.getElementById("rotStory1_"+a).style.display="block";document.getElementById("rotHeadline1_"+a).className+=" divHeadlines_Rotate_CS_Headlines_selected";
document.getElementById("rotHeadlineImg1_"+a).src="/images/headlinethumb_"+a+"b.gif";document.getElementById("rotImage1_"+a).style.display="block";a+=1;if(a>c)a=1;if(b)clearTimeout(HidingTimer_TS);else HidingTimer_TS=setTimeout("CSHeadlines_rotate("+a+","+c+",0,"+d+")",d)};if(typeof deconcept=="undefined")var deconcept={};if(typeof deconcept.util=="undefined")deconcept.util={};if(typeof deconcept.SWFObjectUtil=="undefined")deconcept.SWFObjectUtil={};
deconcept.SWFObject=function(a,c,b,d,e,g,h,f,i,j,k){if(document.getElementById){this.DETECT_KEY=k?k:"detectflash";this.skipDetect=deconcept.util.getRequestParameter(this.DETECT_KEY);this.params={};this.variables={};this.attributes=[];a&&this.setAttribute("swf",a);c&&this.setAttribute("id",c);b&&this.setAttribute("width",b);d&&this.setAttribute("height",d);e&&this.setAttribute("version",new deconcept.PlayerVersion(e.toString().split(".")));this.installedVer=deconcept.SWFObjectUtil.getPlayerVersion();
g&&this.addParam("bgcolor",g);this.addParam("quality",f?f:"high");this.setAttribute("useExpressInstall",h);this.setAttribute("doExpressInstall",false);this.setAttribute("xiRedirectUrl",i?i:window.location);this.setAttribute("redirectUrl","");j&&this.setAttribute("redirectUrl",j)}};
deconcept.SWFObject.prototype={setAttribute:function(a,c){this.attributes[a]=c},getAttribute:function(a){return this.attributes[a]},addParam:function(a,c){this.params[a]=c},getParams:function(){return this.params},addVariable:function(a,c){this.variables[a]=c},getVariable:function(a){return this.variables[a]},getVariables:function(){return this.variables},getVariablePairs:function(){var a=[],c,b=this.getVariables();for(c in b)a.push(c+"="+b[c]);return a},getSWFHTML:function(){var a="";if(navigator.plugins&&
navigator.mimeTypes&&navigator.mimeTypes.length){this.getAttribute("doExpressInstall")&&this.addVariable("MMplayerType","PlugIn");a='<embed type="application/x-shockwave-flash" src="'+this.getAttribute("swf")+'" width="'+this.getAttribute("width")+'" height="'+this.getAttribute("height")+'"';a+=' id="'+this.getAttribute("id")+'" name="'+this.getAttribute("id")+'" ';var c=this.getParams();for(var b in c)a+=b+'="'+c[b]+'" ';b=this.getVariablePairs().join("&");if(b.length>0)a+='flashvars="'+b+'"';a+=
"/>"}else{this.getAttribute("doExpressInstall")&&this.addVariable("MMplayerType","ActiveX");a='<object id="'+this.getAttribute("id")+'" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+this.getAttribute("width")+'" height="'+this.getAttribute("height")+'">';a+='<param name="movie" value="'+this.getAttribute("swf")+'" />';c=this.getParams();for(b in c)a+='<param name="'+b+'" value="'+c[b]+'" />';b=this.getVariablePairs().join("&");if(b.length>0)a+='<param name="flashvars" value="'+b+'" />';
a+="</object>"}return a},write:function(a){if(this.getAttribute("useExpressInstall"))if(this.installedVer.versionIsValid(new deconcept.PlayerVersion([6,0,65]))&&!this.installedVer.versionIsValid(this.getAttribute("version"))){this.setAttribute("doExpressInstall",true);this.addVariable("MMredirectURL",escape(this.getAttribute("xiRedirectUrl")));document.title=document.title.slice(0,47)+" - Flash Player Installation";this.addVariable("MMdoctitle",document.title)}if(this.skipDetect||this.getAttribute("doExpressInstall")||
this.installedVer.versionIsValid(this.getAttribute("version"))){a=typeof a=="string"?document.getElementById(a):a;a.innerHTML=this.getSWFHTML();a.style.display="block";return true}else{a=typeof a=="string"?document.getElementById(a):a;this.getAttribute("redirectUrl")!=""&&document.location.replace(this.getAttribute("redirectUrl"))}a.style.display="block";return false}};
deconcept.SWFObjectUtil.getPlayerVersion=function(){var a=new deconcept.PlayerVersion([0,0,0]);if(navigator.plugins&&navigator.mimeTypes.length){var c=navigator.plugins["Shockwave Flash"];if(c&&c.description)a=new deconcept.PlayerVersion(c.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."))}else{try{c=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7")}catch(b){try{c=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");a=new deconcept.PlayerVersion([6,0,21]);c.AllowScriptAccess=
"always"}catch(d){if(a.major==6)return a}try{c=new ActiveXObject("ShockwaveFlash.ShockwaveFlash")}catch(e){}}if(c!=null)a=new deconcept.PlayerVersion(c.GetVariable("$version").split(" ")[1].split(","))}return a};deconcept.PlayerVersion=function(a){this.major=a[0]!=null?parseInt(a[0]):0;this.minor=a[1]!=null?parseInt(a[1]):0;this.rev=a[2]!=null?parseInt(a[2]):0};
deconcept.PlayerVersion.prototype.versionIsValid=function(a){if(this.major<a.major)return false;if(this.major>a.major)return true;if(this.minor<a.minor)return false;if(this.minor>a.minor)return true;if(this.rev<a.rev)return false;return true};deconcept.util={getRequestParameter:function(a){var c=document.location.search||document.location.hash;if(c){c=c.substring(1).split("&");for(var b=0;b<c.length;b++)if(c[b].substring(0,c[b].indexOf("="))==a)return c[b].substring(c[b].indexOf("=")+1)}return""}};
deconcept.SWFObjectUtil.cleanupSWFs=function(){for(var a=document.getElementsByTagName("OBJECT"),c=0;c<a.length;c++){a[c].style.display="none";for(var b in a[c])if(typeof a[c][b]=="function")a[c][b]=null}};if(typeof window.onunload=="function"){var oldunload=window.onunload;window.onunload=function(){deconcept.SWFObjectUtil.cleanupSWFs();oldunload()}}else window.onunload=deconcept.SWFObjectUtil.cleanupSWFs;if(Array.prototype.push==null)Array.prototype.push=function(a){this[this.length]=a;return this.length};
var getQueryParamValue=deconcept.util.getRequestParameter,FlashObject=deconcept.SWFObject,SWFObject=deconcept.SWFObject;function videoToggle(a,c){document.getElementById(a).style.display="none";document.getElementById(c).style.display="block"}
function switch_video(a,c,b,d){a=new SWFObject("http://www.youtube.com/v/"+a+"&enablejsapi=1&showsearch=0&rel=0&playerapiid=playvid&fs=1","youtube_player",b,d,"8","#000000");a.addParam("allowScriptAccess","always");a.addParam("allowFullScreen","true");a.addParam("wmode","transparent");a.setAttribute("id","youtube");a.write("youtube_player");if(c)vtimer=setTimeout("playvid()",1E3)}function playvid(){yt=document.getElementById("youtube");yt.playVideo()}
function switch_video_regular(a,c,b,d,e,g,h){b=new SWFObject("/videos/masterFS.swf","flashvid",d,e,"9",h);b.addParam("wMode","transparent");b.addParam("allowFullScreen","true");b.addParam("noscale","false");b.addVariable("autoplayvid","true");b.addVariable("skincolor",g);b.addVariable("skinname","/videos/fs_skin.swf");b.addVariable("file",c);b.write(a)}
function switch_video_fullscreen(a,c,b,d,e,g,h,f){b=new SWFObject("/common/flvplayer/flvplayer.swf","flashvid",d,e,"9",h);b.addParam("wmode","transparent");b.addParam("allowfullscreen","true");b.addParam("scale","noscale");b.addParam("salign","tl");b.addVariable("autoscale","false");b.addVariable("autoplay","true");b.addVariable("skincolor",g);b.addVariable("skin","skin-play-seek-fullscreen-vol.swf");b.addVariable("contentpath","");b.addVariable("playerpath","/common/flvplayer/");b.addVariable("preview",
e);b.addVariable("videoheight",e-55);b.addVariable("videowidth",d);b.addVariable("video",c);b.write(a)};