/******************************************* * Kaosweaver Expert Images * * by Kaosweaver http://www.kaosweaver.com * * Copyright 2003 all rights reserved * *******************************************/ function kw_ei_img (i,w,h,t,u) {this.i=i;this.w=w;this.h=h;this.t=unescape(t);this.u=unescape(u);} function kw_ei (n,t) { // Expert Images - Copyright Kaosweaver, All Rights Reserved. this.n=n;this.t=t;this.s=new Array();this.p=0;this.gp=function(a){if(!a)a=0;j=this.p+a;if(j<0) j=this.s.length+j;if (j>this.s.length-1) j=(j-this.s.length);this.p=j;return this.s[j];};this.h=""; this.ai=function(a){this.s[this.s.length]=a;};this.gn=function(){if (this.p==this.s.length-1) this.p=-1;return this.s[++this.p];};this.gl=function(){if (this.p==0) this.p=this.s.length; return this.s[--this.p];};this.gr=function(){j=parseInt(Math.random()*this.s.length);j=(isNaN(j))?0:j; this.p=j;return this.s[j];};this.c=function(){if (this.h!="") clearTimeout(this.h);};this.o=n+"Object"; this.gd=function(){d=new Date();j=(parseInt(d.getTime()/86400000))%this.s.length;j=(isNaN(j))?0:j; this.p=j; return this.s[j];};eval(this.o+"=this");this.gm=function(){dt=new Date();this.p=dt.getDate(); return this.s[--this.p];};this.gw=function(){dt=new Date();this.p=dt.getDay();return this.s[this.p];} this.gc= function(){tc=document;c=tc.cookie;m=c.indexOf("kwei_"+this.n+"=");j=-1;if (m!=-1){ p=c.indexOf("=",m)+1;p2=c.indexOf(";",m);p2=(p2==-1)?c.length:p2;j=c.substring(p,p2);j=(isNaN(j))?0:j; }j++;if (j>this.s.length-1)j=0;this.p=j;d=new Date();d.setTime(d.getTime()+(2592000000)); ep = "; expires="+d.toGMTString()+"; path=/"; tc.cookie="kwei_"+this.n+"="+j+ep+";";return this.s[j];} this.ge=function(){return this.s.length-1;};this.gg=function(){dt=new Date();this.p=dt.getMonth(); return this.s[this.p];};this.stt=function(a){this.t=a;} } function kwsetx(x,o){x.src=o.i;if (o.h)x.height=o.h; if (o.w)x.width=o.w; if (o.t){x.alt=o.t;x.title=o.t}} function kwsetu(a,b,m,tn,tl){x=eval("document."+a);z=-1;y=-1;for(var i=0;i";s+="\""+n.gp().t+"\"";if (n.gp().u!="")s+="";document.write(s);} function kweiwss(n,a,b,m){n.p=n.ge();s="\""+n.gp().t+"\"";document.write(s);} kwimg=new Array(); kwimg[kwimg.length]=new kw_ei_img("/images/vineStuff/ballLit.jpg",150,183,'','/pages/grapevine.html'); kwimg[kwimg.length]=new kw_ei_img("/images/vineStuff/bundles.jpg",150,183,'','/pages/grapevine.html'); kwimg[kwimg.length]=new kw_ei_img("/images/vineStuff/coil.jpg",150,183,'','/pages/grapevine.html'); kwimg[kwimg.length]=new kw_ei_img("/images/vineStuff/ivyBall.jpg",150,183,'','/pages/grapevine.html'); kwimg[kwimg.length]=new kw_ei_img("/images/vineStuff/miniTopi.jpg",150,183,'','/pages/grapevine.html'); kwimg[kwimg.length]=new kw_ei_img("/images/vineStuff/oneBell.jpg",150,183,'','/pages/grapevine.html'); kwimg[kwimg.length]=new kw_ei_img("/images/vineStuff/topiBall.jpg",150,183,'','/pages/grapevine.html'); kwimg[kwimg.length]=new kw_ei_img("/images/vineStuff/topiTree.jpg",150,183,'','/pages/grapevine.html'); kwimg[kwimg.length]=new kw_ei_img("/images/vineStuff/treeLit.jpg",150,183,'','/pages/grapevine.html'); kwimg[kwimg.length]=new kw_ei_img("/images/vineStuff/wreath.jpg",150,183,'','/pages/grapevine.html'); kwimg[kwimg.length]=new kw_ei_img("/images/beauty/barn.jpg",150,183,'','/pages/cottages.html'); kwimg[kwimg.length]=new kw_ei_img("/images/beauty/chair.jpg",150,183,'','/pages/cottages.html'); kwimg[kwimg.length]=new kw_ei_img("/images/beauty/cott2.jpg",150,183,'','/pages/cottages.html'); kwimg[kwimg.length]=new kw_ei_img("/images/beauty/dock.jpg",150,183,'','/pages/cottages.html'); kwimg[kwimg.length]=new kw_ei_img("/images/beauty/ggb1.jpg",150,183,'','/pages/cottages.html'); kwimg[kwimg.length]=new kw_ei_img("/images/beauty/ggb2.jpg",150,183,'','/pages/cottages.html'); kwimg[kwimg.length]=new kw_ei_img("/images/beauty/mail.jpg",150,183,'','/pages/cottages.html'); kwimg[kwimg.length]=new kw_ei_img("/images/beauty/orchards.jpg",150,183,'','/pages/cottages.html'); kwei = new Array(); kwei[0]=new kw_ei("vineStuff",3000); kwei[0].ai(kwimg[0]); kwei[0].ai(kwimg[1]); kwei[0].ai(kwimg[2]); kwei[0].ai(kwimg[3]); kwei[0].ai(kwimg[4]); kwei[0].ai(kwimg[5]); kwei[0].ai(kwimg[6]); kwei[0].ai(kwimg[7]); kwei[0].ai(kwimg[8]); kwei[0].ai(kwimg[9]); kwei[1]=new kw_ei("beauty",5000); kwei[1].ai(kwimg[10]); kwei[1].ai(kwimg[11]); kwei[1].ai(kwimg[12]); kwei[1].ai(kwimg[13]); kwei[1].ai(kwimg[14]); kwei[1].ai(kwimg[15]); kwei[1].ai(kwimg[16]); kwei[1].ai(kwimg[17]);