define([], function() {


	return ["$compile", "RecursionHelper", function($compile, RecursionHelper) {

		return {

			scope: true,

			restrict: 'A',

			templateUrl: '/partials/content/Content.html',

			compile: function(element) {
	            return RecursionHelper.compile(element, function(scope, iElement, iAttrs, controller, transcludeFn){
	            	// Post-link actions go here.

	            	scope.doc = undefined;
	            	scope.$parent.$watch(iAttrs.doc, function(newDoc) {
	            		scope.doc = newDoc;
	            		
		            	if(scope.doc && scope.doc.layout=="right") {
		            		iElement.css("float", "right").width(300);
		            	}
	            	});

	            });
	        }
		};
	}];
});
@@ -661,16 +661,148 @@
 h(300);%0A
+%09%09            %09%7D else if(scope.doc && scope.doc.layout==%22righthalf%22) %7B%0A%09%09            %09%09iElement.css(%22float%22, %22right%22).width(%2250%25%22);%0A
 %09%09      

Add "righthalf" layout option.