﻿var oH = 1; var oHe;var oT,sT; var iSMO =0;var iMSO=0; var d= document; function gB(){var ua = navigator.userAgent; if(ua.indexOf('MSIE') != -1) return "IE"; else return "FireFox";} function gT(el){ var oN = el; var iT = 0; while(oN.tagName != 'BODY'){iT += oN.offsetTop; oN = oN.offsetParent;} return iT;} function gL(el){ var oN = el; var iL = 0; while(oN.tagName != 'BODY'){iL += oN.offsetLeft; oN = oN.offsetParent;} return iL;} function sSM(cl){ var sD = d.getElementById('smd'); var sTp = gT(cl) + 22; var sLt = gL(cl) - 15; sD.style.display = 'block'; sD.style.top = sTp + 'px'; sD.style.left = sLt + 'px'; iH(); } function iH(){ var sD = d.getElementById('smd'); sD.style.height = oH + 'px'; if(oH >= 121) { clearTimeout(oT); oH=121; iSMO=1; } else { oH = oH+8; oT = setTimeout('iH(' + oHe + ')',20);}} function hSM(){ if(iSMO == 1) setTimeout("dH()", 3000);} function dH(){ if(iMSO == 0) { var sD = d.getElementById('smd'); sD.style.height = oH + 'px'; if(oH <= 1){ clearTimeout(oT); sD.style.display = 'none'; oH=1; iSMO=0; } else { oH = oH-8; oT = setTimeout('dH()',20); }}} function sMV(val){ iMSO = val; hSM();} function am(vl){ clearInterval(sT); sT = setInterval("stl("+ vl +")", 20);} function stl(vl){ var mD = d.getElementById('hcd'); mD.scrollLeft = mD.scrollLeft + vl;} function cam(){ clearInterval(sT);} 
function sIH(){ var iD = d.getElementById('icd');if(iD.offsetHeight < 370) iD.style.height = '380px';}
