items = new Array('Main','Operational data','AARI news','Conferences','Historical data');links = new Array('info/_brief_eng.html#http://www.aari.ru/info/plist.html','http://www.aari.ru/resources/d0014/np37/default.asp?lang=0#http://www.aari.ru/odata/_d0015.php?lang=1&mod=0&yy=2009','_frame.html#_frame.html#_frame.html','http://www.aari.ru/news/conferences/20100421/info_letter_en.html#news/conferences/conf_210208e.html','gdsidb/data/arctic_ocean/ct_climate.asp#_frame.html#http://www.aari.ru/archive/tiksi/description_e.html');subitems = new Array('General information#Photo gallery (in russian)','North Pole drifting station 37#Review ice charts of the Arctic Ocean','News#Press-release#Meetings','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','Sea ice climate#Ice map archive#Archive of observations at Tiksi');var id = 0; 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('#'); function itemClick(obj){ //alert(defid+" "+obj.parentNode.id); obj.parentNode.className=classes[brId]+'sel'; ci=parseInt(obj.parentNode.id.substring(4,5)); s=''; id=parseInt(defid.substring(4,5)); 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]+' :: '+as[0]; else document.getElementById('head').innerText=items[ci]+' :: '+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; document.title=obj.innerText; } } id=obj.parentNode.id; obj.parentNode.className=classes[brId]+'sel'; document.getElementById(defsi).className=classes[brId]; defsi=id; }