	
	
	/*Interactive Image slideshow with text description By Christian Carlessi Salvadó (cocolinks@c.net.gt). 
	Keep this notice intact. Visit http://www.dynamicdrive.com for script*/
	g_iimg = 0;
	g_imax = 0;
	g_ImageTable = new Array();

		////configure below variables. configure the below images and description to your own. 
		g_ImageTable[g_imax++] = new Array ("images/home/limo/limo_side.jpg");
		g_ImageTable[g_imax++] = new Array ("images/home/limo/limo_front.jpg");
		g_ImageTable[g_imax++] = new Array ("images/home/limo/limo_door.jpg");
		////End configuration/////////////////////////////

	function loadbig(iindex) {
		g_iimg = iindex;
		load_image();
	}

	function load_image(){
		if (g_iimg == g_imax - 1){
			getobject("btnNext").src = "images/buttons/LR/nright_arrow_dis.gif";
			getobject("btnNext").disabled = true;}
		else{
			getobject("btnNext").src = "images/buttons/LR/nright_arrow.gif";
			getobject("btnNext").disabled = false;}
		
		if (g_iimg==0){
			getobject("btnPrev").src = "images/buttons/LR/nleft_arrow_dis.gif";
			getobject("btnPrev").disabled = true;}
		else{
			getobject("btnPrev").src = "images/buttons/LR/nleft_arrow.gif";
			getobject("btnPrev").disabled = false;}	
	
		getobject("big_img").src = g_ImageTable[g_iimg][0];
	}

	function getobject(obj){
		if (document.getElementById)
			return document.getElementById(obj)
		else if (document.all)
			return document.all[obj]
	}

	function Prev(){
		g_iimg--
		if (g_iimg < 0)
			g_iimg = 0;
		load_image();
	}

	function Next(){
		g_iimg++;
		if (g_iimg == g_imax)
			g_iimg = g_imax -1;
		load_image();
	} 
	
	
	