ÿþf u n c t i o n   i n i t ( )  
 {  
 	   i f ( n a v i g a t o r . u s e r A g e n t . i n d e x O f ( " M S I E " ) > - 1 )  
       {  
 	 	 	 	 d o c u m e n t . w r i t e ( ' < O B J E C T   I D = " C U l t r a W e b "   w i d t h = " 0 "   h e i g h t = " 0 "   C L A S S I D = " C L S I D : 9 D 7 4 8 0 9 F - 7 F A D - 4 6 8 C - A D D 3 - 8 5 0 F E 5 0 E B 4 0 5 "   c o d e b a s e = " U l t r a C t r l . e x e # v e r s i o n = 1 . 0 . 0 . 3 " > < / O B J E C T >   ' ) ;  
 	 	 	 	 C U l t r a W e b . i n i t ( ) ;  
 	 }  
 }  
  
 f u n c t i o n   n a v i g a t o r _ c h e c k ( )  
 {    
 	 i f ( n a v i g a t o r . u s e r A g e n t . i n d e x O f ( " M S I E " ) > - 1 )    
 	 {    
 	 / * 	 a l e r t ( ' t e s t ' ) ;  
 	 	  
 	 	 a l e r t ( d o c u m e n t . C U l t r a W e b . i n i t ( ) ) ;  
 	 	 v a r   i s _ i n s t a l l e d   =   ( t y p e o f ( C U l t r a W e b . i n i t )   = =   " u n k n o w n " ) ?   t r u e   :   f a l s e ;  
 	 	  
 	     i f   ( i s _ i n s t a l l e d )  
 	             a l e r t ( ' t e s t 1 ' ) ;  
 	 	 	 	 r e t u r n   1 ;    
 	 	 }  
 	 	 e l s e    
 	 	 {  
 	 	 	 a l e r t ( ' t e s t 2 ' ) ;  
 	 	 	 r e t u r n   2 ;  
 	 	 } * /  
 	 	 r e t u r n   1 ;  
 	 }  
 	 r e t u r n   0 ;    
 }    
  
 f u n c t i o n   s h a r i n g R e c t ( x , y , c x , c y )  
 {    
 	 C U l t r a W e b . s h o w S h a r i n g ( x , y , c x , c y ) ;  
 }    
  
 f u n c t i o n   h i d e S h a r i n g R e c t ( )  
 {    
 	 C U l t r a W e b . h i d e S h a r i n g ( ) ;  
 }    
  
 f u n c t i o n   G e t N e w U R L ( )  
 {  
 	 v a r   u r l = C U l t r a W e b . g e t N e w U R L ;  
 	 u L e a r n i n g . s e t N e w U R L ( u r l ) ;  
 }  
  
 f u n c t i o n   e n d W e b ( )  
 {  
 	 C U l t r a W e b . C l o s e W e b ( t h i s ) ;  
 }  
  
 f u n c t i o n   C l o s e W e b ( )  
 {  
 	 u L e a r n i n g . s e t C l o s e W e b ( ) ;  
 }  
  
 f u n c t i o n   O p e n W e b ( p r v , s i t e )  
 {  
 	 C U l t r a W e b . s e t T e a c h e r ( p r v ) ;  
 	 C U l t r a W e b . O p e n W e b ( t h i s , s i t e ) ;  
 }  
  
 f u n c t i o n   w i n C l o s e ( )  
 {  
 	 t h i s . c l o s e ( ) ;  
 }  
  
 f u n c t i o n   w i n O p e n ( )  
 {  
 	 n e w C a s t W i n d o w ( ) ;  
 }  
  
 f u n c t i o n   w i n R o o m ( v a l ,   r o o m ,   w i d t h ,   h e i g h t )  
 {  
 	 s e t C o o k i e T i m e ( " r o o m " , r o o m , 6 0 0 0 0 ) ;  
 	 n e w V i e w e r W i n d o w ( v a l ,   w i d t h ,   h e i g h t ) ;  
 }  
  
 f u n c t i o n   R o o m ( v a l ,   r o o m )  
 {  
 	 s e t C o o k i e T i m e ( " r o o m " , r o o m , 6 0 0 0 0 ) ;  
  
 	 w i n d o w . l o c a t i o n = " h t t p : / / l i v e . t h i n k p e o p l e . k r / n e w " + v a l + " / V i e w e r . h t m l ? r o o m = " + r o o m ;    
  
 }  
  
  
 f u n c t i o n   w i n I n R o o m ( u s e r , p w , r o o m , r o o m P W )  
 {  
 	 s e t C o o k i e T i m e ( " u s e r " , u s e r , 6 0 0 0 0 ) ;  
 	 s e t C o o k i e T i m e ( " p w " , p w , 6 0 0 0 0 ) ;  
 	 i f ( r o o m P W = = ' ' )  
 	 	 p r i v = ' 0 ' ;  
 	 e l s e  
 	 	 p r i v = ' 1 ' ;  
 	 s e t C o o k i e T i m e ( " p r i v " , p r i v , 6 0 0 0 0 ) ;  
 	 s e t C o o k i e T i m e ( " r o o m " , r o o m , 6 0 0 0 0 ) ;  
 	 s e t C o o k i e T i m e ( " r o o m P W " , r o o m P W , 6 0 0 0 0 ) ;  
 	 s e t C o o k i e T i m e ( " n e w R o o m " , " 1 " , 6 0 0 0 0 ) ;  
 	 s e t C o o k i e T i m e ( " d u r R o o m " , " 3 0 " , 6 0 0 0 0 ) ;  
 	 s e t C o o k i e T i m e ( " r o o m M a x " , " 2 0 " , 6 0 0 0 0 ) ;  
 	 s e t C o o k i e T i m e ( " b a n E n t e r " , " 0 " , 6 0 0 0 0 ) ;  
 	  
 	 n e w W i n d o w ( ) ;  
 }  
  
 f u n c t i o n   n e w C a s t W i n d o w ( )  
 {  
 	 w i n d o w . o p e n ( " l o g i n . h t m l " , " " , " w i d t h = 5 7 0 , h e i g h t = 6 0 0 , t o p = 0 , l e f t = 0 , s c r o l l b a r s = n o , m e n u b a r = n o , t o o l b a r = n o , d i r e c t o r i e s = n o , s t a t u s = n o , l o c a t i o n = n o " ) ;    
 }  
  
 f u n c t i o n   w i n C a s t e r O p e n ( v a l )  
 {  
 	 w i n d o w . l o c a t i o n = " / n e w " + v a l + " / C a s t e r . h t m l " ;    
 }  
  
 f u n c t i o n   n e w V i e w e r W i n d o w ( v a l , w i d t h , h e i g h t )  
 {  
 	 v a r   n e w _ w i d t h   =   p a r s e I n t ( w i d t h ) + 5 7 ;  
 	 v a r   n e w _ h e i g h t   =   p a r s e I n t ( h e i g h t ) + 3 3 0 ;  
 	 v a r   o p t i o n   =   " w i d t h = " + n e w _ w i d t h + " , h e i g h t = " + n e w _ h e i g h t + " , t o p = 0 , l e f t = 0 , s c r o l l b a r s = y e s , m e n u b a r = n o , t o o l b a r = n o , d i r e c t o r i e s = n o , s t a t u s = n o , l o c a t i o n = n o ,   r e s i z a b l e = y e s " ;  
 	  
 	 w i n d o w . o p e n ( " / n e w " + v a l + " / V i e w e r . h t m l ? w i d t h = " + w i d t h + " & h e i g h t = " + h e i g h t , " " , o p t i o n ) ;    
 }  
  
 f u n c t i o n   s e t C o o k i e T i m e ( n a m e ,   v a l u e ,   m S e c o n d )   {  
         v a r   t o d a y     =   n e w   D a t e ( ) ;  
         v a r   e x p i r e   =   n e w   D a t e ( t o d a y . g e t T i m e ( )   +   m S e c o n d ) ;  
         v a r   p a t h   = " / " ;  
         v a r   d o m a i n   =   n u l l ;  
         v a r   s e c u r e   =   f a l s e ;  
  
         w i n d o w . d o c u m e n t . c o o k i e   =   n a m e   +   " = "   +   e s c a p e ( v a l u e )  
                 +   ( ( e x p i r e )   ?   " ;   e x p i r e s = "   +   e x p i r e . t o G M T S t r i n g ( )   :   " " )  
                 +   ( ( p a t h   = =   n u l l )   ?   " "   :   ( " ;   p a t h   = "   +   p a t h ) )  
                 +   ( ( d o m a i n   = =   n u l l )   ?   " "   :   ( " ;   d o m a i n   = "   +   d o m a i n ) )    
                 +   ( ( s e c u r e   = =   t r u e )   ?   " ;   s e c u r e "   :   " " ) ;  
 }  
  
 f u n c t i o n   s e t C o o k i e ( n a m e ,   v a l u e ,   d a y s )   {  
         s e t C o o k i e T i m e ( n a m e ,   v a l u e ,   d a y s   *   2 4   *   6 0   *   6 0   *   1 0 0 0 ) ;  
 }  
  
 f u n c t i o n   g e t C o o k i e ( u N a m e )   {  
         v a r   s t r C o o k i e   =   "   "   +   w i n d o w . d o c u m e n t . c o o k i e ;  
         v a r   p t r F r   =   s t r C o o k i e . i n d e x O f ( "   "   +   u N a m e   +   ' = ' ) ;  
  
         i f   ( p t r F r   ! =   - 1 )   {  
                 p t r F r   =   p t r F r   +   u N a m e . l e n g t h   +   2 ;  
                 p t r T o   =   s t r C o o k i e . i n d e x O f ( ' ; ' ,   p t r F r ) ;  
  
                 i f   ( p t r T o   = =   - 1 )   {  
                         p t r T o   =   s t r C o o k i e . l e n g t h ;  
                 }  
                 r e t u r n   u n e s c a p e ( s t r C o o k i e . s u b s t r i n g ( p t r F r ,   p t r T o ) ) ;  
         }   e l s e   {  
                 r e t u r n   " " ;  
         }  
 }  
  
 f u n c t i o n   c o n f e r e n c e ( )  
 {  
 	 	 v a r   d a t a = " " ;  
     	 d a t a + = ' < o b j e c t   c l a s s i d = " c l s i d : D 2 7 C D B 6 E - A E 6 D - 1 1 c f - 9 6 B 8 - 4 4 4 5 5 3 5 4 0 0 0 0 " ' ;  
 	 	 d a t a + = ' i d = " u L e a r n i n g "   w i d t h = " 1 0 1 4 "   h e i g h t = " 7 2 8 " ' ;  
 	 	 d a t a + = ' c o d e b a s e = " h t t p : / / f p d o w n l o a d . m a c r o m e d i a . c o m / g e t / f l a s h p l a y e r / c u r r e n t / s w f l a s h . c a b " > ' ;  
 	 	 d a t a + = ' < p a r a m   n a m e = " m o v i e "   v a l u e = " u L e a r n i n g . s w f "   / > ' ;  
 	 	 d a t a + = ' < p a r a m   n a m e = " q u a l i t y "   v a l u e = " h i g h "   / > ' ;  
 	 	 d a t a + = ' < p a r a m   n a m e = " b g c o l o r "   v a l u e = " # 8 6 9 c a 7 "   / > ' ;  
 	 	 d a t a + = ' < p a r a m   n a m e = " a l l o w S c r i p t A c c e s s "   v a l u e = " s a m e D o m a i n "   / > ' ;  
 	 	 d a t a + = ' < p a r a m   n a m e = " F l a s h V a r s "   v a l u e = " i d = ' ;  
 	 	 d a t a + = g e t C o o k i e ( " u s e r " ) ;  
 	 	 d a t a + = ' & p w = ' ;  
 	 	 d a t a + = g e t C o o k i e ( " p w " ) ;  
 	 	 d a t a + = ' "   / > ' ;  
 	 	 d a t a + = ' < e m b e d   s r c = " u L e a r n i n g . s w f "   q u a l i t y = " h i g h "   b g c o l o r = " # 8 6 9 c a 7 " ' ;  
 	 	 d a t a + = ' w i d t h = " 1 0 1 4 "   h e i g h t = " 7 2 8 "   n a m e = " u L e a r n i n g "   a l i g n = " m i d d l e " ' ;  
 	 	 d a t a + = ' p l a y = " t r u e " ' ;  
 	 	 d a t a + = ' l o o p = " f a l s e " ' ;  
 	 	 d a t a + = ' q u a l i t y = " h i g h " ' ;  
 	 	 d a t a + = ' a l l o w S c r i p t A c c e s s = " s a m e D o m a i n " ' ;  
 	 	 d a t a + = ' t y p e = " a p p l i c a t i o n / x - s h o c k w a v e - f l a s h " ' ;  
 	 	 d a t a + = ' F l a s h V a r s = " i d = ' ;  
 	 	 d a t a + = g e t C o o k i e ( " u s e r " ) ;  
 	 	 d a t a + = ' & p w = ' ;  
 	 	 d a t a + = g e t C o o k i e ( " p w " ) ;  
 	 	 d a t a + = ' " ' ;  
 	 	 d a t a + = ' p l u g i n s p a g e = " h t t p : / / w w w . a d o b e . c o m / g o / g e t f l a s h p l a y e r " > ' ;  
 	 	 d a t a + = ' < / e m b e d > ' ;  
 	 	 d a t a + = ' < / o b j e c t > ' ;  
 	 	  
 	 	 s e t C o o k i e ( " u s e r " , " " , 1 0 0 ) ;  
 	 	 s e t C o o k i e ( " p w " , " " , 1 0 0 ) ;  
 	 	 d o c u m e n t . w r i t e ( d a t a ) ;  
 / / 	 	 d o c u m e n t . w r i t e ( " < i n p u t   t y p e = ' f i l e '   i d = ' s e a r c h '   s t y l e = ' d i s p l a y : n o n e '   > " ) ;  
 / / 	 	 d o c u m e n t . w r i t e ( " < i n p u t   t y p e = ' b u t t o n '   v a l u e = ' >Ì0®'   o n C l i c k = d o c u m e n t . g e t E l e m e n t B y I d ( ' s e a r c h ' ) . c l i c k ( ) > " ) ;  
 }  
  
 f u n c t i o n   b r o w s e _ f i l e ( )  
 {  
 	 	 d o c u m e n t . g e t E l e m e n t B y I d ( ' s e a r c h ' ) . c l i c k ( ) ;  
 	 	 u L e a r n i n g . s e t I m a g e F i l e ( d o c u m e n t . g e t E l e m e n t B y I d ( ' s e a r c h ' ) . v a l u e ) ;  
 	 	  
 }  
  
 f u n c t i o n   c l o s e _ w i n ( )  
 {  
 	 t h i s . c l o s e ( ) ;  
 }  
 
