if(document.all && !window.opera) {
    if (/MSIE (5\.5)|[6789]/.test(navigator.userAgent) && navigator.platform == "Win32") {
        document.write('<link rel="stylesheet" href="/htm/smooth_ie.css">')
    }
    } else if (document.getElementById) {
    	document.write('<link rel="stylesheet" href="/htm/smooth.css">');
    	document.write('<link rel="stylesheet" href="/htm/opff.css">'); 
}

dojo.require("dojo.lfx.*");
var timer = new Array();
var ev = new Array();
lastid = -1;

function myshow(id,click) {
	if(!((document.all)?document.all['menu'+id]:document.getElementById('menu'+id)))
		return;
	clearTimeout(timer[id]);
	if((id != lastid) && (lastid!=-1)) {
		var lastobj = (document.all)?document.all['menu'+lastid]:document.getElementById('menu'+lastid);
		lastobj.style.cssText = '';
		lastobj.style.className = 'explode';
	}
	if(click == 0) return;
	lastid = id;
	st = (document.all)?document.all['pmenu'+id]:document.getElementById('pmenu'+id);
	var obj = (document.all)?document.all['menu'+id]:document.getElementById('menu'+id);
	if(obj.style.display != 'block') {obj.style.display = 'block';}//dojo.lfx.explode(st, 'menu'+id, 380).call();}
}

function myhidden(id) {
	//if(!((document.all)?document.all['menu'+id]:document.getElementById('menu'+id)))
	//	return;
	timer[id] = setTimeout("myhidden_ass(" + id + ")", 500);
}

function myhidden_ass(id)
{
	var obj = (document.all)?document.all['menu'+id]:document.getElementById('menu'+id);
	//st = (document.all)?document.all['pmenu'+id]:document.getElementById('pmenu'+id);
	//dojo.lfx.implode('menu'+id, st, 80).play();
	obj.style.display = 'none';
}