function muteMp3Player() {
	var flash;
	if(navigator.appName.indexOf("Microsoft") != -1) {
		flash = window.mp3player;
	} else {
		flash = window.document.mp3player;
	}
	//flash.shush();
}

function playVideo() {
	var videoPlayer = document.getElementById("videoPlayer");
	var agt = navigator.userAgent.toLowerCase();
	
	videoPlayer.setAttribute("style", "display:block");
	
	if (videoPlayer.display == undefined) {
		videoPlayer.style.display = "block";
	}
	
	if (agt.indexOf("firefox") != -1) {
		/*document.getElementById("musicPlayer").style.marginTop = "-17px"; !!! PHASE 1 !!! */
		//document.getElementById("musicPlayer").style.marginTop = "-45px"; /* !!! PHASE 1 !!! */
	}
	
	muteMp3Player();
	createVideoPlayer("http://ht.cdn.turner.com/adultswim/big/music/africanswim/video/other_africanswim_01jozi.flv");
}

function playVideo2() {
	var videoPlayer = document.getElementById("videoPlayer");
	var agt = navigator.userAgent.toLowerCase();
	
	videoPlayer.setAttribute("style", "display:block");
	
	if (videoPlayer.display == undefined) {
		videoPlayer.style.display = "block";
	}
	
	if (agt.indexOf("firefox") != -1) {
		/*document.getElementById("musicPlayer").style.marginTop = "-17px"; !!! PHASE 1 !!! */
		//document.getElementById("musicPlayer").style.marginTop = "-45px"; /* !!! PHASE 1 !!! */
	}
	
	muteMp3Player();
	createVideoPlayer2("http://ht.cdn.turner.com/adultswim/big/music/africanswim/video/other_africanswim_02drencko.flv");
}

function playVideo3() {
	var videoPlayer = document.getElementById("videoPlayer");
	var agt = navigator.userAgent.toLowerCase();
	
	videoPlayer.setAttribute("style", "display:block");
	
	if (videoPlayer.display == undefined) {
		videoPlayer.style.display = "block";
	}
	
	if (agt.indexOf("firefox") != -1) {
		/*document.getElementById("musicPlayer").style.marginTop = "-17px"; !!! PHASE 1 !!! */
		//document.getElementById("musicPlayer").style.marginTop = "-45px"; /* !!! PHASE 1 !!! */
	}
	
	muteMp3Player();
	createVideoPlayer2("http://ht.cdn.turner.com/adultswim/big/music/africanswim/video/other_africanswim_03maggz.flv");
}

function playVideo4() {
	var videoPlayer = document.getElementById("videoPlayer");
	var agt = navigator.userAgent.toLowerCase();
	
	videoPlayer.setAttribute("style", "display:block");
	
	if (videoPlayer.display == undefined) {
		videoPlayer.style.display = "block";
	}
	
	if (agt.indexOf("firefox") != -1) {
		/*document.getElementById("musicPlayer").style.marginTop = "-17px"; !!! PHASE 1 !!! */
		//document.getElementById("musicPlayer").style.marginTop = "-45px"; /* !!! PHASE 1 !!! */
	}
	
	muteMp3Player();
	createVideoPlayer2("http://ht.cdn.turner.com/adultswim/big/music/africanswim/video/other_africanswim_04_gumshev.flv");
}

function playVideo5() {
	var videoPlayer = document.getElementById("videoPlayer");
	var agt = navigator.userAgent.toLowerCase();
	
	videoPlayer.setAttribute("style", "display:block");
	
	if (videoPlayer.display == undefined) {
		videoPlayer.style.display = "block";
	}
	
	if (agt.indexOf("firefox") != -1) {
		/*document.getElementById("musicPlayer").style.marginTop = "-17px"; !!! PHASE 1 !!! */
		//document.getElementById("musicPlayer").style.marginTop = "-45px"; /* !!! PHASE 1 !!! */
	}
	
	muteMp3Player();
	createVideoPlayer2("http://ht.cdn.turner.com/adultswim/big/music/africanswim/video/other_farcry_01_footage.flv");
}

