// Advanced Random Images Start

// Copyright 2001-2002 All rights reserved, by Paul Davis - www.kaosweaver.com

  var j,d="",l="",m="",p="",q="",z="",KW_ARI= new Array()

  //KW_ARI[KW_ARI.length]='http://72.167.56.10/images/ads/gg-ad1.jpg?&width=648&height=178&border=0';

  //KW_ARI[KW_ARI.length]='http://72.167.56.10/images/ads/corporate-ad2.gif?&width=648&height=178&border=0';

  //KW_ARI[KW_ARI.length]='http://72.167.56.10/images/ads/corporate-ad3.gif?&width=648&height=178&border=0';

  //KW_ARI[KW_ARI.length]='http://72.167.56.10/images/ads/defensive-driving-ad.jpg?&width=648&height=178&border=0&link=http://72.167.56.10/gg-defensive-driving-tips.htm';

  KW_ARI[KW_ARI.length]='http://www.ggil.biz/images/ads/corporate1.jpg?&width=648&height=178&border=0';

  KW_ARI[KW_ARI.length]='http://www.ggil.biz/images/ads/corporate2.jpg?&width=648&height=178&border=0';

  KW_ARI[KW_ARI.length]='http://www.ggil.biz/images/ads/corporate3.jpg?&width=648&height=178&border=0';

  KW_ARI[KW_ARI.length]='http://www.ggil.biz/images/ads/corporate4.jpg?&width=648&height=178&border=0';

  KW_ARI[KW_ARI.length]='http://www.ggil.biz/images/ads/corporate5.jpg?&width=648&height=178&border=0';

  j=parseInt(Math.random()*KW_ARI.length);

  j=(isNaN(j))?0:j;

  if (KW_ARI[j].indexOf('?')==-1) {

    document.write("<img src='"+KW_ARI[j]+"'>");

  }

  else {

    nvp=KW_ARI[j].substring(KW_ARI[j].indexOf('?')+2).split('&');

    for(var i=0;i<nvp.length;i++) {

      sub=nvp[i].split('=');

   	  switch(sub[0]) {

 	    case 'link':

          l="<a href='"+unescape(sub[1])+"'>";

          p="</a>";

		  break;

	    case 'target':

          q=" target='"+unescape(sub[1])+"'";

  		  break;

  	    default:

          m+=" "+sub[0]+"='"+unescape(sub[1])+"'";

  		  break;

      }

    }

    z=(l!="")?((q!="")?l.substring(0,l.length-1)+q+">":l):"";

    z+="<img src='"+KW_ARI[j].substring(0,KW_ARI[j].indexOf('?'))+"'"+m+">"+p;

  document.write(z);

  }

