BLANK_IMAGE = 'Templates/images/b.gif';


var TOPSTYLE = {
	border:0,			// item's border width, pixels; zero means "none"
	shadow:0,			// item's shadow size, pixels; zero means "none"
	color:{
		border:"#FFF",	// color of the item border, if any
		shadow:"#CCC",	// color of the item shadow, if any
		bgON:"#0B3F7B",		// background color for the items
		bgOVER:"#0B3F7B"	// background color for the item which is under mouse right now
	},
	css:{
		ON:"TOPclsCMOn",		// CSS class for items
		OVER:"TOPclsCMOn"	// CSS class  for item which is under mouse
	},
	 transition:{
        fadeIn:'progid:DXImageTransform.Microsoft.RandomDissolve(duration=0.3)',
        fadeOut:''
    }
};



var STYLE = {
	border:0,			// item's border width, pixels; zero means "none"
	shadow:0,			// item's shadow size, pixels; zero means "none"
	color:{
		border:"#FFF",	// color of the item border, if any
		shadow:"#CCC",	// color of the item shadow, if any
		bgON:"#0B3F7B",		// background color for the items
		bgOVER:"#0B3F7B"	// background color for the item which is under mouse right now
	},
	css:{
		ON:"clsCMOn",		// CSS class for items
		OVER:"clsCMOver"	// CSS class  for item which is under mouse
	},
	 transition:{
        fadeIn:'progid:DXImageTransform.Microsoft.RandomDissolve(duration=0.3)',
        fadeOut:''
    }
};


/*leveloff:[-124,-100]*/

var M1 = [
	{pos: 'relative', itemoff:[0,99], leveloff:[21,0], style:TOPSTYLE, size:[22,80]},
	{code:'Home',
	url: 'http://www.yamass.org'}
]

var M2 = [
	{pos: 'relative', itemoff:[0,99], leveloff:[21,0], style:TOPSTYLE, size:[22,84]},
	{code:'About',
		sub:[
			{itemoff:[21,0],style:STYLE, size:[22,135]},
			
			{code:'History & Mission',
			url:'http://www.yamass.org/histmiss.htm'},
			
			{code:'Leadership',
			url: 'http://www.yamass.org/leadership.htm'},
			
			{code:'Staff/Contact Us',
			url: 'http://www.yamass.org/staff.htm'},
			
			{code:'Employment',
			url: 'http://www.yamass.org/employment.htm'},
			
			{code:'Intern/Volunteer',
			url: 'http://www.yamass.org/internvolunteer.htm'},
			
			
		]
	}
]


var M3 = [
	{pos: 'relative', itemoff:[0,99], leveloff:[21,0], style:TOPSTYLE, size:[22,104]},
	{code:'Programs',
		sub:[
			{itemoff:[21,0],style:STYLE,size:[22,165]},
			
			{code:'Programs Offered',
			url:'http://www.yamass.org/programs.htm'},
			
			{code:'New Artists',
			url:'http://www.yamass.org/newartists.html'},
			
			{code:'Music Page 1',
			url: 'http://www.yamass.org/music.htm'},
			
			{code:'Music Page 2',
			url: 'http://www.yamass.org/music2.htm'},
			
			{code:'Music Page 3',
			url: 'http://www.yamass.org/music3.htm'},
			
			{code:'Dance',
			url: 'http://www.yamass.org/dance.htm'},
			
			{code:'Theater/Puppetry',
			url: 'http://www.yamass.org/theater.htm'},
			
			{code:'Storytellers/Authors',
			url: 'http://www.yamass.org/storyauthor.htm'},
			
			{code:'Visual Arts',
			url: 'http://www.yamass.org/visual.htm'}, 
			
			{code:'Residencies',
			url: 'http://www.yamass.org/residency.htm'},
			
			{code:'Healing Arts for Kids',
			url: 'http://www.yamass.org/healingarts.html'},
			
			{code:'Scheduling Guidelines',
			url:'http://www.yamass.org/schedule.htm'},
			
			{code:'Request a Catalog',
			url:'http://www.yamass.org/catalog.htm'}
			
		]
	}
	
	]
	
	
var M4 = [
	{pos: 'relative', itemoff:[0,99], leveloff:[21,0], style:TOPSTYLE, size:[22,128]},
	{code:'News &amp; Events',
		sub:[
			{itemoff:[21,0],style:STYLE,size:[22,165]},
			
			{code:'News',
			url:'http://www.yamass.org/news.php'},
						
			{code:'Preview Opportunities',
			url: 'http://www.yamass.org/preview.htm'},
			
			{code:'Showcase',
			url: 'http://www.yamass.org/showcase.htm'},
			
			{code:'Arts Smart',
			url: 'http://www.yamass.org/artssmart.html'},
			
			{code:'Events',
			url: 'http://www.yamass.org/events.html'},

			
			
			
		]
	}
]

M5 = [
	{pos: 'relative', itemoff:[0,99], leveloff:[21,0], style:TOPSTYLE, size:[22,108]},
	{code:'Contribute',
		sub:[
			{itemoff:[21,0],style:STYLE,size:[22,145]},
			
			{code:'Community Partners',
			url:'http://www.yamass.org/commpart.htm'},
			
			{code:'Make A Donation',
			url: 'http://www.yamass.org/donate.htm'},
							
			{code:'Special Thanks',
			url: 'http://www.yamass.org/thanks.html'},
			
		]
	}
	
	]
	
