﻿var chk_url = new String(window.location);
var topnavigation = "";

topnavigation = "<div class='nav-top2'>"
topnavigation += "<table cellspacing='0' cellpadding='0' width='100%' border='0'>";
topnavigation += "<tbody>";
topnavigation += "<tr>";
topnavigation += "<td valign='middle' align='left'>";
topnavigation += "    <div id='menuContainer'>";
topnavigation += "    <div id='menuWrap'>";
topnavigation += "    <div id='menu'>";
topnavigation += "    <ul>";
topnavigation += "        <li id='tabId0'><a href='index.html'>الصفحة الرئيسية</a></li>";
if (chk_url.indexOf("/about_us") != -1) {
	topnavigation += "        <li id='tabId1' style='background-image:url(/global_html/images/menu_roll_bg.gif);background-position:no-repeat;background-position:top left'><a style='color:#091d56' href='about_us.html'>معلومات عنا</a>"; 
}
else {
	topnavigation += "        <li id='tabId1'><a href='about_us.html'>معلومات عنا</a>";
}
topnavigation += "        <ul>";
topnavigation += "        <li><a href='about_us.html'>عن دروس من أجل الحياة</a>";
topnavigation += "        <li><a href='about_us_how_it_works.html'>كيف نعمل؟</a></li>";
topnavigation += "        </ul>";
topnavigation += "        </li>";
if (chk_url.indexOf("products_") != -1) {
	topnavigation += "        <li id='tabId2' style='background-image:url(/global_html/images/menu_roll_bg.gif);background-position:no-repeat;background-position:top left'><a style='color:#091d56' href='products_the_complete_set.html'>المنتجات</a>";
}
else {
	topnavigation += "        <li id='tabId2'><a href='products_the_complete_set.html'>المنتجات</a>";
}
topnavigation += "        <ul>";
topnavigation += "          <li><a href='products_the_complete_set.html'>انجليزى: المجموعة الكاملة</a>";
topnavigation += "          <li><a href='products_english_course.html'>الدورة الإنجليزية</a>";
topnavigation += "          <li><a href='products_grammar_set.html'>قواعد النحو الإنجليزية التطبيقية</a>";
topnavigation += "          <li><a href='products_conversations.html'>المحادثات الإنجليزية التطبيقية</a>";
topnavigation += "          <li><a href='products_english_level1.html'>(المستوى 1(الاساسى+ المتوسط</a>";
topnavigation += "          <li><a href='products_english_level2.html'>(المستوى 2(المتقدم+ قواعد النحو</a>";
topnavigation += "          <li><a href='products_beginner_level.html'>المستوى الاساسى</a>";
topnavigation += "          <li><a href='products_intermediate_level.html'>المستوى المتوسط</a>";
topnavigation += "          <li><a href='products_advanced_level.html'>المستوى المتقدم</a>";
topnavigation += "          <li><a href='products_grammar_part1.html'>قواعد النحو الإنجليزية التطبيقية – الجزء 1</a>";
topnavigation += "          <li><a href='products_grammar_part2.html'>قواعد النحو الإنجليزية التطبيقية – الجزء 2</a>";
topnavigation += "          <li><a href='products_games.html'>العاب إنجليزية تفاعلية</a>";
topnavigation += "          <li><a href='products_video.html'>شاهدة الفيديو</a>";
topnavigation += "        </li>";
topnavigation += "        </ul>";
topnavigation += "        </li>";
if (chk_url.indexOf("/individuals.html") != -1) {
	topnavigation += "        <li id='tabId3' style='background-image:url(/global_html/images/menu_roll_bg.gif);background-position:no-repeat;background-position:top left'><a style='color:#091d56' href='individuals.html'>الأفراد</a></li>";
}
else {
	topnavigation += "        <li id='tabId3'><a href='individuals.html'>الافراد</a></li>";
}
if (chk_url.indexOf("/business.html") != -1) {
	topnavigation += "        <li id='tabId4' style='background-image:url(/global_html/images/menu_roll_bg.gif);background-position:no-repeat;background-position:top left'><a style='color:#091d56' href='business.html'>العمل</a></li>";
}
else {
	topnavigation += "        <li id='tabId4'><a href='business.html'>العمل</a></li>";
}
if (chk_url.indexOf("/education") != -1) {
	topnavigation += "        <li id='tabId5' style='background-image:url(/global_html/images/menu_roll_bg.gif);background-position:no-repeat;background-position:top left'><a style='color:#091d56' href='education.html'>التعليم</a>";	
}
else {
	topnavigation += "        <li id='tabId5'><a href='education.html'>التعليم</a>";
}
topnavigation += "        <ul>";
topnavigation += "        <li><a href='education.html'>التعليم</a>";
topnavigation += "        <li><a href='education_our_method.html'>منهجنا </a>";
topnavigation += "        <li><a href='education_esl.html'>الإنجليزية كلغة ثانية</a>";
topnavigation += "        <li><a href='education_language_schools.html'>مدارس لغات</a>";
topnavigation += "        <li><a href='education_highschools_lateprimary.html'>مدارس ثانوية & مدارس المرحلة الابتدائية المتأخرة</a>";
topnavigation += "        <li><a href='education_universities_and_colleges.html'>الجامعات & الكليات</a>";
topnavigation += "        <li><a href='education_homeschool.html'>المدرسة المنزلية</a>";
topnavigation += "        <li><a href='education_adult_learning.html'>تعليم الكبار</a></li>";
topnavigation += "        </ul>";
topnavigation += "        </li>";
if (chk_url.indexOf("/libraries") != -1) {
	topnavigation += "        <li id='tabId6' style='background-image:url(/global_html/images/menu_roll_bg.gif);background-position:no-repeat;background-position:top left'><a style='color:#091d56' href='libraries.html'>المكتبة</a></li>";
}
else {
	topnavigation += "        <li id='tabId6'><a href='libraries.html'>المكتبات</a></li>";
}
if (chk_url.indexOf("/distributors") != -1) {
	topnavigation += "        <li id='tabId7' style='background-image:url(/global_html/images/menu_roll_bg.gif);background-position:no-repeat;background-position:top left'><a style='color:#091d56' href='distributors.html'>الموزعون</a>";
}
else {
	topnavigation += "        <li id='tabId7'><a href='distributors.html'>الموزعون</a>";
}
topnavigation += "        <ul>";
topnavigation += "        <li><a href='distributors.html'>الموزعون</a>";
topnavigation += "        <li><a href='distributors_resellers.html'>البائعون</a>";
topnavigation += "        <li><a href='distributors_english_language_schools.html'>مدارس اللغات الإنجليزية</a>";
topnavigation += "        <li><a href='distributors_strategic_partners.html'>شركاء استراتيجيون</a></li>";
topnavigation += "        </ul>";
topnavigation += "        </li>";
if (chk_url.indexOf("/support") != -1 || chk_url.indexOf(".asp") != -1) {
	topnavigation += "        <li id='tabId8' style='background-image:url(/global_html/images/menu_roll_bg.gif);background-position:no-repeat;background-position:top left'><a style='color:#091d56' href='support_FAQ.html'>الدعم</a>";
}
else {
	topnavigation += "        <li id='tabId8'><a href='support_FAQ.html'>الدعم</a>";
}
topnavigation += "        <ul>";
topnavigation += "        <li><a href='register_ar.asp'>تسجيل المنتج</a>";
topnavigation += "        <li><a href='support_FAQ.html'>الاسئلة المتكررة</a></li>";
topnavigation += "       </ul>";
topnavigation += "        </li>";
if (chk_url.indexOf("/contactus.html") != -1) {
	topnavigation += "        <li id='tabId9' style='background-image:url(/global_html/images/menu_roll_bg.gif);background-position:no-repeat;background-position:top left'><a style='color:#091d56' href='contactus.html'>اتصل بنا</a></li>";
}
else {
	topnavigation += "        <li id='tabId9'><a href='contactus.html'>اتصل بنا</a></li>";
}
topnavigation += "    </ul>";
topnavigation += "    </div></div></div>";
topnavigation += "</td>";
topnavigation += "</tr>";
topnavigation += "</tbody>";
topnavigation += "</table></div>";
topnavigation += "</div>";


if (document.getElementById) {
    document.getElementById("top_navigation").innerHTML = topnavigation;
}