
BLANK_IMAGE = '/images/spacer.gif';

var NOSTYLE = {
	border:0,			// item's border width, pixels; zero means "none"
	shadow:0,			// item's shadow size, pixels; zero means "none"
	color:{
		border:"",		// color of the item border, if any
		shadow:"",		// color of the item shadow, if any
		bgON:"",		// background color for the items
		bgOVER:""		// background color for the item which is under mouse right now
	},
	css:{
		ON:"",			// CSS class for items
		OVER:""			// CSS class  for item which is under mouse
	}
};
var STYLE = {
	border:1,			// item's border width, pixels; zero means "none"
	shadow:2,			// item's shadow size, pixels; zero means "none"
	color:{
		border:"#ffffff",		// color of the item border, if any
		shadow:"#DBD8D1",		// color of the item shadow, if any
		bgON:"#92B5D6",		// background color for the items
		bgOVER:"#A02600"		// 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
	}
};

var MENU_ITEMS = [
	{pos:'relative', itemoff:[0,69], leveloff:[29,0], style:NOSTYLE, size:[29,69]},
	{	code:'<img src="/images/layout/menu/home.gif" width="69" height="29" />',
	 	ocode:'<img src="/images/layout/menu/home-over.gif" width="69" height="29" />',
	 	url:'/'
		
	},
	{	code:'<img src="/images/layout/menu/trainingCourses.gif" width="131" height="29" />',
	 	ocode:'<img src="/images/layout/menu/trainingCourses-over.gif" width="131" height="29" />',
	 	"format":{"size":[29,131]},
	 	url:'/orb/classes/',
		sub:[
			{itemoff:[21,0], size:[22,181], style:STYLE},
			{code:"Technical Courses",
			format:{arrow:"/images/arrow_trans.gif",arrsize:[13,15]},
			url:'/orb/classes/99/48/listing.html',
				sub:[
					{leveloff:[0,181],size:[22,136]},
					{code:"Core Courses",url:'/orb/classes/1/1/listing.html'},
					{code:"Advanced Courses",url:'/orb/classes/1/2/listing.html'},
					{code:"Six Sigma",url:'/orb/classes/1/3/listing.html'},
					{code:"Lean",url:'/orb/classes/1/4/listing.html'},
					{code:"Who Should Attend",url:'/orb/classes/whoshouldattend/technical/'}
				]
			},
			{code:"Professional Development",
			format:{arrow:"/images/arrow_trans.gif",arrsize:[13,15]},
			url:'/orb/classes/99/49/listing.html',
				sub:[
					{leveloff:[0,181]},
					{code:"Professional Communication",url:'/orb/classes/10/50/listing.html'},
					{code:"Leadership / Supervisory",url:'/orb/classes/10/51/listing.html'},
					{code:"Personal Improvement",url:'/orb/classes/10/52/listing.html'},
					{code:"Who Should Attend",url:'/orb/classes/whoshouldattend/professional/'}
				]
			}
		]
	},
	{	code:'<img src="/images/layout/menu/industriesUsers.gif" width="138" height="29" />',
	 	ocode:'<img src="/images/layout/menu/industriesUsers-over.gif" width="138" height="29" />',
	 	"format":{"size":[29,138],"itemoff":[0,131]},
	 	url:'/industries-users.html'
		
	},
	{	code:'<img src="/images/layout/menu/problemsSolutions.gif" width="156" height="29" />',
	 	ocode:'<img src="/images/layout/menu/problemsSolutions-over.gif" width="156" height="29" />',
	 	"format":{"size":[29,156],"itemoff":[0,138]},
	 	url:'/problems-solutions.html'
		
	},
	{	code:'<img src="/images/layout/menu/successStories.gif" width="119" height="29" />',
	 	ocode:'<img src="/images/layout/menu/successStories-over.gif" width="119" height="29" />',
	 	"format":{"size":[29,119],"itemoff":[0,156]},
	 	url:'/success-stories.html',
		sub:[
			{itemoff:[21,0], size:[22,119], style:STYLE},
			{code:"Clients", url:'/success-stories-selected-clients.html'},
			{code:"Testimonials", url:'/testimonials.html'},
			{code:"Case Studies", url:'/success-stories-case-studies.html',
			 format:{arrow:"/images/arrow_trans.gif",arrsize:[13,15]},
				sub:[
					{leveloff:[0,119],size:[22,200]},
					{"format":{"size":[42,200],"itemoff":[41,0]}, 
						code:"Variation in the Heat Treatment Process", url:'/success-stories-case-studies-1.html'},
					{"format":{"size":[42,200],"itemoff":[41,0]}, 
						code:"First-Time Quality in an Assembly Process ", url:'/success-stories-case-studies-2.html'},
					{"format":{"size":[22,200],"itemoff":[41,0]}, 
						code:"Improved Painting Process", url:'/success-stories-case-studies-4.html'},
					{"format":{"size":[42,200],"itemoff":[21,0]}, 
						code:"Eliminating Errors to Improve Shipping System", url:'/success-stories-case-studies-5.html'},
					{"format":{"size":[42,200],"itemoff":[41,0]}, 
						code:"Team Problem Solving to Resolve Customer Disturbances", url:'/success-stories-case-studies-3.html'}
				]
			}
		]
	},
	{	code:'<img src="/images/layout/menu/serveYou.gif" width="134" height="29" />',
	 	ocode:'<img src="/images/layout/menu/serveYou-over.gif" width="134" height="29" />',
	 	"format":{"size":[29,134],"itemoff":[0,119]},
	 	url:'how-we-serve-you.html',
		sub:[
			{itemoff:[21,0], size:[22,187], style:STYLE},
			{code:"Training Courses", url:'/orb/classes/'},
			{code:"Consulting and Coaching", url:'/how-we-serve-you-consulting-coaching.html'},
			{code:"Speaking Engagements", url:'/how-we-serve-you-speaking-engagements.html'},
			{code:"Educational Seminars", url:'/how-we-serve-you-educational-seminars.html'},
			{code:"White Papers", url:'/how-we-serve-you-white-papers.html'},
			{code:"Articles", url:'/how-we-serve-you-articles.html'}
		]
	}
];


function rand ( n )
{
  return ( Math.floor ( Math.random ( ) * n + 1 ) );
}

function getRandomQuote() {
				

	quote = new Array(5);
	quote[0] = "Six Sigma training yielded savings of about $100,000 to $200,000 per project.";
	quote[1] = "Our customer disturbances declined greatly after Simons-White training.";
	quote[2] = "Simons-White course materials are always complete and their instructors knowledgeable.";
	quote[3] = "Norma Simons has provided expertise for global business turnaround projects.";
	quote[4] = "Student knowledge jumped from 52.07% to 87.22% – a 67.5% increase.";
	
	document.write(quote[(rand(5)-1)]);

}