if(typeof(VioLoader)=="undefined"){var VioLoader=(function(){var UNDEF="undefined",isRun=false,LoadStack=new Array();function log(o){if(typeof(window.console)!=UNDEF&&typeof(window.console.log)=="function"){console.log(o)}}function checkScriptOptions(opts){var s=document.getElementsByTagName("script"),t=s[s.length-1],o=eval(t.innerHTML)||{};if(typeof(opts.embedPlayer)==UNDEF){opts.embedPlayer={}}if(typeof(opts.playlist)==UNDEF){opts.playlist={}}var embedMap={PlayerWidth:"playerWidth",PlayerHeight:"playerHeight",ShowSplash:"showSplash",SplashImage:"splashImage",ShowChooser:"showChooser",ShowChooserWhenPlaying:"showChooserWhenPlaying",PlayerFormat:"playerFormat",DefaultExtension:"playerExtension",DefaultQuality:"playerQuality",AutoStart:"autoStart",AutoRewind:"autoRewind"},playlistMap={PlaylistWidth:"playlistWidth",PlaylistHeight:"playlistHeight"};for(var a in o){if(typeof(o[a])!="function"){if(typeof(embedMap[a])!=UNDEF){opts.embedPlayer[embedMap[a]]=o[a]}else{if(typeof(playlistMap[a])!=UNDEF){opts.playlist[playlistMap[a]]=o[a]}}}}return t}return{Fn:function(fn){if(!isRun){LoadStack.push(fn)}else{fn.call(null)}},Add:function(playerName,options){t=checkScriptOptions(options);var playerId=/playerid=([0-9a-fA-F]{8}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{12})/.exec(t.src)[1];var css=Vio.BaseURL+"StyleSheet.axd?playerId="+playerId;LoadStack.push(function(){if(typeof(document.createStyleSheet)=="function"){document.createStyleSheet(css)}else{var head=document.getElementsByTagName("head")[0];var style=document.createElement("link");style.setAttribute("rel","stylesheet");style.setAttribute("type","text/css");style.setAttribute("href",css);head.appendChild(style)}});var d=document.createElement("div");d.className="vio-container vio-clearfix";t.parentNode.replaceChild(d,t);LoadStack.push((function(){Vio.Player.AddTarget(playerName,d,options)}))},Run:function(){if(!isRun){isRun=true;for(var i=0;i<LoadStack.length;i++){try{LoadStack[i].call(null)}catch(ex){log(ex)}}}}}})()}VioLoader.Fn(function(){if(typeof(Vio.Player.Layouts.SmallPlayer)=="undefined"){Vio.Extend(Vio.Player.Layouts,(function(){var a=new Array();Vio.Event.Bind(window,"Render",function(b){for(var c=0;c<a.length;c++){(function(e){Vio.$ee(e.Element);var d=document.createElement("div");d.className="vioplayer-container small-player";e.Element.appendChild(d);d.style.width=e.Element.style.width=e.Options.embedPlayer.playerWidth+"px";d.style.height=e.Options.embedPlayer.playerHeight+"px";e.PlayerElement=d;setTimeout(function(){Vio.Event.Trigger("RenderPlayer",e)},10)})(a[c])}});return{SmallPlayer:{AddTarget:function(b){a.push(b)},FindTarget:function(c){for(var b=0;b<a.length;b++){if(a[b].Id==c){return a[b]}}return null}}}})())}});VioLoader.Fn(function(){Vio.Media.Add({MediaId:"1c69e371-fdae-48c8-9129-9c44d14deda1",Created:"/Date(1280466808170)/",DisplayTime:"/Date(1280466808170)/",MediaType:"Video",MediaTitle:"Mix Mornings with Brig and Lehmo - Shabby Chef The event 30 July 2010",MediaDescription:"",AuthorName:"Lisa Prince",MediaUrls:[{Url:"http://cp67385.p1.videos.viostream.com/1062_74677_98852_flvmed.flv?v=1",Quality:"Medium",Width:400,Height:224,Duration:143500,MediaType:"Video"},{Url:"http://cp67385.p1.videos.viostream.com/1062_74677_98852_flvhigh.flv?v=1",Quality:"High",Width:400,Height:224,Duration:143500,MediaType:"Video"}],KeyWords:[],Thumbnails:[{FrameTime:0,Height:54,Width:96,FileName:"1062_74677_98852_00-00-000_1_96x54.jpg",Created:"/Date(1280467559357)/",Path:"http://images.viostream.com/1062_74677_98852_00-00-000_1_96x54.jpg"},{FrameTime:0,Height:84,Width:112,FileName:"1062_74677_98852_00-00-000_1_112x84.jpg",Created:"/Date(1280467559500)/",Path:"http://images.viostream.com/1062_74677_98852_00-00-000_1_112x84.jpg"},{FrameTime:0,Height:224,Width:400,FileName:"1062_74677_98852_00-00-000_1_400x224.jpg",Created:"/Date(1280467559687)/",Path:"http://images.viostream.com/1062_74677_98852_00-00-000_1_400x224.jpg"}],Advertisments:{}})});VioLoader.Add("SmallPlayer",{player:{x:"0",y:"0",scale_to_fit:true,bg_colour:"0x000000",quality:"high",scaling:"fit",smoothing:true,volume_default:0.8,default_video_thumb:"http://player.cdn.vioapi.com/v6/images/viostream_default.jpg",default_audio_thumb:"http://player.cdn.vioapi.com/v6/images/viostream_default.jpg",default_image_thumb:"http://player.cdn.vioapi.com/v6/images/viostream_default.jpg",autoplay:"never",watermark_enabled:false,watermark_position:"tr",watermark_url:"http://player.cdn.vioapi.com/v6/images/viostream_watermark.png",watermark_clickURL:"http://www.viocorp.com"},skin:{audio_spectrum_enabled:false,theme_colour:"0x666666",icon_colour:"0xffffff",contrast_colour:"0xb3b3b3",volume_enabled:true,timer_enabled:true,quality_enabled:false,fullscreen_enabled:true,playlist_enabled:false,info_enabled:false,share_enabled:false,controls_autohide:false,url:"http://player.cdn.vioapi.com/v6/Skins/Flash/portal_skin.swf",flash_url:"http://player.cdn.vioapi.com/v6/Skins/Flash/portal_skin.swf"},data:{webservice_type:"embeded",url:"http://player.cdn.vioapi.com/v6/content.asmx",debug:false,exception_reporting:false,holding_enabled:false,holding_image:"http://player.cdn.vioapi.com/v6/images/viostream_default.jpg",metadata:"",post_all_requests:false},advertising:{enabled:false},embedPlayer:{playerName:"SmallPlayer",playerId:"fc6e91aa-8543-4857-8f44-53cd641f9b58",mediaId:"1c69e371-fdae-48c8-9129-9c44d14deda1"},tracking:{enabled:false,url:""},bookmarks:[{Name:"Facebook",Url:"http://www.facebook.com/sharer.php?u={0}&t={1}",IconUrl:"http://player.cdn.vioapi.com/v6/images/bookmarks/facebook.gif"}]});