// JavaScript Document






/*----------Home page content vars------------*/
/*TO DO - in IE6, Sometimes the images load completely and other times they don't. */




//Image Vars - this is the html for the image that gets written to the container_left div

var img0 = '<img src="/haggerty/_images/home_img0.jpg" width="485" height="390" alt="Haggerty Exhibition: Persian Visions,  Haggerty Exhibition: Persian Visions"/>'

var img1 = '<img src="/haggerty/_images/home_img1.jpg" width="485" height="390" alt="Haggerty Exhibition: Persian Visions,  Haggerty Exhibition: Persian Visions"/>'


var img2 = '<img src="/haggerty/_images/home1b.jpg" width="485" height="390" alt="Pairings: 25th Anniversary Celebration at the Haggerty"/>'


var img3 = '<img src="/haggerty/_images/home_img3.jpg" width="485" height="390" alt="Persian Visions"/>'


var img4 = '<img src="/haggerty/_images/home_img4.jpg" width="485" height="390" alt="Persian Visions"/>'


var img5 = '<img src="/haggerty/_images/home_img5.jpg" width="485" height="390" alt="Persian Visions"/>'


var img6 = '<img src="/haggerty/_images/home_img6.jpg" width="485" height="390" alt="Persian Visions"/>'


var img7 = '<img src="/haggerty/_images/home_img7.jpg" width="485" height="390" alt="Pairings: 25th Anniversary Celebration at the Haggerty"/>'

var img8 = '<img src="/haggerty/_images/home_img8.jpg" width="485" height="390" alt="Picasso across Curriculum"/>'

var img9 = '<img src="/haggerty/_images/home_img9.jpg" width="485" height="390" alt="Persian Visions"/>'

//Content Vars - this is the HTML for the copy that gets written to the container_right div

var content0 = '<h1>Pairings</h1><h2 class="gold">The Haggerty celebrates 25 years</h2><p>Pairings of works from the permanent collection invite  the viewer to<br/>re-see the collection by considering one work in relationship to another.</p><p><a href="exhibit_2010_01_25_anniversary.shtml" class="arrow">More infomation</a></p><h1>Persian Visions </h1><h2 class="gold">Contemporary Photography from Iran</h2><p>The first survey of contemporary Iranian photography to travel <br />to the United States.</p><p><a href="exhibit_2010_01_persian.shtml" class="arrow">More information</a></p>'

var content1 = '<h1>Persian Visions</h1><h2 class="gold">Contemporary Photography from Iran</h2><h2 class="bottom">October 14, 2009 – January 17, 2010</h2><a href="/haggerty/exhibit_2010_01_persian.shtml" class="arrow">More info</a>'


var content2 = '<h1>Pairings</h1><h2 class="gold">The Haggerty Celebrates 25 Years</h2><h2 class="bottom">October 14, 2009 – January 17, 2010</h2><p>On the eve of the 25th anniversary of the Haggerty, the museum will present a special exhibition to highlight some of the treasures of its permanent collection. The enormous variety of works in the collection will be organized in the exhibition through individual pairings of works that invite the viewer to consider one work in relationship to another and to re-see the collection through the pairings. </p><a href="/haggerty/exhibit_2010_01_25_anniversary.shtml" class="arrow">More info</a>'

var content3 = '<h1>Educational Programs</h1><h2 class="gold">Picasso Across Curriculum</h2><h2 class="bottom">An outreach program presented by the Haggerty Museum of Art</h2><a href="/haggerty/educational_programs.shtml" class="arrow">More info</a>'

/*These are the attributions for the artwork that appears in the left div*/

var attribution0 = '<p>&nbsp;</p>'
var attribution1 = '<div class="attr"><p>Pieter Claeissins I, <em>The Holy Family</em></p><p>Jacques Villion, <em>Maternit&egrave;</em></p></div>'
var attribution2 = '<div class="attr"><p>Georges Braque,<em> Profil de femme au chapeau</em></p><p>Jean-L&egrave;on G&egrave;r&ocirc;me, <em>Portrait of C&egrave;cile Vitet</em></p></div>'
var attribution3 = '<div class="attr"><p>Miguel Rio Branco, <em>The Magician</em></p><p>Rufino Tamayo, <em>Hombre con Bast&oacute;n</em></p></div>'
var attribution4 = '<div class="attr"><p>Ralph Steiner, <em>Two Men and the Ocean</em><p>Harry Callahan,<em> Elanor and Barbara, Chicago</em></p></p></div>'
var attribution5 = '<div class="attr"><p>Bahman Jalali, <em>Image of Imagination</em></p></div>'
var attribution6 = '<div class="attr"><p>Arman Stephanian, <em>Untitled</em></p></div>'
var attribution7 = '<div class="attr"><p>Ahmad Nateghi,<em> Untitled</em></p></div>'
var attribution8 = '<div class="attr"><p>Farshid Azarang, <em>Scattered Reminiscences</em></p></div>'
var attribution9 = '<div class="attr"><p>Shahriar Tavakoli, <em>My Family (Hallelujah 2)</em></p></div>'

var thumb3 = '/haggerty/_images/home_th_3_on.jpg/'

function contentSwitcher(img, content, attribution) {
	
	document.getElementById('container_left').innerHTML=img;
	document.getElementById('container_right').innerHTML=content+attribution;
	
}