function playVideo6() {
	var videoPlayer = document.getElementById("videoPlayer");
	var agt = navigator.userAgent.toLowerCase();
	
	videoPlayer.setAttribute("style", "display:block");
	
	if (videoPlayer.display == undefined) {
		videoPlayer.style.display = "block";
	}
	
	if (agt.indexOf("firefox") != -1) {
		/*document.getElementById("musicPlayer").style.marginTop = "-17px"; !!! PHASE 1 !!! */
		//document.getElementById("musicPlayer").style.marginTop = "-45px"; /* !!! PHASE 1 !!! */
	}
	
	muteMp3Player();
	createVideoPlayer2("http://ht.cdn.turner.com/adultswim/big/music/africanswim/video/other_farcry_02_makingof.flv");
}

function closeVideo() {
	var videoPlayer = document.getElementById("videoPlayer");
	var agt = navigator.userAgent.toLowerCase();
	
	videoPlayer.setAttribute("style", "display:none");
	
	if (videoPlayer.display == undefined) {
		videoPlayer.style.display = "none";
	}
	if (agt.indexOf("firefox") != -1) {
		/*document.getElementById("musicPlayer").style.marginTop = "0px"; !!! PHASE 1 !!! */
		//document.getElementById("musicPlayer").style.marginTop = "-0px"; /* !!! PHASE 1 !!! */
	}	
}


