
 				window.onload = function bannerRotation(){ 		
				setTimeout('initF()', 1000);
				}
				var mfBannerIndex = 0; 
				var mfBanners = [['', '/images/dongsam_focus_default.jpg', '1']];	
				function mfBannerChange() {	
				var htmlString ='<img name="blendObj" src="'+mfBanners[mfBannerIndex][1]+'" width=560 height=200 border=0  style="filter:progid:DXImageTransform.Microsoft.Fade(duration=1.0, overlap=1.0);cursor:hand"  loc="'+mfBanners[mfBannerIndex][0]+'"  tar="'+mfBanners[mfBannerIndex][2]+'"  onClick="fncLocate(this.loc, this.tar)">';
				try{								
								if(isNaN(document.images.blendObj)){
									document.images.blendObj.filters[0].Apply();
									document.images.blendObj.src=mfBanners[mfBannerIndex][1];
									document.images.blendObj.filters[0].Play();
									document.images.blendObj.loc = mfBanners[mfBannerIndex][0];
									document.images.blendObj.tar = mfBanners[mfBannerIndex][2];
								}else{
									initF();
								}											
								
								if(mfBannerIndex < mfBanners.length - 1) {
									mfBannerIndex++;							
								}	else {
									mfBannerIndex = 0;
								}
						}catch(e){
									initF();
									return;
					}
			}    
			function fncLocate(prmloc, tar){
				if (tar =='1')
				{
					this.document.location.href = prmloc;
				}
				else
				{
					window.open(prmloc);
				}
			}	
			function initF(){	
				var htmlString ='<img name="blendObj" src="'+mfBanners[mfBannerIndex][1]+'" width=560 height=200 border=0  style="filter:progid:DXImageTransform.Microsoft.Fade(duration=1.0, overlap=1.0);cursor:hand"  loc="'+mfBanners[mfBannerIndex][0]+'"  tar="'+mfBanners[mfBannerIndex][2]+'"  onClick="fncLocate(this.loc, this.tar)">';  
				document.all.banner.innerHTML = htmlString;     					
			}	
			setInterval('mfBannerChange()', 8000); 							
