// MyCategory:  Add your new category names.  Be sure to leave in the 'all' category!
MyCategory = new Array("all")

var MainVar = new Array() // Sets up the main array.

MainVar[0] = 0; // Sets up the variable that counts the pictures.


MainVarCount =0;
ArrayCount = 0; // Sets up number of photo albums.


function Fix(DatVal, PicVal, TitVal) { // Allows you to use variables for the array instead of numbers.
   this.DatVal = DatVal 
   this.PicVal = PicVal 
   this.TitVal = TitVal 
} 
var MainArray = new Array() // Sets up the main array.

// Now add one line for each picture you want in the album.  The format of these lines is shown below:
// MainArray[MainVar++] = new Fix("date", "picname", "pic title", "category", "pic description")
MainArray[0]= new Array();
MainArray[0][MainVarCount++] = new Fix("", "Image01", "Bellagio, Lake Como   Acrylics  36 X 40  Gallery wrapped")
MainArray[0][MainVarCount++] = new Fix("", "Image02", "Tremezzo, Lake Como  Acrylics  30 X 40  Gallery wrapped")
MainArray[0][MainVarCount++] = new Fix("", "Image03", "Sidewalk Café, Lake Como  Acrylics  48 X 36  Gallery wrapped")
MainArray[0][MainVarCount++] = new Fix("", "Image03a", "Bergamo, Italy  Acrylics  30 X 40  Gallery Wrapped")
MainArray[0][MainVarCount++] = new Fix("", "Image04", "La Via  Acrylics  48 X 36  Gallery Wrapped")
MainArray[0][MainVarCount++] = new Fix("", "Image05", "Spoleto  Acrylics  30 X 36  Gallery Wrapped")
MainArray[0][MainVarCount++] = new Fix("", "Image06", "La Scala  (The Staircase)  Acrylics  50 X 38  Framed<Br><br>This staircase was photographed in Spoleto, Italy in the summer of 2000.  The town of Spoleto boasts from its heights exquisite vistas of the surrounding countryside.  Cobbled roads follow the town that spills down the hill past upscale boutiques where clothing displays in windows are changed nightly in the Italian fashion, where food shops emit wonderful aromas of garlic, pepper, and onion, and where stairways and courtyards reveal interesting nooks and crannies that beg exploration.")
MainArray[0][MainVarCount++] = new Fix("", "Image07", "The Green Boat, Cinque Terre  Acrylics  36 X 30  Gallery Wrapped	")
MainArray[0][MainVarCount++] = new Fix("", "Image08", "Misty Day, Cinque Terre  Acrylics  30 X 40  Gallery Wrapped")
MainArray[0][MainVarCount++] = new Fix("", "Image09", "Flags, Cinque terre  Acrylics  30 X 34  Gallery Wrapped")
MainArray[0][MainVarCount++] = new Fix("", "Image10", "Monreale, Sicily  Acrylics  48 X 36  Gallery Wrapped")
MainArray[0][MainVarCount++] = new Fix("", "Image11", "Pottery Wall, Monreale, Sicily  Watercolors  22 X 30  Framed")
MainArray[0][MainVarCount++] = new Fix("", "Image12", "Key West Fountain, Florida  Acrylics  30 X 40")
MainArray[0][MainVarCount++] = new Fix("", "Image13", "Honfleur, France  Watercolors  34 X 40  Framed")
MainArray[0][MainVarCount++] = new Fix("", "Image14", "Fisherman, Dijon, France  Watercolors  24 X 37  Framed")
MainArray[0][MainVarCount++] = new Fix("", "Image16", "Balcony San Miguel de Allende, Mexico  Acrylics 12 X 14 Gallery Wrapped")
MainArray[0][MainVarCount++] = new Fix("", "Image17", "San Miguel de Allende, Mexico  Acrylics  30 X 40  Gallery Wrapped")
MainArray[0][MainVarCount++] = new Fix("", "Image18", "Milford Sound, New Zealand  Oils  20 X 30  Gallery Wrapped")

