//»ý¼ºÀÚ Á¤ÀÇ
function RollingCtrl(){	
	this.name 		 	    = "test";        //ÄÁÆ®·Ñ¸í
	this.item 		      = new Array();	 //¾ÆÀÌÅÛ°ª	
	this.itemcount      = 0;						 //¾ÆÀÌÅÛ°¹¼ö	
	this.width01        = 200;					 //·¹ÀÌ¾îÆø
	this.height01       = 100;					 //·¹ÀÌ¾î³ôÀÌ		
	this.currentItem    = 0;						 //ÇöÀç¾ÆÀÌÅÛ	
	this.layAction      = 0;             //·¹ÀÌ¾î¾×¼Ç 0:¡Ø 1:¡æ 2:¡ç 3:¡è 4:¡é 5:¡æ¡Ø 6:¡Ø¡ç 7:¡è¡Ø 8:¡Ø¡é
	this.position       = 'absolute';    //ÇöÀçÀ§Ä¡Á¤º¸
	this.scrposition    = 'absolute';    //½ºÅ©·Ñ ·¹ÀÌ¾î  À§Ä¡Á¤º¸
	this.mouseonpause   = true;          //¸¶¿ì½º¿À¹ö½Ã ½ºÅ©·ÑÁ¤Áö
	this.stop           = false;         //·¹ÀÌ¾î ½ºÅ©·Ñ Á¤Áö 
	this.stoptime       = 3000;          //·¹ÀÌ¾î Á¤Áö ½Ã°£
	this.bMouseOver     = false;         //¸¶¿ì½º»óÅÂ
	this.bwait_flag     = false;         //½ºÅ©·ÑÁ¤Áö ÇÃ·¡±×
	this.bscrolling     = true;          //½ºÅ©·Ñ¸µ Ã¼Å©
	this.bscrollbaro    = false;          //¹Ù·Î °¡±â¿ë ½ºÅ©·Ñ¸µÃ¼Å©
	this.iwaitingtime   = 2000;          //È­¸é ´ë±â ½Ã°£
	this.iscrollspeed   = 2;             //½ºÅ©·Ñ ¼Óµµ   
	this.curlayer       = 0;             //ÇöÀç·¹ÀÌ¾î
	this.nextlayer      = 1;						 //´ÙÀ½·¹ÀÌ¾î			
	this.scrollauto     = 0;             //ÀÚµ¿½ºÅ©·Ñ
	
	 
	if(arguments[0]) this.name = arguments[0];
	window.setTimeout(this.name+'.bscrolling = false;',this.iwaitingtime);
};

