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:"2f8ee2ab-0557-4d49-bfc7-429557f31f71",Created:"/Date(1259631131117)/",DisplayTime:"/Date(1259631131117)/",MediaType:"Video",MediaTitle:"Pricasso, live painting at sexpo",MediaDescription:"Pricasso, live painting at sexpo",AuthorName:"Oriel Guthrie",MediaUrls:[{Url:"http://cp85246.p1.videos.viostream.com/1224_56299_23295_mp4high.mp4?v=1",Quality:"High",Width:0,Height:0,Duration:0,MediaType:"Video"}],KeyWords:[],Thumbnails:[{FrameTime:10,Height:360,Width:640,FileName:"1224_56299_23295_00-00-10_1.jpg",Created:"/Date(1259631280100)/",Path:"http://images.viostream.com/1224_56299_23295_00-00-10_1.jpg"},{FrameTime:10,Height:360,Width:640,FileName:"1224_56299_23295_00-00-10_1_640x360.jpg",Created:"/Date(1259631280100)/",Path:"http://images.viostream.com/1224_56299_23295_00-00-10_1_640x360.jpg"},{FrameTime:10,Height:84,Width:112,FileName:"1224_56299_23295_00-00-10_1_112x84.jpg",Created:"/Date(1259631280100)/",Path:"http://images.viostream.com/1224_56299_23295_00-00-10_1_112x84.jpg"},{FrameTime:10,Height:54,Width:96,FileName:"1224_56299_23295_00-00-10_1_96x54.jpg",Created:"/Date(1259631280100)/",Path:"http://images.viostream.com/1224_56299_23295_00-00-10_1_96x54.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:"always",watermark_enabled:true,watermark_position:"tr",watermark_url:"http://www.novafm.com.au/lib/images/contents/Nova_vidwatermark.png",watermark_clickURL:"http://www.novafm.com.au"},skin:{audio_spectrum_enabled:false,theme_colour:"0x232323",icon_colour:"0xffffff",contrast_colour:"0x989898",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:"b577addd-ccba-4f74-8f48-8cc8236d5d53",mediaId:"2f8ee2ab-0557-4d49-bfc7-429557f31f71"},tracking:{enabled:false,url:""},bookmarks:[{Name:"Delicious",Url:"http://del.icio.us/post?url={0}&title={1}",IconUrl:"http://player.cdn.vioapi.com/v6/images/bookmarks/delicious.gif"},{Name:"Digg",Url:"http://digg.com/submit?url={0}&title={1}",IconUrl:"http://player.cdn.vioapi.com/v6/images/bookmarks/digg.gif"},{Name:"reddit",Url:"http://reddit.com/submit?url={0}&title={1}",IconUrl:"http://player.cdn.vioapi.com/v6/images/bookmarks/reddit.gif"},{Name:"StumbleUpon",Url:"http://www.stumbleupon.com/submit?url={0}&title={1}",IconUrl:"http://player.cdn.vioapi.com/v6/images/bookmarks/stumbleupon.gif"},{Name:"Bebo",Url:"http://bebo.com/c/share?url={0}&title={1}",IconUrl:"http://player.cdn.vioapi.com/v6/images/bookmarks/bebo.gif"}]});