// 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_ARI1= new Array()
  KW_ARI1[KW_ARI1.length]='/photo_rotate/photoA1.jpg?&width=159&height=208';
  KW_ARI1[KW_ARI1.length]='/photo_rotate/photoA2.jpg?&width=159&height=208';
  KW_ARI1[KW_ARI1.length]='/photo_rotate/photoA3.jpg?&width=159&height=208';
  KW_ARI1[KW_ARI1.length]='/photo_rotate/photoA4.jpg?&width=159&height=208';
  KW_ARI1[KW_ARI1.length]='/photo_rotate/photoA5.jpg?&width=159&height=208';
  KW_ARI1[KW_ARI1.length]='/photo_rotate/photoA6.jpg?&width=159&height=208';
  KW_ARI1[KW_ARI1.length]='/photo_rotate/photoA7.jpg?&width=159&height=208';
  KW_ARI1[KW_ARI1.length]='/photo_rotate/photoA8.jpg?&width=159&height=208';
  j=parseInt(Math.random()*KW_ARI1.length);
  j=(isNaN(j))?0:j;
  if (KW_ARI1[j].indexOf('?')==-1) {
    document.write("<img src='"+KW_ARI1[j]+"'>");
  }
  else {
    nvp=KW_ARI1[j].substring(KW_ARI1[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_ARI1[j].substring(0,KW_ARI1[j].indexOf('?'))+"'"+m+">"+p;
  document.write(z);
  }

// Advanced Random Images End