// ==UserScript==
// @name          Youtube Video Resizer
// @namespace     http://userstyles.org
// @description	  Resizes the video player in Youtube to fill up more space, and shoves the sidebar underneath.  Thanks to Diddle for helping fix some bugs.
// @author        steppres
// @homepage      http://userstyles.org/styles/3180
// @include       http://www.youtube.com/watch*
// @include       http://au.youtube.com/watch*
// @run-at        document-start
// ==/UserScript==
(function() {
var css = "#watch-video-container{height: 746px !important} #watch-player {width: 960px !important; height: 746px !important} #watch-sidebar {margin-top: 6px !important}";
if (typeof GM_addStyle != "undefined") {
	GM_addStyle(css);
} else if (typeof PRO_addStyle != "undefined") {
	PRO_addStyle(css);
} else if (typeof addStyle != "undefined") {
	addStyle(css);
} else {
	var heads = document.getElementsByTagName("head");
	if (heads.length > 0) {
		var node = document.createElement("style");
		node.type = "text/css";
		node.appendChild(document.createTextNode(css));
		heads[0].appendChild(node); 
	}
}
})();

