// JavaScript Document


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



text[1] = "Over the years I have been fitted with several different hearing devices and find that Peter would carefully listen to my needs then make suggestions that would work for me. I have had follow-up visits where everything is done to make sure the hearing aid is comfortable and working the way I want it. <br /><br />Mike Adams.<br />Surrey, BC.";

text[2] = "I have worked in the service industry for 36 years and know what good service is. I recommend Southwest Hearing Clinic as 'the place' to be tested and, if needed, fitted with the correct hearing device. I have depended upon their help since 1999. They support what they sell and are always there to make sure of patient satisfaction. <br /><br />Mike Adams, <br />Surrey, BC.";

text[3] = "Honesty and integrity have always been one of my top requirements. I have been a patient of Peter Slobin's for the last 12 years and have always been treated with respect and sincerity. I feel very comfortable with Peter's decision making skill as an audiologist. <br /><br />Janis McDonald, Surrey BC ";

text[4] = "My experience with Peter Slobin and the Southwest Hearing Clinic was nothing but positive. Peter made me feel comfortable with acquiring two hearing aids, a new experience for me. He displayed several choices and told of their advantages and disadvantages, then let me make my own decision.  There was follow-up at which time he fine-tuned my new 'accessories'. Any time I phoned the office, the staff member who answered was very helpful.  All in all I am <strong>very</strong> satisfied!  <br /><br />Ann Sutherland, <br />White Rock BC ";

text[5] = "My job entails a lot of presentation and managing of meetings and workshops. Asking people to repeat themselves was beginning to cause problems. The advice I received was first rate as I was very self conscious about my appearance and the convenience of using hearing aids. Peter\'s understanding of my concerns was well appreciated. Peter does a thorough hearing test and takes the time to manipulate the  hearing aid soft wear to produce effective results. His general approach and response to the detailed requirements of the customer promotes confidence. He pays particular attention to ongoing follow-up.<br /><br />Bryan Kendrick, <br />Surrey, BC ";


var mytext = text[rand1];
//END Testimonials



/*text[7] = "I wore my hearing aids during a 21 gun salute. I found that there was no discomfort, no ringing in my ears and could hear really well before and after the salute. <br /><br />Tom P.,<br />Surrey, BC.";

text[5] = "I will be getting back to singing more now because when I sing, I know if I am singing flat, minor or major key. When I sing, I no longer have the feeling of a bucket over my head. When playing the trumpet I hear a truer sound than I did before. It is marvelous what has transpired over the years when it comes to hearing aid technology.<br /><br />Tom P.,<br />Surrey, BC.";


text[5] = "I now have more confidence when visiting physicians.  I am able to explain medication features and benefits more confidently because I am able to quickly answer physician queries whereas in the past I tended to evade discussion, or even bluff if I really wasn't sure what the physician was asking. It can be very frustrating if I need to ask physicians to repeat themselves, especially because they are so busy. The bottom line in this job is the ability to listen and assess the needs of physicians and their patients. I am able to do this more confidently now and I am more passionate and enthusiastic than I have been in the past. I am now able to carry out my work at my true potential.";*/



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

text1[1] = '<img src="/assets/images/header-fade.jpg" alt="" />';
text1[2] = '<img src="/assets/images/header-fade.jpg" alt="" width="200px"/>';

var mytext1 = text1[rand1];
//END QUOTES


//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(); }
}

