/********************************************
 * Kaosweaver Expert Images                 *
 * by Kaosweaver http://www.kaosweaver.com  * 
 * Copyright 2003, 2005 all rights reserved *
 ********************************************/
function kw_ei_img (i,w,h,t,u,d) {this.i=i;this.w=w;this.h=h;this.t=unescape(t);this.u=unescape(u);this.d=unescape(d)}
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<kwei.length;i++)if(kwei[i].n==b) z=i;
	if (z!=-1)for(var i=0;i<kwei[z].s.length;i++)if (x.src.indexOf(kwei[z].s[i].i)!=-1) y=i;if (y!=-1)
	if (kwei[z].s[y].u!="") {if (m==1)window.location=kwei[z].s[y].u; else window.open(kwei[z].s[y].u,tn,tl);}}
function kweisi(n,a,m,q){dc=document;dc.getElementById(q).style.backgroundImage="";obj=dc.getElementById(a).style;obj.opacity=100;
	obj['-moz-opacity']=100;obj.filter="alpha(opacity=100)";kwsetx(eval("document."+a),eval("n.g"+m+"()"));
	n.h=setTimeout("kweisi("+n.o+",'"+a+"','"+m+"','"+q+"')",n.t);kweisd(n,a)}
function kweifs(n,a,m,f) {if (document.all) {eval(a+".style.filter=\"blendTrans(duration=.5)\"");
	eval(a+".filters.blendTrans.apply()");kwsetx(eval("document."+a),eval("n.g"+m+"()"))
	eval(a+".filters.blendTrans.play()");} else {KW_eifadeOut(eval("n.g"+m+"()"),100,f,a);}
	n.h=setTimeout("kweifs("+n.o+",'"+a+"','"+m+"','"+f+"')",n.t);kweisd(n,a)}
function kweicnt(n,c,a){kwsetx(eval("document."+a),n.gp(c));}
function kweicto(n){n.c();}
function kweistt(n,a){n.stt(a);}
function kweici(n,a,m){kwsetx(eval("document."+a),eval("n.g"+m+"()"));kweisd(n,a)}
function kweipi(n,a,m){eval("n.g"+m+"()");kweiwi(n,a);}
function kweiwi(n,a) {s="";if (n.gp().u!="")s="<a href=\""+n.gp().u+"\">";s+="<img src=\""+n.gp().i+"\" "
	s+="width=\""+n.gp().w+"\" height=\""+n.gp().h+"\" alt=\""+n.gp().t+"\" title=\""+n.gp().t+"\" name=\""
	s+=a+"\" border=0>";if (n.gp().u!="")s+="</"+"a>";document.write(s);kweisd(n,a)}
function kweiwss(n,a,b,m,p){n.p=n.ge();s="<div style=\"background-image: url("+n.gp().i+"); background-repeat: no-repeat; width: "+n.gp().w+"px; height: "+n.gp().h+"px;\" id=\""+p+"\"><a href=\"#\" onClick=\"kwsetu('"+a+"','"+b+"',"+m+",'','')\"><img src=\""
	s+=n.gp().i+"\" width=\""+n.gp().w+"\" height=\""+n.gp().h+"\" alt=\""+n.gp().t+"\" title=\""+n.gp().t
	s+="\" id=\""+a+"\" name=\""+a+"\" border=0 style=\"filter:blendTrans(duration=3); width: "+n.gp().w+"px; height:  "+n.gp().h+"px; border: 0 none; filter: alpha(opacity=0); -moz-opacity: 0; opacity: 0;\"></a></div>";document.write(s);}
function KW_eiqf(a,oP,i,w,h) {obj=document.getElementById(a);if (oP>=5) {KW_eisetO(obj,oP);	oP=oP-5;
	window.setTimeout("KW_eiqf('"+a+"',"+oP+",'"+i+"',"+w+","+h+")", 20);} else {obj.src=i;obj.height=h;obj.width=w;
	KW_eifadeIn(0,a)}}
function KW_eifadeOut(nI,oP,f,a) {
	document.getElementById(f).style.backgroundImage="url("+ document.getElementById(a).src+")";
	KW_eiqf(a,oP,nI.i,nI.w,nI.h)}
