//rollovers
img1=new Image
img2=new Image
img3=new Image
img4=new Image
img5=new Image
img6=new Image
img7=new Image
img8=new Image
img9=new Image
img10=new Image
img11=new Image
img12=new Image
img13=new Image
img14=new Image
img15=new Image
img16=new Image
img17=new Image
img18=new Image
img19=new Image
img20=new Image

img1.src="/assets/images/template/nav-home.gif"
img2.src="/assets/images/template/nav-home-roll.gif"

img3.src="/assets/images/template/nav-lessons.gif"
img4.src="/assets/images/template/nav-lessons-roll.gif"

img5.src="/assets/images/template/nav-about-linda.gif"
img6.src="/assets/images/template/nav-about-linda-roll.gif"

img7.src="/assets/images/template/nav-fun-at-the-factory.gif"
img8.src="/assets/images/template/nav-fun-at-the-factory-roll.gif"

img9.src="/assets/images/template/nav-giving-back.gif"
img10.src="/assets/images/template/nav-giving-back-roll.gif"

img11.src="/assets/images/template/nav-media.gif"
img12.src="/assets/images/template/nav-media-roll.gif"

img13.src="/assets/images/template/nav-links.gif"
img14.src="/assets/images/template/nav-links-roll.gif"

img15.src="/assets/images/template/nav-contact.gif"
img16.src="/assets/images/template/nav-contact-roll.gif"

img17.src="/assets/images/template/nav-calendar.gif"
img18.src="/assets/images/template/nav-calendar-roll.gif"

img19.src="/assets/images/template/nav-blog.gif"
img20.src="/assets/images/template/nav-blog-roll.gif"


//gallery images pre-load
var image1 = new Image();
image1.src = "gallery/images/moveup.gif";

var image2 = new Image();
image2.src = "gallery/images/moveup.gif";



//pop-up window function
function NewWindow(mypage, myname, w, h, scroll) {
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable'
win = window.open(mypage, myname, winprops)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}

/* --------------------------------------------*/
/* Testimonials*/

var testnumber = 4 ; 
var randomnumber2 = Math.random() ; 
var rand2 = Math.round( (testnumber-1) * randomnumber2) + 1 ; 
testimonial = new Array 
testimonial[1] = "'The concepts flow together and guide your thinking; I will actually go back to square one and make a new business / life plan. It's awesome!'<br /> T.M.- Jewelry Design and Sales" 
testimonial[2] = "'I've never had the whole picture presented before. A great way to start a business.' <br />H. W. - Business Owner" 
testimonial[3] = "'Very easy to understand,logical and methodical! Practical and useful not only for the business but in my personal life.' <br />U. M. - Day Spa Owner"
testimonial[4] = "' It confirmed that knowing your core is the most important basis to start from.' <br /> Y.T. - Shiatsu Practitioner"

var mytest = testimonial[rand2] 

/* ---------------------------------------------------*/

/*quotes*/

var textnumber = 11 ; 
var randomnumber = Math.random() ; 
var rand1 = Math.round( (textnumber-1) * randomnumber) + 1 ; 
text = new Array 
text[1] = "'There is always music amongst the trees, in the garden, but our hearts must be very quiet to hear it.'<br />....  M. Aumonier" 
text[2] = "'Music expresses that which can not be put into words, and that which can not remain silent.'<br />.... Victor Hugo" 
text[3] = "'Where words fail, music speaks'<br /> ....Hans Christian Anderson"
text[4] = "'Whatever you can do, or dream you can -  begin it - boldness has genius, power and magic in it.' <br /> ....Johann Wolfgang von Goethe"
text[5] = "'Music is the art of thinking with sounds.'<br /> ....Jules Combarieu"
text[6] = "'When a student prepares for music examination and performance, it is the experience and growth gained from this, that is of more significance than the mark itself.'<br /> ....Linda Jane"
text[7] = "'The whole problem can be stated quite simply by asking, 'Is there a meaning to music?' My answer would be, 'Yes.' And 'Can you state in so many words what the meaning is?' My answer to that would be, 'No.''<br /> ....Aaron Copland"
text[8] = "'Music is a higher revelation than all wisdom and philosophy.  Music is the electrical soil in which the spirit lives, thinks and invents.'<br /> ....Ludwig van Beethoven"
text[9] = "'Music is an outburst of the soul.'<br /> ....Frederick Deluis"
text[10] = "'Without music, life would be a mistake.'<br /> ....Friedrich Nietzsche"
text[11] = "'After silence, that which comes nearest to expressing the inexpressible is music.'<br /> ....Aldous Huxley"

var mytext = text[rand1] 

/* --------------------------------------*/

//slide show

// Set slideShowSpeed (milliseconds)
var slideShowSpeed = 4000;
// Duration of crossfade (seconds)
var crossFadeDuration = 3;
// Specify the image files
var Pic = new Array();
// to add more images, just continue
// the pattern, adding to the array below

Pic[0] = '/images/group1.jpg'
Pic[1] = '/images/group2.jpg'
Pic[2] = '/images/group3.jpg'
Pic[3] = '/images/group4.jpg'
Pic[4] = '/images/group5.jpg'

// do not edit anything below this line
var t;
var j = 0;
var p = Pic.length;
var preLoad = new Array();
for (i = 0; i < p; i++) {
preLoad[i] = new Image();
preLoad[i].src = Pic[i];
}
function runSlideShow() {
if (document.all) {
document.images.SlideShow.style.filter="blendTrans(duration=2)";
document.images.SlideShow.style.filter="blendTrans(duration=crossFadeDuration)";
document.images.SlideShow.filters.blendTrans.Apply();
}
document.images.SlideShow.src = preLoad[j].src;
if (document.all) {
document.images.SlideShow.filters.blendTrans.Play();
}
j = j + 1;
if (j > (p - 1)) j = 0;
t = setTimeout('runSlideShow()', slideShowSpeed);
}


