It would probably benefit you to build it using GuiBlue (for profiles), then replace that with the appropriate Era profiles later (assuming you plan to use this on Era?)
If not, you need to use
PHP Code:
new GuiButtonCtrl("Window_Button") {
useownprofile = true;
profile.bitmap = "guiera_button.png";
}
and then all your other variables.