menunum=0;
menus=new Array();
_d=document;
function addmenu()
{
menunum++;
menus[menunum]=menu;
//alert(menu);
}
function dumpmenus()
{mt="<script language=javascript>";

for(a=1;a<menus.length;a++)
{mt+=" menu"+a+"=menus["+a+"];"}
mt+="<\/script>";
_d.write(mt)}

if(navigator.appVersion.indexOf("MSIE 6.0")>0)
{
	effect = "Fade(duration=0.2);Alpha(style=0,opacity=88);Shadow(color='#777777', Direction=135, Strength=5)"
}
else
{
	effect = "Shadow(color='#777777', Direction=135, Strength=5)" 
}

// }take an instruction max_size of navigator

//top.window.moveTo(0,0);
if (document.all) 
{
//window.resizeTo(screen.availWidth,screen.availHeight);

}
else if (document.layers||document.getElementById) 
{
if (top.window.outerHeight<screen.availHeight||top.window.outerWidth<screen.availWidth)
{
//top.window.outerHeight = screen.availHeight;
//top.window.outerWidth = screen.availWidth;
}
}
// check screen area
//var widthh=screen.width;
//var heightt=screen.height;
//alert(width);
//alert(height);
//if (widthh == 640)  widthh=145;
//if (widthh == 800)  widthh=145;
//if (widthh == 1024) widthh=145;
//if (widthh == 1152) widthh=145;
//if (widthh == 1280) widthh=145;
//if (heightt == 480) heightt=6;
//if (heightt == 600) heightt=6;
//if (heightt == 768) heightt=117;
//if (heightt == 864) heightt=180;
//if (heightt == 1024)heightt=245;
var widthh=screen.width;
var wid=document.body.offsetWidth;
var heightt=screen.height;
var con_dis=394;
widthh = 145;
heightt = wid/2-con_dis;

//var w=this.width;
//alert(w);
timegap=500				// The time delay for menus to remain visible
followspeed=5			// Follow Scrolling speed
followrate=40			// Follow Scrolling Rate
suboffset_top=20;		// Sub menu offset Top position 
suboffset_left=20;		// Sub menu offset Left position


style1=[				// style1 is an array of properties. You can have as many property arrays as you need. This means that menus can have their own style.
"3871AB",					// Mouse Off Font Color
"FFFFFF",				// Mouse Off Background Color
"3871AB",				    // Mouse On Font Color
"ffcc33",				// Mouse On Background Color
"000000",				// Menu Border Color 
11,						// Font Size in pixels
"normal",				// Font Style (italic or normal)
"bold",					// Font Weight (bold or normal)
"Arial",		             // Font Name
2,						// Menu Item Padding
"",// Sub Menu Image (Leave this blank if not needed)
1,						// 3D Border & Separator bar
"3871AB",				// 3D High Color
"3871AB",				// 3D Low Color
"Purple",				// Current Page Item Font Color (leave this blank to disable)
"pink",					// Current Page Item Background Color (leave this blank to disable)
"",			            // Top Bar image (Leave this blank to disable)
"ffffff",				// Menu Header Font Color (Leave blank if headers are not needed)
"000099",				// Menu Header Background Color (Leave blank if headers are not needed)
]

