Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script type="text/javascript">
- var imgLinks = [
- // format: ['imageSource','imageLinkURL'],
- ['https://empathytherapy.com/images/testimonials/empathytherapy-testimonial-yp.png','http://www.yellowpages.com/sacramento-ca/mip/empathy-therapy-470786328?lid=214280887'],
- ['https://empathytherapy.com/images/testimonials/empathytherapy-testimonial-01.png','http://www.yelp.com/biz/empathy-therapy-sacramento'],
- ['https://empathytherapy.com/images/testimonials/empathytherapy-testimonial-02.png','http://www.yelp.com/biz/empathy-therapy-sacramento'],
- ['https://empathytherapy.com/images/testimonials/empathytherapy-testimonial-03.png','http://www.yelp.com/biz/empathy-therapy-sacramento'],
- ['https://empathytherapy.com/images/testimonials/empathytherapy-testimonial-04.png','http://www.wellness.com/dir/6008222/psychiatrist/ca/sacramento/mark-chofla-empathy-therapy-do'],
- ['https://empathytherapy.com/images/testimonials/empathytherapy-testimonial-05.png','http://www.wellness.com/dir/6008222/psychiatrist/ca/sacramento/mark-chofla-empathy-therapy-do'],
- ['https://empathytherapy.com/images/testimonials/empathytherapy-testimonial-06.png','http://www.wellness.com/dir/6008222/psychiatrist/ca/sacramento/mark-chofla-empathy-therapy-do'], ['https://empathytherapy.com/images/testimonials/empathytherapy-testimonial-07.png','http://www.wellness.com/dir/6008222/psychiatrist/ca/sacramento/mark-chofla-empathy-therapy-do'], ['https://empathytherapy.com/images/testimonials/empathytherapy-testimonial-08.png','http://www.wellness.com/dir/6008222/psychiatrist/ca/sacramento/mark-chofla-empathy-therapy-do'], ['https://empathytherapy.com/images/testimonials/empathytherapy-testimonial-09.png','http://www.wellness.com/dir/6008222/psychiatrist/ca/sacramento/mark-chofla-empathy-therapy-do'], ['https://empathytherapy.com/images/testimonials/empathytherapy-testimonial-10.png','http://www.wellness.com/dir/6008222/psychiatrist/ca/sacramento/mark-chofla-empathy-therapy-do'], ['https://empathytherapy.com/images/testimonials/empathytherapy-testimonial-11.png','http://www.wellness.com/dir/6008222/psychiatrist/ca/sacramento/mark-chofla-empathy-therapy-do'],
- ['https://empathytherapy.com/images/testimonials/empathytherapy-testimonial-12.png','http://www.kudzu.com/m/Empathy-Therapy-DrMark-Chofla-30494240/reviews/'],
- ['https://empathytherapy.com/images/testimonials/empathytherapy-testimonial-13.png','https://plus.google.com/110496396656209554355/about?hl=en'],
- ['https://empathytherapy.com/images/testimonials/empathytherapy-testimonial-14.png','http://sacramento.citysearch.com/profile/750606480/sacramento_ca/empathy_therapy.html?reviewType=internal'],
- ['https://empathytherapy.com/images/testimonials/empathytherapy-testimonial-15.png','http://www.yelp.com/biz/empathy-therapy-sacramento'],
- ['https://empathytherapy.com/images/testimonials/empathytherapy-testimonial-16.png','http://www.superpages.com/bp/Sacramento-CA/Empathy-Therapy-Dr-Mark-Chofla-DO-L2177106216.htm?C=empathy+therapy+sacramento+ca&lbp=1&STYPE=S&TR=77&bidType=FLCLIK&PGID=yp609.8083.1367431942246.1611284256393&dls=true&bpp=2&rwtab=1#BPreviewContainer'],
- ['https://empathytherapy.com/images/testimonials/header-no-testimonial.png','javascript: void(0)'],
- ['https://empathytherapy.com/images/testimonials/header-no-testimonial.png','javascript: void(0)'],
- ['https://empathytherapy.com/images/testimonials/header-no-testimonial.png','javascript: void(0)'],
- ['https://empathytherapy.com/images/testimonials/header-no-testimonial.png','javascript: void(0)'],
- ['https://empathytherapy.com/images/testimonials/header-no-testimonial.png','javascript: void(0)'],
- ['https://empathytherapy.com/images/testimonials/header-no-testimonial.png','javascript: void(0)'],
- ['https://empathytherapy.com/images/testimonials/header-no-testimonial.png','javascript: void(0)'],
- ['https://empathytherapy.com/images/testimonials/header-no-testimonial.png','javascript: void(0)']
- ];
- function SetImage(IDS,imgPtr) {
- imgPtr = parseInt(imgPtr);
- document.getElementById(IDS).src = imgLinks[imgPtr][0];
- document.getElementById(IDS).alt = imgLinks[imgPtr][1];
- document.getElementById('Captions').innerHTML = imgLinks[imgPtr][1];
- }
- function RandomLink() {
- var R = Math.random() * imgLinks.length;
- SetImage('Pics',R);
- }
- function GoToURL(URL) { window.open(URL, '_blank'); }
- onload = function () { RandomLink(); }
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement