// JavaScript Document
  function validateForm()
{
	var x=document.forms["myForm"]["SenderEmail"].value;
	var atpos=x.indexOf("@");
	var dotpos=x.lastIndexOf(".");
	if (atpos<1 || dotpos<atpos+2 || dotpos+2>=x.length)
	  {
	  alert("Please enter a valid e-mail address.");
	  return false;
	  }
	var x=document.forms["myForm"]["validation"].value;
	var y="cara";
	y = y + "van";
	if (x!=y)
	  {
	  alert("Please enter the validation text.");
	  return false;
	  }
}

function getQuerystring(key, default_)
{
  if (default_==null) default_="";
  key = key.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]");
  var regex = new RegExp("[\\?&]"+key+"=([^&#]*)");
  var qs = regex.exec(window.location.href);
  if(qs == null)
    return default_;
  else
    return qs[1];
}

function doLoadStuff()
{
	var requestedTab = getQuerystring('tab');
	changeColor(requestedTab);
	getRandomQuote();
}


function changeColor(newColor)   { 
 	if (newColor=='2') { 
		document.getElementById('tab2').style.display = 'block';  
		document.getElementById('tab1').style.display = 'none';  
		document.getElementById('tab3').style.display = 'none';  
		document.getElementById('tab4').style.display = 'none';  
		document.getElementById('tab5').style.display = 'none';  
		 
		 
		 
		document.getElementById('tabButton2').setAttribute('class', 'widetabhighlight');
		document.getElementById('tabButton1').setAttribute('class', 'widetab');
		document.getElementById('tabButton3').setAttribute('class', 'widetab');
		document.getElementById('tabButton4').setAttribute('class', 'widetab');
		document.getElementById('tabButton5').setAttribute('class', 'widetab');
		
		
		
	} else if (newColor=='1') { 
		document.getElementById('tab1').style.display = 'block';  
		document.getElementById('tab2').style.display = 'none';  
		document.getElementById('tab3').style.display = 'none';  
		document.getElementById('tab4').style.display = 'none';  
		document.getElementById('tab5').style.display = 'none';  
		 
		 
		 
		document.getElementById('tabButton1').setAttribute('class', 'widetabhighlight');
		document.getElementById('tabButton2').setAttribute('class', 'widetab');
		document.getElementById('tabButton3').setAttribute('class', 'widetab');
		document.getElementById('tabButton4').setAttribute('class', 'widetab');
		document.getElementById('tabButton5').setAttribute('class', 'widetab');
		
		getRandomQuote();
		
		
	} else if (newColor=='3') { 
		document.getElementById('tab3').style.display = 'block';  
		document.getElementById('tab1').style.display = 'none';  
		document.getElementById('tab2').style.display = 'none';  
		document.getElementById('tab4').style.display = 'none';  
		document.getElementById('tab5').style.display = 'none';  
		 
		 
		 
		document.getElementById('tabButton3').setAttribute('class', 'widetabhighlight');
		document.getElementById('tabButton1').setAttribute('class', 'widetab');
		document.getElementById('tabButton2').setAttribute('class', 'widetab');
		document.getElementById('tabButton4').setAttribute('class', 'widetab');
		document.getElementById('tabButton5').setAttribute('class', 'widetab');
		
		
		
	} else if (newColor=='4') { 
		document.getElementById('tab4').style.display = 'block';  
		document.getElementById('tab1').style.display = 'none';  
		document.getElementById('tab2').style.display = 'none';  
		document.getElementById('tab3').style.display = 'none';  
		document.getElementById('tab5').style.display = 'none';  
		 
		 
		 
		document.getElementById('tabButton4').setAttribute('class', 'widetabhighlight');
		document.getElementById('tabButton1').setAttribute('class', 'widetab');
		document.getElementById('tabButton3').setAttribute('class', 'widetab');
		document.getElementById('tabButton2').setAttribute('class', 'widetab');
		document.getElementById('tabButton5').setAttribute('class', 'widetab');
		
		
		
	} else if (newColor=='5') { 
		document.getElementById('tab5').style.display = 'block';  
		document.getElementById('tab1').style.display = 'none';  
		document.getElementById('tab2').style.display = 'none';  
		document.getElementById('tab3').style.display = 'none';  
		document.getElementById('tab4').style.display = 'none';  
		 
		 
		document.getElementById('tabButton5').setAttribute('class', 'widetabhighlight');
		document.getElementById('tabButton1').setAttribute('class', 'widetab');
		document.getElementById('tabButton3').setAttribute('class', 'widetab');
		document.getElementById('tabButton2').setAttribute('class', 'widetab');
		document.getElementById('tabButton4').setAttribute('class', 'widetab');

	} else if (newColor=='show') {
		document.getElementById('divPreviousSemesters').style.display = 'block';
		document.getElementById('imgMinus').style.display = 'none';
		document.getElementById('imgPlus').style.display = 'inline';
	} else if (newColor=='hide') {
		document.getElementById('divPreviousSemesters').style.display = 'none';
		document.getElementById('imgMinus').style.display = 'inline';
		document.getElementById('imgPlus').style.display = 'none';
	
	}
 }  

     