MainArray[0][MainVarCount++] = new Fix("", "Image19", "Bryce Canyon, Utah Hoodoos  Acrylics  20 X 30  Gallery Wrapped")
MainArray[0][MainVarCount++] = new Fix("", "Image20", "Bryce canyon, Utah Vista  Acrylics  20 X 30  Gallery Wrapped")
MainArray[0][MainVarCount++] = new Fix("", "Image21", "Open Range  Acrylics  36 X 48  Gallery Wrapped")
MainArray[0][MainVarCount++] = new Fix("", "Image22", "Fire storm  Acrylics Mixed Media  30 X 36 Framed")
MainArray[0][MainVarCount++] = new Fix("", "Image23", "Pieced Horse  Acrylics Mixed Media  30 X 40  Gallery Wrapped")
MainArray[0][MainVarCount++] = new Fix("", "Image24", "Mare and Colt  Acrylics  30 X 40  Gallery Wrapped")
MainArray[0][MainVarCount++] = new Fix("", "Image24a", "Snow and Birches  Acrylics Mixed Media  30 X 54  Framed")
MainArray[0][MainVarCount++] = new Fix("", "Image25", "Self Portrait  Watercolors  36 X 30  Framed<Br><br>I painted this from a photograph of myself at twenty years of age.  I took a picture of a modest young girl dressed in beige and white and transformed her into a spirited vamp, wearing red and orange.  Growing older at least has the benefit of granting confidence with years so one can wear colors that demand attention and do anything but fade the person into the background where she can observe in order to do the right thing.")
MainArray[0][MainVarCount++] = new Fix("", "Image26", "The Marine  Watercolors  36 X 30  Framed<br><br>From the perspective of many years of marriage, I found this photo of my husband particularly appealing.  He is eminently proud of his Marine Corps service, and over the years, I have heard stories of experiences repeated, exaggerated, changed for effect, and narrated with pride.  So I chose him in this context because it makes apparent his pride, confidence, and good looks.")
MainArray[0][MainVarCount++] = new Fix("", "Image27", "Parker  Watercolors  36 X 30  Framed<br><br>At age three, our first male grandchild had big blue eyes and towhead curls beyond compare.")
MainArray[0][MainVarCount++] = new Fix("", "Image28", "McLayne  Acrylics  36 X 30  Gallery Wrapped<br><br>I can still see McLayne standing on the stairs to our loft office, grinning at PopPop and me, knowing the loft is forbidden territory, and waiting for one of us to say, ''McLayne, you can't go up there.''  All the time, smiling, and in slow motion raising a foot slowly-slowly-to the next stair, testing all the way.")
MainArray[0][MainVarCount++] = new Fix("", "Image29", "Emory  Acrylics  36 X 30  Gallery Wrapped<br><br>With this little guy, I wanted softness-no hard lines--the colors just short of monochromatic so only his expressive face and little hands stand out.  He has the perfect inquisitive and vulnerable face of a child.")
MainArray[0][MainVarCount++] = new Fix("", "Image30", "Hayman Island, Australia  Oils  36 X 24  Gallery Wrapped")
MainArray[0][MainVarCount++] = new Fix("", "Image31", "Overturned Boat, British Virgin Islands  Acrylics  36 X 48  Gallery Wrapped")
MainArray[0][MainVarCount++] = new Fix("", "Image32", "Seashell  Acrylics  36 X 48  Gallery Wrapped")
MainArray[0][MainVarCount++] = new Fix("", "Image33", "Beach Scene, British Virgin Islands  Acrylics  30 X 40  Framed")
MainArray[0][MainVarCount++] = new Fix("", "Image34", "White on White  Acrylics  30 X 36   Gallery Wrapped")
MainArray[0][MainVarCount++] = new Fix("", "Image35", "Rooster with Attitude  Acrylics  30 X 40  gallery Wrapped")
MainArray[0][MainVarCount++] = new Fix("", "Image36", "Gardenia  Acrylics  48x36  Gallery Wrapped")
MainArray[0][MainVarCount++] = new Fix("", "Image37", "Bird of Paradise  Acrylics  40x30   Gallery Wrapped")
MainArray[0][MainVarCount++] = new Fix("", "Image38", "Hibiscus  Acrylics 40x30   Gallery Wrapped")
MainArray[0][MainVarCount++] = new Fix("", "Image39", "Palms  Acrylics  30x40  Gallery Wrapped")
MainArray[0][MainVarCount++] = new Fix("", "Image40", "Fruitstand  Acrylics  48x36  Gallery Wrapped")
MainArray[0][MainVarCount++] = new Fix("", "Image41", "Erice Courtyard, Sicily  Acrylics  48x36   Gallery Wrapped")
MainArray[0][MainVarCount++] = new Fix("", "Image42", "Venice  Acrylics  40x30  Gallery Wrapped")
MainArray[0][MainVarCount++] = new Fix("", "Image43", "Parker<br><br>Parker is an enigma.  He seems shy and hesitates to speak to those he doesn't know well; yet he is admired by his teachers who claim he is focused, considerate, and a leader in school.  We note his athletic prowess.  What fun it was capturing his white-blond curls and startling blue eyes.")

