var WebGUI = { widgetBox : { parentNodeId : null, url : null, widget : function( url, parentId, width, height, templateId ) { if(url == "") { return ""; } if(width == undefined) { width = 600; } if(height == undefined) { height = 400; } this.url = url + "?func=widgetView&templateId=" + templateId; this.parentNodeId = parentId; this.markup = ""; this.markup += ""; return this.markup; } } }