/********************************************
 * 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("images/shows/polaroids/polaroid-alice.jpg",300,355,'Alice','/performances/alice.htm','');
kwimg[kwimg.length]=new kw_ei_img("images/shows/polaroids/polaroid-busterkeaton.jpg",300,355,'Buster%20Keaton%20Short%20Films%20with%20Live%20Scores%20by%20Curt%20Heavey','/performances/busterkeaton.htm','');
kwimg[kwimg.length]=new kw_ei_img("images/shows/polaroids/polaroid-carrytheflag.jpg",300,355,'I%20Carry%20The%20Flag','/performances/carrytheflag.htm','');
kwimg[kwimg.length]=new kw_ei_img("images/shows/polaroids/polaroid-creation.jpg",300,355,'Creation','/performances/creation.htm','');
kwimg[kwimg.length]=new kw_ei_img("images/shows/polaroids/polaroid-drew.jpg",350,414,'Help%21%20Help%21%20I%20Know%20This%20Title%20Is%20Long%20But%20Somebod%20Is%20Trying%20To%20Kill%20Me%21','/performances/dramaticfool.htm','');
kwimg[kwimg.length]=new kw_ei_img("images/shows/polaroids/polaroid-fromtheashes.jpg",300,355,'From%20The%20Ashes','/performances/fromtheashes.htm','');
kwimg[kwimg.length]=new kw_ei_img("images/shows/polaroids/polaroid-goya.jpg",300,355,'Goya%3A%20In%20the%20House%20of%20the%20Deaf%20Man','/performances/goya.htm','');
kwimg[kwimg.length]=new kw_ei_img("images/shows/polaroids/polaroid-handamation.jpg",440,520,'Handamation','/performances/handamation.htm','');
kwimg[kwimg.length]=new kw_ei_img("images/shows/polaroids/polaroid-manifesto.jpg",300,355,'Manifesto%21','/performances/manifesto.htm','');
kwimg[kwimg.length]=new kw_ei_img("images/shows/polaroids/polaroid-misterobuffo.jpg",300,355,'Dario%20Fo%27s%20Mistero%20Buffo','/performances/misterobuffo.htm','');
kwimg[kwimg.length]=new kw_ei_img("images/shows/polaroids/polaroid-mosaic.jpg",330,390,'Mosaic','/performances/mosaic.htm','');
kwimg[kwimg.length]=new kw_ei_img("images/shows/polaroids/polaroid-nanaproject.jpg",300,355,'Nana%20Projects%20Magic%20Lantern%20Shows%20and%20Films%20by%20Eric%20Dyer','/performances/nanaprojects.htm','');
kwimg[kwimg.length]=new kw_ei_img("images/shows/polaroids/polaroid-othervolumes.jpg",300,355,'Other%20Volumes%20-%20A%20Visual%20Theatre%20Showcase','/performances/othervolumes.htm','');
kwimg[kwimg.length]=new kw_ei_img("images/shows/polaroids/polaroid-snowqueen.jpg",300,355,'Snow%20Queen','/performances/snowqueen.htm','');
kwimg[kwimg.length]=new kw_ei_img("images/shows/polaroids/polaroid-tableofcontents.jpg",300,355,'Table%20of%20Contents','/performances/tableofcontents.htm','');
kwimg[kwimg.length]=new kw_ei_img("images/shows/alicefeature.gif",271,87,'Featuring%20Alice','/performances/alice.htm','');
kwimg[kwimg.length]=new kw_ei_img("images/home/shows/aliceshow.jpg",275,300,'Alice','/performances/alice.htm','');
kwimg[kwimg.length]=new kw_ei_img("images/shows/busterkeatonfeature.gif",271,86,'Featuring%20Buster%20Keaton%20Short%20Films%20with%20Live%20Scores%20by%20Curt%20Heavey','/performances/busterkeaton.htm','');
kwimg[kwimg.length]=new kw_ei_img("images/home/shows/busterkeatonshow.jpg",300,230,'Buster%20Keaton%20Short%20Films%20with%20Live%20Scores%20by%20Curt%20Heavey','/performances/busterkeaton.htm','');
kwimg[kwimg.length]=new kw_ei_img("images/shows/carrytheflagfeature.jpg",271,87,'Featuring%3A%20I%20Carry%20The%20Flag','/performances/carrytheflag.htm','');
kwimg[kwimg.length]=new kw_ei_img("images/home/shows/carrytheflagshow.jpg",300,300,'I%20Carry%20The%20Flag','/performances/carrytheflag.htm','');
kwimg[kwimg.length]=new kw_ei_img("images/shows/creationfeature.gif",271,87,'Featuring%3A%20Creation','/performances/creation.htm','');
kwimg[kwimg.length]=new kw_ei_img("images/home/shows/creationshow.jpg",300,283,'Creation','/performances/creation.htm','');
kwimg[kwimg.length]=new kw_ei_img("images/shows/dramaticfoolfeature.gif",271,86,'Featuring%3A%20Drew%20The%20Dramatic%20Fool','/performances/dramaticfool.htm','');
kwimg[kwimg.length]=new kw_ei_img("images/home/shows/drewfoolshow.jpg",250,300,'Drew%20The%20Dramatic%20Fool','/performances/dramaticfool.htm','');
kwimg[kwimg.length]=new kw_ei_img("images/shows/fromtheashesfeature.gif",271,86,'Featuring%3A%20From%20The%20Ashes','/performances/fromtheashes.htm','');
kwimg[kwimg.length]=new kw_ei_img("images/home/shows/fromtheashesshow.jpg",300,300,'From%20the%20Ashes','/performances/fromtheashes.htm','');
kwimg[kwimg.length]=new kw_ei_img("images/shows/goyafeature.jpg",271,87,'Featuring%3A%20Goya%20In%20the%20House%20of%20the%20Deaf%20Man','/performances/goya.htm','');
kwimg[kwimg.length]=new kw_ei_img("images/home/shows/goyashow.jpg",300,225,'Goya%3A%20In%20the%20House%20of%20the%20Deaf%20Man','/performances/goya.htm','');
kwimg[kwimg.length]=new kw_ei_img("images/shows/handamationfeature.gif",271,85,'Featuring%3A%20Handamation','/performances/handamation.htm','');
kwimg[kwimg.length]=new kw_ei_img("images/home/shows/handamationshow.jpg",300,300,'Handamation','/performances/handamation.htm','');
kwimg[kwimg.length]=new kw_ei_img("images/shows/manifestofeature.gif",271,86,'Featuring%3A%20Manifesto%21','/performances/manifesto.htm','');
kwimg[kwimg.length]=new kw_ei_img("images/home/shows/manifestoshow.jpg",232,300,'Manifesto%21','/performances/othervolumes.htm','');
kwimg[kwimg.length]=new kw_ei_img("images/shows/misterobuffofeature.gif",271,86,'Featuring%3A%20Dario%20Fo%27s%20Mistero%20Buffo','/performances/misterobuffo.htm','');
kwimg[kwimg.length]=new kw_ei_img("images/home/shows/misterobuffoshow.jpg",212,300,'Dario%20Fo%27s%20Mistero%20Buffo','/performances/misterobuffo.htm','');
kwimg[kwimg.length]=new kw_ei_img("images/shows/mosaicfeature.gif",271,81,'Featuring%3A%20Mosaic','/performances/mosaic.htm','');
kwimg[kwimg.length]=new kw_ei_img("images/home/shows/mosaicshow.jpg",300,225,'Mosaic','/performances/mosaic.htm','');
kwimg[kwimg.length]=new kw_ei_img("images/shows/nanaprojectsfeature.gif",271,86,'Featuring%3A%20Nana%20Project%20Magic%20Lantern%20Shows%20and%20Films%20by%20Eric%20Dyer','/performances/nanaprojects.htm','');
kwimg[kwimg.length]=new kw_ei_img("images/home/shows/nanaprojectshow.jpg",300,201,'','','');
kwimg[kwimg.length]=new kw_ei_img("images/shows/othervolumesfeaturing.gif",271,86,'Featuring%20Other%20Volumes%20%20-%20A%20Visual%20Theatre%20Showcase','/performances/othervolumes.htm','');
kwimg[kwimg.length]=new kw_ei_img("images/shows/othervolumesshowphoto.jpg",300,220,'Featuring%20Other%20Volumes%20%20-%20A%20Visual%20Theatre%20Showcase','/performances/othervolumes.htm','');
kwimg[kwimg.length]=new kw_ei_img("images/shows/snowqueenfeature.gif",271,86,'Featuring%3A%20Snow%20Queen','/performances/snowqueen.htm','');
kwimg[kwimg.length]=new kw_ei_img("images/home/shows/snowqueenphoto.jpg",300,300,'Snow%20Queen','/performances/snowqueen.htm','');
kwimg[kwimg.length]=new kw_ei_img("images/shows/tableofcontentsfeature.gif",271,86,'Table%20of%20Contents','/performances/tableofcontents.htm','');
kwimg[kwimg.length]=new kw_ei_img("images/home/shows/tableofcontentsshow.jpg",300,259,'Table%20of%20Contents','/performances/tableofcontents.htm','');

kwei = new Array();
kwei[0]=new kw_ei("showphoto",8000);
kwei[0].ai(kwimg[16]);
kwei[0].ai(kwimg[18]);
kwei[0].ai(kwimg[20]);
kwei[0].ai(kwimg[22]);
kwei[0].ai(kwimg[24]);
kwei[0].ai(kwimg[26]);
kwei[0].ai(kwimg[28]);
kwei[0].ai(kwimg[30]);
kwei[0].ai(kwimg[32]);
kwei[0].ai(kwimg[34]);
kwei[0].ai(kwimg[36]);
kwei[0].ai(kwimg[38]);
kwei[0].ai(kwimg[40]);
kwei[0].ai(kwimg[42]);
kwei[0].ai(kwimg[44]);
kwei[1]=new kw_ei("showfeature",5000);
kwei[1].ai(kwimg[15]);
kwei[1].ai(kwimg[17]);
kwei[1].ai(kwimg[19]);
kwei[1].ai(kwimg[21]);
kwei[1].ai(kwimg[23]);
kwei[1].ai(kwimg[25]);
kwei[1].ai(kwimg[27]);
kwei[1].ai(kwimg[29]);
kwei[1].ai(kwimg[31]);
kwei[1].ai(kwimg[33]);
kwei[1].ai(kwimg[35]);
kwei[1].ai(kwimg[37]);
kwei[1].ai(kwimg[39]);
kwei[1].ai(kwimg[41]);
kwei[1].ai(kwimg[43]);
kwei[2]=new kw_ei("phototease",8000);
kwei[2].ai(kwimg[0]);
kwei[2].ai(kwimg[1]);
kwei[2].ai(kwimg[2]);
kwei[2].ai(kwimg[3]);
kwei[2].ai(kwimg[4]);
kwei[2].ai(kwimg[5]);
kwei[2].ai(kwimg[6]);
kwei[2].ai(kwimg[7]);
kwei[2].ai(kwimg[8]);
kwei[2].ai(kwimg[9]);
kwei[2].ai(kwimg[10]);
kwei[2].ai(kwimg[11]);
kwei[2].ai(kwimg[12]);
kwei[2].ai(kwimg[13]);
kwei[2].ai(kwimg[14]);