MainArray[0][MainVarCount++] = new Fix("", "Image44", "Bellagio, Lake Como   <br><br>print on heavy paper, 14x19 '', signed by the artist, and should be matted and framed under glass.  It is $50.00.")
MainArray[0][MainVarCount++] = new Fix("", "Image45", "La Scala  (The Staircase)  <Br><br>Giclee on canvas 24x18.  Signed and numbered from a printing of 95, and sells for $250.00.  It can be framed without matting or glass.")

MainArray[0][MainVarCount++] = new Fix("", "Image46", "")
MainArray[0][MainVarCount++] = new Fix("", "Image47", "")
MainArray[0][MainVarCount++] = new Fix("", "Image48", "")
MainArray[0][MainVarCount++] = new Fix("", "Image49", "")

MainArray[0][MainVarCount++] = new Fix("", "Image50", "Tumbleweeds  Diptych  Acrylics  24x48  Gallery Wrapped")
MainArray[0][MainVarCount++] = new Fix("", "Image51", "The Dancer Acrylics   20x46  Gallery Wrapped")
MainArray[0][MainVarCount++] = new Fix("", "Image52", "Thunderheads Acrylics    36x36  Gallery Wrapped")
MainArray[0][MainVarCount++] = new Fix("", "Image53", "Renegade Acrylics    24x36  Gallery Wrapped")
MainArray[0][MainVarCount++] = new Fix("", "Image54", "")

MainArray[0][MainVarCount++] = new Fix("", "Image55", "Bucking Horse  Acrylics Mixed Media 30x40  Gallery Wrapped")
MainArray[0][MainVarCount++] = new Fix("", "Image56", "Buffalo Portrait Acrylics Mixed Media 24x30 Gallery Wrapped")
MainArray[0][MainVarCount++] = new Fix("", "Image57", "Buffalo in Winter Acrylics Mixed Media 24x30 Gallery Wrapped")
MainArray[0][MainVarCount++] = new Fix("", "Image58", "Red Buffalo Acrylics Mixed Media 24x30 Gallery Wrapped")
MainArray[0][MainVarCount++] = new Fix("", "Image59", "Sunflowers Acrylics Mixed Media 40x30  Gallery Wrapped")
MainArray[0][MainVarCount++] = new Fix("", "Image60", "Italian Hillside Acrylics 36x24 Gallery Wrapped")
MainArray[0][MainVarCount++] = new Fix("", "Image61", "Sunflowers in Tuscany Acrylics 30x40 Gallery Wrapped")
MainArray[0][MainVarCount++] = new Fix("", "Image62", "Cortona, Italy Acrylics Mixed Media 30x40 Gallery Wrapped")
MainArray[0][MainVarCount++] = new Fix("", "Image63", "Churchyard with Poppies Acrylics 24x36 Gallery Wrapped")
MainArray[0][MainVarCount++] = new Fix("", "Image64", "Lake Garda, Italy Acrylics 30x40 Gallery Wrapped")
MainArray[0][MainVarCount++] = new Fix("", "Image65", "The Wash, Pienza Acrylics 48x36 Gallery Wrapped")
MainArray[0][MainVarCount++] = new Fix("", "Image66", "The Window Acrylics 48x36 Gallery Wrapped")
MainArray[0][MainVarCount++] = new Fix("", "Image67", "Poppies, Italy Acrylics 40x30 Gallery Wrapped")
MainArray[0][MainVarCount++] = new Fix("", "Image68", "Market Place, Positano, Italy Acrylics 40x216 Gallery Wrapped")
MainArray[0][MainVarCount++] = new Fix("", "Image69", "Orchids Acrylics 40x30 Gallery Wrapped")