addmenu(menu=[		// This is the array that contains your menu properties and details
"mainmenu",			// Menu Name - This is needed in order for the menu to be called
widthh,					// Menu Top - The Top position of the menu in pixels
heightt,				// Menu Left - The Left position of the menu in pixels
140,				// Menu Width - Menus width in pixels
2,					// Menu Border Width 
,			// Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
style1,				// Properties Array - this is set higher up, as above
1,					// Always Visible - allows the menu item to be visible at all time (1=on/0=off)
"left",			// Alignment - sets the menu elements text alignment, values valid here are: left, right or center
,				// Filter - Text variable for setting transitional effects on menu activation - see above for more info
0,					// Follow Scrolling - Tells the menu item to follow the user down the screen (visible at all times) (1=on/0=off)
0, 					// Horizontal Menu - Tells the menu to become horizontal instead of top to bottom style (1=on/0=off)
0,					// Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on/0=off)
,					// Position of TOP sub image left:center:right
,					// Set the Overall Width of Horizontal Menu to 100% and height to the specified amount (Leave blank to disable)
1,					// Right To Left - Used in Hebrew for example. (1=on/0=off)
0,					// Open the Menus OnClick - leave blank for OnMouseover (1=on/0=off)
,					// ID of the div you want to hide on MouseOver (useful for hiding form elements)
,					// Reserved for future use
,					// Reserved for future use
,					// Reserved for future use
,"<div align=left   style=\"vertical-align: top;\"> <img src=/imgs/site/2.gif>Society&Population<img src=/imgs/pixel.gif width=15 height=1 ><img src=/imgs/site/1e.gif ></div>","show-menu=menu186",,"",1,"<div align=left   style=\"vertical-align: top;\"> <img src=/imgs/site/2.gif>Households&Families<img src=/imgs/pixel.gif width=0 height=1 ><img src=/imgs/site/1e.gif ></div>","show-menu=menu402",,"",1,"<div align=left   style=\"vertical-align: top;\"> <img src=/imgs/site/2.gif>Labour and Wages<img src=/imgs/pixel.gif width=19 height=1 ><img src=/imgs/site/1e.gif ></div>","show-menu=menu416",,"",1,"<div align=left   style=\"vertical-align: top;\"> <img src=/imgs/site/2.gif>Israel's Economy<img src=/imgs/pixel.gif width=27 height=1 ><img src=/imgs/site/1e.gif ></div>","show-menu=menu420",,"",1,"<div align=left   style=\"vertical-align: top;\"> <img src=/imgs/site/2.gif>Industries<img src=/imgs/pixel.gif width=64 height=1 ><img src=/imgs/site/1e.gif ></div>","show-menu=menu427",,"",1,"<div align=left   style=\"vertical-align: top;\"> <img src=/imgs/site/2.gif>Environment&Region<img src=/imgs/pixel.gif width=5 height=1 ><img src=/imgs/site/1e.gif ></div>","show-menu=menu437",,"",1,"<div align=left   style=\"vertical-align: top;\"> <img src=/imgs/site/2.gif>Government and <br>Local Authorities<img src=/imgs/pixel.gif width=29 height=1 ><img src=/imgs/site/1e.gif ></div>","show-menu=menu443",,"",1,"<div align=left   style=\"vertical-align: top;\"> <img src=/imgs/site/2.gif>International Comparisons<img src=/imgs/pixel.gif width=48 height=1 ><img src=/imgs/site/1e.gif ></div>","show-menu=menu452",,"",1
])
  
 addmenu(menu=["menu186",,,120,1,"",style1,,"left",effect,,,,,,,,,,,,,"Population& Demography","/reader/?MIval=cw_usr_view_SHTML&ID=705",,,1,"Education","/reader/?MIval=cw_usr_view_SHTML&ID=188",,,1,"Health","/reader/?MIval=cw_usr_view_SHTML&ID=189",,,1,"Welfare","/reader/?MIval=cw_usr_view_SHTML&ID=190",,,1,"Social Survey","/reader/?MIval=cw_usr_view_SHTML&ID=576",,,1,"Culture, Entertainment and Sport","/reader/?MIval=cw_usr_view_SHTML&ID=191",,,1,"Public Order","/reader/?MIval=cw_usr_view_SHTML&ID=192",,,1]);addmenu(menu=["menu402",,,120,1,"",style1,,"left",effect,,,,,,,,,,,,,"Demographic Characteristics","/reader/?MIval=cw_usr_view_SHTML&ID=403",,,1,"Economic Characteristics","/reader/?MIval=cw_usr_view_SHTML&ID=405",,,1,"Standard of Living: Expenditure & Income","/reader/?MIval=cw_usr_view_SHTML&ID=404",,,1,"Housing and Housing Density","/reader/?MIval=cw_usr_view_SHTML&ID=406",,,1]);addmenu(menu=["menu416",,,120,1,"",style1,,"left",effect,,,,,,,,,,,,,"Labour Force Survey","/reader/?MIval=cw_usr_view_SHTML&ID=417",,,1,"Employee Jobs & Average Monthly Wages","/reader/?MIval=cw_usr_view_SHTML&ID=418",,,1,"Income of individuals (Income survey)","/reader/?MIval=cw_usr_view_SHTML&ID=419",,,1,"Occupations","/reader/?MIval=cw_usr_view_SHTML&ID=570",,,1]);addmenu(menu=["menu420",,,120,1,"",style1,,"left",effect,,,,,,,,,,,,,"Gross Domestic Product and Uses of Resources","/reader/?MIval=cw_usr_view_SHTML&ID=421",,,1,"National Expenditure and Income","/reader/?MIval=cw_usr_view_SHTML&ID=422",,,1,"Balance of Payments","/reader/?MIval=cw_usr_view_SHTML&ID=423",,,1,"Foreign Trade","/reader/?MIval=cw_usr_view_SHTML&ID=461",,,1,"Price Indices","/reader/?MIval=cw_usr_view_SHTML&ID=424",,,1,"Finance and Capital","/reader/?MIval=cw_usr_view_SHTML&ID=425",,,1,"Research & Development","/reader/?MIval=cw_usr_view_SHTML&ID=426",,,1]);addmenu(menu=["menu427",,,120,1,"",style1,,"left",effect,,,,,,,,,,,,,"All Industries","/reader/?MIval=cw_usr_view_SHTML&ID=428",,,1,"Manufacturing","/reader/?MIval=cw_usr_view_SHTML&ID=429",,,1,"Agriculture","/reader/?MIval=cw_usr_view_SHTML&ID=430",,,1,"Construction","/reader/?MIval=cw_usr_view_SHTML&ID=431",,,1,"Tourism and Accommodation Services","/reader/?MIval=cw_usr_view_SHTML&ID=432",,,1,"Transport and Communications","/reader/?MIval=cw_usr_view_SHTML&ID=433",,,1,"ICT & High Tech.  Industries","/reader/?MIval=cw_usr_view_SHTML&ID=434",,,1,"Commerce and Business","/reader/?MIval=cw_usr_view_SHTML&ID=435",,,1,"Banking and Insurance","/reader/?MIval=cw_usr_view_SHTML&ID=436",,,1]);addmenu(menu=["menu437",,,120,1,"",style1,,"left",effect,,,,,,,,,,,,,"Geographic Information System","/reader/?MIval=cw_usr_view_SHTML&ID=567",,,1,"Environmental Protection","/reader/?MIval=cw_usr_view_SHTML&ID=441",,,1,"Energy and Water","/reader/?MIval=cw_usr_view_SHTML&ID=442",,,1]);addmenu(menu=["menu443",,,120,1,"",style1,,"left",effect,,,,,,,,,,,,,"Public Sector","/reader/?MIval=cw_usr_view_SHTML&ID=444",,,1,"Elections and Knesset","/reader/?MIval=cw_usr_view_SHTML&ID=445",,,1,"Local Authorities","/reader/?MIval=cw_usr_view_SHTML&ID=446",,,1,"Government Budget","/reader/?MIval=cw_usr_view_SHTML&ID=447",,,1,"Taxes","/reader/?MIval=cw_usr_view_SHTML&ID=448",,,1,"Defence","/reader/?MIval=cw_usr_view_SHTML&ID=449",,,1,"Public Order","/reader/?MIval=cw_usr_view_SHTML&ID=450",,,1,"Road Accidents","/reader/?MIval=cw_usr_view_SHTML&ID=451",,,1]);addmenu(menu=["menu452",,,120,1,"",style1,,"left",effect,,,,,,,,,,,,,"Links to International Organizations","/reader/?MIval=cw_usr_view_URL&ID=644",,,1,"Population","/reader/?MIval=cw_usr_view_SHTML&ID=454",,,1,"Rates of Enrollment","/reader/?MIval=cw_usr_view_SHTML&ID=455",,,1,"Labour Force","/reader/?MIval=cw_usr_view_SHTML&ID=456",,,1,"Gross Domestic Product","/reader/?MIval=cw_usr_view_SHTML&ID=457",,,1,"National Expenditure","/reader/?MIval=cw_usr_view_SHTML&ID=458",,,1,"Information & Communications Technologies","/reader/?MIval=cw_usr_view_SHTML&ID=459",,,1,"Agricultural Area","/reader/?MIval=cw_usr_view_SHTML&ID=460",,,1,"Health","/reader/?MIval=cw_usr_view_SHTML&ID=601",,,1,"Euro -Mediterranean statistics","/reader/?MIval=cw_usr_view_URL&ID=842",,,1]);  
  dumpmenus()