
function switchClass(objId,newClass) {
	var obj = null; with (document) {
		if (getElementById)
		obj = getElementById(objId);
	}
	if (obj) { eval("obj.className='"+newClass+"'"); }
}
function MM_changeProp(objId,x,theProp,theValue) { //v9.0
  var obj = null; with (document){ if (getElementById)
  obj = getElementById(objId); }
  if (obj){
    if (theValue == true || theValue == false)
      eval("obj.style."+theProp+"="+theValue);
    else eval("obj.style."+theProp+"='"+theValue+"'");
  }
}
function MM_setTextOfLayer(objId,x,newText) { //v9.0
  with (document) if (getElementById && ((obj=getElementById(objId))!=null))
	with (obj) innerHTML = unescape(newText);
}

function quickAccessHlt(divId,txt) {
	switchClass('quick_access_arrow_1','quick_access_arrow_off');
	switchClass('quick_access_arrow_2','quick_access_arrow_off');
	switchClass('quick_access_arrow_3','quick_access_arrow_off');
	switchClass('quick_access_arrow_4','quick_access_arrow_off');
	switchClass('quick_access_arrow_5','quick_access_arrow_off');
	switchClass('quick_access_arrow_6','quick_access_arrow_off');
	switchClass(divId,'quick_access_arrow_on');
	MM_setTextOfLayer('quick_access_dynamic_text','',txt);
}
function quickAccessOff(divId) {
	switchClass(divId,'quick_access_arrow_off');
	switchClass('quick_access_arrow_1','quick_access_arrow_on');
	MM_setTextOfLayer('quick_access_dynamic_text','','article number one');
}
