
//---------------------------------------------------------- раскрытие пунктов в услугах
function toggleListOne(eTarget){
if (eTarget.style.display=="block"){
eTarget.style.display="none";}
else{
eTarget.style.display="block";}
}
//------------------------------------------------------- раскрытие пунктов в услуга окончание

//---------------------------------------------------------- раскрытие пунктов подробном описании салона
function toggleListTwo(eTarget){
if (eTarget.style.display=="inline"){
eTarget.style.display="none";}
else{
eTarget.style.display="inline";}
}
//------------------------------------------------------- раскрытие пунктов в подробном описании салона

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}


function MM_reset(jale) {
//1 - сокрытие кнопки
if (!document.all){
  objName1=jalert;
		theProp='visibility';
		theValue='hide';
		var obj = MM_findObj(objName1);
  if (obj && (theProp.indexOf("style.")==-1 || obj.style)){
    if (theValue == true || theValue == false)
      {eval("obj."+'visibility'+"="+'hide');}
    else {eval("obj."+'visibility'+"='"+'hide'+"'");}
                                                          }

}
  objName1='jalert';
		var obj = MM_findObj(objName1);
		eval("obj."+'style.'+'display'+"='"+"none"+"'");
//1 - сокрытие кнопки - END
}

function MMM_reset(jale) {
//1 - сокрытие кнопки
if (!document.all){
  objName2=jalert1;
		theProp='visibility';
		theValue='hide';
		var obj = MM_findObj(objName2);
  if (obj && (theProp.indexOf("style.")==-1 || obj.style)){
    if (theValue == true || theValue == false)
      {eval("obj."+'visibility'+"="+'hide');}
    else {eval("obj."+'visibility'+"='"+'hide'+"'");}
                                                          }

}
  objName2='jalert1';
		var obj = MM_findObj(objName2);
		eval("obj."+'style.'+'display'+"='"+"none"+"'");
//1 - сокрытие кнопки - END
}

function cl(link)
{
 img = new Image();
 img.src = 'http://www.liveinternet.ru/click?*' + link;
}