function createVideoPlayer(file) {
	var swfwidth = 456;
	var swfheight = 430;
	
	var descColor = "0xaa4330";
	
	var so = new SWFObject("tools/swf/videoPlayer.swf", "mymovie", swfwidth, swfheight, "8", "#00FF00");
	     //this is to allow a target to open in a window besides _blank
	   so.addParam("allowScriptAccess", "always");
	   so.addParam("wmode", "transparent");
	   
	   so.addVariable("swfHeight", swfheight);
	   so.addVariable("swfWidth", swfwidth);
	   
	     //flv loads in a single video file
	     //if you use "flv" you have to comment out "xml"
	   so.addVariable("flv", file);
	     //url defines a link for clicking on the video area of the flv player
	     //to disable it, comment it out
	  // so.addVariable("url", "test.html");
	     //target defines where the url will open
	     //choices are _self, _parent, _top, _blank
	   so.addVariable("target", "_self");
	   
	     //xml loads in a playlist with flvs and urls
	     //if you use "xml", you have to comment out "flv"
	   //so.addVariable("xml", "test.xml");
	   
	     //flvWidth and flvHeight are required variables - don't comment them out
	     //they define the width and height of the videoArea
	     //To fill up the entire area set them to one pixel less than the swf size
	     //to allow for the control area, set the height minus the height of the control area
		 //never have the height more than 29 pixels difference from the swfheight if you are using the playlist controls
	   so.addVariable("flvWidth", 370);
	   so.addVariable("flvHeight", 277);
	     //controlWidth and Height are required, but if you want the controls to not be streched, include them
		 //usually set the width to the width of the flv and the height to around 30 or whatever you need
	   so.addVariable("controlWidth", 370);
	   so.addVariable("controlHeight", 21);
	     //use this to add or subtract to the control area y position
		 //set it to 0 to use the default
	   so.addVariable("controlY", 5);
	   so.addVariable("controlX", -5);
	   
	     //autoplay is required - it must not be commented out
		 //true automatically plays the video, false requires you a click before playing
	   so.addVariable("autoplay", "true");
	   
	     //loop is required - it must not be commented out
		 //true sets the entire video and video list to replay
		 //false will play through the video once and the entire playlist once
	   so.addVariable("loop", "false");
	   
	     //controls is required - it must not be commented out
		 //if true, the main controls under the video area is visible
		 //if false, there is no main control area
	     //if controls == true, make sure to turn off innerControls & vice versa
	   so.addVariable("controls", "true");
	   	 //innerControls is required - it must not be commented out
		 //if true, the play/pause is visible inside the video area
		 //if false, there is no inner controls
		 //if innerControls == true, make sure to turn off controls & vice versa 
	   so.addVariable("innerControls", "false");
	     //playlistControls is required - it must not be commented out
		 //if false they are not active
		 //if bottom, the prev/next controls are on the very bottom of the swf
		 //if insidebottom, the controls are on the bottom of inside the flv area
	   so.addVariable("playlistControls", "false");
	   
	   	 //still image is the image that displays in the video area if the autoplay is turned off
		 //to have no still image, comment this out
	   //so.addVariable("stillImage", "tools/img/videoPlayer/still.jpg");
	     //playerbg is the background image behind the video area
		 //to have no bg, comment this out
	   so.addVariable("playerbg", "http://i.adultswim.com/adultswim/music/africanswim/tools/img/videoPlayer/videoPlayerBg4.png");
	   so.addVariable("offsetBgX", -5);
	   so.addVariable("offsetBgY", -27);
	   so.addVariable("bgWidth", 400);
	   so.addVariable("bgHeight", 362);
	   
	 
		 //the next six variables can be commented out if you want to use the default icons 
	    //controlsbg is the bg for the entire main control area
	  so.addVariable("controlsbg", "http://i.adultswim.com/adultswim/music/africanswim/tools/img/videoPlayer/videoControlsBg2.png");
	    //set this to true if you want to see the play/pause button
	  so.addVariable("playPause", "true");
	    //playImage is the image for the play button
	  so.addVariable("playImage", "http://i.adultswim.com/adultswim/music/africanswim/tools/img/videoPlayer/videoPlayBtn2.png");
	    //pauseImage is the image for the pause button
	  so.addVariable("pauseImage", "http://i.adultswim.com/adultswim/music/africanswim/tools/img/videoPlayer/videoPauseBtn2.png");
	  
	  so.addVariable("playImageRO", "http://i.adultswim.com/adultswim/music/africanswim/tools/img/videoPlayer/videoPlayBtn2.png");
	  so.addVariable("pauseImageRO", "http://i.adultswim.com/adultswim/music/africanswim/tools/img/videoPlayer/videoPauseBtn2.png");
	    //playX is for the X coord of the play/pause area in pixels
	  so.addVariable("playX", 10);
	  
	    //set this to true if you want to see the scrubber track
	  so.addVariable("track", "true");
		//thumbImage is the image for the scrubber thumb
	 	//if you use one of the next 3, you  have to use them all
	  so.addVariable("thumbImage", "http://i.adultswim.com/adultswim/music/africanswim/tools/img/videoPlayer/videoTrackThumb.png");
	    //loadedTrackImage is the image for the loaded scrub bar
	  so.addVariable("loadedTrackImage", "http://i.adultswim.com/adultswim/music/africanswim/tools/img/videoPlayer/videoTimelineLoaded.png");
	    //trackImage is the image for the unloaded scrub bar
	  so.addVariable("trackImage", "http://i.adultswim.com/adultswim/music/africanswim/tools/img/videoPlayer/videoTimeline.png"); 
	    //trackX is for the X coord of the track in pixels
	  so.addVariable("trackX", 27);
	   
	     //the following 6 are required parameters
	 	//set elapsed and/or to true if you want the elapsed time and false if not
	  so.addVariable("elapsed", "true");
	  so.addVariable("duration", "false");
	    //timeFont is for the font face of the time displays
	  so.addVariable("timeFont", "Arial Bold");
	    //timeSize is for the size of the time displays font
	  so.addVariable("timeSize", 12);
	    //elapsedX is the X coord for the elapsed time
	  so.addVariable("elapsedX", 305);
	    //durationX is the X coord for the duration time
	  so.addVariable("durationX", 275);
	  
	    //set the start volume of the video
		//from 0 to 100  (you can set higher, but the volume becomes distorted)
	  so.addVariable("startVolume", 60);
	    //if you add a volumeImage, you have to add them all or comment them all out
	    //set volumeIcon to true/false to turn it on or off
	  so.addVariable("volumeIcon", "true");
	 	//volumeImage is the image for the speaker icon
	  so.addVariable("volumeImage", "http://i.adultswim.com/adultswim/music/africanswim/tools/img/videoPlayer/videoVolumeIcon2.png");
	    //volumeIconX is for the X coord of the volume Icon in pixels
	  so.addVariable("volumeIconX", 397);
	    //soundWavesImage is the image for the waves coming out of the speaker
	  //so.addVariable("soundWavesImage", "tools/img/videoPlayer/soundwavesimagetest.png");
	    //muteImage is the image for the mute icon
	    //if one of these next 3 is commented out, all them have to be
	  so.addVariable("muteImage", "http://i.adultswim.com/adultswim/music/africanswim/tools/img/videoPlayer/videoMute2.png");
	    //volumeThumbImage is the image for the thumb on the scrubber bar
	  so.addVariable("volumeThumbImage", "http://i.adultswim.com/adultswim/music/africanswim/tools/img/videoPlayer/videoTrackThumb.png");
	    //set volumeTrack to true/false to turn it on or off
	  so.addVariable("volumeTrack", "true");
	    //volumeTrackImage is the image for the scrubber bar
	  so.addVariable("volumeTrackImage", "http://i.adultswim.com/adultswim/music/africanswim/tools/img/videoPlayer/videoVolumeTrack.png");
	    //volumeTrackX is for the X coord of the volume track in pixels
	  so.addVariable("volumeTrackX", 345);
	    //if innerControls is turned on, these must not be commented out
	    //innerPause if the image for the pause icon on the inner controls
	  so.addVariable("innerPauseImage", "http://i.adultswim.com/adultswim/music/africanswim/tools/img/videoPlayer/innerpausetest.png");
	    //innerPlay is the image for the play icon on the inner controls
	  so.addVariable("innerPlayImage", "http://i.adultswim.com/adultswim/music/africanswim/tools/img/videoPlayer/innerplaytest.png");
	   
	     //if playlistControls is turned on, these control the images being on that controls
		 //use left center or right
	   so.addVariable("playlistAlign", "left");
		 //for playlistCtrlsBg, put in a transparent gif/png with the appropriate height & width if you don't want a bg to show up
	   so.addVariable("playlistCtrlsBg", "tools/img/videoPlayer/plctrlsbg.png");
	     //comment out the next 4 variables if you don't want a next/previous control area
	   so.addVariable("playlistCtrlsPrev", "tools/img/videoPlayer/plctrlsprev.png");
	   so.addVariable("playlistCtrlsPrevRO", "tools/img/videoPlayer/plctrlsprevro.png");
	   so.addVariable("playlistCtrlsNext", "tools/img/videoPlayer/plctrlsnext.png");
	   so.addVariable("playlistCtrlsNextRO", "tools/img/videoPlayer/plctrlsnextro.png");
	     //these 3 must not be commented out
	   so.addVariable("playlistSelected", "tools/img/videoPlayer/plctrlsselected.jpg");
	   so.addVariable("playlistUnselectedRO", "tools/img/videoPlayer/plctrlsunselectedRO.jpg");
	   so.addVariable("playlistUnselected", "tools/img/videoPlayer/plctrlsunselected.jpg");
	   
	     //if you want to select a set color for all of the text description on playlist,
		 //use this to override the xml sheet.  Use this for if you have different stylesheets for the same page
		 //comment out to not use it
	   //so.addVariable("descColorOverride", descColor);
	   
		//if controls is turned on and no images are set above these must not be commented out
	    //these control the color of the default icons on the control areas
		//for videoBorderColor - must use 0x000001 for a black videoBorderColor 
	   so.addVariable("videoBorderColor", 0xffffff);
	   so.addVariable("elapsedColor", 0x77280e);
	   so.addVariable("durationColor", 0x77280e);
	   so.write("flashcontent");
}


