items = new Array('Main','Conferences','Operational data','Historical data ','Archive of observations at Tiksi','Arktic and Antarktic Research');links = new Array('info/_brief_eng.html#https://www.aari.ru/info/plist.html','https://www.aari.ru/news/conferences/20110414-15/info_letter_en.html#https://www.aari.ru/news/conferences/20100421/info_letter_en.html#news/conferences/conf_210208e.html','https://www.aari.ru/odata/_d0015.php?lang=1&mod=0#http://wdc.aari.ru/datasets/d0004/#http://wdc.aari.ru/datasets/d0033/#http://www.geophys.aari.ru/','http://wdc.aari.ru/datasets/#resources/d0024/archive/description_e.html','/resources/d0024/archive/description_e.html','/misc/publicat/paa_en.php ');subitems = new Array('General information#Photo gallery (in russian)','Joint WMO-Roshydromet workshop on the International Polar Decade initiative#International Science Conference «Marine research in polar areas of the Earth in IPY 2007/08»#75 years since the start of studying and development of NSR','Arctic Ocean ice charts#Regional ice charts#GMC Caspian and Azov ice charts #Geophysical data','Ice map archive#Archive of observations at Tiksi','Archive of observations at Tiksi','Arktic and Antarktic Research');target = new Array('frm#frm','frm#frm#frm','frm#frm#frm#frm','frm#frm','frm','frm');var id = 2; var sub = 0; classes = new Array('ie','op','ff','mz'); //alert(navigator.userAgent); if (navigator.userAgent.indexOf("Firefox") >= 0) brId=2; else if(navigator.userAgent.indexOf("Opera") >= 0) brId=1; else if(navigator.userAgent.indexOf("MSIE") >= 0) brId=0; else brId=3; defid = 'item'+id.toString(); defsi = 'si'+sub.toString(); as=subitems[id].split('#'); al=links[id].split('#'); at=target[id].split('#'); function itemClick(obj){ //alert(defid+" "+obj.parentNode.id); obj.parentNode.className=classes[brId]+'sel'; ci=parseInt(obj.parentNode.id.substring(4,6)); s=''; id=parseInt(defid.substring(4,6)); document.getElementById(defid).innerHTML='0?links[id].substring(0,links[id].indexOf('#')):links[id])+' >'+items[id]+''; document.getElementById(defid).className=classes[brId]; defid='item'+ci.toString(); defsi = 'si0'; document.title=as[0]; if(brId>1) { document.getElementById('head').textContent=items[ci].replace(/<[^>]+>/g,'')+' :: '+as[0]; } else { document.getElementById('head').innerText=items[ci].replace(/<[^>]+>/g,'')+' :: '+as[0]; } } function siClick(obj){ if(defsi==obj.parentNode.id)return 0; with(document.getElementById('head')){ if(brId>1){ textContent=textContent.substring(0,textContent.indexOf(' :: ')+4)+obj.textContent; document.title=textContent; }else{ innerText=innerText.substring(0,innerText.indexOf(' :: ')+4)+obj.innerText.substring(0,10); document.title=obj.innerText; } } id=obj.parentNode.id; obj.parentNode.className=classes[brId]+'sel'; document.getElementById(defsi).className=classes[brId]; defsi=id; }