function hdAdjustWrapper(g,m,e){if(!document.getElementById("defaultDivHD")){jQuery('<div id="defaultDivHD">&nbsp;</div>').appendTo("#hdplayerwrap")}var n=document.getElementById("hd_inner_wrap");var j=document.getElementById("hd_player_tbl");var f=document.getElementById("hd_tbl_topshadow");var c=document.getElementById("hd_controlbar_pop");var b=document.getElementById("hd_tbl_lft");var o=document.getElementById("hd_tbl_rgt");var i=document.getElementById("hd_tbl_btm");var l=document.getElementById("hd_controls");var d=document.getElementById("defaultDivHD");var h=document.getElementById("spacer1");var a,k;if(g==0){n.style.width="981px";j.style.width="981px";f.style.backgroundImage="url(http://media1.break.com/static/live/v1/img/site/hires_cdp/plr_shdw_topedge.png)";f.style.width="854px";c.style.width="854px";b.style.backgroundImage="url(http://media1.break.com/static/live/v1/img/site/hires_cdp/plr_shdw_lft.png)";b.style.height="524px";o.style.backgroundImage="url(http://media1.break.com/static/live/v1/img/site/hires_cdp/plr_shdw_rgt.png)";o.style.height="524px";i.style.backgroundImage="url(http://media1.break.com/static/live/v1/img/site/hires_cdp/plr_shdw_btm.png)";i.style.width="981px";d.style.height="524px";h.style.display="block";h.style.width="981px";k=524;a=854;if(BrowserDetect.browser=="Explorer"){alphaBackgrounds()}if(typeof(sGlobalFileNameHDD)!="undefined"){l.innerHTML='<b>Resolution:</b> <a href="javascript:toggleHiRes(0);">Standard</a> | High | <a href="javascript:toggleHiRes(2);">Highest</a>'}else{l.innerHTML='<b>Resolution:</b> <a href="javascript:toggleHiRes(0);">Standard</a> | High'}}else{n.style.width="1407px";j.style.width="1407px";f.style.backgroundImage="url(http://media1.break.com/static/live/v1/img/site/hires_cdp/plr_shdw_topedge_high.png)";f.style.width="1280px";c.style.width="1280px";b.style.backgroundImage="url(http://media1.break.com/static/live/v1/img/site/hires_cdp/plr_shdw_lft_high.png)";b.style.height="765px";o.style.backgroundImage="url(http://media1.break.com/static/live/v1/img/site/hires_cdp/plr_shdw_rgt_high.png)";o.style.height="765px";i.style.backgroundImage="url(http://media1.break.com/static/live/v1/img/site/hires_cdp/plr_shdw_btm_high2.png)";i.style.width="1407px";d.style.height="765px";h.style.display="block";h.style.width="1407px";k=765;a=1280;if(BrowserDetect.browser=="Explorer"){alphaBackgrounds()}l.innerHTML='<b>Resolution:</b> <a href="javascript:toggleHiRes(0);">Standard</a> | <a href="javascript:toggleHiRes(1);">High</a>  | Highest'}addPlayer(m,"defaultDivHD",e,a,k)}function GetWidth(){var a=0;if(self.innerHeight){a=self.innerWidth}else{if(document.documentElement&&document.documentElement.clientHeight){a=document.documentElement.clientWidth}else{if(document.body){a=document.body.clientWidth}}}return a}jQuery(document).ready(function(){jQuery("#bman_head_top").addClass("resize")});function resizeTilingDivs(){var b=parseInt(GetWidth());var a=jQuery("#hd_outer_wrap").css("display");var d=parseInt(jQuery("#hd_inner_wrap").css("width"));var c=jQuery(".resize");var e;if(a=="block"){if(d>b){e=d}else{e="100%"}}else{e="100%"}c.css("width",e)};
