function createplayer() {
	var s = new SWFObject("swf/mediaplayer.swf","thePlayerId","170","100","7");
	s.addParam("allowfullscreen","false");
	s.addParam("wmode", "transparent"); //blocks fullscreen!
	s.addVariable("file", "playlist/playlist.xml");
	s.addVariable("width","170");
	s.addVariable("height","100");
	s.addVariable("displayheight","0");
	s.addVariable("shuffle", "false");
	s.addVariable("autostart", "false");
    s.addVariable("backcolor","0x000000");
    s.addVariable("frontcolor","0xeeeeee");
    s.addVariable("lightcolor","0x6699FF");		
    s.addVariable("screencolor","0x6699FF");		
	s.write("placeholder");
}
function  showlist(theHeight) { document.getElementById("wrapper").style.height=theHeight+"px"; }


window.addEvent('domready', function() {
//Get dimensions of element with id 'what'
var theHeight;
// Window dimensions:
if (window.innerHeight) {
theHeight=window.innerHeight-2;
}
else if (document.documentElement && document.documentElement.clientHeight) {
theHeight=document.documentElement.clientHeight;
}
else if (document.body) {
theHeight=document.body.clientHeight;
}
var intFrameHeight = theHeight; 
document.getElementById("iframe").style.height=intFrameHeight-270+"px";
document.getElementById("containerdiv").style.height=intFrameHeight+"px";
});	