function getRandomQuote () {

    var quote = [];
	quote[1]="&ldquo;A bad peace is even worse than war.&rdquo; &mdash; <I>Tacitus</i>"
	quote[2]="&ldquo;A desire to resist oppression is implanted in the nature of man.&rdquo; &mdash; <I>Tacitus</i>"
	quote[3]="&ldquo;A shocking crime was committed on the unscrupulous initiative of few individuals, with the blessing of more, and amid the passive acquiescence of all.&rdquo; &mdash; <I>Tacitus</i>"
	quote[4]="&ldquo;Abuse if you slight it, will gradually die away; but if you show yourself irritated, you will be thought to have deserved it.&rdquo; &mdash; <I>Tacitus</i>"
	quote[5]="&ldquo;All enterprises that are entered into with indiscreet zeal may be pursued with great vigor at first, but are sure to collapse in the end.&rdquo; &mdash; <I>Tacitus</i>"
	quote[6]="&ldquo;All things atrocious and shameless flock from all parts to Rome.&rdquo; &mdash; <I>Tacitus</i>"
	quote[7]="&ldquo;Be assured those will be thy worst enemies, not to whom thou hast done evil, but who have done evil to thee. And those will be thy best friends, not to whom thou hast done good, but who have done good to thee.&rdquo; &mdash; <I>Tacitus</i>"
	quote[8]="&ldquo;Candor and generosity, unless tempered by due moderation, leads to ruin.&rdquo; &mdash; <I>Tacitus</i>"
	quote[9]="&ldquo;Custom adapts itself to expediency.&rdquo; &mdash; <I>Tacitus</i>"
	quote[10]="&ldquo;Fear is not in the habit of speaking truth; when perfect sincerity is expected, perfect freedom must be allowed; nor has anyone who is apt to be angry when he hears the truth any cause to wonder that he does not hear it.&rdquo; &mdash; <I>Tacitus</i>"
	quote[11]="&ldquo;Greater things are believed of those who are absent.&rdquo; &mdash; <I>Tacitus</i>"
	quote[12]="&ldquo;He that fights and runs away, May turn and fight another day; But he that is in battle slain, Will never rise to fight again.&rdquo; &mdash; <I>Tacitus</i>"
	quote[13]="&ldquo;In a state where corruption abounds, laws must be very numerous.&rdquo; &mdash; <I>Tacitus</i>"
	quote[14]="&ldquo;It belongs to human nature to hate those you have injured.&rdquo; &mdash; <I>Tacitus</i>"
	quote[15]="&ldquo;It is human nature to hate the man whom you have hurt.&rdquo; &mdash; <I>Tacitus</i>"
	quote[16]="&ldquo;It is less difficult to bear misfortunes than to remain uncorrupted by pleasure.&rdquo; &mdash; <I>Tacitus</i>"
	quote[17]="&ldquo;Love of fame is the last thing even learned men can bear to be parted from.&rdquo; &mdash; <I>Tacitus</i>"
	quote[18]="&ldquo;Many who seem to be struggling with adversity are happy; many, amid great affluence, are utterly miserable.&rdquo; &mdash; <I>Tacitus</i>"
	quote[19]="&ldquo;No one would have doubted his ability to reign had he never been emperor.&rdquo; &mdash; <I>Tacitus</i>"
	quote[20]="&ldquo;Noble character is best appreciated in those ages in which it can most readily develop.&rdquo; &mdash; <I>Tacitus</i>"
	quote[21]="&ldquo;Old things are always in good repute, present things in disfavor.&rdquo; &mdash; <I>Tacitus</i>"
	quote[22]="&ldquo;Prosperity is the measure or touchstone of virtue, for it is less difficult to bear misfortune than to remain uncorrupted by pleasure.&rdquo; &mdash; <I>Tacitus</i>"
	quote[23]="&ldquo;Reason and judgment are the qualities of a leader.&rdquo; &mdash; <I>Tacitus</i>"
	quote[24]="&ldquo;The desire for safety stands against every great and noble enterprise.&rdquo; &mdash; <I>Tacitus</i>"
	quote[25]="&ldquo;The more corrupt the state, the more numerous the laws.&rdquo; &mdash; <I>Tacitus</i>"
	quote[26]="&ldquo;Things forbidden have a secret charm.&rdquo; &mdash; <I>Tacitus</i>"
	quote[27]="&ldquo;Those in supreme power always suspect and hate their next heir.&rdquo; &mdash; <I>Tacitus</i>"
	quote[28]="&ldquo;To plunder, to slaughter, to steal, these things they misname empire; and where they make a wilderness, they call it peace.&rdquo; &mdash; <I>Tacitus</i>"
	quote[29]="&ldquo;To show resentment at a reproach is to acknowledge that one may have deserved it.&rdquo; &mdash; <I>Tacitus</i>"
	quote[30]="&ldquo;Truth is confirmed by inspection and delay; falsehood by haste and uncertainty.&rdquo; &mdash; <I>Tacitus</i>"
	quote[31]="&ldquo;Valor is of no service, chance rules all, and the bravest often fall by the hands of cowards.&rdquo; &mdash; <I>Tacitus</i>"
	quote[32]="&ldquo;Victor and vanquished never unite in substantial agreement.&rdquo; &mdash; <I>Tacitus</i>"
	quote[33]="&ldquo;We see many who are struggling against adversity who are happy, and more although abounding in wealth, who are wretched.&rdquo; &mdash; <I>Tacitus</i>"
	quote[34]="&ldquo;When a woman has lost her chastity she will shrink from nothing.&rdquo; &mdash; <I>Tacitus</i>"
	quote[35]="&ldquo;When men are full of envy they disparage everything, whether it be good or bad.&rdquo; &mdash; <I>Tacitus</i>"
	quote[36]="&ldquo;When the state is most corrupt, then the laws are most multiplied.&rdquo; &mdash; <I>Tacitus</i>"
	quote[37]="&ldquo;A man calumniated is doubly injured - first by him who utters the calumny, and then by him who believes it.&rdquo; &mdash; <I>Herodotus</i>"
	quote[38]="&ldquo;All men\'s gains are the fruit of venturing.&rdquo; &mdash; <I>Herodotus</i>"
	quote[39]="&ldquo;As the old saw says well: every end does not appear together with its beginning.&rdquo; &mdash; <I>Herodotus</i>"
	quote[40]="&ldquo;But I like not these great success of yours; for I know how jealous are the gods.&rdquo; &mdash; <I>Herodotus</i>"
	quote[41]="&ldquo;Circumstances rule men; men do not rule circumstances.&rdquo; &mdash; <I>Herodotus</i>"
	quote[42]="&ldquo;Civil strife is as much a greater evil than a concerted war effort as war itself is worse than peace.&rdquo; &mdash; <I>Herodotus</i>"
	quote[43]="&ldquo;Death is a delightful hiding place for weary men.&rdquo; &mdash; <I>Herodotus</i>"
	quote[44]="&ldquo;Do you see how the god always hurls his bolts at the greatest houses and the tallest trees. For he is wont to thwart whatever is greater than the rest.&rdquo; &mdash; <I>Herodotus</i>"
	quote[45]="&ldquo;Force has no place where there is need of skill.&rdquo; &mdash; <I>Herodotus</i>"
	quote[46]="&ldquo;God does not suffer presumption in anyone but himself.&rdquo; &mdash; <I>Herodotus</i>"
	quote[47]="&ldquo;Great deeds are usually wrought at great risks.&rdquo; &mdash; <I>Herodotus</i>"
	quote[48]="&ldquo;Great things are won by great dangers.&rdquo; &mdash; <I>Herodotus</i>"
	quote[49]="&ldquo;He is the best man who, when making his plans, fears and reflects on everything that can happen to him, but in the moment of action is bold.&rdquo; &mdash; <I>Herodotus</i>"
	quote[50]="&ldquo;How much better a thing it is to be envied than to be pitied.&rdquo; &mdash; <I>Herodotus</i>"
	quote[51]="&ldquo;I am bound to tell what I am told, but not in every case to believe it.&rdquo; &mdash; <I>Herodotus</i>"
	quote[52]="&ldquo;I never yet feared those men who set a place apart in the middle of their cities where they gather to cheat one another and swear oaths which they break.&rdquo; &mdash; <I>Herodotus</i>"
	quote[53]="&ldquo;If a man insisted always on being serious, and never allowed himself a bit of fun and relaxation, he would go mad or become unstable without knowing it.&rdquo; &mdash; <I>Herodotus</i>"
	quote[54]="&ldquo;If someone were to put a proposition before men bidding them choose, after examination, the best customs in the world, each nation would certainly select its own.&rdquo; &mdash; <I>Herodotus</i>"
	quote[55]="&ldquo;Illness strikes men when they are exposed to change.&rdquo; &mdash; <I>Herodotus</i>"
	quote[56]="&ldquo;In peace, sons bury their fathers. In war, fathers bury their sons.&rdquo; &mdash; <I>Herodotus</i>"
	quote[57]="&ldquo;In soft regions are born soft men.&rdquo; &mdash; <I>Herodotus</i>"
	quote[58]="&ldquo;It is better by noble boldness to run the risk of being subject to half the evils we anticipate than to remain in cowardly listlessness for fear of what might happen.&rdquo; &mdash; <I>Herodotus</i>"
	quote[59]="&ldquo;It is clear that not in one thing alone, but in many ways equality and freedom of speech are a good thing.&rdquo; &mdash; <I>Herodotus</i>"
	quote[60]="&ldquo;It\'s impossible for someone who is human to have all good things together, just as there is no single country able to provide all good things for itself.&rdquo; &mdash; <I>Herodotus</i>"
	quote[61]="&ldquo;Knowledge may give weight, but accomplishments give lustre, and many more people see than weigh.&rdquo; &mdash; <I>Herodotus</i>"
	quote[62]="&ldquo;Many exceedingly rich men are unhappy, but many middling circumstances are fortunate.&rdquo; &mdash; <I>Herodotus</i>"
	quote[63]="&ldquo;Men trust their ears less than their eyes.&rdquo; &mdash; <I>Herodotus</i>"
	quote[64]="&ldquo;Men\'s fortunes are on a wheel, which in its turning suffers not the same man to prosper for ever.&rdquo; &mdash; <I>Herodotus</i>"
	quote[65]="&ldquo;Of all men\'s miseries the bitterest is this: to know so much and to have control over nothing.&rdquo; &mdash; <I>Herodotus</i>"
	quote[66]="&ldquo;Of all possessions a friend is the most precious.&rdquo; &mdash; <I>Herodotus</i>"
	quote[67]="&ldquo;One should always look to the end of everything, how it will finally come out. For the god has shown blessedness to many only to overturn them utterly in the end.&rdquo; &mdash; <I>Herodotus</i>"
	quote[68]="&ldquo;Remember that with her clothes a woman puts off her modesty.&rdquo; &mdash; <I>Herodotus</i>"
	quote[69]="&ldquo;Soft men tend to be born from soft countries.&rdquo; &mdash; <I>Herodotus</i>"
	quote[70]="&ldquo;Some men give up their designs when they have almost reached the goal; While others, on the contrary, obtain a victory by exerting, at the last moment, more vigorous efforts than ever before.&rdquo; &mdash; <I>Herodotus</i>"
	quote[71]="&ldquo;The destiny of man is in his own soul.&rdquo; &mdash; <I>Herodotus</i>"
	quote[72]="&ldquo;The ears of men are lesser agents of belief than their eyes.&rdquo; &mdash; <I>Herodotus</i>"
	quote[73]="&ldquo;The gods loves to punish whatever is greater than the rest.&rdquo; &mdash; <I>Herodotus</i>"
	quote[74]="&ldquo;The man who has planned badly, if fortune is on his side, may have had a stroke of luck; but his plan was a bad one nonetheless.&rdquo; &mdash; <I>Herodotus</i>"
	quote[75]="&ldquo;The most hateful human misfortune is for a wise man to have no influence.&rdquo; &mdash; <I>Herodotus</i>"
	quote[76]="&ldquo;The only good is knowledge, and the only evil is ignorance.&rdquo; &mdash; <I>Herodotus</i>"
	quote[77]="&ldquo;The worst pain a man can suffer: to have insight into much and power over nothing.&rdquo; &mdash; <I>Herodotus</i>"
	quote[78]="&ldquo;There is nothing more foolish, nothing more given to outrage than a useless mob.&rdquo; &mdash; <I>Herodotus</i>"
	quote[79]="&ldquo;To think well and to consent to obey someone giving good advice are the same thing.&rdquo; &mdash; <I>Herodotus</i>"
	quote[80]="&ldquo;Very few things happen at the right time, and the rest do not happen at all. The conscientious historian will correct these defects.&rdquo; &mdash; <I>Herodotus</i>"
	quote[81]="&ldquo;Whatever comes from God is impossible for a man to turn back.&rdquo; &mdash; <I>Herodotus</i>"
	quote[82]="&ldquo;When a woman removes her garment, she also removes the respect that is hers.&rdquo; &mdash; <I>Herodotus</i>"
	quote[83]="&ldquo;Be convinced that to be happy means to be free and that to be free means to be brave. Therefore do not take lightly the perils of war.&rdquo; &mdash; <I>Thucydides</i>"
	quote[84]="&ldquo;Few things are brought to a successful issue by impetuous desire, but most by calm and prudent forethought.&rdquo; &mdash; <I>Thucydides</i>"
	quote[85]="&ldquo;History is Philosophy teaching by examples.&rdquo; &mdash; <I>Thucydides</i>"
	quote[86]="&ldquo;Ignorance is bold and knowledge reserved.&rdquo; &mdash; <I>Thucydides</i>"
	quote[87]="&ldquo;It is frequently a misfortune to have very brilliant men in charge of affairs. They expect too much of ordinary men.&rdquo; &mdash; <I>Thucydides</i>"
	quote[88]="&ldquo;Justice will not come to Athens until those who are not injured are as indignant as those who are injured.&rdquo; &mdash; <I>Thucydides</i>"
	quote[89]="&ldquo;Men naturally despise those who court them, but respect those who do not give way to them.&rdquo; &mdash; <I>Thucydides</i>"
	quote[90]="&ldquo;Men\'s indignation, it seems, is more excited by legal wrong than by violent wrong; the first looks like being cheated by an equal, the second like being compelled by a superior.&rdquo; &mdash; <I>Thucydides</i>"
	quote[91]="&ldquo;The bravest are surely those who have the clearest vision of what is before them, glory and danger alike, and yet notwithstanding, go out to meet it.&rdquo; &mdash; <I>Thucydides</i>"
	quote[92]="&ldquo;The secret to happiness is freedom... And the secret to freedom is courage.&rdquo; &mdash; <I>Thucydides</i>"
	quote[93]="&ldquo;The strong do what they have to do and the weak accept what they have to accept.&rdquo; &mdash; <I>Thucydides</i>"
	quote[94]="&ldquo;Wars spring from unseen and generally insignificant causes, the first outbreak being often but an explosion of anger.&rdquo; &mdash; <I>Thucydides</i>"
	quote[95]="&ldquo;We Greeks are lovers of the beautiful, yet simple in our tastes, and we cultivate the mind without loss of manliness.&rdquo; &mdash; <I>Thucydides</i>"
	quote[96]="&ldquo;We secure our friends not by accepting favors but by doing them.&rdquo; &mdash; <I>Thucydides</i>"
	quote[97]="&ldquo;Those who know how to win are much more numerous than those who know how to make proper use of their victories.&rdquo; &mdash; <I>Polybius</i>"
	quote[98]="&ldquo;A fraudulent intent, however carefully concealed at the outset, will generally, in the end, betray itself.&rdquo; &mdash; <I>Titus Livius</i>"
	quote[99]="&ldquo;All things will be clear and distinct to the man who does not hurry; haste is blind and improvident.&rdquo; &mdash; <I>Titus Livius</i>"
	quote[100]="&ldquo;Envy like fire always makes for the highest points.&rdquo; &mdash; <I>Titus Livius</i>"
	quote[101]="&ldquo;Favor and honor sometimes fall more fitly on those who do not desire them.&rdquo; &mdash; <I>Titus Livius</i>"
	quote[102]="&ldquo;Fortune blinds men when she does not wish them to withstand the violence of her onslaughts.&rdquo; &mdash; <I>Titus Livius</i>"
	quote[103]="&ldquo;From abundance springs satiety.&rdquo; &mdash; <I>Titus Livius</i>"
	quote[104]="&ldquo;He will have true glory who despises it.&rdquo; &mdash; <I>Titus Livius</i>"
	quote[105]="&ldquo;In difficult and desperate cases, the boldest counsels are the safest.&rdquo; &mdash; <I>Titus Livius</i>"
	quote[106]="&ldquo;It is better that a guilty man should not be brought to trial than that he should be acquitted.&rdquo; &mdash; <I>Titus Livius</i>"
	quote[107]="&ldquo;It is easier to criticize than to correct our past errors.&rdquo; &mdash; <I>Titus Livius</i>"
	quote[108]="&ldquo;It is easy at any moment to surrender a large fortune; to build one up is a difficult and an arduous task.&rdquo; &mdash; <I>Titus Livius</i>"
	quote[109]="&ldquo;Luck is of little moment to the great general, for it is under the control of his intellect and his judgment.&rdquo; &mdash; <I>Titus Livius</i>"
	quote[110]="&ldquo;Many difficulties which nature throws in our way, may be smoothed away by the exercise of intelligence.&rdquo; &mdash; <I>Titus Livius</i>"
	quote[111]="&ldquo;Men are only clever at shifting blame from their own shoulders to those of others.&rdquo; &mdash; <I>Titus Livius</i>"
	quote[112]="&ldquo;Men are slower to recognize blessings than misfortunes.&rdquo; &mdash; <I>Titus Livius</i>"
	quote[113]="&ldquo;No crime can ever be defended on rational grounds.&rdquo; &mdash; <I>Titus Livius</i>"
	quote[114]="&ldquo;No law can possibly meet the convenience of every one: we must be satisfied if it be beneficial on the whole and to the majority.&rdquo; &mdash; <I>Titus Livius</i>"
	quote[115]="&ldquo;Nowhere are our calculations more frequently upset than in war.&rdquo; &mdash; <I>Titus Livius</i>"
	quote[116]="&ldquo;Resistance to criminal rashness comes better late than never.&rdquo; &mdash; <I>Titus Livius</i>"
	quote[117]="&ldquo;Rome has grown since its humble beginnings that it is now overwhelmed by its own greatness.&rdquo; &mdash; <I>Titus Livius</i>"
	quote[118]="&ldquo;Temerity is not always successful.&rdquo; &mdash; <I>Titus Livius</i>"
	quote[119]="&ldquo;The old Romans all wished to have a king over them because they had not yet tasted the sweetness of freedom.&rdquo; &mdash; <I>Titus Livius</i>"
	quote[120]="&ldquo;The populace is like the sea motionless in itself, but stirred by every wind, even the lightest breeze.&rdquo; &mdash; <I>Titus Livius</i>"
	quote[121]="&ldquo;The result showed that fortune helps the brave.&rdquo; &mdash; <I>Titus Livius</i>"
	quote[122]="&ldquo;The sun has not yet set for all time.&rdquo; &mdash; <I>Titus Livius</i>"
	quote[123]="&ldquo;The troubles which have come upon us always seem more serious than those which are only threatening.&rdquo; &mdash; <I>Titus Livius</i>"
	quote[124]="&ldquo;There are laws for peace as well as war.&rdquo; &mdash; <I>Titus Livius</i>"
	quote[125]="&ldquo;There is always more spirit in attack than in defence.&rdquo; &mdash; <I>Titus Livius</i>"
	quote[126]="&ldquo;There is nothing man will not attempt when great enterprises hold out the promise of great rewards.&rdquo; &mdash; <I>Titus Livius</i>"
	quote[127]="&ldquo;There is nothing that is more often clothed in an attractive garb than a false creed.&rdquo; &mdash; <I>Titus Livius</i>"
	quote[128]="&ldquo;There is nothing worse than being ashamed of parsimony or poverty.&rdquo; &mdash; <I>Titus Livius</i>"
	quote[129]="&ldquo;They are more than men at the outset of their battles; at the end they are less than the women.&rdquo; &mdash; <I>Titus Livius</i>"
	quote[130]="&ldquo;This above all makes history useful and desirable; it unfolds before our eyes a glorious record of exemplary actions.&rdquo; &mdash; <I>Titus Livius</i>"
	quote[131]="&ldquo;Toil and pleasure, dissimilar in nature, are nevertheless united by a certain natural bond.&rdquo; &mdash; <I>Titus Livius</i>"
	quote[132]="&ldquo;Truth, they say, is but too often in difficulties, but is never finally suppressed.&rdquo; &mdash; <I>Titus Livius</i>"
	quote[133]="&ldquo;Under the influence of fear, which always leads men to take a pessimistic view of things, they magnified their enemies\' resources, and minimized their own.&rdquo; &mdash; <I>Titus Livius</i>"
	quote[134]="&ldquo;We can endure neither our vices nor the remedies for them.&rdquo; &mdash; <I>Titus Livius</i>"
	quote[135]="&ldquo;Woe to the conquered.&rdquo; &mdash; <I>Titus Livius</i>"
	quote[136]="&ldquo;A good man would prefer to be defeated than to defeat injustice by evil means.&rdquo; &mdash; <I>Sallust</i>"
	quote[137]="&ldquo;All those who offer an opinion on any doubtful point should first clear their minds of every sentiment of dislike, friendship, anger or pity.&rdquo; &mdash; <I>Sallust</i>"
	quote[138]="&ldquo;All who consult on doubtful matters, should be void of hatred, friendship, anger, and pity.&rdquo; &mdash; <I>Sallust</i>"
	quote[139]="&ldquo;Ambition breaks the ties of blood, and forgets the obligations of gratitude.&rdquo; &mdash; <I>Sallust</i>"
	quote[140]="&ldquo;Ambition drove many men to become false; to have one thought locked in the breast, another ready on the tongue.&rdquo; &mdash; <I>Sallust</i>"
	quote[141]="&ldquo;As the blessings of health and fortune have a beginning, so they must also find an end. Everything rises but to fall, and increases but to decay.&rdquo; &mdash; <I>Sallust</i>"
	quote[142]="&ldquo;Before you act, consider; when you have considered, tis fully time to act.&rdquo; &mdash; <I>Sallust</i>"
	quote[143]="&ldquo;By union the smallest states thrive. By discord the greatest are destroyed.&rdquo; &mdash; <I>Sallust</i>"
	quote[144]="&ldquo;Distinguished ancestors shed a powerful light on their descendants, and forbid the concealment either of their merits or of their demerits.&rdquo; &mdash; <I>Sallust</i>"
	quote[145]="&ldquo;Do as much as possible, and talk of yourself as little as possible.&rdquo; &mdash; <I>Sallust</i>"
	quote[146]="&ldquo;Every bad precedent originated as a justifiable measure.&rdquo; &mdash; <I>Sallust</i>"
	quote[147]="&ldquo;Every man is the architect of his own fortune.&rdquo; &mdash; <I>Sallust</i>"
	quote[148]="&ldquo;Everything that rises sets, and everything that grows, grows old.&rdquo; &mdash; <I>Sallust</i>"
	quote[149]="&ldquo;Few men desire liberty; most men wish only for a just master.&rdquo; &mdash; <I>Sallust</i>"
	quote[150]="&ldquo;Harmony makes small things grow, lack of it makes great things decay.&rdquo; &mdash; <I>Sallust</i>"
	quote[151]="&ldquo;He only seems to me to live, and to make proper use of life, who sets himself some serious work to do, and seeks the credit of a task well and skillfully performed.&rdquo; &mdash; <I>Sallust</i>"
	quote[152]="&ldquo;He that will be angry for anything will be angry for nothing.&rdquo; &mdash; <I>Sallust</i>"
	quote[153]="&ldquo;In battle it is the cowards who run the most risk; bravery is a rampart of defense.&rdquo; &mdash; <I>Sallust</i>"
	quote[154]="&ldquo;In my opinion it is less shameful for a king to be overcome by force of arms than by bribery.&rdquo; &mdash; <I>Sallust</i>"
	quote[155]="&ldquo;In my opinion, he only may be truly said to live and enjoy his being who is engaged in some laudable pursuit, and acquires a name by some illustrious action, or useful art.&rdquo; &mdash; <I>Sallust</i>"
	quote[156]="&ldquo;In my own case, who have spent my whole life in the practice of virtue, right conduct from habitual has become natural.&rdquo; &mdash; <I>Sallust</i>"
	quote[157]="&ldquo;It is a law of human nature that in victory even the coward may boast of his prowess, while defeat injures the reputation even of the brave.&rdquo; &mdash; <I>Sallust</i>"
	quote[158]="&ldquo;It is better to use fair means and fail, than foul and conquer.&rdquo; &mdash; <I>Sallust</i>"
	quote[159]="&ldquo;Just to stir things up seemed a great reward in itself.&rdquo; &mdash; <I>Sallust</i>"
	quote[160]="&ldquo;Kings are more prone to mistrust the good than the bad; and they are always afraid of the virtues of others.&rdquo; &mdash; <I>Sallust</i>"
	quote[161]="&ldquo;Most honorable are services rendered to the State; even if they do not go beyond words, they are not to be despised.&rdquo; &mdash; <I>Sallust</i>"
	quote[162]="&ldquo;Necessity makes even the timid brave.&rdquo; &mdash; <I>Sallust</i>"
	quote[163]="&ldquo;Neither soldiers nor money can defend a king but only friends won by good deeds, merit, and honesty.&rdquo; &mdash; <I>Sallust</i>"
	quote[164]="&ldquo;No man underestimates the wrongs he suffers; many take them more seriously than is right.&rdquo; &mdash; <I>Sallust</i>"
	quote[165]="&ldquo;No mortal man has ever served at the same time his passions and his best interests.&rdquo; &mdash; <I>Sallust</i>"
	quote[166]="&ldquo;Small communities grow great through harmony, great ones fall to pieces through discord.&rdquo; &mdash; <I>Sallust</i>"
	quote[167]="&ldquo;The fame that goes with wealth and beauty is fleeting and fragile; intellectual superiority is a possession glorious and eternal.&rdquo; &mdash; <I>Sallust</i>"
	quote[168]="&ldquo;The firmest friendship is based on an identity of likes and dislikes.&rdquo; &mdash; <I>Sallust</i>"
	quote[169]="&ldquo;The glory that goes with wealth is fleeting and fragile; virtue is a possession glorious and eternal.&rdquo; &mdash; <I>Sallust</i>"
	quote[170]="&ldquo;The higher your station, the less your liberty.&rdquo; &mdash; <I>Sallust</i>"
	quote[171]="&ldquo;They envy the distinction I have won; let them therefore, envy my toils, my honesty, and the methods by which I gained it.&rdquo; &mdash; <I>Sallust</i>"
	quote[172]="&ldquo;Think like a man of action, and act like a man of thought.&rdquo; &mdash; <I>Sallust</i>"
	quote[173]="&ldquo;Those most moved to tears by every word of a preacher are generally weak and a rascal when the feelings evaporate.&rdquo; &mdash; <I>Sallust</i>"
	quote[174]="&ldquo;To like and dislike the same things, this is what makes a solid friendship.&rdquo; &mdash; <I>Sallust</i>"
	quote[0]="&ldquo;We employ the mind to rule, the body to serve.&rdquo; &mdash; <I>Sallust</i>"


	var rotatingimage = [];
	rotatingimage[1] = "images/cover-page-image_ti-gracchus_170x189.png";
	rotatingimage[2] = "images/cover-page-image_Caracalla_170x189.png";
	rotatingimage[3] = "images/cover-page-image_c-gracchus_170x189.png";
	rotatingimage[4] = "images/cover-page-image_Cicero_170x189.png";
	rotatingimage[5] = "images/cover-page-image_patrician2_170x189.png";
	rotatingimage[6] = "images/cover-page-image_Marius_170x189.png";
	rotatingimage[7] = "images/cover-page-image_nero_170x189.png";
	rotatingimage[8] = "images/cover-page-image_patrician_170x189.png";
	rotatingimage[9] = "images/cover-page-image_scipio_170x189.png";
	rotatingimage[0] = "images/cover-page-image_Sulla_170x189.png";
	var rotatingtitle = [];
	rotatingtitle[1] = "Ti. Sempronius Gracchus";
	rotatingtitle[2] = "Caracalla";
	rotatingtitle[3] = "C. Sempronius Gracchus";
	rotatingtitle[4] = "M. Tullius Cicero";
	rotatingtitle[5] = "Roman Patrician";
	rotatingtitle[6] = "C. Marius";
	rotatingtitle[7] = "Nero";
	rotatingtitle[8] = "Roman Patrician";
	rotatingtitle[9] = "P. Cornelius Scipio Africanus";
	rotatingtitle[0] = "L. Cornelius Sulla";

	var maxLength1 = quote.length;
    var position1 = Math.floor(Math.random() * maxLength1);
	var maxLength2 = rotatingimage.length;
    var position2 = Math.floor(Math.random() * maxLength2);

	document.getElementById('quoteWrapper').innerHTML = 
		'<span class="inlinehead">Quote of the Day</span>' + quote[position1] ;
	document.getElementById('imgCoverPage').src = rotatingimage[position2] ;
	document.getElementById('imgCoverPage').title = rotatingtitle[position2] ;
}

