document.write('<table id="vista-buttons.com:idfnunt" width=0 cellpadding=0 cellspacing=0 border=0><tr><td style="padding-bottom:6px" title ="News"><a onmouseover=\'xpshow("fnunt",1,this);\' onmouseout=\'xpsmout(this);\'><img id="xpi_fnunt" src="'+vbImgPath+'btfnunt_0.gif" name="vbfnunt" width="238" height="25" border="0" alt="News"/></a></td></tr><tr><td style="padding-bottom:6px" title ="General information"><a onmouseover=\'xpshow("nnunt",1,this);\' onmouseout=\'xpsmout(this);\'><img id="xpi_nnunt" src="'+vbImgPath+'btnnunt_0.gif" name="vbnnunt" width="238" height="25" border="0" alt="General information"/></a></td></tr><tr><td style="padding-bottom:6px" title ="Faculties"><a onmouseover=\'xpshow("hnunt",1,this);\' onmouseout=\'xpsmout(this);\'><img id="xpi_hnunt" src="'+vbImgPath+'bthnunt_0.gif" name="vbhnunt" width="238" height="25" border="0" alt="Faculties"/></a></td></tr><tr><td style="padding-bottom:6px" title ="Chairs"><a onmouseover=\'xpshow("jnunt",1,this);\' onmouseout=\'xpsmout(this);\'><img id="xpi_jnunt" src="'+vbImgPath+'btjnunt_0.gif" name="vbjnunt" width="238" height="25" border="0" alt="Chairs"/></a></td></tr><tr><td style="padding-bottom:6px" title ="Subdivisions"><a onmouseover=\'xpshow("knunt",1,this);\' onmouseout=\'xpsmout(this);\'><img id="xpi_knunt" src="'+vbImgPath+'btknunt_0.gif" name="vbknunt" width="238" height="25" border="0" alt="Subdivisions"/></a></td></tr><tr><td style="padding-bottom:6px" title ="For school leavers, graduate"><a href="abitur-en.html" onmouseover=\'xpshow("gnunt",1,this);\' onmouseout=\'xpsmout(this);\'><img id="xpi_gnunt" src="'+vbImgPath+'btgnunt_0.gif" name="vbgnunt" width="238" height="25" border="0" alt="For school leavers, graduate"/></a></td></tr><tr><td style="padding-bottom:6px" title ="For Students"><a href="students-en.html" onmouseover=\'xpshow("ihunt",1,this);\' onmouseout=\'xpsmout(this);\'><img id="xpi_ihunt" src="'+vbImgPath+'btihunt_0.gif" name="vbihunt" width="238" height="25" border="0" alt="For Students"/></a></td></tr><tr><td style="padding-bottom:6px" title ="Educational department"><a onmouseover=\'xpshow("1hunt",1,this);\' onmouseout=\'xpsmout(this);\'><img id="xpi_1hunt" src="'+vbImgPath+'bt1hunt_0.gif" name="vb1hunt" width="238" height="25" border="0" alt="Educational department"/></a></td></tr><tr><td style="padding-bottom:6px" title ="Educational activities"><a href="obrazovat-deyat-en.html"><img id="xpi_chunt" src="'+vbImgPath+'btchunt_0.gif" name="vbchunt" width="238" height="25" border="0" alt="Educational activities"/></a></td></tr><tr><td style="padding-bottom:6px" title ="Magistracy and Postgraduate studies"><a href="magis-aspir-en.html" onmouseover=\'xpshow("dhunt",1,this);\' onmouseout=\'xpsmout(this);\'><img id="xpi_dhunt" src="'+vbImgPath+'btdhunt_0.gif" name="vbdhunt" width="238" height="25" border="0" alt="Magistracy and Postgraduate studies"/></a></td></tr><tr><td style="padding-bottom:6px" title ="Cultural - social live"><a onmouseover=\'xpshow("7hunt",1,this);\' onmouseout=\'xpsmout(this);\'><img id="xpi_7hunt" src="'+vbImgPath+'bt7hunt_0.gif" name="vb7hunt" width="238" height="25" border="0" alt="Cultural - social live"/></a></td></tr><tr><td style="padding-bottom:6px" title ="Sports live"><a onmouseover=\'xpshow("qhunt",1,this);\' onmouseout=\'xpsmout(this);\'><img id="xpi_qhunt" src="'+vbImgPath+'btqhunt_0.gif" name="vbqhunt" width="238" height="25" border="0" alt="Sports live"/></a></td></tr><tr><td style="padding-bottom:6px" title ="Science"><a onmouseover=\'xpshow("5hunt",1,this);\' onmouseout=\'xpsmout(this);\'><img id="xpi_5hunt" src="'+vbImgPath+'bt5hunt_0.gif" name="vb5hunt" width="238" height="25" border="0" alt="Science"/></a></td></tr><tr><td style="padding-bottom:6px" title ="References"><a onmouseover=\'xpshow("ahunt",1,this);\' onmouseout=\'xpsmout(this);\'><img id="xpi_ahunt" src="'+vbImgPath+'btahunt_0.gif" name="vbahunt" width="238" height="25" border="0" alt="References"/></a></td></tr><tr><td style="padding-bottom:6px" title ="Contacts"><a href="contacts-en.html"><img id="xpi_shunt" src="'+vbImgPath+'btshunt_0.gif" name="vbshunt" width="238" height="25" border="0" alt="Contacts"/></a></td></tr></table>');
document.write('<ul id="vbUL_fnunt" class="vbULfnunt" style="visibility:hidden;"><li><a href="all-news-en.html" title="General news">General&nbsp;news</a></li><li><a href="fakults-news-en.html" title="Faculties news">Faculties&nbsp;news</a></li></ul><ul id="vbUL_nnunt" class="vbULfnunt" style="visibility:hidden;"><li><a href="about-univer-en.html" title="About university">About&nbsp;university</a></li><li><a href="history-univer-en.html" title="About the history of University">About&nbsp;the&nbsp;history&nbsp;of&nbsp;University</a></li><li><a href="yazyk-univer-en.html" title="Development of state Language">Development&nbsp;of&nbsp;state&nbsp;Language</a></li><li><a href="dosmukhamedov-en.html" title="Khalel Dosmukhamedov">Khalel&nbsp;Dosmukhamedov</a></li><li><a href="rektor/index.htm" title="Rector">Rector</a></li><li><a href="sovetnik-en.html" title="Adviser of science">Adviser&nbsp;of&nbsp;science</a></li><li><a href="prorektor-en.html" title="Pro-rector">Pro-rector</a></li><li><a href="uchsovet-en.html" title="Academic council">Academic&nbsp;council</a></li><li><a href="struktura-en.html" title="Structure of University">Structure&nbsp;of&nbsp;University</a></li><li><a href="smk-en.html" title="The system of Managements and quality">The&nbsp;system&nbsp;of&nbsp;Managements&nbsp;and&nbsp;quality</a></li><li><a href="mtb-en.html" title="Material and technical basis">Material&nbsp;and&nbsp;technical&nbsp;basis</a></li><li><a href="ucheny-univ-en.html" title="Scientists of University">Scientists&nbsp;of&nbsp;University</a></li><li><a href="razvitie08-12-en.html" title="Program of the development on 2008-2012">Program&nbsp;of&nbsp;the&nbsp;development&nbsp;on&nbsp;2008-2012</a></li><li><a href="awards-univ-en.html" title="Awards university">Awards&nbsp;university</a></li><li><a href="inf-contact-en.html" title="Contacts information">Contacts&nbsp;information</a></li></ul><ul id="vbUL_hnunt" class="vbULfnunt" style="visibility:hidden;"><li><a href="fiz-mat-en.html" title="The faculty of physics, mathematics and information technology">The&nbsp;faculty&nbsp;of&nbsp;physics,&nbsp;mathematics&nbsp;and&nbsp;information&nbsp;technology</a></li><li><a href="gumanitar-fak-en.html" title="The faculty of humanitarian">The&nbsp;faculty&nbsp;of&nbsp;humanitarian</a></li><li><a href="estestvoznan-fak-en.html" title="The faculty of natural science">The&nbsp;faculty&nbsp;of&nbsp;natural&nbsp;science</a></li><li><a href="pedagog-fak-en.html" title="The faculty of pedagogic, psychology and art">The&nbsp;faculty&nbsp;of&nbsp;pedagogic,&nbsp;psychology&nbsp;and&nbsp;art</a></li><li><a href="ekonom-fak-en.html" title="The faculty of economic finances and management">The&nbsp;faculty&nbsp;of&nbsp;economic&nbsp;finances&nbsp;and&nbsp;management</a></li><li><a href="worldlang-fak-en.html" title="The faculty of world languages">The&nbsp;faculty&nbsp;of&nbsp;world&nbsp;languages</a></li><li><a href="lawyer-fak-en.html" title="The faculty of law">The&nbsp;faculty&nbsp;of&nbsp;law</a></li></ul><ul id="vbUL_jnunt" class="vbULfnunt" style="visibility:hidden;"><li><a href="pedagog-kaf-en.html" title="General and national pedagogic">General&nbsp;and&nbsp;national&nbsp;pedagogic</a></li><li><a href="inform-kaf-en.html" title="Informatics">Informatics</a></li><li><a href="gumanitar-kaf-en.html" title="Social - humanity subjects">Social&nbsp;-&nbsp;humanity&nbsp;subjects</a></li><li><a href="worldlang-kaf-en.html" title="Foreign language">Foreign&nbsp;language</a></li><li><a href="fizra-kaf-en.html" title="Physical training">Physical&nbsp;training</a></li></ul><ul id="vbUL_knunt" class="vbULfnunt" style="visibility:hidden;"><li><a href="admkadr-en.html" title="Administration recruiting management">Administration&nbsp;recruiting&nbsp;management</a></li><li><a href="vospitupr-en.html" title="Educational management">Educational&nbsp;management</a></li><li><a href="finekonupr-en.html" title="Financial - economic management">Financial&nbsp;-&nbsp;economic&nbsp;management</a></li><li><a href="cnit-en.html" title="Centre new information technology">Centre&nbsp;new&nbsp;information&nbsp;technology</a></li><li><a href="pressa-en.html" title="Press - service">Press&nbsp;-&nbsp;service</a></li><li><a href="biblio-en.html" title="Scientific library">Scientific&nbsp;library</a></li><li><a href="museum-en.html" title="Museum">Museum</a></li><li><a href="admkhozupr-en.html" title="Administrative and household management">Administrative&nbsp;and&nbsp;household&nbsp;management</a></li></ul><ul id="vbUL_gnunt" class="vbULfnunt" style="visibility:hidden;"><li><a href="priem-komis-en.html" title="Reception committee">Reception&nbsp;committee</a></li><li><a href="priem-pravila-en.html" title="The rules of Reception">The&nbsp;rules&nbsp;of&nbsp;Reception</a></li><li><a href="spec-abitur-en.html" title="Specialties">Specialties</a></li><li><a href="documents-abitur-en.html" title="Documents">Documents</a></li><li><a href="buklet-abitur-en.html" title="Informative booklet">Informative&nbsp;booklet</a></li></ul><ul id="vbUL_ihunt" class="vbULfnunt" style="visibility:hidden;"><li><a href="graphik-stud-en.html" title="Schedule of learning process">Schedule&nbsp;of&nbsp;learning&nbsp;process</a></li><li><a href="dogovor-stud-en.html" title="Model contract of teaching">Model&nbsp;contract&nbsp;of&nbsp;teaching</a></li><li><a href="infresurse-stud-en.html" title="Informational recourses">Informational&nbsp;recourses</a></li><li><a href="memorandum-en.html" title="Memos">Memos</a></li></ul><ul id="vbUL_1hunt" class="vbULfnunt" style="visibility:hidden;"><li><a href="uchebupr-en.html" title="Training department">Training&nbsp;department</a></li><li><a href="office-reg-en.html" title="Office - registration\'s department">Office&nbsp;-&nbsp;registration\'s&nbsp;department</a></li><li><a href="studotd-en.html" title="Student\'s department">Student\'s&nbsp;department</a></li><li><a href="testotdel-en.html" title="Testing department">Testing&nbsp;department</a></li></ul><ul id="vbUL_dhunt" class="vbULfnunt" style="visibility:hidden;"><li><a href="announcement-asp-en.html" title="Announcement">Announcement</a></li><li><a href="graphik-magistr-en.html" title="The shedule of training and examining process">The&nbsp;shedule&nbsp;of&nbsp;training&nbsp;and&nbsp;examining&nbsp;process</a></li></ul><ul id="vbUL_7hunt" class="vbULfnunt" style="visibility:hidden;"><li><a href="kultura-life-en.html" title="Cultural life">Cultural&nbsp;life</a></li><li><a href="sovet-kurator-en.html" title="Advice of curators">Advice&nbsp;of&nbsp;curators</a></li><li><a href="stud-profkom-en.html" title="Students Profkom">Students&nbsp;Profkom</a></li><li><a href="komitet-molodezhi-en.html" title="Trade committee">Trade&nbsp;committee</a></li><li><a href="stud-alyance-en.html" title="Student\'s alliance">Student\'s&nbsp;alliance</a></li></ul><ul id="vbUL_qhunt" class="vbULfnunt" style="visibility:hidden;"><li><a href="sportclub-en.html" title="Sports club">Sports&nbsp;club</a></li><li><a href="sport-dostizh-en.html" title="Sports achievements">Sports&nbsp;achievements</a></li></ul><ul id="vbUL_5hunt" class="vbULfnunt" style="visibility:hidden;"><li><a href="nauka-svyaz-en.html" title="Science and international connection">Science&nbsp;and&nbsp;international&nbsp;connection</a></li><li><a href="magisaspir-nauka-en.html" title="Magistracy and Postgraduate studies">Magistracy&nbsp;and&nbsp;Postgraduate&nbsp;studies</a></li><li><a href="konference-en.html" title="Conferences">Conferences</a></li><li><a href="infmail-en.html" title="Advertisements">Advertisements</a></li><li><a href="obyav-nauka-en.html" title="Informayion later">Informayion&nbsp;later</a></li></ul><ul id="vbUL_ahunt" class="vbULfnunt" style="visibility:hidden;"><li><a href="spisokagu-en.html" title="List of Web-sites of Atyrau State University named after Kh.Dosmukhamedov">List&nbsp;of&nbsp;Web-sites&nbsp;of&nbsp;Atyrau&nbsp;State&nbsp;University&nbsp;named&nbsp;after&nbsp;Kh.Dosmukhamedov</a></li><li><a href="partners-en.html" title="Partners">Partners</a></li><li><a href="sponsors-en.html" title="Sponsors">Sponsors</a></li><li><a href="kazportal-en.html" title="Kazakhstan\'s Web - portal\'s">Kazakhstan\'s&nbsp;Web&nbsp;-&nbsp;portal\'s</a></li></ul>');
vbfnuntn=xppr('fnunt_0.gif');vbnnuntn=xppr('nnunt_0.gif');vbhnuntn=xppr('hnunt_0.gif');vbjnuntn=xppr('jnunt_0.gif');vbknuntn=xppr('knunt_0.gif');vbgnuntn=xppr('gnunt_0.gif');vbihuntn=xppr('ihunt_0.gif');vb1huntn=xppr('1hunt_0.gif');vbchuntn=xppr('chunt_0.gif');vbdhuntn=xppr('dhunt_0.gif');vb7huntn=xppr('7hunt_0.gif');vbqhuntn=xppr('qhunt_0.gif');vbmhuntn=xppr('mhunt_0.gif');vb5huntn=xppr('5hunt_0.gif');vbahuntn=xppr('ahunt_0.gif');vbshuntn=xppr('shunt_0.gif');var arrowChar='&raquo;';var btIdPref='vb';function xppr(im){var i=new Image();i.src=vbImgPath+'bt'+im;return i;};function xpe(id){x=id.substring(0,id.length-1);if(document[btIdPref+x])document[btIdPref+x].src=eval(btIdPref+id+'.src');return false;};
var hideTimeout=300,menuContId='xpMenuCont',ulIdPref='vbUL_',imgIdPref='xpi_';function xpinit(){isDOM=document.getElementById;isOp=isO5=window.opera&&isDOM;isOp7=isOp&&document.readyState;isIE=document.all&&document.all.item&&!isOp;isNS4=document.layers;isMz=isDOM&&navigator.appName=="Netscape";document.write('<div id="'+menuContId+'" ></div>');var ULs=document.getElementsByTagName('UL');for(var i=0,cnt=ULs.length;i<cnt;i++)if(ULs[i].id&&(ULs[i].id.substring(0,ulIdPref.length)==ulIdPref)&&!((ULs[i].parentNode)&&(ULs[i].parentNode.parentNode)&&(ULs[i].parentNode.parentNode.id.substring(0,ulIdPref.length)==ulIdPref))){xpCreateMenu(ULs[i],0,0);};};xpinit();function xpObjectSize(o){var w=(isOp&&!isOp7)?o.style.pixelWidth:isNS4?o.clip.width:o.offsetWidth,h=(isOp&&!isOp7)?o.style.pixelHeight:isNS4?o.clip.height:o.offsetHeight;return{x:w,y:h};};function xpClientSize(){var x=0,y=0,w=0,h=0,doc=document,win=window,cond=(!doc.compatMode||doc.compatMode=='CSS1Compat')&&!win.opera&&doc.documentElement;if(cond&&doc.documentElement.clientHeight)h=doc.documentElement.clientHeight;else if(doc.body&&doc.body.clientHeight)h=doc.body.clientHeight;else if(xpDef(win.innerWidth,win.innerHeight,doc.width)){h=win.innerHeight;if(doc.width>win.innerWidth)h-=16;};if(cond&&doc.documentElement.clientWidth)w=doc.documentElement.clientWidth;else if(doc.body&&doc.body.clientWidth)w=doc.body.clientWidth;else if(xDef(win.innerWidth,win.innerHeight,doc.height)){w=win.innerWidth;if(doc.height>win.innerHeight)w-=16;};if(win.document.documentElement&&win.document.documentElement.scrollLeft)x=win.document.documentElement.scrollLeft;else if(win.document.body&&xpDef(win.document.body.scrollLeft))x=win.document.body.scrollLeft;if(win.document.documentElement&&win.document.documentElement.scrollTop)y=win.document.documentElement.scrollTop;else if(win.document.body&&xpDef(win.document.body.scrollTop))y=win.document.body.scrollTop;return{x:x,y:y,w:w,h:h};};function xpDef(){for(var i=0;i<arguments.length;++i){if(typeof(arguments[i])=='undefined')return false;};return true;};function xppos(obj){var l=0,t=0;while(obj){l+=obj.offsetLeft;t+=obj.offsetTop;obj=obj.offsetParent;};if(document.body)with(document){if(body.leftMargin)l-=body.leftMargin;if(body.topMargin)t-=body.topMargin};return{x:l,y:t};};function xpCreateMenu(ulParent,iParent,level){var menuCont=document.getElementById(menuContId),oMenu=document.createElement('div');menuCont.appendChild(oMenu);var oTable=document.createElement('table');oMenu.appendChild(oTable);oMenu.id=ulParent.id+'tbl';oMenu.className=ulParent.className;oMenu.style.position='absolute';oMenu.iParent=iParent;oMenu.level=level;oMenu.style.zIndex=9+oMenu.level;oTable.cellSpacing=0;oMenu.onmouseover=function(){xpsmover(this)};oMenu.onmouseout=function(){xpsmout(this)};oMenu.ClearMenuMark=function(){for(var j=0;j<this.childNodes[0].rows.length;j++){p=this.childNodes[0].rows[j];if(p.tagName=='TR'){p.className=p.className.replace('over','');if(p.className.indexOf('popup')<0)p.clrOverImg();};};};oMenu.smShown=0;for(var i=0,cntLI=ulParent.childNodes.length;i<cntLI;i++){var oLI=ulParent.childNodes[i];if(oLI.tagName=='LI'){var oItem=oTable.insertRow(-1);oItem.menu=oMenu;oItem.setPopup=function(){this.className+=' popup';};oItem.clrPopup=function(){this.className=this.className.replace('popup','');if(this.className.indexOf('over')<0)this.clrOverImg();};oItem.clrOverImg=function(){if(this.Img)this.Img.style.display='inline';if(this.ImgOver)this.ImgOver.style.display='none';if(this.ImgArrow)this.ImgArrow.style.display='inline';if(this.ImgArrowOver)this.ImgArrowOver.style.display='none'};oItem.className=oLI.className;var InnerAnchor=0;oItem.Img=null;oItem.ImgOver=null;var InnerUl=0;oItem.ImgArrow=null;oItem.ImgArrowOver=null;for(var j=0;j<oLI.childNodes.length;j++)if(oLI.childNodes[j].tagName=='A')InnerAnchor=oLI.childNodes[j];else if(oLI.childNodes[j].tagName=='IMG'){if(!InnerAnchor){if(!oItem.Img)oItem.Img=oLI.childNodes[j];else oItem.ImgOver=oLI.childNodes[j]}else{if(!oItem.ImgArrow)oItem.ImgArrow=oLI.childNodes[j];else oItem.ImgArrowOver=oLI.childNodes[j]};}else if(oLI.childNodes[j].tagName=='UL')InnerUl=oLI.childNodes[j];if(InnerAnchor||InnerUl||oItem.ImgArrow){var oTDIMG=oItem.insertCell(-1),oTDLabel=oItem.insertCell(-1),oTDArrow=oItem.insertCell(-1);oTDIMG.style.borderRightWidth='0px';oTDLabel.style.borderRightWidth='0px';oTDLabel.style.borderLeftWidth='0px';oTDArrow.style.borderLeftWidth='0px';oTDIMG.style.paddingRight='4px';oTDLabel.style.paddingRight='4px';oTDLabel.style.paddingLeft='4px';oTDArrow.style.paddingLeft='4px';if(oItem.Img)oTDIMG.appendChild(oItem.Img);else oTDIMG.innerHTML='&nbsp;';if(oItem.ImgOver){oItem.ImgOver.style.display='none';oTDIMG.appendChild(oItem.ImgOver);};if(InnerAnchor){oTDLabel.appendChild(InnerAnchor);oItem.ItemLink=InnerAnchor;InnerAnchor.onclick=function(){return false;};oItem.onclick=function(){open(this.ItemLink.href,(this.ItemLink.target?this.ItemLink.target:"_self"));return true;};}else oTDLabel.innerHTML='&nbsp;';oItem.onmouseover=function(){this.menu.ClearMenuMark();this.className+=' over';if(this.ImgOver){this.Img.style.display='none';this.ImgOver.style.display='inline'};if(this.ImgArrowOver){this.ImgArrow.style.display='none';this.ImgArrowOver.style.display='inline'};if(this.smPopupId)xpshowmenu(this.smPopupId,1,this);else if(this.menu.smShown)xpStartTimeOut(this.menu.smShown);};oItem.onmouseout=function(){this.menu.ClearMenuMark();};if(InnerUl){oTDArrow.className='arrow';if(oItem.ImgArrow){oTDArrow.appendChild(oItem.ImgArrow);if(oItem.ImgArrowOver){oItem.ImgArrowOver.style.display='none';oTDArrow.appendChild(oItem.ImgArrowOver)}}else{if(typeof(arrowChar)!='undefined'&&arrowChar){oTDArrow.appendChild(document.createElement('a'));oTDArrow.lastChild.innerHTML=arrowChar;}else oTDArrow.innerHTML='&nbsp;';};oItem.smPopupId=xpCreateMenu(InnerUl,oItem,level+1);}else oTDArrow.innerHTML='&nbsp;';}else{var oTD=oItem.insertCell(-1);oTD.colSpan=3;oTD.innerHTML='<div></div>';};};};return oMenu.id;};function xpshow(ind,isVertical,iParent){xpshowmenu(ulIdPref+ind+'tbl',isVertical,iParent);};function xpshowmenu(menuID,isVertical,iParent){var menu=document.getElementById(menuID);if(!menu)return;if(menu.style.visibility=='visible'){xpStopTimeOut(menu);return;};if(iParent&&iParent.menu&&iParent.menu.smShown)xphide(iParent.menu.smShown.id);if(!menu.level&&(ShownMenu!=menu))xphide(ShownMenu.id);if(!menu.level)xobtn=menuID.replace(ulIdPref,'').replace('tbl','');var parentObj;if(iParent.tagName=='A'){parentObj=iParent.parentNode;}else parentObj=iParent;var pos=xppos(parentObj),size=xpObjectSize(parentObj);menu.goMenuX=1;menu.goMenuDx=1;if(menu.level>0){menu.goMenuX=menu.iParent.menu.goMenuX;menu.goMenuDx=menu.iParent.menu.goMenuDx;};menu.style.overflow='visible';menu.style.height='auto';menu.style.width='auto';menu.style.left='0px';menu.style.top='0px';var parentAbs=xppos(menu),WinSize=xpClientSize(),menuSize=xpObjectSize(menu),CalcedPos=xp_CalcMenuPos(WinSize.y,WinSize.h,pos.y,size.y,menuSize.y,menu.goMenuDx,isVertical);menu.goMenuDx=CalcedPos.align;if(isOp&&!menu.OrigWidth)menu.OrigWidth=menu.clientWidth;if(CalcedPos.size<menuSize.y){menu.style.overflow='auto';if(isIE)menu.style.overflowX='visible';if(isIE)menu.style.width=menu.offsetWidth+17+'px';else if(isMz)menu.style.magrinRight=20;menu.style.height=CalcedPos.size+'px';menu.scrollTop=0;menu.scrollLeft=0;if(isOp)menu.style.width=menu.OrigWidth+'px';}else{};menu.style.top=CalcedPos.xy-parentAbs.y+'px';menuSize=xpObjectSize(menu);CalcedPos=xp_CalcMenuPos(WinSize.x,WinSize.w,pos.x,size.x,menuSize.x,menu.goMenuX,!isVertical);menu.goMenuX=CalcedPos.align;if(CalcedPos.size<menuSize.x)if(menu.goMenuX>0)CalcedPos.xy-=(menuSize.x-CalcedPos.size);menu.style.left=CalcedPos.xy-parentAbs.x+'px';menu.style.visibility='visible';if(!menu.level)ShownMenu=menu;else{iParent.menu.smShown=menu;iParent.setPopup();};};function xp_CalcMenuPos(screenXY,screenSize,parentXY,parentSize,size,align,oHoriz){var xy=parentXY,newSize=size,newAlign=align,space=5;if((align==0)&&(!oHoriz))align=1;if(!oHoriz){if(((newAlign>=0)&&(parentXY+parentSize+size>screenSize+screenXY-space))||((newAlign<0)&&(parentXY-size<space))){if(parentXY-screenXY>screenSize+screenXY-(parentXY+parentSize))newAlign=-1;else newAlign=1;};if(newAlign>=0){xy=parentXY+parentSize;if(screenSize+screenXY-space-xy<newSize)newSize=screenSize+screenXY-space-xy;}else{xy=parentXY-newSize;if(xy-screenXY<space){xy=space+screenXY;newSize=parentXY-space-screenXY;};};}else{if(newSize>screenSize-2*space){xy=space+screenXY;newSize=screenSize-2*space;}else{xy=parentXY+parentSize/2-newSize/2+newAlign*(newSize/2-parentSize/2);if(xy<space+screenXY){newAlign=1;xy=space+screenXY;};if(xy+size>screenSize+screenXY-space){newAlign=-1;xy-=xy+newSize-(screenSize+screenXY-space);};};};return{xy:xy,size:newSize,align:newAlign};};function xphide(menuId){var menu=document.getElementById(menuId);if(!menu)return;if(menu.style.visibility=='visible'){if(menu.smShown)xphide(menu.smShown.id);menu.ClearMenuMark();menu.style.visibility='hidden';if(menu.level==0){xpe(xobtn+'n');};menu.smShown=0;if(menu.iParent)menu.iParent.clrPopup();if(menu.hideTimer){clearTimeout(menu.hideTimer);menu.hideTimer=null;};};};function xpsmout(sender){if(!sender)return;xpStartTimeOut(ShownMenu)};function xpsmover(menu){if(!menu)return;xpStopTimeOut(menu);};function xpStopTimeOut(menu){for(var o=menu;o;o=o.iParent?o.iParent.menu:0)if(o.hideTimer)o.hideTimer=clearTimeout(o.hideTimer);};function xpStartTimeOut(menu){for(var o=menu;o;o=o.smShown){var code='xphide("'+o.id+'");';if(!o.hideTimer&&o.id)o.hideTimer=setTimeout(code,hideTimeout);};};var ShownMenu=0,xobtn=null;

