	var H_objs = 89;
	var C_pages = 0;
	var D_pages = (H_objs / 5) + '';
	var t_pages = D_pages.split(".");
	var z_pages = Math.abs(t_pages[0]);
	t_pages = Math.abs(z_pages) * 5;
	if(Math.abs(t_pages)!=Math.abs(H_objs)){
		z_pages++;
	}
	var MaxP = Math.abs(z_pages);
	var Desc = new Array();
	var GImg = new Array();
	var CurInt = '';
	var CurrentDir = "http://www.collierclerk.com/images/gallery/";
	

	function Load_app(){
		GImg[88] = 'Gallery_2008_0089.jpg';
		Desc[88] = 'The BCC recognizes the Clerk’s office for the CAFR award which pays tribute to excellence in financial reporting.<br /><br />March 9, 2010';
		GImg[87] = 'Gallery_2008_0085.jpg';
		Desc[87] = 'Joe Adams welcomes guest speaker Dwight Brock to an overflow crowd at the Pelican Bay Men’s Coffee <br /><br />March 9, 2010';
		GImg[86] = 'Gallery_2008_0088.jpg';
		Desc[86] = 'Joe Adams welcomes guest speaker Dwight Brock to an overflow crowd at the Pelican Bay Men’s Coffee <br /><br />March 9, 2010';
		GImg[85] = 'Gallery_2008_0087.jpg';
		Desc[85] = 'Telephone Company Retirees of Naples discuss county government with Dwight. <br /><br />March 9, 2010';
		GImg[84] = 'Gallery_2008_0086.jpg';
		Desc[84] = 'Telephone Company Retirees of Naples discuss county government with Dwight. <br /><br />March 9, 2010';
		GImg[83] = 'Gallery_2008_0084.jpg';
		Desc[83] = 'Riviera Golf Mens\' Club Over 100 members turned out to learn about the Clerk\'s Office.<br /><br />February 9, 2010';
		GImg[82] = 'Gallery_2008_0083.jpg';
		Desc[82] = 'Bob St. Cyr is welcomed by Steve Bishop, President and Bill Burns, Program Coordinator, of the Riviera Golf Mens\' Club<br /><br />February 9, 2010';
		GImg[81] = 'Gallery_2008_0082.jpg';
		Desc[81] = 'Dwight observes the Civil clerks conduct one of the largest foreclosure sales (30M) in Collier County.....<br /><br />January 14, 2010';
		GImg[80] = 'Gallery_2008_0081.jpg';
		Desc[80] = 'Attracting investors and observers in the first floor atrium of the courthouse annex.<br /><br />January 14, 2010';
		GImg[79] = 'Gallery_2008_0080.jpg';
		Desc[79] = 'Dwight and Connie Mack exchange pleasantries at the Republican Women\'s Club Federated.<br /><br />November 13, 2009';
		GImg[78] = 'Gallery_2008_0079.jpg';
		Desc[78] = 'Clerk\'s role as auditor was reviewed by Mr. Brock at the Downtown Kiwanis Club.<br /><br />November 10, 2009';
		GImg[77] = 'Gallery_2008_0078.jpg';
		Desc[77] = 'The Clerks Accounts Payable staff accepts a Proclamation from the Board of County Commissioners declaring November 9-13 2009 Accounts Payable Week in Collier County.<br /><br />October 27, 2009';
		GImg[76] = 'Gallery_2008_0077.jpg';
		Desc[76] = 'Northside Naples Kiwanis Club President Steve LeBlanc welcomes Dwight as keynote speaker.<br /><br />October 22, 2009';
		GImg[75] = 'Gallery_2008_0076.jpg';
		Desc[75] = 'Christine Wheeler from Hodges University welcomes  80 Collier County residents to the Using CollerClerk.com WorkShop<br /><br />October 8, 2009';
		GImg[74] = 'Gallery_2008_0075.jpg';
		Desc[74] = 'President Sandy Wolf welcomes Dwight Brock to the National Jewish Women Council,  along with Gladys Warshauer <br /><br />October 20, 2009';
		GImg[73] = 'Gallery_2008_0073.jpg';
		Desc[73] = 'The Clerk participated in the FL Housing Help Workshop<br /><br />July 25, 2009';
		GImg[72] = 'Gallery_2008_0074.jpg';
		Desc[72] = 'for the public held at Edison State College<br /><br />July 25, 2009';
		GImg[71] = 'Gallery_2008_0072.jpg';
		Desc[71] = 'CBIA\'s Executive Officer, Bill Wendle; Government Affairs Chairman, Pierre Bruno and President, Tom Lykos welcomed Dwight.';
		GImg[70] = 'Gallery_2008_0071.jpg';
		Desc[70] = 'The Foreclosure Taskforce Seminar attracted a large gathering.';
		GImg[69] = 'Gallery_2008_0070.jpg';
		Desc[69] = 'Dwight conducted real time records searches';
		GImg[68] = 'Gallery_2008_0069.jpg';
		Desc[68] = 'and later visited with members of the task force.';
		GImg[67] = 'Gallery_2008_0067.jpg';
		Desc[67] = 'Ed Larson, Treasurer of the Collier County Republican Club, welcomes members<br /><br />May 11, 2009';
		GImg[66] = 'Gallery_2008_0068.jpg';
		Desc[66] = 'before Dwight presented a legislative update and responded to questions from the audience.<br /><br />May 11, 2009';
		GImg[65] = 'Gallery_2008_0066.jpg';
		Desc[65] = 'Christine Wheeler, Director of the Frances Pew Hayes Center,  welcomes a “full house” of 80 people to the Clerk\’s Tenant Evictions seminar.<br /><br />April 6, 2009';
		GImg[63] = 'Gallery_2008_0064.jpg';
		Desc[63] = 'where he used the CART system to communicate with hearing impaired citizens.<br /><br />April 3, 2009';
		GImg[64] = 'Gallery_2008_0065.jpg';
		Desc[64] = 'Dwight is introduced to the Naples EARS audience by Lois Pines<br /><br />April 3, 2009';				
		GImg[62] = 'Gallery_2008_0063.jpg';
		Desc[62] = 'Dwight participated in the 29th Know Your County Government Teen Citizenship Program<br /><br />March 24, 2009';		
		GImg[61] = 'Gallery_2008_0061.jpg';
		Desc[61] = 'Joe Adams Introduces Dwight<br /><br />February 24, 2009';
		GImg[60] = 'Gallery_2008_0062.jpg';
		Desc[60] = 'to a large audience at the Pelican Bay Men\'s Coffee.<br /><br />February 24, 2009';
		GImg[59] = 'Gallery_2008_0060.jpg';
		Desc[59] = 'President Frank Perucci of MIACC swaps stories with Dwight.<br /><br />February 17, 2009';
		GImg[58] = 'Gallery_2008_0059.jpg';
		Desc[58] = 'Before meeting with members at their monthly meeting.<br /><br />February 17, 2009';
		GImg[57] = 'Gallery_2008_0057.jpg';
		Desc[57] = 'Christopher Thornton introduces Dwight to the CCBA Real Estate Group.<br /><br />February 12, 2009';
		GImg[56] = 'Gallery_2008_0058.jpg';
		Desc[56] = 'The CCBA Real Estate Group gathered to learn about Tax Deeds.<br /><br />February 12, 2009';
		GImg[55] = 'Gallery_2008_0056.jpg';
		Desc[55] = 'Courthouse Annex - Spring 2009<br /><br />January 21, 2009';
		GImg[54] = 'Gallery_2008_0054.jpg';
		Desc[54] = '58 people attended the "Filing a Small Claim" Seminar.<br /><br />November 5, 2008';
		GImg[53] = 'Gallery_2008_0053.jpg';
		Desc[53] = 'Which was held at the Frances Pew Hayes Center for Lifelong Learning at Hodges University.<br /><br />November 5, 2008';
		GImg[52] = 'Gallery_2008_0055.jpg';
		Desc[52] = 'Dwight addresses the Greater Naples Leadership Masters Program at the Collier Athletic Club.<br /><br />October 29, 2008';
		GImg[51] = 'Gallery_2008_0052.jpg';
		Desc[51] = 'Howard Jordan, President of the Marco Island Community Association (MICA) welcomes Dwight.<br /><br />October 21, 2008';			
		GImg[50] = 'Gallery_2008_0051.jpg';
		Desc[50] = 'Dwight explains Clerk\'s role and responsibilities to Kiwanis Club of Naples.<br /><br />October 21, 2008';			
		GImg[49] = 'Gallery_2008_0050.jpg';
		Desc[49] = 'All it takes is a team.<br /><br />October 9, 2008';	
		GImg[48] = 'Gallery_2008_0049.jpg';
		Desc[48] = 'Civil giving from the heart.<br /><br />October 9, 2008';	
		GImg[47] = 'Gallery_2008_0048.jpg';
		Desc[47] = 'Board, Minutes and Records delivers more goodies.<br /><br />October 9, 2008';	
		GImg[46] = 'Gallery_2008_0047.jpg';
		Desc[46] = 'Juvenile delivers the goods.<br /><br />October 9, 2008';			
		GImg[45] = 'Gallery_2008_0046.jpg';
		Desc[45] = 'The satellite offices delivered along with all other Clerk\'s departments.<br /><br />October 8, 2008';	
		GImg[44] = 'Gallery_2008_0045.jpg';
		Desc[44] = 'Dwight represented the Clerk\'s Office at the Domestic Violence Awareness Month Vigil.<br /><br />October 1, 2008';		
		GImg[43] = 'Gallery_2008_0044.jpg';
		Desc[43] = 'Dwight is introduced as speaker by Linda Oberhaus, Shelter Director.<br /><br />October 1, 2008';
		GImg[42] = 'Gallery_2008_0043.jpg';
		Desc[42] = 'Women\'s Shelter on the move at the courthouse.<br /><br />October 1, 2008';
		GImg[41] = 'Gallery_2008_0042.jpg';
		Desc[41] = 'The Shelter Project brings out the best in our staff especially when helping children and families.<br /><br />October 1, 2008';
		GImg[40] = 'Gallery_2008_0041.jpg';
		Desc[40] = 'The Clerk\'s Staff work to fill the Shelter bins.<br /><br />October 1, 2008';
		GImg[39] = 'Gallery_2008_0040.jpg';
		Desc[39] = 'The Clerk\'s Staff demonstrate that the reward is in the giving.<br /><br />October 1, 2008';		
		GImg[38] = 'Gallery_2008_0039.jpg';
		Desc[38] = 'The Shelter Project brings out the kid in us all.<br /><br />October 1, 2008';
		GImg[37] = 'Gallery_2008_0038.jpg';
		Desc[37] = 'The Clerk\'s Staff from all departments are making generous donations to help the Shelter.<br /><br />October 1, 2008';
		GImg[36] = 'Gallery_2008_0037.jpg';
		Desc[36] = 'The Clerk\'s Women\'s Shelter Project moves ahead.<br /><br />October 1, 2008';
		GImg[35] = 'Gallery_2008_0035.jpg';
		Desc[35] = 'The Clerk\'s Women\'s Shelter Project signs, posters and handouts are ready .<br /><br />September 19, 2008';
		GImg[34] = 'Gallery_2008_0036.jpg';
		Desc[34] = 'for department representatives to set up an employee donation area.<br /><br />September 19, 2008';
	    GImg[33] = 'Gallery_2008_0033.jpg';
		Desc[33] = 'Dwight is introduced by President Eric Watler at the President\'s Council of Greater Naples Property Owners Associations Meeting.<br /><br />September 5, 2008';
		GImg[32] = 'Gallery_2008_0034.jpg';
		Desc[32] = 'He provided an overview of the Clerk\'s Office programs and services using Collierclerk.com.<br /><br />September 5, 2008';
		GImg[31] = 'Gallery_2008_0032.jpg';
		Desc[31] = 'The Clerk welcomes Collier students to learn about the Clerk\'s Office using its website CollierClerk.com<br /><br />July 24, 2008';
	    GImg[30] = 'Gallery_2008_0031.jpg';
		Desc[30] = 'Dwight is flanked by Professor Margaret Banyan ( left) and student Heather Morgan (right) at FGCU.<br /><br />July 23, 2008';
		GImg[29] = 'Gallery_2008_0030.jpg';
		Desc[29] = 'Dwight explained state and local government structures at FGCU.<br /><br />July 23, 2008';
		GImg[28] = 'Gallery_2008_0028.jpg';
		Desc[28] = 'Dwight is thanked by Dr. Paul Jones, President. of Naples North Rotary Club.<br /><br />July 10, 2008';
	    GImg[27] = 'Gallery_2008_0029.jpg';
		Desc[27] = 'Dwight updates Naples North Rotary Club on recent enhancements to CollierClerk.com<br /><br />July 10, 2008';
	    GImg[26] = 'Gallery_2008_0027.jpg';
		Desc[26] = 'Dwight on The Dave Elliot Show where he is answering questions &quot;live&quot; about the Clerk\'s Office programs and services.<br /><br />June 18, 2008';
		GImg[25] = 'Gallery_2008_0026.jpg';
		Desc[25] = 'Dwight appeared on The Dave Elliot Show.<br /><br />June 20, 2008';
	    GImg[24] = 'Gallery_2008_0025.jpg';
		Desc[24] = 'Dwight gets a &quot;thank you&quot; from Carol Fries, President of the Golden Gate Kiwanis Club.<br /><br />June 18, 2008';
	    GImg[23] = 'Gallery_2008_0024.jpg';
		Desc[23] = 'Dwight gives a live tour of CollierClerk.com to Kiwanis members at the Golden Gate Community Center.<br /><br />June 18, 2008';
	    GImg[22] = 'Gallery_2008_0023.jpg';
		Desc[22] = 'Nancy Beaty, President of the Gulf Coast Paralegal Association, Inc., welcomes Dwight to the June membership meeting to present “Working with the Clerk\'s Office: Top 10 Ways to Make Life Easier for all of Us. <br /><br />June 12, 2008';
		GImg[21] = 'Gallery_2008_0022.jpg';
		Desc[21] = 'Carolyn Pierce, the Chapter President, presents Dwight with “Honorary Member” status for his contributions<br /><br />May 15, 2008';
		GImg[20] = 'Gallery_2008_0021.jpg';
		Desc[20] = 'Dwight explains the Clerks role in maintaining County records to the Paralegal Association of FL, SW FL Chapter<br /><br />May 15, 2008';
		GImg[19] = 'Gallery_2008_0020.jpg';
		Desc[19] = 'Dwight provided law updates, filing instructions and answered questions at the CCBA monthly gathering<br /><br />May 9, 2008';
		GImg[18] = 'Gallery_2008_0007.jpg';
		Desc[18] = 'Dwight explaining foreclosures<br /><br />May 8, 2008';
		GImg[17] = 'Gallery_2008_0008.jpg';
		Desc[17] = 'Dwight oversees a foreclosure sale<br /><br />May 8, 2008';
		GImg[16] = 'Gallery_2008_0005.jpg';
		Desc[16] = 'Dwight is greeted by Joe Adams with Pelican Bay residents<br /><br />April 29, 2008';
		GImg[15] = 'Gallery_2008_0014.jpg';
		Desc[15] = 'Speaking to a full house<br /><br />April 29, 2008';
		GImg[14] = 'Gallery_2008_0009.jpg';
		Desc[14] = 'Giving a tour of CollierClerk.com<br /><br />April 29, 2008';
		GImg[13] = 'Gallery_2008_0017.jpg';
		Desc[13] = 'Over 40 Village Walk residents take web tour of Collierclerk.com<br /><br />April 17, 2008';
		GImg[12] = 'Gallery_2008_0018.jpg';
		Desc[12] = 'While another 850 residences are able to watch via closed circuit TV<br /><br />April 17, 2008';
		GImg[11] = 'Gallery_2008_0006.jpg';
		Desc[11] = 'Dwight welcomes new FGCU President, Dr. Wilson Bradshaw, along with Dr. Kenneth Millar, Dean of the College of Professional Studies<br /><br />March 25, 2008';
		GImg[10] = 'Gallery_2008_0002.jpg';
		Desc[10] = 'Clerk’s Office Awarded Family Friendly Business Award for 2008 by Naples Alliance for Children<br /><br />March 25, 2008';
		GImg[9] = 'Gallery_2008_0013.jpg';
		Desc[9] = 'New Traffic Kiosks Installed at Courthouse<br /><br />March 20, 2008';
		GImg[8] = 'Gallery_2008_0001.jpg';
		Desc[8] = 'The first customer making online payments at the courthouse<br /><br />March 20, 2008';
		GImg[7] = 'Gallery_2008_0003.jpg';
		Desc[7] = 'Dwight addresses the Collier Republican Club<br /><br />March 10, 2008';
		GImg[6] = 'Gallery_2008_0004.jpg';
		Desc[6] = 'Dwight explaining the Tenant Evictions Process<br /><br />March 10, 2008';
		GImg[5] = 'Gallery_2008_0011.jpg';
		Desc[5] = 'Over 70 people signed up for Clerk’s seminar at Hodges University<br /><br />March 10, 2008';
		GImg[4] = 'Gallery_2008_0016.jpg';
		Desc[4] = 'Tenant Eviction forms and other Clerk’s information<br /><br />March 10, 2008';
		GImg[3] = 'Gallery_2008_0010.jpg';
		Desc[3] = 'Greater Naples Leadership talk at Collier Athletic Club<br /><br />February 20, 2008';
		GImg[2] = 'Gallery_2008_0019.jpg';
		Desc[2] = 'Dwight with Bill Poteet, Arlene Carozza, NABOR President, and Nace Cohen<br /><br />February 14, 2008';
		GImg[1] = 'Gallery_2008_0015.jpg';
		Desc[1] = 'Courthouse Annex Taking Shape, Summer 2008<br /><br />May 2, 2008';
		GImg[0] = 'Gallery_2008_0012.jpg';
		Desc[0] = 'Courthouse Annex Taking Shape, Winter 2008<br /><br />January 15, 2008';
		
		CurInt = Desc.length;
		//H_objs = Desc.length;
		Load_Images(1,'-');
	}
	
	function Load_Images(_int,_type){
		if(_type=='-'){
			if(0<CurInt){
				document.getElementById("InfoImage").src = CurrentDir + 'REG/' + GImg[CurInt-_int];
				document.getElementById("InfoData").innerHTML = Desc[CurInt-_int];
				CurInt = CurInt-_int;
			}else{
				CurInt = H_objs-1;
				document.getElementById("InfoImage").src = CurrentDir + 'REG/' + GImg[CurInt];
				document.getElementById("InfoData").innerHTML = Desc[CurInt];
			}
		}
		if(_type=='+'){
			if(H_objs-1>=CurInt+_int){
				document.getElementById("InfoImage").src = CurrentDir + 'REG/' + GImg[CurInt+_int];
				document.getElementById("InfoData").innerHTML = Desc[CurInt+_int];
				CurInt = CurInt+_int;
			}else{
				CurInt = 0;
				document.getElementById("InfoImage").src = CurrentDir + 'REG/' + GImg[CurInt];
				document.getElementById("InfoData").innerHTML = Desc[CurInt];
			}
		}
		Load_Page(CurInt);
	}
		
	function Load_Page(_int){
		var Mynum = (H_objs-1)-_int;
		for(var _i = MaxP; _i !=0; _i--){
			if(Mynum<Math.abs(_i * 5)){
				var CCP = _i;
			}
		}
		var _C = 1;
		var _CV = 'false';
		for(var _tc =1; _tc<=5; _tc++){
			if (C_pages != CCP){
				document.getElementById("GIMG" +_tc).src = CurrentDir + 'spacer.gif';
				document.getElementById("TDIMG" +_tc).style.display = 'none';
			}
			if(GImg[H_objs -CCP * 5 -1 +_tc]!=undefined){
				if(GImg[H_objs -CCP * 5 -1 +_tc] == GImg[_int]){
					document.getElementById("TDIMG" +_tc).className = "SelectedPicFrame";
				}else{
					document.getElementById("TDIMG" +_tc).className = "PicFrame";
				}
				if (C_pages != CCP){
					document.getElementById("GIMG" +_tc).src = CurrentDir + 'THU/' + GImg[H_objs -CCP * 5 -1 +_tc];
					document.getElementById("TDIMG" +_tc).style.display = 'block';
					var Thisvalue = (H_objs -CCP * 5 -1 +_tc);
				}
			}
		}
		document.getElementById("GIMG" + 1).onclick = function (){Img_Click(H_objs -CCP * 5 -1 + 1)};
		document.getElementById("GIMG" + 2).onclick = function (){Img_Click(H_objs -CCP * 5 -1 + 2)};
		document.getElementById("GIMG" + 3).onclick = function (){Img_Click(H_objs -CCP * 5 -1 + 3)};
		document.getElementById("GIMG" + 4).onclick = function (){Img_Click(H_objs -CCP * 5 -1 + 4)};
		document.getElementById("GIMG" + 5).onclick = function (){Img_Click(H_objs -CCP * 5 -1 + 5)};
		C_pages = CCP;
	}
	
	function Change_Page(_int){
		var CCP = '';
		if(C_pages+_int == 0){
			CCP = MaxP;
		}else if(C_pages+_int > MaxP){
			CCP = 1;
		}else{
			CCP = C_pages+_int;
		}
		
		for(var _tc =1; _tc<=5; _tc++){
			if (C_pages != CCP){
				document.getElementById("GIMG" +_tc).src = CurrentDir + 'spacer.gif';
				document.getElementById("TDIMG" +_tc).style.display = 'none';
			}
			if(GImg[H_objs -CCP * 5 -1 +_tc]!=undefined){
				if(GImg[H_objs -CCP * 5 -1 +_tc] == GImg[CurInt]){
					document.getElementById("TDIMG" +_tc).className = "SelectedPicFrame";
				}else{
					document.getElementById("TDIMG" +_tc).className = "PicFrame";
				}
				if (C_pages != CCP){
					document.getElementById("GIMG" +_tc).src = CurrentDir + 'THU/' + GImg[H_objs -CCP * 5 -1 +_tc];
					document.getElementById("TDIMG" +_tc).style.display = 'block';
					var Thisvalue = (H_objs -CCP * 5 -1 +_tc);
				}
			}
		}
		
		document.getElementById("GIMG" + 1).onclick = function (){Img_Click(H_objs -CCP * 5 -1 + 1)};
		document.getElementById("GIMG" + 2).onclick = function (){Img_Click(H_objs -CCP * 5 -1 + 2)};
		document.getElementById("GIMG" + 3).onclick = function (){Img_Click(H_objs -CCP * 5 -1 + 3)};
		document.getElementById("GIMG" + 4).onclick = function (){Img_Click(H_objs -CCP * 5 -1 + 4)};
		document.getElementById("GIMG" + 5).onclick = function (){Img_Click(H_objs -CCP * 5 -1 + 5)};
		
		C_pages = CCP;
	}
	
	function Img_Click(_int){
		CurInt = _int
		document.getElementById("InfoImage").src = CurrentDir + 'REG/' + GImg[_int];
		document.getElementById("InfoData").innerHTML = Desc[_int];
		Load_Page(_int);
	}