MainArray[0][MainVarCount++] = new Fix("", "Image70", "Self Portrait<br><br>This portrait was painted from a photograph taken when I was 20, and shy.  The clothing in the photo was bland--white and beige.  In the painting, I chose to clothe the subject in bright reds and oranges that indicate confidence and flare, reflecting either who I am or who I would like to be.")
MainArray[0][MainVarCount++] = new Fix("", "Image71", "Wherefore Art Thou   40x30    Acrylics    Gallery wrapped")
MainArray[0][MainVarCount++] = new Fix("", "Image72", "The Collection   24x18     Acrylics       Gallery wrapped")
MainArray[0][MainVarCount++] = new Fix("", "Image73", "Hanging Out   40x30     Acrylics     Gallery wrapped")
MainArray[0][MainVarCount++] = new Fix("", "Image74", "McKenzie (child between two dogs)<br><br> McKenzie is a lively but gentle child who loves animals.  She feeds the ducks, turkeys, geese, scratches the pigs on the top of the head, and isn't bothered when the goats head butt her.   I picture her carrying around a baby chick or bunny, and giving a name to all of them.")
MainArray[0][MainVarCount++] = new Fix("", "Image75", "Bodie<br><br> At a young age, Bodie has few fears.  Even though he lives across the country and doesn't see PopPop and me often, when we are together, he steps forward immediately and greets us.  He is as tow-headed as a child can be.")
MainArray[0][MainVarCount++] = new Fix("", "Image76", "Moonstruck  (reclining nude with moon)  Acrylics  24x48")
MainArray[0][MainVarCount++] = new Fix("", "Image77", "Gossip   40x30     Acrylics     Gallery wrapped")

MainArray[0][MainVarCount++] = new Fix("", "Image78", "The Studio        (paint tubes)  24x30  Oils    Gallery wrapped")
MainArray[0][MainVarCount++] = new Fix("", "Image79", "Red Boat, Vinoy Yacht Basin, St. Petersburg, Florida  (red sail boat)  24x30  Oils  Gallery wrapped")
MainArray[0][MainVarCount++] = new Fix("", "Image80", "The Red Dingy, Vinoy Yacht Basin, St. Petersburg, Florida 24x30  Oils gallery wrapped")
MainArray[0][MainVarCount++] = new Fix("", "Image81", "Waterfront, Cinque Terre, Italy  (umbrellas)  40x30  Oils   Gallery wrapped")
MainArray[0][MainVarCount++] = new Fix("", "Image82", "Bed of Roses  (reclining nude with roses beneath)  Oils  24x48")


MainArray[0][MainVarCount++] = new Fix("", "Image83", "Horses, The Storm   Oils,  40x30")
MainArray[0][MainVarCount++] = new Fix("", "Image84", "Poppies  Acrylics  40x30")
MainArray[0][MainVarCount++] = new Fix("", "Image85", "Stallions")

MainArray[0][MainVarCount++] = new Fix("", "Image86", "Peruvian Girl  Oils 40x30")
MainArray[0][MainVarCount++] = new Fix("", "Image87", "Tiki Hut  Oils  20x16")
MainArray[0][MainVarCount++] = new Fix("", "Image88", "The Dingy  Oils   20x16")
MainArray[0][MainVarCount++] = new Fix("", "Image89", "The Pier, Cinque Terre, Italy    Oils  40x30")
MainArray[0][MainVarCount++] = new Fix("", "Image90", "Swinging in the Rain, Cinque Terre, Italy   Oils  40x30")
MainArray[0][MainVarCount++] = new Fix("", "Image91", "Clay Pots  Acrylics 24x30")
MainArray[0][MainVarCount++] = new Fix("", "Image92", "Boy in the Green Jacket, Cuzco, Peru  Oils  30x40")
MainArray[0][MainVarCount++] = new Fix("", "Image93", "Nicole  Oils  30x30")
MainArray[0][MainVarCount++] = new Fix("", "Image94", "Roseate Spoonbills  Oils  40x30  Gallery wrapped")
MainArray[0][MainVarCount++] = new Fix("", "Image95", "Rososter  Oils  30x48  Gallery wrapped")
MainArray[0][MainVarCount++] = new Fix("", "Image96", "Frogs  Oils  30x48  Gallery wrapped")
MainArray[0][MainVarCount++] = new Fix("", "Image97", "Racing Colors  40x30  Oils  Gallery wrapped")
MainArray[0][MainVarCount++] = new Fix("", "Image98", "Regatta  40x30  Encaustics and Oils  Framed 34x44")
MainArray[0][MainVarCount++] = new Fix("", "Image99", "Beach Walk  30x40  Oils")
MainArray[0][MainVarCount++] = new Fix("", "Image100", "Grace  Acrylicss  40x30  Gallery wrapped")
MainArray[0][MainVarCount++] = new Fix("", "Image101", "Broken Pots  Oils  40x30  Gallery wrapped")

