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