



/*
Based on: Fading Scroller- By DynamicDrive.com
For full source code, 100's more DHTML scripts, and TOS,
visit http://www.dynamicdrive.com
*/

var delay=2800 //set delay between message change (in miliseconds)
var fcontent=new Array()
begintag='<font face="Arial" size=2>' //set opening tag, such as font declarations


		
		fcontent[0]="<B>BROOKLYN, NEW YORK, UNITED STATES<BR><A href='/calendar/item20440.html' target=_top>HIDE/SEEK: Difference and Desire in American Portraiture</A></B><BR><span class='tiny'><BR>BROOKLYN MUSEUM<BR>18&nbsp;November&nbsp;2011&nbsp;-&nbsp;12&nbsp;February&nbsp;2012</span>"
	
		
		fcontent[1]="<B>SAN FRANCISCO, UNITED STATES<BR><A href='/calendar/item20224.html' target=_top>Masters of Venice: Renaissance Painters of Passion and Power </A></B><BR><span class='tiny'><BR> DE YOUNG MUSEUM <BR>29&nbsp;October&nbsp;2011&nbsp;-&nbsp;12&nbsp;February&nbsp;2012</span>"
	
		
		fcontent[2]="<B>BUENOS AIRES, ARGENTINA<BR><A href='/calendar/item20227.html' target=_top>Ernesto Neto : O Bicho SusPenso na PaisaGen</A></B><BR><span class='tiny'><BR>FAENA ARTS CENTER<BR>23&nbsp;September&nbsp;2011&nbsp;-&nbsp;12&nbsp;February&nbsp;2012</span>"
	
		
		fcontent[3]="<B>LOS ANGELES, UNITED STATES<BR><A href='/calendar/item19838.html' target=_top>Ai Weiwei: Circle of Animals / Zodiac Heads: </A></B><BR><span class='tiny'><BR>LACMA<BR>20&nbsp;August&nbsp;2011&nbsp;-&nbsp;12&nbsp;February&nbsp;2012</span>"
	
		
		fcontent[4]="<B>NEW YORK, UNITED STATES<BR><A href='/calendar/item20437.html' target=_top>Damien Hirst: The Complete Spot Paintings 1986–2011 </A></B><BR><span class='tiny'><BR>GAGOSIAN GALLERY<BR>12&nbsp;January&nbsp;-&nbsp;18&nbsp;February&nbsp;2012</span>"
	
		
		fcontent[5]="<B>, HONG KONG<BR><A href='/calendar/item20438.html' target=_top>Damien Hirst: The Complete Spot Paintings 1986–2011 </A></B><BR><span class='tiny'><BR>GAGOSIAN GALLERY<BR>12&nbsp;January&nbsp;-&nbsp;18&nbsp;February&nbsp;2012</span>"
	
		
		fcontent[6]="<B>LONDON, ENGLAND<BR><A href='/calendar/item20439.html' target=_top>Damien Hirst: The Complete Spot Paintings 1986–2011</A></B><BR><span class='tiny'><BR>GAGOSIAN GALLERY<BR>12&nbsp;January&nbsp;-&nbsp;18&nbsp;February&nbsp;2012</span>"
	
		
		fcontent[7]="<B>LONDON, ENGLAND<BR><A href='/calendar/item20109.html' target=_top>Grayson Perry: The Tomb of the Unknown Craftsman </A></B><BR><span class='tiny'><BR>BRITISH MUSEUM<BR>6&nbsp;October&nbsp;2011&nbsp;-&nbsp;19&nbsp;February&nbsp;2012</span>"
	
		
		fcontent[8]="<B>VIENNA, AUSTRIA<BR><A href='/calendar/item20423.html' target=_top>Magritte</A></B><BR><span class='tiny'><BR>ALBERTINA<BR>9&nbsp;November&nbsp;2011&nbsp;-&nbsp;26&nbsp;February&nbsp;2012</span>"
	
		
		fcontent[9]="<B>PARIS, FRANCE<BR><A href='/calendar/item20273.html' target=_top>Cézanne and Paris</A></B><BR><span class='tiny'><BR>MUSÉE DU LUXEMBOURG<BR>12&nbsp;October&nbsp;2011&nbsp;-&nbsp;26&nbsp;February&nbsp;2012</span>"
	

	document.write("<font face='Arial' size=2><a target='_top' href='/calendar/calfp.asp'><B>CK Calendar: On Now</B></A><BR><BR>");
	closetag='</font>'

	var fwidth=280 ; //set scroller width
	var fheight=140; //set scroller height

	///No need to edit below this line/////////////////

	var ie4=document.all&&!document.getElementById;
	var ns4=document.layers;
	var DOM2=document.getElementById;
	var faderdelay=0;
	var index=0;

	if (DOM2)
		faderdelay=2000;

	//function to change content
	function changecontent(){
		if (index>=fcontent.length)
			index=0;
		if (DOM2){
			document.getElementById("fscroller").style.color="rgb(0,0,0)";
			document.getElementById("fscroller").innerHTML=begintag+fcontent[index]+closetag;
			colorfade();
		}
		else if (ie4)
			document.all.fscroller.innerHTML=begintag+fcontent[index]+closetag;
		else if (ns4){
			document.fscrollerns.document.fscrollerns_sub.document.write(begintag+fcontent[index]+closetag);
			document.fscrollerns.document.fscrollerns_sub.document.close();
		}

		index++;
		setTimeout("changecontent()",delay+faderdelay);
	}


	// colorfade() partially by Marcio Galli for Netscape Communications.  ////////////
	// Modified by Dynamicdrive.com

	frame=20;
	hex=255;  // Initial color value.

	function colorfade() {	         	
		// 20 frames fading process
		if(frame>0) {	
			hex-=12; // increase color value
			document.getElementById("fscroller").style.color="rgb("+hex+","+hex+","+hex+")"; // Set color value.
			frame--;
			setTimeout("colorfade()",20);	
			}
		else {
				document.getElementById("fscroller").style.color="rgb(0,0,0)";
				frame=20;
				hex=255;
		}   
	}

	if (ie4||DOM2)
		document.write('<div id="fscroller" style="border:0px solid black;word-wrap:break-word;width:'+fwidth+';height:'+fheight+';padding:2px"></div>');

	window.onload=changecontent;

	document.write('<ilayer id="fscrollerns" width=&{fwidth}; height=&{fheight};><layer id="fscrollerns_sub" width=&{fwidth}; height=&{fheight}; left=0 top=0></layer></ilayer>');
	document.write("<font face='Arial' size=2><a href='/calendar' target='_top' ><B>more...</B></A><BR>");
	
	
