// show picture Random ************************
	NewImg = new Array ("images/tarbanners_1.gif","images/tarbanners_2.gif","images/tarbanners_3.gif","images/tarbanners_4.gif","images/tarbanners_5.gif","images/leftIE.gif");

	var ImgNum = 0;
	var ImgLength = NewImg.length - 1;
	var run;
	var lock = true;
	var speedImages = 3500; 
	
	//Time delay between Slides in milliseconds
	function setSpeed(speed){
		var delay = speed;
		stopSlide();
		run = setInterval("chgImg(1)", delay);
	}

	function chgImg(direction) {
		if (document.images) {
			ImgNum = ImgNum + direction;
			
			if (ImgNum > ImgLength) {
				ImgNum = 0;
			}
			if (ImgNum < 0) {
				ImgNum = ImgLength;
			}
			
			document.slideshow.src = NewImg[ImgNum];

		} // main if
	} // close function
	
	function stopSlide(){
		window.clearInterval(run);
	}
	

	// Return Resolution 
	function getResolution(){
		x = screen.width;
		y = screen.height;
		var browser = navigator.appName;
		res = x+"x"+y;
		//alert(res);
		if(browser == "Netscape"){
			if(res == '1024x768'){
				//alert("R");
				document.write("<style type='text/css'> body { background-image: url(images/mozilla_background_1024.gif) ; }</style> ");
			}
			
			if(res == '800x600'){
				document.write("<style type='text/css'> body { background-image: url(images/mozilla_background_800.gif) ; }</style> ");
			}
			
			if(res == '1152x864'){
				document.write("<style type='text/css'> body { background-image: url(images/mozilla_background_1152.gif) ; }</style> ");
			}
		}
		else{
			if(res == '1024x768'){
				document.write("<style type='text/css'> body { background-image: url(images/background_1024.gif) ; }</style> ");
			}
			
			if(res == '800x600'){
				document.write("<style type='text/css'> body { background-image: url(images/background_800.gif) ; }</style> ");
			}
			
			if(res == '1152x864'){
				document.write("<style type='text/css'> body { background-image: url(images/background_1152.gif) ; }</style> ");
			}
		}
	}
