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