var bBrowserOK; 
bBrowserOK = 0;
if(parseFloat(navigator.appVersion)>=4) 
    if(navigator.appName == 'Microsoft Internet Explorer') 
        bBrowserOK = 1;
    else bBrowserOK = 1;
        
document.write('<STYLE>');
document.write('a.KOKO {text-decoration:none; color:#000000; font-weight: 700; color:#666666; font-family: Verdana; font-size: 10px; font-style:normal;} ');
document.write('a.KOKO:hover {text-decoration:none; color:#666666; }');
document.write('a.TOTO {text-decoration:none; color:#000000; font-weight: 700; font-family: Verdana; color:#333333; font-size: 10px; font-style:normal;} ');
document.write('a.TOTO:hover {text-decoration:none; color:#666666; }');
document.write('table.SOSO { background-color: #e0e0e0 ; border:1 solid #808080; }');
document.write('td.NONO {padding-left:4; padding-right:4; border:0 solid #000000; }');
document.write('.ZOZO {color:#000000; font-weight: 700; font-family: Verdana; color:#333333; font-size: 10px; font-style:normal;}');
document.write('.FOFO {color:#000000; font-weight: 700; font-family: Verdana; color:#333333; font-size: 10px; font-style:normal;}');
document.write('</STYLE>');

function OpenMenu(MenuId){	MenuId.style.visibility = 'visible'; }
function CloseMenu(MenuId){	MenuId.style.visibility = 'hidden';}
function Ibrahim(TDId,AId){	if(AId) {AId.style.color = '666666' ; AId.style.fontSize='10px';} ;}
function Fahmy(TDId,AId){if(AId) AId.style.color = '#000000';}
function Moataz(TDId,AId){if(AId) AId.style.color = '#666666';}
function Samy(TDId,AId){if(AId) AId.style.color = '#000000';}

function Abdullah(MenuId){
    document.write('<span id=' + MenuId + ' STYLE="position:absolute; visibility:hidden; zorder:1; ">');
    document.write('&nbsp;<br>');
    document.write('<table class="SOSO" cellspacing=7 cellpadding=2 onMouseOut="CloseMenu(' + MenuId + ');" onMouseOver="OpenMenu(' + MenuId + ');">');}
 
function Ali(ItemID,ItemName,ItemURL,MenuID,ItemTitle,ItemTarget){
    document.write('<tr><td id="X' + ItemID + '" class="NONO" onMouseOver="Ibrahim(X' + ItemID + ',' + ItemID + ');" onMouseOut="Fahmy(X' + ItemID + ',' + ItemID + ');">');
    document.write('<span NOWRAP><a href="' + ItemURL + '" title="' + ItemTitle + '" class="TOTO" target="' + ItemTarget + '" id="' + ItemID + '">' + ItemName + '</a></span></td></tr>');}

function Islam(ItemID,ItemFree){
    document.write('<tr><td id="X' + ItemID + '" class="NONO" onMouseOver="Ibrahim(X' + ItemID + ',' + ItemID + ');" onMouseOut="Fahmy(X' + ItemID + ',' + ItemID + ');">');
    document.write('<span id="' + ItemID + '" class="FOFO" >' + ItemFree + '</span></td></tr>');}
function CloseSubBoxH(){document.write('</table></span>');}

function Omar(MenuID,MenuName,MenuTitle,MenuTarget){
    document.write('<span STYLE="position:relative;" class="ZOZO" onMouseOver="OpenMenu(' + MenuID + ');" onMouseOut="CloseMenu(' + MenuID + ');"><a title="' + MenuTitle + '" class="KOKO">&nbsp;' + MenuName + '</a></span>');}
function Ahmed(MenuID,MenuFree){
    document.write('<span STYLE="position:relative;" class="ZOZO" onMouseOver="OpenMenu(' + MenuID + ');" onMouseOut="CloseMenu(' + MenuID + ');">&nbsp;' + MenuFree + '&nbsp;</span>');}
function Sherif(MenuName,MenuURL,MenuTitle,MenuTarget){
    document.write('<span STYLE="position:relative;" class="ZOZO" ><a href="' + MenuURL + '" title="' + MenuTitle + '" target="' + MenuTarget + '" class="KOKO">&nbsp;' + MenuName + '</a></span>');}
function Yasser(MenuName,MenuFree){
    document.write('<span STYLE="position:relative;" class="ZOZO" >&nbsp;' + MenuFree + '</span>');}
    document.write('<TABLE CELLSPACING=1 CELLPADDING=0 WIDTH="200%" STYLE="border:0 solid #808080; "><TR VALIGN=MIDDLE><TD ALIGN=LEFT>');
    document.write('<DIV NOWRAP STYLE="visibility:visible; font-weight: 700; font-family: Verdana; color:#003399; font-size:10px; ">');
    if(bBrowserOK==1) {
    Abdullah('ZEFT');
    Ali('Lamia','Browse By Category','searchbycategory.asp','ZEFT','','_self');
    if(Lamia) Lamia.style.color = '#000000';Ali('Mona','Browse By Vendor','searchbyvendor.asp','ZEFT','','_self');
    if(Mona) Mona.style.color = '#000000';Ali('Salma','E-Learning','E-Learning.asp','ZEFT','','_self');
    if(Salma) Salma.style.color = '#000000';CloseSubBoxH();
    Omar('ZEFT','Courses','','','_self');
}
else
Sherif('Courses','','','_self');
document.write('</DIV></TD>');
document.write('</TR></TABLE>');