function createVideoPlayer2(file) {
	var swfwidth = 456;
	var swfheight = 430;
	
	var descColor = "0xaa4330";
	
	var so = new SWFObject("tools/swf/videoPlayer.swf", "mymovie", swfwidth, swfheight, "8", "#00FF00");
	     //this is to allow a target to open in a window besides _blank
	   so.addParam("allowScriptAccess", "always");
	   so.addParam("wmode", "transparent");
	   
	   so.addVariable("swfHeight", swfheight);
	   so.addVariable("swfWidth", swfwidth);
	   
	     //flv loads in a single video file
	     //if you use "flv" you have to comment out "xml"
	   so.addVariable("flv", file);
	     //url defines a link for clicking on the video area of the flv player
	     //to disable it, comment it out
	  // so.addVariable("url", "test.html");
	     //target defines where the url will open
	     //choices are _self, _parent, _top, _blank
	   so.addVariable("target", "_self");
	   
	     //xml loads in a playlist with flvs and urls
	     //if you use "xml", you have to comment out "flv"
	   //so.addVariable("xml", "test.xml");
	   
	     //flvWidth and flvHeight are required variables - don't comment them out
	     //they define the width and height of the videoArea
	     //To fill up the entire area set them to one pixel less than the swf size
	     //to allow for the control area, set the height minus the height of the control area
		 //never have the height more than 29 pixels difference from the swfheight if you are using the playlist controls
	   so.addVariable("flvWidth", 370);
	   so.addVariable("flvHeight", 277);
	     //controlWidth and Height are required, but if you want the controls to not be streched, include them
		 //usually set the width to the width of the flv and the height to around 30 or whatever you need
	   so.addVariable("controlWidth", 370);
	   so.addVariable("controlHeight", 21);
	     //use this to add or subtract to the control area y position
		 //set it to 0 to use the default
	   so.addVariable("controlY", 5);
	   
	     //autoplay is required - it must not be commented out
		 //true automatically plays the video, false requires you a click before playing
	   so.addVariable("autoplay", "true");
	   
	     //loop is required - it must not be commented out
		 //true sets the entire video and video list to replay
		 //false will play through the video once and the entire playlist once
	   so.addVariable("loop", "false");
	   
	     //controls is required - it must not be commented out
		 //if true, the main controls under the video area is visible
		 //if false, there is no main control area
	     //if controls == true, make sure to turn off innerControls & vice versa
	   so.addVariable("controls", "true");
	   	 //innerControls is required - it must not be commented out
		 //if true, the play/pause is visible inside the video area
		 //if false, there is no inner controls
		 //if innerControls == true, make sure to turn off controls & vice versa 
	   so.addVariable("innerControls", "false");
	     //playlistControls is required - it must not be commented out
		 //if false they are not active
		 //if bottom, the prev/next controls are on the very bottom of the swf
		 //if insidebottom, the controls are on the bottom of inside the flv area
	   so.addVariable("playlistControls", "false");
	   
	   	 //still image is the image that displays in the video area if the autoplay is turned off
		 //to have no still image, comment this out
	   //so.addVariable("stillImage", "tools/img/videoPlayer/still.jpg");
	     //playerbg is the background image behind the video area
		 //to have no bg, comment this out
	   so.addVariable("playerbg", "http://i.adultswim.com/adultswim/music/africanswim/tools/img/videoPlayer/videoPlayerBg4.png");
	   so.addVariable("offsetBgX", -5);
	   so.addVariable("offsetBgY", -27);
	   so.addVariable("bgWidth", 400);
	   so.addVariable("bgHeight", 362);
	   
	 
		 //the next six variables can be commented out if you want to use the default icons 
	    //controlsbg is the bg for the entire main control area
	  so.addVariable("controlsbg", "http://i.adultswim.com/adultswim/music/africanswim/tools/img/videoPlayer/videoControlsBg2.png");
	    //set this to true if you want to see the play/pause button
	  so.addVariable("playPause", "true");
	    //playImage is the image for the play button
	  so.addVariable("playImage", "http://i.adultswim.com/adultswim/music/africanswim/tools/img/videoPlayer/videoPlayBtn2.png");
	    //pauseImage is the image for the pause button
	  so.addVariable("pauseImage", "http://i.adultswim.com/adultswim/music/africanswim/tools/img/videoPlayer/videoPauseBtn2.png");
	  
	  so.addVariable("playImageRO", "http://i.adultswim.com/adultswim/music/africanswim/tools/img/videoPlayer/videoPlayBtn2.png");
	  so.addVariable("pauseImageRO", "http://i.adultswim.com/adultswim/music/africanswim/tools/img/videoPlayer/videoPauseBtn2.png");
	    //playX is for the X coord of the play/pause area in pixels
	  so.addVariable("playX", 10);
	  
	    //set this to true if you want to see the scrubber track
	  so.addVariable("track", "true");
		//thumbImage is the image for the scrubber thumb
	 	//if you use one of the next 3, you  have to use them all
	  so.addVariable("thumbImage", "http://i.adultswim.com/adultswim/music/africanswim/tools/img/videoPlayer/videoTrackThumb.png");
	    //loadedTrackImage is the image for the loaded scrub bar
	  so.addVariable("loadedTrackImage", "http://i.adultswim.com/adultswim/music/africanswim/tools/img/videoPlayer/videoTimelineLoaded.png");
	    //trackImage is the image for the unloaded scrub bar
	  so.addVariable("trackImage", "http://i.adultswim.com/adultswim/music/africanswim/tools/img/videoPlayer/videoTimeline.png"); 
	    //trackX is for the X coord of the track in pixels
	  so.addVariable("trackX", 27);
	   
	     //the following 6 are required parameters
	 	//set elapsed and/or to true if you want the elapsed time and false if not
	  so.addVariable("elapsed", "true");
	  so.addVariable("duration", "false");
	    //timeFont is for the font face of the time displays
	  so.addVariable("timeFont", "Arial Bold");
	    //timeSize is for the size of the time displays font
	  so.addVariable("timeSize", 12);
	    //elapsedX is the X coord for the elapsed time
	  so.addVariable("elapsedX", 305);
	    //durationX is the X coord for the duration time
	  so.addVariable("durationX", 275);
	  
	    //set the start volume of the video
		//from 0 to 100  (you can set higher, but the volume becomes distorted)
	  so.addVariable("startVolume", 60);
	    //if you add a volumeImage, you have to add them all or comment them all out
	    //set volumeIcon to true/false to turn it on or off
	  so.addVariable("volumeIcon", "true");
	 	//volumeImage is the image for the speaker icon
	  so.addVariable("volumeImage", "http://i.adultswim.com/adultswim/music/africanswim/tools/img/videoPlayer/videoVolumeIcon2.png");
	    //volumeIconX is for the X coord of the volume Icon in pixels
	  so.addVariable("volumeIconX", 397);
	    //soundWavesImage is the image for the waves coming out of the speaker
	  //so.addVariable("soundWavesImage", "tools/img/videoPlayer/soundwavesimagetest.png");
	    //muteImage is the image for the mute icon
	    //if one of these next 3 is commented out, all them have to be
	  so.addVariable("muteImage", "http://i.adultswim.com/adultswim/music/africanswim/tools/img/videoPlayer/videoMute2.png");
	    //volumeThumbImage is the image for the thumb on the scrubber bar
	  so.addVariable("volumeThumbImage", "http://i.adultswim.com/adultswim/music/africanswim/tools/img/videoPlayer/videoTrackThumb.png");
	    //set volumeTrack to true/false to turn it on or off
	  so.addVariable("volumeTrack", "true");
	    //volumeTrackImage is the image for the scrubber bar
	  so.addVariable("volumeTrackImage", "http://i.adultswim.com/adultswim/music/africanswim/tools/img/videoPlayer/videoVolumeTrack.png");
	    //volumeTrackX is for the X coord of the volume track in pixels
	  so.addVariable("volumeTrackX", 345);
	    //if innerControls is turned on, these must not be commented out
	    //innerPause if the image for the pause icon on the inner controls
	  so.addVariable("innerPauseImage", "http://i.adultswim.com/adultswim/music/africanswim/tools/img/videoPlayer/innerpausetest.png");
	    //innerPlay is the image for the play icon on the inner controls
	  so.addVariable("innerPlayImage", "http://i.adultswim.com/adultswim/music/africanswim/tools/img/videoPlayer/innerplaytest.png");
	   
	     //if playlistControls is turned on, these control the images being on that controls
		 //use left center or right
	   so.addVariable("playlistAlign", "left");
		 //for playlistCtrlsBg, put in a transparent gif/png with the appropriate height & width if you don't want a bg to show up
	   so.addVariable("playlistCtrlsBg", "tools/img/videoPlayer/plctrlsbg.png");
	     //comment out the next 4 variables if you don't want a next/previous control area
	   so.addVariable("playlistCtrlsPrev", "tools/img/videoPlayer/plctrlsprev.png");
	   so.addVariable("playlistCtrlsPrevRO", "tools/img/videoPlayer/plctrlsprevro.png");
	   so.addVariable("playlistCtrlsNext", "tools/img/videoPlayer/plctrlsnext.png");
	   so.addVariable("playlistCtrlsNextRO", "tools/img/videoPlayer/plctrlsnextro.png");
	     //these 3 must not be commented out
	   so.addVariable("playlistSelected", "tools/img/videoPlayer/plctrlsselected.jpg");
	   so.addVariable("playlistUnselectedRO", "tools/img/videoPlayer/plctrlsunselectedRO.jpg");
	   so.addVariable("playlistUnselected", "tools/img/videoPlayer/plctrlsunselected.jpg");
	   
	     //if you want to select a set color for all of the text description on playlist,
		 //use this to override the xml sheet.  Use this for if you have different stylesheets for the same page
		 //comment out to not use it
	   //so.addVariable("descColorOverride", descColor);
	   
		//if controls is turned on and no images are set above these must not be commented out
	    //these control the color of the default icons on the control areas
		//for videoBorderColor - must use 0x000001 for a black videoBorderColor 
	   so.addVariable("videoBorderColor", 0xffffff);
	   so.addVariable("elapsedColor", 0x77280e);
	   so.addVariable("durationColor", 0x77280e);
	   so.write("flashcontent");
}
