////	**********************************************************
////	Random Quote JavaScript
////	COPYRIGHT 2002 Masashi Ueda [ http://weapon.milkcafe.to/ ]
////	**********************************************************

	var num = 0;
	var Xtimes  = 0;
	var MesString = "";
///////////	Write quotes below
	var MESSAGES  = new Array(
		'Entrepreneurs are simply those who understand that there is little difference between obstacle and opportunity and are able to turn both to their advantage. - Niccolo Machiavelli',
		'An entrepreneur assumes the risk and is dedicated and committed to the success of whatever he or she undertakes. - Victor Kiam',
		'Entrepreneurs are risk takers, willing to roll the dice with their money or reputations on the line in support of an idea or enterprise. -  Victoria Claflin Woodhull',
		'Entrepreneurs are risk takers, willing to roll the dice with their money or reputation on the line in support of an idea or enterprise. They willingly assume responsibility for the success or failure of a venture and are answerable for all its facets. - Victor Kiam',
		'Our business in life is not to get ahead of others, but to get ahead of ourselves -- to break our own records, to outstrip our yesterday by our today. - Stewart B. Johnson',
		'Good business leaders create a vision, articulate the vision, passionately own the vision, and relentlessly drive it to completion. - Jack Welch',
		'To open a shop is easy, to keep it open is an art - Chinese Proverbs',
		'It is difficult, but not impossible, to conduct strictly honest business - Mahatma Gandhi',
		'You can&#39;t do today&#39;s job with yesterday&#39;s methods and be in business tomorrow - Unknown',
		'The greater the loyalty of a group toward the group, the greater is the motivation among the members to achieve the goals of the group, and the greater the probability that the group will achieve its goals. - Rensis Likert',
		'If you don&#39;t do it excellently, don&#39;t do it at all. Because if it&#39;s not excellent, it won&#39;t be profitable or fun, and if you&#39;re not in business for fun or profit, what the hell are you doing there? - Robert Townsend',
		'In the end, all business operations can be reduced to three words: people, product and profits. Unless you&#39;ve got a good team, you can&#39;t do much with the other two. - Lee Iacocca',
		'A project is complete when it starts working for you, rather than you working for it. - ScottAllen',
		'Whenever you see a successful business, someone once made a courageous decision - Peter F. Drucker',
		'More business is lost every year through neglect than through any other cause. - Rose F. Kennedy'

		);

if ( MESSAGES.length == 0 ) {				////
	alert('No quotes');
}
else if ( MESSAGES.length < 10 ) {			////
	Xtimes = 10;
}
else if ( MESSAGES.length < 100 ) {			////
	Xtimes = 100;
}
else if ( MESSAGES.length < 1000 ) {		////
	Xtimes = 1000;
}
else if ( MESSAGES.length < 10000 ) {		////
	Xtimes = 10000;
}
else if ( MESSAGES.length < 100000 ) {		////
	Xtimes = 100000;
}

function getRDMMESS(type,spc) {
if ( MESSAGES.length != 0 ) {
	for ( num = MESSAGES.length + 1; num >= MESSAGES.length; ){
		num = Math.floor(Math.random() * Xtimes);
	}
	if ( MESSAGES[num] !='' ) {
		MesString = MESSAGES[num];
	}
	else {
		MesString = 'No quotes';
	}
}
else {
	MesString = 'No quotes';
}
if ( spc != '' && spc < MESSAGES.length ) {
	MesString = MESSAGES[spc]
}
switch ( type ) {
	case '' :
		return MesString;
		break;
	case '0' :
		return MesString;
		break;
	case '1' :
		return num;
		break;
	case '2' :
		MesString = MesString + ' No.' + num;
		return MesString;
		break;
	default :
		return MesString;
		break;
}
}