﻿/* Released Under GNU3 */
/* Simple Image Changer (SIC) Copyright ｩ 2009 Kris Jonasson www.krisjaydesigns.com - Renamed to serviceads.js for use on gdsweb.ca */



var images=[ '<img src="http://gdsweb.ca/Asamplechanger/greenshow.png" style="padding:6px;border:4px solid #1b1b1b;-moz-border-radius:3px;-khtml-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;background:#090909;" width="190px" height="104px" border="0" alt="Winnipeg Green Show 2010" class="latest_img"/>', '<img src="http://gdsweb.ca/Asamplechanger/trojan.png" style="padding:6px;border:4px solid #1b1b1b;-moz-border-radius:3px;-khtml-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;background:#090909;" width="190px" height="104px" border="0" alt="Trojan Security Regina" class="latest_img"/>', '<img src="http://gdsweb.ca/Asamplechanger/avion.png" style="padding:6px;border:4px solid #1b1b1b;-moz-border-radius:3px;-khtml-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;background:#090909;" width="190px" height="104px" border="0" alt="Avion Services Winnipeg" class="latest_img"/>', '<img src="http://gdsweb.ca/Asamplechanger/ripradio.png" style="padding:6px;border:4px solid #1b1b1b;-moz-border-radius:3px;-khtml-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;background:#090909;" width="190px" height="104px" border="0" alt="Rip Radio Canada" class="latest_img"/>', '<img src="http://gdsweb.ca/Asamplechanger/miraveda.png" style="padding:6px;border:4px solid #1b1b1b;-moz-border-radius:3px;-khtml-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;background:#090909;" width="190px" height="104px" border="0" alt="Mira Veda - Independent Artist" class="latest_img"/>' ];



function quikChangerb( imgArrayb )


                  {


    var quikMatchesb, lastImageb, newImageb, cookieSearchb=/myImageb=(¥d+)/;


      if( typeof( document.cookie )!='undefined' && (quikMatchesb=document.cookie.match( cookieSearchb )) && quikMatchesb.length>1 )


      if( isNaN( lastImageb=parseInt( quikMatchesb[1], 10) ) ) 

    lastImageb = -1;


       while( (newImageb=Math.floor(Math.random() * imgArrayb.length)) == lastImageb );
 

       document.cookie="myImageb="+newImageb;


     return imgArrayb[ newImageb ];

  }