function KW_eifadeIn(oP,a) {obj=document.getElementById(a);if (oP<=100) {KW_eisetO(obj, oP);oP += 5;
	window.setTimeout("KW_eifadeIn("+oP+",'"+a+"')", 50);}}
function KW_eisetO(obj, oP) {oP=(oP==100)?99.999:oP;obj.style.KHTMLopacity = oP/100;
	obj.style.MozOpacity = oP/100;obj.style.opacity = oP/100;}
function kweiwd(n,a) {document.write("<span id=\"kwei_"+a+"\">"+n.gp().d+"</span>")}
function kweisd(n,a) {obj=document.getElementById("kwei_"+a);if (obj) obj.innerHTML=n.gp().d;}
function kweibw(n,m,b) {eval("n.g"+m+"()");s='<style type="text/css"> body { background-image: url('+n.gp().i+');\n'+b+'}\n</style>';
	document.write(s);}

kwimg=new Array();
kwimg[kwimg.length]=new kw_ei_img("http://www.aaasouthdakota.com/images/homepageAds/aaaGPS.gif",430,160,'AAA%20South%20Dakota%20-%20Purchase%20a%20Magellan%20GPS','https%3A//www.logiforms.com/formdata/user_forms/16718_9971891/57651/','');
kwimg[kwimg.length]=new kw_ei_img("http://www.aaasouthdakota.com/images/homepageAds/sycs-gen.jpg",430,160,'AAA%20South%20Dakota%20-%20Show%20Your%20Card%20%26%20Save','http%3A//www.aaasouthdakota.com/discounts/index.htm','');
kwimg[kwimg.length]=new kw_ei_img("http://www.aaasouthdakota.com/images/homepageAds/premier-gen.jpg",430,160,'AAA%20South%20Dakota%20-%20Membership','http%3A//www.aaasouthdakota.com/membership/premier.htm','');
kwimg[kwimg.length]=new kw_ei_img("http://www.aaasouthdakota.com/images/News/mainads/takethewheel.jpg",525,200,'AAA%20South%20Dakota%20-%20News%20-%20Take%20The%20Wheel','http%3A//www.aaasouthdakota.com/news/articles/takethewheel.htm','');
kwimg[kwimg.length]=new kw_ei_img("http://www.aaasouthdakota.com/images/News/mainads/fuelfinder.jpg",525,200,'AAA%20South%20Dakota%20-%20News%20-%20FuelPriceFinder','http%3A//ww2.aaa.com/scripts/WebObjects.dll/AAAOnline%3Fassociation%3Daaa%26club%3D002%26page%3DPPNoLogin%26pageParm1%3DOPISNET','');
kwimg[kwimg.length]=new kw_ei_img("http://www.aaasouthdakota.com/images/News/mainads/ottoclub.jpg",525,200,'AAA%20South%20Dakota%20-%20News%20-%20The%20Otto%20Club','http%3A//www.ottoclub.org/','');
kwimg[kwimg.length]=new kw_ei_img("http://www.aaasouthdakota.com/images/membership/main-ads/thankyou.jpg",525,200,'AAA%20South%20Dakota%20-%20Membership','http%3A//www.aaasouthdakota.com/membership/index.htm','');
kwimg[kwimg.length]=new kw_ei_img("http://www.aaasouthdakota.com/images/auto/main-ads/roadsideapp.gif",525,200,'Download%20the%20AAA%20Roadside%20Application%20for%20your%20iPhone','http%3A//www.aaasouthdakota.com/auto/roadside_iphone.htm','');
kwimg[kwimg.length]=new kw_ei_img("http://www.aaasouthdakota.com/images/auto/main-ads/ers-join.jpg",525,200,'AAA%20South%20Dakota%20-%20ERS','http%3A//www.aaasouthdakota.com/auto/ers.htm','');
kwimg[kwimg.length]=new kw_ei_img("http://www.aaasouthdakota.com/images/homepageAds/autoreviews.jpg",525,200,'AAA%20South%20Dakota%20-Auto%20Reviews','http%3A//www.aaasouthdakota.com/auto/reviews/index.htm','');
kwimg[kwimg.length]=new kw_ei_img("http://www.aaasouthdakota.com/images/homepageAds/sycs-gen.jpg",430,160,'AAA%20South%20Dakota%20-%20Discounts','http%3A//www.aaasouthdakota.com/discounts/index.htm','');
kwimg[kwimg.length]=new kw_ei_img("http://www.aaasouthdakota.com/images/Travel/mainads/vacations1.jpg",430,160,'AAA%20South%20Dakota%20-%20Travel','http%3A//www.aaasouthdakota.com/travel/Vacations.htm','');
kwimg[kwimg.length]=new kw_ei_img("http://www.aaasouthdakota.com/images/insurance/main-ads/auto-insMAINrates.jpg",430,160,'AAA%20Auto%20Insurance','http%3A//www.aaasouthdakota.com/insurance/auto.htm','');
kwimg[kwimg.length]=new kw_ei_img("http://www.aaasouthdakota.com/images/homepageAds/newhomepage/new-getmore.jpg",323,238,'','http%3A//www.aaasouthdakota.com/insurance/auto.htm','');
kwimg[kwimg.length]=new kw_ei_img("http://www.aaasouthdakota.com/images/homepageAds/newhomepage/cdsavings-323.jpg",323,238,'CDs%2C%20Money%20Markets%20and%20IRAs%20for%20Members','http%3A//www.aaasouthdakota.com/financial/cdservices.htm','');
kwimg[kwimg.length]=new kw_ei_img("http://www.aaasouthdakota.com/images/homepageAds/newhomepage/TTP-HPad.jpg",323,238,'Plan%20your%20Trip%20today','http%3A//www.aaa.com/scripts/WebObjects.dll/AAAOnline%3Fassociation%3Daaa%26club%3D241%26page%3DITTServices','');
kwimg[kwimg.length]=new kw_ei_img("http://www.aaasouthdakota.com/images/discounts/211x232/targetcom211x232.gif",211,232,'Target.com','http%3A//www.aaasouthdakota.com/discounts/retail/target.htm','');
kwimg[kwimg.length]=new kw_ei_img("http://www.aaasouthdakota.com/images/discounts/211x232/iphone.gif",211,232,'Download%20AAA%27s%20FREE%20iPhone%20app','http%3A//www.aaasouthdakota.com/travel/iphone.htm','');
kwimg[kwimg.length]=new kw_ei_img("http://www.aaasouthdakota.com/images/discounts/211x232/fragrancenet211x232.jpg",211,232,'Fragrances%2C%20Haircare%20%26%20so%20much%20more%21','http%3A//www.aaasouthdakota.com/discounts/retail/fragrancenet.htm','');
kwimg[kwimg.length]=new kw_ei_img("http://www.aaasouthdakota.com/images/discounts/211x232/ftd.gif",211,232,'Save%2025%25%20at%20FTD.com','http%3A//www.aaasouthdakota.com/discounts/retail/ftd.htm','');
kwimg[kwimg.length]=new kw_ei_img("http://www.aaasouthdakota.com/images/discounts/211x232/payless-10.jpg",211,232,'Payless%20Shoesource','http%3A//www.aaasouthdakota.com/discounts/retail/payless.htm','');
kwimg[kwimg.length]=new kw_ei_img("http://www.aaasouthdakota.com/images/Travel/mainads/lowrates.gif",211,232,'AAA%20has%20low%20hotel%20rates','http%3A//www.aaa.com/scripts/WebObjects.dll/AAAOnline%3Fassociation%3Daaa%26club%3D241%26page%3Dhotelcriteria','');
kwimg[kwimg.length]=new kw_ei_img("http://www.aaasouthdakota.com/images/discounts/211x232/bestwestern211x232.jpg",211,232,'AAA%20Members%20save%20at%20Best%20Western','http%3A//www.aaasouthdakota.com/discounts/Lodging/bestwestern.htm','');
kwimg[kwimg.length]=new kw_ei_img("http://www.aaasouthdakota.com/images/discounts/211x232/gcr-gen.gif",211,232,'AAA%20Members%20save%20at%20Grand%20Canyon%20Railway','http%3A//www.aaasouthdakota.com/discounts/Entertainment/gcrailway.htm','');
kwimg[kwimg.length]=new kw_ei_img("http://www.aaasouthdakota.com/images/discounts/Mainads/membership-pays-SD-571.jpg",572,218,'How%20much%20could%20you%20be%20saving%3F','http%3A//www.aaasouthdakota.com/discounts/2009membersavings.htm','');
kwimg[kwimg.length]=new kw_ei_img("http://www.aaasouthdakota.com/images/Travel/mainads/alohadays_571.jpg",571,218,'Aloha%20Days%20at%20AAA%20-%20Members%20save','http%3A//www.aaasouthdakota.com/travel/alohadays.htm','');
kwimg[kwimg.length]=new kw_ei_img("http://www.aaasouthdakota.com/images/Travel/mainads/2010memberapprec571.jpg",571,218,'2010%20Membership%20Appreciation%20Cruise','http%3A//www.aaasouthdakota.com/travel/hollandamerica.htm','');
kwimg[kwimg.length]=new kw_ei_img("http://www.aaasouthdakota.com/images/insurance/main-ads/autoins525.gif",525,201,'Auto%20Insurance%20you%20can%20count%20on%21','http%3A//www.aaasouthdakota.com/insurance/index.htm','');
kwimg[kwimg.length]=new kw_ei_img("http://www.aaasouthdakota.com/images/Financial/main-ads/autofinance.gif",571,218,'Auto%20Financing%20made%20easy%21','http%3A//www.aaasouthdakota.com/financial/autoloans.htm','');
kwimg[kwimg.length]=new kw_ei_img("http://www.aaasouthdakota.com/images/Travel/mainads/fly-572x218.jpg",572,218,'Fee%20Free%20Air%20for%20AAA%20Members','http%3A//ww1.aaa.com/travel2/air/airSearch.xhtml%3F%26club%3D241%26association%3DAAA','');
kwimg[kwimg.length]=new kw_ei_img("http://www.aaasouthdakota.com/images/Travel/mainads/triptik-572x218.jpg",571,218,'Try%20the%20New%20TripTik%20Planner','http%3A//www.aaasouthdakota.com/travel/newtriptik.htm','');
kwimg[kwimg.length]=new kw_ei_img("http://www.aaasouthdakota.com/images/Travel/mainads/layawayhp571.jpg",571,218,'AAA%20Travel%20offers%20Vacation%20Layaways','http%3A//www.aaasouthdakota.com/travel/layaway.htm','');
kwimg[kwimg.length]=new kw_ei_img("http://www.aaasouthdakota.com/images/Travel/mainads/2010memberapprec571.jpg",571,218,'Join%20us%20for%20the%202010%20Membership%20Appreciation%20Cruise','http%3A//www.aaasouthdakota.com/travel/hollandamerica.htm','');
kwimg[kwimg.length]=new kw_ei_img("http://www.aaasouthdakota.com/images/Travel/mainads/fly-572x218.jpg",572,218,'Fee%20Free%20Air%20for%20AAA%20Members','http%3A//ww1.aaa.com/travel2/air/airSearch.xhtml%3F%26club%3D241%26association%3DAAA','');
kwimg[kwimg.length]=new kw_ei_img("http://www.aaasouthdakota.com/images/Travel/mainads/layawayhp571.jpg",571,218,'AAA%20Travel%20offers%20Vacation%20Layaways%21','http%3A//www.aaasouthdakota.com/travel/layaway.htm','');
kwimg[kwimg.length]=new kw_ei_img("http://www.aaasouthdakota.com/images/Travel/mainads/hotdeals571jpg.jpg",571,218,'You%20don%27t%20want%20to%20miss%20these%20Hot%20Deals%21','http%3A//www.aaasouthdakota.com/travel/hotdeals.htm','');
kwimg[kwimg.length]=new kw_ei_img("http://www.aaasouthdakota.com/images/Travel/mainads/triptik-572x218.jpg",571,218,'Experience%20the%20new%20TripTik%20Planner','http%3A//www.aaasouthdakota.com/travel/newtriptik.htm','');
kwimg[kwimg.length]=new kw_ei_img("http://www.aaasouthdakota.com/images/Travel/mainads/disneyworld571.jpg",571,218,'DisneyWorld','http%3A//www.aaasouthdakota.com/travel/disneyworld.htm','');
kwimg[kwimg.length]=new kw_ei_img("http://www.aaasouthdakota.com/images/Travel/mainads/disneyland-gen.jpg",571,218,'Disneyland','http%3A//www.aaasouthdakota.com/travel/disneyland.htm','');
kwimg[kwimg.length]=new kw_ei_img("http://www.aaasouthdakota.com/images/Travel/mainads/disneycruise571.jpg",571,218,'Disney%20Cruise%20Line','http%3A//www.aaasouthdakota.com/travel/disneycruise.htm','');
kwimg[kwimg.length]=new kw_ei_img("http://www.aaasouthdakota.com/images/Travel/mainads/disney_adventures571.jpg",571,218,'Disney%20Adventures','http%3A//www.aaasouthdakota.com/travel/disneyadventures.htm','');
kwimg[kwimg.length]=new kw_ei_img("http://www.aaasouthdakota.com/images/discounts/Mainads/membership-pays-SD-525.jpg",525,200,'Members%20saved%20over%20%245%20Million%20in%202009','http%3A//www.aaasouthdakota.com/discounts/2009membersavings.htm','');
kwimg[kwimg.length]=new kw_ei_img("http://www.aaasouthdakota.com/images/membership/main-ads/teenassc-525HP.gif",525,200,'Add%20your%20Teen%20to%20your%20membership%20for%20FREE%21','http%3A//www.aaasouthdakota.com/membership/teenassociate.htm','');
kwimg[kwimg.length]=new kw_ei_img("http://www.aaasouthdakota.com/images/membership/main-ads/premier-main-SD.jpg",525,200,'Upgrade%20to%20the%20Highest%20Level%20of%20Membership','https%3A//www.aaasdwebmember.com/login.cfm','');

