				var adNum=-1;
				var theTimer;
				function playTran()
				{
					if (document.all)
						document.images.Header1_LeftPic1_Img_ShowImage.filters.revealTrans.play();
				}
				var key=0;
				function nextAd()
				{
					if(adNum<ImageAddAry.length-1)adNum++ ;
					else adNum=0;
					if( key==0 ){
						key=1;
					} else if (document.all){
						document.images.Header1_LeftPic1_Img_ShowImage.filters.revealTrans.Transition=Math.floor(Math.random()*23);
						document.images.Header1_LeftPic1_Img_ShowImage.filters.revealTrans.apply();
									playTran();

					}
					document.images.Header1_LeftPic1_Img_ShowImage.src=ImageAddAry[adNum];
					scrolltext.innerHTML=ImageAddAryTitle[adNum];
					theTimer=setTimeout("nextAd()", 8000);
				}

				function preloadPic()
				{
					document.getElementById("Header1_LeftPic1_Img_ShowImage").src=ImageAddAry[0];
					
					if (document.all)
					{
						clearTimeout(theTimer);
						var imgPreload = new Image();
						for (i=0; i<ImageAddAry.length; i++)
						{
							imgPreload.src = ImageAddAry[i]
						}
						nextAd();
					}
					else
					{
						theTimer = setTimeout("preloadPic()",50);
					}
				}
				function imgSrc()
				{
					return ImageAddAryLink[adNum];
				}
				function goUrl()
				{
				window.open(imgSrc());
				}
