var isNetscape = (navigator.appName == "Netscape"); var isMacIE = ( (navigator.userAgent.indexOf("IE 4") > -1) && (navigator.userAgent.indexOf("Mac") > -1) ); var layerRef = (isNetscape) ? "document" : "document.all"; var styleRef = (isNetscape) ? "" : ".style"; var DHTML_Enabled = ( (document.layers || document.all) && !isMacIE ); var a=new Array(); function MenuCall(Content, Width, BackgrColor, MenuNumber){ if (DHTML_Enabled){ if (isNetscape){ document.write(""+Content+""); }else{ document.write(""); // eval(layerRef + '["'+MenuNumber+'"]'+ styleRef + '.width ='+Width); } } } function MAct(MenuNumber){ if (DHTML_Enabled){ if (isNetscape){ MenuIDPlace=MenuNumber+"Place" CoordX=document.anchors[MenuIDPlace].x+40; CoordY=document.anchors[MenuIDPlace].y-15; eval(layerRef + '["'+MenuNumber+'"]' + styleRef + '.top = '+CoordY); eval(layerRef + '["'+MenuNumber+'"]' + styleRef + '.left = '+CoordX); eval(layerRef + '["'+MenuNumber+'"]' + styleRef + '.visibility = "visible"'); }else{ // MenuIDPlace=MenuNumber+"Place" // CoordX=document.anchors[MenuNumber].x+40; // CoordY=document.anchors[MenuNumber].y-15; // eval('CoordY = '+layerRef + '["'+MenuNumber+'"]' + styleRef + '.top ;'); // eval(layerRef + '["'+MenuNumber+'"]' + styleRef + '.top = '+215); // eval(layerRef + '["'+MenuNumber+'"]' + styleRef + '.left = '+layerRef + '["'+MenuNumber+'"]' + styleRef + '.left + '+20); eval(layerRef + '["'+MenuNumber+'"]' + styleRef + '.visibility = "visible"'); } } } function MKill(MenuNumber){ if (DHTML_Enabled){ if ( (!isNetscape)&&(window.event.toElement.tagName== 'DIV') ){return;} eval(layerRef + '["'+MenuNumber+'"]' + styleRef + '.visibility = "hidden"'); } } // that's all function setPointer(theRow, thePointerColor) { if (typeof(theRow.style) == 'undefined' || typeof(theRow.cells) == 'undefined') { return false; } var row_cells_cnt = theRow.cells.length; for (var c = 0; c < row_cells_cnt; c++) { theRow.cells[c].bgColor = thePointerColor; } return true; } function draw_menu(raz){ if (isNetscape){ MenuContent=draw_raz(raz,"  » "," «
","· ","
"); }else{ MenuContent=draw_raz(raz,"  » "," «","· ",""); if (MenuContent!="") MenuContent=""+MenuContent+"
"; } document.write(""); if (MenuContent=="") return; MenuCall(MenuContent, 300, "#E7F3FF", raz); } function draw_menu1(raz){ if (isNetscape){ MenuContent=draw_raz(raz,"  » "," «
","· ","
"); document.write(""); }else{ MenuContent=draw_raz(raz,"  » "," «","· ",""); if (MenuContent!="") MenuContent=""+MenuContent+"
"; document.write(""); } if (MenuContent=="") return; MenuCall(MenuContent, 300, "#E7F3FF", raz); } function draw_select(raz){ document.write(''); } function redir (obj){ var sel = obj.options[obj.selectedIndex].value; if (sel != "") parent.document.location = sel; } function draw_raz(raz,n10,n11,n12,n20,n21,n22){ var out=""; if (n10==""){n10=""} if (raz=="about"){ out+=""+n10+"/about/"+n11+"О проекте"+n12+n20+"http://www.studyandwork.org/ru/?/about/contacts"+n21+"Контактная информация"+n22; } if (raz=="service"){ out+=""+n10+"/service/"+n11+"Наш сервис и цены"+n12; } if (raz=="education"){ out+=""+n10+"/education/"+n11+"Образование"+n12; } if (raz=="work"){ out+=""+n10+"/work/"+n11+"Трудоустройство"+n12+n20+"/work/vacancies.php"+n21+"Вакансии"+n22+n20+"/work/anketa2/"+n21+"Заполнить регистрационную форму"+n22+n20+"/work/sbs.php"+n21+"Новые возможности для трудоустройства"+n22+n20+"/work/construction.php"+n21+"Строительные специальности"+n22+n20+"/work/hotel_business.php"+n21+"Работа в гостинице"+n22+n20+"/work/catering.php"+n21+"Работа в пищевой сфере"+n22+n20+"/work/shop_cafe.php"+n21+"Работа в магазине, Кафе"+n22+n20+"/work/hospitality.php"+n21+"Работа в госпитале"+n22+n20+"/work/courier_driver.php"+n21+"Курьерская и водительская работа"+n22+n20+"/work/factory.php"+n21+"Работа на фабрике, складе"+n22; } if (raz=="accommodation"){ out+=""+n10+"/accommodation/"+n11+"Проживание"+n12; } if (raz=="immigration"){ out+=""+n10+"http://www.anglofil.com/rus/immigration/"+n11+"Иммиграция"+n12+n20+"http://www.anglofil.com/rus/immigration/innovators.shtml"+n21+"Cхема для Новаторов"+n22+n20+"http://www.anglofil.com/rus/immigration/business.shtml"+n21+"Предприниматель"+n22; } if (raz=="visa"){ out+=""; } if (raz=="partnership"){ out+=""+n10+"http://www.anglofil.com/rus/partnership/"+n11+"Сотрудничество"+n12+n20+"http://www.anglofil.com/rus/partnership/agency_form.php"+n21+"Форма для агентов"+n22+n20+"http://www.anglofil.com/info/partner/"+n21+"Партнерская программа"+n22+n20+"http://www.anglofil.com/info/partner/#reg"+n21+"Регистрация в ПП"+n22+n20+"http://www.anglofil.com/info/partner/rules.php"+n21+"Условия участия в ПП"+n22; } if (raz=="transport"){ out+=""+n10+"http://www.anglofil.com/rus/uk/transport.shtml"+n11+"Транспорт"+n12; } if (raz=="business"){ out+=""+n10+"/business/"+n11+"Бизнес"+n12; } if (raz=="legal"){ out+=""+n10+"/legal/"+n11+"Юридическая помощь"+n12; } return out; }