         // -- Hieu ung 1 --Begin
            var imgNo = 0;
            function ArrayImage(len)
            {
                this.length=len;
            } 	
          arrImage = new ArrayImage(20);
                arrImage[0] ='<IMG src="../images/bosuutap1.jpg" border=0 width=198 height=200 id="img0">';
                arrImage[1] ='<IMG src="../images/bosuutap2.jpg" border=0 width=198 height=200 id="img1">';
                arrImage[2] ='<IMG src="../images/bosuutap3.jpg" border=0 width=198 height=200 id="img2">';	
                arrImage[3] ='<IMG src="../images/bosuutap4.jpg" border=0 width=198 height=200 id="img3">';	
               function playPoster()
                {
                if (imgNo == 3)	{imgNo = 0;} 
                else {imgNo++;}	
                divPoster.filters[0].apply();	
                divPoster.innerHTML = arrImage[imgNo];	
                divPoster.filters[0].play();			
                mytimeout = setTimeout('playPoster()',7000);
                }
            //---End
            
//            // -- Hieu ung 2 --Begin
//            var imgNo2 = 0;
//            function ArrayImage2(len2)
//            {
//                this.length=len2;
//            } 	
//            arrImage2 = new ArrayImage2(20);
//                arrImage2[0] ='<IMG src="../images/xmet1.gif" border=0 width=198 height=150 id="img4" >';
//                arrImage2[1] ='<IMG src="../images/xmet2.gif" border=0 width=198 height=150 id="img5" >';
//               function playPoster2()
//                {
//                if (imgNo2 == 1)	{imgNo2 = 0;} 
//                else {imgNo2++;}	
//                divPoster2.filters[0].apply();	
//                divPoster2.innerHTML = arrImage2[imgNo2];	
//                divPoster2.filters[0].play();			
//                mytimeout2 = setTimeout('playPoster()',7000);
//                }
//            //---End                
                
            // -- Hieu ung 3 --Begin  
               	var myImg = new Array()
				var photos = new Array()			
					myImg[0]  = "../images/i4.jpg"
					photos[0] = "../images/i4.jpg"			
					
					myImg[1]  = "../images/i5.jpg"
					photos[1] = "../images/i5.jpg"
				
					myImg[2]  = "../images/i6.jpg"
					photos[2] = "../images/i6.jpg"
				
					myImg[3]  = "../images/i7.jpg"
					photos[3] = "../images/i7.jpg"	
						
					myImg[3]  = "../images/i8.jpg"
					photos[3] = "../images/i8.jpg"							
				var which = 0;
				var linkornot=1;
				function applyeffect()
				{
					if (document.all && document.images.imgSrc.filters)
					{
						document.images.imgSrc.filters.revealTrans.Transition=Math.floor(Math.random()*23);
						document.images.imgSrc.filters.revealTrans.stop();
						document.images.imgSrc.filters.revealTrans.apply();
					}
				}
				function playeffect()
				{
					if (document.all && document.images.imgSrc.filters);
					document.images.imgSrc.filters.revealTrans.play();
				}
				function backward()
				{
					if (which >= 0)
					{
						if(which > 0)
							which--;
						applyeffect();
						document.images.imgSrc.src = myImg[which];
						document.getElementById("lnkSrc").href = photos[which];
						playeffect();
						if(which == 0 && myImg.length > 1)
							setTimeout("forward()", 5000);
						if(which > 0)
							setTimeout("backward()", 5000);
					}
					else
					{
						forward();
					}
				}
				function forward()
				{
					if (which < myImg.length-1)
					{
						which++;
						applyeffect();
						document.images.imgSrc.src = myImg[which];
						document.getElementById("lnkSrc").href = photos[which];
						playeffect();						
						setTimeout("forward()", 5000);
					}
					else
					{
						backward();
					}
				}	
			//---End	
