User:RexHandford/common.js

(function{	var myBody = document.getElementsByTagName('body')[0];	var myBodyWidth = myBody.style.width;

if (myBody.className.indexOf('mediawiki') !== -1) { if (!myBodyWidth || myBodyWidth === 'auto' || myBodyWidth === 'inherit') { myBody.style.width = '1400px'; myBody.style.marginLeft = 'auto'; myBody.style.marginRight = 'auto'; myBody.style.position = 'relative'; myBody.style.cssFloat = 'none'; } else { myBody.style.width = 'auto'; myBody.style.position = 'static'; }	} });