// javascript for jolin consulting pages 28 July 2002

// set script email
//eM: Email - bottom of page - small class
//eMs: Email side panel - regular class
// USE: <script type="text/javascript">document.write(eM);</script>
var eM='<a href="mailto:info'
eM = eM + '@joli'
eM = eM + 'n.com.au?subject=Message via web site"'
var eMs = eM
eM= eM + ' class="small">Email Us'
eM = eM + '</a>'
eMs = eMs + '>info'
eMs = eMs + '@jolin'
eMs = eMs + '.com.au</a>'

// set date format
// USE: <script type="text/javascript">document.write(cYear);</script><noscript>2010</noscript>
var cMonths = new Array("January","February","March","April","May","June","July","August","September","October","November","December")
var cTime = new Date()
var cYear = cTime.getYear()
if (cYear<2000) cYear = cYear + 1900
var cDate = cMonths[cTime.getMonth()] + " " + cTime.getDate() + ", " + cYear

// rollovers
var base = "http://www.jolin.com.au/consulting/img/"
//var base = "img/"
co_off = new Image(); co_off.src = base + "co_off.gif"
co_on = new Image(); co_on.src = base + "co_on.gif"
ed_off = new Image(); ed_off.src = base + "ed_off.gif"
ed_on = new Image(); ed_on.src = base + "ed_on.gif"
em_off = new Image(); em_off.src = base + "em_off.gif"
em_on = new Image(); em_on.src = base + "em_on.gif"
ap_off = new Image(); ap_off.src = base + "pc_off.gif"
ap_on = new Image(); ap_on.src = base + "pc_on.gif"
ab_off = new Image(); ab_off.src = base + "ab_off.gif"
ab_on = new Image(); ab_on.src = base + "ab_on.gif"
cc_off = new Image(); cc_off.src = base + "cc_off.gif"
cc_on = new Image(); cc_on.src = base + "cc_on.gif"

function nav(imgid,imgnew,imgmsg) {
document.images[imgid].src=eval(imgnew + ".src")
window.status = imgmsg
}

// top right image scrambler
i = new Array(5)
i[0] = "group"
i[1] = "group3"
i[2] = "clock"
i[3] = "lady"
i[4] = "lady2"
i[5] = "man"
var x = 6 * Math.random()
x = Math.floor(x)
var scene = i[x]

// quote picker
// double quotes = 147, 148
n = 10
q = new Array(n)
q[0] = "&#145;Knowing is not enough; we must apply,<br>Willing is not enough; we must do.&#146;<br /><i>Goethe</i>"
q[1] = "&#145;Strength lies in differences, not in similarities.&#146;<br /><i>Stephen R Covey</i>"
q[2] = "&#145;Nothing is more terrible than activity without insight.&#146;<br /><i>Thomas Carlyle</i>"
q[3] = "&#145;Success is a journey, not a destination.&#146;<br /><i>Ben Sweetland</i>"
q[4] = "&#145;One's destination is never a place, but rather a new way of looking at things.&#146;<br /><i>Henry Miller</i>"
q[5] = "&#145;You learn in life that the only person you can really correct and change is yourself.&#146;<br /><i>Katharine Hepburn</i>"
q[6] = "&#145;Change is the law of life. And those who look only to the past or present are certain to miss the future.&#146;<br /><i>John F Kennedy</i>"
q[7] = "&#145;Good is the enemy of great.&#146;<br /><i>Jim Collins</i>"
q[8] = "&#145;First you jump off the cliff and you build wings on the way down.&#146;<br /><i>Ray Bradbury</i>"
q[9] = "&#145;The biggest mistake people make in life is not trying to make a living at doing what they enjoy most.&#146;<br /><i>Malcolm S Forbes</i>"
q[10] = "&#145;Above all, challenge yourself! You may well surprise yourself of what strengths you have, what you can accomplish.&#146;<br /><i>Cecile M Springer</i>"
//q[] = "&#145;&#146;<br /><i></i>"
var x = (n + 1) * Math.random()
x = Math.floor(x)
var quote1 = q[x]
do {
var y = 10 * Math.random()
y = Math.floor(y)
}
while (x==y)
var quote2 = q[y]
do {
var z = 10 * Math.random()
z = Math.floor(z)
}
while (z==x || z==y )
var quote3 = q[z]
