<!--
var vc,vb,vn,vf;
if(navigator.appName=="Netscape")
	if(parseFloat(navigator.vendorSub)==6.01)vn=true;
function scc(gi){
	vc="";
	setTimeout("cc(\""+gi+"\")",300)
}
function cc(gi){
	if(vc==gi||vc.indexOf(gi)!=-1)return;
	var ti=gtmi(gi);
	if(gtmi(vc)!=ti)gi=ti+"_1";
	var m=document.getElementById("menu");
	var ms=m.getElementsByTagName("div");
	for(i=ms.length-1;i>=0;i--)
		if(ms[i].id.indexOf(gi)!=-1&&ms[i].id.length>=gi.length)ms[i].style.visibility="hidden";
}
function so(p,oi){
	var o=document.getElementById(oi);
	if(o.style.visibility=="visible")return;
	var t=0,l=0,op,ti=gtmi(oi);
	if(p.id!=ti){
		t+=p.offsetTop;
		op=document.getElementById(gpsmi(oi));
		if(!vn)t+=op.offsetTop;
		if(p.previousSibling)t+=1;
		l+=op.offsetLeft+op.offsetWidth+1
	}else{
		op=document.getElementById(ti);
		t+=op.offsetHeight;
		do{
			t+=op.offsetTop;l+=op.offsetLeft;
		}while(op=op.offsetParent)
	}
	if(vn)t-=1;
	o.style.top=t+4;
	o.style.left=l-5;
	o.style.visibility="visible";
	sfx(oi,0)
}
function sfx(mi,p){
	p+=10;var m=document.getElementById(mi);
	m.style.clip="rect(0px,auto,"+p+"px,0px)";
	if(p>=500)return;
	setTimeout("sfx(\""+mi+"\","+p+")",10)
}
function gpsmi(mi){
	return(mi.indexOf("_")==-1)?"":mi.substring(0,mi.lastIndexOf("_"))
}
function gtmi(mi){
	var p=mi.indexOf("_");
	return(p==-1)?mi:mi.substring(0,p)
}
function h(m){
	vb=m.style.backgroundColor;
	vf=m.style.color;
	m.style.backgroundColor="#FF9900";
	m.style.color="#FFFFFF";
}
function d(m){
	m.style.backgroundColor=vb;
	m.style.color=vf;
}
function omo(t,mi){
	h(t);
	vc=mi;
	so(t,mi)
}
function omot(t,mi){
	d(t);
	scc(mi)
}

function flashWrite() {
document.getElementById("flash").innerHTML="<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0' width='230' height='80' id='main' align='middle'><PARAM NAME=wmode VALUE=transparent><param name='allowScriptAccess' value='sameDomain' /><param name='movie' value='swf/mss-service_2.swf' /><param name='quality' value='high' /><param name='bgcolor' value='#ffffff' /><embed src='swf/mss-service_2.swf' wmode=transparent quality='high' bgcolor='#ffffff' width='230' height='80' name='main' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' /></object>"
}



function showhide(item) {
	if (item.className == 'hide') {
		item.className = 'show';
	} else {
		item.className = 'hide';
	}
}

function bigImage(win_src, win_width, win_height, address, phone, work) {
	win_height = parseInt(win_height) + 160;
	var newWin = window.open('', 'bigImage','width='+win_width+', height='+win_height+', scrollbars=no, resizable=no, status=no, top=0');
	newWin.document.write('<img src="'+win_src+'"/>');
	newWin.document.write('<p><b>Адрес:</b> '+address+'<br/><b>Телефон:</b> '+phone+'<br/><b>График работы:</b> '+work+'</p>');
	newWin.document.write('<p id="print" style="text-align:center; cursor: pointer;" onclick="document.getElementById(\'print\').style.display=\'none\';javascript:print();false;">распечатать</p>');
	newWin.document.close();
	newWin.focus();
}


//-->
