// JavaScript Document



//START TESTIMONIALS
var textnumber = 5 ; 
var randomnumber = Math.random() ; 
var rand = Math.round( (textnumber-1) * randomnumber) + 1 ; 
text = new Array 

text[1] = '<p>Friendly, efficient and affordable<br/><br/>~ Karen Ausejo Cooper</p>';
text[2] = '<p>Powell Painting employees were professional and conscientious while working on our exterior painting project.<br/><br/>~ Tanya Schoenroth <br/>Interior Designer, BA, BADID<br/>Tanya Schoenroth Design</p>';
text[3] = '<p>Powell Painting took the time to come back and check on the job after completion, as well as offering touch-ups down the road if needed.<br/><br/>~ Tanya Schoenroth <br/>Interior Designer, BA, BADID<br/>Tanya Schoenroth Design</p>';
text[4] = '<p>Tanja made painting easy. I just picked out the colours, trusted her to decide the rest and she and her team did a beautiful job!<br/><br/>~ Liz Verhoeve</p>';
text[5] = '<p>Kenorah takes tremendous pride in delivering exceptional results to homeowners. In order to maintain this standard, it is essential to partner with trades who demonstrate the same passion, knowledge, skill and attention to detail. Powell Painting consistently exceeds our expectations and, more importantly, delights our clients. As Kenorah\'s preferred painter, Powell handles the majority of our renovation and custom build projects.<br/><br/>~ Graham Collins <br/><a href="http://www.kenorah.com/" target="_blank">Kenorah Construction &amp; Design Ltd</a></p>';

var mytext = text[rand];
//END TESTIMONIALS


//START IMAGE ROTATION
var textnumber1 = 1 ; 
var randomnumber1 = Math.random() ; 
var rand1 = Math.round( (textnumber1) * randomnumber1) + 1 ; 
text1 = new Array 

text1[1] = '<img src="/images/header/kitchen-1.jpg" alt="Kitchen" />';
text1[2] = '<img src="/images/header/exterior-1.jpg" alt="Exterior Painting" />';
text1[3] = '<img src="/images/header/bathroom-1.jpg" alt="Bathroom" />';
text1[4] = '<img src="/images/header/kitchen-2.jpg"alt="Kitchen" />';
text1[5] = '<img src="/images/header/living-room-1.jpg" alt="Living Room" />';
text1[6] = '<img src="/images/header/kitchen-3.jpg" alt="Kitchen" />';



var mytext1 = text1[rand1];
//END IMAGE ROTATION


