function OrgDet(objA) {
h=540; w=780; y=self.screen.height; y=(y-h)/2; x=self.screen.width; x=(x-w)/2;
self.open(objA.href,"","height=" + h + "px; width=" + w + "px; top=" + y + "px; left=" + x + "px;  directories=0;location=0;menubar=0;resizable=0; scrollbars=0; status=0;")
return(false)
}
//Вызываюются из default.asp
 function DivOver() {
	var el=event.srcElement;
	if(el.tagName=="TABLE" || el.tagName=="TR") return;
	el=FndTD(el); 
	if(el){var idx=el.cellIndex} else {return};
	tblDivs.rows(0).cells(idx).firstChild.firstChild.style.filter="";
	tblDivs.rows(1).cells(idx).firstChild.firstChild.style.color="#50AA14";
	tblDivs.rows(2).cells(idx).style.filter="";
}
function DivOut() {
	var el=event.srcElement;
	if(el.tagName=="TABLE" || el.tagName=="TR") return;
	el=FndTD(el); 
	if(el){var idx=el.cellIndex} else {return};
	tblDivs.rows(0).cells(idx).firstChild.firstChild.style.filter="alpha(opacity=55)";
	tblDivs.rows(1).cells(idx).firstChild.firstChild.style.color="";
	tblDivs.rows(2).cells(idx).style.filter="alpha(opacity=35)";
}

function DivDescrClick() {
	var el=event.srcElement;	if(el.tagName=="TABLE" || el.tagName=="TR") return;
	el=FndTD(el); 
	if(el){var idx=el.cellIndex} else {return};
  tblDivs.rows(1).cells(idx).firstChild.firstChild.click();  
}
//Левые разделы
function LMnuOver() {
 var el=event.srcElement;
	if(el.tagName!="IMG") return;
	idx=el.id.substr(4); if(idx==curDiv) return;
	//alert(idx);
  tDivMnu.rows(idx*3-2).cells(0).firstChild.firstChild.style.color="#50AA14";	
}

function LMnuOut() {
 var el=event.srcElement;
	if(el.tagName!="IMG") return;
	idx=el.id.substr(4); if(idx==curDiv) return;
  tDivMnu.rows(idx*3-2).cells(0).firstChild.firstChild.style.color="";	//#ABCA9C
}
