﻿//****** Advanced DHTML Popup Pro Version 2.40.096.201.019,  Build: 130 ******

var df,rf=false,na=navigator.userAgent,dt=document,op=(na.indexOf('Opera')!=-1),dm=(dt.getElementById)?true:false,ie5x=(dt.all&&dm),mci=(na.indexOf('Mac')!=-1);df=((ie5x||op)&&mci);decide();function decide(){if(df){return;}else{rf=true;}}
if(rf){
function initADP(event){bdf=0;
// *** Begin advanced user scripting area ***
   htmlstring1="<iframe src='sxema.html' name='adpiframe' id='adpiframe1' width=100% height=100% align='center' Frameborder='0' Scrolling='no' marginheight='10' marginwidth='10'></iframe>"
  
   
  
   new adp("template01",htmlstring1,"Схема проезда");
  
   
   UpdatePosition("template01",350,250,0,event);
   
  
   UpdateSize("template01",350,512);
   
  
// *** End advanced user scripting area ***
}
function UpdateTitle(uid,tCol,tStr){
   var newTitleStr="<p align='left' style='height:20px;overflow:hidden; margin: 0px;padding: 2px;font:bold 9pt arial;top:1px;color:ffffff;'>&nbsp;"
   newTitleStr+=tStr;
   newTitleStr+="</p>";
   document.getElementById(uid + '_title').innerHTML=newTitleStr;
   document.getElementById(uid + '_title').style.backgroundColor=tCol;
}
function UpdateContentCol(uid,cCol){
   document.getElementById(uid + '_innercontent').style.backgroundColor=cCol;
   if(cCol=='transparent'){
      document.getElementById(uid + '_border').style.backgroundColor=cCol;
      document.getElementById(uid + '_shadow').style.backgroundColor=cCol;
   }
}
//This function only switches off at the mo:
function UpdateIsResize(uid){
   document.getElementById(uid + '_rsize').style.background = '';
   document.getElementById(uid + '_rsize').style.cursor='';
   document.getElementById(uid + '_rsize').onmousedown = function(){return false;};
}
function UpdatePadding(uid,cPad){
   document.getElementById(uid + '_innercontent').style.padding = '0px 12px 12px 0px';
}

if(window.attachEvent){window.attachEvent('onload', initADP);}else{if(typeof window.onload == 'function'){var preADP = window.onload;window.onload = function(){preADP();initADP();}}else{window.onload = initADP;}}
}
