// BANNER
<!--
bmQ='<div id="AAA" style="position:absolute; visibility:visible; left:0px; top:0px; width:1px; height:1px; z-index:1"><img src=http://c.bigmir.net/?s87864&t6'
bmD=document
bmD.cookie="b=b"
if(bmD.cookie)bmQ+='&c1'
//--></script><script language="javascript1.2"><!-- 
bmS=screen;bmQ+='&d'+(bmS.colorDepth?bmS.colorDepth:bmS.pixelDepth)+"&r"+bmS.width;
//--></script><script language="javascript"><!--
bmF = bmD.referrer.slice(7);
((bmI=bmF.indexOf('/'))!=-1)?(bmF=bmF.substring(0,bmI)):(bmI=bmF.length);
if(bmF!=window.location.href.substring(7,7+bmI))bmQ+='&f'+escape(bmD.referrer);
bmD.write(bmQ+" border=0 width=1 height=1></div>");
//-->

// BANNER

bV=parseInt(navigator.appVersion);

ns4 = (document.layers) ? true:false;
dom=(!document.layers && !document.all && bV>=4) ? true : false;
ie4 = (document.all)? true:false;
NN=document.layers?true:false;

function close_car(ids){
	//var ttt= "document.getElementById('"+ids+"')";
	//alert(ttt);
	//if('ttt.style.visibility="visible"'){alert('vis')}
	document.getElementById('l_crossfire').style.visibility = "hidden";
	document.getElementById('l_300m').style.visibility = "hidden";
	document.getElementById('l_sebring').style.visibility = "hidden";
	document.getElementById('l_ptcruiser').style.visibility = "hidden";
	document.getElementById('l_voyager').style.visibility = "hidden";
	document.getElementById('l_neon').style.visibility = "hidden";
}
function pause(nnn){
	//alert('Pause '+nnn);
	if(ns4){
		document.layers[nnn].visibility="hide";
	}
	if(ie4){
		document.getElementById(nnn).style.visibility = "hidden";
	}else{document.getElementById(nnn).style.visibility = "hidden";}	
}

function car(ids){
	
	//alert(navigator.appName);
	//alert(NN);
	//var need, on, off;
	ids = "l_"+ids;
	close_car(ids);
	//alert(ids);
	//if(navigator.appName == "Netscape"){
			
	//}
	if(ns4){
		document.layers[ids].visibility="show";
	}
	if(ie4){
		document.getElementById(ids).style.visibility = "visible";
	}else{document.getElementById(ids).style.visibility = "visible";}
	setTimeout('pause("'+ids+'")', 10000);
	//alert(need);
	//document.need.visibility = on;
}

function color_on(par, tr){
	if(document.getElementById(tr)){
		if(par==1){document.getElementById(tr).style.background= "#8aa3bb";}
		if(par==2){document.getElementById(tr).style.background= "#8aa3bb";}
	}
}
function color_off(par, tr){
	if(document.getElementById(tr)){
		if(par==1){document.getElementById(tr).style.background= "#3f6288";}
		if(par==2){document.getElementById(tr).style.background= "#dce3ea";}
	}
}

function showhide(n,MenuNum) 
{ 
    /* 
    5,submenu5.offsetHeight+28,7 
    n - id родителя 
    ot - текущее положение родителя offsetHeight+28 
    MenuNum - количество пунктов в меню 
    */ 

    var ot = document.getElementById('submenu'+n).scrollHeight; 
    ot += 28; 

    // ставим на место всех родителей 
    for(i=1;i<=MenuNum;i++) 
    { 
        var o = document.getElementById('menu' + i); 
        var px = 64 + 18*i - 18; 
        if(o) o.style.top=px + 'px'; 
    } 

    ALA=document.getElementById('submenu' + n); 
    if (ALA.style.visibility == "hidden") 
    { 
        var im=1; 
    } 
    else 
    { 
        var im=0; 
    } 

    // скрываем всех детей 
    for(i=0;i<MenuNum;i++) 
    { 
        var o = document.getElementById('submenu' + i); 
        if(o)    o.style.visibility = "hidden"; 
    } 

    // показываем детей и сдвигаем вниз предыдущие 
    if (im==1) 
    { 
        for(i=1+n;i<=MenuNum;i++) 
        { 
            var o = document.getElementById('menu' + i); 
            var px = ot + 18*i; 
            if(o) o.style.top = px + 'px'; 
        } 
        ALA.style.visibility="visible"; 
    } 
}



function sendToFlash(num){
switch (num){
case 1:window.logos.SetVariable('_root.flag', '1');
window.logos.SetVariable('_root.txt', '\nмаркетинговый консалтинг и исследования');
break;
case 2:window.logos.SetVariable('_root.flag', '2');
window.logos.SetVariable('_root.txt', 'всеукраинская сеть сбора первичных социологических и маркетинговых данных');
break;
case 3:window.logos.SetVariable('_root.flag', '3');
window.logos.SetVariable('_root.txt', '\nисследования печатных медиа');
break;
case 4:window.logos.SetVariable('_root.flag', '4');
window.logos.SetVariable('_root.txt', '\nevent marketing & sales promotion');
break;
case 5:window.logos.SetVariable('_root.flag', '5');
window.logos.SetVariable('_root.txt', '\nрейтинги украинских рекламных агентств');
break;
case 6:window.logos.SetVariable('_root.flag', '6');
window.logos.SetVariable('_root.txt', '\nкаталог-справочник по рекламному рынку');
break;
case 7:window.logos.SetVariable('_root.flag', '7');
window.logos.SetVariable('_root.txt', '\nIT-система управления исследованиями');
break;
case 8:window.logos.SetVariable('_root.flag', '8');
window.logos.SetVariable('_root.txt', '\nпрограмма поддержки отечественного искусства');
break;

}

}
function sendToFlash2(){
window.logos.SetVariable('_root.flag', '0');
window.logos.SetVariable('_root.txt', '');
}
