
//----------------------------------------------------------    
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";}
var ol = document.getElementById(eTarget);
if (ol.style.display=="inline"){
ol.style.display="none";}
else{
ol.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;
}

function getBrowserInfo() {
 var t,v = undefined;
 if (window.opera) t = 'Opera';
 else if (document.all) {
  t = 'IE';
  var nv = navigator.appVersion;
  var s = nv.indexOf('MSIE')+5;
  v = nv.substring(s,s+1);
 }
 else if (navigator.appName) t = 'Netscape';
 return {type:t,version:v};
}
 
function bookmark(a){
 var url = window.document.location;
 var title = window.document.title;
 var b = getBrowserInfo();
 if (b.type == 'IE' && 7 > b.version && b.version >= 4) window.external.AddFavorite(url,title);
 else if (b.type == 'Opera') {
  a.href = url;
  a.rel = "sidebar";
  a.title = url+','+title;
  return true;
 }
 else if (b.type == "Netscape") window.sidebar.addPanel(title,url,"");
 else alert(" CTRL-D, ⮡  ࠭  .");
 return false;
}

function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

function hideShow(objhide) {$(objhide).slideToggle('normal');return false;}
