function pass_parameter2(anyelemnt)
{
anyelemnt.style.background="#790E39";
anyelemnt.style.color="#ffffff";
}

function recieve_parameter2(anyelemnt)
{
anyelemnt.style.background="#E6E3CC";
anyelemnt.style.color="#790E39";

}

function pass_parameter(anyelemnt)
{
anyelemnt.style.background="#790E39";
anyelemnt.style.color="#ffffff";
}

function recieve_parameter(anyelemnt)
{
anyelemnt.style.background="#E6E3CC";
anyelemnt.style.color="#790E39";

}

function createMenus()
{
var menusCode
menusCode = '';

menusCode += '<div onMouseOver=keepVisible("menu1") onmouseout=hideMe("menu1") style="visibility: hidden; position: absolute; z-index: 1; right: 0px; top: 0px" id="menu1">';
menusCode += '<table border="0" cellpadding="0" cellspacing="0" width=120>';
menusCode += '<tr><td class=effcss1 onmouseover=pass_parameter(this); onmouseout=recieve_parameter(this);  onclick=window.location="/english/branches/inside_qatar/index.html"> - Q.C.IN Qatar</td></tr>';
menusCode += '<tr><td class=effcss1 onmouseover=pass_parameter(this); onmouseout=recieve_parameter(this); style="border-bottom:solid #790E39 1px;" onclick=window.location="/english/branches/out_qatar/index.html"> - Q.C.Abroad</td></tr>';

menusCode += '</table></div>';

menusCode += '<div onMouseOver=keepVisible("menu2") onmouseout=hideMe("menu2") style="visibility: hidden; position: absolute; z-index: 1; right: 0px; top: 0px" id="menu2">';
menusCode += '<table border="0" cellpadding="0" cellspacing="0">';
menusCode += '<tr><td class="effcss1" onMouseOver=locateSubMenu("menu2",3,2,"menu2_1",document.body.clientWidth);pass_parameter(this); onMouseOut=hideMe("menu2_1");recieve_parameter(this);> Family, Woman and Children</td></tr>';
menusCode += '<tr><td class="effcss1" onMouseOver=locateSubMenu("menu2",4,2,"menu2_2",document.body.clientWidth);pass_parameter(this); onMouseOut=hideMe("menu2_2");recieve_parameter(this);> Education and Culture</td></tr>';
menusCode += '<tr><td class="effcss1" onmouseover=pass_parameter(this); onmouseout=recieve_parameter(this); onclick=window.location="/english/waqf/index.html"> Waqf</td></tr>';
menusCode += '</table></div>';

menusCode += '<div onMouseOver=keepVisible("menu2_1");keepVisible("menu2") onmouseout=hideMe("menu2_1");hideMe("menu2") style="visibility: hidden; position: absolute; z-index: 1; right: 0px; top: 0px" id="menu2_1">';
menusCode += '<table border="0" cellpadding="0" cellspacing="0">';
menusCode += '<tr><td class="effcss1" onmouseover=pass_parameter(this); onmouseout=recieve_parameter(this); onclick=window.location="/english/Projects/women_child/inside_qatar/index.html"> Inside Qatar</td></tr>';
menusCode += '<tr><td class="effcss1" onmouseover=pass_parameter(this); onmouseout=recieve_parameter(this); onclick=window.location="/english/Projects/women_child/out_qatar/index.html"> Outside Qatar</td></tr>';
menusCode += '</table></div>';

menusCode += '<div onMouseOver=keepVisible("menu2_2");keepVisible("menu2") onmouseout=hideMe("menu2_2");hideMe("menu2") style="visibility: hidden; position: absolute; z-index: 1; right: 0px; top: 0px" id="menu2_2">';
menusCode += '<table border="0" cellpadding="0" cellspacing="0">';
menusCode += '<tr><td class="effcss1" onmouseover=pass_parameter(this); onmouseout=recieve_parameter(this); onclick=window.location="/english/Projects/education/inside_qatar/index.html"> Inside Qatar</td></tr>';
menusCode += '<tr><td class="effcss1" onmouseover=pass_parameter(this); onmouseout=recieve_parameter(this); onclick=window.location="/english/Projects/education/out_qatar/index.html"> Outside Qatar</td></tr>';
menusCode += '</table></div>';

menusCode += '<div onMouseOver=keepVisible("menu3") onmouseout=hideMe("menu3") style="visibility: hidden; position: absolute; z-index: 1; right: 0px; top: 0px" id="menu3">';
menusCode += '<table border="0" cellpadding="0" cellspacing="0" width=120>';
menusCode += '<tr><td class=effcss1 onmouseover=pass_parameter(this); onmouseout=recieve_parameter(this);  onclick=window.location="/english/Immediate_Finance/index.html">Immediate Finance</td></tr>';
menusCode += '</table></div>';

menusCode += '<div onMouseOver=keepVisible("menu4") onmouseout=hideMe("menu4") style="visibility: hidden; position: absolute; z-index: 1; right: 0px; top: 0px" id="menu4">';
menusCode += '<table border="0" cellpadding="0" cellspacing="0" width=120>';
menusCode += '<tr><td class=effcss1 onmouseover=pass_parameter(this); onmouseout=recieve_parameter(this);  onclick=window.location="/english/articles/study/index.html">Studies</td></tr>';
menusCode += '</table></div>';


menusCode += '<form name="menuVars">';
menusCode += '<input type="hidden" name="menuWidth" value="eee">';
menusCode += '</form>';

document.write(menusCode);
}

