



/*
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>DUBAI, UNITED ARAB EMIRATES<BR><A href='/calendar/item16826.html' target=_top>Art Dubai 2010</A></B><BR><span class='tiny'><BR>CONTRASTS GALLERY AT ART DUBAI<BR>16&nbsp;-&nbsp;20&nbsp;March&nbsp;2010</span>"
	
		
		fcontent[1]="<B>PARIS, FRANCE<BR><A href='/calendar/item16799.html' target=_top>Breaking Point: Kathryn Bigelow's Life in Art  </A></B><BR><span class='tiny'><BR>GALERIE CASTILLO/CORRALES<BR>16&nbsp;January&nbsp;-&nbsp;20&nbsp;March&nbsp;2010</span>"
	
		
		fcontent[2]="<B>BUENOS AIRES, ARGENTINA<BR><A href='/calendar/item16802.html' target=_top>Unseen voices</A></B><BR><span class='tiny'><BR>FUNDACIÓN PROA<BR>25&nbsp;January&nbsp;-&nbsp;25&nbsp;March&nbsp;2010</span>"
	
		
		fcontent[3]="<B>SAN FRANCISCO, UNITED STATES<BR><A href='/calendar/item16805.html' target=_top>Temporal Surfaces : New Works by Kevin Cyr and Jessica Hess</A></B><BR><span class='tiny'><BR>WHITE WALLS GALLERY <BR>6&nbsp;-&nbsp;27&nbsp;March&nbsp;2010</span>"
	
		
		fcontent[4]="<B>NEW YORK, UNITED STATES<BR><A href='/calendar/item16401.html' target=_top>Tseng Kwong Chi </A></B><BR><span class='tiny'><BR>PAUL KASMIN GALLERY<BR>11&nbsp;February&nbsp;-&nbsp;27&nbsp;March&nbsp;2010</span>"
	
		
		fcontent[5]="<B>BUDAPEST, HUNGARY<BR><A href='/calendar/item16683.html' target=_top>Post Global Warming Survival Kit</A></B><BR><span class='tiny'><BR>VIDEOSPACE GALLERY<BR>5&nbsp;February&nbsp;-&nbsp;27&nbsp;March&nbsp;2010</span>"
	
		
		fcontent[6]="<B>MEXICO CITY, MEXICO<BR><A href='/calendar/item16704.html' target=_top>Thomas Glassford: Afterglow</A></B><BR><span class='tiny'><BR>MUSEO EL ECO<BR>18&nbsp;February&nbsp;-&nbsp;28&nbsp;March&nbsp;2010</span>"
	
		
		fcontent[7]="<B>SAN FRANCISCO, UNITED STATES<BR><A href='/calendar/item15464.html' target=_top>Tutankhamun and the Golden Age of the Pharaohs</A></B><BR><span class='tiny'><BR>DE YOUNG MUSEUM <BR>27&nbsp;June&nbsp;2009&nbsp;-&nbsp;28&nbsp;March&nbsp;2010</span>"
	
		
		fcontent[8]="<B>BARCELONA , SPAIN<BR><A href='/calendar/item16197.html' target=_top>Pre-Columbian Funerary Art: The Passion of Tórtola Valencia</A></B><BR><span class='tiny'><BR>EGYPTIAN MUSEUM OF BARCELONA <BR>12&nbsp;December&nbsp;2009&nbsp;-&nbsp;30&nbsp;March&nbsp;2010</span>"
	
		
		fcontent[9]="<B>NEWPORT NEWS, VIRGINIA, UNITED STATES<BR><A href='/calendar/item16492.html' target=_top> Women of a New Tribe </A></B><BR><span class='tiny'><BR>DOWNING GROSS CULTURAL ARTS CENTER<BR>1&nbsp;February&nbsp;-&nbsp;31&nbsp;March&nbsp;2010</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>");
	
	