var core = 0 
var currentdate = 0 

function StringArray (n) { 
this.length = n; 
for (var i =1; i <= n; i++) { 
this[i] = ' ' 

} 
} 

quote = new StringArray(10) 
quote[0] = "Law can be defined as a set of rules used <span class='bold'>to control the behaviour of people</span> in society" 
quote[1] = "The school environment must become a place that is <span class='bold'>aware and informed</span> about HIV/AIDS" 
quote[2] = "The <span class='bold'>Promotion of Equality and Prevention of Unfair Discrimination Act</span> supplements Section 9 of the Bill of Rights (Equality)" 
quote[3] = "<span class='bold'>The law is binding on people</span>.  This means that its rules must be followed" 
quote[4] = "A <span class='bold'>Constitution</span> sets out the basic laws according to which a country is governed" 
quote[5] = "<span class='bold'>A Will</span> is a legal document that lays out how a person wants their property to be distributed after their death" 
quote[6] = "<span class='bold'>The Medical Schemes Act (1998)</span> states that a scheme is no longer allowed to exclude persons living with HIV/AIDS from membership" 
quote[7] = "<span class='bold'>A crime is a wrong against the State</span> for which the criminal is punished by the State" 
quote[8] = "<span class='bold'>Criminal law</span> attempts to control how people behave" 
quote[9] = "The <span class='bold'>Prevention of Family Violence Act</span> introduced the crime of marital rape" 


author = new StringArray(10) 
author[0] = "" 
author[1] = "" 
author[2] = "" 
author[3] = "" 
author[4] = "" 
author[5] = "" 
author[6] = "" 
author[7] = "" 
author[8] = "" 
author[9] = "" 

 

var ran = 60/quote.length 

currentdate = new Date() 
core = currentdate.getSeconds() 
adcore = Math.floor(core/ran) 
core = adcore 

var thequote = quote[core] 
var theauthor = author[core] 
var thebreak = '' 
var theq = '' 
var theend = '' 