/*******************************************************************************FILE: mud_Scripts.jsREQUIRES: prototype.jsAUTHOR: Takashi Okamoto mud(tm) - http://www.mudcorp.com/VERSION: 2.1 - update to make it work more like MudFadeGalleryDATE: 04/07/2006--------------------------------------------------------------------------------This file is part of MudShiftContent.	MudShiftContent is free for anyone to use, but this header MUST be	included, and may not be modified.*******************************************************************************/////////////////////////////////////////////////////////////////////////////////// GLOBAL VARSvar imgs;var imgsGallery = new Array();////////////////////////////////////////////////////////////////////////////////// MOUSE EVENTSfunction setOnMouseClick() {	var elements = document.getElementsByTagName("a");	for (var i = 0; i < elements.length; i++) {		switch(elements[i].className) {			case "next":				elements[i].onclick = function() {					 imgs.move('next');					 return false;				}				break;			case "prev":				elements[i].onclick = function() {					 imgs.move('prev');					 return false;				}				break;		}	}}////////////////////////////////////////////////////////////////////////////////// INITfunction init() {	setOnMouseClick();	// images gallery	imgsGallery[0] = new Object();	imgsGallery[0].image = new Image();	imgsGallery[0].image.src = "images/image_0.jpg";	imgsGallery[0].title = "Columbus College of Art &amp; Design";	imgsGallery[0].caption = "Watercolor handbags";		imgsGallery[1] = new Object();	imgsGallery[1].image = new Image();	imgsGallery[1].image.src = "images/image_1.jpg";	imgsGallery[1].title = "Columbus College of Art &amp; Design";	imgsGallery[1].caption = "Ink lace dress";		imgsGallery[2] = new Object();	imgsGallery[2].image = new Image();	imgsGallery[2].image.src = "images/image_2.jpg";	imgsGallery[2].title = "Columbus College of Art &amp; Design";	imgsGallery[2].caption = "Marker lingerie";		imgsGallery[3] = new Object();	imgsGallery[3].image = new Image();	imgsGallery[3].image.src = "images/image_3.jpg";	imgsGallery[3].title = "Columbus College of Art &amp; Design";	imgsGallery[3].caption = "Marker lingerie";		imgsGallery[4] = new Object();	imgsGallery[4].image = new Image();	imgsGallery[4].image.src = "images/image_4.jpg";	imgsGallery[4].title = "Columbus College of Art &amp; Design";	imgsGallery[4].caption = "Marker fe-line platform sneakers";		imgsGallery[5] = new Object();	imgsGallery[5].image = new Image();	imgsGallery[5].image.src = "images/image_5.jpg";	imgsGallery[5].title = "Columbus College of Art &amp; Design";	imgsGallery[5].caption = "Rapid sketch";		imgsGallery[6] = new Object();	imgsGallery[6].image = new Image();	imgsGallery[6].image.src = "images/image_6.jpg";	imgsGallery[6].title = "Columbus College of Art &amp; Design";	imgsGallery[6].caption = "Pop quiz - draw what you are wearing";		imgsGallery[7] = new Object();	imgsGallery[7].image = new Image();	imgsGallery[7].image.src = "images/image_7.jpg";	imgsGallery[7].title = "Columbus College of Art &amp; Design";	imgsGallery[7].caption = "Rapid sketch baby ad layout";		imgsGallery[8] = new Object();	imgsGallery[8].image = new Image();	imgsGallery[8].image.src = "images/image_8.jpg";	imgsGallery[8].title = "Columbus College of Art &amp; Design";	imgsGallery[8].caption = "Baby wear";		imgsGallery[9] = new Object();	imgsGallery[9].image = new Image();	imgsGallery[9].image.src = "images/image_9.jpg";	imgsGallery[9].title = "Columbus College of Art &amp; Design";	imgsGallery[9].caption = "Baby wear";			// MudShiftContent(id, unitX, unitTotal)	imgs = new MudShiftContent('imgs', imgsGallery);		// set init	if ($('imgs_title')) $('imgs_title').innerHTML = imgsGallery[0].title;	if ($('imgs_caption')) $('imgs_caption').innerHTML = imgsGallery[0].caption;}////////////////////////////////////////////////////////////////////////////////// EVENTSEvent.observe(window, 'load', init, false);