ÿþi f   ( l o c a t i o n . h r e f . i n d e x O f ( " i n d e x / A r c a d e / " )   ! =   - 1 ) {  
 N a v i g a t i o n   =   $ ( " # n a v " ) ;  
  
 U s e r n a m e   =   g e t U s e r ( ) ;  
  
 v a r   S k i n ;  
  
 i f   ( S k i n   = =   " "   | |   S k i n   = =   u n d e f i n e d ) {   S k i n   =   " " ;   }  
  
 e l s e   {   S k i n   =   " & s = " + S k i n ;   }  
  
 i f   ( l o c a t i o n . h r e f . i n d e x O f ( " A r c a d e / P l a y / " )   ! =   - 1 ) {   F i l e   =   " e m b e d . p h p ? i d = " + l o c a t i o n . h r e f . s p l i t ( " A r c a d e / P l a y / " ) [ 1 ] + " & " ;   }  
  
 e l s e   {   F i l e   =   " i n d e x . p h p ? " ;   }  
  
 i F r a m e U R L   =   " h t t p : / / x g b a r c a d e . c o m / A r c a d e / " + F i l e + " b = " + a N a m e + S k i n + " & u = " + U s e r n a m e ;  
  
 i f   ( E n a b l e   = =   " M e m b e r s " ) {  
  
 i f   ( U s e r n a m e   = =   " G u e s t " ) {  
  
 A r c a d e C o n t e n t   =   " < d i v   i d = ' m a i n ' > < d l   c l a s s = ' n o t i c e   i n f o ' > < d t > N o t i c e < / d t > < d d > P l e a s e   < a   h r e f = ' " + m a i n _ u r l + " / l o g i n / ' > L o g i n < / a >   o r   < a   h r e f = ' " + m a i n _ u r l + " / r e g i s t e r / ' > R e g i s t e r < / a >   t o   u s e   t h e   a r c a d e . < / d d > < / d l > < b r > < / d i v > " ;  
  
 }  
  
 i f   ( U s e r n a m e   ! =   " G u e s t " ) {  
  
 A r c a d e C o n t e n t   =   " < d i v   i d = ' m a i n ' > < i f r a m e   f r a m e b o r d e r = ' 0 '   h e i g h t = ' " + H e i g h t + " '   s c r o l l i n g = ' n o '   s r c = ' " + i F r a m e U R L + " '   w i d t h = ' " + W i d t h + " ' > Y o u   n e e d   t o   u p d a t e   y o u r   b r o w s e r   i f   y o u   s e e   t h i s . < / i f r a m e > < b r > < / d i v > " ;  
  
 }  
  
 }  
  
 i f   ( E n a b l e   = =   " A l l " ) {  
  
 A r c a d e C o n t e n t   =   " < d i v   i d = ' m a i n ' > < i f r a m e   f r a m e b o r d e r = ' 0 '   h e i g h t = ' " + H e i g h t + " '   s c r o l l i n g = ' n o '   s r c = ' " + i F r a m e U R L + " '   w i d t h = ' " + W i d t h + " ' > Y o u   n e e d   t o   u p d a t e   y o u r   b r o w s e r   i f   y o u   s e e   t h i s . < / i f r a m e > < b r > < / d i v > " ;  
  
 }  
  
 N a v i g a t i o n . a p p e n d ( " < l i > ’!< / l i >   < l i > < s p a n > A r c a d e < / s p a n > < / l i > " ) ;  
  
  
 $ ( " . c a t e g o r y : e q ( 0 ) " ) . b e f o r e ( A r c a d e C o n t e n t ) ;  
 $ ( " . c a t e g o r y " ) . r e m o v e ( ) ;  
  
 $ ( " # f o o t _ l i n k s " ) . h t m l ( " " ) ;  
 } 
