//
//-----------------------------------------|
//		  1. VIEWER ARRAYS	     		   |
//		     To edit the viewer:  		   |
//		     A)Change the text for the 	   |
//		       title in titleArray below   |
//		     B)Change the text for the 	   |
//		       description in descArray	   |
//		       below.					   |
//-----------------------------------------|
/*7titleArray = new Array();
titleArray[0] = "";
titleArray[1] = "Agathe (Rostel) Roestel (1866-1920, German)";
titleArray[2] = "Marshak & Cie. hardstone, gold and diamond bear group";
titleArray[3] = "Patek Philippe repeating open face pocket watch in 18K gold case";
titleArray[4] = "Steinway & Sons model-L grand piano";
titleArray[5] = "After Jean-Baptiste Carpeaux (1827-1875, French)";
titleArray[6] = "Rare American mahogany tall case clock by Lebbeus Dod, Mendham NJ (1739-1816)";
titleArray[7] = "Luis Alvarez Catala (1836-1901, Spanish)";
titleArray[8] = "Tiffany & Co. sterling silver six-piece tea/coffee service and tray";
titleArray[9] = "Modest Cuixart (b. 1925, Spanish)";
titleArray[10] = "Black Forest carved and polychromed wood bear hall tree";
titleArray[11] = "Cartier 18K gold Art Deco table clock";
titleArray[12] = "Timoleon Marie Lobrichon (1831-1914, French)";
titleArray[13] = "Fine Japanese engraved brass and gold lacquer box";
titleArray[14] = "Set of four (4) Edwardian silver-gilt master salt cellars";
titleArray[15] = "Attributed to Camille Pissarro (1830-1903, French)";
titleArray[16] = "Early Chinese celadon-glazed porcelain bowl from C.T. Loo";
titleArray[17] = "Suzanne Valadon (1865-1938, French)";
//
descArray = new Array();
descArray[0] = "";
descArray[1] = "Oil on canvas, signed \"A. Roestel\", upper left, 45.5\"h x 57\"w";
descArray[2] = "By H. Berger, Marshak & Cie., the agate figure with diamond eyes clenching a ruby-eyed gold fish, on mineral crystal base, 5\"h x 9\"l x 6\"w,";
descArray[3] = "Retailed by Tiffany & Co., repeating on two gongs, case no. 229829, movement no. 112101, case marked \"PP & Co.\"";
descArray[4] = "No. 358351L, circa 1949, the black lacquer case on brass casters with matching bench, well-serviced with very clean case";
descArray[5] = "\"Le Chinois\", bronze bust with brown and black patina, signed and dated \"J. B. Carpeaux 1874\", and impressed \"Propriete Carpeaux\" with bird cypher, 27\"h x 21\"w";
descArray[6] = "Published in William E. Drost's book \"Clocks and Watches of New Jersey\", 88\"h x 18.25\"w x 9.75\"d, old finish";
descArray[7] = "\"The Costume Ball\", oil on canvas, signed, inscribed and dated \"L. Alvarez  - Roma  - 1881\", lower right,  22\"h x 33\"";
descArray[8] = "No. 15891/3485M,  kettle: 13\"h x 9\" (over spout), tray: 18\"w x 29\" (over handles), approx. 330 ozt.";
descArray[9] = "Untitled, mixed media on canvas, signed and dated on verso \"Cuixart '59\", 64\"h x 51.5\"w, exhibition label on verso \"Bienal del Museo de Arte Moderna de San Pablo 1959\"";
descArray[10] = "The large bear and cub with glass eyes, 75\"h x 18\"w x 23\"d";
descArray[11] = "Inscribed \"Cartier 1598\", the fifteen-jewel movement numbered \"Geneva Clock Co. - 57755\", approx. 2.75\"h x 2.25\"w";
descArray[12] = "Oil on canvas, signed and dated \"T. Lobrichon 1865\", lower right, 52\"h x 35\"w";
descArray[13] = "With silver mounts, the interior lacquered in gold and signed on interior of lid, 6\"h x 11\"l x 9\"w - Provenance: Said to have belonged to Charles DeGaulle";
descArray[14] = "London, circa 1910, maker's mark those of Carrington & Co., 3.25\"h x 6\"l x 3.25\"d, approx. 37 ozt.";
descArray[15] = "Pastel on paper, signed \"C.P.\", lower left, 24.5\"h x 15.75\"w (sight)";
descArray[16] = "Underglaze blue reign mark, 2.75\"h x 10.75\"dia., glaze wear - Provenance: Frank Caro - Successor to C.T. Loo";
descArray[17] = "Outdoor laundry, mixed media on brown paper, signed and dated \"Suzanne Valadon 1911\", 13.75\"h x 16\"w (sight)";
//
//
priceArray = new Array();
priceArray[0] = "";
priceArray[1] = "Sold: $72,450.00";
priceArray[2] = "Sold: $4,715.00.00";
priceArray[3] = "Sold: $7,187.50";
priceArray[4] = "Sold: $35,650.00";
priceArray[5] = "Sold: $34,500.00";
priceArray[6] = "Sold: $14,950.00";
priceArray[7] = "Sold: $34,500.00";
priceArray[8] = "Sold: $14,375.00";
priceArray[9] = "Sold: $23,000.00";
priceArray[10] = "Sold: $5,290.00";
priceArray[11] = "Sold: $5,750.00";
priceArray[12] = "Sold: $13,800.00";
priceArray[13] = "Sold: $6,037.50";
priceArray[14] = "Sold: $2,990.00";
priceArray[15] = "Sold: $36,800.00";
priceArray[16] = "Sold: $4,140.00";
priceArray[17] = "Sold: $10,350.00";
//
//-----------------------------------------|
//		  2. DECLARE VARIABLES     		   |
//-----------------------------------------|
titleText = "Last Auction's Highlights";
i=1;
var mn=2;
var mx=titleArray.length-1;
var stopMx=mx-1;
//
//-----------------------------------------|
//		  3. VIEWER FUNCTIONS     		   |
//-----------------------------------------|
/*function ChangeTitle(id) {
	var newtitle = titleArray[id];
	var newdesc = descArray[id];
	var newprice = priceArray[id];
	var vTitle = document.getElementById("vTitle");
	var desc = document.getElementById("desc");
	var price = document.getElementById("price");
	vTitle.firstChild.nodeValue=newtitle;
	desc.firstChild.nodeValue=newdesc;// + "\n\ni:" + i + "\n\nmx:" + mx + "\n\nstopMx:" + stopMx;
	price.firstChild.nodeValue=newprice;
}
function MM_GotoPreGraph()
{
	if(i>mn)
	{
		i--;
		ImgGraph.src="images/img"+i+'.jpg';
		divNext.style.display='inline';
		ChangeTitle(i);
	}
	else if(i<=mn)
	{
		divPre.style.display='none';	
		i--;
		ImgGraph.src="images/img"+i+'.jpg';
		ChangeTitle(i);
	}
}
function MM_GotoNextGraph()
{
	if(i<=stopMx)
	{
		if(i<stopMx){
			i++;
			ImgGraph.src="images/img"+i+'.jpg';
			divPre.style.display='inline';
			ChangeTitle(i);
		}
		else if(i==stopMx)
		{
			divNext.style.display='none';
			i++;
			ImgGraph.src="images/img"+i+'.jpg';
			ChangeTitle(i);
		}
	}
}
var gTimer2 = null;
var gTimer2Count = 0;
function Timer2()
{
	if(gTimer2Count<=stopMx){
		gTimer2Count++;
		if(gTimer2Count<mx){
//			window.status = "Timer2 Running - " + gTimer2Count;
			MM_GotoNextGraph();
			divPre.style.display='none';	
		}else if(gTimer2Count==mx){
			i=1;
			stp=0;
			ImgGraph.src="images/img"+i+'.jpg';
			ChangeTitle(i);
			divPre.style.display='none';	
			divNext.style.display='inline';
			divEnlarge.src="images/enlargeBtn.gif";
		}
	}
}

function Timer2BtnStart()
{
	if (gTimer2==null)
	{
		gTimer2 = window.setInterval("Timer2()",2500);
	}
}
function Timer2BtnStop()
{
	if (gTimer2!=null)
	{
		window.clearInterval(gTimer2);
		gTimer2 = null;
		window.status = "";
		stp=0;
	}
}
function loadSlideShow()
{
if(document.title = "Millea Bros. Ltd.: Auction & Appraisal Services Home"){
		stp=1;
		Timer2BtnStart();
		divEnlarge.src="images/stopBtn.gif";
		divPre.style.display='none';	
		divNext.style.display='none';
}
}
function enlgStop()
{
	if ((stp==1)||(stp==null)){
		if(gTimer2Count<mx){
			if((gTimer2Count<1)||(i==null)){
				divPre.style.display='none';	
			}else{
				divPre.style.display='inline';	
			}
			Timer2BtnStop()
			divNext.style.display='inline';
			divEnlarge.src="images/enlargeBtn.gif";
		}else if(gTimer2Count>=mx){
			Timer2BtnStop()
			divEnlarge.src="images/enlargeBtn.gif";
			divPre.style.display='inline';	
			divNext.style.display='none';
		}
	}else{
		openPops('zoomIn.html',i);
	}
}
function overSwap(b){
	b.src='images/enLargeBtnOvr.gif';
};*/