


// Copyright (c) NimbleCat, 2008

/*
* this object implements a panel with arbitrary content
* 
* */
// make sure that the required includes are there
 if (typeof NC == 'undefined') {
       alert("panel.js requires the NC JavaScript framework");
 }
 
 if (typeof NC.widget == 'undefined') {
       alert("panel.js requires the NC JavaScript framework");
 }
 
 /*
  * constructor
  */
  
  NC.widget.Panel = function( id) {
		var fnSuperClass = NC.widget.Panel.superclass.constructor;
		fnSuperClass.call( this, id);
  }
  
  NC.lang.extend(NC.widget.Panel, NC.widget.Element, 
  	{

	  	init: function() {
            NC.widget.Panel.superclass.init.call(this);
	  		return "init panel function";
	  	},


 		render:function() {
 			return "render";
 		}
	  	
  	});
