function open_mini_window(url, name)	{
     var result, options="width=600,height=600,status=no,menubar=no,scrollbars=no,resizable=no";
     var address=url;

     result = window.open(address, name, options);
}

function show_hide_layers() {
    var i, visStr, args, theObj;
    args = show_hide_layers.arguments;
    for (i=0; i<(args.length-3); i+=4) { //with arg quads (objNS,objIE,objStd,visStr)
	visStr   = args[i+3];
	if ((navigator.appName == 'Netscape') && document.layers != null) {
	    theObj = eval(args[i]);
	    if (theObj) theObj.visibility = visStr;
	} else if (document.all != null) { //IE
	    if (visStr == 'show') visStr = 'visible';
	    if (visStr == 'hide') visStr = 'hidden';
	    theObj = eval(args[i+1]);
	    if (theObj) theObj.style.visibility = visStr;
	} else {
	    if (visStr == 'show') visStr = 'visible';
	    if (visStr == 'hide') visStr = 'hidden';
	    theObj = eval(args[i+2]);
	    if (theObj) theObj.style.visibility = visStr;
	}
    }
}

function dropdown_asso() {
    show_hide_layers('document.layers[\'asso\']',
		     'document.all[\'asso\']',
		     'document.getElementById(\'asso\')',
		     'show',
		     'document.layers[\'tdm\']',
		     'document.all[\'tdm\']',
		     'document.getElementById(\'tdm\')',
		     'hide',
		     'document.layers[\'sep\']',
		     'document.all[\'sep\']',
		     'document.getElementById(\'sep\')',
		     'hide');
}

function pullup_asso() {
    show_hide_layers('document.layers[\'asso\']',
		     'document.all[\'asso\']',
		     'document.getElementById(\'asso\')',
		     'hide');
}

function dropdown_tdm() {
    show_hide_layers('document.layers[\'asso\']',
		     'document.all[\'asso\']',
		     'document.getElementById(\'asso\')',
		     'hide',
		     'document.layers[\'tdm\']',
		     'document.all[\'tdm\']',
		     'document.getElementById(\'tdm\')',
		     'show',
		     'document.layers[\'sep\']',
		     'document.all[\'sep\']',
		     'document.getElementById(\'sep\')',
		     'hide');
}

function pullup_tdm() {
    show_hide_layers('document.layers[\'tdm\']',
		     'document.all[\'tdm\']',
		     'document.getElementById(\'tdm\')',
		     'hide');
}

function dropdown_sep() {
    show_hide_layers('document.layers[\'asso\']',
		     'document.all[\'asso\']',
		     'document.getElementById(\'asso\')',
		     'hide',
		     'document.layers[\'tdm\']',
		     'document.all[\'tdm\']',
		     'document.getElementById(\'tdm\')',
		     'hide',
		     'document.layers[\'sep\']',
		     'document.all[\'sep\']',
		     'document.getElementById(\'sep\')',
		     'show');
}

function pullup_sep() {
    show_hide_layers('document.layers[\'sep\']',
		     'document.all[\'sep\']',
		     'document.getElementById(\'sep\')',
		     'hide');
}

