//<![CDATA[

function setTop (left, top) {
    this.left = left;
    this.top = top;
    this.elem.style.left = left;
    this.elem.style.top = top;
}
function setDisplay (dis) {
    this.display = dis;
    this.elem.style.display="dis";
}
function show () {
    if (this.elem)
	this.elem.style.display="block";
}
function hide () {
    if (this.elem)
	this.elem.style.display="none";
}

function init () {
    var cmd = '<div id="'+this.outer_div_id+'" style="position:absolute; width:'+this.width+'; height:'+this.height+';" >\n';
	cmd += '<div id="'+this.content_div_id+'">';

	cmd +='</div>\n</div>';
	document.writeln (cmd);
	this.elem = document.getElementById(this.outer_div_id);
	// alert (cmd);
}
function dropDown1 (image_list, display_time, left, top, width, height) {
    this.global_counter = 0;
    this.image_list = image_list;
    this.elem = null;
    this.left = 0;
    if (left)
	this.left = left;
    this.top = 0;
    if (top)
	this.top = top;
    this.width = 0;
    if (width)
	this.width = width;
    this.height = 0;
    if (height)
	this.height = height;
    this.display = "hidden";
    this.display_time = display_time;
    this.outer_div_id='drop_down_1_'+(this.global_counter++);
    this.content_div_id = this.outer_div_id+'_content';

    this.setTop = setTop;
    this.init = init;
    this.setDisplay = setDisplay;
    this.show = show;
    this.hide = hide;
}

// ]]>
