﻿if(ns4)_d.write('<scr'+'ipt type="text/javascript" src="controls/milonic/mmenuns4.js"><\/scr'+'ipt>');
else _d.write('<scr'+'ipt type="text/javascript" src="controls/milonic/mmenudom.js"><\/scr'+'ipt>');

_menuCloseDelay=500           // The time delay for menus to remain visible on mouse out
_menuOpenDelay=150            // The time delay before menus open on mouse over
_followSpeed=5                // Follow scrolling speed
_followRate=50                // Follow scrolling Rate
if(document.all) _subOffsetTop=5           // Sub menu top offset
else _subOffsetTop=1           // Sub menu top offset
_subOffsetLeft=1            // Sub menu left offset
_scrollAmount=3               // Only needed for Netscape 4.x
_scrollDelay=20               // Only needed for Netcsape 4.x
_subOffsetTop=-1;
_subOffsetLeft=-65;

function mnuCss(cpath, hasSubMenu) {
    if ((cpath.indexOf(',75,') == 0) || (cpath.indexOf(',76,') == 0 && cpath.split(',').length > 4))
        return '<img src="controls/milonic/RedArrow.png" alt=""/>';
    else return '';
}

function menu75(lvl, cid, idx) { // Categories Menu
    var style = '';
    switch (lvl) {
        case 1: switch (idx) {
            case 0: style += "style=menuStyle;alignment='right';openstyle='rtl';overflow='auto';alwaysvisible=1;orientation='vertical';position='relative';itemwidth=190;"; break;
            case -1: break;
        } break;            
        default: style = "style=menuStyle10;alignment='right';openstyle='rtl';overflow='auto';"; break;
    } return style;
}
function menu76(lvl, cid, idx) { // Header Menu
    var style = '';
    switch (lvl) {
        case 1: switch (idx) {
            case 0: style += "style=menuStyle2;alignment='right';openstyle='rtl';overflow='auto';alwaysvisible=1;orientation='horizontal';position='relative';"; 
                    style += "aI('text=מהו המבחן של המדינה;url=1157-מהו-המבחן-של-המדינה.aspx;title=מהו המבחן של המדינה');";
            
            
            break;

            case -1: style += "aI('text=צרו קשר;url=contactus.aspx;title=צור קשר');"; 
                    style += "aI('text=דף הבית;url=/;title=דף הבית');"; break;
        } break;
        default: {
            style = "style=menuStyle22;alignment='right';openstyle='rtl';overflow='auto'; left='offset=-1'"; 
        } break;
    } return style;
}
function menu77(lvl, cid, idx) { // Footer Menu - Not in use...
    var style = '';
    switch (lvl) {
        case 1: switch(idx) {
            case 0: style = "style=menuStyle3;alignment='right';openstyle='rtl';overflow='auto';alwaysvisible=1;orientation='horizontal';position='relative';"; break;
            case -1: break;
        } break;
        default: style = "style=menuStyle3;alignment='right';openstyle='rtl';overflow='auto';"; break;
    } return style;
}

with(menuStyle=new mm_style())
{
	padding=4; align="right"; alwaysvisible=1;

	headercolor="#000000";
	headerbgcolor="transparent";
	onbgcolor="transparent"; // mouse over - צבע רקע
	oncolor="#b31015";  // mouse over - צבע גופן
	offbgcolor="transparent"; // default - צבע רקע
	offcolor="#858585";  // default - צבע גופן
	pagebgcolor="transparent"; // url - צבע רקע
	pagecolor="#b31015";  // url - צבע גופן
	
	offclass="itmbordroff";onclass="itmbordron";
	fontsize="8pt";fontweight="bold";fontfamily="Arial,Verdana, Tahoma";
	bordercolor="#5D95E2";borderstyle="solid";borderwidth=0;
	//separatorcolor="#7c8083";separatorsize="1";
	
//	subimage="controls/milonic/arrowhe.gif";
	//subimage="controls/milonic/RedArrow.png";
	subimagepadding="2"; overfilter="Fade(duration=0.2);"; subimageposition="left";
	separatorimage="controls/milonic/pixGray.png"; separatorsize="1";
}