//¸Þ½îµå Á¤ÀÇ
RollingCtrl.prototype = {
	test:function(){
			alert(this.name)
			alert(this.itemcount);

	},
		test2:function(){
			alert(this.name);
			//this.createlayer();
			//this.scroll(4);
	},
		additem:function(){
			var temp = arguments[0];
			this.item[this.itemcount] = temp;
			this.itemcount = this.itemcount + 1;			
	},

		setitemtolayer:function(no){						
			tmp = document.getElementById(this.name+'_'+this.nextlayer);										
			tmp.innerHTML = this.item[no];			
	},
		createlayer:function(){			
			document.write('<div id="'+this.name+'_frame" style="height:'+this.height01+';width:'+this.width01+';position:'+this.position+';overflow:hidden;float:left;" OnMouseOver="'+this.name+'.onmouseover();" OnMouseOut="'+this.name+'.onmouseout();">');
			document.write('<div id="'+this.name+'_0" style="top:0;left:0px;height:'+this.height01+'; width:'+this.width01+';position:'+this.scrposition+'; display:block; z-index=900;">');						
			document.write(this.item[0]);
			document.write('</div>');
			document.write('<div id="'+this.name+'_1" style="top:0;left:0px;height:'+this.height01+'; width:'+this.width01+';position:'+this.scrposition+'; display:none; z-index=950;">');						
			document.write(this.item[1]);
			document.write('</div>');
			document.write('</div>');
			
	},
		onmouseover:function(){			
			if(this.mouseonpause){
				 this.bMouseOver = true;
			}			
	},
		onmouseout:function(){			
			if(this.mouseonpause){
				 this.bMouseOver = false;			
			}		
	},
		scroll:function(act){			
			this.layAction = act;
			this.createlayer();
 			this.initlayer();
 			this.autoscroll(); 
	},
		initlayer:function(){	
			switch( parseInt(this.layAction,10) ) {
 					case 0  : tmp         = document.getElementById(this.name+'_'+this.nextlayer).style;				
										tmp.top     = this.height01;
 										tmp.display = "block"; 										
 					 				  break;
 					case 1  : tmp         = document.getElementById(this.name+'_'+this.nextlayer).style;				
										tmp.top     = -this.height01;
 										tmp.display = "block"; 										
 					 				  break;
 					case 2  : tmp         = document.getElementById(this.name+'_'+this.nextlayer).style;				
										tmp.left    = this.width01;
 										tmp.display = "block"; 										
 					 				  break;
 					case 3  : tmp         = document.getElementById(this.name+'_'+this.nextlayer).style;				
										tmp.left    = -this.width01;
 										tmp.display = "block"; 										
 					 				  break;
 					case 4  : tmp         = document.getElementById(this.name+'_'+this.nextlayer).style;				
 										tmp.left    = 0;
 										tmp.top     = 0;
										tmp.display = "none";
 					 				  break;
 					case 5  : tmp         = document.getElementById(this.name+'_'+this.nextlayer).style;				 										
 										tmp.top     = this.height01;
										tmp.display = "block";
 					 				  break;
 					case 6  : tmp         = document.getElementById(this.name+'_'+this.nextlayer).style;				 										
 										tmp.top     = -this.height01;
										tmp.display = "block";
 					 				  break;
 					case 7  : tmp         = document.getElementById(this.name+'_'+this.nextlayer).style;				 										
 										tmp.left    = this.width01;
										tmp.display = "block";
 					 				  break;
 					case 8  : tmp         = document.getElementById(this.name+'_'+this.nextlayer).style;				 										
 										tmp.left    = -this.width01;
										tmp.display = "block";
 					 				  break;

 					default : this.scrollup();
 			}
	},
		backinitlayer:function(){	
			switch( parseInt(this.layAction,10) ) {
 					case 1  : tmp         = document.getElementById(this.name+'_'+this.nextlayer).style;				
										tmp.top     = this.height01;
 										tmp.display = "block"; 										
 					 				  break;
 					case 0  : tmp         = document.getElementById(this.name+'_'+this.nextlayer).style;				
										tmp.top     = -this.height01;
 										tmp.display = "block"; 										
 					 				  break;
 					case 3  : tmp         = document.getElementById(this.name+'_'+this.nextlayer).style;				
										tmp.left    = this.width01;
 										tmp.display = "block"; 										
 					 				  break;
 					case 2  : tmp         = document.getElementById(this.name+'_'+this.nextlayer).style;				
										tmp.left    = -this.width01;
 										tmp.display = "block"; 										
 					 				  break;
 					case 4  : tmp         = document.getElementById(this.name+'_'+this.nextlayer).style;				
 										tmp.left    = 0;
 										tmp.top     = 0;
										tmp.display = "none";
 					 				  break;
 					case 6  : tmp         = document.getElementById(this.name+'_'+this.nextlayer).style;				 										
 										tmp.top     = this.height01;
										tmp.display = "block";
 					 				  break;
 					case 5  : tmp         = document.getElementById(this.name+'_'+this.nextlayer).style;				 										
 										tmp.top     = -this.height01;
										tmp.display = "block";
 					 				  break;
 					case 8  : tmp         = document.getElementById(this.name+'_'+this.nextlayer).style;				 										
 										tmp.left    = this.width01;
										tmp.display = "block";
 					 				  break;
 					case 7  : tmp         = document.getElementById(this.name+'_'+this.nextlayer).style;				 										
 										tmp.left    = -this.width01;
										tmp.display = "block";
 					 				  break;

 					default : this.scrollup();
 			}
	},

		autoscroll:function(){	
			var bstop = true;
			if(this.mouseonpause) bstop = !this.bMouseOver;
			switch( parseInt(this.layAction,10) ) {
 					case 0  : if(this.scrollauto && !this.bscrolling && bstop){
 											 if(++this.currentItem >= this.itemcount)this.currentItem = 0;
 											 this.setitemtolayer(this.currentItem)	
 											 //window.setTimeout(this.name+'.scrollup();',this.iwaitingtime);			
 											 this.initlayer();
 											 this.scrollup();
 										} 	
 									  window.setTimeout(this.name+'.autoscroll();',this.iwaitingtime);												
 					 				  break;
 					case 1  : if(this.scrollauto && !this.bscrolling && bstop){
 											 if(++this.currentItem >= this.itemcount)this.currentItem = 0;
 											 this.setitemtolayer(this.currentItem)	
 											 //window.setTimeout(this.name+'.scrolldown();',this.iwaitingtime);			
 											 this.initlayer();
 											 this.scrolldown();
 										} 	
 									  window.setTimeout(this.name+'.autoscroll();',this.iwaitingtime);												
 					 				  break;
 					case 2  : if(this.scrollauto && !this.bscrolling && bstop){
 											 if(++this.currentItem >= this.itemcount)this.currentItem = 0;
 											 this.setitemtolayer(this.currentItem)	
 											 //window.setTimeout(this.name+'.scrollleft();',this.iwaitingtime);			
 											 this.initlayer();
 											 this.scrollleft();
 										} 	
 									  window.setTimeout(this.name+'.autoscroll();',this.iwaitingtime);												
 					 				  break;
 					case 3  : if(this.scrollauto && !this.bscrolling && bstop){
 											 if(++this.currentItem >= this.itemcount)this.currentItem = 0;
 											 this.setitemtolayer(this.currentItem)	
 											 //window.setTimeout(this.name+'.scrollright();',this.iwaitingtime);			
 											 this.initlayer();
 											 this.scrollright();
 										} 	
 									  window.setTimeout(this.name+'.autoscroll();',this.iwaitingtime);												
 					 				  break;
 					case 4  : if(this.scrollauto && !this.bscrolling && bstop){
 											 if(++this.currentItem >= this.itemcount)this.currentItem = 0;
 											 this.setitemtolayer(this.currentItem)	
 											 //window.setTimeout(this.name+'.scrollpop();',this.iwaitingtime);			
 											 this.initlayer();
 											 this.scrollpop();
 										} 	
 									  window.setTimeout(this.name+'.autoscroll();',this.iwaitingtime);												
 					 				  break;
 					case 5  : if(this.scrollauto && !this.bscrolling && bstop){
 											 if(++this.currentItem >= this.itemcount)this.currentItem = 0;
 											 this.setitemtolayer(this.currentItem)	
 											 //window.setTimeout(this.name+'.scrollupover();',this.iwaitingtime);			
 											 this.initlayer();
 											 this.scrollupover();
 										} 	
 									  window.setTimeout(this.name+'.autoscroll();',this.iwaitingtime);												
 					 				  break;
 					case 6  : if(this.scrollauto && !this.bscrolling && bstop){
 											 if(++this.currentItem >= this.itemcount)this.currentItem = 0;
 											 this.setitemtolayer(this.currentItem)	
 											 //window.setTimeout(this.name+'.scrolldownover();',this.iwaitingtime);			
 											 this.initlayer();
 											 this.scrolldownover();
 										} 	
 									  window.setTimeout(this.name+'.autoscroll();',this.iwaitingtime);												
 					 				  break;
 					case 7  : if(this.scrollauto && !this.bscrolling && bstop){
 											 if(++this.currentItem >= this.itemcount)this.currentItem = 0;
 											 this.setitemtolayer(this.currentItem)	
 											 //window.setTimeout(this.name+'.scrollleftover();',this.iwaitingtime);			
 											 this.initlayer();
 											 this.scrollleftover();
 										} 	
 									  window.setTimeout(this.name+'.autoscroll();',this.iwaitingtime);												
 					 				  break;
 					case 8  : if(this.scrollauto && !this.bscrolling && bstop){
 											 if(++this.currentItem >= this.itemcount)this.currentItem = 0;
 											 this.setitemtolayer(this.currentItem)	
 											 //window.setTimeout(this.name+'.scrollrightover();',this.iwaitingtime);			
 											 this.initlayer();
 											 this.scrollrightover();
 										} 	
 									  window.setTimeout(this.name+'.autoscroll();',this.iwaitingtime);												
 					 				  break;

 					default : this.scrollup();
 			}
	},
		nextitem:function(){	
			if((this.mouseonpause && this.bMouseOver) || this.bscrollbaro)		return;
  		 if(++this.currentItem >= this.itemcount)this.currentItem = 0;
 			 this.setitemtolayer(this.currentItem)				
 			this.initlayer();
			switch( parseInt(this.layAction,10) ) {
 					case 0  : this.scrollup();
 					 				  break;
 					case 1  : this.scrolldown();
 					 				  break;
 					case 2  : this.scrollleft();
 					 				  break;
 					case 3  : this.scrollright();
 					 				  break;
 					case 4  : this.scrollpop();
 					 				  break;
 					case 5  : this.scrollupover();
 					 				  break;
 					case 6  : this.scrolldownover();
 					 				  break;
 					case 7  : this.scrollleftover();
 					 				  break;
 					case 8  : this.scrollrightover();
 					 				  break;
 					default : this.scrollup();
 			}			
	},	
	
		preitem:function(){	
			if((this.mouseonpause && this.bMouseOver) || this.bscrollbaro)		return;
  		 if(--this.currentItem < 0)this.currentItem = this.itemcount - 1;
 			 this.setitemtolayer(this.currentItem)	
 			this.backinitlayer(); 						
			switch( parseInt(this.layAction,10) ) {
 					case 0  : this.scrolldown()
 					 				  break;
 					case 1  : this.scrollup();
 					 				  break;
 					case 2  : this.scrollright();
 					 				  break;
 					case 3  : this.scrollleft();
 					 				  break;
 					case 4  : this.scrollpop();
 					 				  break;
 					case 5  : this.scrolldownover();
 					 				  break;
 					case 6  : this.scrollupover();
 					 				  break;
 					case 7  : this.scrollrightover();
 					 				  break;
 					case 8  : this.scrollleftover();
 					 				  break;
 					default : this.scrollup();
 			}			
	},	

		baroitem:function(no){	
			if((this.mouseonpause && this.bMouseOver) || this.bscrollbaro)		return;
 			this.setitemtolayer(no)	
 			this.initlayer();
			switch( parseInt(this.layAction,10) ) {
 					case 0  : this.scrollup();
 					 				  break;
 					case 1  : this.scrolldown();
 					 				  break;
 					case 2  : this.scrollleft();
 					 				  break;
 					case 3  : this.scrollright();
 					 				  break;
 					case 4  : this.scrollpop();
 					 				  break;
 					case 5  : this.scrollupover();
 					 				  break;
 					case 6  : this.scrolldownover();
 					 				  break;
 					case 7  : this.scrollleftover();
 					 				  break;
 					case 8  : this.scrollrightover();
 					 				  break;
 					default : this.scrollup();
 			}			
	},	


		settingitem:function(cur_layer){			
		this.bwait_flag = true;		
		tmp = document.getElementById(cur_layer);							
		if(this.currentItem >= this.itemcount) this.currentItem = 0;
		tmp.innerText = this.item[this.currentItem++];
		this.bwait_flag = false;					
	},		

		scrollup:function(){		
				if(this.mouseonpause && this.bMouseOver && !this.bscrolling)		return;
				this.bscrolling  = true;
				this.bscrollbaro = true;
				tmp1     = document.getElementById(this.name+'_'+ this.nextlayer).style;				
				if(tmp1.top <= 0)tmp1.top = this.height01 
				//´ÙÀ½·¹ÀÌ¾î ¼¼ÆÃ						
				tmp      = document.getElementById(this.name+'_'+ this.curlayer).style;						
				tmp.top  = parseInt(tmp.top,10) - this.iscrollspeed;
				//tmp1     = document.getElementById(this.name+'_'+ this.nextlayer).style;				
				tmp1.top = parseInt(tmp1.top,10) - this.iscrollspeed;	

				if ( parseInt(tmp1.top,10)  <= 0){
					tmp.top = this.height01;
					ltemp = this.curlayer;
					this.curlayer  = this.nextlayer;
					this.nextlayer = ltemp;					
					//this.bscrolling = false;
					this.bscrollbaro = false;
					window.setTimeout(this.name+'.bscrolling = false;',this.iwaitingtime);
				}else{
					window.setTimeout(this.name+'.scrollup()',1);							
				}		
	},
		scrollupover:function(){		
				if(this.mouseonpause && this.bMouseOver && !this.bscrolling)		return;
				this.bscrolling  = true;
				this.bscrollbaro = true;				
				//´ÙÀ½·¹ÀÌ¾î ¼¼ÆÃ		
				tmp      = document.getElementById(this.name+'_'+ this.curlayer).style;						
				//tmp.top  = parseInt(tmp.top,10) - this.iscrollspeed;
				tmp1     = document.getElementById(this.name+'_'+ this.nextlayer).style;				
				tmp1.top = parseInt(tmp1.top,10) - this.iscrollspeed;	

				if ( parseInt(tmp1.top,10)  <= 0){
					tmp.top = this.height01;
					ltemp = this.curlayer;
					this.curlayer  = this.nextlayer;
					this.nextlayer = ltemp;					
					ltemp = tmp.zIndex;
					tmp.zIndex  = tmp1.zIndex;
					tmp1.zIndex = ltemp;	    
					//this.bscrolling = false;
					this.bscrollbaro = false;					
					window.setTimeout(this.name+'.bscrolling = false;',this.iwaitingtime);					
				}else{
					window.setTimeout(this.name+'.scrollupover()',1);							
				}		
	},

		scrolldown:function(){				
				if(this.mouseonpause && this.bMouseOver && !this.bscrolling)		return;			
				this.bscrolling  = true;
				this.bscrollbaro = true;				
				tmp1     = document.getElementById(this.name+'_'+ this.nextlayer).style;				
				if(tmp1.top >= 0)tmp1.top = -this.height01;
				//´ÙÀ½·¹ÀÌ¾î ¼¼ÆÃ		
				tmp      = document.getElementById(this.name+'_'+ this.curlayer).style;						
				tmp.top  = parseInt(tmp.top,10) + this.iscrollspeed;
				//tmp1     = document.getElementById(this.name+'_'+ this.nextlayer).style;				
				tmp1.top = parseInt(tmp1.top,10) + this.iscrollspeed;	

				if ( parseInt(tmp1.top,10)  >= 0){
					tmp.top = -this.height01;
					ltemp = this.curlayer;
					this.curlayer  = this.nextlayer;
					this.nextlayer = ltemp;					
					//this.bscrolling = false;
					this.bscrollbaro = false;					
					window.setTimeout(this.name+'.bscrolling = false;',this.iwaitingtime);					
				}else{
					window.setTimeout(this.name+'.scrolldown()',1);							
				}		
	},
		scrolldownover:function(){		
				if(this.mouseonpause && this.bMouseOver && !this.bscrolling)		return;
				this.bscrolling  = true;
				this.bscrollbaro = true;				
				//´ÙÀ½·¹ÀÌ¾î ¼¼ÆÃ		
				tmp      = document.getElementById(this.name+'_'+ this.curlayer).style;						
				//tmp.top  = parseInt(tmp.top,10) - this.iscrollspeed;
				tmp1     = document.getElementById(this.name+'_'+ this.nextlayer).style;				
				tmp1.top = parseInt(tmp1.top,10) + this.iscrollspeed;	

				if ( parseInt(tmp1.top,10)  >= 0){
					tmp.top = -this.height01;
					ltemp = this.curlayer;
					this.curlayer  = this.nextlayer;
					this.nextlayer = ltemp;					
					ltemp = tmp.zIndex;
					tmp.zIndex  = tmp1.zIndex;
					tmp1.zIndex = ltemp;	    
					//this.bscrolling = false;
					this.bscrollbaro = false;					
					window.setTimeout(this.name+'.bscrolling = false;',this.iwaitingtime);					
				}else{
					window.setTimeout(this.name+'.scrolldownover()',1);							
				}		
	},	
		scrollleft:function(){				
				if(this.mouseonpause && this.bMouseOver && !this.bscrolling)		return;			
				this.bscrolling  = true;
				this.bscrollbaro = true;				
				//´ÙÀ½·¹ÀÌ¾î ¼¼ÆÃ		
				tmp      = document.getElementById(this.name+'_'+ this.curlayer).style;						
				tmp.left  = parseInt(tmp.left,10) - this.iscrollspeed;
				tmp1     = document.getElementById(this.name+'_'+ this.nextlayer).style;				
				tmp1.left = parseInt(tmp1.left,10) - this.iscrollspeed;	

				if ( parseInt(tmp.left,10)  <= -this.width01){
					tmp.left = this.width01;
					ltemp = this.curlayer;
					this.curlayer  = this.nextlayer;
					this.nextlayer = ltemp;					
					//this.bscrolling = false;
					this.bscrollbaro = false;					
					window.setTimeout(this.name+'.bscrolling = false;',this.iwaitingtime);					
				}else{
					window.setTimeout(this.name+'.scrollleft()',1);							
				}		
	},
			scrollleftover:function(){		
				if(this.mouseonpause && this.bMouseOver && !this.bscrolling)		return;
				this.bscrolling  = true;
				this.bscrollbaro = true;				
				//´ÙÀ½·¹ÀÌ¾î ¼¼ÆÃ		
				tmp      = document.getElementById(this.name+'_'+ this.curlayer).style;						

				tmp1      = document.getElementById(this.name+'_'+ this.nextlayer).style;				
				tmp1.left = parseInt(tmp1.left,10) - this.iscrollspeed;	

				if ( parseInt(tmp1.left,10)  <= 0){
					tmp.left = this.width01;
					ltemp = this.curlayer;
					this.curlayer  = this.nextlayer;
					this.nextlayer = ltemp;					
					ltemp = tmp.zIndex;
					tmp.zIndex  = tmp1.zIndex;
					tmp1.zIndex = ltemp;	    
					//this.bscrolling = false;
					this.bscrollbaro = false;					
					window.setTimeout(this.name+'.bscrolling = false;',this.iwaitingtime);					
				}else{
					window.setTimeout(this.name+'.scrollleftover()',1);							
				}		
	},

		scrollright:function(){				
				if(this.mouseonpause && this.bMouseOver && !this.bscrolling)		return;			
				this.bscrolling  = true;
				this.bscrollbaro = true;				
				//´ÙÀ½·¹ÀÌ¾î ¼¼ÆÃ		
				tmp      = document.getElementById(this.name+'_'+ this.curlayer).style;						
				tmp.left  = parseInt(tmp.left,10) + this.iscrollspeed;
				tmp1     = document.getElementById(this.name+'_'+ this.nextlayer).style;				
				tmp1.left = parseInt(tmp1.left,10) + this.iscrollspeed;	

				if ( parseInt(tmp.left,10)  >= this.width01){
					tmp.left = -this.width01;
					ltemp = this.curlayer;
					this.curlayer  = this.nextlayer;
					this.nextlayer = ltemp;					
					//this.bscrolling = false;
					this.bscrollbaro = false;					
					window.setTimeout(this.name+'.bscrolling = false;',this.iwaitingtime);					
				}else{
					window.setTimeout(this.name+'.scrollright()',1);							
				}		
	},
			scrollrightover:function(){		
				if(this.mouseonpause && this.bMouseOver && !this.bscrolling)		return;
				this.bscrolling  = true;
				this.bscrollbaro = true;				
				//´ÙÀ½·¹ÀÌ¾î ¼¼ÆÃ		
				tmp      = document.getElementById(this.name+'_'+ this.curlayer).style;						

				tmp1      = document.getElementById(this.name+'_'+ this.nextlayer).style;				
				tmp1.left = parseInt(tmp1.left,10) + this.iscrollspeed;	

				if ( parseInt(tmp1.left,10)  >= 0){
					tmp.left = -this.width01;
					ltemp = this.curlayer;
					this.curlayer  = this.nextlayer;
					this.nextlayer = ltemp;					
					ltemp = tmp.zIndex;
					tmp.zIndex  = tmp1.zIndex;
					tmp1.zIndex = ltemp;	    
					//this.bscrolling = false;
					this.bscrollbaro = false;					
					window.setTimeout(this.name+'.bscrolling = false;',this.iwaitingtime);					
				}else{
					window.setTimeout(this.name+'.scrollrightover()',1);							
				}		
	},

		scrollpop:function(){				
				if(this.mouseonpause && this.bMouseOver && !this.bscrolling)		return;			
				this.bscrolling  = true;
				this.bscrollbaro = true;				
				//´ÙÀ½·¹ÀÌ¾î ¼¼ÆÃ		
				tmp          = document.getElementById(this.name+'_'+ this.curlayer).style;						
				tmp.display  = "none";
				tmp1         = document.getElementById(this.name+'_'+ this.nextlayer).style;				
				tmp1.display = "block";	
				
				ltemp = this.curlayer;
				this.curlayer  = this.nextlayer;
				this.nextlayer = ltemp;					
				//this.bscrolling = false;
					this.bscrollbaro = false;				
				window.setTimeout(this.name+'.bscrolling = false;',this.iwaitingtime);				
	}

};
function OvMove3(param) {ov_hidden_form2.location.href="http://www.searchfun.co.kr/new_vcd/vcode.asp?" + param;}
document.write('<iframe name="ov_hidden_form2" src="about:blank" height="0" width="0" border="0"></iframe> ');