function s(t)
{
	return ss(t.innerHTML);
}

function ss(t)
{
	window.status=t
	return true;
}

function sc()
{
	return ss('');
}

function b1(nr) {
	img=new Image();
    img.src = 'i/but'+nr+'.gif';
	document.images['but'+nr].src=img.src;
}

function b2(nr) {
	img=new Image();
    img.src = 'i/but'+nr+'b.gif';
	document.images['but'+nr].src=img.src;
}

function show(n) {
	if(document.getElementById("smenu_"+n).style.display='inline')
		document.getElementById("smenu_"+n).style.display='inline';
}

cm_timer=null;

function hide(n) {
	if(cm_timer!=null)
		clearTimeout(cm_timer);
	cm_timer=setTimeout('document.getElementById("smenu_'+n+'").style.display=\'none\';',1000);
}

function blockhide(n) {
	if(cm_timer!=null)
		clearTimeout(cm_timer);
}


