


//window.onload = setTest;

//Random Quote Rotator

//quote array
quoteList = new Array();
	
quoteList[0] = "&quot;After being turned down for financing at other places, I went to Breast Augmentation You Can Afford and they were able to help me get a breast augmentation.  Thanks Breast Augmentation You Can Afford.&quot; <br />-MN";
quoteList[1] = "&quot;The doctor and the office were both awesome.  The best part is that they were able to help me figure out how to get my breast augmentation financed which I did not think was possible.   Thank you so much!&quot;<br />-PB";
quoteList[2] = "&quot;I was really unsure about whether I wanted to have a breast augmentation.  When Breast Augmentation You Can Afford offered me a free consultation, I figured why not see what it would be like.   They spent over an hour with me during the appointment and made me feel really comfortable about the surgery.  1 month later I had an augmentation and have been loving it ever since.&quot;<br />-HK";
quoteList[3] = "&quot;Wow!   That is all I can say.   With my credit score, I did not think I would be able to get the procedure.  With their flexible plans, Breast Augmentation You Can Afford was able to help me find a way to have a much needed Breast Augmentation.   Thank You Thank You Thank You.&quot;<br />-MD";


//picList = new Array();

//picList[0] = "images/testPics/delPic.png";
//picList[1] = "images/testPics/scottPic.png";
//picList[2] = "images/testPics/delPic.png";
//picList[3] = "images/testPics/simeonPic.png";


//urlList = new Array();

//urlList[0] = "testimonial_del.php";
//urlList[1] = "testimonial_scott.php";
//urlList[2] = "testimonial_chris.php";
//urlList[3] = "testimonial_rich.php";

	
//randomization
var now = new Date();
var secs = now.getSeconds();
var raw_random_number = Math.random(secs);
var random_number = Math.round(raw_random_number * (quoteList.length));

if (random_number == quoteList.length){random_number = 0}
	
	
//set quote
var quote = quoteList[random_number];
//set url
//var url = urlList[random_number];
//set pic
//var pic = picList[random_number];
function setTest() {
//document.getElementById('testPic').style.background = "url('" + pic + "')";
//document.getElementById('testLink').href = url;
document.getElementById('quote').innerHTML = quote;
}



function addLoadEvent(func) {
  var oldonload = window.onload;
  if (typeof window.onload != 'function') {
    window.onload = func;
  } else {
    window.onload = function() {
      if (oldonload) {
        oldonload();
      }
      func();
    }
  }
}

addLoadEvent( function() { setTest()} )


				  