// 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("", "BBweb-Portofino", "")
MainArray[0][MainVarCount++] = new Fix("", "BBweb-Bellagio-Alley", "")
MainArray[0][MainVarCount++] = new Fix("", "BBweb-Coliseum", "")
MainArray[0][MainVarCount++] = new Fix("", "BBweb-Bellagio", "")
MainArray[0][MainVarCount++] = new Fix("", "BBweb-Tuscan-Grapes", "")
MainArray[0][MainVarCount++] = new Fix("", "BBweb-Venice-Canal", "")

MainVar[0] =MainVarCount;
MainVarCount=0;

function menuThree(){
		// Hide All Open Menus		
				
		document.getElementById("MenuDropdown").style.visibility="visible";
	}
	
function menuFour(){
		document.getElementById("MenuDropdown").style.visibility="hidden";		
		//document.getElementById("TakeoutDropdown").style.visibility="hidden";		
	}
function menuFive(){
		document.getElementById("TakeoutDropdown").style.visibility="visible";		
	}

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 (hei > 700 ){
  	hei = 700;
	}
if (wid > 700 ){
  	wid = 700;
	}
  
  OpenWindow = window.open("", "remoteWin", "resizable=1, scrollbars=1, toolbar=0, left=15, top=10, width=550, height=550");
  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/postcards/' + MainArray[0][picName].PicVal + '.jpg><br>' 
	+ '<br><a href="javascript:window.close();">close window</a></center></body></html>');

  OpenWindow.document.close();
}