if (!WEBHOST) { var WEBHOST = ""; } function navObjects() { navArr = new Array(); secondlevelArr0 = new Array(); var tmpURL = '/main/RU/ru/model/93_S/index.shtml'; if (tmpURL.indexOf("http://") == -1 && tmpURL.toLowerCase ().indexOf ("javascript:") == -1) { tmpURL = WEBHOST + tmpURL; } secondlevelArr0[0] = new navObj( "9-3 Sport Sedan", tmpURL, "1", "8", "null", "no", ""); var tmpURL = '/main/RU/ru/model/93_WAGON/index.shtml'; if (tmpURL.indexOf("http://") == -1 && tmpURL.toLowerCase ().indexOf ("javascript:") == -1) { tmpURL = WEBHOST + tmpURL; } secondlevelArr0[1] = new navObj( "9-3 Sport Combi", tmpURL, "1", "444", "null", "no", ""); var tmpURL = '/main/RU/ru/model/93_CONV/index.shtml'; if (tmpURL.indexOf("http://") == -1 && tmpURL.toLowerCase ().indexOf ("javascript:") == -1) { tmpURL = WEBHOST + tmpURL; } secondlevelArr0[2] = new navObj( "9-3 Convertible ", tmpURL, "1", "3", "null", "no", ""); var tmpURL = '/main/RU/ru/model/95/index.shtml'; if (tmpURL.indexOf("http://") == -1 && tmpURL.toLowerCase ().indexOf ("javascript:") == -1) { tmpURL = WEBHOST + tmpURL; } secondlevelArr0[3] = new navObj( "9-5 Sedan", tmpURL, "1", "4", "null", "no", ""); var tmpURL = '/main/RU/ru/model/95_WAGON/index.shtml'; if (tmpURL.indexOf("http://") == -1 && tmpURL.toLowerCase ().indexOf ("javascript:") == -1) { tmpURL = WEBHOST + tmpURL; } secondlevelArr0[4] = new navObj( "9-5 Sport Combi", tmpURL, "1", "5", "null", "no", ""); var tmpURL = '/main/RU/ru/dyc/step1.shtml'; if (tmpURL.indexOf("http://") == -1 && tmpURL.toLowerCase ().indexOf ("javascript:") == -1) { tmpURL = WEBHOST + tmpURL; } secondlevelArr0[5] = new navObj( "Собери свой Saab", tmpURL, "1", "7", "null", "no", ""); var tmpURL = 'javascript:void(null)'; //if (tmpURL.indexOf("http://") == -1) if (tmpURL.indexOf("http://") == -1 && tmpURL.toLowerCase ().indexOf ("javascript:") == -1) { tmpURL = WEBHOST + tmpURL; } navArr[0] = new navObj( "МОДЕЛЬНЫЙ РЯД", tmpURL, "1", null, secondlevelArr0); secondlevelArr1 = new Array(); var tmpURL = '/main/RU/ru/dealerlocator.xml?form=dealerlocatorStart'; if (tmpURL.indexOf("http://") == -1 && tmpURL.toLowerCase ().indexOf ("javascript:") == -1) { tmpURL = WEBHOST + tmpURL; } secondlevelArr1[0] = new navObj( "Дилеры Saab", tmpURL, "2", "1", "null", "no", ""); var tmpURL = '/main/RU/ru/business.shtml'; if (tmpURL.indexOf("http://") == -1 && tmpURL.toLowerCase ().indexOf ("javascript:") == -1) { tmpURL = WEBHOST + tmpURL; } secondlevelArr1[1] = new navObj( "Бизнес", tmpURL, "2", "2", "null", "no", ""); var tmpURL = 'javascript:void(null)'; //if (tmpURL.indexOf("http://") == -1) if (tmpURL.indexOf("http://") == -1 && tmpURL.toLowerCase ().indexOf ("javascript:") == -1) { tmpURL = WEBHOST + tmpURL; } navArr[1] = new navObj( "УСЛУГИ", tmpURL, "2", null, secondlevelArr1); secondlevelArr2 = new Array(); var tmpURL = '/main/RU/ru/history/index.shtml'; if (tmpURL.indexOf("http://") == -1 && tmpURL.toLowerCase ().indexOf ("javascript:") == -1) { tmpURL = WEBHOST + tmpURL; } secondlevelArr2[0] = new navObj( "История", tmpURL, "3", "2", "null", "no", ""); var tmpURL = '/main/RU/ru/recycling_oriented_design.shtml'; if (tmpURL.indexOf("http://") == -1 && tmpURL.toLowerCase ().indexOf ("javascript:") == -1) { tmpURL = WEBHOST + tmpURL; } secondlevelArr2[1] = new navObj( "Вторичная обработка", tmpURL, "3", "7", "null", "no", ""); var tmpURL = '/main/RU/ru/company.shtml'; if (tmpURL.indexOf("http://") == -1 && tmpURL.toLowerCase ().indexOf ("javascript:") == -1) { tmpURL = WEBHOST + tmpURL; } secondlevelArr2[2] = new navObj( "Информация о компании", tmpURL, "3", "6", "null", "no", ""); var tmpURL = 'javascript:void(null)'; //if (tmpURL.indexOf("http://") == -1) if (tmpURL.indexOf("http://") == -1 && tmpURL.toLowerCase ().indexOf ("javascript:") == -1) { tmpURL = WEBHOST + tmpURL; } navArr[2] = new navObj( "О КОМПАНИИ", tmpURL, "3", null, secondlevelArr2); secondlevelArr3 = new Array(); var tmpURL = '/main/RU/ru/news.shtml'; if (tmpURL.indexOf("http://") == -1 && tmpURL.toLowerCase ().indexOf ("javascript:") == -1) { tmpURL = WEBHOST + tmpURL; } secondlevelArr3[0] = new navObj( "Новости", tmpURL, "4", "1", "null", "no", ""); var tmpURL = '/main/RU/ru/pressreleases/1/index.shtml'; if (tmpURL.indexOf("http://") == -1 && tmpURL.toLowerCase ().indexOf ("javascript:") == -1) { tmpURL = WEBHOST + tmpURL; } secondlevelArr3[1] = new navObj( "Архив пресс-релизов", tmpURL, "4", "2", "null", "no", ""); var tmpURL = 'javascript:void(null)'; //if (tmpURL.indexOf("http://") == -1) if (tmpURL.indexOf("http://") == -1 && tmpURL.toLowerCase ().indexOf ("javascript:") == -1) { tmpURL = WEBHOST + tmpURL; } navArr[3] = new navObj( "НОВОСТИ", tmpURL, "4", null, secondlevelArr3); }