kwei = new Array();
kwei[0]=new kw_ei("HomePg",6000);
kwei[0].ai(kwimg[0]);
kwei[0].ai(kwimg[2]);
kwei[0].ai(kwimg[10]);
kwei[0].ai(kwimg[11]);
kwei[0].ai(kwimg[12]);
kwei[1]=new kw_ei("NewsHomePg",6000);
kwei[1].ai(kwimg[3]);
kwei[1].ai(kwimg[4]);
kwei[1].ai(kwimg[5]);
kwei[1].ai(kwimg[6]);
kwei[2]=new kw_ei("AutoHomePg",6000);
kwei[2].ai(kwimg[7]);
kwei[2].ai(kwimg[8]);
kwei[2].ai(kwimg[9]);
kwei[3]=new kw_ei("indexrotation",6000);
kwei[3].ai(kwimg[13]);
kwei[3].ai(kwimg[14]);
kwei[3].ai(kwimg[15]);
kwei[4]=new kw_ei("retailrotation",6000);
kwei[4].ai(kwimg[16]);
kwei[4].ai(kwimg[17]);
kwei[4].ai(kwimg[18]);
kwei[4].ai(kwimg[19]);
kwei[4].ai(kwimg[20]);
kwei[5]=new kw_ei("travelhp",6000);
kwei[5].ai(kwimg[21]);
kwei[5].ai(kwimg[22]);
kwei[5].ai(kwimg[23]);
kwei[6]=new kw_ei("HP571",6000);
kwei[6].ai(kwimg[24]);
kwei[6].ai(kwimg[25]);
kwei[6].ai(kwimg[26]);
kwei[6].ai(kwimg[27]);
kwei[6].ai(kwimg[28]);
kwei[6].ai(kwimg[29]);
kwei[6].ai(kwimg[30]);
kwei[6].ai(kwimg[31]);
kwei[7]=new kw_ei("travelhp571",6000);
kwei[7].ai(kwimg[32]);
kwei[7].ai(kwimg[33]);
kwei[7].ai(kwimg[34]);
kwei[7].ai(kwimg[35]);
kwei[7].ai(kwimg[36]);
kwei[8]=new kw_ei("Disney571",6000);
kwei[8].ai(kwimg[37]);
kwei[8].ai(kwimg[38]);
kwei[8].ai(kwimg[39]);
kwei[8].ai(kwimg[40]);
kwei[9]=new kw_ei("MembershipHP",6000);
kwei[9].ai(kwimg[41]);
kwei[9].ai(kwimg[42]);
kwei[9].ai(kwimg[43]);