M6 = [
{pos: 'relative', itemoff:[0,99], leveloff:[21,0], style:TOPSTYLE, size:[22,90]},
	{code:'Resources',
		sub:[
			{itemoff:[21,0],style:STYLE,size:[22,140]},
			
			{code:'Educational Materials',
			url:'http://www.yamass.org/edmats.php'},
			
			{code:'Funding Ideas',
			url: 'http://www.yamass.org/funding.htm'},
			
			{code:'Web Links',
			url: 'http://www.yamass.org/links.html'},
			
			{code:'Publicity Kit',
			url: 'http://www.yamass.org/publicity.html'},
			
			{code:'YA National',
			url:'http://www.youngaudiences.org/'}
			
		]
	}
];

function clone(myObj)
{

	return myObj;
	
	
}

function cloneObj(myObj)
{
	if(typeof(myObj) != 'object') return myObj;
	if(myObj == null) return myObj;

	var myNewObj = new Object();

	for(var i in myObj)
		
		myNewObj[i] = clone(myObj[i]);

	return myNewObj;
}

function displayObject(what) {
    var output = '';
    for (i in what)
         output += i + ' = ' + what[i] + '\n';
    alert(output);
}

var M7 = clone(M1);


var M8 = clone(M2);
var M9 = clone(M3);
var M10 = clone(M4);
var M11 = clone(M5);
var M12 = clone(M6);



var M7 = [
	{pos: 'relative', itemoff:[0,99], leveloff:[21,0], style:TOPSTYLE, size:[22,80]},
	{code:'Home',
	url: 'http://www.yamass.org'}
]

var M8 = [
	{pos: 'relative', itemoff:[0,99], leveloff:[21,0], style:TOPSTYLE, size:[22,84]},
	{code:'About',
		sub:[
			{itemoff:[21,0],style:STYLE, size:[22,135]},
			
			{code:'History & Mission',
			url:'http://www.yamass.org/histmiss.htm'},
			
			{code:'Leadership',
			url: 'http://www.yamass.org/leadership.htm'},
			
			{code:'Staff/Contact Us',
			url: 'http://www.yamass.org/staff.htm'},
			
			{code:'Employment',
			url: 'http://www.yamass.org/employment.htm'},
			
			{code:'Intern/Volunteer',
			url: 'http://www.yamass.org/internvolunteer.htm'},
			
		]
	}
]


var M9 = [
	{pos: 'relative', itemoff:[0,99], leveloff:[21,0], style:TOPSTYLE, size:[22,104]},
	{code:'Programs',
		sub:[
			{itemoff:[21,0],style:STYLE,size:[22,165]},
			
			{code:'Programs Offered',
			url:'http://www.yamass.org/programs.htm'},
			
			{code:'New Artists',
			url:'http://www.yamass.org/newartists.html'},
			
			{code:'Music Page 1',
			url: 'http://www.yamass.org/music.htm'},
			
			{code:'Music Page 2',
			url: 'http://www.yamass.org/music2.htm'},
			
			{code:'Music Page 3',
			url: 'http://www.yamass.org/music3.htm'},
			
			{code:'Dance',
			url: 'http://www.yamass.org/dance.htm'},
			
			{code:'Theater/Puppetry',
			url: 'http://www.yamass.org/theater.htm'},
			
			{code:'Storytellers/Authors',
			url: 'http://www.yamass.org/storyauthor.htm'},
			
			{code:'Visual Arts',
			url: 'http://www.yamass.org/visual.htm'}, 
			
			{code:'Residencies',
			url: 'http://www.yamass.org/residency.htm'},
			
			{code:'Healing Arts for Kids',
			url: 'http://www.yamass.org/healingarts.html'},
			
			{code:'Scheduling Guidelines',
			url:'http://www.yamass.org/schedule.htm'},
			
			{code:'Request a Catalog',
			url:'http://www.yamass.org/catalog.htm'}
			
		]
	}
	
	]
	
	
var M10 = [
	{pos: 'relative', itemoff:[0,99], leveloff:[21,0], style:TOPSTYLE, size:[22,128]},
	{code:'News &amp; Events',
		sub:[
			{itemoff:[21,0],style:STYLE,size:[22,165]},
			
			{code:'News',
			url:'http://www.yamass.org/news.php'},
						
			{code:'Preview Opportunities',
			url: 'http://www.yamass.org/preview.htm'},
			
			{code:'Showcase',
			url: 'http://www.yamass.org/showcase.htm'},
			
			{code:'Arts Smart',
			url: 'http://www.yamass.org/artssmart.html'},
			
			{code:'Events',
			url: 'http://www.yamass.org/events.html'},
			
	
			
		]
	}
]

M11 = [
	{pos: 'relative', itemoff:[0,99], leveloff:[21,0], style:TOPSTYLE, size:[22,108]},
	{code:'Contribute',
		sub:[
			{itemoff:[21,0],style:STYLE,size:[22,145]},
			
			{code:'Community Partners',
			url:'http://www.yamass.org/commpart.htm'},
			
			{code:'Make A Donation',
			url: 'http://www.yamass.org/donate.htm'},
							
			{code:'Special Thanks',
			url: 'http://www.yamass.org/thanks.html'},
		]
	}
	
	]
	
M12 = [
{pos: 'relative', itemoff:[0,99], leveloff:[21,0], style:TOPSTYLE, size:[22,90]},
	{code:'Resources',
		sub:[
			{itemoff:[21,0],style:STYLE,size:[22,140]},
			
			{code:'Educational Materials',
			url:'http://www.yamass.org/edmats.php'},
			
			{code:'Funding Ideas',
			url: 'http://www.yamass.org/funding.htm'},
			
			{code:'Web Links',
			url: 'http://www.yamass.org/links.html'},
			
			{code:'Publicity Kit',
			url: 'http://www.yamass.org/publicity.html'},
			
			
			{code:'YA National',
			url:'http://www.youngaudiences.org/'}
			
		]
	}
];


