/* Corrects Browser Differences */
if (document.layers){
	var layerRef = "document.layers";
	styleSwitch  = "";
	var HIDDEN   = "hide";
	var VISIBLE  = "show";
} else if (document.all){
	var layerRef = "document.all";
	styleSwitch  = ".style";
	var HIDDEN   = "hidden";
	var VISIBLE  = "visible";
}

/* Shows an object  */
function showIt(object) {
	hideAll(object);
        eval(layerRef+'["'+object+'"]'+styleSwitch+'.visibility=VISIBLE');
}

/* Hides an object */
function hideIt(object) {
        eval(layerRef+'["'+object+'"]'+styleSwitch+'.visibility=HIDDEN');
}

function hideAll(object) {
	
    eval(layerRef+'.q_1'+styleSwitch+'.visibility=HIDDEN');
    eval(layerRef+'.q_2'+styleSwitch+'.visibility=HIDDEN');
    eval(layerRef+'.q_3'+styleSwitch+'.visibility=HIDDEN');
    eval(layerRef+'.q_4'+styleSwitch+'.visibility=HIDDEN');
    eval(layerRef+'.q_5'+styleSwitch+'.visibility=HIDDEN');
    eval(layerRef+'.q_6'+styleSwitch+'.visibility=HIDDEN');
    eval(layerRef+'.q_7'+styleSwitch+'.visibility=HIDDEN');
//    showIt(object);	
}

function hideItdelay(object,delay) {
	string = "hideIt('"+object+"');";
//	setTimeout("hideIt('econ_pass');",delay);
	setTimeout(string,delay);
}

