﻿ddaccordion.init({
	headerclass: "submenuheader", //Shared CSS class name of headers group
	contentclass: "submenu", //Shared CSS class name of contents group
	revealtype: "click", //Reveal content when user clicks or onmouseover the header? Valid value: "click" or "mouseover
	mouseoverdelay: 200, //if revealtype="mouseover", set delay in milliseconds before header expands onMouseover
	collapseprev: true, //Collapse previous content (so only one open at any time)? true/false 
	defaultexpanded: [], //index of content(s) open by default [index1, index2, etc] [] denotes no content
	onemustopen: false, //Specify whether at least one header should be open always (so never all headers closed)
	animatedefault: false, //Should contents open by default be animated into view?
	persiststate: true, //persist state of opened contents within browser session?
	toggleclass: ["", ""], //Two CSS classes to be applied to the header when it's collapsed and expanded, respectively ["class1", "class2"]
	togglehtml: ["suffix", "<img src='../../../../../common/img/main/plus.gif' class='statusicon' />", "<img src='../../../../../common/img/main/minus.gif' class='statusicon' />"], //Additional HTML added to the header when it's collapsed and expanded, respectively  ["position", "html1", "html2"] (see docs)
	animatespeed: "fast", //speed of animation: integer in milliseconds (ie: 200), or keywords "fast", "normal", or "slow"
	oninit:function(headers, expandedindices){ //custom code to run when headers have initalized
		//do nothing
	},
	onopenclose:function(header, index, state, isuseractivated){ //custom code to run whenever a header is opened or closed
		//do nothing
	}
})

document.write("\
<!--menu Start-->\
<div class=\"glossymenu\">\
						<a class=\"menuitem submenuheader\" href=\"#top\">درباره آسان موتور</a>\
							<div class=\"submenu\">\
								<ul>\
									<li><a href=\"../../assanmotor/company/index.html?submenuheader=0\">معرفي شركت</a></li>\
									<li><a href=\"../../assanmotor/mission/index.html?submenuheader=0\">اهداف و برنامه ها</a></li>\
									<li><a href=\"../../assanmotor/commitment/index.html?submenuheader=0\">فعاليتهاي اجتماعي</a></li>\
									<li><a href=\"../../assanmotor/image_desc/index.html?submenuheader=0\">آسان موتور به روايت تصوير</a></li>\
								</ul>\
							</div>\
						<a class=\"menuitem submenuheader\" href=\"#top\" >درباره هيونداي موتور</a>\
							<div class=\"submenu\">\
								<ul>\
									<li><a href=\"../../hyundai/company/index.html?submenuheader=1\">معرفي شركت</a></li>\
									<li><a href=\"../../hyundai/history/index.html?submenuheader=1\">تاريخچه شركت</a></li>\
								</ul>\
							</div>\
						<a class=\"menuitem\" href=\"../../hyundai/intheworld/index.html\">هيونداي در جهان</a>\
						<a class=\"menuitem submenuheader\" href=\"#top\" >گالري</a>\
							<div class=\"submenu\">\
								<ul>\
									<li><a href=\"../../gallery/brochure/index.html?submenuheader=2\">بروشور محصولات</a></li>\
									<li><a href=\"../../gallery/wallpaper/index.html?submenuheader=2\">كاغذ ديواري</a></li>\
									<li><a href=\"../../gallery/Mobile/index.html?submenuheader=2\">كاغذ ديواري موبايل</a></li>\
									<li><a href=\"../../gallery/screensaver/index.html?submenuheader=2\">محافظ صفحه نمايش</a></li>\
								</ul>\
							</div>\
						<a class=\"menuitem submenuheader\" href=\"../../news/headlines/index.html\">اخبار شركت</a>\
							<div class=\"submenu\">\
							<ul>\
							<li><a href=\"../../news/headlines/index.html?submenuheader=3\">اخبار شركت</a></li>\
									<li><a href=\"../../news/headlines/news.html?submenuheader=3\">اخبار صنايع خودرو</a></li>\
							</ul>\
							</div>\
						<a class=\"menuitem\" href=\"../../carshow/headlines/index.html\">رويدادهاي نمايشگاهي</a>\
						</div>\
<!--menu End-->\
");
