﻿// JScript File

var player = null;
function playerReady(thePlayer) {
	player = window.document[thePlayer.id];
	//player = dnn.dom.getById[thePlayer.id];
	
}

function createPlayer(theFile) {
            var flashvars = {
                    file:theFile, 
                    autostart:"false",
                    shuffle:"false",
                    backcolor:"535f64",
                    frontcolor:"b1bd48",
                    lightcolor:"b1bd48",
                    screencolor:"ffffff",
                    bufferlength:"5"
                    
                    
                    
                    
            }
            var params = {
                    allowfullscreen:"false", 
                    allowscriptaccess:"always"
            }
            var attributes = {
                    id:"player1",  
                    name:"player1"
            }
            swfobject.embedSWF("/portalskins/_default/Skins/PTYWebcast/player.swf", "placeholder1", "290", "238", "9.0.115", false, flashvars, params, attributes);
            // save URL so we can check if it has changed
            
}






