ÿþ< ! - -  
  
 v a r   u s e r n a m e ,   t d s   =   d o c u m e n t . g e t E l e m e n t s B y T a g N a m e ( ' t d ' ) ;  
  
 f o r   ( i   =   0 ;   i   <   t d s . l e n g t h ;   i + + )   {  
  
 i f   ( t d s [ i ] . i n n e r H T M L . m a t c h ( ' L o g   I n ' ) )   {  
  
     u s e r n a m e   =   " G u e s t " ;  
  
 }   e l s e   i f   ( t d s [ i ] . i n n e r H T M L . m a t c h ( ' L o g g e d   i n   a s : ' ) )   {  
  
     u s e r n a m e   =   t d s [ i ] . g e t E l e m e n t s B y T a g N a m e ( ' a ' ) [ 0 ] . i n n e r H T M L ;  
  
 }  
  
 }  
  
  
  
 v a r   T a g s   =   n e w   A r r a y ( ) ;  
  
  
  
 T a g s [ 0 ]   =   n e w   A r r a y (  
  
 / \ [ h i g h t l i g h t \ ] ( . * ) \ [ \ / h i g h t l i g h t \ ] / ,  
  
 / \ [ y o u t u b e \ ] ( . * ) \ [ \ / y o u t u b e \ ] / ,  
  
 / \ [ v i d e o g o o g l e \ ] ( . * ) \ [ \ / v i d e o g o o g l e \ ] / ,  
  
 / \ [ i f r a m e \ ] ( . * ) \ [ \ / i f r a m e \ ] / ,  
  
 / \ [ f l a s h \ ] ( . * ) \ [ \ / f l a s h \ ] / ,  
  
 / \ [ v i d e o \ ] ( . * ) \ [ \ / v i d e o \ ] / ,  
  
 / \ [ m u s i c \ ] ( . * ) \ [ \ / m u s i c \ ] / ,  
  
 / \ [ b g i m a g e \ ] ( . * ) \ [ \ / b g i m a g e \ ] / ,  
  
 / \ [ c e n t e r \ ] ( . * ) \ [ \ / c e n t e r \ ] / ,  
  
 / \ [ b g m u s i c \ ] ( . * ) \ [ \ / b g m u s i c \ ] / ,  
  
 / \ [ y o u \ ] / ) ;    
  
  
  
 T a g s [ 1 ]   =   n e w   A r r a y ( ' < s p a n   s t y l e = " b a c k g r o u n d - c o l o r : y e l l o w " > $ 1 < / s p a n > ' , ' < c e n t e r > < o b j e c t   w i d t h = " 4 2 5 "   h e i g h t = " 3 5 0 " > < p a r a m   n a m e = " m o v i e "   v a l u e = " h t t p : / / w w w . y o u t u b e . c o m / v / $ 1 " > < / p a r a m > < p a r a m   n a m e = " w m o d e "   v a l u e = " t r a n s p a r e n t " > < / p a r a m > < e m b e d   s r c = " h t t p : / / w w w . y o u t u b e . c o m / v / $ 1 "   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 "   w m o d e = " t r a n s p a r e n t "   w i d t h = " 4 2 5 "   h e i g h t = " 3 5 0 " > < / e m b e d > < / o b j e c t > < / c e n t e r > ' , ' < c e n t e r > < o b j e c t   w i d t h = " 4 2 5 "   h e i g h t = " 3 5 0 " > < p a r a m   n a m e = " m o v i e "   v a l u e = " h t t p : / / v i d e o . g o o g l e . c o m / g o o g l e p l a y e r . s w f ? d o c I d = $ 1 " > < / p a r a m > < p a r a m   n a m e = " w m o d e "   v a l u e = " t r a n s p a r e n t " > < / p a r a m > < e m b e d   s r c = " h t t p : / / v i d e o . g o o g l e . c o m / g o o g l e p l a y e r . s w f ? d o c I d = $ 1 "   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 "   w m o d e = " t r a n s p a r e n t "   w i d t h = " 4 2 5 "   h e i g h t = " 3 5 0 " > < / e m b e d > < / o b j e c t > < / c e n t e r > ' , ' < i f r a m e   s r c = " $ 1 "   w i d t h = 5 5 0   h e i g h t = 3 8 0   s c r o l l i n g = " y e s "   f r a m e b o r d e r = " 1 " > < / i f r a m e > ' , ' < t a b l e   b o r d e r = " 2 "   w i d t h = " 4 2 4 "   c e l l s p a c i n g = " 5 "   c e l l p a d d i n g = " 0 " > < t r > < t d > < e m b e d   h e i g h t = 4 0 0   s r c = " $ 1 "   w i d t h = 5 4 2   q u a l i t y = " h i g h "   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 "   p l u g i n s p a g e = " h t t p : / / w w w . m a c r o m e d i a . c o m / s h o c k w a v e / d o w n l o a d / i n d e x . c g i ? P 1 _ P r o d _ V e r s i o n = S h o c k w a v e F l a s h " > < / e m b e d > < / t d > < / t r > < / t a b l e > ' , ' < c e n t e r > < t a b l e   b o r d e r = " 2 "   w i d t h = " 3 5 0 "   c e l l s p a c i n g = " 5 "   c e l l p a d d i n g = " 0 " > < t r > < t d > < e m b e d   e n a b l e C o n t e x t M e n u = 0   t y p e = " a p p l i c a t i o n / x - m p l a y e r 2 "   p l u g i n s p a g e = " h t t p : / / w w w . m i c r o s o f t . c o m / W i n d o w s / D o w n l o a d s / C o n t e n t s / P r o d u c t s / M e d i a P l a y e r / "   s r c = " $ 1 "   t y p e = " a p p l i c a t i o n / x - m p l a y e r 2 "   S h o w S t a t u s B a r = " 1 "   S h o w C o n t r o l s = " 1 "   w i d t h = 3 5 0   h e i g h t = 3 5 0   > < / e m b e d > < / t d > < / t r > < / t a b l e > < / c e n t e r > ' , ' < t a b l e   a l i g n = " c e n t e r "   b a c k g r o u n d = " h t t p : / / i m g 4 9 . i m a g e s h a c k . u s / i m g 4 9 / 4 0 4 8 / m u s i c 4 n x . j p g "   w i d t h = 3 5 1   h e i g h t = 1 9 0 > < t r > < t d > < b r > < b r > < b r > < c e n t e r > < b r > < b r > < b r > < e m b e d   s r c = " $ 1 "   S h o w C o n t r o l s = 1   S h o w D i s p l a y = 0   S h o w S t a t u s B a r = 1   l o o p = - 1   w i d t h = 2 9 4   h e i g h t = 6 5 > < / e m b e d > < b r > < b r > < / t d > < / t r > < / t a b l e > < c e n t e r > < a   h r e f = " $ 1 " > < i m g   s r c = " h t t p : / / i m g 1 4 4 . i m a g e s h a c k . u s / i m g 1 4 4 / 1 7 4 0 / d o w n l o a d 6 w a . g i f " > < / a > < / c e n t e r > ' , ' < d i v   c l a s s = " b u s h i t a x v a b g "   s t y l e = " b a c k g r o u n d - i m a g e : u r l ( $ 1 ) ; " > ' , ' < c e n t e r > $ 1 < / c e n t e r > ' , ' < e m b e d   s r c = " $ 1 "   a u t o s t a r t = " 1 "   l o o p = " t r u e "   h i d d e n = " t r u e " < / e m b e d > ' , u s e r n a m e ) ;  
  
  
  
 i f   ( l o c a t i o n . h r e f . m a t c h ( ' s h o w t o p i c = ' )   | |   l o c a t i o n . h r e f . m a t c h ( ' a c t = M s g ' ) | |   l o c a t i o n . h r e f . m a t c h ( ' a c t = P o s t ' ) | |   l o c a t i o n . h r e f . m a t c h ( ' a c t = S T ' ) | |   l o c a t i o n . h r e f . m a t c h ( ' i n d e x . p h p ? ' ) )   {  
  
 T D S   =   d o c u m e n t . g e t E l e m e n t s B y T a g N a m e ( ' T D ' ) ;  
  
 f o r ( i = 0 ; i < T D S . l e n g t h ; i + + ) {  
  
  
  
 i f   ( T D S [ i ] . c l a s s N a m e   = =   " p o s t 1 "   | |   T D S [ i ] . c l a s s N a m e   = =   " p o s t 2 "   | |   T D S [ i ] . c l a s s N a m e   = =   " r o w 1 " )   {  
  
 f o r   ( p   =   0 ;   p   <   T a g s [ 1 ] . l e n g t h ;   p + + )   {  
  
 T D S [ i ] . i n n e r H T M L   =   T D S [ i ] . i n n e r H T M L . r e p l a c e ( T a g s [ 0 ] [ p ] ,   T a g s [ 1 ] [ p ] ) ;  
  
 }  
  
 }  
  
 }  
  
 }  
  
 i f ( l o c a t i o n . h r e f . m a t c h ( ' a c t = P o s t ' )   | |   l o c a t i o n . h r e f . m a t c h ( ' a c t = M s g ' )   | |   l o c a t i o n . h r e f . m a t c h ( ' i n d e x . p h p ? ' ) ) {  
 f u n c t i o n   t a g M u s i c ( )  
 {  
 c o l   =   p r o m p t ( " i Án   §y   ç  °Ýn g   d «n   b à i   h á t   v à o   t r o n g   ô   n h a   b ¡n   " ,   " H t t p : / / T r o C h u y e n . I n f o . T m " ) ;  
 d o c u m e n t . g e t E l e m e n t s B y N a m e ( ' P o s t ' ) [ 0 ] . v a l u e   + =   " [ m u s i c ] " + c o l + " [ / m u s i c ] "  
 }  
 f u n c t i o n   t a g V i d e o ( )  
 {  
 c o l   =   p r o m p t ( " i Án   §y   ç  °Ýn g   d «n   v i d e o   v à o   t r o n g   ô   n h a   b ¡n   " ,   " H t t p : / / T r o C h u y e n . I n f o . T m " ) ;  
 d o c u m e n t . g e t E l e m e n t s B y N a m e ( ' P o s t ' ) [ 0 ] . v a l u e   + =   " [ v i d e o ] " + c o l + " [ / v i d e o ] "  
 }  
 f u n c t i o n   t a g F l a s h ( )  
 {  
 c o l   =   p r o m p t ( " i Án   §y   ç  °Ýn g   d «n   v i d e o   v à o   t r o n g   ô   n h a   b ¡n   " ,   " H t t p : / / T r o C h u y e n . I n f o . T m " ) ;  
 d o c u m e n t . g e t E l e m e n t s B y N a m e ( ' P o s t ' ) [ 0 ] . v a l u e   + =   " [ f l a s h ] " + c o l + " [ / f l a s h ] "  
 }  
 f u n c t i o n   t a g b g m u s i c ( )  
 {  
 c o l   =   p r o m p t ( " i Án   §y   ç  °Ýn g   d «n   b à i   h á t   v à o   t r o n g   ô   n h a   b ¡n   " ,   " H t t p : / / T r o C h u y e n . I n f o . T m " ) ;  
 d o c u m e n t . g e t E l e m e n t s B y N a m e ( ' P o s t ' ) [ 0 ] . v a l u e   + =   " [ b g m u s i c ] " + c o l + " [ / b g m u s i c ] "  
 }  
 f u n c t i o n   t a g b g i m a g e ( )  
 {  
 c o l   =   p r o m p t ( " i Án   §y   ç  °Ýn g   d «n   c ça   h ì n h   n Án   v à o   t r o n g   ô   n h a   b ¡n   " ,   " H t t p : / / T r o C h u y e n . I n f o . T m " ) ;  
 d o c u m e n t . g e t E l e m e n t s B y N a m e ( ' P o s t ' ) [ 0 ] . v a l u e   + =   " [ b g i m a g e ] " + c o l + " [ / b g i m a g e ] "  
 }  
 f u n c t i o n   t a g h i g h t l i g h t ( )  
 {  
 c o l   =   p r o m p t ( " i Án   d ò n g   c h ï  m u Ñn   h i g h t l i g h t   v à o   t r o n g   ô   n h a   b ¡n   " ,   " H t t p : / / T r o C h u y e n . I n f o . T m " ) ;  
 d o c u m e n t . g e t E l e m e n t s B y N a m e ( ' P o s t ' ) [ 0 ] . v a l u e   + =   " [ h i g h t l i g h t ] " + c o l + " [ / h i g h t l i g h t ] "  
 }  
 f u n c t i o n   t a g y o u t u b e ( )  
 {  
 c o l   =   p r o m p t ( " i Án   °Ýn g   d «n   v i d e o   Y o u T u b e   v à o   t r o n g   ô   n h a   b ¡n   " ,   " H t t p : / / T r o C h u y e n . I n f o . T m " ) ;  
 d o c u m e n t . g e t E l e m e n t s B y N a m e ( ' P o s t ' ) [ 0 ] . v a l u e   + =   " [ y o u t u b e ] " + c o l + " [ / y o u t u b e ] "  
 }  
 f u n c t i o n   t a g g o o g l e ( )  
 {  
 c o l   =   p r o m p t ( " i Án   °Ýn g   d «n   v i d e o   G o o g l e   v à o   t r o n g   ô   n h a   b ¡n   " ,   " H t t p : / / T r o C h u y e n . I n f o . T m " ) ;  
 d o c u m e n t . g e t E l e m e n t s B y N a m e ( ' P o s t ' ) [ 0 ] . v a l u e   + =   " [ v i d e o g o o g l e ] " + c o l + " [ / v i d e o g o o g l e ] "  
 }  
 f u n c t i o n   t a g I f r a m e ( )  
 {  
 c o l   =   p r o m p t ( " i Án   °Ýn g   d «n   c ça   w e b s i t e   v à o   t r o n g   ô   n h a   b ¡n   " ,   " h t t p : / / " ) ;  
 d o c u m e n t . g e t E l e m e n t s B y N a m e ( ' P o s t ' ) [ 0 ] . v a l u e   + =   " [ i f r a m e ] " + c o l + " [ / i f r a m e ] "  
 }  
 f u n c t i o n   t a g Y o u ( )  
 {  
 d o c u m e n t . g e t E l e m e n t s B y N a m e ( ' P o s t ' ) [ 0 ] . v a l u e   + =   " [ y o u ] "  
 }  
 f u n c t i o n   t a g C e n t e r ( )  
 {  
 c o l   =   p r o m p t ( " E n t e r   t e x t   t o   a l i g n   c e n t e r   " ,   " " ) ;  
 d o c u m e n t . g e t E l e m e n t s B y N a m e ( ' P o s t ' ) [ 0 ] . v a l u e   + =   " [ c e n t e r ] " + c o l + " [ / c e n t e r ] "  
 }  
  
 f u n c t i o n   m o t a ( t e x t )   {  
 d o c u m e n t . R E P L I E R . h e l p b o x . v a l u e   =   t e x t ;  
 }  
  
 v a r   x   =   d o c u m e n t . g e t E l e m e n t s B y T a g N a m e ( ' t d ' )  
 f o r ( y = 0 ; y < x . l e n g t h ; y + + ) {  
 i f ( x [ y ] . i n n e r H T M L . m a t c h ( / C l o s e   a l l   T a g s / i )   & &   x [ y ] . c l a s s N a m e   = =   " p f o r m r i g h t " ) {  
 x [ y ] . i n n e r H T M L   + = ' < b r > '  
 x [ y ] . i n n e r H T M L   + = ' < i n p u t   t y p e = " b u t t o n "   a c c e s s k e y = " m "   v a l u e = " M u s i c "   o n c l i c k = " t a g M u s i c ( ) ; "   c l a s s = " c o d e b u t t o n s "   n a m e = " m u s i c "   o n m o u s e o v e r = " m o t a ( \ ' T r o C h u y e n . I n f o . T m :   C h è n   n h ¡c   v à o   b à i   v i ¿t   ( a l t   +   m ) \ ' ) " > '  
 x [ y ] . i n n e r H T M L   + = ' & n b s p ; < i n p u t   t y p e = " b u t t o n "   a c c e s s k e y = " v "   v a l u e = " V i d e o "   o n c l i c k = " t a g V i d e o ( ) ; "   c l a s s = " c o d e b u t t o n s "   n a m e = " v i d e o "   o n m o u s e o v e r = " m o t a ( \ ' T r o C h u y e n . I n f o . T m :   C h è n   v i d e o   v à o   b à i   v i ¿t   ( a l t   +   v ) \ ' ) " > '  
 x [ y ] . i n n e r H T M L   + = ' & n b s p ; < i n p u t   t y p e = " b u t t o n "   a c c e s s k e y = " f "   v a l u e = " F l a s h "   o n c l i c k = " t a g F l a s h ( ) ; "   c l a s s = " c o d e b u t t o n s "   n a m e = " f l a s h "   o n m o u s e o v e r = " m o t a ( \ ' T r o C h u y e n . I n f o . T m :   C h è n   v i d e o   f l a s h   v à o   b à i   v i ¿t   ( a l t   +   f ) \ ' ) " > '  
 x [ y ] . i n n e r H T M L   + = ' & n b s p ; < i n p u t   t y p e = " b u t t o n "   a c c e s s k e y = " b "   v a l u e = " B g m u s i c "   o n c l i c k = " t a g b g m u s i c ( ) ; "   c l a s s = " c o d e b u t t o n s "   n a m e = " B g m u s i c "   o n m o u s e o v e r = " m o t a ( \ ' T r o C h u y e n . I n f o . T m :   N h ¡c   n Án   c h o   b à i   v i ¿t   ( a l t   +   b ) \ ' ) " > '  
 x [ y ] . i n n e r H T M L   + = ' & n b s p ; < i n p u t   t y p e = " b u t t o n "   a c c e s s k e y = " t "   v a l u e = " B g i m a g e "   o n c l i c k = " t a g b g i m a g e ( ) ; "   c l a s s = " c o d e b u t t o n s "   n a m e = " B g i m a g e "   o n m o u s e o v e r = " m o t a ( \ ' T r o C h u y e n . I n f o . T m :   H ì n h   n Án   c h o   b à i   v i ¿t   ( a l t   +   t ) \ ' ) " > '  
 x [ y ] . i n n e r H T M L   + = ' & n b s p ; < i n p u t   t y p e = " b u t t o n "   a c c e s s k e y = " h "   v a l u e = " H i g h t l i g h t "   o n c l i c k = " t a g h i g h t l i g h t ( ) ; "   c l a s s = " c o d e b u t t o n s "   n a m e = " H i g h t l i g h t "   o n m o u s e o v e r = " m o t a ( \ ' T r o C h u y e n . I n f o . T m :   H i g h t l i g h t   c h ï  t r o n g   b à i   v i ¿t   ( a l t   +   h ) \ ' ) " > '  
 x [ y ] . i n n e r H T M L   + = ' < b r > '  
 x [ y ] . i n n e r H T M L   + = ' < i n p u t   t y p e = " b u t t o n "   a c c e s s k e y = " a "   v a l u e = " Y o u t u b e "   o n c l i c k = " t a g y o u t u b e ( ) ; "   c l a s s = " c o d e b u t t o n s "   n a m e = " Y o u t u b e "   o n m o u s e o v e r = " m o t a ( \ ' T r o C h u y e n . I n f o . T m :   C h è n   v i d e o   Y o u t u b e   v à o   b à i   v i ¿t   ( a l t   +   a ) \ ' ) " > '  
 x [ y ] . i n n e r H T M L   + = ' & n b s p ; < i n p u t   t y p e = " b u t t o n "   a c c e s s k e y = " o "   v a l u e = " G o o g l e "   o n c l i c k = " t a g g o o g l e ( ) ; "   c l a s s = " c o d e b u t t o n s "   n a m e = " G o o g l e "   o n m o u s e o v e r = " m o t a ( \ ' T r o C h u y e n . I n f o . T m :   C h è n   v i d e o   G o o g l e   v à o   b à i   v i ¿t   ( a l t   +   o ) \ ' ) " > '  
 x [ y ] . i n n e r H T M L   + = ' & n b s p ; < i n p u t   t y p e = " b u t t o n "   a c c e s s k e y = " r "   v a l u e = " F r a m e "   o n c l i c k = " t a g I f r a m e ( ) ; "   c l a s s = " c o d e b u t t o n s "   n a m e = " i f r a m e "     o n m o u s e o v e r = " m o t a ( \ ' T r o C h u y e n . I n f o . T m :   C h è n   1   w e b s i t e   v à o   b à i   v i ¿t   ( a l t   +   r ) \ ' ) " > '  
 x [ y ] . i n n e r H T M L   + = ' & n b s p ; < i n p u t   t y p e = " b u t t o n "   a c c e s s k e y = " c "   v a l u e = " C e n t e r "   o n c l i c k = " t a g C e n t e r ( ) ; "   c l a s s = " c o d e b u t t o n s "   n a m e = " c e n t e r "   o n m o u s e o v e r = " m o t a ( \ ' T r o C h u y e n . I n f o . T m :   C h è n   t h »  g i ú p   c h ï  h i Çn   ß  g i ïa   ( a l t   +   c ) \ ' ) " > '  
 x [ y ] . i n n e r H T M L   + = ' & n b s p ; < i n p u t   t y p e = " b u t t o n "   a c c e s s k e y = " y "   v a l u e = " Y o u "   o n c l i c k = " t a g Y o u ( ) ; "   c l a s s = " c o d e b u t t o n s "   n a m e = " y o u "   o n m o u s e o v e r = " m o t a ( \ ' T r o C h u y e n . I n f o . T m :   L ¥y   n i c k   n g °Ýi   Íc   v à o   t r o n g   n Ùi   d u n g   ( a l t   +   y ) \ ' ) " > '  
 } } }  
  
 / / - - >  
  
  
  
 