MainVar[0] =MainVarCount;
MainVarCount=0;
	
	var aryImages = new Array("Home","Paintings","Reproductions","ContactUs");
	var objImageOn;
	var objImageOff;
		
	function PreloadImages() {
		objImageOn = new Array(aryImages.length);
		objImageOff = new Array(aryImages.length);
		for(i = 0; i < aryImages.length; i++)
		{	
			objImageOn[aryImages[i]] = new Image();
			objImageOff[aryImages[i]] = new Image();
			objImageOn[aryImages[i]].src = "images/Rita_Nav_" + aryImages[i] + "-Over.gif";
			objImageOff[aryImages[i]].src = "images/Rita_Nav_" + aryImages[i] + ".gif";
		}
	}
	
	function menuThree(MenuName){
		// Hide All Open Menus				
		document.getElementById("ReproductionsDropdown").style.visibility="hidden";
		document.getElementById("PaintDropdown").style.visibility="visible";		
	}
	
	function menuFour(){
		document.getElementById("ReproductionsDropdown").style.visibility="hidden";
		document.getElementById("PaintDropdown").style.visibility="hidden";
		
	}
	function menuFive(){
		// Hide All Open Menus		
		document.getElementById("PaintDropdown").style.visibility="hidden";		
		document.getElementById("ReproductionsDropdown").style.visibility="visible";
	}
	function ImageRollOver(strImage)
	{
		if(!document.images) return;
		objImage = document.getElementById(strImage);
		
		if(objImage != null)
			objImage.src = objImageOn[strImage].src;
	}
	
	function ImageRollOut(strImage)
	{
		if(!document.images) return;		
		objImage = document.getElementById(strImage);
		
		if(objImage != null)
			objImage.src = objImageOff[strImage].src;
	}
	
	var timerId = null;
	

	function fScroll(direction)
	{
		switch(direction)
		{
			case "Down":
				timerId = window.setInterval("ScrollDown()", 50);
				break;
			case "Up":
				timerId = window.setInterval("ScrollUp()", 50);
				break;
		}
	}
	
	function ScrollDown()
	{
		var content = document.getElementById("Content");
		if(content == null)
			return;
		content.doScroll('scrollbarDown');
	}
	
	function ScrollUp()
	{	
		var content = document.getElementById("Content");
		if(content == null)
			return;
			
		content.doScroll('scrollbarUp');
	}

	
	function ResetTimer()
	{
		if(timerId != null)
			clearInterval(timerId);
	}
	
	function MovePicture(strPicName)
	{
		
		document.getElementById("Pic").innerHTML = '<a href="javascript:PicRemote(' + strPicName + ')"><img src="/images/' + MainArray[0][strPicName].PicVal + '.jpg" border="0" height="235"></a><br><br>' + MainArray[0][strPicName].TitVal ;
	
	}
	
	function PicRemote(picName) { // Pops up the photo in a remote window.
    ShowingImage = new Image();
    ShowingImage.src = '/images/' + MainArray[0][picName].PicVal + '.jpg';
    wid = ShowingImage.width + 50;
    hei = ShowingImage.height + 100;
  //if (wid < 30 || hei < 30) {
    //wid=650;
    //hei=550;
  //}
  //if (screen.width < wid || screen.height < hei) {
  //  wid = screen.width - 50;
  //  hei = screen.height - 50;
  //}
  if (hei > 700 ){
  	hei = 700;
	}
if (wid > 700 ){
  	wid = 700;
	}
  
  OpenWindow = window.open("", "remoteWin", "resizable=1, scrollbars=1, toolbar=0, left=15, top=10, width=" + wid + ", height=" + hei);
  OpenWindow.document.open();

  OpenWindow.document.write('<html><head><title></title></head>'
    + '<body font:8pt verdana; margin:2px"><center>'
	+'<a href="javascript:window.close();">close window</a><br><br>'
    + '<img src=/images/' + MainArray[0][picName].PicVal + '.jpg><br>' 
	+ '<br><a href="javascript:window.close();">close window</a></center></body></html>');

  OpenWindow.document.close();
}
