function RFDDadministration(in_name, in_heading, in_box, in_collection) {
	this.RFDropDown(in_name, in_heading, in_box, in_collection);
}
RFDDadministration.inherit(RFDropDown);
RFDDadministration.prototype.box_position = 4;
RFDDadministration.prototype.use_toggle = true;
RFDDadministration.prototype.use_drag = false;
RFDDadministration.prototype.use_hover = false;
RFDDadministration.prototype.pos_x = (navigator.appVersion.indexOf("MSIE")!= -1) ? 0 : 0;
RFDDadministration.prototype.pos_y = (navigator.appVersion.indexOf("MSIE")!= -1) ? 0 : 0;

RFDDadministration.prototype.toggle_closed_src = '/images/administration/plus.gif';
RFDDadministration.prototype.toggle_opened_src = '/images/administration/min.gif';

RFDDadministration.prototype._open = RFDropDown.prototype.open;
RFDDadministration.prototype.open = function() {
	this._open();
	images = this.heading.getElementsByTagName('IMG');
	if(images.length > 0) {
		for(i = 0; i < images.length; i++) {
			if(images.item(i).className == 'toggleImg') {
				images.item(i).src = this.toggle_opened_src;
			}
		}
	}
}
RFDDadministration.prototype._close = RFDropDown.prototype.close;
RFDDadministration.prototype.close = function() {
	this._close();
	images = this.heading.getElementsByTagName('IMG');
	if(images.length > 0) {
		for(i = 0; i < images.length; i++) {
			if(images.item(i).className == 'toggleImg') {
				images.item(i).src = this.toggle_closed_src;
			}
		}
	}
}

function RFDDadministrationPopup(in_name, in_heading, in_box, in_collection) {
	this.RFDropDown(in_name, in_heading, in_box, in_collection);
}
RFDDadministrationPopup.inherit(RFDDadministration);
RFDDadministrationPopup.prototype.use_layout_fix = false;