with(menuStyle10=new mm_style())
{
	padding=4; align="right"; alwaysvisible=1;

	headercolor="#000000";
	headerbgcolor="transparent";
	onbgcolor="#FFFFFF"; // mouse over - צבע רקע
	oncolor="#b31015";  // mouse over - צבע גופן
	offbgcolor="#EDEEF3"; // default - צבע רקע
	offcolor="#B4B5B9";  // default - צבע גופן
	pagebgcolor="transparent"; // url - צבע רקע
	pagecolor="#b31015";  // url - צבע גופן
	
	fontsize="9pt";fontweight="bold";fontfamily="Arial,Verdana, Tahoma";
	bordercolor="#5D95E2";borderstyle="solid";borderwidth=0;
	//separatorcolor="#7c8083";separatorsize="1";

	offclass="itmbordroff";onclass="itmbordron";
	
	subimage="controls/milonic/arrowhe.gif";
	subimagepadding="2"; overfilter="Fade(duration=0.2);"; subimageposition="right";
	separatorimage="controls/milonic/pixGray.png"; separatorsize="1";
}

with(menuStyle2=new mm_style())
{
	padding=4; align="center"; alwaysvisible=1;
	headercolor="#000000";
	headerbgcolor="#b31015";
	onbgcolor="#EDEEF3"; // mouse over - צבע רקע
	oncolor="#b31015";  // mouse over - צבע גופן
	offbgcolor="#F4F4F4"; // default - צבע רקע
	offcolor="#626262";  // default - צבע גופן
	pagebgcolor="transparent"; // url - צבע רקע
	pagecolor="#b31015";  // url - צבע גופן
	
//	padding = "40px 0px 0px 0px"
	fontsize="14px";fontweight="bold";fontfamily="Arial,Verdana, Tahoma";
	bordercolor="#5D95E2";borderstyle="solid";borderwidth=0;
//	separatorcolor="#626262";separatorsize="1";
	separatorimage="controls/milonic/HeaderMenuSep.png"; separatorsize="27";
	subimagepadding="2"; overfilter="Fade(duration=0.2);"; subimageposition="right";
}

with(menuStyle22=new mm_style())
{
	padding=4; align="right"; alwaysvisible=1;

	headercolor="#000000";
	headerbgcolor="transparent";
	onbgcolor="#FFFFFF"; // mouse over - צבע רקע
	oncolor="#b31015";  // mouse over - צבע גופן
	offbgcolor="#EDEEF3"; // default - צבע רקע
	offcolor="#B4B5B9";  // default - צבע גופן
	pagebgcolor="transparent"; // url - צבע רקע
	pagecolor="#b31015";  // url - צבע גופן
	
	fontsize="9pt";fontweight="bold";fontfamily="Arial,Verdana, Tahoma";
	bordercolor="#5D95E2";borderstyle="solid";borderwidth=0;
	//separatorcolor="#7c8083";separatorsize="1";
	offclass="itmbordroff";onclass="itmbordron";
		
	subimage="controls/milonic/arrowhe.gif";
	subimagepadding="2"; overfilter="Fade(duration=0.2);"; subimageposition="right";
	separatorimage="controls/milonic/pixGray.png"; separatorsize="1";
}

with(menuStyle3=new mm_style())
{
	padding=4; align="right"; alwaysvisible=1;

	headercolor="#000000";
	headerbgcolor="#ffffff";
	onbgcolor="#0062AB"; // mouse over - צבע רקע
	oncolor="#ffffff";  // mouse over - צבע גופן
	offbgcolor="#07224F"; // default - צבע רקע
	offcolor="#ffffff";  // default - צבע גופן
	pagebgcolor="#0062AB"; // url - צבע רקע
	pagecolor="#ffffff";  // url - צבע גופן
	
	fontsize="12pt";fontweight="bold";fontfamily="Arial,Verdana, Tahoma";
	bordercolor="#5D95E2";borderstyle="solid";borderwidth=0;
	separatorcolor="#DFECF5";separatorsize="1";

	subimage="controls/milonic/arrowhe.gif";
	subimagepadding="2"; overfilter="Fade(duration=0.2);"; subimageposition="right";
}
