function changePlayerSize(el, close_but){
	var size = window.document.getSize();
	var aspectRatio = 16/9;
	var actualWidth = size.x ;
	var actualHeight = size.y - 20; //10 px of margin
	var youtubeVideoHeight = actualHeight - 35;
	var youtubeVideoWidth = youtubeVideoHeight * 16 / 9;
	youtubeVideoHeight += 35  
	
	var maxWidth = 903;
	if(youtubeVideoWidth > maxWidth){
		youtubeVideoWidth = maxWidth;
		youtubeVideoHeight = youtubeVideoWidth * 9 / 16 + 35;
	}
	var newHeight = parseInt(youtubeVideoHeight) ;
	var newWidth = parseInt(youtubeVideoWidth);
$(el).setStyles({
		width: newWidth,
		height: newHeight
});
$(close_but).setStyles({
				position: 'relative',
				float: 'right',
				margin: '-10px -10px 0px 0px'
});

}
