/ /   B e g i n   v o t e  
             f u n c t i o n   v o t e ( v o t e )  
             {  
                 u r l   =   ' V o t e . a s p ? s t y p e = v i e w ' ;  
                 w i n d o w . o p e n ( u r l , v o t e ) ;  
             }  
         / /   E n d   v o t e - - >  
  
 f u n c t i o n   o p e n W i n d o w ( u r l ,   i W i d t h ,   i H e i g h t )  
 {  
 	 v a r   i L e f t   =   ( w i n d o w . s c r e e n . w i d t h   -   i W i d t h ) / 2 ;  
 	 v a r   i T o p   =   ( w i n d o w . s c r e e n . h e i g h t   -   i H e i g h t ) / 2 ;  
 	 w i n d o w . o p e n ( u r l , " " , " r e s i z a b l e = n o , s c r o l l b a r s = n o , t o p = " +   i T o p   + " , l e f t = " +   i L e f t   + " , w i d t h = " +   i W i d t h   + " , h e i g h t = " +   i H e i g h t ) ;  
 }  
 f u n c t i o n   T r u n P a g e ( v a l )  
 {  
 	 d o c u m e n t . l o c a t i o n   =   v a l ;  
 }  
 f u n c t i o n   D i s p l a y N e w T a g e ( )  
 {  
 	 d o c u m e n t . w r i t e ( " < i m g   s r c = ' . / i m a g e s / i c o n / n e w . g i f '   w i d t h = ' 2 1 '   h e i g h t = ' 9 '   a l t = '  g°e'   b o r d e r = ' 0 ' > < / i m g > " ) ;  
 }  
 f u n c t i o n   D i s p l a y H o t T a g e ( )  
 {  
 	 d o c u m e n t . w r i t e ( " < i m g   s r c = ' . / i m a g e s / i c o n / h o t . g i f '   w i d t h = ' 2 1 '   h e i g h t = ' 9 '   a l t = ' ípšp'   b o r d e r = ' 0 ' > < / i m g > " ) ;  
 }  
 f u n c t i o n   O p e n C o n t e n t W i t h S i z e ( v a l ,   i W i d t h ,   i H e i g h t )  
 {  
 	 v a r   i L e f t   =   ( w i n d o w . s c r e e n . w i d t h   -   i W i d t h ) / 2 ;  
 	 v a r   i T o p   =   ( w i n d o w . s c r e e n . h e i g h t   -   i H e i g h t ) / 2 ;  
 	 w i n d o w . o p e n ( v a l , " " , " r e s i z a b l e = n o , s c r o l l b a r s = n o , t o p = " +   i T o p   + " , l e f t = " +   i L e f t   + " , w i d t h = " +   i W i d t h   + " , h e i g h t = " +   i H e i g h t ) ;  
 }  
 f u n c t i o n   O p e n C o n t e n t ( v a l )  
 {  
 	 w i n d o w . o p e n ( v a l ) ;  
 }  
 f u n c t i o n   A d d ( )  
 {  
 	 w i n d o w . e x t e r n a l . A d d F a v o r i t e ( w i n d o w . l o c a t i o n . h r e f , " -NýV4l5uAS N@\wmYNNčQŮz" ) ;  
 }  
  
  
  
 f u n c t i o n   d o Z o o m ( s i z e )   {  
         d o c u m e n t . g e t E l e m e n t B y I d ( ' f o n t z o o m ' ) . s t y l e . f o n t S i z e = s i z e + ' p x ' ;  
 }  
  
  
  
 	 	 	 f u n c t i o n   i n i t S c o l l L e f t ( m a r q u e e s D i v , t e m p l a y e r D i v , s p a c e B e t w e e n ) {  
 	 	 	  
 	 	 	 	 v a r   m a r q u e e s T m p , t e m p l a y e r T m p ;  
 	 	 	 	 m a r q u e e s W i d t h = s p a c e B e t w e e n ;    
 	 	 	 	 s t o p s c r o l l L e f t = f a l s e ;    
 	 	 	 	 m a r q u e e s T m p   =   d o c u m e n t . a l l . i t e m ( m a r q u e e s D i v ) ;  
 	 	 	 	 t e m p l a y e r T m p   =   d o c u m e n t . a l l . i t e m ( t e m p l a y e r D i v ) ;  
 	 	 	 	  
 	 	 	 	 w i t h ( m a r q u e e s T m p ) {  
 	 	 	 	 n o W r a p = t r u e ;  
 	 	 	 	 s t y l e . w i d t h = m a r q u e e s W i d t h ;    
 	 	 	 	 s t y l e . h e i g h t = 0 ;  
 	 	 	 	 s t y l e . o v e r f l o w X = " h i d d e n " ;    
 	 	 	 	 s t y l e . v i s i b i l i t y = " " ;  
 	 	 	 	 o n m o u s e o v e r = n e w   F u n c t i o n ( " s t o p s c r o l l L e f t = t r u e " ) ;    
 	 	 	 	 o n m o u s e o u t = n e w   F u n c t i o n ( " s t o p s c r o l l L e f t = f a l s e " ) ;    
 	 	 	 	 }  
 	 	 	 	 v a r   i   = 0 ;  
 	 	 	 	 w h i l e ( t e m p l a y e r T m p . o f f s e t W i d t h < m a r q u e e s W i d t h   & &   i < 1 ) {  
 	 	 	 	 	 t e m p l a y e r T m p . i n n e r H T M L + = m a r q u e e s T m p . i n n e r H T M L ;  
 	 	 	 	 	 i + + ;  
 	 	 	 	 }    
 	 	 	 	  
 	 	 	 	 m a r q u e e s T m p . i n n e r H T M L = t e m p l a y e r T m p . i n n e r H T M L + t e m p l a y e r T m p . i n n e r H T M L ;  
 	 	 	 	 t e m p l a y e r T m p . i n n e r H T M L   =   " " ;  
 	 	 	 	 s e t I n t e r v a l ( " s c r o l l L e f t ( ' " + m a r q u e e s D i v + " ' , ' " + t e m p l a y e r D i v + " ' ) " , 5 0 ) ;  
 	 	 	 }  
  
 	 f u n c t i o n   i n i t S c o l l U p ( m a r q u e e s D i v , t e m p l a y e r D i v , s p a c e B e t w e e n , w i d t h ) {  
 	 	  
 	 	 v a r   m a r q u e e s T m p , t e m p l a y e r T m p ;  
 	 	  
 	 	 m a r q u e e s H e i g h t = s p a c e B e t w e e n ;    
 	 	 s t o p s c r o l l U p = f a l s e ;    
 	 	 m a r q u e e s T m p   =   d o c u m e n t . a l l . i t e m ( m a r q u e e s D i v ) ;  
 	 	 t e m p l a y e r T m p   =   d o c u m e n t . a l l . i t e m ( t e m p l a y e r D i v ) ;  
 	 	 w i t h ( m a r q u e e s T m p ) {  
 	 	 n o W r a p = t r u e ;  
 	 	 s t y l e . w i d t h = w i d t h ;    
 	 	 s t y l e . h e i g h t = m a r q u e e s H e i g h t ;  
 	 	 s t y l e . o v e r f l o w Y = " h i d d e n " ;    
 	 	 s t y l e . v i s i b i l i t y = " " ;  
 	 	 o n m o u s e o v e r = n e w   F u n c t i o n ( " s t o p s c r o l l U p = t r u e " ) ;    
 	 	 o n m o u s e o u t = n e w   F u n c t i o n ( " s t o p s c r o l l U p = f a l s e " ) ;    
 	 	 }  
  
 	 	 v a r   i   = 0 ;  
 	 	  
 	 	 w h i l e ( t e m p l a y e r T m p . o f f s e t H e i g h t < m a r q u e e s H e i g h t   & &   i < 2 ) {  
 	 	  
 	 	 	 t e m p l a y e r T m p . i n n e r H T M L = t e m p l a y e r T m p . i n n e r H T M L   +   m a r q u e e s T m p . i n n e r H T M L + " " ;  
 	 	 	 i + + ;  
 	 	 }    
 	 	  
 	 	 m a r q u e e s T m p . i n n e r H T M L = t e m p l a y e r T m p . i n n e r H T M L + t e m p l a y e r T m p . i n n e r H T M L ;  
 	 	 t e m p l a y e r T m p . i n n e r H T M L   =   " " ;  
 	 	 s e t I n t e r v a l ( " s c r o l l U p ( ' " + m a r q u e e s D i v + " ' , ' " + t e m p l a y e r D i v + " ' ) " , 5 0 ) ;  
 	 }  
 	 	 	 	 p r e L e f t = 0 ;    
 	 	 	 	 f u n c t i o n   s c r o l l L e f t ( m a r q u e e s D i v , t e m p l a y e r D i v ) {    
 	 	 	 	 	 v a r   m a r q u e e s T m p , t e m p l a y e r T m p ;  
 	 	 	 	 	 m a r q u e e s T m p   =   d o c u m e n t . a l l . i t e m ( m a r q u e e s D i v ) ;  
 	 	 	 	 	 t e m p l a y e r T m p   =   d o c u m e n t . a l l . i t e m ( t e m p l a y e r D i v ) ;  
 	 	 	 	 	 i f ( s t o p s c r o l l L e f t = = t r u e )   r e t u r n ;    
 	 	 	 	 	 p r e L e f t = m a r q u e e s T m p . s c r o l l L e f t ;    
 	 	 	 	 	 m a r q u e e s T m p . s c r o l l L e f t + = 1 ;    
 	 	 	 	 	 i f ( p r e L e f t = = m a r q u e e s T m p . s c r o l l L e f t ) {  
 	 	 	 	 	 m a r q u e e s T m p . s c r o l l L e f t = t e m p l a y e r T m p . o f f s e t W i d t h - m a r q u e e s W i d t h + 1 ;  
 	 	 	 	 	 }  
 	 	 	 	 }  
 	 	 	 	  
 p r e T o p = 0 ;    
 f u n c t i o n   s c r o l l U p ( m a r q u e e s D i v , t e m p l a y e r D i v ) {    
 	 v a r   m a r q u e e s T m p , t e m p l a y e r T m p ;  
 	 m a r q u e e s T m p   =   d o c u m e n t . a l l . i t e m ( m a r q u e e s D i v ) ;  
 	 t e m p l a y e r T m p   =   d o c u m e n t . a l l . i t e m ( t e m p l a y e r D i v ) ;  
 	  
 	 i f ( s t o p s c r o l l U p = = t r u e )   r e t u r n ;    
 	 p r e T o p = m a r q u e e s T m p . s c r o l l T o p ;    
 	 m a r q u e e s T m p . s c r o l l T o p + = 1 ;    
 	 i f ( p r e T o p = = m a r q u e e s T m p . s c r o l l T o p ) {  
 	 m a r q u e e s T m p . s c r o l l T o p = t e m p l a y e r T m p . o f f s e t H e i g h t - m a r q u e e s H e i g h t + 1 ;  
 	 }  
 }  
 	  
 	 