 			uLayout.paddingRight = 10;
 			uLayout.paddingTop = 10;
 			this.layout = uLayout;
+			//this.height = 100; this.width = 200;
 			this.addEventListener(FlexEvent.CREATION_COMPLETE,onArgumentPanelCreate);
 			//this.addEventListener(MouseEvent.MOUSE_DOWN,beginDrag);
+			//this.astage = stage;
+			//this.stage.
+			
+			var bLayout:HorizontalLayout = new HorizontalLayout;
+			buttonArea = new Panel;
+			buttonArea.layout = bLayout;
+			reasonButton = new spark.components.Button;
+			argschemeButton = new spark.components.Button;
+			buttonArea.addElement(reasonButton);
+			buttonArea.addElement(argschemeButton);
+			
+			this.reasonButton.label="+reason";
+			this.reasonButton.addEventListener(MouseEvent.CLICK,addReasonHandler);
+			this.argschemeButton.label="+argScheme";
+			this.argschemeButton.addEventListener(MouseEvent.CLICK,addArgSchemeHandler);
+			
+			//stage.addElement(this);
+			
 		}
 		public function beginDrag( mouseEvent: MouseEvent ):void
 		{

				var	dinitiator:UIComponent = UIComponent(mouseEvent.currentTarget);
				//Alert.show(dinitiator.toString());
				var dPInitiator:ArgumentPanel = ArgumentPanel(dinitiator.parent.parent.parent.parent.parent);
				var ds:DragSource = new DragSource();
				var tmpx:int = int(dPInitiator.mouseX);
				var tmpy:int = int(dPInitiator.mouseY);

			panelSkin = this.skin as PanelSkin;
			panelSkin.topGroup.includeInLayout = false;
			panelSkin.topGroup.visible = false;
			
			panelSkin1 = this.buttonArea.skin as PanelSkin;
			panelSkin1.topGroup.includeInLayout = false;
			panelSkin1.topGroup.visible = false;
			
			
		}
		
	}
