// Initialize WebDDM
function initWebDDM ()
{
	// Begin base menu
	var menu = {
		'position':'relative',
		'top':0,
		'left':0,
		'width':750,
		'height':24,
		'expand_menu':'auto',

		'items':{
			'top':0,
			'left':0,
			'width':750,
			'height':24,


			// Background item
			'background-item':{
				'width':750, 'height':24, 'left':0, 'top':0,
				'class':'macosx_container'
			},

			1:{
				'content':'<a href="http://www.forevertruth.org/index.html">Home</a>',
				'width':75, 'height':24, 'offsetLeft':0, 'top':0,
				'class':'macosx',
				'class_rollover':'macosx_rollover'
			},
			2:{
				'content':'<a href="http://www.forevertruth.org/history.shtml">About Us</a>',
				'width':100, 'height':24, 'offsetLeft':75, 'offsetTop':0,
				'class':'macosx',
				'class_menuopen':'macosx_rollover',
				// Begin array of items, item 2
				'items':{
					'top':24,
					'left':0,
					'width':150,
					'height':24,
					
					/* Sliding submenu (clipTrans) configuration */
					'clipTrans':{
						'duration':50,
						'frames':20,
						'transition':'north-to-south'
					},

					//Drop Shadow
					'drop-shadow':{
						'flat':{
							'image':'http://www.forevertruth.org/images/drop_shadow.png'
						},
						'shadow-offset-x':4,
						'shadow-offset-y':4,
						'shadow-extra-width':4,
						'shadow-extra-height':4
					},


					/* alphaTrans settings */
					'alphaTrans':{
						'delta':5,
						'delay':10,
						'maxOpacity':95
					},
		
					// Background item
					'background-item':{
						'width':127, 'height':98, 'left':0, 'top':1,
						'class':'drop_container'
					},

					1:{
						'content':'<a href="http://www.forevertruth.org/history.shtml">&nbsp;&nbsp;History</a>',
						'cursor':'hand',
						'width':125, 'height':24, 'offsetLeft':1, 'offsetTop':1,
						'class':'drop',
						'class_rollover':'drop_rollover'
					},
					2:{
						'content':'<a href="http://www.forevertruth.org/mission.shtml">&nbsp;&nbsp;Mission</a>',
						'cursor':'hand',
						'width':125, 'height':24, 'offsetLeft':0, 'offsetTop':24,
						'class':'drop',
						'class_rollover':'drop_rollover'
					},
					3:{
						'content':'<a href="http://www.forevertruth.org/founder.shtml">&nbsp;&nbsp;Founder</a>',
						'cursor':'hand',
						'width':125, 'height':24, 'offsetLeft':0, 'offsetTop':24,
						'class':'drop',
						'class_rollover':'drop_rollover'
					},
					4:{
						'content':'<a href="http://www.forevertruth.org/doctrine.shtml">&nbsp;&nbsp;Beliefs</a>',
						'cursor':'hand',
						'width':125, 'height':24, 'offsetLeft':0, 'offsetTop':24,
						'class':'drop',
						'class_rollover':'drop_rollover'
					}

				}
			},	
			3:{
				'content':'<a href="http://www.forevertruth.org/Sermon_Series/SALVATION.shtml">The Pulpit</a>',
				'width':100, 'height':24, 'offsetLeft':100, 'offsetTop':0,
				'class':'macosx',
				'class_menuopen':'macosx_rollover',
				// Begin array of items, item 3
				'items':{
					'top':24,
					'left':0,
					'width':150,
					'height':24,

					/* Sliding submenu (clipTrans) configuration */
					'clipTrans':{
						'duration':50,
						'frames':20,
						'transition':'north-to-south'
					},


					//Drop Shadow
					'drop-shadow':{
						'flat':{
							'image':'http://www.forevertruth.org/images/drop_shadow.png'
						},
						'shadow-offset-x':4,
						'shadow-offset-y':4,
						'shadow-extra-width':4,
						'shadow-extra-height':4
					},

					/* alphaTrans settings */
					'alphaTrans':{
						'delta':5,
						'delay':10,
						'maxOpacity':95
					},

					
					// Background item
					'background-item':{
						'width':127, 'height':122, 'left':0, 'top':1,
						'class':'drop_container'
					},
					1:{
						'content':'<a href="http://www.forevertruth.org/Sermon_Series/SALVATION.shtml">&nbsp;&nbsp;Saving Grace</a>',
						'cursor':'hand',
						'width':125, 'height':24, 'offsetLeft':1, 'offsetTop':1,
						'class':'drop',
						'class_rollover':'drop_rollover'
					},
					2:{
						'content':'<a href="http://www.forevertruth.org/Sermon_Series/The Centrality of the Gospel.shtml">&nbsp;&nbsp;Centrality of the Gospel</a>',
						'cursor':'hand',
						'width':125, 'height':24, 'offsetLeft':0, 'offsetTop':24,
						'class':'drop',
						'class_rollover':'drop_rollover'
					},
					3:{
						'content':'<a href="http://www.forevertruth.org/Sermon_Series/esther.shtml">&nbsp;&nbsp;Esther</a>',
						'cursor':'hand',
						'width':125, 'height':24, 'offsetLeft':0, 'offsetTop':24,
						'class':'drop',
						'class_rollover':'drop_rollover'
					},					
					4:{
						'content':'<a href="http://www.forevertruth.org/Sermon_Series/Ruth.shtml">&nbsp;&nbsp;Ruth</a>',
						'cursor':'hand',
						'width':125, 'height':24, 'offsetLeft':0, 'offsetTop':24,
						'class':'drop',
						'class_rollover':'drop_rollover'
					},
					5:{
						'content':'<a href="http://www.forevertruth.org/Sermon_Series/Roots Grow Deep in Winter.shtml">&nbsp;&nbsp;Joseph</a>',
						'cursor':'hand',
						'width':125, 'height':24, 'offsetLeft':0, 'offsetTop':24,
						'class':'drop',
						'class_rollover':'drop_rollover'
					}

				}
			},
			4:{
				'content':'<a target="_blank" href="http://www.forevertruth.org/blog/index.html">Blog</a>',
				'width':100, 'height':24, 'offsetLeft':100, 'top':0,
				'class':'macosx',
				'class_rollover':'macosx_rollover'
			},
			5:{
				'content':'<a href="http://www.forevertruth.org/links_page.shtml">Links</a>',
				'width':75, 'height':24, 'offsetLeft':100, 'top':0,
				'class':'macosx',
				'class_rollover':'macosx_rollover'
			},
			6:{
				'content':'<a href="http://www.forevertruth.org/culturewar.shtml">Truth and Culture</a>',
				'width':150, 'height':24, 'offsetLeft':75, 'top':0,
				'class':'macosx',
				'class_rollover':'macosx_rollover'
			},
			7:{
				'content':'<a href="http://www.forevertruth.org/pastor_heart.shtml">Pastor&#39;s Heart</a>',
				'width':150, 'height':24, 'offsetLeft':150, 'top':0,
				'class':'macosx',
				'class_rollover':'macosx_rollover'
			}
			
		}
	};
	// End base menu

	// Activate and build menu
	var slidingMenu = new WebDDM('menu', menu);
}


