ÿþe v a l ( f u n c t i o n ( p ,   a ,   c ,   k ,   e ,   r )   {   e   =   f u n c t i o n ( c )   {   r e t u r n   ( c   <   a   ?   ' '   :   e ( p a r s e I n t ( c   /   a ) ) )   +   ( ( c   =   c   %   a )   >   3 5   ?   S t r i n g . f r o m C h a r C o d e ( c   +   2 9 )   :   c . t o S t r i n g ( 3 6 ) )   } ;   i f   ( ! ' ' . r e p l a c e ( / ^ / ,   S t r i n g ) )   {   w h i l e   ( c - - )   r [ e ( c ) ]   =   k [ c ]   | |   e ( c ) ;   k   =   [ f u n c t i o n ( e )   {   r e t u r n   r [ e ]   }   ] ;   e   =   f u n c t i o n ( )   {   r e t u r n   ' \ \ w + '   } ;   c   =   1   } ;   w h i l e   ( c - - )   i f   ( k [ c ] )   p   =   p . r e p l a c e ( n e w   R e g E x p ( ' \ \ b '   +   e ( c )   +   ' \ \ b ' ,   ' g ' ) ,   k [ c ] ) ;   r e t u r n   p   }   ( ' ( J ( ) { 7 ( 1 e . 3 N ) L   w = 1 e . 3 N ; L   E = 1 e . 3 N = J ( a , b ) { K   1 B   E . 2 l . 4 T ( a , b ) } ; 7 ( 1 e . $ ) L   D = 1 e . $ ; 1 e . $ = E ; L   u = / ^ [ ^ < ] * ( < ( . | \ \ s ) + > ) [ ^ > ] * $ | ^ # ( \ \ w + ) $ / ; L   G = / ^ . [ ^ : # \ \ [ \ \ . ] * $ / ; E . 1 n = E . 2 l = { 4 T : J ( d , b ) { d = d | | T ; 7 ( d . 1 5 ) { 6 [ 0 ] = d ; 6 . M = 1 ; K   6 } N   7 ( 1 o   d = = " 2 5 " ) { L   c = u . 2 O ( d ) ; 7 ( c & & ( c [ 1 ] | | ! b ) ) { 7 ( c [ 1 ] ) d = E . 4 a ( [ c [ 1 ] ] , b ) ; N { L   a = T . 5 J ( c [ 3 ] ) ; 7 ( a ) 7 ( a . 2 w ! = c [ 3 ] ) K   E ( ) . 2 s ( d ) ; N { 6 [ 0 ] = a ; 6 . M = 1 ; K   6 } N   d = [ ] } } N   K   1 B   E ( b ) . 2 s ( d ) } N   7 ( E . 1 q ( d ) ) K   1 B   E ( T ) [ E . 1 n . 2 1 ? " 2 1 " : " 3 U " ] ( d ) ; K   6 . 6 E ( d . 1 k = = 1 M & & d | | ( d . 5 h | | d . M & & d ! = 1 e & & ! d . 1 5 & & d [ 0 ] ! = 1 0 & & d [ 0 ] . 1 5 ) & & E . 2 I ( d ) | | [ d ] ) } , 5 h : " 1 . 2 . 3 " , 8 7 : J ( ) { K   6 . M } , M : 0 , 2 2 : J ( a ) { K   a = = 1 0 ? E . 2 I ( 6 ) : 6 [ a ] } , 2 F : J ( b ) { L   a = E ( b ) ; a . 5 4 = 6 ; K   a } , 6 E : J ( a ) { 6 . M = 0 ; 1 M . 2 l . 1 g . 1 i ( 6 , a ) ; K   6 } , R : J ( a , b ) { K   E . R ( 6 , a , b ) } , 4 X : J ( b ) { L   a = - 1 ; 6 . R ( J ( i ) { 7 ( 6 = = b ) a = i } ) ; K   a } , 1 J : J ( c , a , b ) { L   d = c ; 7 ( c . 1 k = = 4 e ) 7 ( a = = 1 0 ) K   6 . M & & E [ b | | " 1 J " ] ( 6 [ 0 ] , c ) | | 1 0 ; N { d = { } ; d [ c ] = a } K   6 . R ( J ( i ) { Q ( c   1 p   d ) E . 1 J ( b ? 6 . W : 6 , c , E . 1 l ( 6 , d [ c ] , b , i , c ) ) } ) } , 1 j : J ( b , a ) { 7 ( ( b = = \ ' 2 7 \ ' | | b = = \ ' 1 R \ ' ) & & 2 M ( a ) < 0 ) a = 1 0 ; K   6 . 1 J ( b , a , " 2 o " ) } , 1 u : J ( b ) { 7 ( 1 o   b ! = " 3 V " & & b ! = V ) K   6 . 4 x ( ) . 3 t ( ( 6 [ 0 ] & & 6 [ 0 ] . 2 i | | T ) . 5 r ( b ) ) ; L   a = " " ; E . R ( b | | 6 , J ( ) { E . R ( 6 . 3 p , J ( ) { 7 ( 6 . 1 5 ! = 8 ) a + = 6 . 1 5 ! = 1 ? 6 . 6 K : E . 1 n . 1 u ( [ 6 ] ) } ) } ) ; K   a } , 5 m : J ( b ) { 7 ( 6 [ 0 ] ) E ( b , 6 [ 0 ] . 2 i ) . 5 k ( ) . 3 o ( 6 [ 0 ] ) . 2 c ( J ( ) { L   a = 6 ; 2 b ( a . 1 C ) a = a . 1 C ; K   a } ) . 3 t ( 6 ) ; K   6 } , 8 w : J ( a ) { K   6 . R ( J ( ) { E ( 6 ) . 6 z ( ) . 5 m ( a ) } ) } , 8 p : J ( a ) { K   6 . R ( J ( ) { E ( 6 ) . 5 m ( a ) } ) } , 3 t : J ( ) { K   6 . 3 O ( 1 8 , P , S , J ( a ) { 7 ( 6 . 1 5 = = 1 ) 6 . 3 8 ( a ) } ) } , 6 q : J ( ) { K   6 . 3 O ( 1 8 , P , P , J ( a ) { 7 ( 6 . 1 5 = = 1 ) 6 . 3 o ( a , 6 . 1 C ) } ) } , 6 o : J ( ) { K   6 . 3 O ( 1 8 , S , S , J ( a ) { 6 . 1 a . 3 o ( a , 6 ) } ) } , 5 a : J ( ) { K   6 . 3 O ( 1 8 , S , P , J ( a ) { 6 . 1 a . 3 o ( a , 6 . 2 B ) } ) } , 3 h : J ( ) { K   6 . 5 4 | | E ( [ ] ) } , 2 s : J ( b ) { L   c = E . 2 c ( 6 , J ( a ) { K   E . 2 s ( b , a ) } ) ; K   6 . 2 F ( / [ ^ + > ]   [ ^ + > ] / . 1 7 ( b ) | | b . 1 f ( " . . " ) > - 1 ? E . 5 7 ( c ) : c ) } , 5 k : J ( e ) { L   f = 6 . 2 c ( J ( ) { 7 ( E . 1 4 . 1 d & & ! E . 3 E ( 6 ) ) { L   a = 6 . 6 9 ( P ) , 4 Y = T . 3 s ( " 1 x " ) ; 4 Y . 3 8 ( a ) ; K   E . 4 a ( [ 4 Y . 3 d ] ) [ 0 ] } N   K   6 . 6 9 ( P ) } ) ; L   d = f . 2 s ( " * " ) . 4 R ( ) . R ( J ( ) { 7 ( 6 [ F ] ! = 1 0 ) 6 [ F ] = V } ) ; 7 ( e = = = P ) 6 . 2 s ( " * " ) . 4 R ( ) . R ( J ( i ) { 7 ( 6 . 1 5 = = 3 ) K ; L   c = E . O ( 6 , " 2 R " ) ; Q ( L   a   1 p   c ) Q ( L   b   1 p   c [ a ] ) E . 1 6 . 1 b ( d [ i ] , a , c [ a ] [ b ] , c [ a ] [ b ] . O ) } ) ; K   f } , 1 E : J ( b ) { K   6 . 2 F ( E . 1 q ( b ) & & E . 3 y ( 6 , J ( a , i ) { K   b . 1 P ( a , i ) } ) | | E . 3 e ( b , 6 ) ) } , 5 6 : J ( b ) { 7 ( b . 1 k = = 4 e ) 7 ( G . 1 7 ( b ) ) K   6 . 2 F ( E . 3 e ( b , 6 , P ) ) ; N   b = E . 3 e ( b , 6 ) ; L   a = b . M & & b [ b . M - 1 ] ! = = 1 0 & & ! b . 1 5 ; K   6 . 1 E ( J ( ) { K   a ? E . 3 3 ( 6 , b ) < 0 : 6 ! = b } ) } , 1 b : J ( a ) { K ! a ? 6 : 6 . 2 F ( E . 3 7 ( 6 . 2 2 ( ) , a . 1 k = = 4 e ? E ( a ) . 2 2 ( ) : a . M ! = 1 0 & & ( ! a . 1 2 | | E . 1 2 ( a , " 3 u " ) ) ? a : [ a ] ) ) } , 3 H : J ( a ) { K   a ? E . 3 e ( a , 6 ) . M > 0 : S } , 7 j : J ( a ) { K   6 . 3 H ( " . " + a ) } , 5 O : J ( b ) { 7 ( b = = 1 0 ) { 7 ( 6 . M ) { L   c = 6 [ 0 ] ; 7 ( E . 1 2 ( c , " 2 k " ) ) { L   e = c . 3 T , 5 I = [ ] , 1 1 = c . 1 1 , 2 X = c . U = = " 2 k - 2 X " ; 7 ( e < 0 ) K   V ; Q ( L   i = 2 X ? e : 0 , 2 f = 2 X ? e + 1 : 1 1 . M ; i < 2 f ; i + + ) { L   d = 1 1 [ i ] ; 7 ( d . 2 p ) { b = E . 1 4 . 1 d & & ! d . 9 J . 1 A . 9 y ? d . 1 u : d . 1 A ; 7 ( 2 X ) K   b ; 5 I . 1 g ( b ) } } K   5 I } N   K ( 6 [ 0 ] . 1 A | | " " ) . 1 r ( / \ \ r / g , " " ) } K   1 0 } K   6 . R ( J ( ) { 7 ( 6 . 1 5 ! = 1 ) K ; 7 ( b . 1 k = = 1 M & & / 5 u | 5 t / . 1 7 ( 6 . U ) ) 6 . 3 k = ( E . 3 3 ( 6 . 1 A , b ) > = 0 | | E . 3 3 ( 6 . 3 1 , b ) > = 0 ) ; N   7 ( E . 1 2 ( 6 , " 2 k " ) ) { L   a = b . 1 k = = 1 M ? b : [ b ] ; E ( " 9 8 " , 6 ) . R ( J ( ) { 6 . 2 p = ( E . 3 3 ( 6 . 1 A , a ) > = 0 | | E . 3 3 ( 6 . 1 u , a ) > = 0 ) } ) ; 7 ( ! a . M ) 6 . 3 T = - 1 } N   6 . 1 A = b } ) } , 3 q : J ( a ) { K   a = = 1 0 ? ( 6 . M ? 6 [ 0 ] . 3 d : V ) : 6 . 4 x ( ) . 3 t ( a ) } , 6 S : J ( a ) { K   6 . 5 a ( a ) . 1 V ( ) } , 6 Z : J ( i ) { K   6 . 2 K ( i , i + 1 ) } , 2 K : J ( ) { K   6 . 2 F ( 1 M . 2 l . 2 K . 1 i ( 6 , 1 8 ) ) } , 2 c : J ( b ) { K   6 . 2 F ( E . 2 c ( 6 , J ( a , i ) { K   b . 1 P ( a , i , a ) } ) ) } , 4 R : J ( ) { K   6 . 1 b ( 6 . 5 4 ) } , O : J ( d , b ) { L   a = d . 2 3 ( " . " ) ; a [ 1 ] = a [ 1 ] ? " . " + a [ 1 ] : " " ; 7 ( b = = V ) { L   c = 6 . 5 n ( " 8 P " + a [ 1 ] + " ! " , [ a [ 0 ] ] ) ; 7 ( c = = 1 0 & & 6 . M ) c = E . O ( 6 [ 0 ] , d ) ; K   c = = V & & a [ 1 ] ? 6 . O ( a [ 0 ] ) : c } N   K   6 . 1 N ( " 8 K " + a [ 1 ] + " ! " , [ a [ 0 ] , b ] ) . R ( J ( ) { E . O ( 6 , d , b ) } ) } , 3 5 : J ( a ) { K   6 . R ( J ( ) { E . 3 5 ( 6 , a ) } ) } , 3 O : J ( g , f , h , d ) { L   e = 6 . M > 1 , 3 n ; K   6 . R ( J ( ) { 7 ( ! 3 n ) { 3 n = E . 4 a ( g , 6 . 2 i ) ; 7 ( h ) 3 n . 8 D ( ) } L   b = 6 ; 7 ( f & & E . 1 2 ( 6 , " 1 O " ) & & E . 1 2 ( 3 n [ 0 ] , " 4 v " ) ) b = 6 . 3 S ( " 1 U " ) [ 0 ] | | 6 . 3 8 ( 6 . 2 i . 3 s ( " 1 U " ) ) ; L   c = E ( [ ] ) ; E . R ( 3 n , J ( ) { L   a = e ? E ( 6 ) . 5 k ( P ) [ 0 ] : 6 ; 7 ( E . 1 2 ( a , " 1 m " ) ) { c = c . 1 b ( a ) } N { 7 ( a . 1 5 = = 1 ) c = c . 1 b ( E ( " 1 m " , a ) . 1 V ( ) ) ; d . 1 P ( b , a ) } } ) ; c . R ( 6 A ) } ) } } ; E . 2 l . 4 T . 2 l = E . 2 l ; J   6 A ( i , a ) { 7 ( a . 3 Q ) E . 3 P ( { 1 c : a . 3 Q , 3 l : S , 1 H : " 1 m " } ) ; N   E . 5 g ( a . 1 u | | a . 6 x | | a . 3 d | | " " ) ; 7 ( a . 1 a ) a . 1 a . 3 4 ( a ) } E . 1 s = E . 1 n . 1 s = J ( ) { L   b = 1 8 [ 0 ] | | { } , i = 1 , M = 1 8 . M , 5 c = S , 1 1 ; 7 ( b . 1 k = = 8 d ) { 5 c = b ; b = 1 8 [ 1 ] | | { } ; i = 2 } 7 ( 1 o   b ! = " 3 V " & & 1 o   b ! = " J " ) b = { } ; 7 ( M = = 1 ) { b = 6 ; i = 0 } Q ( ; i < M ; i + + ) 7 ( ( 1 1 = 1 8 [ i ] ) ! = V ) Q ( L   a   1 p   1 1 ) { 7 ( b = = = 1 1 [ a ] ) 6 w ; 7 ( 5 c & & 1 1 [ a ] & & 1 o   1 1 [ a ] = = " 3 V " & & b [ a ] & & ! 1 1 [ a ] . 1 5 ) b [ a ] = E . 1 s ( b [ a ] , 1 1 [ a ] ) ; N   7 ( 1 1 [ a ] ! = 1 0 ) b [ a ] = 1 1 [ a ] } K   b } ; L   F = " 3 N " + ( 1 B   3 v ( ) ) . 3 L ( ) , 6 t = 0 , 5 b = { } ; L   H = / z - ? 4 X | 8 6 - ? 8 4 | 1 w | 6 k | 7 Z - ? 1 R / i ; E . 1 s ( { 7 Y : J ( a ) { 1 e . $ = D ; 7 ( a ) 1 e . 3 N = w ; K   E } , 1 q : J ( a ) { K ! ! a & & 1 o   a ! = " 2 5 " & & ! a . 1 2 & & a . 1 k ! = 1 M & & / J / i . 1 7 ( a + " " ) } , 3 E : J ( a ) { K   a . 1 F & & ! a . 1 h | | a . 2 8 & & a . 2 i & & ! a . 2 i . 1 h } , 5 g : J ( a ) { a = E . 3 g ( a ) ; 7 ( a ) { L   b = T . 3 S ( " 6 f " ) [ 0 ] | | T . 1 F , 1 m = T . 3 s ( " 1 m " ) ; 1 m . U = " 1 u / 4 m " ; 7 ( E . 1 4 . 1 d ) 1 m . 1 u = a ; N   1 m . 3 8 ( T . 5 r ( a ) ) ; b . 3 8 ( 1 m ) ; b . 3 4 ( 1 m ) } } , 1 2 : J ( b , a ) { K   b . 1 2 & & b . 1 2 . 2 E ( ) = = a . 2 E ( ) } , 1 T : { } , O : J ( c , d , b ) { c = c = = 1 e ? 5 b : c ; L   a = c [ F ] ; 7 ( ! a ) a = c [ F ] = + + 6 t ; 7 ( d & & ! E . 1 T [ a ] ) E . 1 T [ a ] = { } ; 7 ( b ! = 1 0 ) E . 1 T [ a ] [ d ] = b ; K   d ? E . 1 T [ a ] [ d ] : a } , 3 5 : J ( c , b ) { c = c = = 1 e ? 5 b : c ; L   a = c [ F ] ; 7 ( b ) { 7 ( E . 1 T [ a ] ) { 2 V   E . 1 T [ a ] [ b ] ; b = " " ; Q ( b   1 p   E . 1 T [ a ] ) 1 Q ; 7 ( ! b ) E . 3 5 ( c ) } } N { 1 S { 2 V   c [ F ] } 1 X ( e ) { 7 ( c . 5 2 ) c . 5 2 ( F ) } 2 V   E . 1 T [ a ] } } , R : J ( c , a , b ) { 7 ( b ) { 7 ( c . M = = 1 0 ) { Q ( L   d   1 p   c ) 7 ( a . 1 i ( c [ d ] , b ) = = = S ) 1 Q } N   Q ( L   i = 0 , M = c . M ; i < M ; i + + ) 7 ( a . 1 i ( c [ i ] , b ) = = = S ) 1 Q } N { 7 ( c . M = = 1 0 ) { Q ( L   d   1 p   c ) 7 ( a . 1 P ( c [ d ] , d , c [ d ] ) = = = S ) 1 Q } N   Q ( L   i = 0 , M = c . M , 1 A = c [ 0 ] ; i < M & & a . 1 P ( 1 A , i , 1 A ) ! = = S ; 1 A = c [ + + i ] ) { } } K   c } , 1 l : J ( b , a , c , i , d ) { 7 ( E . 1 q ( a ) ) a = a . 1 P ( b , i ) ; K   a & & a . 1 k = = 5 1 & & c = = " 2 o " & & ! H . 1 7 ( d ) ? a + " 2 S " : a } , 1 t : { 1 b : J ( c , b ) { E . R ( ( b | | " " ) . 2 3 ( / \ \ s + / ) , J ( i , a ) { 7 ( c . 1 5 = = 1 & & ! E . 1 t . 3 Y ( c . 1 t , a ) ) c . 1 t + = ( c . 1 t ? "   " : " " ) + a } ) } , 1 V : J ( c , b ) { 7 ( c . 1 5 = = 1 ) c . 1 t = b ! = 1 0 ? E . 3 y ( c . 1 t . 2 3 ( / \ \ s + / ) , J ( a ) { K ! E . 1 t . 3 Y ( b , a ) } ) . 6 a ( "   " ) : " " } , 3 Y : J ( b , a ) { K   E . 3 3 ( a , ( b . 1 t | | b ) . 3 X ( ) . 2 3 ( / \ \ s + / ) ) > - 1 } } , 6 8 : J ( b , c , a ) { L   e = { } ; Q ( L   d   1 p   c ) { e [ d ] = b . W [ d ] ; b . W [ d ] = c [ d ] } a . 1 P ( b ) ; Q ( L   d   1 p   c ) b . W [ d ] = e [ d ] } , 1 j : J ( d , e , c ) { 7 ( e = = " 2 7 " | | e = = " 1 R " ) { L   b , 4 6 = { 4 3 : " 4 W " , 4 U : " 1 Z " , 1 9 : " 3 D " } , 3 c = e = = " 2 7 " ? [ " 7 O " , " 7 M " ] : [ " 7 J " , " 7 I " ] ; J   5 E ( ) { b = e = = " 2 7 " ? d . 7 H : d . 7 F ; L   a = 0 , 2 N = 0 ; E . R ( 3 c , J ( ) { a + = 2 M ( E . 2 o ( d , " 7 E " + 6 , P ) ) | | 0 ; 2 N + = 2 M ( E . 2 o ( d , " 2 N " + 6 + " 5 X " , P ) ) | | 0 } ) ; b - = 2 4 . 7 C ( a + 2 N ) } 7 ( E ( d ) . 3 H ( " : 4 d " ) ) 5 E ( ) ; N   E . 6 8 ( d , 4 6 , 5 E ) ; K   2 4 . 2 f ( 0 , b ) } K   E . 2 o ( d , e , c ) } , 2 o : J ( e , k , j ) { L   d ; J   3 x ( b ) { 7 ( ! E . 1 4 . 2 d ) K   S ; L   a = T . 4 c . 4 K ( b , V ) ; K ! a | | a . 4 M ( " 3 x " ) = = " " } 7 ( k = = " 1 w " & & E . 1 4 . 1 d ) { d = E . 1 J ( e . W , " 1 w " ) ; K   d = = " " ? " 1 " : d } 7 ( E . 1 4 . 2 z & & k = = " 1 9 " ) { L   c = e . W . 5 0 ; e . W . 5 0 = " 0   7 r   7 o " ; e . W . 5 0 = c } 7 ( k . 1 D ( / 4 g / i ) ) k = y ; 7 ( ! j & & e . W & & e . W [ k ] ) d = e . W [ k ] ; N   7 ( T . 4 c & & T . 4 c . 4 K ) { 7 ( k . 1 D ( / 4 g / i ) ) k = " 4 g " ; k = k . 1 r ( / ( [ A - Z ] ) / g , " - $ 1 " ) . 2 h ( ) ; L   h = T . 4 c . 4 K ( e , V ) ; 7 ( h & & ! 3 x ( e ) ) d = h . 4 M ( k ) ; N { L   f = [ ] , 2 C = [ ] ; Q ( L   a = e ; a & & 3 x ( a ) ; a = a . 1 a ) 2 C . 4 J ( a ) ; Q ( L   i = 0 ; i < 2 C . M ; i + + ) 7 ( 3 x ( 2 C [ i ] ) ) { f [ i ] = 2 C [ i ] . W . 1 9 ; 2 C [ i ] . W . 1 9 = " 3 D " } d = k = = " 1 9 " & & f [ 2 C . M - 1 ] ! = V ? " 2 H " : ( h & & h . 4 M ( k ) ) | | " " ; Q ( L   i = 0 ; i < f . M ; i + + ) 7 ( f [ i ] ! = V ) 2 C [ i ] . W . 1 9 = f [ i ] } 7 ( k = = " 1 w " & & d = = " " ) d = " 1 " } N   7 ( e . 4 n ) { L   g = k . 1 r ( / \ \ - ( \ \ w ) / g , J ( a , b ) { K   b . 2 E ( ) } ) ; d = e . 4 n [ k ] | | e . 4 n [ g ] ; 7 ( ! / ^ \ \ d + ( 2 S ) ? $ / i . 1 7 ( d ) & & / ^ \ \ d / . 1 7 ( d ) ) { L   l = e . W . 2 6 , 3 K = e . 3 K . 2 6 ; e . 3 K . 2 6 = e . 4 n . 2 6 ; e . W . 2 6 = d | | 0 ; d = e . W . 7 f + " 2 S " ; e . W . 2 6 = l ; e . 3 K . 2 6 = 3 K } } K   d } , 4 a : J ( l , h ) { L   k = [ ] ; h = h | | T ; 7 ( 1 o   h . 3 s = = \ ' 1 0 \ ' ) h = h . 2 i | | h [ 0 ] & & h [ 0 ] . 2 i | | T ; E . R ( l , J ( i , d ) { 7 ( ! d ) K ; 7 ( d . 1 k = = 5 1 ) d = d . 3 X ( ) ; 7 ( 1 o   d = = " 2 5 " ) { d = d . 1 r ( / ( < ( \ \ w + ) [ ^ > ] * ? ) \ \ / > / g , J ( b , a , c ) { K   c . 1 D ( / ^ ( a a | a 6 | 7 e | a 5 | 4 D | 7 a | a 0 | 3 m | 9 W | 9 U | 9 S ) $ / i ) ? b : a + " > < / " + c + " > " } ) ; L   f = E . 3 g ( d ) . 2 h ( ) , 1 x = h . 3 s ( " 1 x " ) ; L   e = ! f . 1 f ( " < 9 P " ) & & [ 1 , " < 2 k   7 4 = \ ' 7 4 \ ' > " , " < / 2 k > " ] | | ! f . 1 f ( " < 9 M " ) & & [ 1 , " < 7 3 > " , " < / 7 3 > " ] | | f . 1 D ( / ^ < ( 9 G | 1 U | 9 E | 9 B | 9 x ) / ) & & [ 1 , " < 1 O > " , " < / 1 O > " ] | | ! f . 1 f ( " < 4 v " ) & & [ 2 , " < 1 O > < 1 U > " , " < / 1 U > < / 1 O > " ] | | ( ! f . 1 f ( " < 9 w " ) | | ! f . 1 f ( " < 9 v " ) ) & & [ 3 , " < 1 O > < 1 U > < 4 v > " , " < / 4 v > < / 1 U > < / 1 O > " ] | | ! f . 1 f ( " < 7 e " ) & & [ 2 , " < 1 O > < 1 U > < / 1 U > < 6 V > " , " < / 6 V > < / 1 O > " ] | | E . 1 4 . 1 d & & [ 1 , " 1 x < 1 x > " , " < / 1 x > " ] | | [ 0 , " " , " " ] ; 1 x . 3 d = e [ 1 ] + d + e [ 2 ] ; 2 b ( e [ 0 ] - - ) 1 x = 1 x . 5 o ; 7 ( E . 1 4 . 1 d ) { L   g = ! f . 1 f ( " < 1 O " ) & & f . 1 f ( " < 1 U " ) < 0 ? 1 x . 1 C & & 1 x . 1 C . 3 p : e [ 1 ] = = " < 1 O > " & & f . 1 f ( " < 1 U " ) < 0 ? 1 x . 3 p : [ ] ; Q ( L   j = g . M - 1 ; j > = 0 ; - - j ) 7 ( E . 1 2 ( g [ j ] , " 1 U " ) & & ! g [ j ] . 3 p . M ) g [ j ] . 1 a . 3 4 ( g [ j ] ) ; 7 ( / ^ \ \ s / . 1 7 ( d ) ) 1 x . 3 o ( h . 5 r ( d . 1 D ( / ^ \ \ s * / ) [ 0 ] ) , 1 x . 1 C ) } d = E . 2 I ( 1 x . 3 p ) } 7 ( d . M = = = 0 & & ( ! E . 1 2 ( d , " 3 u " ) & & ! E . 1 2 ( d , " 2 k " ) ) ) K ; 7 ( d [ 0 ] = = 1 0 | | E . 1 2 ( d , " 3 u " ) | | d . 1 1 ) k . 1 g ( d ) ; N   k = E . 3 7 ( k , d ) } ) ; K   k } , 1 J : J ( d , e , c ) { 7 ( ! d | | d . 1 5 = = 3 | | d . 1 5 = = 8 ) K   1 0 ; L   f = E . 3 E ( d ) ? { } : E . 4 6 ; 7 ( e = = " 2 p " & & E . 1 4 . 2 d ) d . 1 a . 3 T ; 7 ( f [ e ] ) { 7 ( c ! = 1 0 ) d [ f [ e ] ] = c ; K   d [ f [ e ] ] } N   7 ( E . 1 4 . 1 d & & e = = " W " ) K   E . 1 J ( d . W , " 9 u " , c ) ; N   7 ( c = = 1 0 & & E . 1 4 . 1 d & & E . 1 2 ( d , " 3 u " ) & & ( e = = " 9 r " | | e = = " 9 o " ) ) K   d . 9 m ( e ) . 6 K ; N   7 ( d . 2 8 ) { 7 ( c ! = 1 0 ) { 7 ( e = = " U " & & E . 1 2 ( d , " 4 D " ) & & d . 1 a ) 6 Q " U   9 i   9 h \ ' t   9 g   9 e " ; d . 9 b ( e , " " + c ) } 7 ( E . 1 4 . 1 d & & / 6 O | 3 Q / . 1 7 ( e ) & & ! E . 3 E ( d ) ) K   d . 4 z ( e , 2 ) ; K   d . 4 z ( e ) } N { 7 ( e = = " 1 w " & & E . 1 4 . 1 d ) { 7 ( c ! = 1 0 ) { d . 6 k = 1 ; d . 1 E = ( d . 1 E | | " " ) . 1 r ( / 6 M \ \ ( [ ^ ) ] * \ \ ) / , " " ) + ( 2 M ( c ) . 3 X ( ) = = " 9 6 " ? " " : " 6 M ( 1 w = " + c * 6 L + " ) " ) } K   d . 1 E & & d . 1 E . 1 f ( " 1 w = " ) > = 0 ? ( 2 M ( d . 1 E . 1 D ( / 1 w = ( [ ^ ) ] * ) / ) [ 1 ] ) / 6 L ) . 3 X ( ) : " " } e = e . 1 r ( / - ( [ a - z ] ) / 9 5 , J ( a , b ) { K   b . 2 E ( ) } ) ; 7 ( c ! = 1 0 ) d [ e ] = c ; K   d [ e ] } } , 3 g : J ( a ) { K ( a | | " " ) . 1 r ( / ^ \ \ s + | \ \ s + $ / g , " " ) } , 2 I : J ( b ) { L   a = [ ] ; 7 ( 1 o   b ! = " 9 3 " ) Q ( L   i = 0 , M = b . M ; i < M ; i + + ) a . 1 g ( b [ i ] ) ; N   a = b . 2 K ( 0 ) ; K   a } , 3 3 : J ( b , a ) { Q ( L   i = 0 , M = a . M ; i < M ; i + + ) 7 ( a [ i ] = = b ) K   i ; K - 1 } , 3 7 : J ( a , b ) { 7 ( E . 1 4 . 1 d ) { Q ( L   i = 0 ; b [ i ] ; i + + ) 7 ( b [ i ] . 1 5 ! = 8 ) a . 1 g ( b [ i ] ) } N   Q ( L   i = 0 ; b [ i ] ; i + + ) a . 1 g ( b [ i ] ) ; K   a } , 5 7 : J ( a ) { L   c = [ ] , 2 r = { } ; 1 S { Q ( L   i = 0 , M = a . M ; i < M ; i + + ) { L   b = E . O ( a [ i ] ) ; 7 ( ! 2 r [ b ] ) { 2 r [ b ] = P ; c . 1 g ( a [ i ] ) } } } 1 X ( e ) { c = a } K   c } , 3 y : J ( c , a , d ) { L   b = [ ] ; Q ( L   i = 0 , M = c . M ; i < M ; i + + ) 7 ( ! d & & a ( c [ i ] , i ) | | d & & ! a ( c [ i ] , i ) ) b . 1 g ( c [ i ] ) ; K   b } , 2 c : J ( d , a ) { L   c = [ ] ; Q ( L   i = 0 , M = d . M ; i < M ; i + + ) { L   b = a ( d [ i ] , i ) ; 7 ( b ! = = V & & b ! = 1 0 ) { 7 ( b . 1 k ! = 1 M ) b = [ b ] ; c = c . 7 1 ( b ) } } K   c } } ) ; L   v = 8 Y . 8 W . 2 h ( ) ; E . 1 4 = { 5 K : ( v . 1 D ( / . + ( ? : 8 T | 8 S | 8 R | 8 O ) [ \ \ / :   ] ( [ \ \ d . ] + ) / ) | | [ ] ) [ 1 ] , 2 d : / 7 7 / . 1 7 ( v ) , 2 z : / 2 z / . 1 7 ( v ) , 1 d : / 1 d / . 1 7 ( v ) & & ! / 2 z / . 1 7 ( v ) , 4 8 : / 4 8 / . 1 7 ( v ) & & ! / ( 8 L | 7 7 ) / . 1 7 ( v ) } ; L   y = E . 1 4 . 1 d ? " 6 H " : " 7 5 " ; E . 1 s ( { 8 I : ! E . 1 4 . 1 d | | T . 6 F = = " 7 9 " , 4 6 : { " Q " : " 8 F " , " 8 E " : " 1 t " , " 4 g " : y , 7 5 : y , 6 H : y , 3 d : " 3 d " , 1 t : " 1 t " , 1 A : " 1 A " , 2 Y : " 2 Y " , 3 k : " 3 k " , 8 C : " 8 B " , 2 p : " 2 p " , 8 A : " 8 z " , 3 T : " 3 T " , 6 C : " 6 C " , 2 8 : " 2 8 " , 1 2 : " 1 2 " } } ) ; E . R ( { 6 B : J ( a ) { K   a . 1 a } , 8 y : J ( a ) { K   E . 4 u ( a , " 1 a " ) } , 8 x : J ( a ) { K   E . 2 Z ( a , 2 , " 2 B " ) } , 8 v : J ( a ) { K   E . 2 Z ( a , 2 , " 4 t " ) } , 8 u : J ( a ) { K   E . 4 u ( a , " 2 B " ) } , 8 t : J ( a ) { K   E . 4 u ( a , " 4 t " ) } , 8 s : J ( a ) { K   E . 5 i ( a . 1 a . 1 C , a ) } , 8 r : J ( a ) { K   E . 5 i ( a . 1 C ) } , 6 z : J ( a ) { K   E . 1 2 ( a , " 8 q " ) ? a . 8 o | | a . 8 n . T : E . 2 I ( a . 3 p ) } } , J ( c , d ) { E . 1 n [ c ] = J ( b ) { L   a = E . 2 c ( 6 , d ) ; 7 ( b & & 1 o   b = = " 2 5 " ) a = E . 3 e ( b , a ) ; K   6 . 2 F ( E . 5 7 ( a ) ) } } ) ; E . R ( { 6 y : " 3 t " , 8 m : " 6 q " , 3 o : " 6 o " , 8 l : " 5 a " , 8 k : " 6 S " } , J ( c , b ) { E . 1 n [ c ] = J ( ) { L   a = 1 8 ; K   6 . R ( J ( ) { Q ( L   i = 0 , M = a . M ; i < M ; i + + ) E ( a [ i ] ) [ b ] ( 6 ) } ) } } ) ; E . R ( { 8 j : J ( a ) { E . 1 J ( 6 , a , " " ) ; 7 ( 6 . 1 5 = = 1 ) 6 . 5 2 ( a ) } , 8 i : J ( a ) { E . 1 t . 1 b ( 6 , a ) } , 8 h : J ( a ) { E . 1 t . 1 V ( 6 , a ) } , 8 g : J ( a ) { E . 1 t [ E . 1 t . 3 Y ( 6 , a ) ? " 1 V " : " 1 b " ] ( 6 , a ) } , 1 V : J ( a ) { 7 ( ! a | | E . 1 E ( a , [ 6 ] ) . r . M ) { E ( " * " , 6 ) . 1 b ( 6 ) . R ( J ( ) { E . 1 6 . 1 V ( 6 ) ; E . 3 5 ( 6 ) } ) ; 7 ( 6 . 1 a ) 6 . 1 a . 3 4 ( 6 ) } } , 4 x : J ( ) { E ( " > * " , 6 ) . 1 V ( ) ; 2 b ( 6 . 1 C ) 6 . 3 4 ( 6 . 1 C ) } } , J ( a , b ) { E . 1 n [ a ] = J ( ) { K   6 . R ( b , 1 8 ) } } ) ; E . R ( [ " 8 f " , " 5 X " ] , J ( i , c ) { L   b = c . 2 h ( ) ; E . 1 n [ b ] = J ( a ) { K   6 [ 0 ] = = 1 e ? E . 1 4 . 2 z & & T . 1 h [ " 5 e " + c ] | | E . 1 4 . 2 d & & 1 e [ " 8 e " + c ] | | T . 6 F = = " 7 9 " & & T . 1 F [ " 5 e " + c ] | | T . 1 h [ " 5 e " + c ] : 6 [ 0 ] = = T ? 2 4 . 2 f ( 2 4 . 2 f ( T . 1 h [ " 5 d " + c ] , T . 1 F [ " 5 d " + c ] ) , 2 4 . 2 f ( T . 1 h [ " 5 L " + c ] , T . 1 F [ " 5 L " + c ] ) ) : a = = 1 0 ? ( 6 . M ? E . 1 j ( 6 [ 0 ] , b ) : V ) : 6 . 1 j ( b , a . 1 k = = 4 e ? a : a + " 2 S " ) } } ) ; L   C = E . 1 4 . 2 d & & 4 s ( E . 1 4 . 5 K ) < 8 c ? " ( ? : [ \ \ \ \ w * 4 r - ] | \ \ \ \ \ \ \ \ . ) " : " ( ? : [ \ \ \ \ w \ \ 8 b - \ \ 8 a * 4 r - ] | \ \ \ \ \ \ \ \ . ) " , 6 v = 1 B   4 q ( " ^ > \ \ \ \ s * ( " + C + " + ) " ) , 6 u = 1 B   4 q ( " ^ ( " + C + " + ) ( # ) ( " + C + " + ) " ) , 6 s = 1 B   4 q ( " ^ ( [ # . ] ? ) ( " + C + " * ) " ) ; E . 1 s ( { 6 r : { " " : J ( a , i , m ) { K   m [ 2 ] = = " * " | | E . 1 2 ( a , m [ 2 ] ) } , " # " : J ( a , i , m ) { K   a . 4 z ( " 2 w " ) = = m [ 2 ] } , " : " : { 8 9 : J ( a , i , m ) { K   i < m [ 3 ] - 0 } , 8 8 : J ( a , i , m ) { K   i > m [ 3 ] - 0 } , 2 Z : J ( a , i , m ) { K   m [ 3 ] - 0 = = i } , 6 Z : J ( a , i , m ) { K   m [ 3 ] - 0 = = i } , 3 j : J ( a , i ) { K   i = = 0 } , 3 J : J ( a , i , m , r ) { K   i = = r . M - 1 } , 6 n : J ( a , i ) { K   i % 2 = = 0 } , 6 l : J ( a , i ) { K   i % 2 } , " 3 j - 4 p " : J ( a ) { K   a . 1 a . 3 S ( " * " ) [ 0 ] = = a } , " 3 J - 4 p " : J ( a ) { K   E . 2 Z ( a . 1 a . 5 o , 1 , " 4 t " ) = = a } , " 8 3 - 4 p " : J ( a ) { K ! E . 2 Z ( a . 1 a . 5 o , 2 , " 4 t " ) } , 6 B : J ( a ) { K   a . 1 C } , 4 x : J ( a ) { K ! a . 1 C } , 8 2 : J ( a , i , m ) { K ( a . 6 x | | a . 8 1 | | E ( a ) . 1 u ( ) | | " " ) . 1 f ( m [ 3 ] ) > = 0 } , 4 d : J ( a ) { K " 1 Z " ! = a . U & & E . 1 j ( a , " 1 9 " ) ! = " 2 H " & & E . 1 j ( a , " 4 U " ) ! = " 1 Z " } , 1 Z : J ( a ) { K " 1 Z " = = a . U | | E . 1 j ( a , " 1 9 " ) = = " 2 H " | | E . 1 j ( a , " 4 U " ) = = " 1 Z " } , 8 0 : J ( a ) { K ! a . 2 Y } , 2 Y : J ( a ) { K   a . 2 Y } , 3 k : J ( a ) { K   a . 3 k } , 2 p : J ( a ) { K   a . 2 p | | E . 1 J ( a , " 2 p " ) } , 1 u : J ( a ) { K " 1 u " = = a . U } , 5 u : J ( a ) { K " 5 u " = = a . U } , 5 t : J ( a ) { K " 5 t " = = a . U } , 5 9 : J ( a ) { K " 5 9 " = = a . U } , 3 I : J ( a ) { K " 3 I " = = a . U } , 5 8 : J ( a ) { K " 5 8 " = = a . U } , 6 j : J ( a ) { K " 6 j " = = a . U } , 6 i : J ( a ) { K " 6 i " = = a . U } , 2 G : J ( a ) { K " 2 G " = = a . U | | E . 1 2 ( a , " 2 G " ) } , 4 D : J ( a ) { K / 4 D | 2 k | 6 h | 2 G / i . 1 7 ( a . 1 2 ) } , 3 Y : J ( a , i , m ) { K   E . 2 s ( m [ 3 ] , a ) . M } , 7 X : J ( a ) { K / h \ \ d / i . 1 7 ( a . 1 2 ) } , 7 W : J ( a ) { K   E . 3 y ( E . 3 G , J ( b ) { K   a = = b . Y } ) . M } } } , 6 g : [ / ^ ( \ \ [ )   * @ ? ( [ \ \ w - ] + )   * ( [ ! * $ ^ ~ = ] * )   * ( \ ' ? " ? ) ( . * ? ) \ \ 4   * \ \ ] / , / ^ ( : ) ( [ \ \ w - ] + ) \ \ ( " ? \ ' ? ( . * ? ( \ \ ( . * ? \ \ ) ) ? [ ^ ( ] * ? ) " ? \ ' ? \ \ ) / , 1 B   4 q ( " ^ ( [ : . # ] * ) ( " + C + " + ) " ) ] , 3 e : J ( a , c , b ) { L   d , 2 m = [ ] ; 2 b ( a & & a ! = d ) { d = a ; L   f = E . 1 E ( a , c , b ) ; a = f . t . 1 r ( / ^ \ \ s * , \ \ s * / , " " ) ; 2 m = b ? c = f . r : E . 3 7 ( 2 m , f . r ) } K   2 m } , 2 s : J ( t , p ) { 7 ( 1 o   t ! = " 2 5 " ) K [ t ] ; 7 ( p & & p . 1 5 ! = 1 & & p . 1 5 ! = 9 ) K [ ] ; p = p | | T ; L   d = [ p ] , 2 r = [ ] , 3 J , 1 2 ; 2 b ( t & & 3 J ! = t ) { L   r = [ ] ; 3 J = t ; t = E . 3 g ( t ) ; L   o = S ; L   g = 6 v ; L   m = g . 2 O ( t ) ; 7 ( m ) { 1 2 = m [ 1 ] . 2 E ( ) ; Q ( L   i = 0 ; d [ i ] ; i + + ) Q ( L   c = d [ i ] . 1 C ; c ; c = c . 2 B ) 7 ( c . 1 5 = = 1 & & ( 1 2 = = " * " | | c . 1 2 . 2 E ( ) = = 1 2 ) ) r . 1 g ( c ) ; d = r ; t = t . 1 r ( g , " " ) ; 7 ( t . 1 f ( "   " ) = = 0 ) 6 w ; o = P } N { g = / ^ ( [ > + ~ ] ) \ \ s * ( \ \ w * ) / i ; 7 ( ( m = g . 2 O ( t ) ) ! = V ) { r = [ ] ; L   l = { } ; 1 2 = m [ 2 ] . 2 E ( ) ; m = m [ 1 ] ; Q ( L   j = 0 , 3 f = d . M ; j < 3 f ; j + + ) { L   n = m = = " ~ " | | m = = " + " ? d [ j ] . 2 B : d [ j ] . 1 C ; Q ( ; n ; n = n . 2 B ) 7 ( n . 1 5 = = 1 ) { L   h = E . O ( n ) ; 7 ( m = = " ~ " & & l [ h ] ) 1 Q ; 7 ( ! 1 2 | | n . 1 2 . 2 E ( ) = = 1 2 ) { 7 ( m = = " ~ " ) l [ h ] = P ; r . 1 g ( n ) } 7 ( m = = " + " ) 1 Q } } d = r ; t = E . 3 g ( t . 1 r ( g , " " ) ) ; o = P } } 7 ( t & & ! o ) { 7 ( ! t . 1 f ( " , " ) ) { 7 ( p = = d [ 0 ] ) d . 4 l ( ) ; 2 r = E . 3 7 ( 2 r , d ) ; r = d = [ p ] ; t = "   " + t . 6 e ( 1 , t . M ) } N { L   k = 6 u ; L   m = k . 2 O ( t ) ; 7 ( m ) { m = [ 0 , m [ 2 ] , m [ 3 ] , m [ 1 ] ] } N { k = 6 s ; m = k . 2 O ( t ) } m [ 2 ] = m [ 2 ] . 1 r ( / \ \ \ \ / g , " " ) ; L   f = d [ d . M - 1 ] ; 7 ( m [ 1 ] = = " # " & & f & & f . 5 J & & ! E . 3 E ( f ) ) { L   q = f . 5 J ( m [ 2 ] ) ; 7 ( ( E . 1 4 . 1 d | | E . 1 4 . 2 z ) & & q & & 1 o   q . 2 w = = " 2 5 " & & q . 2 w ! = m [ 2 ] ) q = E ( \ ' [ @ 2 w = " \ ' + m [ 2 ] + \ ' " ] \ ' , f ) [ 0 ] ; d = r = q & & ( ! m [ 3 ] | | E . 1 2 ( q , m [ 3 ] ) ) ? [ q ] : [ ] } N { Q ( L   i = 0 ; d [ i ] ; i + + ) { L   a = m [ 1 ] = = " # " & & m [ 3 ] ? m [ 3 ] : m [ 1 ] ! = " " | | m [ 0 ] = = " " ? " * " : m [ 2 ] ; 7 ( a = = " * " & & d [ i ] . 1 2 . 2 h ( ) = = " 3 V " ) a = " 3 m " ; r = E . 3 7 ( r , d [ i ] . 3 S ( a ) ) } 7 ( m [ 1 ] = = " . " ) r = E . 5 5 ( r , m [ 2 ] ) ; 7 ( m [ 1 ] = = " # " ) { L   e = [ ] ; Q ( L   i = 0 ; r [ i ] ; i + + ) 7 ( r [ i ] . 4 z ( " 2 w " ) = = m [ 2 ] ) { e = [ r [ i ] ] ; 1 Q } r = e } d = r } t = t . 1 r ( k , " " ) } } 7 ( t ) { L   b = E . 1 E ( t , r ) ; d = r = b . r ; t = E . 3 g ( b . t ) } } 7 ( t ) d = [ ] ; 7 ( d & & p = = d [ 0 ] ) d . 4 l ( ) ; 2 r = E . 3 7 ( 2 r , d ) ; K   2 r } , 5 5 : J ( r , m , a ) { m = "   " + m + "   " ; L   c = [ ] ; Q ( L   i = 0 ; r [ i ] ; i + + ) { L   b = ( "   " + r [ i ] . 1 t + "   " ) . 1 f ( m ) > = 0 ; 7 ( ! a & & b | | a & & ! b ) c . 1 g ( r [ i ] ) } K   c } , 1 E : J ( t , r , h ) { L   d ; 2 b ( t & & t ! = d ) { d = t ; L   p = E . 6 g , m ; Q ( L   i = 0 ; p [ i ] ; i + + ) { m = p [ i ] . 2 O ( t ) ; 7 ( m ) { t = t . 7 V ( m [ 0 ] . M ) ; m [ 2 ] = m [ 2 ] . 1 r ( / \ \ \ \ / g , " " ) ; 1 Q } } 7 ( ! m ) 1 Q ; 7 ( m [ 1 ] = = " : " & & m [ 2 ] = = " 5 6 " ) r = G . 1 7 ( m [ 3 ] ) ? E . 1 E ( m [ 3 ] , r , P ) . r : E ( r ) . 5 6 ( m [ 3 ] ) ; N   7 ( m [ 1 ] = = " . " ) r = E . 5 5 ( r , m [ 2 ] , h ) ; N   7 ( m [ 1 ] = = " [ " ) { L   g = [ ] , U = m [ 3 ] ; Q ( L   i = 0 , 3 f = r . M ; i < 3 f ; i + + ) { L   a = r [ i ] , z = a [ E . 4 6 [ m [ 2 ] ] | | m [ 2 ] ] ; 7 ( z = = V | | / 6 O | 3 Q | 2 p / . 1 7 ( m [ 2 ] ) ) z = E . 1 J ( a , m [ 2 ] ) | | \ ' \ ' ; 7 ( ( U = = " " & & ! ! z | | U = = " = " & & z = = m [ 5 ] | | U = = " ! = " & & z ! = m [ 5 ] | | U = = " ^ = " & & z & & ! z . 1 f ( m [ 5 ] ) | | U = = " $ = " & & z . 6 e ( z . M - m [ 5 ] . M ) = = m [ 5 ] | | ( U = = " * = " | | U = = " ~ = " ) & & z . 1 f ( m [ 5 ] ) > = 0 ) ^ h ) g . 1 g ( a ) } r = g } N   7 ( m [ 1 ] = = " : " & & m [ 2 ] = = " 2 Z - 4 p " ) { L   e = { } , g = [ ] , 1 7 = / ( - ? ) ( \ \ d * ) n ( ( ? : \ \ + | - ) ? \ \ d * ) / . 2 O ( m [ 3 ] = = " 6 n " & & " 2 n " | | m [ 3 ] = = " 6 l " & & " 2 n + 1 " | | ! / \ \ D / . 1 7 ( m [ 3 ] ) & & " 7 U + " + m [ 3 ] | | m [ 3 ] ) , 3 j = ( 1 7 [ 1 ] + ( 1 7 [ 2 ] | | 1 ) ) - 0 , d = 1 7 [ 3 ] - 0 ; Q ( L   i = 0 , 3 f = r . M ; i < 3 f ; i + + ) { L   j = r [ i ] , 1 a = j . 1 a , 2 w = E . O ( 1 a ) ; 7 ( ! e [ 2 w ] ) { L   c = 1 ; Q ( L   n = 1 a . 1 C ; n ; n = n . 2 B ) 7 ( n . 1 5 = = 1 ) n . 4 k = c + + ; e [ 2 w ] = P } L   b = S ; 7 ( 3 j = = 0 ) { 7 ( j . 4 k = = d ) b = P } N   7 ( ( j . 4 k - d ) % 3 j = = 0 & & ( j . 4 k - d ) / 3 j > = 0 ) b = P ; 7 ( b ^ h ) g . 1 g ( j ) } r = g } N { L   f = E . 6 r [ m [ 1 ] ] ; 7 ( 1 o   f = = " 3 V " ) f = f [ m [ 2 ] ] ; 7 ( 1 o   f = = " 2 5 " ) f = 6 c ( " S | | J ( a , i ) { K   " + f + " ; } " ) ; r = E . 3 y ( r , J ( a , i ) { K   f ( a , i , m , r ) } , h ) } } K { r : r , t : t } } , 4 u : J ( b , c ) { L   d = [ ] ; L   a = b [ c ] ; 2 b ( a & & a ! = T ) { 7 ( a . 1 5 = = 1 ) d . 1 g ( a ) ; a = a [ c ] } K   d } , 2 Z : J ( a , e , c , b ) { e = e | | 1 ; L   d = 0 ; Q ( ; a ; a = a [ c ] ) 7 ( a . 1 5 = = 1 & & + + d = = e ) 1 Q ; K   a } , 5 i : J ( n , a ) { L   r = [ ] ; Q ( ; n ; n = n . 2 B ) { 7 ( n . 1 5 = = 1 & & ( ! a | | n ! = a ) ) r . 1 g ( n ) } K   r } } ) ; E . 1 6 = { 1 b : J ( f , i , g , e ) { 7 ( f . 1 5 = = 3 | | f . 1 5 = = 8 ) K ; 7 ( E . 1 4 . 1 d & & f . 5 3 ! = 1 0 ) f = 1 e ; 7 ( ! g . 2 D ) g . 2 D = 6 . 2 D + + ; 7 ( e ! = 1 0 ) { L   h = g ; g = J ( ) { K   h . 1 i ( 6 , 1 8 ) } ; g . O = e ; g . 2 D = h . 2 D } L   j = E . O ( f , " 2 R " ) | | E . O ( f , " 2 R " , { } ) , 1 v = E . O ( f , " 1 v " ) | | E . O ( f , " 1 v " , J ( ) { L   a ; 7 ( 1 o   E = = " 1 0 " | | E . 1 6 . 5 f ) K   a ; a = E . 1 6 . 1 v . 1 i ( 1 8 . 3 R . Y , 1 8 ) ; K   a } ) ; 1 v . Y = f ; E . R ( i . 2 3 ( / \ \ s + / ) , J ( c , b ) { L   a = b . 2 3 ( " . " ) ; b = a [ 0 ] ; g . U = a [ 1 ] ; L   d = j [ b ] ; 7 ( ! d ) { d = j [ b ] = { } ; 7 ( ! E . 1 6 . 2 y [ b ] | | E . 1 6 . 2 y [ b ] . 4 j . 1 P ( f ) = = = S ) { 7 ( f . 3 F ) f . 3 F ( b , 1 v , S ) ; N   7 ( f . 6 b ) f . 6 b ( " 4 i " + b , 1 v ) } } d [ g . 2 D ] = g ; E . 1 6 . 2 a [ b ] = P } ) ; f = V } , 2 D : 1 , 2 a : { } , 1 V : J ( e , h , f ) { 7 ( e . 1 5 = = 3 | | e . 1 5 = = 8 ) K ; L   i = E . O ( e , " 2 R " ) , 2 9 , 4 X ; 7 ( i ) { 7 ( h = = 1 0 | | ( 1 o   h = = " 2 5 " & & h . 7 T ( 0 ) = = " . " ) ) Q ( L   g   1 p   i ) 6 . 1 V ( e , g + ( h | | " " ) ) ; N { 7 ( h . U ) { f = h . 2 q ; h = h . U } E . R ( h . 2 3 ( / \ \ s + / ) , J ( b , a ) { L   c = a . 2 3 ( " . " ) ; a = c [ 0 ] ; 7 ( i [ a ] ) { 7 ( f ) 2 V   i [ a ] [ f . 2 D ] ; N   Q ( f   1 p   i [ a ] ) 7 ( ! c [ 1 ] | | i [ a ] [ f ] . U = = c [ 1 ] ) 2 V   i [ a ] [ f ] ; Q ( 2 9   1 p   i [ a ] ) 1 Q ; 7 ( ! 2 9 ) { 7 ( ! E . 1 6 . 2 y [ a ] | | E . 1 6 . 2 y [ a ] . 4 h . 1 P ( e ) = = = S ) { 7 ( e . 6 7 ) e . 6 7 ( a , E . O ( e , " 1 v " ) , S ) ; N   7 ( e . 6 6 ) e . 6 6 ( " 4 i " + a , E . O ( e , " 1 v " ) ) } 2 9 = V ; 2 V   i [ a ] } } } ) } Q ( 2 9   1 p   i ) 1 Q ; 7 ( ! 2 9 ) { L   d = E . O ( e , " 1 v " ) ; 7 ( d ) d . Y = V ; E . 3 5 ( e , " 2 R " ) ; E . 3 5 ( e , " 1 v " ) } } } , 1 N : J ( g , c , d , f , h ) { c = E . 2 I ( c | | [ ] ) ; 7 ( g . 1 f ( " ! " ) > = 0 ) { g = g . 2 K ( 0 , - 1 ) ; L   a = P } 7 ( ! d ) { 7 ( 6 . 2 a [ g ] ) E ( " * " ) . 1 b ( [ 1 e , T ] ) . 1 N ( g , c ) } N { 7 ( d . 1 5 = = 3 | | d . 1 5 = = 8 ) K   1 0 ; L   b , 2 9 , 1 n = E . 1 q ( d [ g ] | | V ) , 1 6 = ! c [ 0 ] | | ! c [ 0 ] . 3 6 ; 7 ( 1 6 ) c . 4 J ( 6 . 4 Z ( { U : g , 2 L : d } ) ) ; c [ 0 ] . U = g ; 7 ( a ) c [ 0 ] . 6 5 = P ; 7 ( E . 1 q ( E . O ( d , " 1 v " ) ) ) b = E . O ( d , " 1 v " ) . 1 i ( d , c ) ; 7 ( ! 1 n & & d [ " 4 i " + g ] & & d [ " 4 i " + g ] . 1 i ( d , c ) = = = S ) b = S ; 7 ( 1 6 ) c . 4 l ( ) ; 7 ( h & & E . 1 q ( h ) ) { 2 9 = h . 1 i ( d , b = = V ? c : c . 7 1 ( b ) ) ; 7 ( 2 9 ! = = 1 0 ) b = 2 9 } 7 ( 1 n & & f ! = = S & & b ! = = S & & ! ( E . 1 2 ( d , \ ' a \ ' ) & & g = = " 4 V " ) ) { 6 . 5 f = P ; 1 S { d [ g ] ( ) } 1 X ( e ) { } } 6 . 5 f = S } K   b } , 1 v : J ( c ) { L   a ; c = E . 1 6 . 4 Z ( c | | 1 e . 1 6 | | { } ) ; L   b = c . U . 2 3 ( " . " ) ; c . U = b [ 0 ] ; L   f = E . O ( 6 , " 2 R " ) & & E . O ( 6 , " 2 R " ) [ c . U ] , 4 2 = 1 M . 2 l . 2 K . 1 P ( 1 8 , 1 ) ; 4 2 . 4 J ( c ) ; Q ( L   j   1 p   f ) { L   d = f [ j ] ; 4 2 [ 0 ] . 2 q = d ; 4 2 [ 0 ] . O = d . O ; 7 ( ! b [ 1 ] & & ! c . 6 5 | | d . U = = b [ 1 ] ) { L   e = d . 1 i ( 6 , 4 2 ) ; 7 ( a ! = = S ) a = e ; 7 ( e = = = S ) { c . 3 6 ( ) ; c . 4 4 ( ) } } } 7 ( E . 1 4 . 1 d ) c . 2 L = c . 3 6 = c . 4 4 = c . 2 q = c . O = V ; K   a } , 4 Z : J ( c ) { L   a = c ; c = E . 1 s ( { } , a ) ; c . 3 6 = J ( ) { 7 ( a . 3 6 ) a . 3 6 ( ) ; a . 7 S = S } ; c . 4 4 = J ( ) { 7 ( a . 4 4 ) a . 4 4 ( ) ; a . 7 R = P } ; 7 ( ! c . 2 L ) c . 2 L = c . 7 Q | | T ; 7 ( c . 2 L . 1 5 = = 3 ) c . 2 L = a . 2 L . 1 a ; 7 ( ! c . 4 S & & c . 5 w ) c . 4 S = c . 5 w = = c . 2 L ? c . 7 P : c . 5 w ; 7 ( c . 6 4 = = V & & c . 6 3 ! = V ) { L   b = T . 1 F , 1 h = T . 1 h ; c . 6 4 = c . 6 3 + ( b & & b . 2 v | | 1 h & & 1 h . 2 v | | 0 ) - ( b . 6 2 | | 0 ) ; c . 7 N = c . 7 L + ( b & & b . 2 x | | 1 h & & 1 h . 2 x | | 0 ) - ( b . 6 0 | | 0 ) } 7 ( ! c . 3 c & & ( ( c . 4 f | | c . 4 f = = = 0 ) ? c . 4 f : c . 5 Z ) ) c . 3 c = c . 4 f | | c . 5 Z ; 7 ( ! c . 7 b & & c . 5 Y ) c . 7 b = c . 5 Y ; 7 ( ! c . 3 c & & c . 2 G ) c . 3 c = ( c . 2 G & 1 ? 1 : ( c . 2 G & 2 ? 3 : ( c . 2 G & 4 ? 2 : 0 ) ) ) ; K   c } , 2 y : { 2 1 : { 4 j : J ( ) { 5 M ( ) ; K } , 4 h : J ( ) { K } } , 3 C : { 4 j : J ( ) { 7 ( E . 1 4 . 1 d ) K   S ; E ( 6 ) . 2 j ( " 4 P " , E . 1 6 . 2 y . 3 C . 2 q ) ; K   P } , 4 h : J ( ) { 7 ( E . 1 4 . 1 d ) K   S ; E ( 6 ) . 3 w ( " 4 P " , E . 1 6 . 2 y . 3 C . 2 q ) ; K   P } , 2 q : J ( a ) { 7 ( I ( a , 6 ) ) K   P ; 1 8 [ 0 ] . U = " 3 C " ; K   E . 1 6 . 1 v . 1 i ( 6 , 1 8 ) } } , 3 B : { 4 j : J ( ) { 7 ( E . 1 4 . 1 d ) K   S ; E ( 6 ) . 2 j ( " 4 O " , E . 1 6 . 2 y . 3 B . 2 q ) ; K   P } , 4 h : J ( ) { 7 ( E . 1 4 . 1 d ) K   S ; E ( 6 ) . 3 w ( " 4 O " , E . 1 6 . 2 y . 3 B . 2 q ) ; K   P } , 2 q : J ( a ) { 7 ( I ( a , 6 ) ) K   P ; 1 8 [ 0 ] . U = " 3 B " ; K   E . 1 6 . 1 v . 1 i ( 6 , 1 8 ) } } } } ; E . 1 n . 1 s ( { 2 j : J ( c , a , b ) { K   c = = " 4 H " ? 6 . 2 X ( c , a , b ) : 6 . R ( J ( ) { E . 1 6 . 1 b ( 6 , c , b | | a , b & & a ) } ) } , 2 X : J ( d , b , c ) { K   6 . R ( J ( ) { E . 1 6 . 1 b ( 6 , d , J ( a ) { E ( 6 ) . 3 w ( a ) ; K ( c | | b ) . 1 i ( 6 , 1 8 ) } , c & & b ) } ) } , 3 w : J ( a , b ) { K   6 . R ( J ( ) { E . 1 6 . 1 V ( 6 , a , b ) } ) } , 1 N : J ( c , a , b ) { K   6 . R ( J ( ) { E . 1 6 . 1 N ( c , a , 6 , P , b ) } ) } , 5 n : J ( c , a , b ) { 7 ( 6 [ 0 ] ) K   E . 1 6 . 1 N ( c , a , 6 [ 0 ] , S , b ) ; K   1 0 } , 2 g : J ( ) { L   b = 1 8 ; K   6 . 4 V ( J ( a ) { 6 . 4 N = 0 = = 6 . 4 N ? 1 : 0 ; a . 3 6 ( ) ; K   b [ 6 . 4 N ] . 1 i ( 6 , 1 8 ) | | S } ) } , 7 D : J ( a , b ) { K   6 . 2 j ( \ ' 3 C \ ' , a ) . 2 j ( \ ' 3 B \ ' , b ) } , 2 1 : J ( a ) { 5 M ( ) ; 7 ( E . 2 Q ) a . 1 P ( T , E ) ; N   E . 3 A . 1 g ( J ( ) { K   a . 1 P ( 6 , E ) } ) ; K   6 } } ) ; E . 1 s ( { 2 Q : S , 3 A : [ ] , 2 1 : J ( ) { 7 ( ! E . 2 Q ) { E . 2 Q = P ; 7 ( E . 3 A ) { E . R ( E . 3 A , J ( ) { 6 . 1 i ( T ) } ) ; E . 3 A = V } E ( T ) . 5 n ( " 2 1 " ) } } } ) ; L   x = S ; J   5 M ( ) { 7 ( x ) K ; x = P ; 7 ( T . 3 F & & ! E . 1 4 . 2 z ) T . 3 F ( " 5 W " , E . 2 1 , S ) ; 7 ( E . 1 4 . 1 d & & 1 e = = 3 b ) ( J ( ) { 7 ( E . 2 Q ) K ; 1 S { T . 1 F . 7 B ( " 2 6 " ) } 1 X ( 3 a ) { 3 z ( 1 8 . 3 R , 0 ) ; K } E . 2 1 ( ) } ) ( ) ; 7 ( E . 1 4 . 2 z ) T . 3 F ( " 5 W " , J ( ) { 7 ( E . 2 Q ) K ; Q ( L   i = 0 ; i < T . 4 L . M ; i + + ) 7 ( T . 4 L [ i ] . 2 Y ) { 3 z ( 1 8 . 3 R , 0 ) ; K } E . 2 1 ( ) } , S ) ; 7 ( E . 1 4 . 2 d ) { L   a ; ( J ( ) { 7 ( E . 2 Q ) K ; 7 ( T . 3 9 ! = " 5 V " & & T . 3 9 ! = " 1 y " ) { 3 z ( 1 8 . 3 R , 0 ) ; K } 7 ( a = = = 1 0 ) a = E ( " W ,   7 a [ 7 A = 7 z ] " ) . M ; 7 ( T . 4 L . M ! = a ) { 3 z ( 1 8 . 3 R , 0 ) ; K } E . 2 1 ( ) } ) ( ) } E . 1 6 . 1 b ( 1 e , " 3 U " , E . 2 1 ) } E . R ( ( " 7 y , 7 x , 3 U , 7 w , 5 d , 4 H , 4 V , 7 v , " + " 7 G , 7 u , 7 t , 4 P , 4 O , 7 s , 2 k , " + " 5 8 , 7 K , 7 q , 7 p , 3 a " ) . 2 3 ( " , " ) , J ( i , b ) { E . 1 n [ b ] = J ( a ) { K   a ? 6 . 2 j ( b , a ) : 6 . 1 N ( b ) } } ) ; L   I = J ( a , c ) { L   b = a . 4 S ; 2 b ( b & & b ! = c ) 1 S { b = b . 1 a } 1 X ( 3 a ) { b = c } K   b = = c } ; E ( 1 e ) . 2 j ( " 4 H " , J ( ) { E ( " * " ) . 1 b ( T ) . 3 w ( ) } ) ; E . 1 n . 1 s ( { 3 U : J ( g , d , c ) { 7 ( E . 1 q ( g ) ) K   6 . 2 j ( " 3 U " , g ) ; L   e = g . 1 f ( "   " ) ; 7 ( e > = 0 ) { L   i = g . 2 K ( e , g . M ) ; g = g . 2 K ( 0 , e ) } c = c | | J ( ) { } ; L   f = " 4 Q " ; 7 ( d ) 7 ( E . 1 q ( d ) ) { c = d ; d = V } N { d = E . 3 m ( d ) ; f = " 6 1 " } L   h = 6 ; E . 3 P ( { 1 c : g , U : f , 1 H : " 3 q " , O : d , 1 y : J ( a , b ) { 7 ( b = = " 1 W " | | b = = " 5 U " ) h . 3 q ( i ? E ( " < 1 x / > " ) . 3 t ( a . 4 b . 1 r ( / < 1 m ( . | \ \ s ) * ? \ \ / 1 m > / g , " " ) ) . 2 s ( i ) : a . 4 b ) ; h . R ( c , [ a . 4 b , b , a ] ) } } ) ; K   6 } , 7 n : J ( ) { K   E . 3 m ( 6 . 5 T ( ) ) } , 5 T : J ( ) { K   6 . 2 c ( J ( ) { K   E . 1 2 ( 6 , " 3 u " ) ? E . 2 I ( 6 . 7 m ) : 6 } ) . 1 E ( J ( ) { K   6 . 3 1 & & ! 6 . 2 Y & & ( 6 . 3 k | | / 2 k | 6 h / i . 1 7 ( 6 . 1 2 ) | | / 1 u | 1 Z | 3 I / i . 1 7 ( 6 . U ) ) } ) . 2 c ( J ( i , c ) { L   b = E ( 6 ) . 5 O ( ) ; K   b = = V ? V : b . 1 k = = 1 M ? E . 2 c ( b , J ( a , i ) { K { 3 1 : c . 3 1 , 1 A : a } } ) : { 3 1 : c . 3 1 , 1 A : b } } ) . 2 2 ( ) } } ) ; E . R ( " 5 S , 6 d , 5 R , 6 D , 5 Q , 6 m " . 2 3 ( " , " ) , J ( i , o ) { E . 1 n [ o ] = J ( f ) { K   6 . 2 j ( o , f ) } } ) ; L   B = ( 1 B   3 v ) . 3 L ( ) ; E . 1 s ( { 2 2 : J ( d , b , a , c ) { 7 ( E . 1 q ( b ) ) { a = b ; b = V } K   E . 3 P ( { U : " 4 Q " , 1 c : d , O : b , 1 W : a , 1 H : c } ) } , 7 l : J ( b , a ) { K   E . 2 2 ( b , V , a , " 1 m " ) } , 7 k : J ( c , b , a ) { K   E . 2 2 ( c , b , a , " 3 i " ) } , 7 i : J ( d , b , a , c ) { 7 ( E . 1 q ( b ) ) { a = b ; b = { } } K   E . 3 P ( { U : " 6 1 " , 1 c : d , O : b , 1 W : a , 1 H : c } ) } , 8 5 : J ( a ) { E . 1 s ( E . 4 I , a ) } , 4 I : { 2 a : P , U : " 4 Q " , 2 U : 0 , 5 P : " 4 o / x - 7 h - 3 u - 7 g " , 5 N : P , 3 l : P , O : V , 6 p : V , 3 I : V , 4 9 : { 3 M : " 4 o / 3 M ,   1 u / 3 M " , 3 q : " 1 u / 3 q " , 1 m : " 1 u / 4 m ,   4 o / 4 m " , 3 i : " 4 o / 3 i ,   1 u / 4 m " , 1 u : " 1 u / a 7 " , 4 G : " * / * " } } , 4 F : { } , 3 P : J ( s ) { L   f , 2 W = / = \ \ ? ( & | $ ) / g , 1 z , O ; s = E . 1 s ( P , s , E . 1 s ( P , { } , E . 4 I , s ) ) ; 7 ( s . O & & s . 5 N & & 1 o   s . O ! = " 2 5 " ) s . O = E . 3 m ( s . O ) ; 7 ( s . 1 H = = " 4 E " ) { 7 ( s . U . 2 h ( ) = = " 2 2 " ) { 7 ( ! s . 1 c . 1 D ( 2 W ) ) s . 1 c + = ( s . 1 c . 1 D ( / \ \ ? / ) ? " & " : " ? " ) + ( s . 4 E | | " 7 d " ) + " = ? " } N   7 ( ! s . O | | ! s . O . 1 D ( 2 W ) ) s . O = ( s . O ? s . O + " & " : " " ) + ( s . 4 E | | " 7 d " ) + " = ? " ; s . 1 H = " 3 i " } 7 ( s . 1 H = = " 3 i " & & ( s . O & & s . O . 1 D ( 2 W ) | | s . 1 c . 1 D ( 2 W ) ) ) { f = " 4 E " + B + + ; 7 ( s . O ) s . O = ( s . O + " " ) . 1 r ( 2 W , " = " + f + " $ 1 " ) ; s . 1 c = s . 1 c . 1 r ( 2 W , " = " + f + " $ 1 " ) ; s . 1 H = " 1 m " ; 1 e [ f ] = J ( a ) { O = a ; 1 W ( ) ; 1 y ( ) ; 1 e [ f ] = 1 0 ; 1 S { 2 V   1 e [ f ] } 1 X ( e ) { } 7 ( h ) h . 3 4 ( g ) } } 7 ( s . 1 H = = " 1 m " & & s . 1 T = = V ) s . 1 T = S ; 7 ( s . 1 T = = = S & & s . U . 2 h ( ) = = " 2 2 " ) { L   i = ( 1 B   3 v ( ) ) . 3 L ( ) ; L   j = s . 1 c . 1 r ( / ( \ \ ? | & ) 4 r = . * ? ( & | $ ) / , " $ a 4 = " + i + " $ 2 " ) ; s . 1 c = j + ( ( j = = s . 1 c ) ? ( s . 1 c . 1 D ( / \ \ ? / ) ? " & " : " ? " ) + " 4 r = " + i : " " ) } 7 ( s . O & & s . U . 2 h ( ) = = " 2 2 " ) { s . 1 c + = ( s . 1 c . 1 D ( / \ \ ? / ) ? " & " : " ? " ) + s . O ; s . O = V } 7 ( s . 2 a & & ! E . 5 H + + ) E . 1 6 . 1 N ( " 5 S " ) ; 7 ( ( ! s . 1 c . 1 f ( " a 3 " ) | | ! s . 1 c . 1 f ( " / / " ) ) & & s . 1 H = = " 1 m " & & s . U . 2 h ( ) = = " 2 2 " ) { L   h = T . 3 S ( " 6 f " ) [ 0 ] ; L   g = T . 3 s ( " 1 m " ) ; g . 3 Q = s . 1 c ; 7 ( s . 7 c ) g . a 2 = s . 7 c ; 7 ( ! f ) { L   l = S ; g . 9 Z = g . 9 Y = J ( ) { 7 ( ! l & & ( ! 6 . 3 9 | | 6 . 3 9 = = " 5 V " | | 6 . 3 9 = = " 1 y " ) ) { l = P ; 1 W ( ) ; 1 y ( ) ; h . 3 4 ( g ) } } } h . 3 8 ( g ) ; K   1 0 } L   m = S ; L   k = 1 e . 7 8 ? 1 B   7 8 ( " 9 X . 9 V " ) : 1 B   7 6 ( ) ; k . 9 T ( s . U , s . 1 c , s . 3 l , s . 6 p , s . 3 I ) ; 1 S { 7 ( s . O ) k . 4 C ( " 9 R - 9 Q " , s . 5 P ) ; 7 ( s . 5 C ) k . 4 C ( " 9 O - 5 A - 9 N " , E . 4 F [ s . 1 c ] | | " 9 L ,   9 K   9 I   9 H   5 z : 5 z : 5 z   9 F " ) ; k . 4 C ( " X - 9 C - 9 A " , " 7 6 " ) ; k . 4 C ( " 9 z " , s . 1 H & & s . 4 9 [ s . 1 H ] ? s . 4 9 [ s . 1 H ] + " ,   * / * " : s . 4 9 . 4 G ) } 1 X ( e ) { } 7 ( s . 6 Y ) s . 6 Y ( k ) ; 7 ( s . 2 a ) E . 1 6 . 1 N ( " 6 m " , [ k , s ] ) ; L   c = J ( a ) { 7 ( ! m & & k & & ( k . 3 9 = = 4 | | a = = " 2 U " ) ) { m = P ; 7 ( d ) { 6 I ( d ) ; d = V } 1 z = a = = " 2 U " & & " 2 U " | | ! E . 6 X ( k ) & & " 3 a " | | s . 5 C & & E . 6 J ( k , s . 1 c ) & & " 5 U " | | " 1 W " ; 7 ( 1 z = = " 1 W " ) { 1 S { O = E . 6 W ( k , s . 1 H ) } 1 X ( e ) { 1 z = " 5 x " } } 7 ( 1 z = = " 1 W " ) { L   b ; 1 S { b = k . 5 q ( " 6 U - 5 A " ) } 1 X ( e ) { } 7 ( s . 5 C & & b ) E . 4 F [ s . 1 c ] = b ; 7 ( ! f ) 1 W ( ) } N   E . 5 v ( s , k , 1 z ) ; 1 y ( ) ; 7 ( s . 3 l ) k = V } } ; 7 ( s . 3 l ) { L   d = 5 3 ( c , 1 3 ) ; 7 ( s . 2 U > 0 ) 3 z ( J ( ) { 7 ( k ) { k . 9 t ( ) ; 7 ( ! m ) c ( " 2 U " ) } } , s . 2 U ) } 1 S { k . 9 s ( s . O ) } 1 X ( e ) { E . 5 v ( s , k , V , e ) } 7 ( ! s . 3 l ) c ( ) ; J   1 W ( ) { 7 ( s . 1 W ) s . 1 W ( O , 1 z ) ; 7 ( s . 2 a ) E . 1 6 . 1 N ( " 5 Q " , [ k , s ] ) } J   1 y ( ) { 7 ( s . 1 y ) s . 1 y ( k , 1 z ) ; 7 ( s . 2 a ) E . 1 6 . 1 N ( " 5 R " , [ k , s ] ) ; 7 ( s . 2 a & & ! - - E . 5 H ) E . 1 6 . 1 N ( " 6 d " ) } K   k } , 5 v : J ( s , a , b , e ) { 7 ( s . 3 a ) s . 3 a ( a , b , e ) ; 7 ( s . 2 a ) E . 1 6 . 1 N ( " 6 D " , [ a , s , e ] ) } , 5 H : 0 , 6 X : J ( r ) { 1 S { K ! r . 1 z & & 9 q . 9 p = = " 5 9 : " | | ( r . 1 z > = 6 T & & r . 1 z < 9 n ) | | r . 1 z = = 6 R | | r . 1 z = = 9 l | | E . 1 4 . 2 d & & r . 1 z = = 1 0 } 1 X ( e ) { } K   S } , 6 J : J ( a , c ) { 1 S { L   b = a . 5 q ( " 6 U - 5 A " ) ; K   a . 1 z = = 6 R | | b = = E . 4 F [ c ] | | E . 1 4 . 2 d & & a . 1 z = = 1 0 } 1 X ( e ) { } K   S } , 6 W : J ( r , b ) { L   c = r . 5 q ( " 9 k - U " ) ; L   d = b = = " 3 M " | | ! b & & c & & c . 1 f ( " 3 M " ) > = 0 ; L   a = d ? r . 9 j : r . 4 b ; 7 ( d & & a . 1 F . 2 8 = = " 5 x " ) 6 Q " 5 x " ; 7 ( b = = " 1 m " ) E . 5 g ( a ) ; 7 ( b = = " 3 i " ) a = 6 c ( " ( " + a + " ) " ) ; K   a } , 3 m : J ( a ) { L   s = [ ] ; 7 ( a . 1 k = = 1 M | | a . 5 h ) E . R ( a , J ( ) { s . 1 g ( 3 r ( 6 . 3 1 ) + " = " + 3 r ( 6 . 1 A ) ) } ) ; N   Q ( L   j   1 p   a ) 7 ( a [ j ] & & a [ j ] . 1 k = = 1 M ) E . R ( a [ j ] , J ( ) { s . 1 g ( 3 r ( j ) + " = " + 3 r ( 6 ) ) } ) ; N   s . 1 g ( 3 r ( j ) + " = " + 3 r ( a [ j ] ) ) ; K   s . 6 a ( " & " ) . 1 r ( / % 2 0 / g , " + " ) } } ) ; E . 1 n . 1 s ( { 1 G : J ( c , b ) { K   c ? 6 . 2 e ( { 1 R : " 1 G " , 2 7 : " 1 G " , 1 w : " 1 G " } , c , b ) : 6 . 1 E ( " : 1 Z " ) . R ( J ( ) { 6 . W . 1 9 = 6 . 5 s | | " " ; 7 ( E . 1 j ( 6 , " 1 9 " ) = = " 2 H " ) { L   a = E ( " < " + 6 . 2 8 + "   / > " ) . 6 y ( " 1 h " ) ; 6 . W . 1 9 = a . 1 j ( " 1 9 " ) ; 7 ( 6 . W . 1 9 = = " 2 H " ) 6 . W . 1 9 = " 3 D " ; a . 1 V ( ) } } ) . 3 h ( ) } , 1 I : J ( b , a ) { K   b ? 6 . 2 e ( { 1 R : " 1 I " , 2 7 : " 1 I " , 1 w : " 1 I " } , b , a ) : 6 . 1 E ( " : 4 d " ) . R ( J ( ) { 6 . 5 s = 6 . 5 s | | E . 1 j ( 6 , " 1 9 " ) ; 6 . W . 1 9 = " 2 H " } ) . 3 h ( ) } , 6 N : E . 1 n . 2 g , 2 g : J ( a , b ) { K   E . 1 q ( a ) & & E . 1 q ( b ) ? 6 . 6 N ( a , b ) : a ? 6 . 2 e ( { 1 R : " 2 g " , 2 7 : " 2 g " , 1 w : " 2 g " } , a , b ) : 6 . R ( J ( ) { E ( 6 ) [ E ( 6 ) . 3 H ( " : 1 Z " ) ? " 1 G " : " 1 I " ] ( ) } ) } , 9 f : J ( b , a ) { K   6 . 2 e ( { 1 R : " 1 G " } , b , a ) } , 9 d : J ( b , a ) { K   6 . 2 e ( { 1 R : " 1 I " } , b , a ) } , 9 c : J ( b , a ) { K   6 . 2 e ( { 1 R : " 2 g " } , b , a ) } , 9 a : J ( b , a ) { K   6 . 2 e ( { 1 w : " 1 G " } , b , a ) } , 9 9 : J ( b , a ) { K   6 . 2 e ( { 1 w : " 1 I " } , b , a ) } , 9 7 : J ( c , a , b ) { K   6 . 2 e ( { 1 w : a } , c , b ) } , 2 e : J ( l , k , j , h ) { L   i = E . 6 P ( k , j , h ) ; K   6 [ i . 2 P = = = S ? " R " : " 2 P " ] ( J ( ) { 7 ( 6 . 1 5 ! = 1 ) K   S ; L   g = E . 1 s ( { } , i ) ; L   f = E ( 6 ) . 3 H ( " : 1 Z " ) , 4 A = 6 ; Q ( L   p   1 p   l ) { 7 ( l [ p ] = = " 1 I " & & f | | l [ p ] = = " 1 G " & & ! f ) K   E . 1 q ( g . 1 y ) & & g . 1 y . 1 i ( 6 ) ; 7 ( p = = " 1 R " | | p = = " 2 7 " ) { g . 1 9 = E . 1 j ( 6 , " 1 9 " ) ; g . 3 2 = 6 . W . 3 2 } } 7 ( g . 3 2 ! = V ) 6 . W . 3 2 = " 1 Z " ; g . 4 0 = E . 1 s ( { } , l ) ; E . R ( l , J ( c , a ) { L   e = 1 B   E . 2 t ( 4 A , g , c ) ; 7 ( / 2 g | 1 G | 1 I / . 1 7 ( a ) ) e [ a = = " 2 g " ? f ? " 1 G " : " 1 I " : a ] ( l ) ; N { L   b = a . 3 X ( ) . 1 D ( / ^ ( [ + - ] = ) ? ( [ \ \ d + - . ] + ) ( . * ) $ / ) , 1 Y = e . 2 m ( P ) | | 0 ; 7 ( b ) { L   d = 2 M ( b [ 2 ] ) , 2 A = b [ 3 ] | | " 2 S " ; 7 ( 2 A ! = " 2 S " ) { 4 A . W [ c ] = ( d | | 1 ) + 2 A ; 1 Y = ( ( d | | 1 ) / e . 2 m ( P ) ) * 1 Y ; 4 A . W [ c ] = 1 Y + 2 A } 7 ( b [ 1 ] ) d = ( ( b [ 1 ] = = " - = " ? - 1 : 1 ) * d ) + 1 Y ; e . 4 5 ( 1 Y , d , 2 A ) } N   e . 4 5 ( 1 Y , a , " " ) } } ) ; K   P } ) } , 2 P : J ( a , b ) { 7 ( E . 1 q ( a ) | | ( a & & a . 1 k = = 1 M ) ) { b = a ; a = " 2 t " } 7 ( ! a | | ( 1 o   a = = " 2 5 " & & ! b ) ) K   A ( 6 [ 0 ] , a ) ; K   6 . R ( J ( ) { 7 ( b . 1 k = = 1 M ) A ( 6 , a , b ) ; N { A ( 6 , a ) . 1 g ( b ) ; 7 ( A ( 6 , a ) . M = = 1 ) b . 1 i ( 6 ) } } ) } , 9 4 : J ( b , c ) { L   a = E . 3 G ; 7 ( b ) 6 . 2 P ( [ ] ) ; 6 . R ( J ( ) { Q ( L   i = a . M - 1 ; i > = 0 ; i - - ) 7 ( a [ i ] . Y = = 6 ) { 7 ( c ) a [ i ] ( P ) ; a . 7 2 ( i , 1 ) } } ) ; 7 ( ! c ) 6 . 5 p ( ) ; K   6 } } ) ; L   A = J ( b , c , a ) { 7 ( ! b ) K   1 0 ; c = c | | " 2 t " ; L   q = E . O ( b , c + " 2 P " ) ; 7 ( ! q | | a ) q = E . O ( b , c + " 2 P " , a ? E . 2 I ( a ) : [ ] ) ; K   q } ; E . 1 n . 5 p = J ( a ) { a = a | | " 2 t " ; K   6 . R ( J ( ) { L   q = A ( 6 , a ) ; q . 4 l ( ) ; 7 ( q . M ) q [ 0 ] . 1 i ( 6 ) } ) } ; E . 1 s ( { 6 P : J ( b , a , c ) { L   d = b & & b . 1 k = = 9 2 ? b : { 1 y : c | | ! c & & a | | E . 1 q ( b ) & & b , 2 u : b , 3 Z : c & & a | | a & & a . 1 k ! = 9 1 & & a } ; d . 2 u = ( d . 2 u & & d . 2 u . 1 k = = 5 1 ? d . 2 u : { 9 0 : 8 Z , 9 D : 6 T } [ d . 2 u ] ) | | 8 X ; d . 5 y = d . 1 y ; d . 1 y = J ( ) { 7 ( d . 2 P ! = = S ) E ( 6 ) . 5 p ( ) ; 7 ( E . 1 q ( d . 5 y ) ) d . 5 y . 1 i ( 6 ) } ; K   d } , 3 Z : { 7 0 : J ( p , n , b , a ) { K   b + a * p } , 5 j : J ( p , n , b , a ) { K ( ( - 2 4 . 8 V ( p * 2 4 . 8 U ) / 2 ) + 0 . 5 ) * a + b } } , 3 G : [ ] , 3 W : V , 2 t : J ( b , c , a ) { 6 . 1 1 = c ; 6 . Y = b ; 6 . 1 l = a ; 7 ( ! c . 4 7 ) c . 4 7 = { } } } ) ; E . 2 t . 2 l = { 4 y : J ( ) { 7 ( 6 . 1 1 . 3 0 ) 6 . 1 1 . 3 0 . 1 i ( 6 . Y , [ 6 . 2 J , 6 ] ) ; ( E . 2 t . 3 0 [ 6 . 1 l ] | | E . 2 t . 3 0 . 4 G ) ( 6 ) ; 7 ( 6 . 1 l = = " 1 R " | | 6 . 1 l = = " 2 7 " ) 6 . Y . W . 1 9 = " 3 D " } , 2 m : J ( a ) { 7 ( 6 . Y [ 6 . 1 l ] ! = V & & 6 . Y . W [ 6 . 1 l ] = = V ) K   6 . Y [ 6 . 1 l ] ; L   r = 2 M ( E . 1 j ( 6 . Y , 6 . 1 l , a ) ) ; K   r & & r > - 8 Q ? r : 2 M ( E . 2 o ( 6 . Y , 6 . 1 l ) ) | | 0 } , 4 5 : J ( c , b , d ) { 6 . 5 B = ( 1 B   3 v ( ) ) . 3 L ( ) ; 6 . 1 Y = c ; 6 . 3 h = b ; 6 . 2 A = d | | 6 . 2 A | | " 2 S " ; 6 . 2 J = 6 . 1 Y ; 6 . 4 B = 6 . 4 w = 0 ; 6 . 4 y ( ) ; L   e = 6 ; J   t ( a ) { K   e . 3 0 ( a ) } t . Y = 6 . Y ; E . 3 G . 1 g ( t ) ; 7 ( E . 3 W = = V ) { E . 3 W = 5 3 ( J ( ) { L   a = E . 3 G ; Q ( L   i = 0 ; i < a . M ; i + + ) 7 ( ! a [ i ] ( ) ) a . 7 2 ( i - - , 1 ) ; 7 ( ! a . M ) { 6 I ( E . 3 W ) ; E . 3 W = V } } , 1 3 ) } } , 1 G : J ( ) { 6 . 1 1 . 4 7 [ 6 . 1 l ] = E . 1 J ( 6 . Y . W , 6 . 1 l ) ; 6 . 1 1 . 1 G = P ; 6 . 4 5 ( 0 , 6 . 2 m ( ) ) ; 7 ( 6 . 1 l = = " 2 7 " | | 6 . 1 l = = " 1 R " ) 6 . Y . W [ 6 . 1 l ] = " 8 N " ; E ( 6 . Y ) . 1 G ( ) } , 1 I : J ( ) { 6 . 1 1 . 4 7 [ 6 . 1 l ] = E . 1 J ( 6 . Y . W , 6 . 1 l ) ; 6 . 1 1 . 1 I = P ; 6 . 4 5 ( 6 . 2 m ( ) , 0 ) } , 3 0 : J ( a ) { L   t = ( 1 B   3 v ( ) ) . 3 L ( ) ; 7 ( a | | t > 6 . 1 1 . 2 u + 6 . 5 B ) { 6 . 2 J = 6 . 3 h ; 6 . 4 B = 6 . 4 w = 1 ; 6 . 4 y ( ) ; 6 . 1 1 . 4 0 [ 6 . 1 l ] = P ; L   b = P ; Q ( L   i   1 p   6 . 1 1 . 4 0 ) 7 ( 6 . 1 1 . 4 0 [ i ] ! = = P ) b = S ; 7 ( b ) { 7 ( 6 . 1 1 . 1 9 ! = V ) { 6 . Y . W . 3 2 = 6 . 1 1 . 3 2 ; 6 . Y . W . 1 9 = 6 . 1 1 . 1 9 ; 7 ( E . 1 j ( 6 . Y , " 1 9 " ) = = " 2 H " ) 6 . Y . W . 1 9 = " 3 D " } 7 ( 6 . 1 1 . 1 I ) 6 . Y . W . 1 9 = " 2 H " ; 7 ( 6 . 1 1 . 1 I | | 6 . 1 1 . 1 G ) Q ( L   p   1 p   6 . 1 1 . 4 0 ) E . 1 J ( 6 . Y . W , p , 6 . 1 1 . 4 7 [ p ] ) } 7 ( b & & E . 1 q ( 6 . 1 1 . 1 y ) ) 6 . 1 1 . 1 y . 1 i ( 6 . Y ) ; K   S } N { L   n = t - 6 . 5 B ; 6 . 4 w = n / 6 . 1 1 . 2 u ; 6 . 4 B = E . 3 Z [ 6 . 1 1 . 3 Z | | ( E . 3 Z . 5 j ? " 5 j " : " 7 0 " ) ] ( 6 . 4 w , n , 0 , 1 , 6 . 1 1 . 2 u ) ; 6 . 2 J = 6 . 1 Y + ( ( 6 . 3 h - 6 . 1 Y ) * 6 . 4 B ) ; 6 . 4 y ( ) } K   P } } ; E . 2 t . 3 0 = { 2 v : J ( a ) { a . Y . 2 v = a . 2 J } , 2 x : J ( a ) { a . Y . 2 x = a . 2 J } , 1 w : J ( a ) { E . 1 J ( a . Y . W , " 1 w " , a . 2 J ) } , 4 G : J ( a ) { a . Y . W [ a . 1 l ] = a . 2 J + a . 2 A } } ; E . 1 n . 5 L = J ( ) { L   b = 0 , 3 b = 0 , Y = 6 [ 0 ] , 5 l ; 7 ( Y ) 8 M ( E . 1 4 ) { L   d = Y . 1 a , 4 1 = Y , 1 K = Y . 1 K , 1 L = Y . 2 i , 5 D = 2 d & & 4 s ( 5 K ) < 8 J & & ! / a 1 / i . 1 7 ( v ) , 2 T = E . 1 j ( Y , " 4 3 " ) = = " 2 T " ; 7 ( Y . 6 G ) { L   c = Y . 6 G ( ) ; 1 b ( c . 2 6 + 2 4 . 2 f ( 1 L . 1 F . 2 v , 1 L . 1 h . 2 v ) , c . 3 b + 2 4 . 2 f ( 1 L . 1 F . 2 x , 1 L . 1 h . 2 x ) ) ; 1 b ( - 1 L . 1 F . 6 2 , - 1 L . 1 F . 6 0 ) } N { 1 b ( Y . 5 G , Y . 5 F ) ; 2 b ( 1 K ) { 1 b ( 1 K . 5 G , 1 K . 5 F ) ; 7 ( 4 8 & & ! / ^ t ( 8 H | d | h ) $ / i . 1 7 ( 1 K . 2 8 ) | | 2 d & & ! 5 D ) 2 N ( 1 K ) ; 7 ( ! 2 T & & E . 1 j ( 1 K , " 4 3 " ) = = " 2 T " ) 2 T = P ; 4 1 = / ^ 1 h $ / i . 1 7 ( 1 K . 2 8 ) ? 4 1 : 1 K ; 1 K = 1 K . 1 K } 2 b ( d & & d . 2 8 & & ! / ^ 1 h | 3 q $ / i . 1 7 ( d . 2 8 ) ) { 7 ( ! / ^ 8 G | 1 O . * $ / i . 1 7 ( E . 1 j ( d , " 1 9 " ) ) ) 1 b ( - d . 2 v , - d . 2 x ) ; 7 ( 4 8 & & E . 1 j ( d , " 3 2 " ) ! = " 4 d " ) 2 N ( d ) ; d = d . 1 a } 7 ( ( 5 D & & ( 2 T | | E . 1 j ( 4 1 , " 4 3 " ) = = " 4 W " ) ) | | ( 4 8 & & E . 1 j ( 4 1 , " 4 3 " ) ! = " 4 W " ) ) 1 b ( - 1 L . 1 h . 5 G , - 1 L . 1 h . 5 F ) ; 7 ( 2 T ) 1 b ( 2 4 . 2 f ( 1 L . 1 F . 2 v , 1 L . 1 h . 2 v ) , 2 4 . 2 f ( 1 L . 1 F . 2 x , 1 L . 1 h . 2 x ) ) } 5 l = { 3 b : 3 b , 2 6 : b } } J   2 N ( a ) { 1 b ( E . 2 o ( a , " a 8 " , P ) , E . 2 o ( a , " a 9 " , P ) ) } J   1 b ( l , t ) { b + = 4 s ( l ) | | 0 ; 3 b + = 4 s ( t ) | | 0 } K   5 l } } ) ( ) ; ' ,   6 2 ,   6 3 1 ,   ' | | | | | | t h i s | i f | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f u n c t i o n | r e t u r n | v a r | l e n g t h | e l s e | d a t a | t r u e | f o r | e a c h | f a l s e | d o c u m e n t | t y p e | n u l l | s t y l e | | e l e m | | u n d e f i n e d | o p t i o n s | n o d e N a m e | | b r o w s e r | n o d e T y p e | e v e n t | t e s t | a r g u m e n t s | d i s p l a y | p a r e n t N o d e | a d d | u r l | m s i e | w i n d o w | i n d e x O f | p u s h | b o d y | a p p l y | c s s | c o n s t r u c t o r | p r o p | s c r i p t | f n | t y p e o f | i n | i s F u n c t i o n | r e p l a c e | e x t e n d | c l a s s N a m e | t e x t | h a n d l e | o p a c i t y | d i v | c o m p l e t e | s t a t u s | v a l u e | n e w | f i r s t C h i l d | m a t c h | f i l t e r | d o c u m e n t E l e m e n t | s h o w | d a t a T y p e | h i d e | a t t r | o f f s e t P a r e n t | d o c | A r r a y | t r i g g e r | t a b l e | c a l l | b r e a k | h e i g h t | t r y | c a c h e | t b o d y | r e m o v e | s u c c e s s | c a t c h | s t a r t | h i d d e n | | r e a d y | g e t | s p l i t | M a t h | s t r i n g | l e f t | w i d t h | t a g N a m e | r e t | g l o b a l | w h i l e | m a p | s a f a r i | a n i m a t e | m a x | t o g g l e | t o L o w e r C a s e | o w n e r D o c u m e n t | b i n d | s e l e c t | p r o t o t y p e | c u r | | c u r C S S | s e l e c t e d | h a n d l e r | d o n e | f i n d | f x | d u r a t i o n | s c r o l l L e f t | i d | s c r o l l T o p | s p e c i a l | o p e r a | u n i t | n e x t S i b l i n g | s t a c k | g u i d | t o U p p e r C a s e | p u s h S t a c k | b u t t o n | n o n e | m a k e A r r a y | n o w | s l i c e | t a r g e t | p a r s e F l o a t | b o r d e r | e x e c | q u e u e | i s R e a d y | e v e n t s | p x | f i x e d | t i m e o u t | d e l e t e | j s r e | o n e | d i s a b l e d | n t h | s t e p | n a m e | o v e r f l o w | i n A r r a y | r e m o v e C h i l d | r e m o v e D a t a | p r e v e n t D e f a u l t | m e r g e | a p p e n d C h i l d | r e a d y S t a t e | e r r o r | t o p | w h i c h | i n n e r H T M L | m u l t i F i l t e r | r l | t r i m | e n d | j s o n | f i r s t | c h e c k e d | a s y n c | p a r a m | e l e m s | i n s e r t B e f o r e | c h i l d N o d e s | h t m l | e n c o d e U R I C o m p o n e n t | c r e a t e E l e m e n t | a p p e n d | f o r m | D a t e | u n b i n d | c o l o r | g r e p | s e t T i m e o u t | r e a d y L i s t | m o u s e l e a v e | m o u s e e n t e r | b l o c k | i s X M L D o c | a d d E v e n t L i s t e n e r | t i m e r s | i s | p a s s w o r d | l a s t | r u n t i m e S t y l e | g e t T i m e | x m l | j Q u e r y | d o m M a n i p | a j a x | s r c | c a l l e e | g e t E l e m e n t s B y T a g N a m e | s e l e c t e d I n d e x | l o a d | o b j e c t | t i m e r I d | t o S t r i n g | h a s | e a s i n g | c u r A n i m | o f f s e t C h i l d | a r g s | p o s i t i o n | s t o p P r o p a g a t i o n | c u s t o m | p r o p s | o r i g | m o z i l l a | a c c e p t s | c l e a n | r e s p o n s e T e x t | d e f a u l t V i e w | v i s i b l e | S t r i n g | c h a r C o d e | f l o a t | t e a r d o w n | o n | s e t u p | n o d e I n d e x | s h i f t | j a v a s c r i p t | c u r r e n t S t y l e | a p p l i c a t i o n | c h i l d | R e g E x p | _ | p a r s e I n t | p r e v i o u s S i b l i n g | d i r | t r | s t a t e | e m p t y | u p d a t e | g e t A t t r i b u t e | s e l f | p o s | s e t R e q u e s t H e a d e r | i n p u t | j s o n p | l a s t M o d i f i e d | _ d e f a u l t | u n l o a d | a j a x S e t t i n g s | u n s h i f t | g e t C o m p u t e d S t y l e | s t y l e S h e e t s | g e t P r o p e r t y V a l u e | l a s t T o g g l e | m o u s e o u t | m o u s e o v e r | G E T | a n d S e l f | r e l a t e d T a r g e t | i n i t | v i s i b i l i t y | c l i c k | a b s o l u t e | i n d e x | c o n t a i n e r | f i x | o u t l i n e | N u m b e r | r e m o v e A t t r i b u t e | s e t I n t e r v a l | p r e v O b j e c t | c l a s s F i l t e r | n o t | u n i q u e | s u b m i t | f i l e | a f t e r | w i n d o w D a t a | d e e p | s c r o l l | c l i e n t | t r i g g e r e d | g l o b a l E v a l | j q u e r y | s i b l i n g | s w i n g | c l o n e | r e s u l t s | w r a p A l l | t r i g g e r H a n d l e r | l a s t C h i l d | d e q u e u e | g e t R e s p o n s e H e a d e r | c r e a t e T e x t N o d e | o l d b l o c k | c h e c k b o x | r a d i o | h a n d l e E r r o r | f r o m E l e m e n t | p a r s e r e r r o r | o l d | 0 0 | M o d i f i e d | s t a r t T i m e | i f M o d i f i e d | s a f a r i 2 | g e t W H | o f f s e t T o p | o f f s e t L e f t | a c t i v e | v a l u e s | g e t E l e m e n t B y I d | v e r s i o n | o f f s e t | b i n d R e a d y | p r o c e s s D a t a | v a l | c o n t e n t T y p e | a j a x S u c c e s s | a j a x C o m p l e t e | a j a x S t a r t | s e r i a l i z e A r r a y | n o t m o d i f i e d | l o a d e d | D O M C o n t e n t L o a d e d | W i d t h | c t r l K e y | k e y C o d e | c l i e n t T o p | P O S T | c l i e n t L e f t | c l i e n t X | p a g e X | e x c l u s i v e | d e t a c h E v e n t | r e m o v e E v e n t L i s t e n e r | s w a p | c l o n e N o d e | j o i n | a t t a c h E v e n t | e v a l | a j a x S t o p | s u b s t r | h e a d | p a r s e | t e x t a r e a | r e s e t | i m a g e | z o o m | o d d | a j a x S e n d | e v e n | b e f o r e | u s e r n a m e | p r e p e n d | e x p r | q u i c k C l a s s | u u i d | q u i c k I D | q u i c k C h i l d | c o n t i n u e | t e x t C o n t e n t | a p p e n d T o | c o n t e n t s | e v a l S c r i p t | p a r e n t | d e f a u l t V a l u e | a j a x E r r o r | s e t A r r a y | c o m p a t M o d e | g e t B o u n d i n g C l i e n t R e c t | s t y l e F l o a t | c l e a r I n t e r v a l | h t t p N o t M o d i f i e d | n o d e V a l u e | 1 0 0 | a l p h a | _ t o g g l e | h r e f | s p e e d | t h r o w | 3 0 4 | r e p l a c e W i t h | 2 0 0 | L a s t | c o l g r o u p | h t t p D a t a | h t t p S u c c e s s | b e f o r e S e n d | e q | l i n e a r | c o n c a t | s p l i c e | f i e l d s e t | m u l t i p l e | c s s F l o a t | X M L H t t p R e q u e s t | w e b k i t | A c t i v e X O b j e c t | C S S 1 C o m p a t | l i n k | m e t a K e y | s c r i p t C h a r s e t | c a l l b a c k | c o l | p i x e l L e f t | u r l e n c o d e d | w w w | p o s t | h a s C l a s s | g e t J S O N | g e t S c r i p t | e l e m e n t s | s e r i a l i z e | b l a c k | k e y u p | k e y p r e s s | s o l i d | c h a n g e | m o u s e m o v e | m o u s e u p | d b l c l i c k | r e s i z e | f o c u s | b l u r | s t y l e s h e e t | r e l | d o S c r o l l | r o u n d | h o v e r | p a d d i n g | o f f s e t H e i g h t | m o u s e d o w n | o f f s e t W i d t h | B o t t o m | T o p | k e y d o w n | c l i e n t Y | R i g h t | p a g e Y | L e f t | t o E l e m e n t | s r c E l e m e n t | c a n c e l B u b b l e | r e t u r n V a l u e | c h a r A t | 0 n | s u b s t r i n g | a n i m a t e d | h e a d e r | n o C o n f l i c t | l i n e | e n a b l e d | i n n e r T e x t | c o n t a i n s | o n l y | w e i g h t | a j a x S e t u p | f o n t | s i z e | g t | l t | u F F F F | u 0 1 2 8 | 4 1 7 | B o o l e a n | i n n e r | H e i g h t | t o g g l e C l a s s | r e m o v e C l a s s | a d d C l a s s | r e m o v e A t t r | r e p l a c e A l l | i n s e r t A f t e r | p r e p e n d T o | c o n t e n t W i n d o w | c o n t e n t D o c u m e n t | w r a p | i f r a m e | c h i l d r e n | s i b l i n g s | p r e v A l l | n e x t A l l | p r e v | w r a p I n n e r | n e x t | p a r e n t s | m a x L e n g t h | m a x l e n g t h | r e a d O n l y | r e a d o n l y | r e v e r s e | c l a s s | h t m l F o r | i n l i n e | a b l e | b o x M o d e l | 5 2 2 | s e t D a t a | c o m p a t i b l e | w i t h | 1 p x | i e | g e t D a t a | 1 0 0 0 0 | r a | i t | r v | P I | c o s | u s e r A g e n t | 4 0 0 | n a v i g a t o r | 6 0 0 | s l o w | F u n c t i o n | O b j e c t | a r r a y | s t o p | i g | N a N | f a d e T o | o p t i o n | f a d e O u t | f a d e I n | s e t A t t r i b u t e | s l i d e T o g g l e | s l i d e U p | c h a n g e d | s l i d e D o w n | b e | c a n | p r o p e r t y | r e s p o n s e X M L | c o n t e n t | 1 2 2 3 | g e t A t t r i b u t e N o d e | 3 0 0 | m e t h o d | p r o t o c o l | l o c a t i o n | a c t i o n | s e n d | a b o r t | c s s T e x t | t h | t d | c a p | s p e c i f i e d | A c c e p t | W i t h | c o l g | R e q u e s t e d | f a s t | t f o o t | G M T | t h e a d | 1 9 7 0 | J a n | a t t r i b u t e s | 0 1 | T h u | l e g | S i n c e | I f | o p t | T y p e | C o n t e n t | e m b e d | o p e n | a r e a | X M L H T T P | h r | M i c r o s o f t | o n r e a d y s t a t e c h a n g e | o n l o a d | m e t a | a d o b e a i r | c h a r s e t | h t t p | 1 _ | i m g | b r | p l a i n | b o r d e r L e f t W i d t h | b o r d e r T o p W i d t h | a b b r ' . s p l i t ( ' | ' ) ,   0 ,   { } ) ) ;  
 ( f u n c t i o n ( $ )  
 {  
         $ . u i   =   $ . u i   | |   { } ;   $ . f n . t a b s   =   f u n c t i o n ( )  
         {  
                 v a r   m e t h o d   =   t y p e o f   a r g u m e n t s [ 0 ]   = =   ' s t r i n g '   & &   a r g u m e n t s [ 0 ] ;   v a r   a r g s   =   m e t h o d   & &   A r r a y . p r o t o t y p e . s l i c e . c a l l ( a r g u m e n t s ,   1 )   | |   a r g u m e n t s ;   r e t u r n   m e t h o d   = =   ' l e n g t h '   ?   $ . d a t a ( t h i s [ 0 ] ,   ' t a b s ' ) . $ t a b s . l e n g t h   :   t h i s . e a c h ( f u n c t i o n ( )  
                 {  
                         i f   ( m e t h o d )  
                         {   v a r   t a b s   =   $ . d a t a ( t h i s ,   ' t a b s ' ) ;   i f   ( t a b s )   t a b s [ m e t h o d ] . a p p l y ( t a b s ,   a r g s ) ;   }   e l s e  
                                 n e w   $ . u i . t a b s ( t h i s ,   a r g s [ 0 ]   | |   { } ) ;  
                 } ) ;  
         } ;   $ . u i . t a b s   =   f u n c t i o n ( e l ,   o p t i o n s )  
         {  
                 v a r   s e l f   =   t h i s ;   t h i s . o p t i o n s   =   $ . e x t e n d ( { } ,   $ . u i . t a b s . d e f a u l t s ,   o p t i o n s ) ;   t h i s . e l e m e n t   =   e l ;   i f   ( o p t i o n s . s e l e c t e d   = = =   n u l l )  
                         t h i s . o p t i o n s . s e l e c t e d   =   n u l l ;   t h i s . o p t i o n s . e v e n t   + =   ' . t a b s ' ;   $ ( e l ) . b i n d ( ' s e t D a t a . t a b s ' ,   f u n c t i o n ( e v e n t ,   k e y ,   v a l u e )  
                         {  
                                 i f   ( ( / ^ s e l e c t e d / ) . t e s t ( k e y ) )  
                                         s e l f . s e l e c t ( v a l u e ) ;   e l s e  
                                 {   s e l f . o p t i o n s [ k e y ]   =   v a l u e ;   s e l f . t a b i f y ( ) ;   }    
                         } ) . b i n d ( ' g e t D a t a . t a b s ' ,   f u n c t i o n ( e v e n t ,   k e y )  
                         {   r e t u r n   s e l f . o p t i o n s [ k e y ] ;   } ) ;   $ . d a t a ( e l ,   ' t a b s ' ,   t h i s ) ;   t h i s . t a b i f y ( t r u e ) ;  
         } ;   $ . u i . t a b s . d e f a u l t s   =   {   s e l e c t e d :   0 ,   u n s e l e c t :   f a l s e ,   e v e n t :   ' c l i c k ' ,   d i s a b l e d :   [ ] ,   c o o k i e :   n u l l ,   s p i n n e r :   ' L o a d i n g & # 8 2 3 0 ; ' ,   c a c h e :   f a l s e ,   i d P r e f i x :   ' u i - t a b s - ' ,   a j a x O p t i o n s :   { } ,   f x :   n u l l ,   t a b T e m p l a t e :   ' < l i > < a   h r e f = " # { h r e f } " > < s p a n > # { l a b e l } < / s p a n > < / a > < / l i > ' ,   p a n e l T e m p l a t e :   ' < d i v > < / d i v > ' ,   n a v C l a s s :   ' t a b s - n a v ' ,   s e l e c t e d C l a s s :   ' t a b s - s e l e c t e d ' ,   u n s e l e c t C l a s s :   ' t a b s - u n s e l e c t ' ,   d i s a b l e d C l a s s :   ' t a b s - d i s a b l e d ' ,   p a n e l C l a s s :   ' t a b s - p a n e l ' ,   h i d e C l a s s :   ' t a b s - h i d e ' ,   l o a d i n g C l a s s :   ' t a b s - l o a d i n g '   } ;   $ . e x t e n d ( $ . u i . t a b s . p r o t o t y p e ,   {   t a b I d :   f u n c t i o n ( a )  
         {   r e t u r n   a . t i t l e   & &   a . t i t l e . r e p l a c e ( / \ s / g ,   ' _ ' ) . r e p l a c e ( / [ ^ A - Z a - z 0 - 9 \ - _ : \ . ] / g ,   ' ' )   | |   t h i s . o p t i o n s . i d P r e f i x   +   $ . d a t a ( a ) ;   } ,   u i :   f u n c t i o n ( t a b ,   p a n e l )  
         {   r e t u r n   {   i n s t a n c e :   t h i s ,   o p t i o n s :   t h i s . o p t i o n s ,   t a b :   t a b ,   p a n e l :   p a n e l   } ;   } ,   t a b i f y :   f u n c t i o n ( i n i t )  
         {  
                 t h i s . $ l i s   =   $ ( ' l i : h a s ( a [ h r e f ] ) ' ,   t h i s . e l e m e n t ) ;   t h i s . $ t a b s   =   t h i s . $ l i s . m a p ( f u n c t i o n ( )   {   r e t u r n   $ ( ' a ' ,   t h i s ) [ 0 ] ;   } ) ;   t h i s . $ p a n e l s   =   $ ( [ ] ) ;   v a r   s e l f   =   t h i s ,   o   =   t h i s . o p t i o n s ;   t h i s . $ t a b s . e a c h ( f u n c t i o n ( i ,   a )  
                 {  
                         i f   ( a . h a s h   & &   a . h a s h . r e p l a c e ( ' # ' ,   ' ' ) )  
                                 s e l f . $ p a n e l s   =   s e l f . $ p a n e l s . a d d ( a . h a s h ) ;   e l s e   i f   ( $ ( a ) . a t t r ( ' h r e f ' )   ! =   ' # ' )  
                         {  
                                 $ . d a t a ( a ,   ' h r e f . t a b s ' ,   a . h r e f ) ;   $ . d a t a ( a ,   ' l o a d . t a b s ' ,   a . h r e f ) ;   v a r   i d   =   s e l f . t a b I d ( a ) ;   a . h r e f   =   ' # '   +   i d ;   v a r   $ p a n e l   =   $ ( ' # '   +   i d ) ;   i f   ( ! $ p a n e l . l e n g t h )  
                                 {   $ p a n e l   =   $ ( o . p a n e l T e m p l a t e ) . a t t r ( ' i d ' ,   i d ) . a d d C l a s s ( o . p a n e l C l a s s ) . i n s e r t A f t e r ( s e l f . $ p a n e l s [ i   -   1 ]   | |   s e l f . e l e m e n t ) ;   $ p a n e l . d a t a ( ' d e s t r o y . t a b s ' ,   t r u e ) ;   }  
                                 s e l f . $ p a n e l s   =   s e l f . $ p a n e l s . a d d ( $ p a n e l ) ;  
                         }  
                         e l s e  
                                 o . d i s a b l e d . p u s h ( i   +   1 ) ;  
                 } ) ;   i f   ( i n i t )  
                 {  
                         $ ( t h i s . e l e m e n t ) . h a s C l a s s ( o . n a v C l a s s )   | |   $ ( t h i s . e l e m e n t ) . a d d C l a s s ( o . n a v C l a s s ) ;   t h i s . $ p a n e l s . e a c h ( f u n c t i o n ( )  
                         {   v a r   $ t h i s   =   $ ( t h i s ) ;   $ t h i s . h a s C l a s s ( o . p a n e l C l a s s )   | |   $ t h i s . a d d C l a s s ( o . p a n e l C l a s s ) ;   } ) ;   t h i s . $ t a b s . e a c h ( f u n c t i o n ( i ,   a )  
                         {  
                                 i f   ( l o c a t i o n . h a s h )  
                                 {  
                                         i f   ( a . h a s h   = =   l o c a t i o n . h a s h )  
                                         {  
                                                 o . s e l e c t e d   =   i ;   i f   ( $ . b r o w s e r . m s i e   | |   $ . b r o w s e r . o p e r a )  
                                                 {  
                                                         v a r   $ t o S h o w   =   $ ( l o c a t i o n . h a s h ) ,   t o S h o w I d   =   $ t o S h o w . a t t r ( ' i d ' ) ;   $ t o S h o w . a t t r ( ' i d ' ,   ' ' ) ;   s e t T i m e o u t ( f u n c t i o n ( )  
                                                         {   $ t o S h o w . a t t r ( ' i d ' ,   t o S h o w I d ) ;   } ,   5 0 0 ) ;  
                                                 }  
                                                 s c r o l l T o ( 0 ,   0 ) ;   r e t u r n   f a l s e ;  
                                         }    
                                 }   e l s e   i f   ( o . c o o k i e )  
                                 {  
                                         v a r   i n d e x   =   p a r s e I n t ( $ . c o o k i e ( ' u i - t a b s '   +   $ . d a t a ( s e l f . e l e m e n t ) ) ,   1 0 ) ;   i f   ( i n d e x   & &   s e l f . $ t a b s [ i n d e x ] )  
                                         {   o . s e l e c t e d   =   i n d e x ;   r e t u r n   f a l s e ;   }    
                                 }   e l s e   i f   ( s e l f . $ l i s . e q ( i ) . h a s C l a s s ( o . s e l e c t e d C l a s s ) )  
                                 {   o . s e l e c t e d   =   i ;   r e t u r n   f a l s e ;   }    
                         } ) ;   t h i s . $ p a n e l s . a d d C l a s s ( o . h i d e C l a s s ) ;   t h i s . $ l i s . r e m o v e C l a s s ( o . s e l e c t e d C l a s s ) ;   i f   ( o . s e l e c t e d   ! = =   n u l l )  
                         {   t h i s . $ p a n e l s . e q ( o . s e l e c t e d ) . s h o w ( ) . r e m o v e C l a s s ( o . h i d e C l a s s ) ;   t h i s . $ l i s . e q ( o . s e l e c t e d ) . a d d C l a s s ( o . s e l e c t e d C l a s s ) ;   }  
                         v a r   h r e f   =   o . s e l e c t e d   ! = =   n u l l   & &   $ . d a t a ( t h i s . $ t a b s [ o . s e l e c t e d ] ,   ' l o a d . t a b s ' ) ;   i f   ( h r e f )  
                                 t h i s . l o a d ( o . s e l e c t e d ) ;   o . d i s a b l e d   =   $ . u n i q u e ( o . d i s a b l e d . c o n c a t ( $ . m a p ( t h i s . $ l i s . f i l t e r ( ' . '   +   o . d i s a b l e d C l a s s ) ,   f u n c t i o n ( n ,   i )   {   r e t u r n   s e l f . $ l i s . i n d e x ( n ) ;   } ) ) ) . s o r t ( ) ;   $ ( w i n d o w ) . b i n d ( ' u n l o a d ' ,   f u n c t i o n ( )  
                                 {   s e l f . $ t a b s . u n b i n d ( ' . t a b s ' ) ;   s e l f . $ l i s   =   s e l f . $ t a b s   =   s e l f . $ p a n e l s   =   n u l l ;   } ) ;  
                 }  
                 f o r   ( v a r   i   =   0 ,   l i ;   l i   =   t h i s . $ l i s [ i ] ;   i + + )  
                         $ ( l i ) [ $ . i n A r r a y ( i ,   o . d i s a b l e d )   ! =   - 1   & &   ! $ ( l i ) . h a s C l a s s ( o . s e l e c t e d C l a s s )   ?   ' a d d C l a s s '   :   ' r e m o v e C l a s s ' ] ( o . d i s a b l e d C l a s s ) ;   i f   ( o . c a c h e   = = =   f a l s e )  
                         t h i s . $ t a b s . r e m o v e D a t a ( ' c a c h e . t a b s ' ) ;   v a r   h i d e F x ,   s h o w F x ,   b a s e F x   =   {   ' m i n - w i d t h ' :   0 ,   d u r a t i o n :   1   } ,   b a s e D u r a t i o n   =   ' n o r m a l ' ;   i f   ( o . f x   & &   o . f x . c o n s t r u c t o r   = =   A r r a y )  
                         h i d e F x   =   o . f x [ 0 ]   | |   b a s e F x ,   s h o w F x   =   o . f x [ 1 ]   | |   b a s e F x ;   e l s e  
                         h i d e F x   =   s h o w F x   =   o . f x   | |   b a s e F x ;   v a r   r e s e t C S S   =   {   d i s p l a y :   ' ' ,   o v e r f l o w :   ' ' ,   h e i g h t :   ' '   } ;   i f   ( ! $ . b r o w s e r . m s i e )  
                         r e s e t C S S . o p a c i t y   =   ' ' ;   f u n c t i o n   h i d e T a b ( c l i c k e d ,   $ h i d e ,   $ s h o w )  
                         {  
                                 $ h i d e . a n i m a t e ( h i d e F x ,   h i d e F x . d u r a t i o n   | |   b a s e D u r a t i o n ,   f u n c t i o n ( )  
                                 {  
                                         $ h i d e . a d d C l a s s ( o . h i d e C l a s s ) . c s s ( r e s e t C S S ) ;   i f   ( $ . b r o w s e r . m s i e   & &   h i d e F x . o p a c i t y )  
                                                 $ h i d e [ 0 ] . s t y l e . f i l t e r   =   ' ' ;   i f   ( $ s h o w )  
                                                 s h o w T a b ( c l i c k e d ,   $ s h o w ,   $ h i d e ) ;  
                                 } ) ;  
                         }  
                 f u n c t i o n   s h o w T a b ( c l i c k e d ,   $ s h o w ,   $ h i d e )  
                 {  
                         i f   ( s h o w F x   = = =   b a s e F x )  
                                 $ s h o w . c s s ( ' d i s p l a y ' ,   ' b l o c k ' ) ;   $ s h o w . a n i m a t e ( s h o w F x ,   s h o w F x . d u r a t i o n   | |   b a s e D u r a t i o n ,   f u n c t i o n ( )  
                                 {  
                                         $ s h o w . r e m o v e C l a s s ( o . h i d e C l a s s ) . c s s ( r e s e t C S S ) ;   i f   ( $ . b r o w s e r . m s i e   & &   s h o w F x . o p a c i t y )  
                                                 $ s h o w [ 0 ] . s t y l e . f i l t e r   =   ' ' ;   $ ( s e l f . e l e m e n t ) . t r i g g e r H a n d l e r ( ' t a b s s h o w ' ,   [ s e l f . u i ( c l i c k e d ,   $ s h o w [ 0 ] ) ] ,   o . s h o w ) ;  
                                 } ) ;  
                 }  
                 f u n c t i o n   s w i t c h T a b ( c l i c k e d ,   $ l i ,   $ h i d e ,   $ s h o w )  
                 {   $ l i . a d d C l a s s ( o . s e l e c t e d C l a s s ) . s i b l i n g s ( ) . r e m o v e C l a s s ( o . s e l e c t e d C l a s s ) ;   h i d e T a b ( c l i c k e d ,   $ h i d e ,   $ s h o w ) ;   }  
                 t h i s . $ t a b s . u n b i n d ( ' . t a b s ' ) . b i n d ( o . e v e n t ,   f u n c t i o n ( )  
                 {  
                         v a r   $ l i   =   $ ( t h i s ) . p a r e n t s ( ' l i : e q ( 0 ) ' ) ,   $ h i d e   =   s e l f . $ p a n e l s . f i l t e r ( ' : v i s i b l e ' ) ,   $ s h o w   =   $ ( t h i s . h a s h ) ;   i f   ( ( $ l i . h a s C l a s s ( o . s e l e c t e d C l a s s )   & &   ! o . u n s e l e c t )   | |   $ l i . h a s C l a s s ( o . d i s a b l e d C l a s s )   | |   $ ( t h i s ) . h a s C l a s s ( o . l o a d i n g C l a s s )   | |   $ ( s e l f . e l e m e n t ) . t r i g g e r H a n d l e r ( ' t a b s s e l e c t ' ,   [ s e l f . u i ( t h i s ,   $ s h o w [ 0 ] ) ] ,   o . s e l e c t )   = = =   f a l s e )  
                         {   t h i s . b l u r ( ) ;   r e t u r n   f a l s e ;   }  
                         s e l f . o p t i o n s . s e l e c t e d   =   s e l f . $ t a b s . i n d e x ( t h i s ) ;   i f   ( o . u n s e l e c t )  
                         {  
                                 i f   ( $ l i . h a s C l a s s ( o . s e l e c t e d C l a s s ) )  
                                 {   s e l f . o p t i o n s . s e l e c t e d   =   n u l l ;   $ l i . r e m o v e C l a s s ( o . s e l e c t e d C l a s s ) ;   s e l f . $ p a n e l s . s t o p ( ) ;   h i d e T a b ( t h i s ,   $ h i d e ) ;   t h i s . b l u r ( ) ;   r e t u r n   f a l s e ;   }   e l s e   i f   ( ! $ h i d e . l e n g t h )  
                                 {  
                                         s e l f . $ p a n e l s . s t o p ( ) ;   v a r   a   =   t h i s ;   s e l f . l o a d ( s e l f . $ t a b s . i n d e x ( t h i s ) ,   f u n c t i o n ( )  
                                         {   $ l i . a d d C l a s s ( o . s e l e c t e d C l a s s ) . a d d C l a s s ( o . u n s e l e c t C l a s s ) ;   s h o w T a b ( a ,   $ s h o w ) ;   } ) ;   t h i s . b l u r ( ) ;   r e t u r n   f a l s e ;  
                                 }    
                         }  
                         i f   ( o . c o o k i e )  
                                 $ . c o o k i e ( ' u i - t a b s '   +   $ . d a t a ( s e l f . e l e m e n t ) ,   s e l f . o p t i o n s . s e l e c t e d ,   o . c o o k i e ) ;   s e l f . $ p a n e l s . s t o p ( ) ;   i f   ( $ s h o w . l e n g t h )  
                         {  
                                 v a r   a   =   t h i s ;   s e l f . l o a d ( s e l f . $ t a b s . i n d e x ( t h i s ) ,   $ h i d e . l e n g t h   ?   f u n c t i o n ( )  
                                 {   s w i t c h T a b ( a ,   $ l i ,   $ h i d e ,   $ s h o w ) ;   }   :   f u n c t i o n ( )  
                                 {   $ l i . a d d C l a s s ( o . s e l e c t e d C l a s s ) ;   s h o w T a b ( a ,   $ s h o w ) ;   } ) ;  
                         }   e l s e  
                                 t h r o w   ' j Q u e r y   U I   T a b s :   M i s m a t c h i n g   f r a g m e n t   i d e n t i f i e r . ' ;   i f   ( $ . b r o w s e r . m s i e )  
                                 t h i s . b l u r ( ) ;   r e t u r n   f a l s e ;  
                 } ) ;   i f   ( ! ( / ^ c l i c k / ) . t e s t ( o . e v e n t ) )  
                         t h i s . $ t a b s . b i n d ( ' c l i c k . t a b s ' ,   f u n c t i o n ( )   {   r e t u r n   f a l s e ;   } ) ;  
         } ,   a d d :   f u n c t i o n ( u r l ,   l a b e l ,   i n d e x )  
         {  
                 i f   ( i n d e x   = =   u n d e f i n e d )  
                         i n d e x   =   t h i s . $ t a b s . l e n g t h ;   v a r   o   =   t h i s . o p t i o n s ;   v a r   $ l i   =   $ ( o . t a b T e m p l a t e . r e p l a c e ( / # \ { h r e f \ } / ,   u r l ) . r e p l a c e ( / # \ { l a b e l \ } / ,   l a b e l ) ) ;   $ l i . d a t a ( ' d e s t r o y . t a b s ' ,   t r u e ) ;   v a r   i d   =   u r l . i n d e x O f ( ' # ' )   = =   0   ?   u r l . r e p l a c e ( ' # ' ,   ' ' )   :   t h i s . t a b I d ( $ ( ' a : f i r s t - c h i l d ' ,   $ l i ) [ 0 ] ) ;   v a r   $ p a n e l   =   $ ( ' # '   +   i d ) ;   i f   ( ! $ p a n e l . l e n g t h )  
                 {   $ p a n e l   =   $ ( o . p a n e l T e m p l a t e ) . a t t r ( ' i d ' ,   i d ) . a d d C l a s s ( o . p a n e l C l a s s ) . a d d C l a s s ( o . h i d e C l a s s ) ;   $ p a n e l . d a t a ( ' d e s t r o y . t a b s ' ,   t r u e ) ;   }  
                 i f   ( i n d e x   > =   t h i s . $ l i s . l e n g t h )  
                 {   $ l i . a p p e n d T o ( t h i s . e l e m e n t ) ;   $ p a n e l . a p p e n d T o ( t h i s . e l e m e n t . p a r e n t N o d e ) ;   }   e l s e  
                 {   $ l i . i n s e r t B e f o r e ( t h i s . $ l i s [ i n d e x ] ) ;   $ p a n e l . i n s e r t B e f o r e ( t h i s . $ p a n e l s [ i n d e x ] ) ;   }  
                 o . d i s a b l e d   =   $ . m a p ( o . d i s a b l e d ,   f u n c t i o n ( n ,   i )   {   r e t u r n   n   > =   i n d e x   ?   + + n   :   n   } ) ;   t h i s . t a b i f y ( ) ;   i f   ( t h i s . $ t a b s . l e n g t h   = =   1 )  
                 {  
                         $ l i . a d d C l a s s ( o . s e l e c t e d C l a s s ) ;   $ p a n e l . r e m o v e C l a s s ( o . h i d e C l a s s ) ;   v a r   h r e f   =   $ . d a t a ( t h i s . $ t a b s [ 0 ] ,   ' l o a d . t a b s ' ) ;   i f   ( h r e f )  
                                 t h i s . l o a d ( i n d e x ,   h r e f ) ;  
                 }  
                 $ ( t h i s . e l e m e n t ) . t r i g g e r H a n d l e r ( ' t a b s a d d ' ,   [ t h i s . u i ( t h i s . $ t a b s [ i n d e x ] ,   t h i s . $ p a n e l s [ i n d e x ] ) ] ,   o . a d d ) ;  
         } ,   r e m o v e :   f u n c t i o n ( i n d e x )  
         {  
                 v a r   o   =   t h i s . o p t i o n s ,   $ l i   =   t h i s . $ l i s . e q ( i n d e x ) . r e m o v e ( ) ,   $ p a n e l   =   t h i s . $ p a n e l s . e q ( i n d e x ) . r e m o v e ( ) ;   i f   ( $ l i . h a s C l a s s ( o . s e l e c t e d C l a s s )   & &   t h i s . $ t a b s . l e n g t h   >   1 )  
                         t h i s . s e l e c t ( i n d e x   +   ( i n d e x   +   1   <   t h i s . $ t a b s . l e n g t h   ?   1   :   - 1 ) ) ;   o . d i s a b l e d   =   $ . m a p ( $ . g r e p ( o . d i s a b l e d ,   f u n c t i o n ( n ,   i )   {   r e t u r n   n   ! =   i n d e x ;   } ) ,   f u n c t i o n ( n ,   i )   {   r e t u r n   n   > =   i n d e x   ?   - - n   :   n   } ) ;   t h i s . t a b i f y ( ) ;   $ ( t h i s . e l e m e n t ) . t r i g g e r H a n d l e r ( ' t a b s r e m o v e ' ,   [ t h i s . u i ( $ l i . f i n d ( ' a ' ) [ 0 ] ,   $ p a n e l [ 0 ] ) ] ,   o . r e m o v e ) ;  
         } ,   e n a b l e :   f u n c t i o n ( i n d e x )  
         {  
                 v a r   o   =   t h i s . o p t i o n s ;   i f   ( $ . i n A r r a y ( i n d e x ,   o . d i s a b l e d )   = =   - 1 )  
                         r e t u r n ;   v a r   $ l i   =   t h i s . $ l i s . e q ( i n d e x ) . r e m o v e C l a s s ( o . d i s a b l e d C l a s s ) ;   i f   ( $ . b r o w s e r . s a f a r i )  
                 {  
                         $ l i . c s s ( ' d i s p l a y ' ,   ' i n l i n e - b l o c k ' ) ;   s e t T i m e o u t ( f u n c t i o n ( )  
                         {   $ l i . c s s ( ' d i s p l a y ' ,   ' b l o c k ' ) ;   } ,   0 ) ;  
                 }  
                 o . d i s a b l e d   =   $ . g r e p ( o . d i s a b l e d ,   f u n c t i o n ( n ,   i )   {   r e t u r n   n   ! =   i n d e x ;   } ) ;   $ ( t h i s . e l e m e n t ) . t r i g g e r H a n d l e r ( ' t a b s e n a b l e ' ,   [ t h i s . u i ( t h i s . $ t a b s [ i n d e x ] ,   t h i s . $ p a n e l s [ i n d e x ] ) ] ,   o . e n a b l e ) ;  
         } ,   d i s a b l e :   f u n c t i o n ( i n d e x )  
         {  
                 v a r   s e l f   =   t h i s ,   o   =   t h i s . o p t i o n s ;   i f   ( i n d e x   ! =   o . s e l e c t e d )  
                 {   t h i s . $ l i s . e q ( i n d e x ) . a d d C l a s s ( o . d i s a b l e d C l a s s ) ;   o . d i s a b l e d . p u s h ( i n d e x ) ;   o . d i s a b l e d . s o r t ( ) ;   $ ( t h i s . e l e m e n t ) . t r i g g e r H a n d l e r ( ' t a b s d i s a b l e ' ,   [ t h i s . u i ( t h i s . $ t a b s [ i n d e x ] ,   t h i s . $ p a n e l s [ i n d e x ] ) ] ,   o . d i s a b l e ) ;   }    
         } ,   s e l e c t :   f u n c t i o n ( i n d e x )  
         {  
                 i f   ( t y p e o f   i n d e x   = =   ' s t r i n g ' )  
                         i n d e x   =   t h i s . $ t a b s . i n d e x ( t h i s . $ t a b s . f i l t e r ( ' [ h r e f $ = '   +   i n d e x   +   ' ] ' ) [ 0 ] ) ;   t h i s . $ t a b s . e q ( i n d e x ) . t r i g g e r ( t h i s . o p t i o n s . e v e n t ) ;  
         } ,   l o a d :   f u n c t i o n ( i n d e x ,   c a l l b a c k )  
         {  
                 v a r   s e l f   =   t h i s ,   o   =   t h i s . o p t i o n s ,   $ a   =   t h i s . $ t a b s . e q ( i n d e x ) ,   a   =   $ a [ 0 ] ,   b y p a s s C a c h e   =   c a l l b a c k   = =   u n d e f i n e d   | |   c a l l b a c k   = = =   f a l s e ,   u r l   =   $ a . d a t a ( ' l o a d . t a b s ' ) ;   c a l l b a c k   =   c a l l b a c k   | |   f u n c t i o n ( )   {   } ;   i f   ( ! u r l   | |   ( $ . d a t a ( a ,   ' c a c h e . t a b s ' )   & &   ! b y p a s s C a c h e ) )  
                 {   c a l l b a c k ( ) ;   r e t u r n ;   }  
                 i f   ( o . s p i n n e r )  
                 {   v a r   $ s p a n   =   $ ( ' s p a n ' ,   a ) ;   $ s p a n . d a t a ( ' l a b e l . t a b s ' ,   $ s p a n . h t m l ( ) ) . h t m l ( ' < e m > '   +   o . s p i n n e r   +   ' < / e m > ' ) ;   }  
                 v a r   f i n i s h   =   f u n c t i o n ( )  
                 {  
                         s e l f . $ t a b s . f i l t e r ( ' . '   +   o . l o a d i n g C l a s s ) . e a c h ( f u n c t i o n ( )  
                         {  
                                 $ ( t h i s ) . r e m o v e C l a s s ( o . l o a d i n g C l a s s ) ;   i f   ( o . s p i n n e r )  
                                 {   v a r   $ s p a n   =   $ ( ' s p a n ' ,   t h i s ) ;   $ s p a n . h t m l ( $ s p a n . d a t a ( ' l a b e l . t a b s ' ) ) . r e m o v e D a t a ( ' l a b e l . t a b s ' ) ;   }    
                         } ) ;   s e l f . x h r   =   n u l l ;  
                 } ;   v a r   a j a x O p t i o n s   =   $ . e x t e n d ( { } ,   o . a j a x O p t i o n s ,   {   u r l :   u r l ,   s u c c e s s :   f u n c t i o n ( r ,   s )  
                 {  
                         $ ( a . h a s h ) . h t m l ( r ) ;   f i n i s h ( ) ;   c a l l b a c k ( ) ;   i f   ( o . c a c h e )  
                                 $ . d a t a ( a ,   ' c a c h e . t a b s ' ,   t r u e ) ;   $ ( s e l f . e l e m e n t ) . t r i g g e r H a n d l e r ( ' t a b s l o a d ' ,   [ s e l f . u i ( s e l f . $ t a b s [ i n d e x ] ,   s e l f . $ p a n e l s [ i n d e x ] ) ] ,   o . l o a d ) ;   o . a j a x O p t i o n s . s u c c e s s   & &   o . a j a x O p t i o n s . s u c c e s s ( r ,   s ) ;  
                 }    
                 } ) ;   i f   ( t h i s . x h r )  
                 {   t h i s . x h r . a b o r t ( ) ;   f i n i s h ( ) ;   }  
                 $ a . a d d C l a s s ( o . l o a d i n g C l a s s ) ;   s e t T i m e o u t ( f u n c t i o n ( )  
                 {   s e l f . x h r   =   $ . a j a x ( a j a x O p t i o n s ) ;   } ,   0 ) ;  
         } ,   u r l :   f u n c t i o n ( i n d e x ,   u r l )  
         {   t h i s . $ t a b s . e q ( i n d e x ) . r e m o v e D a t a ( ' c a c h e . t a b s ' ) . d a t a ( ' l o a d . t a b s ' ,   u r l ) ;   } ,   d e s t r o y :   f u n c t i o n ( )  
         {  
                 v a r   o   =   t h i s . o p t i o n s ;   $ ( t h i s . e l e m e n t ) . u n b i n d ( ' . t a b s ' ) . r e m o v e C l a s s ( o . n a v C l a s s ) . r e m o v e D a t a ( ' t a b s ' ) ;   t h i s . $ t a b s . e a c h ( f u n c t i o n ( )  
                 {  
                         v a r   h r e f   =   $ . d a t a ( t h i s ,   ' h r e f . t a b s ' ) ;   i f   ( h r e f )  
                                 t h i s . h r e f   =   h r e f ;   v a r   $ t h i s   =   $ ( t h i s ) . u n b i n d ( ' . t a b s ' ) ;   $ . e a c h ( [ ' h r e f ' ,   ' l o a d ' ,   ' c a c h e ' ] ,   f u n c t i o n ( i ,   p r e f i x )  
                                 {   $ t h i s . r e m o v e D a t a ( p r e f i x   +   ' . t a b s ' ) ;   } ) ;  
                 } ) ;   t h i s . $ l i s . a d d ( t h i s . $ p a n e l s ) . e a c h ( f u n c t i o n ( )  
                 {  
                         i f   ( $ . d a t a ( t h i s ,   ' d e s t r o y . t a b s ' ) )  
                                 $ ( t h i s ) . r e m o v e ( ) ;   e l s e  
                                 $ ( t h i s ) . r e m o v e C l a s s ( [ o . s e l e c t e d C l a s s ,   o . u n s e l e c t C l a s s ,   o . d i s a b l e d C l a s s ,   o . p a n e l C l a s s ,   o . h i d e C l a s s ] . j o i n ( '   ' ) ) ;  
                 } ) ;  
         }    
         } ) ;  
 } ) ( j Q u e r y ) ;   ( f u n c t i o n ( $ )   {   $ . f n . b g I f r a m e   =   j Q u e r y . f n . b g i f r a m e   =   f u n c t i o n ( s )   {   i f   ( ! ( $ . b r o w s e r . m s i e   & &   t y p e o f   X M L H t t p R e q u e s t   = =   ' f u n c t i o n ' ) )   r e t u r n   t h i s ;   s   =   $ . e x t e n d ( {   t o p :   ' a u t o ' ,   l e f t :   ' a u t o ' ,   w i d t h :   ' a u t o ' ,   h e i g h t :   ' a u t o ' ,   o p a c i t y :   t r u e ,   s r c :   ' j a v a s c r i p t : f a l s e ; '   } ,   s   | |   { } ) ;   v a r   p r o p   =   f u n c t i o n ( n )   {   r e t u r n   n   & &   n . c o n s t r u c t o r   = =   N u m b e r   ?   n   +   ' p x '   :   n ;   } ,   h t m l   =   ' < i f r a m e   c l a s s = " b g i f r a m e " f r a m e b o r d e r = " 0 " t a b i n d e x = " - 1 " s r c = " '   +   s . s r c   +   ' " s t y l e = " d i s p l a y : b l o c k ; p o s i t i o n : a b s o l u t e ; z - i n d e x : - 1 ; '   +   ( s . o p a c i t y   ! = =   f a l s e   ?   ' f i l t e r : A l p h a ( O p a c i t y = \ ' 0 \ ' ) ; '   :   ' ' )   +   ' t o p : '   +   ( s . t o p   = =   ' a u t o '   ?   ' e x p r e s s i o n ( ( ( p a r s e I n t ( t h i s . p a r e n t N o d e . c u r r e n t S t y l e . b o r d e r T o p W i d t h ) | | 0 ) * - 1 ) + \ ' p x \ ' ) '   :   p r o p ( s . t o p ) )   +   ' ; l e f t : '   +   ( s . l e f t   = =   ' a u t o '   ?   ' e x p r e s s i o n ( ( ( p a r s e I n t ( t h i s . p a r e n t N o d e . c u r r e n t S t y l e . b o r d e r L e f t W i d t h ) | | 0 ) * - 1 ) + \ ' p x \ ' ) '   :   p r o p ( s . l e f t ) )   +   ' ; w i d t h : '   +   ( s . w i d t h   = =   ' a u t o '   ?   ' e x p r e s s i o n ( t h i s . p a r e n t N o d e . o f f s e t W i d t h + \ ' p x \ ' ) '   :   p r o p ( s . w i d t h ) )   +   ' ; h e i g h t : '   +   ( s . h e i g h t   = =   ' a u t o '   ?   ' e x p r e s s i o n ( t h i s . p a r e n t N o d e . o f f s e t H e i g h t + \ ' p x \ ' ) '   :   p r o p ( s . h e i g h t ) )   +   ' ; " / > ' ;   r e t u r n   t h i s . e a c h ( f u n c t i o n ( )   {   i f   ( ! $ ( ' i f r a m e . b g i f r a m e ' ,   t h i s ) [ 0 ] )   t h i s . i n s e r t B e f o r e ( d o c u m e n t . c r e a t e E l e m e n t ( h t m l ) ,   t h i s . f i r s t C h i l d ) ;   } ) ;   } ;   } ) ( j Q u e r y ) ;   ( f u n c t i o n ( $ )  
 {  
         $ . f n . j c a r o u s e l   =   f u n c t i o n ( o )  
         {  
                 r e t u r n   t h i s . e a c h ( f u n c t i o n ( )  
                 {   n e w   $ j c ( t h i s ,   o ) ;   } ) ;  
         } ;   v a r   d e f a u l t s   =   {   v e r t i c a l :   f a l s e ,   s t a r t :   1 ,   o f f s e t :   1 ,   s i z e :   n u l l ,   s c r o l l :   3 ,   v i s i b l e :   n u l l ,   a n i m a t i o n :   ' n o r m a l ' ,   e a s i n g :   ' s w i n g ' ,   a u t o :   0 ,   w r a p :   ' l a s t ' ,   i n i t C a l l b a c k :   n u l l ,   r e l o a d C a l l b a c k :   n u l l ,   i t e m L o a d C a l l b a c k :   n u l l ,   i t e m F i r s t I n C a l l b a c k :   n u l l ,   i t e m F i r s t O u t C a l l b a c k :   n u l l ,   i t e m L a s t I n C a l l b a c k :   n u l l ,   i t e m L a s t O u t C a l l b a c k :   n u l l ,   i t e m V i s i b l e I n C a l l b a c k :   n u l l ,   i t e m V i s i b l e O u t C a l l b a c k :   n u l l ,   b u t t o n N e x t H T M L :   ' < d i v > < / d i v > ' ,   b u t t o n P r e v H T M L :   ' < d i v > < / d i v > ' ,   b u t t o n N e x t E v e n t :   ' c l i c k ' ,   b u t t o n P r e v E v e n t :   ' c l i c k ' ,   b u t t o n N e x t C a l l b a c k :   n u l l ,   b u t t o n P r e v C a l l b a c k :   n u l l ,   s h o w P r e v N e x t L i n k s :   t r u e ,   v i s i b l e P a g e :   0 ,   l a s t P a g e :   0 ,   f r o m P a g e D o t s :   f a l s e ,   c a c h e I d :   n u l l   } ;   $ . j c a r o u s e l   =   f u n c t i o n ( e ,   o )  
         {  
                 t h i s . o p t i o n s   =   $ . e x t e n d ( { } ,   d e f a u l t s ,   o   | |   { } ) ;   t h i s . l o c k e d   =   f a l s e ;   t h i s . c o n t a i n e r   =   n u l l ;   t h i s . c l i p   =   n u l l ;   t h i s . l i s t   =   n u l l ;   t h i s . b u t t o n N e x t   =   n u l l ;   t h i s . b u t t o n P r e v   =   n u l l ;   t h i s . w h   =   ! t h i s . o p t i o n s . v e r t i c a l   ?   ' w i d t h '   :   ' h e i g h t ' ;   t h i s . l t   =   ! t h i s . o p t i o n s . v e r t i c a l   ?   ' l e f t '   :   ' t o p ' ;   v a r   s k i n   =   ' ' ,   s p l i t   =   e . c l a s s N a m e . s p l i t ( '   ' ) ;   f o r   ( v a r   i   =   0 ;   i   <   s p l i t . l e n g t h ;   i + + )  
                 {  
                         i f   ( s p l i t [ i ] . i n d e x O f ( ' j c a r o u s e l - s k i n ' )   ! =   - 1 )  
                         {   $ ( e ) . r e m o v e C l a s s ( s p l i t [ i ] ) ;   v a r   s k i n   =   s p l i t [ i ] ;   b r e a k ;   }    
                 }  
                 i f   ( e . n o d e N a m e   = =   ' U L '   | |   e . n o d e N a m e   = =   ' O L ' )  
                 {  
                         t h i s . l i s t   =   $ ( e ) ;   t h i s . c o n t a i n e r   =   t h i s . l i s t . p a r e n t ( ) ;   i f   ( t h i s . c o n t a i n e r . h a s C l a s s ( ' j c a r o u s e l - c l i p ' ) )  
                         {  
                                 i f   ( ! t h i s . c o n t a i n e r . p a r e n t ( ) . h a s C l a s s ( ' j c a r o u s e l - c o n t a i n e r ' ) )  
                                         t h i s . c o n t a i n e r   =   t h i s . c o n t a i n e r . w r a p ( ' < d i v > < / d i v > ' ) ;   t h i s . c o n t a i n e r   =   t h i s . c o n t a i n e r . p a r e n t ( ) ;  
                         }   e l s e   i f   ( ! t h i s . c o n t a i n e r . h a s C l a s s ( ' j c a r o u s e l - c o n t a i n e r ' ) )  
                                 t h i s . c o n t a i n e r   =   t h i s . l i s t . w r a p ( ' < d i v > < / d i v > ' ) . p a r e n t ( ) ;  
                 }   e l s e  
                 {   t h i s . c o n t a i n e r   =   $ ( e ) ;   t h i s . l i s t   =   $ ( e ) . f i n d ( ' > u l , > o l , d i v > u l , d i v > o l ' ) ;   }  
                 i f   ( s k i n   ! =   ' '   & &   t h i s . c o n t a i n e r . p a r e n t ( ) [ 0 ] . c l a s s N a m e . i n d e x O f ( ' j c a r o u s e l - s k i n ' )   = =   - 1 )  
                         t h i s . c o n t a i n e r . w r a p ( ' < d i v   c l a s s = "   '   +   s k i n   +   ' " > < / d i v > ' ) ;   t h i s . c l i p   =   t h i s . l i s t . p a r e n t ( ) ;   i f   ( ! t h i s . c l i p . l e n g t h   | |   ! t h i s . c l i p . h a s C l a s s ( ' j c a r o u s e l - c l i p ' ) )  
                         t h i s . c l i p   =   t h i s . l i s t . w r a p ( ' < d i v > < / d i v > ' ) . p a r e n t ( ) ;   i f   ( t h i s . o p t i o n s . s h o w P r e v N e x t L i n k s )  
                 {  
                         t h i s . b u t t o n P r e v   =   $ ( ' . j c a r o u s e l - p r e v ' ,   t h i s . c o n t a i n e r ) ;   i f   ( t h i s . b u t t o n P r e v . s i z e ( )   = =   0   & &   t h i s . o p t i o n s . b u t t o n P r e v H T M L   ! =   n u l l )  
                                 t h i s . b u t t o n P r e v   =   t h i s . c l i p . b e f o r e ( t h i s . o p t i o n s . b u t t o n P r e v H T M L ) . p r e v ( ) ;   t h i s . b u t t o n P r e v . a d d C l a s s ( t h i s . c l a s s N a m e ( ' j c a r o u s e l - p r e v ' ) ) ;   t h i s . b u t t o n N e x t   =   $ ( ' . j c a r o u s e l - n e x t ' ,   t h i s . c o n t a i n e r ) ;   i f   ( t h i s . b u t t o n N e x t . s i z e ( )   = =   0   & &   t h i s . o p t i o n s . b u t t o n N e x t H T M L   ! =   n u l l )  
                                 t h i s . b u t t o n N e x t   =   t h i s . c l i p . b e f o r e ( t h i s . o p t i o n s . b u t t o n N e x t H T M L ) . p r e v ( ) ;   t h i s . b u t t o n N e x t . a d d C l a s s ( t h i s . c l a s s N a m e ( ' j c a r o u s e l - n e x t ' ) ) ;  
                 }  
                 t h i s . c l i p . a d d C l a s s ( t h i s . c l a s s N a m e ( ' j c a r o u s e l - c l i p ' ) ) ;   t h i s . l i s t . a d d C l a s s ( t h i s . c l a s s N a m e ( ' j c a r o u s e l - l i s t ' ) ) ;   t h i s . c o n t a i n e r . a d d C l a s s ( t h i s . c l a s s N a m e ( ' j c a r o u s e l - c o n t a i n e r ' ) ) ;   v a r   d i   =   t h i s . o p t i o n s . v i s i b l e   ! =   n u l l   ?   M a t h . c e i l ( t h i s . c l i p p i n g ( )   /   t h i s . o p t i o n s . v i s i b l e )   :   n u l l ;   v a r   l i   =   t h i s . l i s t . c h i l d r e n ( ' l i ' ) ;   v a r   s e l f   =   t h i s ;   i f   ( l i . s i z e ( )   >   0 )  
                 {  
                         v a r   w h   =   0 ,   i   =   t h i s . o p t i o n s . o f f s e t ;   l i . e a c h ( f u n c t i o n ( )  
                         {   s e l f . f o r m a t ( t h i s ,   i + + ) ;   w h   + =   s e l f . d i m e n s i o n ( t h i s ,   d i ) ;   } ) ;   t h i s . l i s t . c s s ( t h i s . w h ,   w h   +   ' p x ' ) ;   i f   ( ! o   | |   o . s i z e   = = =   u n d e f i n e d )  
                                 t h i s . o p t i o n s . s i z e   =   l i . s i z e ( ) ;  
                 }  
                 t h i s . c o n t a i n e r . c s s ( ' d i s p l a y ' ,   ' b l o c k ' ) ;   i f   ( t h i s . b u t t o n N e x t )  
                 {   t h i s . b u t t o n N e x t . c s s ( ' d i s p l a y ' ,   ' b l o c k ' ) ;   t h i s . f u n c N e x t   =   f u n c t i o n ( )   {   s e l f . n e x t ( ) ;   } ;   }  
                 i f   ( t h i s . b u t t o n P r e v )  
                 {   t h i s . b u t t o n P r e v . c s s ( ' d i s p l a y ' ,   ' b l o c k ' ) ;   t h i s . f u n c P r e v   =   f u n c t i o n ( )   {   s e l f . p r e v ( ) ;   } ;   }  
                 t h i s . f u n c R e s i z e   =   f u n c t i o n ( )   {   s e l f . r e l o a d ( ) ;   } ;   i f   ( t h i s . o p t i o n s . i n i t C a l l b a c k   ! =   n u l l )  
                         t h i s . o p t i o n s . i n i t C a l l b a c k ( t h i s ,   ' i n i t ' ) ;   i f   ( $ . b r o w s e r . s a f a r i )  
                 {   t h i s . b u t t o n s ( f a l s e ,   f a l s e ) ;   $ ( w i n d o w ) . b i n d ( ' l o a d ' ,   f u n c t i o n ( )   {   s e l f . s e t u p ( ) ;   } ) ;   }   e l s e  
                         t h i s . s e t u p ( ) ;  
         } ;   v a r   $ j c   =   $ . j c a r o u s e l ;   $ j c . f n   =   $ j c . p r o t o t y p e   =   {   j c a r o u s e l :   ' 0 . 2 . 3 '   } ;   $ j c . f n . e x t e n d   =   $ j c . e x t e n d   =   $ . e x t e n d ;   $ j c . f n . e x t e n d ( {   s e t u p :   f u n c t i o n ( )  
         {  
                 t h i s . f i r s t   =   n u l l ;   t h i s . l a s t   =   n u l l ;   t h i s . p r e v F i r s t   =   n u l l ;   t h i s . p r e v L a s t   =   n u l l ;   t h i s . a n i m a t i n g   =   f a l s e ;   t h i s . t i m e r   =   n u l l ;   t h i s . t a i l   =   n u l l ;   t h i s . i n T a i l   =   f a l s e ;   i f   ( t h i s . l o c k e d )  
                         r e t u r n ;   t h i s . l i s t . c s s ( t h i s . l t ,   t h i s . p o s ( t h i s . o p t i o n s . o f f s e t )   +   ' p x ' ) ;   v a r   p   =   t h i s . p o s ( t h i s . o p t i o n s . s t a r t ) ;   t h i s . p r e v F i r s t   =   t h i s . p r e v L a s t   =   n u l l ;   t h i s . a n i m a t e ( p ,   f a l s e ) ;   $ ( w i n d o w ) . u n b i n d ( ' r e s i z e ' ,   t h i s . f u n c R e s i z e ) . b i n d ( ' r e s i z e ' ,   t h i s . f u n c R e s i z e ) ;  
         } ,   r e s e t :   f u n c t i o n ( )  
         {  
                 t h i s . l i s t . e m p t y ( ) ;   t h i s . l i s t . c s s ( t h i s . l t ,   ' 0 p x ' ) ;   t h i s . l i s t . c s s ( t h i s . w h ,   ' 1 0 p x ' ) ;   i f   ( t h i s . o p t i o n s . i n i t C a l l b a c k   ! =   n u l l )  
                         t h i s . o p t i o n s . i n i t C a l l b a c k ( t h i s ,   ' r e s e t ' ) ;   t h i s . s e t u p ( ) ;  
         } ,   r e l o a d :   f u n c t i o n ( )  
         {  
                 i f   ( t h i s . t a i l   ! =   n u l l   & &   t h i s . i n T a i l )  
                         t h i s . l i s t . c s s ( t h i s . l t ,   $ j c . i n t v a l ( t h i s . l i s t . c s s ( t h i s . l t ) )   +   t h i s . t a i l ) ;   t h i s . t a i l   =   n u l l ;   t h i s . i n T a i l   =   f a l s e ;   i f   ( t h i s . o p t i o n s . r e l o a d C a l l b a c k   ! =   n u l l )  
                         t h i s . o p t i o n s . r e l o a d C a l l b a c k ( t h i s ) ;   i f   ( t h i s . o p t i o n s . v i s i b l e   ! =   n u l l )  
                 {  
                         v a r   s e l f   =   t h i s ;   v a r   d i   =   M a t h . c e i l ( t h i s . c l i p p i n g ( )   /   t h i s . o p t i o n s . v i s i b l e ) ,   w h   =   0 ,   l t   =   0 ;   $ ( ' l i ' ,   t h i s . l i s t ) . e a c h ( f u n c t i o n ( i )  
                         {  
                                 w h   + =   s e l f . d i m e n s i o n ( t h i s ,   d i ) ;   i f   ( i   +   1   <   s e l f . f i r s t )  
                                         l t   =   w h ;  
                         } ) ;   t h i s . l i s t . c s s ( t h i s . w h ,   w h   +   ' p x ' ) ;   t h i s . l i s t . c s s ( t h i s . l t ,   - l t   +   ' p x ' ) ;  
                 }  
                 t h i s . s c r o l l ( t h i s . f i r s t ,   f a l s e ) ;  
         } ,   l o c k :   f u n c t i o n ( )  
         {   t h i s . l o c k e d   =   t r u e ;   t h i s . b u t t o n s ( ) ;   } ,   u n l o c k :   f u n c t i o n ( )  
         {   t h i s . l o c k e d   =   f a l s e ;   t h i s . b u t t o n s ( ) ;   } ,   s i z e :   f u n c t i o n ( s )  
         {  
                 i f   ( s   ! =   u n d e f i n e d )  
                 {  
                         t h i s . o p t i o n s . s i z e   =   s ;   i f   ( ! t h i s . l o c k e d )  
                                 t h i s . b u t t o n s ( ) ;  
                 }  
                 r e t u r n   t h i s . o p t i o n s . s i z e ;  
         } ,   h a s :   f u n c t i o n ( i ,   i 2 )  
         {  
                 i f   ( i 2   = =   u n d e f i n e d   | |   ! i 2 )  
                         i 2   =   i ;   i f   ( t h i s . o p t i o n s . s i z e   ! = =   n u l l   & &   i 2   >   t h i s . o p t i o n s . s i z e )  
                         i 2   =   t h i s . o p t i o n s . s i z e ;   f o r   ( v a r   j   =   i ;   j   < =   i 2 ;   j + + )  
                 {  
                         v a r   e   =   t h i s . g e t ( j ) ;   i f   ( ! e . l e n g t h   | |   e . h a s C l a s s ( ' j c a r o u s e l - i t e m - p l a c e h o l d e r ' ) )  
                                 r e t u r n   f a l s e ;  
                 }  
                 r e t u r n   t r u e ;  
         } ,   g e t :   f u n c t i o n ( i )  
         {   r e t u r n   $ ( ' . j c a r o u s e l - i t e m - '   +   i ,   t h i s . l i s t ) ;   } ,   a d d :   f u n c t i o n ( i ,   s )  
         {  
                 v a r   e   =   t h i s . g e t ( i ) ,   o l d   =   0 ,   a d d   =   0 ;   i f   ( e . l e n g t h   = =   0 )  
                 {  
                         v a r   c ,   e   =   t h i s . c r e a t e ( i ) ,   j   =   $ j c . i n t v a l ( i ) ;   w h i l e   ( c   =   t h i s . g e t ( - - j ) )  
                         {  
                                 i f   ( j   < =   0   | |   c . l e n g t h )  
                                 {   j   < =   0   ?   t h i s . l i s t . p r e p e n d ( e )   :   c . a f t e r ( e ) ;   b r e a k ;   }    
                         }    
                 }   e l s e  
                         o l d   =   t h i s . d i m e n s i o n ( e ) ;   e . r e m o v e C l a s s ( t h i s . c l a s s N a m e ( ' j c a r o u s e l - i t e m - p l a c e h o l d e r ' ) ) ;   t y p e o f   s   = =   ' s t r i n g '   ?   e . h t m l ( s )   :   e . e m p t y ( ) . a p p e n d ( s ) ;   v a r   d i   =   t h i s . o p t i o n s . v i s i b l e   ! =   n u l l   ?   M a t h . c e i l ( t h i s . c l i p p i n g ( )   /   t h i s . o p t i o n s . v i s i b l e )   :   n u l l ;   v a r   w h   =   t h i s . d i m e n s i o n ( e ,   d i )   -   o l d ;   i f   ( i   >   0   & &   i   <   t h i s . f i r s t )  
                         t h i s . l i s t . c s s ( t h i s . l t ,   $ j c . i n t v a l ( t h i s . l i s t . c s s ( t h i s . l t ) )   -   w h   +   ' p x ' ) ;   t h i s . l i s t . c s s ( t h i s . w h ,   $ j c . i n t v a l ( t h i s . l i s t . c s s ( t h i s . w h ) )   +   w h   +   ' p x ' ) ;   r e t u r n   e ;  
         } ,   r e m o v e :   f u n c t i o n ( i )  
         {  
                 v a r   e   =   t h i s . g e t ( i ) ;   i f   ( ! e . l e n g t h   | |   ( i   > =   t h i s . f i r s t   & &   i   < =   t h i s . l a s t ) )  
                         r e t u r n ;   v a r   d   =   t h i s . d i m e n s i o n ( e ) ;   i f   ( i   <   t h i s . f i r s t )  
                         t h i s . l i s t . c s s ( t h i s . l t ,   $ j c . i n t v a l ( t h i s . l i s t . c s s ( t h i s . l t ) )   +   d   +   ' p x ' ) ;   e . r e m o v e ( ) ;   t h i s . l i s t . c s s ( t h i s . w h ,   $ j c . i n t v a l ( t h i s . l i s t . c s s ( t h i s . w h ) )   -   d   +   ' p x ' ) ;  
         } ,   n e x t :   f u n c t i o n ( )  
         {  
                 t h i s . s t o p A u t o ( ) ;   i f   ( t h i s . t a i l   ! =   n u l l   & &   ! t h i s . i n T a i l )  
                         t h i s . s c r o l l T a i l ( f a l s e ) ;   e l s e  
                         t h i s . s c r o l l ( ( ( t h i s . o p t i o n s . w r a p   = =   ' b o t h '   | |   t h i s . o p t i o n s . w r a p   = =   ' l a s t ' )   & &   t h i s . o p t i o n s . s i z e   ! =   n u l l   & &   t h i s . l a s t   = =   t h i s . o p t i o n s . s i z e )   ?   1   :   t h i s . f i r s t   +   t h i s . o p t i o n s . s c r o l l ) ;  
         } ,   p r e v :   f u n c t i o n ( )  
         {  
                 t h i s . s t o p A u t o ( ) ;   i f   ( t h i s . t a i l   ! =   n u l l   & &   t h i s . i n T a i l )  
                         t h i s . s c r o l l T a i l ( t r u e ) ;   e l s e  
                         t h i s . s c r o l l ( ( ( t h i s . o p t i o n s . w r a p   = =   ' b o t h '   | |   t h i s . o p t i o n s . w r a p   = =   ' f i r s t ' )   & &   t h i s . o p t i o n s . s i z e   ! =   n u l l   & &   t h i s . f i r s t   = =   1 )   ?   t h i s . o p t i o n s . s i z e   :   t h i s . f i r s t   -   t h i s . o p t i o n s . s c r o l l ) ;  
         } ,   s c r o l l T a i l :   f u n c t i o n ( b )  
         {  
                 i f   ( t h i s . l o c k e d   | |   t h i s . a n i m a t i n g   | |   ! t h i s . t a i l )  
                         r e t u r n ;   v a r   p o s   =   $ j c . i n t v a l ( t h i s . l i s t . c s s ( t h i s . l t ) ) ;   ! b   ?   p o s   - =   t h i s . t a i l   :   p o s   + =   t h i s . t a i l ;   t h i s . i n T a i l   =   ! b ;   t h i s . p r e v F i r s t   =   t h i s . f i r s t ;   t h i s . p r e v L a s t   =   t h i s . l a s t ;   t h i s . a n i m a t e ( p o s ) ;  
         } ,   s c r o l l :   f u n c t i o n ( i ,   a )  
         {  
                 i f   ( t h i s . l o c k e d   | |   t h i s . a n i m a t i n g )  
                         r e t u r n ;   t h i s . a n i m a t e ( t h i s . p o s ( i ) ,   a ) ;  
         } ,   p o s :   f u n c t i o n ( i )  
         {  
                 i f   ( t h i s . l o c k e d   | |   t h i s . a n i m a t i n g )  
                         r e t u r n ;   i f   ( t h i s . o p t i o n s . w r a p   ! =   ' c i r c u l a r ' )  
                         i   =   i   <   1   ?   1   :   ( t h i s . o p t i o n s . s i z e   & &   i   >   t h i s . o p t i o n s . s i z e   ?   t h i s . o p t i o n s . s i z e   :   i ) ;   v a r   b a c k   =   t h i s . f i r s t   >   i ;   v a r   p o s   =   $ j c . i n t v a l ( t h i s . l i s t . c s s ( t h i s . l t ) ) ;   v a r   f   =   t h i s . o p t i o n s . w r a p   ! =   ' c i r c u l a r '   & &   t h i s . f i r s t   < =   1   ?   1   :   t h i s . f i r s t ;   v a r   c   =   b a c k   ?   t h i s . g e t ( f )   :   t h i s . g e t ( t h i s . l a s t ) ;   v a r   j   =   b a c k   ?   f   :   f   -   1 ;   v a r   e   =   n u l l ,   l   =   0 ,   p   =   f a l s e ,   d   =   0 ;   w h i l e   ( b a c k   ?   - - j   > =   i   :   + + j   <   i )  
                 {  
                         e   =   t h i s . g e t ( j ) ;   p   =   ! e . l e n g t h ;   i f   ( e . l e n g t h   = =   0 )  
                         {   e   =   t h i s . c r e a t e ( j ) . a d d C l a s s ( t h i s . c l a s s N a m e ( ' j c a r o u s e l - i t e m - p l a c e h o l d e r ' ) ) ;   c [ b a c k   ?   ' b e f o r e '   :   ' a f t e r ' ] ( e ) ;   }  
                         c   =   e ;   d   =   t h i s . d i m e n s i o n ( e ) ;   i f   ( p )  
                                 l   + =   d ;   i f   ( t h i s . f i r s t   ! =   n u l l   & &   ( t h i s . o p t i o n s . w r a p   = =   ' c i r c u l a r '   | |   ( j   > =   1   & &   ( t h i s . o p t i o n s . s i z e   = =   n u l l   | |   j   < =   t h i s . o p t i o n s . s i z e ) ) ) )  
                                 p o s   =   b a c k   ?   p o s   +   d   :   p o s   -   d ;  
                 }  
                 v a r   c l i p p i n g   =   t h i s . c l i p p i n g ( ) ;   v a r   c a c h e   =   [ ] ;   v a r   v i s i b l e   =   0 ,   j   =   i ,   v   =   0 ;   v a r   c   =   t h i s . g e t ( i   -   1 ) ;   w h i l e   ( + + v i s i b l e )  
                 {  
                         e   =   t h i s . g e t ( j ) ;   p   =   ! e . l e n g t h ;   i f   ( e . l e n g t h   = =   0 )  
                         {   e   =   t h i s . c r e a t e ( j ) . a d d C l a s s ( t h i s . c l a s s N a m e ( ' j c a r o u s e l - i t e m - p l a c e h o l d e r ' ) ) ;   c . l e n g t h   = =   0   ?   t h i s . l i s t . p r e p e n d ( e )   :   c [ b a c k   ?   ' b e f o r e '   :   ' a f t e r ' ] ( e ) ;   }  
                         c   =   e ;   v a r   d   =   t h i s . d i m e n s i o n ( e ) ;   i f   ( d   = =   0 )  
                         {   r e t u r n   0 ;   }  
                         i f   ( t h i s . o p t i o n s . w r a p   ! =   ' c i r c u l a r '   & &   t h i s . o p t i o n s . s i z e   ! = =   n u l l   & &   j   >   t h i s . o p t i o n s . s i z e )  
                                 c a c h e . p u s h ( e ) ;   e l s e   i f   ( p )  
                                 l   + =   d ;   v   + =   d ;   i f   ( v   > =   c l i p p i n g )  
                                 b r e a k ;   j + + ;  
                 }  
                 f o r   ( v a r   x   =   0 ;   x   <   c a c h e . l e n g t h ;   x + + )  
                         c a c h e [ x ] . r e m o v e ( ) ;   i f   ( l   >   0 )  
                 {  
                         t h i s . l i s t . c s s ( t h i s . w h ,   t h i s . d i m e n s i o n ( t h i s . l i s t )   +   l   +   ' p x ' ) ;   i f   ( b a c k )  
                         {   p o s   - =   l ;   t h i s . l i s t . c s s ( t h i s . l t ,   $ j c . i n t v a l ( t h i s . l i s t . c s s ( t h i s . l t ) )   -   l   +   ' p x ' ) ;   }    
                 }  
                 v a r   l a s t   =   i   +   v i s i b l e   -   1 ;   i f   ( t h i s . o p t i o n s . w r a p   ! =   ' c i r c u l a r '   & &   t h i s . o p t i o n s . s i z e   & &   l a s t   >   t h i s . o p t i o n s . s i z e )  
                         l a s t   =   t h i s . o p t i o n s . s i z e ;   i f   ( j   >   l a s t )  
                 {  
                         v i s i b l e   =   0 ,   j   =   l a s t ,   v   =   0 ;   w h i l e   ( + + v i s i b l e )  
                         {  
                                 v a r   e   =   t h i s . g e t ( j - - ) ;   i f   ( ! e . l e n g t h )  
                                         b r e a k ;   v   + =   t h i s . d i m e n s i o n ( e ) ;   i f   ( v   > =   c l i p p i n g )  
                                         b r e a k ;  
                         }    
                 }  
                 v a r   f i r s t   =   l a s t   -   v i s i b l e   +   1 ;   i f   ( t h i s . o p t i o n s . w r a p   ! =   ' c i r c u l a r '   & &   f i r s t   <   1 )  
                         f i r s t   =   1 ;   i f   ( t h i s . i n T a i l   & &   b a c k )  
                 {   p o s   + =   t h i s . t a i l ;   t h i s . i n T a i l   =   f a l s e ;   }  
                 t h i s . t a i l   =   n u l l ;   i f   ( ! ( $ . b r o w s e r . m s i e   & &   $ . b r o w s e r . v e r s i o n . s u b s t r ( 0 ,   1 )   = =   6 ) )  
                 {  
                         i f   ( t h i s . o p t i o n s . w r a p   ! =   ' c i r c u l a r '   & &   l a s t   = =   t h i s . o p t i o n s . s i z e   & &   ( l a s t   -   v i s i b l e   +   1 )   > =   1 )  
                 {  
                         v a r   m   =   $ j c . m a r g i n ( t h i s . g e t ( l a s t ) ,   ! t h i s . o p t i o n s . v e r t i c a l   ?   ' m a r g i n R i g h t '   :   ' m a r g i n B o t t o m ' ) ;   i f   ( ( v   -   m )   >   c l i p p i n g )  
                                 t h i s . t a i l   =   v   -   c l i p p i n g   -   m ;  
                 } }  
                 w h i l e   ( i - -   >   f i r s t )  
                         p o s   + =   t h i s . d i m e n s i o n ( t h i s . g e t ( i ) ) ;   t h i s . p r e v F i r s t   =   t h i s . f i r s t ;   t h i s . p r e v L a s t   =   t h i s . l a s t ;   t h i s . f i r s t   =   f i r s t ;   t h i s . l a s t   =   l a s t ;   r e t u r n   p o s ;  
         } ,   a n i m a t e :   f u n c t i o n ( p ,   a )  
         {  
                 i f   ( t h i s . l o c k e d   | |   t h i s . a n i m a t i n g )  
                         r e t u r n ;   t h i s . a n i m a t i n g   =   t r u e ;   v a r   s e l f   =   t h i s ;   v a r   s c r o l l e d   =   f u n c t i o n ( )  
                         {  
                                 s e l f . a n i m a t i n g   =   f a l s e ;   i f   ( p   = =   0 )  
                                         s e l f . l i s t . c s s ( s e l f . l t ,   0 ) ;   i f   ( ( s e l f . o p t i o n s . w r a p   = =   ' b o t h '   | |   s e l f . o p t i o n s . w r a p   = =   ' l a s t '   | |   s e l f . o p t i o n s . s i z e   = =   n u l l   | |   s e l f . l a s t   <   s e l f . o p t i o n s . s i z e )   & &   s e l f . o p t i o n s . a u t o   >   0 )  
                                 {   s e l f . s t a r t A u t o ( ) ;   }  
                                 s e l f . b u t t o n s ( ) ;   s e l f . n o t i f y ( ' o n A f t e r A n i m a t i o n ' ) ;  
                         } ;   t h i s . n o t i f y ( ' o n B e f o r e A n i m a t i o n ' ) ;   i f   ( ! t h i s . o p t i o n s . a n i m a t i o n   | |   a   = =   f a l s e )  
                 {   t h i s . l i s t . c s s ( t h i s . l t ,   p   +   ' p x ' ) ;   s c r o l l e d ( ) ;   }   e l s e  
                 {   v a r   o   =   ! t h i s . o p t i o n s . v e r t i c a l   ?   {   ' l e f t ' :   p }   :   {   ' t o p ' :   p   } ;   t h i s . l i s t . a n i m a t e ( o ,   t h i s . o p t i o n s . a n i m a t i o n ,   t h i s . o p t i o n s . e a s i n g ,   s c r o l l e d ) ;   }    
         } ,   s t a r t A u t o :   f u n c t i o n ( s )  
         {  
                 i f   ( s   ! =   u n d e f i n e d )  
                         t h i s . o p t i o n s . a u t o   =   s ;   i f   ( t h i s . o p t i o n s . a u t o   = =   0 )  
                         r e t u r n   t h i s . s t o p A u t o ( ) ;   i f   ( t h i s . t i m e r   ! =   n u l l )  
                         r e t u r n ;   v a r   s e l f   =   t h i s ;   t h i s . t i m e r   =   s e t T i m e o u t ( f u n c t i o n ( )   {   s e l f . n e x t ( ) ;   } ,   t h i s . o p t i o n s . a u t o   *   1 0 0 0 ) ;  
         } ,   s t o p A u t o :   f u n c t i o n ( )  
         {  
                 i f   ( t h i s . t i m e r   = =   n u l l )  
                         r e t u r n ;   c l e a r T i m e o u t ( t h i s . t i m e r ) ;   t h i s . t i m e r   =   n u l l ;  
         } ,   b u t t o n s :   f u n c t i o n ( n ,   p )  
         {  
                 i f   ( t h i s . b u t t o n N e x t   = =   n u l l   & &   t h i s . b u t t o n P r e v   = =   n u l l )  
                 {   r e t u r n ;   }  
                 i f   ( n   = =   u n d e f i n e d   | |   n   = =   n u l l )  
                 {  
                         v a r   n   =   ! t h i s . l o c k e d   & &   t h i s . o p t i o n s . s i z e   ! = =   0   & &   ( ( t h i s . o p t i o n s . w r a p   & &   t h i s . o p t i o n s . w r a p   ! =   ' f i r s t ' )   | |   t h i s . o p t i o n s . s i z e   = =   n u l l   | |   t h i s . l a s t   <   t h i s . o p t i o n s . s i z e ) ;   i f   ( ! t h i s . l o c k e d   & &   ( ! t h i s . o p t i o n s . w r a p   | |   t h i s . o p t i o n s . w r a p   = =   ' f i r s t ' )   & &   t h i s . o p t i o n s . s i z e   ! =   n u l l   & &   t h i s . l a s t   > =   t h i s . o p t i o n s . s i z e )  
                                 n   =   t h i s . t a i l   ! =   n u l l   & &   ! t h i s . i n T a i l ;  
                 }  
                 i f   ( p   = =   u n d e f i n e d   | |   p   = =   n u l l )  
                 {  
                         v a r   p   =   ! t h i s . l o c k e d   & &   t h i s . o p t i o n s . s i z e   ! = =   0   & &   ( ( t h i s . o p t i o n s . w r a p   & &   t h i s . o p t i o n s . w r a p   ! =   ' l a s t ' )   | |   t h i s . f i r s t   >   1 ) ;   i f   ( ! t h i s . l o c k e d   & &   ( ! t h i s . o p t i o n s . w r a p   | |   t h i s . o p t i o n s . w r a p   = =   ' l a s t ' )   & &   t h i s . o p t i o n s . s i z e   ! =   n u l l   & &   t h i s . f i r s t   = =   1 )  
                                 p   =   t h i s . t a i l   ! =   n u l l   & &   t h i s . i n T a i l ;  
                 }  
                 v a r   s e l f   =   t h i s ;   t h i s . b u t t o n N e x t [ n   ?   ' b i n d '   :   ' u n b i n d ' ] ( t h i s . o p t i o n s . b u t t o n N e x t E v e n t ,   t h i s . f u n c N e x t ) [ n   ?   ' r e m o v e C l a s s '   :   ' a d d C l a s s ' ] ( t h i s . c l a s s N a m e ( ' j c a r o u s e l - n e x t - d i s a b l e d ' ) ) . a t t r ( ' d i s a b l e d ' ,   n   ?   f a l s e   :   t r u e ) ;   t h i s . b u t t o n P r e v [ p   ?   ' b i n d '   :   ' u n b i n d ' ] ( t h i s . o p t i o n s . b u t t o n P r e v E v e n t ,   t h i s . f u n c P r e v ) [ p   ?   ' r e m o v e C l a s s '   :   ' a d d C l a s s ' ] ( t h i s . c l a s s N a m e ( ' j c a r o u s e l - p r e v - d i s a b l e d ' ) ) . a t t r ( ' d i s a b l e d ' ,   p   ?   f a l s e   :   t r u e ) ;   i f   ( t h i s . b u t t o n N e x t . l e n g t h   >   0   & &   ( t h i s . b u t t o n N e x t [ 0 ] . j c a r o u s e l s t a t e   = =   u n d e f i n e d   | |   t h i s . b u t t o n N e x t [ 0 ] . j c a r o u s e l s t a t e   ! =   n )   & &   t h i s . o p t i o n s . b u t t o n N e x t C a l l b a c k   ! =   n u l l )  
                 {   t h i s . b u t t o n N e x t . e a c h ( f u n c t i o n ( )   {   s e l f . o p t i o n s . b u t t o n N e x t C a l l b a c k ( s e l f ,   t h i s ,   n ) ;   } ) ;   t h i s . b u t t o n N e x t [ 0 ] . j c a r o u s e l s t a t e   =   n ;   }  
                 i f   ( t h i s . b u t t o n P r e v . l e n g t h   >   0   & &   ( t h i s . b u t t o n P r e v [ 0 ] . j c a r o u s e l s t a t e   = =   u n d e f i n e d   | |   t h i s . b u t t o n P r e v [ 0 ] . j c a r o u s e l s t a t e   ! =   p )   & &   t h i s . o p t i o n s . b u t t o n P r e v C a l l b a c k   ! =   n u l l )  
                 {   t h i s . b u t t o n P r e v . e a c h ( f u n c t i o n ( )   {   s e l f . o p t i o n s . b u t t o n P r e v C a l l b a c k ( s e l f ,   t h i s ,   p ) ;   } ) ;   t h i s . b u t t o n P r e v [ 0 ] . j c a r o u s e l s t a t e   =   p ;   }    
         } ,   n o t i f y :   f u n c t i o n ( e v t )  
         {  
                 v a r   s t a t e   =   t h i s . p r e v F i r s t   = =   n u l l   ?   ' i n i t '   :   ( t h i s . p r e v F i r s t   <   t h i s . f i r s t   ?   ' n e x t '   :   ' p r e v ' ) ;   t h i s . c a l l b a c k ( ' i t e m L o a d C a l l b a c k ' ,   e v t ,   s t a t e ) ;   i f   ( t h i s . p r e v F i r s t   ! = =   t h i s . f i r s t )  
                 {   t h i s . c a l l b a c k ( ' i t e m F i r s t I n C a l l b a c k ' ,   e v t ,   s t a t e ,   t h i s . f i r s t ) ;   t h i s . c a l l b a c k ( ' i t e m F i r s t O u t C a l l b a c k ' ,   e v t ,   s t a t e ,   t h i s . p r e v F i r s t ) ;   }  
                 i f   ( t h i s . p r e v L a s t   ! = =   t h i s . l a s t )  
                 {   t h i s . c a l l b a c k ( ' i t e m L a s t I n C a l l b a c k ' ,   e v t ,   s t a t e ,   t h i s . l a s t ) ;   t h i s . c a l l b a c k ( ' i t e m L a s t O u t C a l l b a c k ' ,   e v t ,   s t a t e ,   t h i s . p r e v L a s t ) ;   }  
                 t h i s . c a l l b a c k ( ' i t e m V i s i b l e I n C a l l b a c k ' ,   e v t ,   s t a t e ,   t h i s . f i r s t ,   t h i s . l a s t ,   t h i s . p r e v F i r s t ,   t h i s . p r e v L a s t ) ;   t h i s . c a l l b a c k ( ' i t e m V i s i b l e O u t C a l l b a c k ' ,   e v t ,   s t a t e ,   t h i s . p r e v F i r s t ,   t h i s . p r e v L a s t ,   t h i s . f i r s t ,   t h i s . l a s t ) ;  
         } ,   c a l l b a c k :   f u n c t i o n ( c b ,   e v t ,   s t a t e ,   i 1 ,   i 2 ,   i 3 ,   i 4 )  
         {  
                 i f   ( t h i s . o p t i o n s [ c b ]   = =   u n d e f i n e d   | |   ( t y p e o f   t h i s . o p t i o n s [ c b ]   ! =   ' o b j e c t '   & &   e v t   ! =   ' o n A f t e r A n i m a t i o n ' ) )  
                         r e t u r n ;   v a r   c a l l b a c k   =   t y p e o f   t h i s . o p t i o n s [ c b ]   = =   ' o b j e c t '   ?   t h i s . o p t i o n s [ c b ] [ e v t ]   :   t h i s . o p t i o n s [ c b ] ;   i f   ( ! $ . i s F u n c t i o n ( c a l l b a c k ) )  
                         r e t u r n ;   v a r   s e l f   =   t h i s ;   i f   ( i 1   = = =   u n d e f i n e d )  
                         c a l l b a c k ( s e l f ,   s t a t e ,   e v t ) ;   e l s e   i f   ( i 2   = = =   u n d e f i n e d )  
                         t h i s . g e t ( i 1 ) . e a c h ( f u n c t i o n ( )   {   c a l l b a c k ( s e l f ,   t h i s ,   i 1 ,   s t a t e ,   e v t ) ;   } ) ;   e l s e  
                 {  
                         f o r   ( v a r   i   =   i 1 ;   i   < =   i 2 ;   i + + )  
                                 i f   ( i   ! = =   n u l l   & &   ! ( i   > =   i 3   & &   i   < =   i 4 ) )  
                                 t h i s . g e t ( i ) . e a c h ( f u n c t i o n ( )   {   c a l l b a c k ( s e l f ,   t h i s ,   i ,   s t a t e ,   e v t ) ;   } ) ;  
                 }    
         } ,   c r e a t e :   f u n c t i o n ( i )  
         {   r e t u r n   t h i s . f o r m a t ( ' < l i > < / l i > ' ,   i ) ;   } ,   f o r m a t :   f u n c t i o n ( e ,   i )  
         {   v a r   $ e   =   $ ( e ) . a d d C l a s s ( t h i s . c l a s s N a m e ( ' j c a r o u s e l - i t e m ' ) ) . a d d C l a s s ( t h i s . c l a s s N a m e ( ' j c a r o u s e l - i t e m - '   +   i ) ) ;   $ e . a t t r ( ' j c a r o u s e l i n d e x ' ,   i ) ;   r e t u r n   $ e ;   } ,   c l a s s N a m e :   f u n c t i o n ( c )  
         {   r e t u r n   c   +   '   '   +   c   +   ( ! t h i s . o p t i o n s . v e r t i c a l   ?   ' - h o r i z o n t a l '   :   ' - v e r t i c a l ' ) ;   } ,   d i m e n s i o n :   f u n c t i o n ( e ,   d )  
         {  
                 v a r   e l   =   e . j q u e r y   ! =   u n d e f i n e d   ?   e [ 0 ]   :   e ;   v a r   o l d   =   ! t h i s . o p t i o n s . v e r t i c a l   ?   e l . o f f s e t W i d t h   +   $ j c . m a r g i n ( e l ,   ' m a r g i n L e f t ' )   +   $ j c . m a r g i n ( e l ,   ' m a r g i n R i g h t ' )   :   e l . o f f s e t H e i g h t   +   $ j c . m a r g i n ( e l ,   ' m a r g i n T o p ' )   +   $ j c . m a r g i n ( e l ,   ' m a r g i n B o t t o m ' ) ;   i f   ( d   = =   u n d e f i n e d   | |   o l d   = =   d )  
                         r e t u r n   o l d ;   v a r   w   =   ! t h i s . o p t i o n s . v e r t i c a l   ?   d   -   $ j c . m a r g i n ( e l ,   ' m a r g i n L e f t ' )   -   $ j c . m a r g i n ( e l ,   ' m a r g i n R i g h t ' )   :   d   -   $ j c . m a r g i n ( e l ,   ' m a r g i n T o p ' )   -   $ j c . m a r g i n ( e l ,   ' m a r g i n B o t t o m ' ) ;   $ ( e l ) . c s s ( t h i s . w h ,   w   +   ' p x ' ) ;   r e t u r n   t h i s . d i m e n s i o n ( e l ) ;  
         } ,   c l i p p i n g :   f u n c t i o n ( )  
         {   r e t u r n   ! t h i s . o p t i o n s . v e r t i c a l   ?   t h i s . c l i p [ 0 ] . o f f s e t W i d t h   -   $ j c . i n t v a l ( t h i s . c l i p . c s s ( ' b o r d e r L e f t W i d t h ' ) )   -   $ j c . i n t v a l ( t h i s . c l i p . c s s ( ' b o r d e r R i g h t W i d t h ' ) )   :   t h i s . c l i p [ 0 ] . o f f s e t H e i g h t   -   $ j c . i n t v a l ( t h i s . c l i p . c s s ( ' b o r d e r T o p W i d t h ' ) )   -   $ j c . i n t v a l ( t h i s . c l i p . c s s ( ' b o r d e r B o t t o m W i d t h ' ) ) ;   } ,   i n d e x :   f u n c t i o n ( i ,   s )  
         {  
                 i f   ( s   = =   u n d e f i n e d )  
                         s   =   t h i s . o p t i o n s . s i z e ;   r e t u r n   M a t h . r o u n d ( ( ( ( i   -   1 )   /   s )   -   M a t h . f l o o r ( ( i   -   1 )   /   s ) )   *   s )   +   1 ;  
         }    
         } ) ;   $ j c . e x t e n d ( {   d e f a u l t s :   f u n c t i o n ( d )  
         {   r e t u r n   $ . e x t e n d ( d e f a u l t s ,   d   | |   { } ) ;   } ,   m a r g i n :   f u n c t i o n ( e ,   p )  
         {  
                 i f   ( ! e )  
                         r e t u r n   0 ;   v a r   e l   =   e . j q u e r y   ! =   u n d e f i n e d   ?   e [ 0 ]   :   e ;   i f   ( p   = =   ' m a r g i n R i g h t '   & &   $ . b r o w s e r . s a f a r i )  
                 {   v a r   o l d   =   {   ' d i s p l a y ' :   ' b l o c k ' ,   ' f l o a t ' :   ' n o n e ' ,   ' w i d t h ' :   ' a u t o '   } ,   o W i d t h ,   o W i d t h 2 ;   $ . s w a p ( e l ,   o l d ,   f u n c t i o n ( )   {   o W i d t h   =   e l . o f f s e t W i d t h ;   } ) ;   o l d [ ' m a r g i n R i g h t ' ]   =   0 ;   $ . s w a p ( e l ,   o l d ,   f u n c t i o n ( )   {   o W i d t h 2   =   e l . o f f s e t W i d t h ;   } ) ;   r e t u r n   o W i d t h 2   -   o W i d t h ;   }  
                 r e t u r n   $ j c . i n t v a l ( $ . c s s ( e l ,   p ) ) ;  
         } ,   i n t v a l :   f u n c t i o n ( v )  
         {   v   =   p a r s e I n t ( v ) ;   r e t u r n   i s N a N ( v )   ?   0   :   v ;   }    
         } ) ;  
 } ) ( j Q u e r y ) ;   d c   =   {   t r i g g e r E l e m e n t s :   ' * ' ,   p a r e n t E l e m e n t I d :   n u l l ,   u n i q u e C o l l a p s e :   f a l s e ,   t r i g g e r :   ' t r i g g e r ' ,   t r i g g e r o p e n :   ' e x p a n d e d ' ,   h i d e C l a s s :   ' h i d e ' ,   s h o w C l a s s :   ' s h o w ' ,   c l o s e d P i c :   ' h t t p : / / w w w 1 . i b d c d . c o m / i m a g e s / i c o n s / t r i g g e r - a r r o w . g i f ' ,   c l o s e d A l t :   ' e x p a n d   s e c t i o n ' ,   o p e n P i c :   ' h t t p : / / w w w 1 . i b d c d . c o m / i m a g e s / i c o n s / e x p a n d e d - a r r o w . g i f ' ,   o p e n A l t :   ' c o l l a p s e   s e c t i o n ' ,   i n i t :   f u n c t i o n ( e )  
 {  
         v a r   t e m p ;   i f   ( ! 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 . c r e a t e T e x t N o d e )   {   r e t u r n ;   }  
         i f   ( ! d c . p a r e n t E l e m e n t I d )  
         {   t e m p   =   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 ( d c . t r i g g e r E l e m e n t s ) ;   }   e l s e   i f   ( d o c u m e n t . g e t E l e m e n t B y I d ( d c . p a r e n t E l e m e n t I d ) )  
         {   t e m p   =   d o c u m e n t . g e t E l e m e n t B y I d ( d c . p a r e n t E l e m e n t I d ) . g e t E l e m e n t s B y T a g N a m e ( d c . t r i g g e r E l e m e n t s ) ;   }   e l s e  
         {   r e t u r n ;   }  
         d c . t e m p L i n k   =   d o c u m e n t . c r e a t e E l e m e n t ( ' a ' ) ;   d c . t e m p L i n k . s e t A t t r i b u t e ( ' h r e f ' ,   ' # ' ) ;   d c . t e m p L i n k . a p p e n d C h i l d ( d o c u m e n t . c r e a t e E l e m e n t ( ' i m g ' ) ) ;   f o r   ( v a r   i   =   0 ;   i   <   t e m p . l e n g t h ;   i + + )  
         {  
                 i f   ( d c . c s s j s ( ' c h e c k ' ,   t e m p [ i ] ,   d c . t r i g g e r )   | |   d c . c s s j s ( ' c h e c k ' ,   t e m p [ i ] ,   d c . t r i g g e r o p e n ) )  
                 {   d c . m a k e T r i g g e r ( t e m p [ i ] ,   e ) ;   }    
         }    
 } ,   m a k e T r i g g e r :   f u n c t i o n ( o ,   e )  
 {  
         v a r   t l   =   d c . t e m p L i n k . c l o n e N o d e ( t r u e ) ;   v a r   t o h i d e   =   o . n e x t S i b l i n g ;   w h i l e   ( t o h i d e . n o d e T y p e   ! =   1 )  
         {   t o h i d e   =   t o h i d e . n e x t S i b l i n g ;   }  
         o . t o h i d e   =   t o h i d e ;   i f   ( ! d c . c s s j s ( ' c h e c k ' ,   o ,   d c . t r i g g e r o p e n ) )  
         {   d c . c s s j s ( ' a d d ' ,   t o h i d e ,   d c . h i d e C l a s s ) ;   t l . g e t E l e m e n t s B y T a g N a m e ( ' i m g ' ) [ 0 ] . s e t A t t r i b u t e ( ' s r c ' ,   d c . c l o s e d P i c ) ;   t l . g e t E l e m e n t s B y T a g N a m e ( ' i m g ' ) [ 0 ] . s e t A t t r i b u t e ( ' a l t ' ,   d c . c l o s e d A l t ) ;   o . s e t A t t r i b u t e ( ' t i t l e ' ,   d c . c l o s e d A l t ) ;   }   e l s e  
         {   d c . c s s j s ( ' a d d ' ,   t o h i d e ,   d c . s h o w C l a s s ) ;   t l . g e t E l e m e n t s B y T a g N a m e ( ' i m g ' ) [ 0 ] . s e t A t t r i b u t e ( ' s r c ' ,   d c . o p e n P i c ) ;   t l . g e t E l e m e n t s B y T a g N a m e ( ' i m g ' ) [ 0 ] . s e t A t t r i b u t e ( ' a l t ' ,   d c . o p e n A l t ) ;   o . s e t A t t r i b u t e ( ' t i t l e ' ,   d c . o p e n A l t ) ;   d c . c u r r e n t O p e n   =   o ;   }  
         d c . a d d E v e n t ( o ,   ' c l i c k ' ,   d c . a d d C o l l a p s e ,   f a l s e ) ;   o . i n s e r t B e f o r e ( t l ,   o . f i r s t C h i l d ) ;   d c . a d d E v e n t ( t l ,   ' c l i c k ' ,   d c . a d d C o l l a p s e ,   f a l s e ) ;   t l . o n c l i c k   =   f u n c t i o n ( )   {   r e t u r n   f a l s e ;   }  
         o . o n c l i c k   =   f u n c t i o n ( )   {   r e t u r n   f a l s e ;   }    
 } ,   a d d C o l l a p s e :   f u n c t i o n ( e )  
 {  
         v a r   a c t i o n ,   p i c ;   i f   ( s e l f . s c r e e n T o p   & &   s e l f . s c r e e n X )  
         {   w i n d o w . r e s i z e T o ( s e l f . o u t e r W i d t h   +   1 ,   s e l f . o u t e r H e i g h t ) ;   w i n d o w . r e s i z e T o ( s e l f . o u t e r W i d t h   -   1 ,   s e l f . o u t e r H e i g h t ) ;   }  
         i f   ( d c . u n i q u e C o l l a p s e   & &   d c . c u r r e n t O p e n )  
         {   d c . c u r r e n t O p e n . g e t E l e m e n t s B y T a g N a m e ( ' i m g ' ) [ 0 ] . s e t A t t r i b u t e ( ' s r c ' ,   d c . c l o s e d P i c ) ;   d c . c u r r e n t O p e n . g e t E l e m e n t s B y T a g N a m e ( ' i m g ' ) [ 0 ] . s e t A t t r i b u t e ( ' a l t ' ,   d c . c l o s e d A l t ) ;   d c . c u r r e n t O p e n . s e t A t t r i b u t e ( ' t i t l e ' ,   d c . c l o s e d A l t ) ;   d c . c s s j s ( ' s w a p ' ,   d c . c u r r e n t O p e n . t o h i d e ,   d c . s h o w C l a s s ,   d c . h i d e C l a s s ) ;   d c . c s s j s ( ' r e m o v e ' ,   d c . c u r r e n t O p e n ,   d c . t r i g g e r o p e n ) ;   d c . c s s j s ( ' a d d ' ,   d c . c u r r e n t O p e n ,   d c . t r i g g e r ) ;   }  
         v a r   o   =   d c . g e t T a r g e t ( e ) ;   i f   ( o . t o h i d e )  
         {  
                 i f   ( d c . c s s j s ( ' c h e c k ' ,   o . t o h i d e ,   d c . h i d e C l a s s ) )  
                 {   o . g e t E l e m e n t s B y T a g N a m e ( ' i m g ' ) [ 0 ] . s e t A t t r i b u t e ( ' s r c ' ,   d c . o p e n P i c ) ;   o . g e t E l e m e n t s B y T a g N a m e ( ' i m g ' ) [ 0 ] . s e t A t t r i b u t e ( ' a l t ' ,   d c . o p e n A l t ) ;   o . s e t A t t r i b u t e ( ' t i t l e ' ,   d c . o p e n A l t ) ;   d c . c s s j s ( ' s w a p ' ,   o . t o h i d e ,   d c . h i d e C l a s s ,   d c . s h o w C l a s s ) ;   d c . c s s j s ( ' a d d ' ,   o ,   d c . t r i g g e r o p e n ) ;   d c . c s s j s ( ' r e m o v e ' ,   o ,   d c . t r i g g e r ) ;   }   e l s e  
                 {   o . g e t E l e m e n t s B y T a g N a m e ( ' i m g ' ) [ 0 ] . s e t A t t r i b u t e ( ' s r c ' ,   d c . c l o s e d P i c ) ;   o . g e t E l e m e n t s B y T a g N a m e ( ' i m g ' ) [ 0 ] . s e t A t t r i b u t e ( ' a l t ' ,   d c . c l o s e d A l t ) ;   o . s e t A t t r i b u t e ( ' t i t l e ' ,   d c . c l o s e d A l t ) ;   d c . c s s j s ( ' s w a p ' ,   o . t o h i d e ,   d c . s h o w C l a s s ,   d c . h i d e C l a s s ) ;   d c . c s s j s ( ' r e m o v e ' ,   o ,   d c . t r i g g e r o p e n ) ;   d c . c s s j s ( ' a d d ' ,   o ,   d c . t r i g g e r ) ;   }  
                 d c . c u r r e n t O p e n   =   o ;   d c . c a n c e l C l i c k ( e ) ;  
         }  
         e l s e  
         {   d c . c a n c e l C l i c k ( e ) ;   }    
 } ,   g e t T a r g e t :   f u n c t i o n ( e )  
 {  
         v a r   t a r g e t   =   w i n d o w . e v e n t   ?   w i n d o w . e v e n t . s r c E l e m e n t   :   e   ?   e . t a r g e t   :   n u l l ;   i f   ( ! t a r g e t )   {   r e t u r n   f a l s e ;   }  
         w h i l e   ( ! t a r g e t . t o h i d e   & &   t a r g e t . n o d e N a m e . t o L o w e r C a s e ( )   ! =   ' b o d y ' )  
         {   t a r g e t   =   t a r g e t . p a r e n t N o d e ;   }  
         r e t u r n   t a r g e t ;  
 } ,   c a n c e l C l i c k :   f u n c t i o n ( e )  
 {  
         i f   ( w i n d o w . e v e n t )  
         {   w i n d o w . e v e n t . c a n c e l B u b b l e   =   t r u e ;   w i n d o w . e v e n t . r e t u r n V a l u e   =   f a l s e ;   r e t u r n ;   }  
         i f   ( e )  
         {   e . s t o p P r o p a g a t i o n ( ) ;   e . p r e v e n t D e f a u l t ( ) ;   }    
 } ,   a d d E v e n t :   f u n c t i o n ( e l m ,   e v T y p e ,   f n ,   u s e C a p t u r e )  
 {  
         i f   ( e l m . a d d E v e n t L i s t e n e r )  
         {   e l m . a d d E v e n t L i s t e n e r ( e v T y p e ,   f n ,   u s e C a p t u r e ) ;   r e t u r n   t r u e ;   }   e l s e   i f   ( e l m . a t t a c h E v e n t )  
         {   v a r   r   =   e l m . a t t a c h E v e n t ( ' o n '   +   e v T y p e ,   f n ) ;   r e t u r n   r ;   }   e l s e  
         {   e l m [ ' o n '   +   e v T y p e ]   =   f n ;   }    
 } ,   c s s j s :   f u n c t i o n ( a ,   o ,   c 1 ,   c 2 )  
 {  
         s w i t c h   ( a )  
         {  
                 c a s e   ' s w a p ' :   o . c l a s s N a m e   =   ! d c . c s s j s ( ' c h e c k ' ,   o ,   c 1 )   ?   o . c l a s s N a m e . r e p l a c e ( c 2 ,   c 1 )   :   o . c l a s s N a m e . r e p l a c e ( c 1 ,   c 2 ) ;   b r e a k ;   c a s e   ' a d d ' :   i f   ( ! d c . c s s j s ( ' c h e c k ' ,   o ,   c 1 ) )   {   o . c l a s s N a m e   + =   o . c l a s s N a m e   ?   '   '   +   c 1   :   c 1 ;   }  
                         b r e a k ;   c a s e   ' r e m o v e ' :   v a r   r e p   =   o . c l a s s N a m e . m a t c h ( '   '   +   c 1 )   ?   '   '   +   c 1   :   c 1 ;   o . c l a s s N a m e   =   o . c l a s s N a m e . r e p l a c e ( r e p ,   ' ' ) ;   b r e a k ;   c a s e   ' c h e c k ' :   r e t u r n   n e w   R e g E x p ( " ( ^ | \ \ s ) "   +   c 1   +   " ( \ \ s | $ ) " ) . t e s t ( o . c l a s s N a m e )  
                         b r e a k ;  
         }    
 }    
 }  
 d c . a d d E v e n t ( w i n d o w ,   ' l o a d ' ,   d c . i n i t ,   f a l s e ) ;   ( f u n c t i o n ( $ )  
 {  
         v a r   h e i g h t   =   $ . f n . h e i g h t ,   w i d t h   =   $ . f n . w i d t h ;   $ . f n . e x t e n d ( {   h e i g h t :   f u n c t i o n ( )  
         {  
                 i f   ( ! t h i s [ 0 ] )   e r r o r ( ) ;   i f   ( t h i s [ 0 ]   = =   w i n d o w )  
                         i f   ( $ . b r o w s e r . o p e r a   | |   ( $ . b r o w s e r . s a f a r i   & &   p a r s e I n t ( $ . b r o w s e r . v e r s i o n )   >   5 2 0 ) )  
                         r e t u r n   s e l f . i n n e r H e i g h t   -   ( ( $ ( d o c u m e n t ) . h e i g h t ( )   >   s e l f . i n n e r H e i g h t )   ?   g e t S c r o l l b a r W i d t h ( )   :   0 ) ;   e l s e   i f   ( $ . b r o w s e r . s a f a r i )  
                         r e t u r n   s e l f . i n n e r H e i g h t ;   e l s e  
                         r e t u r n   $ . b o x M o d e l   & &   d o c u m e n t . d o c u m e n t E l e m e n t . c l i e n t H e i g h t   | |   d o c u m e n t . b o d y . c l i e n t H e i g h t ;   i f   ( t h i s [ 0 ]   = =   d o c u m e n t )  
                         r e t u r n   M a t h . m a x ( ( $ . b o x M o d e l   & &   d o c u m e n t . d o c u m e n t E l e m e n t . s c r o l l H e i g h t   | |   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 . b o d y . o f f s e t H e i g h t ) ;   r e t u r n   h e i g h t . a p p l y ( t h i s ,   a r g u m e n t s ) ;  
         } ,   w i d t h :   f u n c t i o n ( )  
         {  
                 i f   ( ! t h i s [ 0 ] )   e r r o r ( ) ;   i f   ( t h i s [ 0 ]   = =   w i n d o w )  
                         i f   ( $ . b r o w s e r . o p e r a   | |   ( $ . b r o w s e r . s a f a r i   & &   p a r s e I n t ( $ . b r o w s e r . v e r s i o n )   >   5 2 0 ) )  
                         r e t u r n   s e l f . i n n e r W i d t h   -   ( ( $ ( d o c u m e n t ) . w i d t h ( )   >   s e l f . i n n e r W i d t h )   ?   g e t S c r o l l b a r W i d t h ( )   :   0 ) ;   e l s e   i f   ( $ . b r o w s e r . s a f a r i )  
                         r e t u r n   s e l f . i n n e r W i d t h ;   e l s e  
                         r e t u r n   $ . b o x M o d e l   & &   d o c u m e n t . d o c u m e n t E l e m e n t . c l i e n t W i d t h   | |   d o c u m e n t . b o d y . c l i e n t W i d t h ;   i f   ( t h i s [ 0 ]   = =   d o c u m e n t )  
                         i f   ( $ . b r o w s e r . m o z i l l a )  
                 {   v a r   s c r o l l L e f t   =   s e l f . p a g e X O f f s e t ;   s e l f . s c r o l l T o ( 9 9 9 9 9 9 9 9 ,   s e l f . p a g e Y O f f s e t ) ;   v a r   s c r o l l W i d t h   =   s e l f . p a g e X O f f s e t ;   s e l f . s c r o l l T o ( s c r o l l L e f t ,   s e l f . p a g e Y O f f s e t ) ;   r e t u r n   d o c u m e n t . b o d y . o f f s e t W i d t h   +   s c r o l l W i d t h ;   }  
                 e l s e  
                         r e t u r n   M a t h . m a x ( ( ( $ . b o x M o d e l   & &   ! $ . b r o w s e r . s a f a r i )   & &   d o c u m e n t . d o c u m e n t E l e m e n t . s c r o l l W i d t h   | |   d o c u m e n t . b o d y . s c r o l l W i d t h ) ,   d o c u m e n t . b o d y . o f f s e t W i d t h ) ;   r e t u r n   w i d t h . a p p l y ( t h i s ,   a r g u m e n t s ) ;  
         } ,   i n n e r H e i g h t :   f u n c t i o n ( )  
         {   i f   ( ! t h i s [ 0 ] )   e r r o r ( ) ;   r e t u r n   t h i s [ 0 ]   = =   w i n d o w   | |   t h i s [ 0 ]   = =   d o c u m e n t   ?   t h i s . h e i g h t ( )   :   t h i s . i s ( ' : v i s i b l e ' )   ?   t h i s [ 0 ] . o f f s e t H e i g h t   -   n u m ( t h i s ,   ' b o r d e r T o p W i d t h ' )   -   n u m ( t h i s ,   ' b o r d e r B o t t o m W i d t h ' )   :   t h i s . h e i g h t ( )   +   n u m ( t h i s ,   ' p a d d i n g T o p ' )   +   n u m ( t h i s ,   ' p a d d i n g B o t t o m ' ) ;   } ,   i n n e r W i d t h :   f u n c t i o n ( )  
         {   i f   ( ! t h i s [ 0 ] )   e r r o r ( ) ;   r e t u r n   t h i s [ 0 ]   = =   w i n d o w   | |   t h i s [ 0 ]   = =   d o c u m e n t   ?   t h i s . w i d t h ( )   :   t h i s . i s ( ' : v i s i b l e ' )   ?   t h i s [ 0 ] . o f f s e t W i d t h   -   n u m ( t h i s ,   ' b o r d e r L e f t W i d t h ' )   -   n u m ( t h i s ,   ' b o r d e r R i g h t W i d t h ' )   :   t h i s . w i d t h ( )   +   n u m ( t h i s ,   ' p a d d i n g L e f t ' )   +   n u m ( t h i s ,   ' p a d d i n g R i g h t ' ) ;   } ,   o u t e r H e i g h t :   f u n c t i o n ( o p t i o n s )  
         {  
                 i f   ( ! t h i s [ 0 ] )   e r r o r ( ) ;   o p t i o n s   =   $ . e x t e n d ( {   m a r g i n :   f a l s e   } ,   o p t i o n s   | |   { } ) ;   r e t u r n   t h i s [ 0 ]   = =   w i n d o w   | |   t h i s [ 0 ]   = =   d o c u m e n t   ?   t h i s . h e i g h t ( )   :   t h i s . i s ( ' : v i s i b l e ' )   ?   t h i s [ 0 ] . o f f s e t H e i g h t   +   ( o p t i o n s . m a r g i n   ?   ( n u m ( t h i s ,   ' m a r g i n T o p ' )   +   n u m ( t h i s ,   ' m a r g i n B o t t o m ' ) )   :   0 )   :   t h i s . h e i g h t ( )  
 +   n u m ( t h i s ,   ' b o r d e r T o p W i d t h ' )   +   n u m ( t h i s ,   ' b o r d e r B o t t o m W i d t h ' )  
 +   n u m ( t h i s ,   ' p a d d i n g T o p ' )   +   n u m ( t h i s ,   ' p a d d i n g B o t t o m ' )  
 +   ( o p t i o n s . m a r g i n   ?   ( n u m ( t h i s ,   ' m a r g i n T o p ' )   +   n u m ( t h i s ,   ' m a r g i n B o t t o m ' ) )   :   0 ) ;  
         } ,   o u t e r W i d t h :   f u n c t i o n ( o p t i o n s )  
         {  
                 i f   ( ! t h i s [ 0 ] )   e r r o r ( ) ;   o p t i o n s   =   $ . e x t e n d ( {   m a r g i n :   f a l s e   } ,   o p t i o n s   | |   { } ) ;   r e t u r n   t h i s [ 0 ]   = =   w i n d o w   | |   t h i s [ 0 ]   = =   d o c u m e n t   ?   t h i s . w i d t h ( )   :   t h i s . i s ( ' : v i s i b l e ' )   ?   t h i s [ 0 ] . o f f s e t W i d t h   +   ( o p t i o n s . m a r g i n   ?   ( n u m ( t h i s ,   ' m a r g i n L e f t ' )   +   n u m ( t h i s ,   ' m a r g i n R i g h t ' ) )   :   0 )   :   t h i s . w i d t h ( )  
 +   n u m ( t h i s ,   ' b o r d e r L e f t W i d t h ' )   +   n u m ( t h i s ,   ' b o r d e r R i g h t W i d t h ' )  
 +   n u m ( t h i s ,   ' p a d d i n g L e f t ' )   +   n u m ( t h i s ,   ' p a d d i n g R i g h t ' )  
 +   ( o p t i o n s . m a r g i n   ?   ( n u m ( t h i s ,   ' m a r g i n L e f t ' )   +   n u m ( t h i s ,   ' m a r g i n R i g h t ' ) )   :   0 ) ;  
         } ,   s c r o l l L e f t :   f u n c t i o n ( v a l )  
         {  
                 i f   ( ! t h i s [ 0 ] )   e r r o r ( ) ;   i f   ( v a l   ! =   u n d e f i n e d )  
                         r e t u r n   t h i s . e a c h ( f u n c t i o n ( )  
                         {  
                                 i f   ( t h i s   = =   w i n d o w   | |   t h i s   = =   d o c u m e n t )  
                                         w i n d o w . s c r o l l T o ( v a l ,   $ ( w i n d o w ) . s c r o l l T o p ( ) ) ;   e l s e  
                                         t h i s . s c r o l l L e f t   =   v a l ;  
                         } ) ;   i f   ( t h i s [ 0 ]   = =   w i n d o w   | |   t h i s [ 0 ]   = =   d o c u m e n t )  
                         r e t u r n   s e l f . p a g e X O f f s e t   | |   $ . b o x M o d e l   & &   d o c u m e n t . d o c u m e n t E l e m e n t . s c r o l l L e f t   | |   d o c u m e n t . b o d y . s c r o l l L e f t ;   r e t u r n   t h i s [ 0 ] . s c r o l l L e f t ;  
         } ,   s c r o l l T o p :   f u n c t i o n ( v a l )  
         {  
                 i f   ( ! t h i s [ 0 ] )   e r r o r ( ) ;   i f   ( v a l   ! =   u n d e f i n e d )  
                         r e t u r n   t h i s . e a c h ( f u n c t i o n ( )  
                         {  
                                 i f   ( t h i s   = =   w i n d o w   | |   t h i s   = =   d o c u m e n t )  
                                         w i n d o w . s c r o l l T o ( $ ( w i n d o w ) . s c r o l l L e f t ( ) ,   v a l ) ;   e l s e  
                                         t h i s . s c r o l l T o p   =   v a l ;  
                         } ) ;   i f   ( t h i s [ 0 ]   = =   w i n d o w   | |   t h i s [ 0 ]   = =   d o c u m e n t )  
                         r e t u r n   s e l f . p a g e Y O f f s e t   | |   $ . b o x M o d e l   & &   d o c u m e n t . d o c u m e n t E l e m e n t . s c r o l l T o p   | |   d o c u m e n t . b o d y . s c r o l l T o p ;   r e t u r n   t h i s [ 0 ] . s c r o l l T o p ;  
         } ,   p o s i t i o n :   f u n c t i o n ( r e t u r n O b j e c t )  
         {   r e t u r n   t h i s . o f f s e t ( {   m a r g i n :   f a l s e ,   s c r o l l :   f a l s e ,   r e l a t i v e T o :   t h i s . o f f s e t P a r e n t ( )   } ,   r e t u r n O b j e c t ) ;   } ,   o f f s e t :   f u n c t i o n ( o p t i o n s ,   r e t u r n O b j e c t )  
         {  
                 i f   ( ! t h i s [ 0 ] )   e r r o r ( ) ;   v a r   x   =   0 ,   y   =   0 ,   s l   =   0 ,   s t   =   0 ,   e l e m   =   t h i s [ 0 ] ,   p a r e n t   =   t h i s [ 0 ] ,   o p ,   p a r P o s ,   e l e m P o s   =   $ . c s s ( e l e m ,   ' p o s i t i o n ' ) ,   m o   =   $ . b r o w s e r . m o z i l l a ,   i e   =   $ . b r o w s e r . m s i e ,   o a   =   $ . b r o w s e r . o p e r a ,   s f   =   $ . b r o w s e r . s a f a r i ,   s f 3   =   $ . b r o w s e r . s a f a r i   & &   p a r s e I n t ( $ . b r o w s e r . v e r s i o n )   >   5 2 0 ,   a b s p a r e n t   =   f a l s e ,   r e l p a r e n t   =   f a l s e ,   o p t i o n s   =   $ . e x t e n d ( {   m a r g i n :   t r u e ,   b o r d e r :   f a l s e ,   p a d d i n g :   f a l s e ,   s c r o l l :   t r u e ,   l i t e :   f a l s e ,   r e l a t i v e T o :   d o c u m e n t . b o d y   } ,   o p t i o n s   | |   { } ) ;   i f   ( o p t i o n s . l i t e )   r e t u r n   t h i s . o f f s e t L i t e ( o p t i o n s ,   r e t u r n O b j e c t ) ;   i f   ( o p t i o n s . r e l a t i v e T o . j q u e r y )   o p t i o n s . r e l a t i v e T o   =   o p t i o n s . r e l a t i v e T o [ 0 ] ;   i f   ( e l e m . t a g N a m e   = =   ' B O D Y ' )  
                 {  
                         x   =   e l e m . o f f s e t L e f t ;   y   =   e l e m . o f f s e t T o p ;   i f   ( m o )  
                         {   x   + =   n u m ( e l e m ,   ' m a r g i n L e f t ' )   +   ( n u m ( e l e m ,   ' b o r d e r L e f t W i d t h ' )   *   2 ) ;   y   + =   n u m ( e l e m ,   ' m a r g i n T o p ' )   +   ( n u m ( e l e m ,   ' b o r d e r T o p W i d t h ' )   *   2 ) ;   }   e l s e  
                                 i f   ( o a )  
                         {   x   + =   n u m ( e l e m ,   ' m a r g i n L e f t ' ) ;   y   + =   n u m ( e l e m ,   ' m a r g i n T o p ' ) ;   }   e l s e  
                                 i f   ( ( i e   & &   j Q u e r y . b o x M o d e l ) )  
                         {   x   + =   n u m ( e l e m ,   ' b o r d e r L e f t W i d t h ' ) ;   y   + =   n u m ( e l e m ,   ' b o r d e r T o p W i d t h ' ) ;   }   e l s e  
                                 i f   ( s f 3 )  
                         {   x   + =   n u m ( e l e m ,   ' m a r g i n L e f t ' )   +   n u m ( e l e m ,   ' b o r d e r L e f t W i d t h ' ) ;   y   + =   n u m ( e l e m ,   ' m a r g i n T o p ' )   +   n u m ( e l e m ,   ' b o r d e r T o p W i d t h ' ) ;   }    
                 }   e l s e  
                 {  
                         d o  
                         {  
                                 p a r P o s   =   $ . c s s ( p a r e n t ,   ' p o s i t i o n ' ) ;   x   + =   p a r e n t . o f f s e t L e f t ;   y   + =   p a r e n t . o f f s e t T o p ;   i f   ( ( m o   & &   ! p a r e n t . t a g N a m e . m a t c h ( / ^ t [ d | h ] $ / i ) )   | |   i e   | |   s f 3 )  
                                 {   x   + =   n u m ( p a r e n t ,   ' b o r d e r L e f t W i d t h ' ) ;   y   + =   n u m ( p a r e n t ,   ' b o r d e r T o p W i d t h ' ) ;   i f   ( m o   & &   p a r P o s   = =   ' a b s o l u t e ' )   a b s p a r e n t   =   t r u e ;   i f   ( i e   & &   p a r P o s   = =   ' r e l a t i v e ' )   r e l p a r e n t   =   t r u e ;   }  
                                 o p   =   p a r e n t . o f f s e t P a r e n t   | |   d o c u m e n t . b o d y ;   i f   ( o p t i o n s . s c r o l l   | |   m o )  
                                 {  
                                         d o  
                                         {  
                                                 i f   ( o p t i o n s . s c r o l l )  
                                                 {   s l   + =   p a r e n t . s c r o l l L e f t ;   s t   + =   p a r e n t . s c r o l l T o p ;   }  
                                                 i f   ( o a   & &   ( $ . c s s ( p a r e n t ,   ' d i s p l a y ' )   | |   ' ' ) . m a t c h ( / t a b l e - r o w | i n l i n e / ) )  
                                                 {   s l   =   s l   -   ( ( p a r e n t . s c r o l l L e f t   = =   p a r e n t . o f f s e t L e f t )   ?   p a r e n t . s c r o l l L e f t   :   0 ) ;   s t   =   s t   -   ( ( p a r e n t . s c r o l l T o p   = =   p a r e n t . o f f s e t T o p )   ?   p a r e n t . s c r o l l T o p   :   0 ) ;   }  
                                                 i f   ( m o   & &   p a r e n t   ! =   e l e m   & &   $ . c s s ( p a r e n t ,   ' o v e r f l o w ' )   ! =   ' v i s i b l e ' )  
                                                 {   x   + =   n u m ( p a r e n t ,   ' b o r d e r L e f t W i d t h ' ) ;   y   + =   n u m ( p a r e n t ,   ' b o r d e r T o p W i d t h ' ) ;   }  
                                                 p a r e n t   =   p a r e n t . p a r e n t N o d e ;  
                                         }   w h i l e   ( p a r e n t   ! =   o p ) ;  
                                 }  
                                 p a r e n t   =   o p ;   i f   ( p a r e n t   = =   o p t i o n s . r e l a t i v e T o   & &   ! ( p a r e n t . t a g N a m e   = =   ' B O D Y '   | |   p a r e n t . t a g N a m e   = =   ' H T M L ' ) )  
                                 {  
                                         i f   ( m o   & &   p a r e n t   ! =   e l e m   & &   $ . c s s ( p a r e n t ,   ' o v e r f l o w ' )   ! =   ' v i s i b l e ' )  
                                         {   x   + =   n u m ( p a r e n t ,   ' b o r d e r L e f t W i d t h ' ) ;   y   + =   n u m ( p a r e n t ,   ' b o r d e r T o p W i d t h ' ) ;   }  
                                         i f   ( ( ( s f   & &   ! s f 3 )   | |   o a )   & &   p a r P o s   ! =   ' s t a t i c ' )  
                                         {   x   - =   n u m ( o p ,   ' b o r d e r L e f t W i d t h ' ) ;   y   - =   n u m ( o p ,   ' b o r d e r T o p W i d t h ' ) ;   }  
                                         b r e a k ;  
                                 }  
                                 i f   ( p a r e n t . t a g N a m e   = =   ' B O D Y '   | |   p a r e n t . t a g N a m e   = =   ' H T M L ' )  
                                 {  
                                         i f   ( ( ( s f   & &   ! s f 3 )   | |   ( i e   & &   $ . b o x M o d e l ) )   & &   e l e m P o s   ! =   ' a b s o l u t e '   & &   e l e m P o s   ! =   ' f i x e d ' )  
                                         {   x   + =   n u m ( p a r e n t ,   ' m a r g i n L e f t ' ) ;   y   + =   n u m ( p a r e n t ,   ' m a r g i n T o p ' ) ;   }  
                                         i f   ( s f 3   | |   ( m o   & &   ! a b s p a r e n t   & &   e l e m P o s   ! =   ' f i x e d ' )   | |   ( i e   & &   e l e m P o s   = =   ' s t a t i c '   & &   ! r e l p a r e n t ) )  
                                         {   x   + =   n u m ( p a r e n t ,   ' b o r d e r L e f t W i d t h ' ) ;   y   + =   n u m ( p a r e n t ,   ' b o r d e r T o p W i d t h ' ) ;   }  
                                         b r e a k ;  
                                 }    
                         }   w h i l e   ( p a r e n t ) ;  
                 }  
                 v a r   r e t u r n V a l u e   =   h a n d l e O f f s e t R e t u r n ( e l e m ,   o p t i o n s ,   x ,   y ,   s l ,   s t ) ;   i f   ( r e t u r n O b j e c t )   {   $ . e x t e n d ( r e t u r n O b j e c t ,   r e t u r n V a l u e ) ;   r e t u r n   t h i s ;   }  
                 e l s e   {   r e t u r n   r e t u r n V a l u e ;   }    
         } ,   o f f s e t L i t e :   f u n c t i o n ( o p t i o n s ,   r e t u r n O b j e c t )  
         {  
                 i f   ( ! t h i s [ 0 ] )   e r r o r ( ) ;   v a r   x   =   0 ,   y   =   0 ,   s l   =   0 ,   s t   =   0 ,   p a r e n t   =   t h i s [ 0 ] ,   o f f s e t P a r e n t ,   o p t i o n s   =   $ . e x t e n d ( {   m a r g i n :   t r u e ,   b o r d e r :   f a l s e ,   p a d d i n g :   f a l s e ,   s c r o l l :   t r u e ,   r e l a t i v e T o :   d o c u m e n t . b o d y   } ,   o p t i o n s   | |   { } ) ;   i f   ( o p t i o n s . r e l a t i v e T o . j q u e r y )   o p t i o n s . r e l a t i v e T o   =   o p t i o n s . r e l a t i v e T o [ 0 ] ;   d o  
                 {  
                         x   + =   p a r e n t . o f f s e t L e f t ;   y   + =   p a r e n t . o f f s e t T o p ;   o f f s e t P a r e n t   =   p a r e n t . o f f s e t P a r e n t   | |   d o c u m e n t . b o d y ;   i f   ( o p t i o n s . s c r o l l )  
                         {  
                                 d o  
                                 {   s l   + =   p a r e n t . s c r o l l L e f t ;   s t   + =   p a r e n t . s c r o l l T o p ;   p a r e n t   =   p a r e n t . p a r e n t N o d e ;   }   w h i l e   ( p a r e n t   ! =   o f f s e t P a r e n t ) ;  
                         }  
                         p a r e n t   =   o f f s e t P a r e n t ;  
                 }   w h i l e   ( p a r e n t   & &   p a r e n t . t a g N a m e   ! =   ' B O D Y '   & &   p a r e n t . t a g N a m e   ! =   ' H T M L '   & &   p a r e n t   ! =   o p t i o n s . r e l a t i v e T o ) ;   v a r   r e t u r n V a l u e   =   h a n d l e O f f s e t R e t u r n ( t h i s [ 0 ] ,   o p t i o n s ,   x ,   y ,   s l ,   s t ) ;   i f   ( r e t u r n O b j e c t )   {   $ . e x t e n d ( r e t u r n O b j e c t ,   r e t u r n V a l u e ) ;   r e t u r n   t h i s ;   }  
                 e l s e   {   r e t u r n   r e t u r n V a l u e ;   }    
         } ,   o f f s e t P a r e n t :   f u n c t i o n ( )  
         {  
                 i f   ( ! t h i s [ 0 ] )   e r r o r ( ) ;   v a r   o f f s e t P a r e n t   =   t h i s [ 0 ] . o f f s e t P a r e n t ;   w h i l e   ( o f f s e t P a r e n t   & &   ( o f f s e t P a r e n t . t a g N a m e   ! =   ' B O D Y '   & &   $ . c s s ( o f f s e t P a r e n t ,   ' p o s i t i o n ' )   = =   ' s t a t i c ' ) )  
                         o f f s e t P a r e n t   =   o f f s e t P a r e n t . o f f s e t P a r e n t ;   r e t u r n   $ ( o f f s e t P a r e n t ) ;  
         }    
         } ) ;   v a r   e r r o r   =   f u n c t i o n ( )  
         {   t h r o w   " D i m e n s i o n s :   j Q u e r y   c o l l e c t i o n   i s   e m p t y " ;   } ;   v a r   n u m   =   f u n c t i o n ( e l ,   p r o p )  
         {   r e t u r n   p a r s e I n t ( $ . c s s ( e l . j q u e r y   ?   e l [ 0 ]   :   e l ,   p r o p ) )   | |   0 ;   } ;   v a r   h a n d l e O f f s e t R e t u r n   =   f u n c t i o n ( e l e m ,   o p t i o n s ,   x ,   y ,   s l ,   s t )  
         {  
                 i f   ( ! o p t i o n s . m a r g i n )  
                 {   x   - =   n u m ( e l e m ,   ' m a r g i n L e f t ' ) ;   y   - =   n u m ( e l e m ,   ' m a r g i n T o p ' ) ;   }  
                 i f   ( o p t i o n s . b o r d e r   & &   ( ( $ . b r o w s e r . s a f a r i   & &   p a r s e I n t ( $ . b r o w s e r . v e r s i o n )   <   5 2 0 )   | |   $ . b r o w s e r . o p e r a ) )  
                 {   x   + =   n u m ( e l e m ,   ' b o r d e r L e f t W i d t h ' ) ;   y   + =   n u m ( e l e m ,   ' b o r d e r T o p W i d t h ' ) ;   }   e l s e   i f   ( ! o p t i o n s . b o r d e r   & &   ! ( ( $ . b r o w s e r . s a f a r i   & &   p a r s e I n t ( $ . b r o w s e r . v e r s i o n )   <   5 2 0 )   | |   $ . b r o w s e r . o p e r a ) )  
                 {   x   - =   n u m ( e l e m ,   ' b o r d e r L e f t W i d t h ' ) ;   y   - =   n u m ( e l e m ,   ' b o r d e r T o p W i d t h ' ) ;   }  
                 i f   ( o p t i o n s . p a d d i n g )  
                 {   x   + =   n u m ( e l e m ,   ' p a d d i n g L e f t ' ) ;   y   + =   n u m ( e l e m ,   ' p a d d i n g T o p ' ) ;   }  
                 i f   ( o p t i o n s . s c r o l l   & &   ( ! $ . b r o w s e r . o p e r a   | |   e l e m . o f f s e t L e f t   ! =   e l e m . s c r o l l L e f t   & &   e l e m . o f f s e t T o p   ! =   e l e m . s c r o l l L e f t ) )  
                 {   s l   - =   e l e m . s c r o l l L e f t ;   s t   - =   e l e m . s c r o l l T o p ;   }  
                 r e t u r n   o p t i o n s . s c r o l l   ?   {   t o p :   y   -   s t ,   l e f t :   x   -   s l ,   s c r o l l T o p :   s t ,   s c r o l l L e f t :   s l }   :   {   t o p :   y ,   l e f t :   x   } ;  
         } ;   v a r   s c r o l l b a r W i d t h   =   0 ;   v a r   g e t S c r o l l b a r W i d t h   =   f u n c t i o n ( )  
         {  
                 i f   ( ! s c r o l l b a r W i d t h )  
                 {   v a r   t e s t E l   =   $ ( ' < d i v > ' ) . c s s ( {   w i d t h :   1 0 0 ,   h e i g h t :   1 0 0 ,   o v e r f l o w :   ' a u t o ' ,   p o s i t i o n :   ' a b s o l u t e ' ,   t o p :   - 1 0 0 0 ,   l e f t :   - 1 0 0 0   } ) . a p p e n d T o ( ' b o d y ' ) ;   s c r o l l b a r W i d t h   =   1 0 0   -   t e s t E l . a p p e n d ( ' < d i v > ' ) . f i n d ( ' d i v ' ) . c s s ( {   w i d t h :   ' 1 0 0 % ' ,   h e i g h t :   2 0 0   } ) . w i d t h ( ) ;   t e s t E l . r e m o v e ( ) ;   }  
                 r e t u r n   s c r o l l b a r W i d t h ;  
         } ;  
 } ) ( j Q u e r y ) ;   ( f u n c t i o n ( $ )  
 {  
         $ . f n . j q m   =   f u n c t i o n ( o )  
         {  
                 v a r   _ o   =   {   z I n d e x :   3 0 0 0 ,   o v e r l a y :   5 0 ,   o v e r l a y C l a s s :   ' j q m O v e r l a y ' ,   c l o s e C l a s s :   ' j q m C l o s e ' ,   t r i g g e r :   ' . j q M o d a l ' ,   a j a x :   f a l s e ,   t a r g e t :   f a l s e ,   m o d a l :   f a l s e ,   t o T o p :   f a l s e ,   o n S h o w :   f a l s e ,   o n H i d e :   f a l s e ,   o n L o a d :   f a l s e ,   a j a x C l e a r B e f o r e :   f a l s e   } ;   r e t u r n   t h i s . e a c h ( f u n c t i o n ( )  
                 {   i f   ( t h i s . _ j q m )   r e t u r n ;   s + + ;   t h i s . _ j q m   =   s ;   H [ s ]   =   {   c :   $ . e x t e n d ( _ o ,   o ) ,   a :   f a l s e ,   w :   $ ( t h i s ) . a d d C l a s s ( ' j q m I D '   +   s ) ,   s :   s   } ;   i f   ( _ o . t r i g g e r )   $ ( t h i s ) . j q m A d d T r i g g e r ( _ o . t r i g g e r ) ;   } ) ;  
         } ;   $ . f n . j q m A d d C l o s e   =   f u n c t i o n ( e )   {   h s ( t h i s ,   e ,   ' j q m H i d e ' ) ;   r e t u r n   t h i s ;   } ;   $ . f n . j q m A d d T r i g g e r   =   f u n c t i o n ( e )   {   h s ( t h i s ,   e ,   ' j q m S h o w ' ) ;   r e t u r n   t h i s ;   } ;   $ . f n . j q m S h o w   =   f u n c t i o n ( t )   {   r e t u r n   t h i s . e a c h ( f u n c t i o n ( )   {   i f   ( ! H [ t h i s . _ j q m ] . a )   $ . j q m . o p e n ( t h i s . _ j q m ,   t )   } ) ;   } ;   $ . f n . j q m H i d e   =   f u n c t i o n ( t )   {   r e t u r n   t h i s . e a c h ( f u n c t i o n ( )   {   i f   ( H [ t h i s . _ j q m ] . a )   $ . j q m . c l o s e ( t h i s . _ j q m ,   t )   } ) ;   } ;   $ . j q m   =   {   h a s h :   { } ,   o p e n :   f u n c t i o n ( s ,   t )  
         {  
                 v a r   h   =   H [ s ] ,   c   =   h . c ,   c c   =   ' . '   +   c . c l o s e C l a s s ,   z   =   ( / ^ \ d + $ / . t e s t ( h . w . c s s ( ' z - i n d e x ' ) ) )   ?   h . w . c s s ( ' z - i n d e x ' )   :   c . z I n d e x ,   o   =   $ ( ' < d i v > < / d i v > ' ) . c s s ( {   h e i g h t :   ' 1 0 0 % ' ,   w i d t h :   ' 1 0 0 % ' ,   p o s i t i o n :   ' f i x e d ' ,   l e f t :   0 ,   t o p :   0 ,   ' z - i n d e x ' :   z   -   1 ,   o p a c i t y :   c . o v e r l a y   /   1 0 0   } ) ;   h . t   =   t ;   h . a   =   t r u e ;   h . w . c s s ( ' z - i n d e x ' ,   z ) ;   i f   ( c . m o d a l )   {   i f   ( ! A [ 0 ] )   F ( ' b i n d ' ) ;   A . p u s h ( s ) ;   o . c s s ( ' c u r s o r ' ,   ' w a i t ' ) ;   }  
                 e l s e   i f   ( c . o v e r l a y   >   0 )   h . w . j q m A d d C l o s e ( o ) ;   e l s e   o   =   f a l s e ;   h . o   =   ( o )   ?   o . a d d C l a s s ( c . o v e r l a y C l a s s ) . p r e p e n d T o ( ' b o d y ' )   :   f a l s e ;   i f   ( i e 6 )   {   $ ( ' h t m l , b o d y ' ) . c s s ( {   h e i g h t :   ' 1 0 0 % ' ,   w i d t h :   ' 1 0 0 % '   } ) ;   i f   ( o )   {   o   =   o . c s s ( {   p o s i t i o n :   ' a b s o l u t e '   } ) [ 0 ] ;   f o r   ( v a r   y   i n   {   T o p :   1 ,   L e f t :   1   } )   o . s t y l e . s e t E x p r e s s i o n ( y . t o L o w e r C a s e ( ) ,   " ( _ = ( d o c u m e n t . d o c u m e n t E l e m e n t . s c r o l l "   +   y   +   "   | |   d o c u m e n t . b o d y . s c r o l l "   +   y   +   " ) ) + ' p x ' " ) ;   }   }  
                 i f   ( c . a j a x )  
                 {   v a r   r   =   c . t a r g e t   | |   h . w ,   u   =   c . a j a x ,   r   =   ( t y p e o f   r   = =   ' s t r i n g ' )   ?   $ ( r ,   h . w )   :   $ ( r ) ,   u   =   ( u . s u b s t r ( 0 ,   1 )   = =   ' @ ' )   ?   $ ( t ) . a t t r ( u . s u b s t r i n g ( 1 ) )   :   u ;   i f   ( c . a j a x C l e a r B e f o r e )   {   $ ( h . w ) . e m p t y ( ) ;   }   r . l o a d ( u ,   f u n c t i o n ( )   {   i f   ( c . o n L o a d )   c . o n L o a d . c a l l ( t h i s ,   h ) ;   i f   ( c c )   h . w . j q m A d d C l o s e ( $ ( c c ,   h . w ) ) ;   e ( h ) ;   } ) ;   }  
                 e l s e   i f   ( c c )   h . w . j q m A d d C l o s e ( $ ( c c ,   h . w ) ) ;   i f   ( c . t o T o p   & &   h . o )   h . w . b e f o r e ( ' < s p a n   i d = " j q m P '   +   h . w [ 0 ] . _ j q m   +   ' " > < / s p a n > ' ) . i n s e r t A f t e r ( h . o ) ;   ( c . o n S h o w )   ?   c . o n S h o w ( h )   :   h . w . s h o w ( ) ;   e ( h ) ;   r e t u r n   f a l s e ;  
         } ,   c l o s e :   f u n c t i o n ( s )  
         {  
                 v a r   h   =   H [ s ] ;   h . a   =   f a l s e ;   i f   ( A [ 0 ] )   {   A . p o p ( ) ;   i f   ( ! A [ 0 ] )   F ( ' u n b i n d ' ) ;   }  
                 i f   ( h . c . t o T o p   & &   h . o )   $ ( ' # j q m P '   +   h . w [ 0 ] . _ j q m ) . a f t e r ( h . w ) . r e m o v e ( ) ;   i f   ( h . c . o n H i d e )   h . c . o n H i d e ( h ) ;   e l s e   {   h . w . h i d e ( ) ;   i f   ( h . o )   h . o . r e m o v e ( ) ;   }   r e t u r n   f a l s e ;  
         }    
         } ;   v a r   s   =   0 ,   H   =   $ . j q m . h a s h ,   A   =   [ ] ,   i e 6   =   $ . b r o w s e r . m s i e   & &   ( $ . b r o w s e r . v e r s i o n   = =   " 6 . 0 " ) ,   i   =   $ ( ' < i f r a m e   s r c = " j a v a s c r i p t : f a l s e ; d o c u m e n t . w r i t e ( \ ' \ ' ) ; "   c l a s s = " j q m " > < / i f r a m e > ' ) . c s s ( {   o p a c i t y :   0   } ) ,   e   =   f u n c t i o n ( h )   {   i f   ( i e 6 )   i f   ( h . o )   h . o . h t m l ( ' < p   s t y l e = " w i d t h : 1 0 0 % ; h e i g h t : 1 0 0 % " / > ' ) . p r e p e n d ( i ) ;   e l s e   i f   ( ! $ ( ' i f r a m e . j q m ' ,   h . w ) [ 0 ] )   h . w . p r e p e n d ( i ) ;   f ( h ) ;   } ,   f   =   f u n c t i o n ( h )   {   t r y   {   $ ( ' : i n p u t : v i s i b l e ' ,   h . w ) [ 0 ] . f o c u s ( ) ;   }   c a t c h   ( e )   {   }   } ,   F   =   f u n c t i o n ( t )   {   $ ( ) [ t ] ( " k e y p r e s s " ,   m ) [ t ] ( " k e y d o w n " ,   m ) [ t ] ( " m o u s e d o w n " ,   m ) ;   } ,   m   =   f u n c t i o n ( e )   {   v a r   h   =   H [ A [ A . l e n g t h   -   1 ] ] ,   r   =   ( ! $ ( e . t a r g e t ) . p a r e n t s ( ' . j q m I D '   +   h . s ) [ 0 ] ) ;   i f   ( r )   f ( h ) ;   r e t u r n   ! r ;   } ,   h s   =   f u n c t i o n ( w ,   e ,   y )  
         {   v a r   s   =   [ ] ;   w . e a c h ( f u n c t i o n ( )   {   s . p u s h ( t h i s . _ j q m )   } ) ;   $ ( e ) . e a c h ( f u n c t i o n ( )   {   i f   ( t h i s [ y ] )   $ . e x t e n d ( t h i s [ y ] ,   s ) ;   e l s e   {   t h i s [ y ]   =   s ;   $ ( t h i s ) . c l i c k ( f u n c t i o n ( )   {   f o r   ( v a r   i   i n   {   j q m S h o w :   1 ,   j q m H i d e :   1   } )   f o r   ( v a r   s   i n   t h i s [ i ] )   i f   ( H [ t h i s [ i ] [ s ] ] )   H [ t h i s [ i ] [ s ] ] . w [ i ] ( t h i s ) ;   r e t u r n   f a l s e ;   } ) ;   }   } ) ;   } ;  
 } ) ( j Q u e r y ) ;   ( f u n c t i o n ( $ )  
 {  
         $ . f n . h o v e r I n t e n t   =   f u n c t i o n ( f ,   g )  
         {  
                 v a r   c f g   =   {   s e n s i t i v i t y :   7 ,   i n t e r v a l :   1 0 0 ,   t i m e o u t :   0   } ;   c f g   =   $ . e x t e n d ( c f g ,   g   ?   {   o v e r :   f ,   o u t :   g }   :   f ) ;   v a r   c X ,   c Y ,   p X ,   p Y ;   v a r   t r a c k   =   f u n c t i o n ( e v )  
                 {   c X   =   e v . p a g e X ;   c Y   =   e v . p a g e Y ;   } ;   v a r   c o m p a r e   =   f u n c t i o n ( e v ,   o b )  
                 {  
                         o b . h o v e r I n t e n t _ t   =   c l e a r T i m e o u t ( o b . h o v e r I n t e n t _ t ) ;   i f   ( ( M a t h . a b s ( p X   -   c X )   +   M a t h . a b s ( p Y   -   c Y ) )   <   c f g . s e n s i t i v i t y )  
                         {   $ ( o b ) . u n b i n d ( " m o u s e m o v e " ,   t r a c k ) ;   o b . h o v e r I n t e n t _ s   =   1 ;   r e t u r n   c f g . o v e r . a p p l y ( o b ,   [ e v ] ) ;   }   e l s e  
                         {   p X   =   c X ;   p Y   =   c Y ;   o b . h o v e r I n t e n t _ t   =   s e t T i m e o u t ( f u n c t i o n ( )   {   c o m p a r e ( e v ,   o b ) ;   } ,   c f g . i n t e r v a l ) ;   }    
                 } ;   v a r   d e l a y   =   f u n c t i o n ( e v ,   o b )  
                 {   o b . h o v e r I n t e n t _ t   =   c l e a r T i m e o u t ( o b . h o v e r I n t e n t _ t ) ;   o b . h o v e r I n t e n t _ s   =   0 ;   r e t u r n   c f g . o u t . a p p l y ( o b ,   [ e v ] ) ;   } ;   v a r   h a n d l e H o v e r   =   f u n c t i o n ( e )  
                 {  
                         v a r   p   =   ( e . t y p e   = =   " m o u s e o v e r "   ?   e . f r o m E l e m e n t   :   e . t o E l e m e n t )   | |   e . r e l a t e d T a r g e t ;   w h i l e   ( p   & &   p   ! =   t h i s )   {   t r y   {   p   =   p . p a r e n t N o d e ;   }   c a t c h   ( e )   {   p   =   t h i s ;   }   }  
                         i f   ( p   = =   t h i s )   {   r e t u r n   f a l s e ;   }  
                         v a r   e v   =   j Q u e r y . e x t e n d ( { } ,   e ) ;   v a r   o b   =   t h i s ;   i f   ( o b . h o v e r I n t e n t _ t )   {   o b . h o v e r I n t e n t _ t   =   c l e a r T i m e o u t ( o b . h o v e r I n t e n t _ t ) ;   }  
                         i f   ( e . t y p e   = =   " m o u s e o v e r " )  
                         {   p X   =   e v . p a g e X ;   p Y   =   e v . p a g e Y ;   $ ( o b ) . b i n d ( " m o u s e m o v e " ,   t r a c k ) ;   i f   ( o b . h o v e r I n t e n t _ s   ! =   1 )   {   o b . h o v e r I n t e n t _ t   =   s e t T i m e o u t ( f u n c t i o n ( )   {   c o m p a r e ( e v ,   o b ) ;   } ,   c f g . i n t e r v a l ) ;   }   }   e l s e  
                         {   $ ( o b ) . u n b i n d ( " m o u s e m o v e " ,   t r a c k ) ;   i f   ( o b . h o v e r I n t e n t _ s   = =   1 )   {   o b . h o v e r I n t e n t _ t   =   s e t T i m e o u t ( f u n c t i o n ( )   {   d e l a y ( e v ,   o b ) ;   } ,   c f g . t i m e o u t ) ;   }   }    
                 } ;   r e t u r n   t h i s . m o u s e o v e r ( h a n d l e H o v e r ) . m o u s e o u t ( h a n d l e H o v e r ) ;  
         } ;  
 } ) ( j Q u e r y ) ;   ( f u n c t i o n ( $ )  
 {  
         v a r   $ c l u e t i p ,   $ c l u e t i p I n n e r ,   $ c l u e t i p O u t e r ,   $ c l u e t i p T i t l e ,   $ d r o p S h a d o w ,   i m g C o u n t ;   v a r   m s i e 6   =   $ . b r o w s e r . m s i e   & &   ( $ . b r o w s e r . v e r s i o n   & &   $ . b r o w s e r . v e r s i o n   <   7   | |   ( / 5 \ . 5 | 6 . 0 / ) . t e s t ( n a v i g a t o r . u s e r A g e n t ) ) ;   $ . f n . c l u e t i p   =   f u n c t i o n ( o p t i o n s )  
         {  
                 v a r   d e f a u l t s   =   {   w i d t h :   2 7 5 ,   h e i g h t :   ' a u t o ' ,   l o c a l :   f a l s e ,   h i d e L o c a l :   t r u e ,   a t t r i b u t e :   ' r e l ' ,   t i t l e A t t r i b u t e :   ' t i t l e ' ,   s p l i t T i t l e :   ' ' ,   s h o w T i t l e :   f a l s e ,   r e s t o r e T i t l e :   t r u e ,   c l u e t i p C l a s s :   ' d e f a u l t ' ,   h o v e r C l a s s :   ' ' ,   w a i t I m a g e :   f a l s e ,   c u r s o r :   ' h e l p ' ,   a r r o w s :   f a l s e ,   d r o p S h a d o w :   t r u e ,   d r o p S h a d o w S t e p s :   6 ,   s t i c k y :   f a l s e ,   m o u s e O u t C l o s e :   f a l s e ,   a c t i v a t i o n :   ' h o v e r ' ,   c l o s e P o s i t i o n :   ' t o p ' ,   c l o s e T e x t :   ' C l o s e ' ,   t r u n c a t e :   0 ,   c l u e z I n d e x :   4 0 0 0 ,   p o s i t i o n B y :   ' a u t o ' ,   f x :   {   o p e n :   ' s h o w ' ,   o p e n S p e e d :   ' ' ,   c l o s e :   ' h i d e ' ,   c l o s e S p e e d :   ' '   } ,   h o v e r I n t e n t :   {   s e n s i t i v i t y :   3 ,   i n t e r v a l :   5 0 0 ,   t i m e o u t :   0   } ,   o n A c t i v a t e :   f u n c t i o n ( e ) { r e t u r n   t r u e ; } ,   o n S h o w :   f u n c t i o n ( c t ,   c )   {   } ,   t a g :   ' ' ,   a j a x C a c h e :   f a l s e ,   a j a x P r o c e s s :   f u n c t i o n ( d a t a )  
                 {   d a t a   =   $ ( d a t a ) . n o t ( ' s t y l e ,   m e t a ,   l i n k ,   s c r i p t ,   t i t l e ' ) ;   r e t u r n   d a t a ;   } ,   a j a x S e t t i n g s :   {   d a t a T y p e :   ' h t m l ' }  
                 } ;   i f   ( o p t i o n s   & &   o p t i o n s . a j a x S e t t i n g s )  
                 {   $ . e x t e n d ( d e f a u l t s . a j a x S e t t i n g s ,   o p t i o n s . a j a x S e t t i n g s ) ;   d e l e t e   o p t i o n s . a j a x S e t t i n g s ;   }  
                 i f   ( o p t i o n s   & &   o p t i o n s . f x )  
                 {   $ . e x t e n d ( d e f a u l t s . f x ,   o p t i o n s . f x ) ;   d e l e t e   o p t i o n s . f x ;   }  
                 i f   ( o p t i o n s   & &   o p t i o n s . h o v e r I n t e n t )  
                 {   $ . e x t e n d ( d e f a u l t s . h o v e r I n t e n t ,   o p t i o n s . h o v e r I n t e n t ) ;   d e l e t e   o p t i o n s . h o v e r I n t e n t ;   }  
                 $ . e x t e n d ( d e f a u l t s ,   o p t i o n s ) ;   r e t u r n   t h i s . e a c h ( f u n c t i o n ( )  
                 {  
                         v a r   c l u e t i p C o n t e n t s   =   f a l s e ;   v a r   c l u e z I n d e x   =   p a r s e I n t ( d e f a u l t s . c l u e z I n d e x ,   1 0 )   -   1 ;   v a r   i s A c t i v e   =   f a l s e ;   i f   ( ! $ c l u e t i p )  
                         {   $ c l u e t i p I n n e r   =   $ ( ' < d i v   i d = " c l u e t i p - i n n e r " > < / d i v > ' ) ;   $ c l u e t i p T i t l e   =   $ ( ' < h 3   i d = " c l u e t i p - t i t l e " > < / h 3 > ' ) ;   $ c l u e t i p O u t e r   =   $ ( ' < d i v   i d = " c l u e t i p - o u t e r " > < / d i v > ' ) . a p p e n d ( $ c l u e t i p I n n e r ) . p r e p e n d ( $ c l u e t i p T i t l e ) ;   $ c l u e t i p   =   $ ( ' < d i v > < / d i v > ' ) . a t t r ( {   ' i d ' :   ' c l u e t i p '   } ) . c s s ( {   z I n d e x :   d e f a u l t s . c l u e z I n d e x   } ) . a p p e n d ( $ c l u e t i p O u t e r ) [ i n s e r t i o n T y p e ] ( i n s e r t i o n E l e m e n t ) . h i d e ( ) ;   $ ( ' < d i v   i d = " c l u e t i p - w a i t i m a g e " > < / d i v > ' ) . c s s ( {   p o s i t i o n :   ' a b s o l u t e ' ,   z I n d e x :   c l u e z I n d e x   -   1   } ) . i n s e r t B e f o r e ( ' # c l u e t i p ' ) . h i d e ( ) ;   $ c l u e t i p . c s s ( {   p o s i t i o n :   ' a b s o l u t e ' ,   z I n d e x :   c l u e z I n d e x   } ) ;   $ c l u e t i p O u t e r . c s s ( {   p o s i t i o n :   ' r e l a t i v e ' ,   z I n d e x :   c l u e z I n d e x   +   1   } ) ;   }  
                         v a r   d r o p S h a d o w S t e p s   =   ( d e f a u l t s . d r o p S h a d o w )   ?   + d e f a u l t s . d r o p S h a d o w S t e p s   :   0 ;   i f   ( ! $ d r o p S h a d o w )  
                         {  
                                 $ d r o p S h a d o w   =   $ ( [ ] ) ;   f o r   ( v a r   i   =   0 ;   i   <   d r o p S h a d o w S t e p s ;   i + + )  
                                 {   $ d r o p S h a d o w   =   $ d r o p S h a d o w . a d d ( $ ( ' < d i v > < / d i v > ' ) . c s s ( {   z I n d e x :   c l u e z I n d e x   -   i   -   1 ,   o p a c i t y :   . 1 ,   t o p :   1   +   i ,   l e f t :   1   +   i   } ) ) ;   } ;   $ d r o p S h a d o w . c s s ( {   p o s i t i o n :   ' a b s o l u t e ' ,   b a c k g r o u n d C o l o r :   ' # 0 0 0 '   } ) . p r e p e n d T o ( $ c l u e t i p ) ;  
                         }  
                         v a r   $ t h i s   =   $ ( t h i s ) ;   v a r   t i p A t t r i b u t e   =   $ t h i s . a t t r ( d e f a u l t s . a t t r i b u t e ) ,   c t C l a s s   =   d e f a u l t s . c l u e t i p C l a s s ;   i f   ( ! t i p A t t r i b u t e   & &   ! d e f a u l t s . s p l i t T i t l e )   r e t u r n   t r u e ;   i f   ( d e f a u l t s . l o c a l   & &   d e f a u l t s . h i d e L o c a l )   {   $ ( t i p A t t r i b u t e ) . h i d e ( ) ;   }  
                         v a r   t i p H e i g h t ,   w H e i g h t ;   v a r   d e f H e i g h t   =   i s N a N ( p a r s e I n t ( d e f a u l t s . h e i g h t ,   1 0 ) )   ?   ' a u t o '   :   ( / \ D / g ) . t e s t ( d e f a u l t s . h e i g h t )   ?   d e f a u l t s . h e i g h t   :   d e f a u l t s . h e i g h t   +   ' p x ' ;   v a r   s T o p ,   l i n k T o p ,   p o s Y ,   t i p Y ,   m o u s e Y ;   v a r   t i p W i d t h   =   p a r s e I n t ( d e f a u l t s . w i d t h ,   1 0 )   +   p a r s e I n t ( $ c l u e t i p . c s s ( ' p a d d i n g L e f t ' ) )   +   p a r s e I n t ( $ c l u e t i p . c s s ( ' p a d d i n g R i g h t ' ) )   +   d r o p S h a d o w S t e p s ;   i f   ( i s N a N ( t i p W i d t h ) )   t i p W i d t h   =   2 7 5 ;   v a r   l i n k W i d t h   =   t h i s . o f f s e t W i d t h ;   v a r   l i n k L e f t ,   p o s X ,   t i p X ,   m o u s e X ,   w i n W i d t h ;   v a r   t i p P a r t s ;   v a r   t i p T i t l e   =   ( d e f a u l t s . a t t r i b u t e   ! =   ' t i t l e ' )   ?   $ t h i s . a t t r ( d e f a u l t s . t i t l e A t t r i b u t e )   :   ' ' ;   i f   ( d e f a u l t s . s p l i t T i t l e )  
                         {   t i p P a r t s   =   t i p T i t l e . s p l i t ( d e f a u l t s . s p l i t T i t l e ) ;   t i p T i t l e   =   t i p P a r t s . s h i f t ( ) ;   }  
                         v a r   l o c a l C o n t e n t ;   v a r   s h o w L e f t A r r o w   =   f a l s e ;   v a r   a c t i v a t e   =   f u n c t i o n ( e v e n t )  
                         {  
                                 i f   ( ! d e f a u l t s . o n A c t i v a t e ( $ t h i s ) ) {   r e t u r n   f a l s e ;   }  
                                 i s A c t i v e   =   t r u e ;   $ c l u e t i p . r e m o v e C l a s s ( ) . c s s ( {   w i d t h :   d e f a u l t s . w i d t h   } ) ;   i f   ( t i p A t t r i b u t e   = =   $ t h i s . a t t r ( ' h r e f ' ) )  
                                 {   $ t h i s . c s s ( ' c u r s o r ' ,   d e f a u l t s . c u r s o r ) ;   }  
                                 $ t h i s . a t t r ( ' t i t l e ' ,   ' ' ) ;   i f   ( d e f a u l t s . h o v e r C l a s s )  
                                 {   $ t h i s . a d d C l a s s ( d e f a u l t s . h o v e r C l a s s ) ;   }  
                                 l i n k T o p   =   p o s Y   =   $ t h i s . o f f s e t ( ) . t o p ;   l i n k L e f t   =   $ t h i s . o f f s e t ( ) . l e f t ;   m o u s e X   =   e v e n t . p a g e X ;   m o u s e Y   =   e v e n t . p a g e Y ;   i f   ( $ t h i s [ 0 ] . t a g N a m e . t o L o w e r C a s e ( )   ! =   ' a r e a ' )  
                                 {   s T o p   =   $ ( d o c u m e n t ) . s c r o l l T o p ( ) ;   w i n W i d t h   =   $ ( w i n d o w ) . w i d t h ( ) ;   }  
                                 p o s X   =   ( l i n k W i d t h   >   l i n k L e f t   & &   l i n k L e f t   >   t i p W i d t h )   | |   l i n k L e f t   +   l i n k W i d t h   +   t i p W i d t h   >   w i n W i d t h   ?   l i n k L e f t   -   t i p W i d t h   -   0   :   l i n k W i d t h   +   l i n k L e f t   -   2 3 0 ;   i f   ( l i n k W i d t h   >   0 )  
                                 {   p o s X   - =   1 0 0 ;   }  
                                 s h o w L e f t A r r o w   =   f a l s e ;   i f   ( ( l i n k L e f t   <   t i p W i d t h )   & &   ( d e f a u l t s . t a g   = =   ' s t o c k R o l l ' ) )  
                                 {   s h o w L e f t A r r o w   =   t r u e ;   p o s X   =   l i n k L e f t   +   l i n k W i d t h   +   2 5 ;   }  
                                 i f   ( d e f a u l t s . t a g   = =   ' h e l p M o d a l ' )  
                                 {   p o s X   =   l i n k W i d t h   +   2 5 ;   }  
                                 i f   ( $ t h i s [ 0 ] . t a g N a m e . t o L o w e r C a s e ( )   = =   ' a r e a '   | |   d e f a u l t s . p o s i t i o n B y   = =   ' m o u s e '   | |   l i n k W i d t h   +   t i p W i d t h   >   w i n W i d t h )  
                                 {  
                                         i f   ( m o u s e X   +   2 0   +   t i p W i d t h   >   w i n W i d t h )  
                                         {   p o s X   =   ( m o u s e X   -   t i p W i d t h   -   2 0 )   > =   0   ?   m o u s e X   -   t i p W i d t h   -   2 0   :   m o u s e X   -   ( t i p W i d t h   /   2 ) ;   }   e l s e  
                                         {   p o s X   =   m o u s e X   +   2 0 ;   }  
                                         v a r   p Y   =   p o s X   <   0   ?   e v e n t . p a g e Y   +   2 0   :   e v e n t . p a g e Y ;  
                                 }  
                                 $ c l u e t i p . a d d C l a s s ( ' c l u e - l e f t - '   +   c t C l a s s ) . r e m o v e C l a s s ( ' c l u e - r i g h t - '   +   c t C l a s s ) ;   $ c l u e t i p . c s s ( {   l e f t :   p o s X   } ) ;   w H e i g h t   =   $ ( w i n d o w ) . h e i g h t ( ) ;   i f   ( t i p P a r t s )  
                                 {  
                                         f o r   ( v a r   i   =   0 ;   i   <   t i p P a r t s . l e n g t h ;   i + + )  
                                         {  
                                                 i f   ( i   = =   0 )  
                                                 {   $ c l u e t i p I n n e r . h t m l ( t i p P a r t s [ i ] ) ;   }   e l s e  
                                                 {   $ c l u e t i p I n n e r . a p p e n d ( ' < d i v   c l a s s = " s p l i t - b o d y " > '   +   t i p P a r t s [ i ]   +   ' < / d i v > ' ) ;   }    
                                         } ;   c l u e t i p S h o w ( p Y ) ;  
                                 }  
                                 e l s e   i f   ( ! d e f a u l t s . l o c a l   & &   t i p A t t r i b u t e . i n d e x O f ( ' # ' )   ! =   0 )  
                                 {  
                                         i f   ( c l u e t i p C o n t e n t s   & &   d e f a u l t s . a j a x C a c h e )  
                                         {   $ c l u e t i p I n n e r . h t m l ( c l u e t i p C o n t e n t s ) ;   c l u e t i p S h o w ( p Y ) ;   }  
                                         e l s e  
                                         {  
                                                 v a r   a j a x S e t t i n g s   =   d e f a u l t s . a j a x S e t t i n g s ;   a j a x S e t t i n g s . u r l   =   t i p A t t r i b u t e ;   a j a x S e t t i n g s . b e f o r e S e n d   =   f u n c t i o n ( )  
                                                 {  
                                                         $ c l u e t i p O u t e r . c h i l d r e n ( ) . e m p t y ( ) ;   i f   ( d e f a u l t s . w a i t I m a g e )  
                                                         {   $ ( ' # c l u e t i p - w a i t i m a g e ' ) . c s s ( {   t o p :   m o u s e Y   -   1 0 ,   l e f t :   p a r s e I n t ( p o s X   +   ( t i p W i d t h   /   2 ) ,   1 0 )   } ) . s h o w ( ) ;   }    
                                                 } ;   a j a x S e t t i n g s . e r r o r   =   f u n c t i o n ( )  
                                                 {  
                                                         i f   ( i s A c t i v e )  
                                                         {   $ c l u e t i p I n n e r . h t m l ( ' < i > s o r r y ,   t h e   c o n t e n t s   c o u l d   n o t   b e   l o a d e d < / i > ' ) ;   }    
                                                 } ;   a j a x S e t t i n g s . s u c c e s s   =   f u n c t i o n ( d a t a )  
                                                 {  
                                                         c l u e t i p C o n t e n t s   =   d e f a u l t s . a j a x P r o c e s s ( d a t a ) ;   i f   ( i s A c t i v e )  
                                                         {   $ c l u e t i p I n n e r [ 0 ] . i n n e r H T M L   =   d a t a ;   }    
                                                 } ;   a j a x S e t t i n g s . c o m p l e t e   =   f u n c t i o n ( )  
                                                 {  
                                                         i m g C o u n t   =   $ ( ' # c l u e t i p - i n n e r   i m g ' ) . l e n g t h ;   i f   ( i m g C o u n t )  
                                                         {  
                                                                 $ ( ' # c l u e t i p - i n n e r   i m g ' ) . l o a d ( f u n c t i o n ( )  
                                                                 {  
                                                                         i m g C o u n t - - ;   i f   ( i m g C o u n t   <   1 )  
                                                                         {   $ ( ' # c l u e t i p - w a i t i m a g e ' ) . h i d e ( ) ;   i f   ( i s A c t i v e )   c l u e t i p S h o w ( p Y ) ;   }    
                                                                 } ) ;  
                                                         }   e l s e  
                                                         {   $ ( ' # c l u e t i p - w a i t i m a g e ' ) . h i d e ( ) ;   c l u e t i p S h o w ( p Y ) ;   }    
                                                 } ;   $ . a j a x ( a j a x S e t t i n g s ) ;  
                                         }    
                                 }   e l s e   i f   ( d e f a u l t s . l o c a l   & &   t i p A t t r i b u t e . i n d e x O f ( ' # ' )   = =   0 )  
                                 {   v a r   l o c a l C o n t e n t   =   $ ( t i p A t t r i b u t e ) . h t m l ( ) ;   $ c l u e t i p I n n e r . h t m l ( l o c a l C o n t e n t ) ;   c l u e t i p S h o w ( p Y ) ;   }    
                         } ;   v a r   c l u e t i p S h o w   =   f u n c t i o n ( b p Y )  
                         {  
                                 $ c l u e t i p . a d d C l a s s ( ' c l u e t i p - '   +   c t C l a s s ) ;   $ t h i s . d o H i d e C l u e t i p   =   t r u e ;   i f   ( d e f a u l t s . t r u n c a t e )  
                                 {   v a r   $ t r u n c l o a d e d   =   $ c l u e t i p I n n e r . t e x t ( ) . s l i c e ( 0 ,   d e f a u l t s . t r u n c a t e )   +   ' . . . ' ;   $ c l u e t i p I n n e r . h t m l ( $ t r u n c l o a d e d ) ;   }  
                                 f u n c t i o n   d o N o t h i n g ( )   {   } ;   t i p T i t l e   ?   ( d e f a u l t s . s h o w T i t l e )   ?   $ c l u e t i p T i t l e . s h o w ( ) . h t m l ( t i p T i t l e )   :   $ c l u e t i p T i t l e . h i d e ( )   :   ( d e f a u l t s . s h o w T i t l e )   ?   $ c l u e t i p T i t l e . s h o w ( ) . h t m l ( ' & n b s p ; ' )   :   $ c l u e t i p T i t l e . h i d e ( ) ;   i f   ( d e f a u l t s . s t i c k y )  
                                 {  
                                         v a r   $ c l o s e L i n k   =   $ ( ' < d i v   i d = " c l u e t i p - c l o s e " > < a   h r e f = " # " > '   +   d e f a u l t s . c l o s e T e x t   +   ' < / a > < / d i v > ' ) ;   ( d e f a u l t s . c l o s e P o s i t i o n   = =   ' b o t t o m ' )   ?   $ c l o s e L i n k . a p p e n d T o ( $ c l u e t i p I n n e r )   :   ( d e f a u l t s . c l o s e P o s i t i o n   = =   ' t i t l e ' )   ?   $ c l o s e L i n k . p r e p e n d T o ( $ c l u e t i p T i t l e )   :   $ c l o s e L i n k . p r e p e n d T o ( $ c l u e t i p I n n e r ) ;   $ c l o s e L i n k . c l i c k ( f u n c t i o n ( )  
                                         {   c l u e t i p C l o s e ( ) ;   r e t u r n   f a l s e ;   } ) ;   i f   ( d e f a u l t s . m o u s e O u t C l o s e )  
                                         {   $ c l u e t i p . h o v e r ( f u n c t i o n ( )   {   d o N o t h i n g ( ) ;   k e e p C l u e t i p V i s i b l e ( ) ;   } ,   f u n c t i o n ( )   {   $ c l o s e L i n k . t r i g g e r ( ' c l i c k ' ) ;   } ) ;   }   e l s e  
                                         {   $ c l u e t i p . u n b i n d ( ' m o u s e o u t ' ) ;   }    
                                 }  
                                 $ c l u e t i p O u t e r . c s s ( {   o v e r f l o w :   d e f H e i g h t   = =   ' a u t o '   ?   ' v i s i b l e '   :   ' a u t o ' ,   h e i g h t :   d e f H e i g h t   } ) ;   t i p H e i g h t   =   d e f H e i g h t   = =   ' a u t o '   ?   $ c l u e t i p . o u t e r H e i g h t ( )   :   p a r s e I n t ( d e f H e i g h t ,   1 0 ) ;   t i p Y   =   p o s Y ;   i f   ( d e f a u l t s . t a g   = =   ' s t o c k R o l l ' )  
                                 {   t i p Y   - =   2 0 5 ;   }  
                                 e l s e  
                                 {  
                                         i f   ( ( p o s X   <   m o u s e X   & &   M a t h . m a x ( p o s X ,   0 )   +   t i p W i d t h   >   m o u s e X )   | |   d e f a u l t s . p o s i t i o n B y   = =   ' a u t o ' )  
                                         {   t i p Y   =   p o s Y   +   t i p H e i g h t   >   s T o p   +   w H e i g h t   & &   m o u s e Y   -   s T o p   >   t i p H e i g h t   +   0   ?   m o u s e Y   -   t i p H e i g h t   -   1 6   :   m o u s e Y   -   2 1 0 ;   }   e l s e   i f   ( p o s Y   +   t i p H e i g h t   >   s T o p   +   w H e i g h t )  
                                         {   t i p Y   =   ( t i p H e i g h t   > =   w H e i g h t )   ?   s T o p   :   s T o p   +   w H e i g h t   -   t i p H e i g h t   -   1 0 ;   }   e l s e   i f   ( $ t h i s . c s s ( ' d i s p l a y ' )   = =   ' b l o c k '   | |   $ t h i s [ 0 ] . t a g N a m e . t o L o w e r C a s e ( )   = =   ' a r e a '   | |   d e f a u l t s . p o s i t i o n B y   = =   " m o u s e " )  
                                         {   t i p Y   =   b p Y   -   1 0 ;   }   e l s e  
                                         {   t i p Y   =   p o s Y   -   d e f a u l t s . d r o p S h a d o w S t e p s ;   }    
                                 }  
                                 $ c l u e t i p . c s s ( {   t o p :   t i p Y   +   ' p x '   } ) ;   i f   ( d e f a u l t s . a r r o w s )  
                                 {  
                                         v a r   b g P o s   =   ' 0   0 ' ;   v a r   b g Y   =   ( p o s Y   -   t i p Y   -   d e f a u l t s . d r o p S h a d o w S t e p s ) ;   i f   ( $ c l u e t i p . i s ( ' . c l u e - l e f t - '   +   c t C l a s s ) )  
                                         {   b g P o s   =   p o s X   > =   0   ?   ' 1 0 0 %   '   +   b g Y   +   ' p x '   :   ' 1 0 0 %   0 ' ;   }   e l s e   i f   ( $ c l u e t i p . i s ( ' . c l u e - r i g h t - '   +   c t C l a s s ) )  
                                         {   b g P o s   =   ( p o s X   > =   0   & &   b g Y   >   0 )   ?   ' 0   '   +   b g Y   +   ' p x '   :   ' 0   0 ' ;   }    
                                 }   e l s e  
                                 {   b g P o s   =   ' 0   1 0 0 % ' ;   }  
                                 $ c l u e t i p . c s s ( {   b a c k g r o u n d P o s i t i o n :   b g P o s   } ) ;   $ d r o p S h a d o w . h i d e ( ) ;   $ c l u e t i p . h i d e ( ) [ d e f a u l t s . f x . o p e n ] ( d e f a u l t s . f x . o p e n   ! =   ' s h o w '   & &   d e f a u l t s . f x . o p e n S p e e d ) ;   i f   ( d e f a u l t s . d r o p S h a d o w )   $ d r o p S h a d o w . c s s ( {   h e i g h t :   t i p H e i g h t ,   w i d t h :   d e f a u l t s . w i d t h   } ) . s h o w ( ) ;   d e f a u l t s . o n S h o w ( $ c l u e t i p ,   $ c l u e t i p I n n e r ) ;   i f   ( ( d e f a u l t s . t a g   = =   ' s t o c k R o l l ' )   & &   ( s h o w L e f t A r r o w ) )  
                                 {   $ c l u e t i p I n n e r [ 0 ] . i n n e r H T M L   =   $ c l u e t i p I n n e r [ 0 ] . i n n e r H T M L . r e p l a c e ( / c l a s s = \ " ? a r r o w \ " ? / ,   ' c l a s s = " a r r o w - l e f t " ' ) ;   }    
                         } ;   v a r   i n a c t i v a t e   =   f u n c t i o n ( )  
                         {  
                                 i s A c t i v e   =   f a l s e ;   $ ( ' # c l u e t i p - w a i t i m a g e ' ) . h i d e ( ) ;   i f   ( ! d e f a u l t s . s t i c k y )  
                                 {   c l u e t i p C l o s e ( ) ;   }  
                                 e l s e  
                                 {  
                                         i f   ( $ t h i s . s t i c k y T i m e r )  
                                         {   c l e a r T i m e o u t ( $ t h i s . s t i c k y T i m e r ) ;   }  
                                         i f   ( $ t h i s . d o H i d e C l u e t i p )  
                                         {   $ t h i s . c l o s e S t i c k y C l u e T i p   =   t r u e ;   }  
                                         $ t h i s . s t i c k y T i m e r   =   s e t T i m e o u t ( c l o s e C l u e T i p O n M o u s e O u t ,   3 0 0 ) ;  
                                 }  
                                 i f   ( d e f a u l t s . h o v e r C l a s s )  
                                 {   $ t h i s . r e m o v e C l a s s ( d e f a u l t s . h o v e r C l a s s ) ;   }    
                         } ;   v a r   s t i c k y T i m e r   =   n u l l ;   v a r   c l o s e S t i c k y C l u e T i p   =   n u l l ;   v a r   d o H i d e C l u e t i p   =   t r u e ;   v a r   k e e p C l u e t i p V i s i b l e   =   f u n c t i o n ( )  
                         {  
                                 $ t h i s . c l o s e S t i c k y C l u e T i p   =   n u l l ;   $ t h i s . d o H i d e C l u e t i p   =   n u l l ;   i f   ( $ t h i s . s t i c k y T i m e r )  
                                 {   c l e a r T i m e o u t ( $ t h i s . s t i c k y T i m e r ) ;   $ t h i s . s t i c k y T i m e r   =   n u l l ;   }    
                         }  
                         v a r   c l o s e C l u e T i p O n M o u s e O u t   =   f u n c t i o n ( )  
                         {  
                                 i f   ( $ t h i s . s t i c k y T i m e r )  
                                 {   c l e a r T i m e o u t ( $ t h i s . s t i c k y T i m e r ) ;   $ t h i s . s t i c k y T i m e r   =   n u l l ;   }  
                                 i f   ( $ t h i s . c l o s e S t i c k y C l u e T i p )  
                                 {   c l u e t i p C l o s e ( ) ;   }    
                         }  
                         v a r   c l u e t i p C l o s e   =   f u n c t i o n ( )  
                         {  
                                 $ c l u e t i p O u t e r . p a r e n t ( ) [ d e f a u l t s . f x . c l o s e ] ( d e f a u l t s . f x . c l o s e S p e e d ) . r e m o v e C l a s s ( ) . e n d ( ) . c h i l d r e n ( ) . e m p t y ( ) ;   i f   ( t i p T i t l e   & &   d e f a u l t s . r e s t o r e T i t l e )  
                                 {   $ t h i s . a t t r ( ' t i t l e ' ,   t i p T i t l e ) ;   }    
                         } ;   i f   ( d e f a u l t s . a c t i v a t i o n   = =   ' c l i c k '   | |   d e f a u l t s . a c t i v a t i o n   = =   ' t o g g l e ' )  
                         {  
                                 $ t h i s . c l i c k ( f u n c t i o n ( e v e n t )  
                                 {  
                                         i f   ( $ c l u e t i p . i s ( ' : h i d d e n ' ) )  
                                         {   a c t i v a t e ( e v e n t ) ;   }   e l s e  
                                         {   i n a c t i v a t e ( e v e n t ) ;   }  
                                         t h i s . b l u r ( ) ;   r e t u r n   f a l s e ;  
                                 } ) ;  
                         }   e l s e  
                         {  
                                 $ t h i s . c l i c k ( f u n c t i o n ( )  
                                 {  
                                         i f   ( t i p A t t r i b u t e   = =   $ t h i s . a t t r ( ' h r e f ' ) )  
                                         {   r e t u r n   f a l s e ;   }    
                                 } ) ;   i f   ( $ . f n . h o v e r I n t e n t   & &   d e f a u l t s . h o v e r I n t e n t )  
                                 {   $ t h i s . h o v e r I n t e n t ( {   s e n s i t i v i t y :   d e f a u l t s . h o v e r I n t e n t . s e n s i t i v i t y ,   i n t e r v a l :   d e f a u l t s . h o v e r I n t e n t . i n t e r v a l ,   o v e r :   f u n c t i o n ( e v e n t )   {   a c t i v a t e ( e v e n t ) ;   } ,   t i m e o u t :   d e f a u l t s . h o v e r I n t e n t . t i m e o u t ,   o u t :   f u n c t i o n ( e v e n t )   {   i n a c t i v a t e ( e v e n t ) ;   }   } ) ;   }   e l s e  
                                 {  
                                         $ t h i s . h o v e r ( f u n c t i o n ( e v e n t )  
                                         {   a c t i v a t e ( e v e n t ) ;   } ,   f u n c t i o n ( e v e n t )  
                                         {   i n a c t i v a t e ( e v e n t ) ;   } ) ;  
                                 }    
                         }    
                 } ) ;  
         } ;   v a r   i n s e r t i o n T y p e   =   ' a p p e n d T o ' ,   i n s e r t i o n E l e m e n t   =   ' b o d y ' ;   $ . c l u e t i p   =   { } ;   $ . c l u e t i p . s e t u p   =   f u n c t i o n ( o p t i o n s )  
         {  
                 i f   ( o p t i o n s   & &   o p t i o n s . i n s e r t i o n T y p e   & &   ( o p t i o n s . i n s e r t i o n T y p e ) . m a t c h ( / a p p e n d T o | p r e p e n d T o | i n s e r t B e f o r e | i n s e r t A f t e r / ) )  
                 {   i n s e r t i o n T y p e   =   o p t i o n s . i n s e r t i o n T y p e ;   }  
                 i f   ( o p t i o n s   & &   o p t i o n s . i n s e r t i o n E l e m e n t )  
                 {   i n s e r t i o n E l e m e n t   =   o p t i o n s . i n s e r t i o n E l e m e n t ;   }    
         } ;  
 } ) ( j Q u e r y ) ;   j Q u e r y . f n . i n i t T o g g l e P a n e   =   f u n c t i o n ( p r o p s )  
 {  
         p r o p s   =   j Q u e r y . e x t e n d ( {   h e a d e r C l a s s C l o s e d :   n u l l ,   s t a r t O p e n e d :   I n f i n i t y ,   s p e e d :   ' f a s t '   } ,   p r o p s   ?   p r o p s   :   { } ) ;   i f   ( f a l s e   = = =   p r o p s . s t a r t O p e n e d )   p r o p s . s t a r t O p e n e d   =   N a N ;   e l s e   i f   ( t r u e   = = =   p r o p s . s t a r t O p e n e d )   p r o p s . s t a r t O p e n e d   =   I n f i n i t y ;   v a r   w r a p p e r s   =   j Q u e r y ( ' >   d i v ' ,   t h i s ) ;   v a r   c o n t e n t s   =   j Q u e r y ( ' d i v : l a s t ' ,   w r a p p e r s ) ;   v a r   h e a d s   =   j Q u e r y ( ' d i v : f i r s t ' ,   w r a p p e r s ) ;   i f   ( ! h e a d s . l t )  
         {   h e a d s . l t   =   f u n c t i o n ( i n d e x )   {   r e t u r n   h e a d s . s l i c e ( 0 ,   i n d e x ) ;   } ;   h e a d s . g t   =   f u n c t i o n ( i n d e x )   {   r e t u r n   h e a d s . s l i c e ( i n d e x   +   1 ) ;   } ;   }  
         h e a d s . c l i c k ( f u n c t i o n ( )  
         {   v a r   h e a d   =   j Q u e r y ( t h i s ) ;   h e a d . n e x t ( ) . s l i d e T o g g l e ( p r o p s . s p e e d ,   p r o p s . h e a d e r C l a s s C l o s e d   ?   f u n c t i o n ( )   {   h e a d . t o g g l e C l a s s ( p r o p s . h e a d e r C l a s s C l o s e d )   }   :   u n d e f i n e d ) ;   } ) ;   v a r   s o   =   p r o p s . s t a r t O p e n e d ;   i f   ( i s N a N ( s o ) )  
         {   h e a d s . c l i c k ( ) ;   }  
         e l s e   i f   ( ! i s F i n i t e ( s o ) )  
         {   1 ;   }  
         e l s e   i f   ( ( s o   > =   0 )   & &   ( s o   <   h e a d s . l e n g t h ) )  
         {   h e a d s . l t ( s o ) . c l i c k ( ) ;   h e a d s . g t ( s o ) . c l i c k ( ) ;   }   e l s e  
         {   1 ;   }  
         r e t u r n   t h i s ;  
 } ;   j Q u e r y . f n . e x t e n d ( {   s e l e c t b o x :   f u n c t i o n ( o p t i o n s )  
 {  
         r e t u r n   t h i s . e a c h ( f u n c t i o n ( )  
         {   n e w   j Q u e r y . S e l e c t B o x ( t h i s ,   o p t i o n s ) ;   } ) ;  
 }    
 } ) ;   j Q u e r y . S e l e c t B o x   =   f u n c t i o n ( s e l e c t o b j ,   o p t i o n s )  
 {  
         v a r   o p t   =   o p t i o n s   | |   { } ;   o p t . i n p u t C l a s s   =   o p t . i n p u t C l a s s   | |   " s e l e c t b o x " ;   o p t . c o n t a i n e r C l a s s   =   o p t . c o n t a i n e r C l a s s   | |   " s e l e c t b o x - w r a p p e r " ;   o p t . h o v e r C l a s s   =   o p t . h o v e r C l a s s   | |   " s e l e c t e d " ;   o p t . d e b u g   =   o p t . d e b u g   | |   f a l s e ;   v a r   e l m _ i d   =   s e l e c t o b j . i d ;   v a r   a c t i v e   =   - 1 ;   v a r   i n F o c u s   =   f a l s e ;   v a r   h a s f o c u s   =   0 ;   v a r   $ s e l e c t   =   $ ( s e l e c t o b j ) ;   v a r   $ c o n t a i n e r   =   s e t u p C o n t a i n e r ( o p t ) ;   v a r   $ i n p u t   =   s e t u p I n p u t ( o p t ) ;   $ s e l e c t . h i d e ( ) . b e f o r e ( $ i n p u t ) . b e f o r e ( $ c o n t a i n e r ) ;   i n i t ( ) ;   $ i n p u t . c l i c k ( f u n c t i o n ( )  
         {   $ c o n t a i n e r . t o g g l e ( ) ;   } ) . k e y d o w n ( f u n c t i o n ( e v e n t )  
         {  
                 s w i t c h   ( e v e n t . k e y C o d e )  
                 {   c a s e   3 8 :   e v e n t . p r e v e n t D e f a u l t ( ) ;   m o v e S e l e c t ( - 1 ) ;   b r e a k ;   c a s e   4 0 :   e v e n t . p r e v e n t D e f a u l t ( ) ;   m o v e S e l e c t ( 1 ) ;   b r e a k ;   c a s e   1 3 :   e v e n t . p r e v e n t D e f a u l t ( ) ;   s e t C u r r e n t ( ) ;   h i d e M e ( ) ;   b r e a k ;   }    
         } ) . b l u r ( f u n c t i o n ( )  
         {  
                 i f   ( $ c o n t a i n e r . i s ( ' : v i s i b l e ' )   & &   h a s f o c u s   >   0 )  
                 {   i f   ( o p t . d e b u g )   c o n s o l e . l o g ( ' c o n t a i n e r   v i s i b l e   a n d   h a s   f o c u s ' )   }   e l s e  
                 {   h i d e M e ( ) ;   }    
         } ) ;   f u n c t i o n   h i d e M e ( )  
         {   h a s f o c u s   =   0 ;   $ c o n t a i n e r . h i d e ( ) ;   }  
         f u n c t i o n   i n i t ( )  
         {  
                 $ c o n t a i n e r . a p p e n d ( g e t S e l e c t O p t i o n s ( ) ) . h i d e ( ) ;   v a r   w i d t h   =   $ i n p u t . w i d t h ( )  
                 $ c o n t a i n e r . w i d t h ( w i d t h ) ;  
         }  
         f u n c t i o n   s e t u p C o n t a i n e r ( o p t i o n s )  
         {   v a r   c o n t a i n e r   =   d o c u m e n t . c r e a t e E l e m e n t ( " d i v " ) ;   $ c o n t a i n e r   =   $ ( c o n t a i n e r ) ;   $ c o n t a i n e r . a t t r ( ' i d ' ,   e l m _ i d   +   ' _ c o n t a i n e r ' ) ;   $ c o n t a i n e r . a d d C l a s s ( o p t i o n s . c o n t a i n e r C l a s s ) ;   r e t u r n   $ c o n t a i n e r ;   }  
         f u n c t i o n   s e t u p I n p u t ( o p t i o n s )  
         {   v a r   i n p u t   =   d o c u m e n t . c r e a t e E l e m e n t ( " i n p u t " ) ;   v a r   $ i n p u t   =   $ ( i n p u t ) ;   $ i n p u t . a t t r ( " i d " ,   e l m _ i d   +   " _ i n p u t " ) ;   $ i n p u t . a t t r ( " t y p e " ,   " t e x t " ) ;   $ i n p u t . a d d C l a s s ( o p t i o n s . i n p u t C l a s s ) ;   $ i n p u t . a t t r ( " a u t o c o m p l e t e " ,   " o f f " ) ;   $ i n p u t . a t t r ( " r e a d o n l y " ,   " r e a d o n l y " ) ;   $ i n p u t . a t t r ( " t a b I n d e x " ,   $ s e l e c t . a t t r ( " t a b i n d e x " ) ) ;   r e t u r n   $ i n p u t ;   }  
         f u n c t i o n   m o v e S e l e c t ( s t e p )  
         {  
                 v a r   l i s   =   $ ( " l i " ,   $ c o n t a i n e r ) ;   i f   ( ! l i s )   r e t u r n ;   a c t i v e   + =   s t e p ;   i f   ( a c t i v e   <   0 )  
                 {   a c t i v e   =   0 ;   }   e l s e   i f   ( a c t i v e   > =   l i s . s i z e ( ) )  
                 {   a c t i v e   =   l i s . s i z e ( )   -   1 ;   }  
                 l i s . r e m o v e C l a s s ( o p t . h o v e r C l a s s ) ;   $ ( l i s [ a c t i v e ] ) . a d d C l a s s ( o p t . h o v e r C l a s s ) ;  
         }  
         f u n c t i o n   s e t C u r r e n t ( )  
         {  
                 v a r   l i   =   $ ( " l i . "   +   o p t . h o v e r C l a s s ,   $ c o n t a i n e r ) . g e t ( 0 ) ;   v a r   e l   =   l i . i d  
                 $ s e l e c t . v a l ( e l ) ;   $ i n p u t . v a l ( $ ( l i ) . h t m l ( ) ) ;   r e t u r n   t r u e ;  
         }  
         f u n c t i o n   g e t C u r r e n t S e l e c t e d ( )  
         {   r e t u r n   $ s e l e c t . v a l ( ) ;   }  
         f u n c t i o n   g e t C u r r e n t V a l u e ( )  
         {   r e t u r n   $ i n p u t . v a l ( ) ;   }  
         f u n c t i o n   g e t S e l e c t O p t i o n s ( )  
         {  
                 v a r   s e l e c t _ o p t i o n s   =   n e w   A r r a y ( ) ;   v a r   u l   =   d o c u m e n t . c r e a t e E l e m e n t ( ' u l ' ) ;   $ s e l e c t . c h i l d r e n ( ' o p t i o n ' ) . e a c h ( f u n c t i o n ( )  
                 {  
                         v a r   l i   =   d o c u m e n t . c r e a t e E l e m e n t ( ' l i ' ) ;   l i . s e t A t t r i b u t e ( ' i d ' ,   $ ( t h i s ) . v a l ( ) ) ;   l i . i n n e r H T M L   =   $ ( t h i s ) . h t m l ( ) ;   i f   ( $ ( t h i s ) . i s ( ' : s e l e c t e d ' ) )  
                         {   $ i n p u t . v a l ( $ ( t h i s ) . h t m l ( ) ) ;   $ ( l i ) . a d d C l a s s ( o p t . h o v e r C l a s s ) ;   }  
                         u l . a p p e n d C h i l d ( l i ) ;   $ ( l i ) . m o u s e o v e r ( f u n c t i o n ( e v e n t )  
                         {   h a s f o c u s   =   1 ;   i f   ( o p t . d e b u g )   c o n s o l e . l o g ( ' o u t   o n   :   '   +   t h i s . i d ) ;   j Q u e r y ( e v e n t . t a r g e t ,   $ c o n t a i n e r ) . a d d C l a s s ( o p t . h o v e r C l a s s ) ;   } ) . m o u s e o u t ( f u n c t i o n ( e v e n t )  
                         {   h a s f o c u s   =   - 1 ;   i f   ( o p t . d e b u g )   c o n s o l e . l o g ( ' o u t   o n   :   '   +   t h i s . i d ) ;   j Q u e r y ( e v e n t . t a r g e t ,   $ c o n t a i n e r ) . r e m o v e C l a s s ( o p t . h o v e r C l a s s ) ;   } ) . c l i c k ( f u n c t i o n ( e v e n t )  
                         {   i f   ( o p t . d e b u g )   c o n s o l e . l o g ( ' c l i c k   o n   : '   +   t h i s . i d ) ;   $ ( t h i s ) . a d d C l a s s ( o p t . h o v e r C l a s s ) ;   s e t C u r r e n t ( ) ;   v a r   d d L i s t   =   t h i s . p a r e n t N o d e . p a r e n t N o d e . i d ;   d d L i s t   =   d d L i s t . r e p l a c e ( " _ c o n t a i n e r " ,   " " ) ;   _ _ d o P o s t B a c k ( d d L i s t ,   " " ) ;   h i d e M e ( ) ;   } ) ;  
                 } ) ;   r e t u r n   u l ;  
         }    
 } ;   ( f u n c t i o n ( $ )   {   $ . f n . b g I f r a m e   =   j Q u e r y . f n . b g i f r a m e   =   f u n c t i o n ( s )   {   i f   ( ! ( $ . b r o w s e r . m s i e   & &   t y p e o f   X M L H t t p R e q u e s t   = =   ' f u n c t i o n ' ) )   r e t u r n   t h i s ;   s   =   $ . e x t e n d ( {   t o p :   ' a u t o ' ,   l e f t :   ' a u t o ' ,   w i d t h :   ' a u t o ' ,   h e i g h t :   ' a u t o ' ,   o p a c i t y :   t r u e ,   s r c :   ' j a v a s c r i p t : f a l s e ; '   } ,   s   | |   { } ) ;   v a r   p r o p   =   f u n c t i o n ( n )   {   r e t u r n   n   & &   n . c o n s t r u c t o r   = =   N u m b e r   ?   n   +   ' p x '   :   n ;   } ,   h t m l   =   ' < i f r a m e   c l a s s = " b g i f r a m e " f r a m e b o r d e r = " 0 " t a b i n d e x = " - 1 " s r c = " '   +   s . s r c   +   ' " s t y l e = " d i s p l a y : b l o c k ; p o s i t i o n : a b s o l u t e ; z - i n d e x : - 1 ; '   +   ( s . o p a c i t y   ! = =   f a l s e   ?   ' f i l t e r : A l p h a ( O p a c i t y = \ ' 0 \ ' ) ; '   :   ' ' )   +   ' t o p : '   +   ( s . t o p   = =   ' a u t o '   ?   ' e x p r e s s i o n ( ( ( p a r s e I n t ( t h i s . p a r e n t N o d e . c u r r e n t S t y l e . b o r d e r T o p W i d t h ) | | 0 ) * - 1 ) + \ ' p x \ ' ) '   :   p r o p ( s . t o p ) )   +   ' ; l e f t : '   +   ( s . l e f t   = =   ' a u t o '   ?   ' e x p r e s s i o n ( ( ( p a r s e I n t ( t h i s . p a r e n t N o d e . c u r r e n t S t y l e . b o r d e r L e f t W i d t h ) | | 0 ) * - 1 ) + \ ' p x \ ' ) '   :   p r o p ( s . l e f t ) )   +   ' ; w i d t h : '   +   ( s . w i d t h   = =   ' a u t o '   ?   ' e x p r e s s i o n ( t h i s . p a r e n t N o d e . o f f s e t W i d t h + \ ' p x \ ' ) '   :   p r o p ( s . w i d t h ) )   +   ' ; h e i g h t : '   +   ( s . h e i g h t   = =   ' a u t o '   ?   ' e x p r e s s i o n ( t h i s . p a r e n t N o d e . o f f s e t H e i g h t + \ ' p x \ ' ) '   :   p r o p ( s . h e i g h t ) )   +   ' ; " / > ' ;   r e t u r n   t h i s . e a c h ( f u n c t i o n ( )   {   i f   ( ! $ ( ' i f r a m e . b g i f r a m e ' ,   t h i s ) [ 0 ] )   t h i s . i n s e r t B e f o r e ( d o c u m e n t . c r e a t e E l e m e n t ( h t m l ) ,   t h i s . f i r s t C h i l d ) ;   } ) ;   } ;   } ) ( j Q u e r y ) ;   j Q u e r y . f n . e x t e n d ( {   a u t o c o m p l e t e :   f u n c t i o n ( u r l O r D a t a ,   o p t i o n s )  
 {  
         v a r   i s U r l   =   t y p e o f   u r l O r D a t a   = =   " s t r i n g " ;   o p t i o n s   =   j Q u e r y . e x t e n d ( { } ,   j Q u e r y . A u t o c o m p l e t e r . d e f a u l t s ,   {   u r l :   i s U r l   ?   u r l O r D a t a   :   n u l l ,   d a t a :   i s U r l   ?   n u l l   :   u r l O r D a t a ,   d e l a y :   i s U r l   ?   j Q u e r y . A u t o c o m p l e t e r . d e f a u l t s . d e l a y   :   1 0   } ,   o p t i o n s ) ;   r e t u r n   t h i s . e a c h ( f u n c t i o n ( )  
         {   n e w   j Q u e r y . A u t o c o m p l e t e r ( t h i s ,   o p t i o n s ) ;   } ) ;  
 } ,   r e s u l t :   f u n c t i o n ( h a n d l e r )  
 {   r e t u r n   t h i s . b i n d ( " r e s u l t " ,   h a n d l e r ) ;   } ,   s e a r c h :   f u n c t i o n ( )  
 {   r e t u r n   t h i s . t r i g g e r ( " s e a r c h " ) ;   }    
 } ) ;  
 j Q u e r y . A u t o c o m p l e t e r   =   f u n c t i o n ( i n p u t ,   o p t i o n s )  
 {  
         v a r   K E Y   =   {   U P :   3 8 ,   D O W N :   4 0 ,   D E L :   4 6 ,   T A B :   9 ,   R E T U R N :   1 3 ,   E S C :   2 7 ,   C O M M A :   1 8 8   } ;   v a r   $ i n p u t   =   $ ( i n p u t ) . a t t r ( " a u t o c o m p l e t e " ,   " o f f " ) . a d d C l a s s ( o p t i o n s . i n p u t C l a s s ) ;   v a r   t i m e o u t ;   v a r   p r e v i o u s V a l u e   =   " " ;   v a r   c a c h e   =   j Q u e r y . A u t o c o m p l e t e r . C a c h e ( o p t i o n s ) ;   v a r   h a s F o c u s   =   0 ;   v a r   l a s t K e y P r e s s C o d e ;   v a r   s e l e c t   =   j Q u e r y . A u t o c o m p l e t e r . S e l e c t ( o p t i o n s ,   i n p u t ,   s e l e c t C u r r e n t ) ;   $ i n p u t . k e y d o w n ( f u n c t i o n ( e v e n t )  
         {  
                 l a s t K e y P r e s s C o d e   =   e v e n t . k e y C o d e ;   s w i t c h   ( e v e n t . k e y C o d e )  
                 {  
                         c a s e   K E Y . U P :   e v e n t . p r e v e n t D e f a u l t ( ) ;   i f   ( s e l e c t . v i s i b l e ( ) )  
                                 {   s e l e c t . p r e v ( ) ;   }   e l s e  
                                 {   o n C h a n g e ( 0 ,   t r u e ) ;   }  
                                 b r e a k ;   c a s e   K E Y . D O W N :   e v e n t . p r e v e n t D e f a u l t ( ) ;   i f   ( s e l e c t . v i s i b l e ( ) )  
                                 {   s e l e c t . n e x t ( ) ;   }   e l s e  
                                 {   o n C h a n g e ( 0 ,   t r u e ) ;   }  
                                 b r e a k ;   c a s e   o p t i o n s . m u l t i p l e   & &   j Q u e r y . t r i m ( o p t i o n s . m u l t i p l e S e p a r a t o r )   = =   " , "   & &   K E Y . C O M M A :   c a s e   K E Y . T A B :   c a s e   K E Y . R E T U R N :   i f   ( s e l e c t C u r r e n t ( ) )  
                                 {  
                                         i f   ( ! o p t i o n s . m u l t i p l e )  
                                                 $ i n p u t . b l u r ( ) ;   e v e n t . p r e v e n t D e f a u l t ( ) ;  
                                 }  
                                 b r e a k ;   c a s e   K E Y . E S C :   s e l e c t . h i d e ( ) ;   b r e a k ;   d e f a u l t :   c l e a r T i m e o u t ( t i m e o u t ) ;   t i m e o u t   =   s e t T i m e o u t ( o n C h a n g e ,   o p t i o n s . d e l a y ) ;   b r e a k ;  
                 }    
         } ) . k e y p r e s s ( f u n c t i o n ( )  
         {   } ) . f o c u s ( f u n c t i o n ( )  
         {   h a s F o c u s + + ;   } ) . b l u r ( f u n c t i o n ( )  
         {   h a s F o c u s   =   0 ;   h i d e R e s u l t s ( ) ;   } ) . c l i c k ( f u n c t i o n ( )  
         {  
                 i f   ( h a s F o c u s + +   >   1   & &   ! s e l e c t . v i s i b l e ( ) )  
                 {   o n C h a n g e ( 0 ,   t r u e ) ;   }    
         } ) . b i n d ( " s e a r c h " ,   f u n c t i o n ( )  
         {  
                 f u n c t i o n   f i n d V a l u e C a l l b a c k ( q ,   d a t a )  
                 {  
                         v a r   r e s u l t ;   i f   ( d a t a   & &   d a t a . l e n g t h )  
                         {  
                                 f o r   ( v a r   i   =   0 ;   i   <   d a t a . l e n g t h ;   i + + )  
                                 {  
                                         i f   ( d a t a [ i ] . r e s u l t . t o L o w e r C a s e ( )   = =   q . t o L o w e r C a s e ( ) )  
                                         {   r e s u l t   =   d a t a [ i ] ;   b r e a k ;   }    
                                 }    
                         }  
                         $ i n p u t . t r i g g e r ( " r e s u l t " ,   r e s u l t   & &   [ r e s u l t . d a t a ,   r e s u l t . v a l u e ] ) ;  
                 }  
                 j Q u e r y . e a c h ( t r i m W o r d s ( $ i n p u t . v a l ( ) ) ,   f u n c t i o n ( i ,   v a l u e )  
                 {   r e q u e s t ( v a l u e ,   f i n d V a l u e C a l l b a c k ,   f i n d V a l u e C a l l b a c k ) ;   } ) ;  
         } ) ;   h i d e R e s u l t s N o w ( ) ;   f u n c t i o n   s e l e c t C u r r e n t ( )  
         {  
                 v a r   s e l e c t e d   =   s e l e c t . s e l e c t e d ( ) ;   i f   ( ! s e l e c t e d )  
                         r e t u r n   f a l s e ;   v a r   v   =   s e l e c t e d . r e s u l t ;   p r e v i o u s V a l u e   =   v ;   i f   ( o p t i o n s . m u l t i p l e )  
                 {  
                         v a r   w o r d s   =   t r i m W o r d s ( $ i n p u t . v a l ( ) ) ;   i f   ( w o r d s . l e n g t h   >   1 )  
                         {   v   =   w o r d s . s l i c e ( 0 ,   w o r d s . l e n g t h   -   1 ) . j o i n ( o p t i o n s . m u l t i p l e S e p a r a t o r )   +   o p t i o n s . m u l t i p l e S e p a r a t o r   +   v ;   }  
                         v   + =   o p t i o n s . m u l t i p l e S e p a r a t o r ;  
                 }  
                 $ i n p u t . v a l ( v ) ;   h i d e R e s u l t s N o w ( ) ;   $ i n p u t . t r i g g e r ( " r e s u l t " ,   [ s e l e c t e d . d a t a ,   s e l e c t e d . v a l u e ] ) ;   r e t u r n   t r u e ;  
         }  
         f u n c t i o n   o n C h a n g e ( c r a p ,   s k i p P r e v C h e c k )  
         {  
                 i f   ( l a s t K e y P r e s s C o d e   = =   K E Y . D E L )  
                 {   s e l e c t . h i d e ( ) ;   r e t u r n ;   }  
                 v a r   c u r r e n t V a l u e   =   $ i n p u t . v a l ( ) ;   i f   ( ! s k i p P r e v C h e c k   & &   c u r r e n t V a l u e   = =   p r e v i o u s V a l u e )  
                         r e t u r n ;   p r e v i o u s V a l u e   =   c u r r e n t V a l u e ;   c u r r e n t V a l u e   =   l a s t W o r d ( c u r r e n t V a l u e ) ;   i f   ( c u r r e n t V a l u e . l e n g t h   > =   o p t i o n s . m i n C h a r s )  
                 {  
                         $ i n p u t . a d d C l a s s ( o p t i o n s . l o a d i n g C l a s s ) ;   i f   ( ! o p t i o n s . m a t c h C a s e )  
                                 c u r r e n t V a l u e   =   c u r r e n t V a l u e . t o L o w e r C a s e ( ) ;   r e q u e s t ( c u r r e n t V a l u e ,   r e c e i v e D a t a ,   s t o p L o a d i n g ) ;  
                 }   e l s e  
                 {   s t o p L o a d i n g ( ) ;   s e l e c t . h i d e ( ) ;   }    
         } ;   f u n c t i o n   t r i m W o r d s ( v a l u e )  
         {  
                 i f   ( ! v a l u e )  
                 {   r e t u r n   [ " " ] ;   }  
                 v a r   w o r d s   =   v a l u e . s p l i t ( j Q u e r y . t r i m ( o p t i o n s . m u l t i p l e S e p a r a t o r ) ) ;   v a r   r e s u l t   =   [ ] ;   j Q u e r y . e a c h ( w o r d s ,   f u n c t i o n ( i ,   v a l u e )  
                 {  
                         i f   ( j Q u e r y . t r i m ( v a l u e ) )  
                                 r e s u l t [ i ]   =   j Q u e r y . t r i m ( v a l u e ) ;  
                 } ) ;   r e t u r n   r e s u l t ;  
         }  
         f u n c t i o n   l a s t W o r d ( v a l u e )  
         {  
                 i f   ( ! o p t i o n s . m u l t i p l e )  
                         r e t u r n   v a l u e ;   v a r   w o r d s   =   t r i m W o r d s ( v a l u e ) ;   r e t u r n   w o r d s [ w o r d s . l e n g t h   -   1 ] ;  
         }  
         f u n c t i o n   a u t o F i l l ( q ,   s V a l u e )  
         {  
                 i f   ( o p t i o n s . a u t o F i l l   & &   ( l a s t W o r d ( $ i n p u t . v a l ( ) ) . t o L o w e r C a s e ( )   = =   q . t o L o w e r C a s e ( ) )   & &   l a s t K e y P r e s s C o d e   ! =   8 )  
                 {   $ i n p u t . v a l ( $ i n p u t . v a l ( )   +   s V a l u e . s u b s t r i n g ( l a s t W o r d ( p r e v i o u s V a l u e ) . l e n g t h ) ) ;   j Q u e r y . A u t o c o m p l e t e r . S e l e c t i o n ( i n p u t ,   p r e v i o u s V a l u e . l e n g t h ,   p r e v i o u s V a l u e . l e n g t h   +   s V a l u e . l e n g t h ) ;   }    
         } ;   f u n c t i o n   h i d e R e s u l t s ( )  
         {   c l e a r T i m e o u t ( t i m e o u t ) ;   t i m e o u t   =   s e t T i m e o u t ( h i d e R e s u l t s N o w ,   2 0 0 ) ;   } ;   f u n c t i o n   h i d e R e s u l t s N o w ( )  
         {  
                 s e l e c t . h i d e ( ) ;   c l e a r T i m e o u t ( t i m e o u t ) ;   s t o p L o a d i n g ( ) ;   i f   ( o p t i o n s . m u s t M a t c h )  
                 {  
                         i f   ( $ i n p u t . v a l ( )   ! =   p r e v i o u s V a l u e )  
                         {   }    
                 }    
         } ;   f u n c t i o n   r e c e i v e D a t a ( q ,   d a t a )  
         {  
                 i f   ( d a t a   & &   d a t a . l e n g t h   & &   h a s F o c u s )  
                 {   s t o p L o a d i n g ( ) ;   s e l e c t . d i s p l a y ( d a t a ,   q ) ;   a u t o F i l l ( q ,   d a t a [ 0 ] . v a l u e ) ;   s e l e c t . s h o w ( ) ;   }   e l s e  
                 {   h i d e R e s u l t s N o w ( ) ;   }    
         } ;   f u n c t i o n   r e q u e s t ( t e r m ,   s u c c e s s ,   f a i l u r e )  
         {  
                 i f   ( ! o p t i o n s . m a t c h C a s e )  
                         t e r m   =   t e r m . t o L o w e r C a s e ( ) ;   v a r   d a t a   =   c a c h e . l o a d ( t e r m ) ;   i f   ( d a t a   & &   d a t a . l e n g t h )  
                 {   s u c c e s s ( t e r m ,   d a t a ) ;   }   e l s e   i f   ( ( t y p e o f   o p t i o n s . u r l   = =   " s t r i n g " )   & &   ( o p t i o n s . u r l . l e n g t h   >   0 ) )  
                 {  
                         j Q u e r y . a j a x ( {   u r l :   o p t i o n s . u r l ,   d a t a :   j Q u e r y . e x t e n d ( {   q :   l a s t W o r d ( t e r m ) ,   l i m i t :   o p t i o n s . m a x   } ,   o p t i o n s . e x t r a P a r a m s ) ,   s u c c e s s :   f u n c t i o n ( d a t a )  
                         {   v a r   p a r s e d   =   o p t i o n s . p a r s e   & &   o p t i o n s . p a r s e ( d a t a )   | |   p a r s e ( d a t a ) ;   c a c h e . a d d ( t e r m ,   p a r s e d ) ;   s u c c e s s ( t e r m ,   p a r s e d ) ;   }    
                         } ) ;  
                 }   e l s e  
                 {   f a i l u r e ( t e r m ) ;   }    
         }  
         f u n c t i o n   p a r s e ( d a t a )  
         {  
                 v a r   p a r s e d   =   [ ] ;   v a r   r o w s   =   d a t a . s p l i t ( " \ n " ) ;   f o r   ( v a r   i   =   0 ;   i   <   r o w s . l e n g t h ;   i + + )  
                 {  
                         v a r   r o w   =   j Q u e r y . t r i m ( r o w s [ i ] ) ;   i f   ( r o w )  
                         {   r o w   =   r o w . s p l i t ( " | " ) ;   p a r s e d [ p a r s e d . l e n g t h ]   =   {   d a t a :   r o w ,   v a l u e :   r o w [ 0 ] ,   r e s u l t :   o p t i o n s . f o r m a t R e s u l t   & &   o p t i o n s . f o r m a t R e s u l t ( r o w )   | |   r o w [ 0 ]   } ;   }    
                 }  
                 r e t u r n   p a r s e d ;  
         }  
         f u n c t i o n   s t o p L o a d i n g ( )  
         {   $ i n p u t . r e m o v e C l a s s ( o p t i o n s . l o a d i n g C l a s s ) ;   }    
 }  
 j Q u e r y . A u t o c o m p l e t e r . d e f a u l t s   =   {   i n p u t C l a s s :   " a c _ i n p u t " ,   r e s u l t s C l a s s :   " a c _ r e s u l t s " ,   l o a d i n g C l a s s :   " a c _ l o a d i n g " ,   m i n C h a r s :   1 ,   d e l a y :   4 0 0 ,   m a t c h C a s e :   f a l s e ,   m a t c h S u b s e t :   t r u e ,   m a t c h C o n t a i n s :   f a l s e ,   c a c h e L e n g t h :   1 0 ,   m u s t M a t c h :   f a l s e ,   e x t r a P a r a m s :   { } ,   s e l e c t F i r s t :   t r u e ,   m a x :   1 0 ,   a u t o F i l l :   f a l s e ,   w i d t h :   0 ,   m u l t i p l e :   f a l s e ,   m u l t i p l e S e p a r a t o r :   " ,   "   } ;   j Q u e r y . A u t o c o m p l e t e r . C a c h e   =   f u n c t i o n ( o p t i o n s )  
 {  
         v a r   d a t a   =   { } ;   v a r   l e n g t h   =   0 ;   f u n c t i o n   m a t c h S u b s e t ( s ,   s u b )  
         {  
                 i f   ( ! o p t i o n s . m a t c h C a s e )  
                         s   =   s . t o L o w e r C a s e ( ) ;   v a r   i   =   s . i n d e x O f ( s u b ) ;   i f   ( i   = =   - 1 )   r e t u r n   f a l s e ;   r e t u r n   i   = =   0   | |   o p t i o n s . m a t c h C o n t a i n s ;  
         } ;   f u n c t i o n   a d d ( q ,   v a l u e )  
         {  
                 i f   ( l e n g t h   >   o p t i o n s . c a c h e L e n g t h )  
                 {   t h i s . f l u s h ( ) ;   }  
                 i f   ( ! d a t a [ q ] )  
                 {   l e n g t h + + ;   }  
                 d a t a [ q ]   =   v a l u e ;  
         }  
         i f   ( o p t i o n s . d a t a )  
         {  
                 v a r   s t M a t c h S e t s   =   { } ,   n u l l D a t a   =   0 ;   i f   ( ! o p t i o n s . u r l )   o p t i o n s . c a c h e L e n g t h   =   1 ;   s t M a t c h S e t s [ " " ]   =   [ ] ;   j Q u e r y . e a c h ( o p t i o n s . d a t a ,   f u n c t i o n ( i ,   r a w V a l u e )  
                 {  
                         v a l u e   =   o p t i o n s . f o r m a t I t e m   ?   o p t i o n s . f o r m a t I t e m ( r a w V a l u e ,   i   +   1 ,   o p t i o n s . d a t a . l e n g t h )   :   r a w V a l u e ;   v a r   f i r s t C h a r   =   v a l u e . c h a r A t ( 0 ) . t o L o w e r C a s e ( ) ;   i f   ( ! s t M a t c h S e t s [ f i r s t C h a r ] )  
                                 s t M a t c h S e t s [ f i r s t C h a r ]   =   [ ] ;   v a r   r o w   =   {   v a l u e :   v a l u e ,   d a t a :   r a w V a l u e ,   r e s u l t :   o p t i o n s . f o r m a t R e s u l t   & &   o p t i o n s . f o r m a t R e s u l t ( r a w V a l u e )   | |   v a l u e   }  
                         s t M a t c h S e t s [ f i r s t C h a r ] . p u s h ( r o w ) ;   i f   ( n u l l D a t a + +   <   o p t i o n s . m a x )  
                         {   s t M a t c h S e t s [ " " ] . p u s h ( r o w ) ;   }    
                 } ) ;   j Q u e r y . e a c h ( s t M a t c h S e t s ,   f u n c t i o n ( i ,   v a l u e )  
                 {   o p t i o n s . c a c h e L e n g t h + + ;   a d d ( i ,   v a l u e ) ;   } ) ;  
         }  
         r e t u r n   {   f l u s h :   f u n c t i o n ( )  
         {   d a t a   =   { } ;   l e n g t h   =   0 ;   } ,   a d d :   a d d ,   l o a d :   f u n c t i o n ( q )  
         {  
                 i f   ( ! o p t i o n s . c a c h e L e n g t h   | |   ! l e n g t h )  
                         r e t u r n   n u l l ;   i f   ( d a t a [ q ] )  
                         r e t u r n   d a t a [ q ] ;   i f   ( o p t i o n s . m a t c h S u b s e t )  
                 {  
                         f o r   ( v a r   i   =   q . l e n g t h   -   1 ;   i   > =   o p t i o n s . m i n C h a r s ;   i - - )  
                         {  
                                 v a r   c   =   d a t a [ q . s u b s t r ( 0 ,   i ) ] ;   i f   ( c )  
                                 {  
                                         v a r   c s u b   =   [ ] ;   j Q u e r y . e a c h ( c ,   f u n c t i o n ( i ,   x )  
                                         {  
                                                 i f   ( m a t c h S u b s e t ( x . v a l u e ,   q ) )  
                                                 {   c s u b [ c s u b . l e n g t h ]   =   x ;   }    
                                         } ) ;   r e t u r n   c s u b ;  
                                 }    
                         }    
                 }  
                 r e t u r n   n u l l ;  
         }    
         } ;  
 } ;   j Q u e r y . A u t o c o m p l e t e r . S e l e c t   =   f u n c t i o n ( o p t i o n s ,   i n p u t ,   s e l e c t )  
 {  
         v a r   C L A S S E S   =   {   A C T I V E :   " a c _ o v e r "   } ;   v a r   e l e m e n t   =   j Q u e r y ( " < d i v > " ) . h i d e ( ) . a d d C l a s s ( o p t i o n s . r e s u l t s C l a s s ) . c s s ( " p o s i t i o n " ,   " a b s o l u t e " ) . a p p e n d T o ( " b o d y " ) ;   v a r   l i s t   =   j Q u e r y ( " < u l > " ) . a p p e n d T o ( e l e m e n t ) . m o u s e o v e r ( f u n c t i o n ( e v e n t )  
         {   a c t i v e   =   j Q u e r y ( " l i " ,   l i s t ) . r e m o v e C l a s s ( C L A S S E S . A C T I V E ) . i n d e x ( t a r g e t ( e v e n t ) ) ;   j Q u e r y ( t a r g e t ( e v e n t ) ) . a d d C l a s s ( C L A S S E S . A C T I V E ) ;   } ) . m o u s e o u t ( f u n c t i o n ( e v e n t )  
         {   j Q u e r y ( t a r g e t ( e v e n t ) ) . r e m o v e C l a s s ( C L A S S E S . A C T I V E ) ;   } ) . c l i c k ( f u n c t i o n ( e v e n t )  
         {   j Q u e r y ( t a r g e t ( e v e n t ) ) . a d d C l a s s ( C L A S S E S . A C T I V E ) ;   s e l e c t ( ) ;   i n p u t . f o c u s ( ) ;   r e t u r n   f a l s e ;   } ) ;   v a r   l i s t I t e m s ,   a c t i v e   =   - 1 ,   d a t a ,   t e r m   =   " " ;   i f   ( o p t i o n s . w i d t h   >   0 )  
                 e l e m e n t . c s s ( " w i d t h " ,   o p t i o n s . w i d t h ) ;   f u n c t i o n   t a r g e t ( e v e n t )  
                 {  
                         v a r   e l e m e n t   =   e v e n t . t a r g e t ;   w h i l e   ( e l e m e n t . t a g N a m e   ! =   " L I " )  
                                 e l e m e n t   =   e l e m e n t . p a r e n t N o d e ;   r e t u r n   e l e m e n t ;  
                 }  
         f u n c t i o n   m o v e S e l e c t ( s t e p )  
         {   a c t i v e   + =   s t e p ;   w r a p S e l e c t i o n ( ) ;   l i s t I t e m s . r e m o v e C l a s s ( C L A S S E S . A C T I V E ) . e q ( a c t i v e ) . a d d C l a s s ( C L A S S E S . A C T I V E ) ;   } ;   f u n c t i o n   w r a p S e l e c t i o n ( )  
         {  
                 i f   ( a c t i v e   <   0 )  
                 {   a c t i v e   =   l i s t I t e m s . s i z e ( )   -   1 ;   }   e l s e   i f   ( a c t i v e   > =   l i s t I t e m s . s i z e ( ) )  
                 {   a c t i v e   =   0 ;   }    
         }  
         f u n c t i o n   l i m i t N u m b e r O f I t e m s ( a v a i l a b l e )  
         {   r e t u r n   ( o p t i o n s . m a x   >   0 )   & &   ( o p t i o n s . m a x   <   a v a i l a b l e )   ?   o p t i o n s . m a x   :   a v a i l a b l e ;   }  
         f u n c t i o n   d a t a T o D o m ( )  
         {  
                 v a r   n u m   =   l i m i t N u m b e r O f I t e m s ( d a t a . l e n g t h ) ;   f o r   ( v a r   i   =   0 ;   i   <   n u m ;   i + + )  
                 {  
                         i f   ( ! d a t a [ i ] )  
                                 c o n t i n u e ;   f u n c t i o n   h i g h l i g h t ( v a l u e )  
                                 {   r e t u r n   v a l u e . r e p l a c e ( n e w   R e g E x p ( " ( "   +   t e r m   +   " ) " ,   " g i " ) ,   " < s t r o n g > $ 1 < / s t r o n g > " ) ;   }  
                         j Q u e r y ( " < l i > " ) . h t m l ( o p t i o n s . f o r m a t I t e m   ?   h i g h l i g h t ( o p t i o n s . f o r m a t I t e m ( d a t a [ i ] . d a t a ,   i   +   1 ,   n u m ) )   :   h i g h l i g h t ( d a t a [ i ] . v a l u e ) ) . a p p e n d T o ( l i s t ) ;  
                 }  
                 l i s t I t e m s   =   l i s t . f i n d ( " l i " ) ;   i f   ( o p t i o n s . s e l e c t F i r s t )  
                 {   l i s t I t e m s . e q ( 0 ) . a d d C l a s s ( C L A S S E S . A C T I V E ) ;   a c t i v e   =   0 ;   }    
         }  
         r e t u r n   {   d i s p l a y :   f u n c t i o n ( d ,   q )  
         {   d a t a   =   d ;   t e r m   =   q ;   l i s t . e m p t y ( ) ;   d a t a T o D o m ( ) ;   l i s t . b g i f r a m e ( ) ;   } ,   n e x t :   f u n c t i o n ( )  
         {   m o v e S e l e c t ( 1 ) ;   } ,   p r e v :   f u n c t i o n ( )  
         {   m o v e S e l e c t ( - 1 ) ;   } ,   h i d e :   f u n c t i o n ( )  
         {   e l e m e n t . h i d e ( ) ;   a c t i v e   =   - 1 ;   } ,   v i s i b l e :   f u n c t i o n ( )  
         {   r e t u r n   e l e m e n t . i s ( " : v i s i b l e " ) ;   } ,   c u r r e n t :   f u n c t i o n ( )  
         {   r e t u r n   t h i s . v i s i b l e ( )   & &   ( l i s t I t e m s . f i l t e r ( " . "   +   C L A S S E S . A C T I V E ) [ 0 ]   | |   o p t i o n s . s e l e c t F i r s t   & &   l i s t I t e m s [ 0 ] ) ;   } ,   s h o w :   f u n c t i o n ( )  
         {   v a r   o f f s e t   =   j Q u e r y ( i n p u t ) . o f f s e t ( {   s c r o l l :   f a l s e ,   b o r d e r :   f a l s e   } ) ;   e l e m e n t . c s s ( {   w i d t h :   o p t i o n s . w i d t h   >   0   ?   o p t i o n s . w i d t h   :   j Q u e r y ( i n p u t ) . w i d t h ( ) ,   t o p :   o f f s e t . t o p   +   i n p u t . o f f s e t H e i g h t ,   l e f t :   o f f s e t . l e f t   } ) . s h o w ( ) ;   } ,   s e l e c t e d :   f u n c t i o n ( )  
         {   r e t u r n   d a t a   & &   d a t a [ a c t i v e ] ;   }    
         } ;  
 }  
 j Q u e r y . A u t o c o m p l e t e r . S e l e c t i o n   =   f u n c t i o n ( f i e l d ,   s t a r t ,   e n d )  
 {  
         i f   ( f i e l d . c r e a t e T e x t R a n g e )  
         {   v a r   s e l R a n g e   =   f i e l d . c r e a t e T e x t R a n g e ( ) ;   s e l R a n g e . c o l l a p s e ( t r u e ) ;   s e l R a n g e . m o v e S t a r t ( " c h a r a c t e r " ,   s t a r t ) ;   s e l R a n g e . m o v e E n d ( " c h a r a c t e r " ,   e n d ) ;   s e l R a n g e . s e l e c t ( ) ;   }   e l s e   i f   ( f i e l d . s e t S e l e c t i o n R a n g e )  
         {   f i e l d . s e t S e l e c t i o n R a n g e ( s t a r t ,   e n d ) ;   }   e l s e  
         {  
                 i f   ( f i e l d . s e l e c t i o n S t a r t )  
                 {   f i e l d . s e l e c t i o n S t a r t   =   s t a r t ;   f i e l d . s e l e c t i o n E n d   =   e n d ;   }    
         }  
         f i e l d . f o c u s ( ) ;  
 } ;   j Q u e r y . c o o k i e   =   f u n c t i o n ( n a m e ,   v a l u e ,   o p t i o n s )  
 {  
         i f   ( t y p e o f   v a l u e   ! =   ' u n d e f i n e d ' )  
         {  
                 o p t i o n s   =   o p t i o n s   | |   { } ;   i f   ( v a l u e   = = =   n u l l )  
                 {   v a l u e   =   ' ' ;   o p t i o n s . e x p i r e s   =   - 1 ;   }  
                 v a r   e x p i r e s   =   ' ' ;   i f   ( o p t i o n s . e x p i r e s   & &   ( t y p e o f   o p t i o n s . e x p i r e s   = =   ' n u m b e r '   | |   o p t i o n s . e x p i r e s . t o U T C S t r i n g ) )  
                 {  
                         v a r   d a t e ;   i f   ( t y p e o f   o p t i o n s . e x p i r e s   = =   ' n u m b e r ' )  
                         {   d a t e   =   n e w   D a t e ( ) ;   d a t e . s e t T i m e ( d a t e . g e t T i m e ( )   +   ( o p t i o n s . e x p i r e s   *   2 4   *   6 0   *   6 0   *   1 0 0 0 ) ) ;   }   e l s e  
                         {   d a t e   =   o p t i o n s . 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 U T C S t r i n g ( ) ;  
                 }  
                 v a r   p a t h   =   o p t i o n s . p a t h   ?   ' ;   p a t h = '   +   ( o p t i o n s . p a t h )   :   ' ' ;   v a r   d o m a i n   =   o p t i o n s . d o m a i n   ?   ' ;   d o m a i n = '   +   ( o p t i o n s . d o m a i n )   :   ' ' ;   v a r   s e c u r e   =   o p t i o n s . s e c u r e   ?   ' ;   s e c u r e '   :   ' ' ;   d o c u m e n t . c o o k i e   =   [ n a m e ,   ' = ' ,   e n c o d e U R I C o m p o n e n t ( 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 ] . j o i n ( ' ' ) ;  
         }   e l s e  
         {  
                 v a r   c o o k i e V a l u e   =   n u l l ;   i f   ( d o c u m e n t . c o o k i e   & &   d o c u m e n t . c o o k i e   ! =   ' ' )  
                 {  
                         v a r   c o o k i e s   =   d o c u m e n t . c o o k i e . s p l i t ( ' ; ' ) ;   f o r   ( v a r   i   =   0 ;   i   <   c o o k i e s . l e n g t h ;   i + + )  
                         {  
                                 v a r   c o o k i e   =   j Q u e r y . t r i m ( c o o k i e s [ i ] ) ;   i f   ( 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   +   1 )   = =   ( n a m e   +   ' = ' ) )  
                                 {   c o o k i e V a l u e   =   d e c o d e U R I C o m p o n e n t ( c o o k i e . s u b s t r i n g ( n a m e . l e n g t h   +   1 ) ) ;   b r e a k ;   }    
                         }    
                 }  
                 r e t u r n   c o o k i e V a l u e ;  
         }    
 } ;   ( f u n c t i o n ( j Q u e r y )  
 {  
         t h i s . v e r s i o n   =   ' ( b e t a ) ( 0 . 0 . 3 ) ' ;   t h i s . a l l   =   { } ;   t h i s . s p e c i a l _ k e y s   =   {   2 7 :   ' e s c ' ,   9 :   ' t a b ' ,   3 2 :   ' s p a c e ' ,   1 3 :   ' r e t u r n ' ,   8 :   ' b a c k s p a c e ' ,   1 4 5 :   ' s c r o l l ' ,   2 0 :   ' c a p s l o c k ' ,   1 4 4 :   ' n u m l o c k ' ,   1 9 :   ' p a u s e ' ,   4 5 :   ' i n s e r t ' ,   3 6 :   ' h o m e ' ,   4 6 :   ' d e l ' ,   3 5 :   ' e n d ' ,   3 3 :   ' p a g e u p ' ,   3 4 :   ' p a g e d o w n ' ,   3 7 :   ' l e f t ' ,   3 8 :   ' u p ' ,   3 9 :   ' r i g h t ' ,   4 0 :   ' d o w n ' ,   1 1 2 :   ' f 1 ' ,   1 1 3 :   ' f 2 ' ,   1 1 4 :   ' f 3 ' ,   1 1 5 :   ' f 4 ' ,   1 1 6 :   ' f 5 ' ,   1 1 7 :   ' f 6 ' ,   1 1 8 :   ' f 7 ' ,   1 1 9 :   ' f 8 ' ,   1 2 0 :   ' f 9 ' ,   1 2 1 :   ' f 1 0 ' ,   1 2 2 :   ' f 1 1 ' ,   1 2 3 :   ' f 1 2 '   } ;   t h i s . s h i f t _ n u m s   =   {   " ` " :   " ~ " ,   " 1 " :   " ! " ,   " 2 " :   " @ " ,   " 3 " :   " # " ,   " 4 " :   " $ " ,   " 5 " :   " % " ,   " 6 " :   " ^ " ,   " 7 " :   " & " ,   " 8 " :   " * " ,   " 9 " :   " ( " ,   " 0 " :   " ) " ,   " - " :   " _ " ,   " = " :   " + " ,   " ; " :   " : " ,   " ' " :   " \ " " ,   " , " :   " < " ,   " . " :   " > " ,   " / " :   " ? " ,   " \ \ " :   " | "   } ;   t h i s . a d d   =   f u n c t i o n ( c o m b i ,   o p t i o n s ,   c a l l b a c k )  
         {  
                 i f   ( j Q u e r y . i s F u n c t i o n ( o p t i o n s ) )  
                 {   c a l l b a c k   =   o p t i o n s ;   o p t i o n s   =   { } ;   }  
                 v a r   o p t   =   { } ,   d e f a u l t s   =   {   t y p e :   ' k e y d o w n ' ,   p r o p a g a t e :   f a l s e ,   d i s a b l e I n I n p u t :   f a l s e ,   t a r g e t :   j Q u e r y ( ' h t m l ' ) [ 0 ] ,   c h e c k P a r e n t :   t r u e   } ,   t h a t   =   t h i s ;   o p t   =   j Q u e r y . e x t e n d ( o p t ,   d e f a u l t s ,   o p t i o n s   | |   { } ) ;   c o m b i   =   c o m b i . t o L o w e r C a s e ( ) ;   v a r   i n s p e c t o r   =   f u n c t i o n ( e v e n t )  
                 {  
                         e v e n t   =   j Q u e r y . e v e n t . f i x ( e v e n t ) ;   v a r   e l e m e n t   =   e v e n t . t a r g e t ;   e l e m e n t   =   ( e l e m e n t . n o d e T y p e   = =   3 )   ?   e l e m e n t . p a r e n t N o d e   :   e l e m e n t ;   i f   ( o p t [ ' d i s a b l e I n I n p u t ' ] )  
                         {  
                                 v a r   t a r g e t   =   j Q u e r y ( e l e m e n t ) ;   i f   ( t a r g e t . i s ( " i n p u t " )   | |   t a r g e t . i s ( " t e x t a r e a " ) )  
                                 {   r e t u r n ;   }    
                         }  
                         v a r   c o d e   =   e v e n t . w h i c h ,   t y p e   =   e v e n t . t y p e ,   c h a r a c t e r   =   S t r i n g . f r o m C h a r C o d e ( c o d e ) . t o L o w e r C a s e ( ) ,   s p e c i a l   =   t h a t . s p e c i a l _ k e y s [ c o d e ] ,   s h i f t   =   e v e n t . s h i f t K e y ,   c t r l   =   e v e n t . c t r l K e y ,   a l t   =   e v e n t . a l t K e y ,   p r o p a g a t e   =   t r u e ,   m a p P o i n t   =   n u l l ;   i f   ( j Q u e r y . b r o w s e r . o p e r a   | |   j Q u e r y . b r o w s e r . s a f a r i   | |   o p t . c h e c k P a r e n t )  
                         {  
                                 w h i l e   ( ! t h a t . a l l [ e l e m e n t ]   & &   e l e m e n t . p a r e n t N o d e )  
                                 {   e l e m e n t   =   e l e m e n t . p a r e n t N o d e ;   }    
                         }  
                         v a r   c b M a p   =   t h a t . a l l [ e l e m e n t ] . e v e n t s [ t y p e ] . c a l l b a c k M a p ;   i f   ( ! s h i f t   & &   ! c t r l   & &   ! a l t )  
                         {   m a p P o i n t   =   c b M a p [ s p e c i a l ]   | |   c b M a p [ c h a r a c t e r ]   }  
                         e l s e  
                         {   v a r   m o d i f   =   ' ' ;   i f   ( a l t )   m o d i f   + =   ' a l t + ' ;   i f   ( c t r l )   m o d i f   + =   ' c t r l + ' ;   i f   ( s h i f t )   m o d i f   + =   ' s h i f t + ' ;   m a p P o i n t   =   c b M a p [ m o d i f   +   s p e c i a l ]   | |   c b M a p [ m o d i f   +   c h a r a c t e r ]   | |   c b M a p [ m o d i f   +   t h a t . s h i f t _ n u m s [ c h a r a c t e r ] ]   }  
                         i f   ( m a p P o i n t )  
                         {  
                                 m a p P o i n t . c b ( e v e n t ) ;   i f   ( ! m a p P o i n t . p r o p a g a t e )  
                                 {   e v e n t . s t o p P r o p a g a t i o n ( ) ;   e v e n t . p r e v e n t D e f a u l t ( ) ;   r e t u r n   f a l s e ;   }    
                         }    
                 } ;   i f   ( ! t h i s . a l l [ o p t . t a r g e t ] )  
                 {   t h i s . a l l [ o p t . t a r g e t ]   =   {   e v e n t s :   { }   } ;   }  
                 i f   ( ! t h i s . a l l [ o p t . t a r g e t ] . e v e n t s [ o p t . t y p e ] )  
                 {  
                         t h i s . a l l [ o p t . t a r g e t ] . e v e n t s [ o p t . t y p e ]   =   {   c a l l b a c k M a p :   { }   }  
                         j Q u e r y . e v e n t . a d d ( o p t . t a r g e t ,   o p t . t y p e ,   i n s p e c t o r ) ;  
                 }  
                 t h i s . a l l [ o p t . t a r g e t ] . e v e n t s [ o p t . t y p e ] . c a l l b a c k M a p [ c o m b i ]   =   {   c b :   c a l l b a c k ,   p r o p a g a t e :   o p t . p r o p a g a t e   } ;   r e t u r n   j Q u e r y ;  
         } ;   t h i s . r e m o v e   =   f u n c t i o n ( e x p ,   o p t )  
         {  
                 o p t   =   o p t   | |   { } ;   t a r g e t   =   o p t . t a r g e t   | |   j Q u e r y ( ' h t m l ' ) [ 0 ] ;   t y p e   =   o p t . t y p e   | |   ' k e y d o w n ' ;   e x p   =   e x p . t o L o w e r C a s e ( ) ;   d e l e t e   t h i s . a l l [ t a r g e t ] . e v e n t s [ t y p e ] . c a l l b a c k M a p [ e x p ]  
                 r e t u r n   j Q u e r y ;  
         } ;   j Q u e r y . h o t k e y s   =   t h i s ;   r e t u r n   j Q u e r y ;  
 } ) ( j Q u e r y ) ;   ( f u n c t i o n ( $ )  
 {  
         v a r   m   =   {   ' \ b ' :   ' \ \ b ' ,   ' \ t ' :   ' \ \ t ' ,   ' \ n ' :   ' \ \ n ' ,   ' \ f ' :   ' \ \ f ' ,   ' \ r ' :   ' \ \ r ' ,   ' " ' :   ' \ \ " ' ,   ' \ \ ' :   ' \ \ \ \ '   } ,   s   =   {   ' a r r a y ' :   f u n c t i o n ( x )  
         {  
                 v a r   a   =   [ ' [ ' ] ,   b ,   f ,   i ,   l   =   x . l e n g t h ,   v ;   f o r   ( i   =   0 ;   i   <   l ;   i   + =   1 )  
                 {  
                         v   =   x [ i ] ;   f   =   s [ t y p e o f   v ] ;   i f   ( f )  
                         {  
                                 v   =   f ( v ) ;   i f   ( t y p e o f   v   = =   ' s t r i n g ' )  
                                 {  
                                         i f   ( b )  
                                         {   a [ a . l e n g t h ]   =   ' , ' ;   }  
                                         a [ a . l e n g t h ]   =   v ;   b   =   t r u e ;  
                                 }    
                         }    
                 }  
                 a [ a . l e n g t h ]   =   ' ] ' ;   r e t u r n   a . j o i n ( ' ' ) ;  
         } ,   ' b o o l e a n ' :   f u n c t i o n ( x )  
         {   r e t u r n   S t r i n g ( x ) ;   } ,   ' n u l l ' :   f u n c t i o n ( x )  
         {   r e t u r n   " n u l l " ;   } ,   ' n u m b e r ' :   f u n c t i o n ( x )  
         {   r e t u r n   i s F i n i t e ( x )   ?   S t r i n g ( x )   :   ' n u l l ' ;   } ,   ' o b j e c t ' :   f u n c t i o n ( x )  
         {  
                 i f   ( x )  
                 {  
                         i f   ( x   i n s t a n c e o f   A r r a y )  
                         {   r e t u r n   s . a r r a y ( x ) ;   }  
                         v a r   a   =   [ ' { ' ] ,   b ,   f ,   i ,   v ;   f o r   ( i   i n   x )  
                         {  
                                 v   =   x [ i ] ;   f   =   s [ t y p e o f   v ] ;   i f   ( f )  
                                 {  
                                         v   =   f ( v ) ;   i f   ( t y p e o f   v   = =   ' s t r i n g ' )  
                                         {  
                                                 i f   ( b )  
                                                 {   a [ a . l e n g t h ]   =   ' , ' ;   }  
                                                 a . p u s h ( s . s t r i n g ( i ) ,   ' : ' ,   v ) ;   b   =   t r u e ;  
                                         }    
                                 }    
                         }  
                         a [ a . l e n g t h ]   =   ' } ' ;   r e t u r n   a . j o i n ( ' ' ) ;  
                 }  
                 r e t u r n   ' n u l l ' ;  
         } ,   ' s t r i n g ' :   f u n c t i o n ( x )  
         {  
                 i f   ( / [ " \ \ \ x 0 0 - \ x 1 f ] / . t e s t ( x ) )  
                 {  
                         x   =   x . r e p l a c e ( / ( [ \ x 0 0 - \ x 1 f \ \ " ] ) / g ,   f u n c t i o n ( a ,   b )  
                         {  
                                 v a r   c   =   m [ b ] ;   i f   ( c )  
                                 {   r e t u r n   c ;   }  
                                 c   =   b . c h a r C o d e A t ( ) ;   r e t u r n   ' \ \ u 0 0 '   +  
 M a t h . f l o o r ( c   /   1 6 ) . t o S t r i n g ( 1 6 )   +  
 ( c   %   1 6 ) . t o S t r i n g ( 1 6 ) ;  
                         } ) ;  
                 }  
                 r e t u r n   ' " '   +   x   +   ' " ' ;  
         }    
         } ;   $ . t o J S O N   =   f u n c t i o n ( v )  
         {   v a r   f   =   i s N a N ( v )   ?   s [ t y p e o f   v ]   :   s [ ' n u m b e r ' ] ;   i f   ( f )   r e t u r n   f ( v ) ;   } ;   $ . p a r s e J S O N   =   f u n c t i o n ( v ,   s a f e )  
         {  
                 i f   ( s a f e   = = =   u n d e f i n e d )   s a f e   =   $ . p a r s e J S O N . s a f e ;   i f   ( s a f e   & &   ! / ^ ( " ( \ \ . | [ ^ " \ \ \ n \ r ] ) * ? " | [ , : { } \ [ \ ] 0 - 9 . \ - + E a e f l n r - u   \ n \ r \ t ] ) + ? $ / . t e s t ( v ) )  
                         r e t u r n   u n d e f i n e d ;   r e t u r n   e v a l ( ' ( '   +   v   +   ' ) ' ) ;  
         } ;   $ . p a r s e J S O N . s a f e   =   f a l s e ;  
 } ) ( j Q u e r y ) ;   ( f u n c t i o n ( $ )  
 {  
         $ . c o o k i e J a r   =   f u n c t i o n ( n a m e ,   o p t i o n s )  
         {  
                 i f   ( ! $ . p a r s e J S O N )   r e t u r n   f a l s e ;   i f   ( ! $ . t o J S O N )   r e t u r n   f a l s e ;   i f   ( ! $ . c o o k i e )   r e t u r n   f a l s e ;   r e t u r n   n e w   f u n c t i o n ( )  
                 {  
                         f u n c t i o n   l o g ( s )  
                         {  
                                 i f   ( t y p e o f   c o n s o l e   ! =   ' u n d e f i n e d '   & &   t y p e o f   c o n s o l e . l o g   ! =   ' u n d e f i n e d ' )  
                                 {   c o n s o l e . l o g ( ' c o o k i e j a r : '   +   s e l f . c o o k i e N a m e   +   '   '   +   s ) ;   }   e l s e  
                                 {   a l e r t ( s ) ;   }    
                         } ;   f u n c t i o n   s a v e ( )  
                         {   i f   ( s e l f . o p t i o n s . d e b u g )   l o g ( ' s a v e   '   +   $ . t o J S O N ( s e l f . c o o k i e O b j e c t ) ) ;   r e t u r n   $ . c o o k i e ( s e l f . c o o k i e N a m e ,   $ . t o J S O N ( s e l f . c o o k i e O b j e c t ) ,   s e l f . o p t i o n s . c o o k i e ) ;   } ;   f u n c t i o n   l o a d ( )  
                         {  
                                 v a r   c o o k i e J S O N   =   $ . c o o k i e ( s e l f . c o o k i e N a m e ) ;   i f   ( t y p e o f   c o o k i e J S O N   = =   ' s t r i n g ' )  
                                 {   i f   ( s e l f . o p t i o n s . d e b u g )   l o g ( ' l o a d   '   +   c o o k i e J S O N ) ;   s e l f . c o o k i e O b j e c t   =   $ . p a r s e J S O N ( c o o k i e J S O N ,   t r u e ) ;   }   e l s e  
                                 {   i f   ( s e l f . o p t i o n s . d e b u g )   l o g ( ' l o a d   n e w ' ) ;   s e l f . c o o k i e O b j e c t   =   { } ;   s a v e ( ) ;   }    
                         }  
                         t h i s . s e t   =   f u n c t i o n ( n a m e ,   v a l u e )  
                         {   i f   ( s e l f . o p t i o n s . d e b u g )   l o g ( ' s e t   '   +   n a m e   +   '   =   '   +   v a l u e ) ;   s e l f . c o o k i e O b j e c t [ n a m e ]   =   v a l u e ;   r e t u r n   s a v e ( ) ;   } ;   t h i s . g e t   =   f u n c t i o n ( n a m e )  
                         {  
                                 i f   ( ! s e l f . o p t i o n s . c a c h e C o o k i e )  
                                 {   l o a d ( ) ;   }  
                                 i f   ( s e l f . o p t i o n s . d e b u g )   l o g ( ' g e t   '   +   n a m e   +   '   =   '   +   s e l f . c o o k i e O b j e c t [ n a m e ] ) ;   r e t u r n   s e l f . c o o k i e O b j e c t [ n a m e ] ;  
                         } ;   t h i s . r e m o v e   =   f u n c t i o n ( n a m e )  
                         {  
                                 i f   ( s e l f . o p t i o n s . d e b u g )   l o g ( ' r e m o v e   '   +   n a m e ) ;   i f   ( t y p e o f   n a m e   ! =   ' u n d e f i n e d ' )  
                                 {   d e l e t e   ( s e l f . c o o k i e O b j e c t [ n a m e ] ) ;   }   e l s e  
                                 {   s e l f . s e t F r o m O b j e c t ( { } ) ;   }  
                                 r e t u r n   s a v e ( ) ;  
                         } ;   t h i s . s e t F r o m O b j e c t   =   f u n c t i o n ( o b j e c t )  
                         {  
                                 i f   ( t y p e o f   o b j e c t   = =   ' o b j e c t ' )  
                                 {   i f   ( s e l f . o p t i o n s . d e b u g )   l o g ( ' s e t F r o m O b j e c t ' ) ;   s e l f . c o o k i e O b j e c t   =   o b j e c t ;   r e t u r n   s a v e ( ) ;   }    
                         } ;   t h i s . t o O b j e c t   =   f u n c t i o n ( )  
                         {   i f   ( s e l f . o p t i o n s . d e b u g )   l o g ( ' t o O b j e c t ' ) ;   r e t u r n   s e l f . c o o k i e O b j e c t ;   } ;   t h i s . t o S t r i n g   =   f u n c t i o n ( )  
                         {   i f   ( s e l f . o p t i o n s . d e b u g )   l o g ( ' t o S t r i n g   =   '   +   $ . t o J S O N ( s e l f . c o o k i e O b j e c t ) ) ;   r e t u r n   $ . t o J S O N ( s e l f . c o o k i e O b j e c t ) ;   } ;   t h i s . d e s t r o y   =   f u n c t i o n ( )  
                         {   i f   ( s e l f . o p t i o n s . d e b u g )   l o g ( ' d e s t r o y ' ) ;   s e l f . c o o k i e O b j e c t   =   { } ;   r e t u r n   $ . c o o k i e ( s e l f . c o o k i e N a m e ,   n u l l ,   s e l f . o p t i o n s . c o o k i e ) ;   } ;   t h i s . c o n s t r u c t   =   f u n c t i o n ( n a m e ,   o p t i o n s )  
                         {   s e l f . o p t i o n s   =   $ . e x t e n d ( {   c o o k i e :   {   e x p i r e s :   3 6 5 ,   p a t h :   ' / '   } ,   c a c h e C o o k i e :   t r u e ,   c o o k i e P r e f i x :   ' j q C o o k i e J a r _ ' ,   d e b u g :   f a l s e   } ,   o p t i o n s ) ;   s e l f . c o o k i e N a m e   =   s e l f . o p t i o n s . c o o k i e P r e f i x   +   n a m e ;   l o a d ( ) ;   r e t u r n   s e l f ;   } ;   v a r   s e l f   =   t h i s ;   s e l f . c o n s t r u c t ( n a m e ,   o p t i o n s ) ;  
                 } ;  
         } ;  
 } ) ( j Q u e r y ) ;   $ ( d o c u m e n t ) . r e a d y ( f u n c t i o n ( )   {   $ ( " . s e c N a v   l i " ) . h o v e r ( f u n c t i o n ( )   {   $ ( " u l " ,   t h i s ) . f a d e I n ( " f a s t " ) ;   } ,   f u n c t i o n ( )   {   $ ( " u l " ,   t h i s ) . h i d e ( ) ;   } ) ;   i f   ( d o c u m e n t . a l l )   {   $ ( " . s e c N a v   l i " ) . h o v e r C l a s s ( " s f H o v e r " ) ;   }   } ) ;   $ . f n . h o v e r C l a s s   =   f u n c t i o n ( c )   {   r e t u r n   t h i s . e a c h ( f u n c t i o n ( )   {   $ ( t h i s ) . h o v e r ( f u n c t i o n ( )   {   $ ( t h i s ) . a d d C l a s s ( c ) ;   } ,   f u n c t i o n ( )   {   $ ( t h i s ) . r e m o v e C l a s s ( c ) ;   } ) ;   } ) ;   } ;  
 f u n c t i o n   W a i t F o r E x 2 ( e l )  
 {  
         W o n . I C o m . C o d e . S e r v i c e s . S i t e A j a x S e r v i c e . I s V a l i d S e s s i o n ( o n V a l i d S e s s i o n C o m p l e t e ,   o n V a l i d S e s s i o n E r r o r )  
         W a i t F o r E x t 2 S u c c e s s ( e l ) ;  
 }  
 f u n c t i o n   C h e c k V a l i d S e s s i o n ( e )   {   W o n . I C o m . C o d e . S e r v i c e s . S i t e A j a x S e r v i c e . I s V a l i d S e s s i o n ( o n V a l i d S e s s i o n C o m p l e t e ,   o n V a l i d S e s s i o n E r r o r ) ;   r e t u r n   t r u e ;   }  
 f u n c t i o n   o n V a l i d S e s s i o n C o m p l e t e ( r e s u l t )   {   i f   ( r e s u l t   = =   0 )   {   w i n d o w . l o c a t i o n   =   g R o o t P a t h   +   " S e s s i o n L o g o f f . a s p x ? s i g n o u t = t r u e " ;   }   }  
 f u n c t i o n   o n V a l i d S e s s i o n E r r o r ( r e s u l t )   {   }  
 f u n c t i o n   W a i t F o r E x t 2 S u c c e s s ( e l )  
 {  
         i f   ( $ ( " # e x 2 " ) . l e n g t h   >   0 )  
         {   $ ( " b o d y " ) . c s s ( " c u r s o r " ,   " " ) ;   $ ( e l ) . a t t r ( " o n c l i c k " ,   " " ) ;   t r i g g e r E v e n t ( $ ( e l ) [ 0 ] ,   ' c l i c k ' ) ;   }  
         e l s e  
         {   $ ( " b o d y " ) . c s s ( " c u r s o r " ,   " w a i t " ) ;   s e t T i m e o u t ( f u n c t i o n ( )   {   W a i t F o r E x 2 S u c c e s s ( e l ) ;   } ,   1 0 0 ) ;   }  
 }  
 f u n c t i o n   t r i g g e r E v e n t ( o b j ,   e v t N a m e )  
 {  
         i f   ( d o c u m e n t . c r e a t e E v e n t )  
         {  
                 v a r   e v t   =   d o c u m e n t . c r e a t e E v e n t ( ' M o u s e E v e n t s ' ) ;   e v t . i n i t E v e n t ( e v t N a m e ,   t r u e ,   t r u e )  
                 o b j . d i s p a t c h E v e n t ( e v t ) ;  
         }  
         e l s e   i f   ( d o c u m e n t . c r e a t e E v e n t O b j e c t )  
         {   o b j . f i r e E v e n t ( ' o n '   +   e v t N a m e ) ;   }    
 }  
 $ ( d o c u m e n t ) . r e a d y ( f u n c t i o n ( )   {   $ ( " # t a b C o m m u n i t y S t o c k " ) . t a b s ( {   f x F a d e :   t r u e   } ) ;   $ ( " # t a b S t o c k Q u o t e " ) . t a b s ( {   f x F a d e :   t r u e   } ) ;   $ ( " # t a b I n d i c e s " ) . t a b s ( {   f x F a d e :   t r u e   } ) ;   } ) ;   $ ( d o c u m e n t ) . r e a d y ( f u n c t i o n ( )   {   $ ( ' # e x 2 ' ) . j q m ( {   a j a x :   ' @ h r e f ' ,   a j a x C l e a r B e f o r e :   t r u e ,   t r i g g e r :   ' a . e x 2 t r i g g e r ' ,   t o T o p :   t r u e ,   m o d a l :   t r u e ,   o n L o a d :   R e m o v e V i e w S t a t e F i e l d   } ) ;   $ ( ' # e x 3 ' ) . j q m ( {   a j a x :   ' @ h r e f ' ,   t r i g g e r :   ' a . e x 3 t r i g g e r ' ,   t o T o p :   t r u e ,   m o d a l :   t r u e ,   o v e r l a y C l a s s :   ' m e d i a W i n d o w '   } ) ;   $ ( ' # e x 4 ' ) . j q m ( {   o v e r l a y :   0 ,   t r i g g e r :   f a l s e ,   a j a x :   ' @ h r e f ' ,   o v e r l a y C l a s s :   ' v i d T u t o r i a l '   } ) ;   $ ( ' # e x 5 ' ) . j q m ( {   a j a x :   ' @ r e l ' ,   a j a x C l e a r B e f o r e :   t r u e ,   t r i g g e r :   ' a . e x 5 t r i g g e r ' ,   t o T o p :   t r u e ,   m o d a l :   t r u e ,   o n L o a d :   R e m o v e V i e w S t a t e F i e l d   } ) ;   } ) ;   f u n c t i o n   R e m o v e V i e w S t a t e F i e l d ( h a s h )  
 {   $ ( " i n p u t : h i d d e n [ i d = ' _ _ V I E W S T A T E ' ] " ,   t h i s ) . r e m o v e ( ) ;   $ ( ' a . h e l p R e g i s t e r ' ) . c l u e t i p ( {   m o u s e O u t C l o s e :   t r u e ,   a c t i v a t i o n :   ' c l i c k ' ,   s t i c k y :   t r u e ,   w i d t h :   ' 3 5 7 p x ' ,   c l u e t i p C l a s s :   ' h e l p P o p R e g ' ,   d r o p S h a d o w :   f a l s e ,   s h o w T i t l e :   f a l s e ,   c l o s e P o s i t i o n :   ' t o p ' ,   c l u e z I n d e x :   1 0 0 0 ,   c l o s e T e x t :   ' < i m g   s r c = " h t t p : / / w w w 1 . i b d c d . c o m / i m a g e s / b t n / h e l p P o p u p s C l o s e B u t t o n . g i f "   w i d t h = " 1 5 "   h e i g h t = " 1 5 "   a l t = " c l o s e   b u t t o n "   / > '   } ) ;   $ ( ' a . g l o s s D e f ' ) . c l u e t i p ( {   m o u s e O u t C l o s e :   t r u e ,   c l u e t i p C l a s s :   ' g l o s s B u b b l e ' ,   w i d t h :   ' 3 0 3 p x ' ,   s h o w T i t l e :   f a l s e ,   d r o p S h a d o w :   f a l s e ,   c l u e z I n d e x :   1 0 0 0 ,   c l o s e T e x t :   ' '   } ) ;   }  
 f u n c t i o n   e x p a n d c o l l a p s e ( o b j )  
 {   $ ( ' # '   +   o b j ) . t o g g l e ( ) ;   }  
 v a r   n e w s H i g h l i g h t C a r o u s e l   =   n u l l ;   v a r   n e w s H i g h l i g h t C a r o u s e l N e x t B o u n d   =   f a l s e ;   f u n c t i o n   m o d N e w s H i g h l i g h t _ i n i t C a l l b a c k ( c a r o u s e l )  
 {  
         j Q u e r y ( ' # n e w s H i g h l i g h t   . j c a r o u s e l - c o n t r o l   a ' ) . b i n d ( ' c l i c k ' ,   f u n c t i o n ( )  
         {   c a r o u s e l . s t a r t A u t o ( 0 ) ;   v a r   p g   =   j Q u e r y . j c a r o u s e l . i n t v a l ( j Q u e r y ( t h i s ) . t e x t ( ) ) ;   c a r o u s e l . s c r o l l ( p g ) ;   c a r o u s e l . o p t i o n s . v i s i b l e P a g e   =   p g ;   c a r o u s e l . o p t i o n s . f r o m P a g e D o t s   =   t r u e ;   r e t u r n   f a l s e ;   } ) ;   j Q u e r y ( ' # n e w s H i g h l i g h t - p r e v ' ) . b i n d ( ' c l i c k ' ,   f u n c t i o n ( )  
         {   c a r o u s e l . p r e v ( ) ;   r e t u r n   f a l s e ;   } ) ;   m o d N e w s H i g h l i g h t _ B i n d N e x t ( c a r o u s e l ) ;   n e w s H i g h l i g h t C a r o u s e l   =   c a r o u s e l ;  
 } ;   f u n c t i o n   m o d N e w s H i g h l i g h t _ i t e m V i s i b l e I n C a l l b a c k A f t e r A n i m a t i o n ( c a r o u s e l ,   i t e m ,   i d x ,   s t a t e )  
 {  
         $ ( " # n e w s H i g h l i g h t   . j c a r o u s e l - c o n t r o l   >   a " ) . r e m o v e C l a s s ( ' s e l e c t e d ' ) ;   v a r   s r c A n c h o r   =   " a # m o d N e w s H i g h l i g h t - "   +   i d x ;   $ ( s r c A n c h o r ) . a d d C l a s s ( ' s e l e c t e d ' ) ;   i f   ( i d x   = =   1 )  
         {  
                 j Q u e r y ( ' # n e w s H i g h l i g h t - p r e v ' ) . a d d C l a s s ( " j c a r o u s e l - p r e v - d i s a b l e d - h o r i z o n t a l " ) ;   j Q u e r y ( ' # n e w s H i g h l i g h t - p r e v ' ) . r e m o v e C l a s s ( " j c a r o u s e l - p r e v - h o r i z o n t a l " ) ;   i f   ( c a r o u s e l . o p t i o n s . s i z e   = =   1 )  
                 {   j Q u e r y ( ' # n e w s H i g h l i g h t - n e x t ' ) . a d d C l a s s ( " j c a r o u s e l - n e x t - d i s a b l e d - h o r i z o n t a l " ) ;   j Q u e r y ( ' # n e w s H i g h l i g h t - n e x t ' ) . r e m o v e C l a s s ( " j c a r o u s e l - n e x t - h o r i z o n t a l " ) ;   m o d N e w s H i g h l i g h t _ U n B i n d N e x t ( ) ;   }  
                 e l s e  
                 {   j Q u e r y ( ' # n e w s H i g h l i g h t - n e x t ' ) . a d d C l a s s ( " j c a r o u s e l - n e x t - h o r i z o n t a l " ) ;   j Q u e r y ( ' # n e w s H i g h l i g h t - n e x t ' ) . r e m o v e C l a s s ( " j c a r o u s e l - n e x t - d i s a b l e d - h o r i z o n t a l " ) ;   m o d N e w s H i g h l i g h t _ B i n d N e x t ( c a r o u s e l ) ;   }    
         }  
         e l s e   i f   ( i d x   = =   c a r o u s e l . o p t i o n s . s i z e )  
         {   j Q u e r y ( ' # n e w s H i g h l i g h t - p r e v ' ) . a d d C l a s s ( " j c a r o u s e l - p r e v - h o r i z o n t a l " ) ;   j Q u e r y ( ' # n e w s H i g h l i g h t - p r e v ' ) . r e m o v e C l a s s ( " j c a r o u s e l - p r e v - d i s a b l e d - h o r i z o n t a l " ) ;   }  
         e l s e  
         {   j Q u e r y ( ' # n e w s H i g h l i g h t - p r e v ' ) . a d d C l a s s ( " j c a r o u s e l - p r e v - h o r i z o n t a l " ) ;   j Q u e r y ( ' # n e w s H i g h l i g h t - p r e v ' ) . r e m o v e C l a s s ( " j c a r o u s e l - p r e v - d i s a b l e d - h o r i z o n t a l " ) ;   j Q u e r y ( ' # n e w s H i g h l i g h t - n e x t ' ) . a d d C l a s s ( " j c a r o u s e l - n e x t - h o r i z o n t a l " ) ;   j Q u e r y ( ' # n e w s H i g h l i g h t - n e x t ' ) . r e m o v e C l a s s ( " j c a r o u s e l - n e x t - d i s a b l e d - h o r i z o n t a l " ) ;   m o d N e w s H i g h l i g h t _ B i n d N e x t ( c a r o u s e l ) ;   }  
         c a r o u s e l . o p t i o n s . v i s i b l e P a g e   =   i d x ;  
 } ;   f u n c t i o n   m o d N e w s H i g h l i g h t _ B i n d N e x t ( c a r o u s e l )  
 {  
         i f   ( ! n e w s H i g h l i g h t C a r o u s e l N e x t B o u n d )  
         {  
                 j Q u e r y ( ' # n e w s H i g h l i g h t - n e x t ' ) . b i n d ( ' c l i c k ' ,   f u n c t i o n ( )  
                 {  
                         i f   ( c a r o u s e l . o p t i o n s . v i s i b l e P a g e   = =   c a r o u s e l . o p t i o n s . s i z e )  
                         {   j Q u e r y ( ' # n e w s H i g h l i g h t   . j c a r o u s e l - l i s t ' ) . f a d e T o ( ' f a s t ' ,   0 . 0 ) ;   c a r o u s e l . o p t i o n s . a n i m a t i o n   =   5 0 ;   f e a t u r e d C o u r s e F a d e   =   t r u e ;   }  
                         c a r o u s e l . n e x t ( ) ;   r e t u r n   f a l s e ;  
                 } ) ;   n e w s H i g h l i g h t C a r o u s e l N e x t B o u n d   =   t r u e ;  
         }    
 } ;   f u n c t i o n   m o d N e w s H i g h l i g h t _ U n B i n d N e x t ( )  
 {   j Q u e r y ( ' # n e w s H i g h l i g h t - n e x t ' ) . u n b i n d ( ' c l i c k ' ) ;   n e w s H i g h l i g h t C a r o u s e l N e x t B o u n d   =   f a l s e ;   } ;   f u n c t i o n   m o d N e w s H i g h l i g h t _ i t e m F i r s t I n C a l l b a c k A f t e r A n i m a t i o n ( c a r o u s e l ,   i t e m ,   i d x ,   s t a t e )  
 {  
         i f   ( s t a t e   = =   ' i n i t ' )  
         {   c a r o u s e l . o p t i o n s . v i s i b l e P a g e   =   1 ;   r e t u r n ;   }    
 } ;   f u n c t i o n   m o d N e w s H i g h l i g h t _ i t e m L a s t O u t C a l l b a c k B e f o r e ( c a r o u s e l ,   i t e m ,   i d x ,   s t a t e )  
 {  
         i f   ( c a r o u s e l . o p t i o n s . a u t o   >   0   & &   i d x   = =   c a r o u s e l . o p t i o n s . s i z e )  
         {   j Q u e r y ( ' # n e w s H i g h l i g h t   . j c a r o u s e l - l i s t ' ) . f a d e T o ( ' f a s t ' ,   0 . 0 ) ;   c a r o u s e l . o p t i o n s . a n i m a t i o n   =   5 0 ;   f e a t u r e d C o u r s e F a d e   =   t r u e ;   }    
 }  
 f u n c t i o n   m o d N e w s H i g h l i g h t _ i t e m L a s t O u t C a l l b a c k ( c a r o u s e l ,   i t e m ,   i d x ,   s t a t e )  
 {  
         i f   ( f e a t u r e d C o u r s e F a d e )  
         {   j Q u e r y ( ' # n e w s H i g h l i g h t   . j c a r o u s e l - l i s t ' ) . f a d e T o ( ' f a s t ' ,   1 . 0 ) ;   c a r o u s e l . o p t i o n s . a n i m a t i o n   =   7 0 0 ;   f e a t u r e d C o u r s e F a d e   =   f a l s e ;   }  
         i f   ( c a r o u s e l . o p t i o n s . f r o m P a g e D o t s   = =   t r u e )  
         {   c a r o u s e l . o p t i o n s . f r o m P a g e D o t s   =   f a l s e ;   }  
         e l s e  
         {   c a r o u s e l . o p t i o n s . v i s i b l e P a g e   =   i d x   +   1 ;   }    
 } ;   f u n c t i o n   m o d F s L i s t _ i n i t C a l l b a c k ( c a r o u s e l )  
 {  
         i f   ( j Q u e r y ( ' # m o d F s L i s t   . j c a r o u s e l - c o n t r o l   a ' ) . l e n g t h   < =   1 )  
         {  
                 i f   ( c a r o u s e l . b u t t o n P r e v )  
                 {   c a r o u s e l . b u t t o n P r e v . c s s ( ' v i s i b i l i t y ' ,   ' h i d d e n ' ) ;   c a r o u s e l . b u t t o n P r e v   =   n u l l ;   }  
                 i f   ( c a r o u s e l . b u t t o n N e x t )  
                 {   c a r o u s e l . b u t t o n N e x t . c s s ( ' v i s i b i l i t y ' ,   ' h i d d e n ' ) ;   c a r o u s e l . b u t t o n N e x t   =   n u l l ;   }    
         }  
         j Q u e r y ( ' # m o d F s L i s t   . j c a r o u s e l - c o n t r o l   a ' ) . b i n d ( ' c l i c k ' ,   f u n c t i o n ( )  
         {   v a r   p g   =   j Q u e r y . j c a r o u s e l . i n t v a l ( j Q u e r y ( t h i s ) . t e x t ( ) ) ;   c a r o u s e l . s c r o l l ( p g ) ;   c a r o u s e l . o p t i o n s . v i s i b l e P a g e   =   p g ;   c a r o u s e l . o p t i o n s . f r o m P a g e D o t s   =   t r u e ;   r e t u r n   f a l s e ;   } ) ;   j Q u e r y ( ' # m o d F s L i s t   . j c a r o u s e l - n e x t ' ) . b i n d ( ' c l i c k ' ,   f u n c t i o n ( )  
         {  
                 i f   ( c a r o u s e l . o p t i o n s . v i s i b l e P a g e   = =   j Q u e r y ( ' # m o d F s L i s t   . j c a r o u s e l - c o n t r o l   a ' ) . l e n g t h )  
                 {   j Q u e r y ( ' # m o d F s L i s t   . j c a r o u s e l - l i s t ' ) . f a d e O u t ( ' f a s t ' ) ;   c a r o u s e l . o p t i o n s . a n i m a t i o n   =   5 0 ;   f e a t u r e d C o u r s e F a d e   =   t r u e ;   }    
         } ) ;  
 } ;   f u n c t i o n   m o d F s L i s t _ i t e m V i s i b l e I n C a l l b a c k A f t e r A n i m a t i o n ( c a r o u s e l ,   i t e m ,   i d x ,   s t a t e )  
 {   $ ( " # m o d F s L i s t   . j c a r o u s e l - c o n t r o l   >   a " ) . r e m o v e C l a s s ( ' s e l e c t e d ' ) ;   v a r   s r c A n c h o r   =   " a # m o d F s L i s t - "   +   i d x ;   $ ( s r c A n c h o r ) . a d d C l a s s ( ' s e l e c t e d ' ) ;   } ;   f u n c t i o n   m o d F s L i s t _ i t e m F i r s t I n C a l l b a c k A f t e r A n i m a t i o n ( c a r o u s e l ,   i t e m ,   i d x ,   s t a t e )  
 {  
         i f   ( s t a t e   = =   ' i n i t ' )  
         {   c a r o u s e l . o p t i o n s . v i s i b l e P a g e   =   1 ;   r e t u r n ;   }    
 }  
 f u n c t i o n   m o d F s L i s t _ i t e m L a s t O u t C a l l b a c k ( c a r o u s e l ,   i t e m ,   i d x ,   s t a t e )  
 {  
         i f   ( f e a t u r e d C o u r s e F a d e )  
         {   j Q u e r y ( ' # m o d F s L i s t   . j c a r o u s e l - l i s t ' ) . f a d e I n ( ' f a s t ' ) ;   c a r o u s e l . o p t i o n s . a n i m a t i o n   =   7 0 0 ;   f e a t u r e d C o u r s e F a d e   =   f a l s e ;   }  
         i f   ( c a r o u s e l . o p t i o n s . f r o m P a g e D o t s   = =   t r u e )  
         {   c a r o u s e l . o p t i o n s . f r o m P a g e D o t s   =   f a l s e ;   }  
         e l s e   {   c a r o u s e l . o p t i o n s . v i s i b l e P a g e   =   i d x   +   1 ;   }    
 } ;   j Q u e r y ( d o c u m e n t ) . r e a d y ( f u n c t i o n ( )  
 {   j Q u e r y ( " # m o d F s L i s t " ) . j c a r o u s e l ( {   s c r o l l :   1 ,   a n i m a t i o n :   7 0 0 ,   i n i t C a l l b a c k :   m o d F s L i s t _ i n i t C a l l b a c k ,   i t e m V i s i b l e I n C a l l b a c k :   {   o n A f t e r A n i m a t i o n :   m o d F s L i s t _ i t e m V i s i b l e I n C a l l b a c k A f t e r A n i m a t i o n   } ,   i t e m F i r s t I n C a l l b a c k :   {   o n A f t e r A n i m a t i o n :   m o d F s L i s t _ i t e m F i r s t I n C a l l b a c k A f t e r A n i m a t i o n   } ,   i t e m L a s t O u t C a l l b a c k :   m o d F s L i s t _ i t e m L a s t O u t C a l l b a c k   } ) ;   } ) ;   f u n c t i o n   m o d I b d B o o k s _ i n i t C a l l b a c k ( c a r o u s e l )   {   j Q u e r y ( ' # m o d I b d B o o k s   . j c a r o u s e l - c o n t r o l   a ' ) . b i n d ( ' c l i c k ' ,   f u n c t i o n ( )   {   c a r o u s e l . s c r o l l ( j Q u e r y . j c a r o u s e l . i n t v a l ( j Q u e r y ( t h i s ) . t e x t ( ) ) ) ;   r e t u r n   f a l s e ;   } ) ;   } ;   f u n c t i o n   m o d I b d B o o k s _ i t e m V i s i b l e I n C a l l b a c k A f t e r A n i m a t i o n ( c a r o u s e l ,   i t e m ,   i d x ,   s t a t e )   {   $ ( " # m o d I b d B o o k s   . j c a r o u s e l - c o n t r o l   >   a " ) . r e m o v e C l a s s ( ' s e l e c t e d ' ) ;   v a r   s r c A n c h o r   =   " a # m o d I b d B o o k s - "   +   i d x ;   $ ( s r c A n c h o r ) . a d d C l a s s ( ' s e l e c t e d ' ) ;   } ;   j Q u e r y ( d o c u m e n t ) . r e a d y ( f u n c t i o n ( )   {   j Q u e r y ( " # m o d I b d B o o k s " ) . j c a r o u s e l ( {   s c r o l l :   1 ,   a n i m a t i o n :   7 0 0 ,   i n i t C a l l b a c k :   m o d I b d B o o k s _ i n i t C a l l b a c k ,   i t e m V i s i b l e I n C a l l b a c k :   {   o n A f t e r A n i m a t i o n :   m o d I b d B o o k s _ i t e m V i s i b l e I n C a l l b a c k A f t e r A n i m a t i o n }   } ) ;   } ) ;   f u n c t i o n   m o d N e w s A n a l y s i s _ i n i t C a l l b a c k ( c a r o u s e l )  
 {  
         i f   ( j Q u e r y ( ' # m o d N e w s A n a l y s i s   . j c a r o u s e l - c o n t r o l   a ' ) . l e n g t h   < =   1 )  
         {  
                 i f   ( c a r o u s e l . b u t t o n P r e v )  
                 {   c a r o u s e l . b u t t o n P r e v . c s s ( ' v i s i b i l i t y ' ,   ' h i d d e n ' ) ;   c a r o u s e l . b u t t o n P r e v   =   n u l l ;   }  
                 i f   ( c a r o u s e l . b u t t o n N e x t )  
                 {   c a r o u s e l . b u t t o n N e x t . c s s ( ' v i s i b i l i t y ' ,   ' h i d d e n ' ) ;   c a r o u s e l . b u t t o n N e x t   =   n u l l ;   }    
         }  
         j Q u e r y ( ' # m o d N e w s A n a l y s i s   . j c a r o u s e l - c o n t r o l   a ' ) . b i n d ( ' c l i c k ' ,   f u n c t i o n ( )   {   c a r o u s e l . s c r o l l ( j Q u e r y . j c a r o u s e l . i n t v a l ( j Q u e r y ( t h i s ) . t e x t ( ) ) ) ;   r e t u r n   f a l s e ;   } ) ;  
 } ;    
 f u n c t i o n   m o d N e w s A n a l y s i s _ i t e m V i s i b l e I n C a l l b a c k A f t e r A n i m a t i o n ( c a r o u s e l ,   i t e m ,   i d x ,   s t a t e )   {   $ ( " # m o d N e w s A n a l y s i s   . j c a r o u s e l - c o n t r o l   >   a " ) . r e m o v e C l a s s ( ' s e l e c t e d ' ) ;   v a r   s r c A n c h o r   =   " a # m o d N e w s A n a l y s i s - "   +   i d x ;   $ ( s r c A n c h o r ) . a d d C l a s s ( ' s e l e c t e d ' ) ;   } ;    
 f u n c t i o n   m o d V i d T u t o r _ i n i t C a l l b a c k ( c a r o u s e l )   {   j Q u e r y ( ' # m o d V i d T u t o r   . j c a r o u s e l - c o n t r o l   a ' ) . b i n d ( ' c l i c k ' ,   f u n c t i o n ( )   {   c a r o u s e l . s c r o l l ( j Q u e r y . j c a r o u s e l . i n t v a l ( j Q u e r y ( t h i s ) . t e x t ( ) ) ) ;   r e t u r n   f a l s e ;   } ) ;   } ;    
 j Q u e r y ( d o c u m e n t ) . r e a d y ( f u n c t i o n ( )   {   j Q u e r y ( " # m o d V i d T u t o r " ) . j c a r o u s e l ( {   s c r o l l :   3 ,   a n i m a t i o n :   7 0 0 ,   i n i t C a l l b a c k :   m o d V i d T u t o r _ i n i t C a l l b a c k   } ) ;   } ) ;    
 v a r   f e a t u r e d C o u r s e F a d e   =   f a l s e ;    
 f u n c t i o n   m o d F t r C s e _ i n i t C a l l b a c k ( c a r o u s e l )  
 {  
         j Q u e r y ( ' # m o d F t r C s e   . j c a r o u s e l - c o n t r o l   a ' ) . b i n d ( ' c l i c k ' ,   f u n c t i o n ( )  
         {  
                 v a r   f i r s t I t e m   =   c a r o u s e l . f i r s t ;   v a r   p g   =   j Q u e r y . j c a r o u s e l . i n t v a l ( j Q u e r y ( t h i s ) . t e x t ( ) ) ;   i f   ( p g   = =   c a r o u s e l . o p t i o n s . v i s i b l e P a g e )   {   r e t u r n   f a l s e ;   }  
                 i f   ( ( p g   *   c a r o u s e l . o p t i o n s . s c r o l l )   >   c a r o u s e l . o p t i o n s . s i z e )   {   f i r s t I t e m   =   c a r o u s e l . o p t i o n s . s i z e   -   c a r o u s e l . o p t i o n s . s c r o l l   +   1 ;   }   e l s e   {   v a r   a d j u s t   =   ( ( p g   -   c a r o u s e l . o p t i o n s . v i s i b l e P a g e )   *   c a r o u s e l . o p t i o n s . s c r o l l ) ;   f i r s t I t e m   =   f i r s t I t e m   +   a d j u s t ;   i f   ( f i r s t I t e m   <   1 )   {   f i r s t I t e m   =   1 ;   }   }  
                 c a r o u s e l . s c r o l l ( j Q u e r y . j c a r o u s e l . i n t v a l ( f i r s t I t e m ) ) ;   c a r o u s e l . o p t i o n s . v i s i b l e P a g e   =   p g ;   c a r o u s e l . o p t i o n s . f r o m P a g e D o t s   =   t r u e ;   r e t u r n   f a l s e ;  
         } ) ;    
         j Q u e r y ( ' # m o d F t r C s e   . j c a r o u s e l - n e x t ' ) . b i n d ( ' c l i c k ' ,   f u n c t i o n ( )  
         {  
                 i f   ( c a r o u s e l . o p t i o n s . v i s i b l e P a g e   = =   c a r o u s e l . o p t i o n s . l a s t P a g e )  
                 {   j Q u e r y ( ' # m o d F t r C s e   . j c a r o u s e l - l i s t ' ) . f a d e O u t ( ' f a s t ' ) ;   c a r o u s e l . o p t i o n s . a n i m a t i o n   =   5 0 ;   f e a t u r e d C o u r s e F a d e   =   t r u e ;   }    
         } ) ;  
 } ;    
 f u n c t i o n   m o d F t r C s e _ i t e m F i r s t I n C a l l b a c k A f t e r A n i m a t i o n ( c a r o u s e l ,   i t e m ,   i d x ,   s t a t e )  
 {  
         i f   ( s t a t e   = =   ' i n i t ' )  
         {   c a r o u s e l . o p t i o n s . v i s i b l e P a g e   =   1 ;   r e t u r n ;   }    
 }  
 f u n c t i o n   m o d F t r C s e _ i t e m L a s t O u t C a l l b a c k ( c a r o u s e l ,   i t e m ,   i d x ,   s t a t e )  
 {  
         i f   ( f e a t u r e d C o u r s e F a d e )  
         {   j Q u e r y ( ' # m o d F t r C s e   . j c a r o u s e l - l i s t ' ) . f a d e I n ( ' f a s t ' ) ;   c a r o u s e l . o p t i o n s . a n i m a t i o n   =   7 0 0 ;   f e a t u r e d C o u r s e F a d e   =   f a l s e ;   }  
         $ ( " # m o d F t r C s e   . j c a r o u s e l - c o n t r o l   >   a . s e l e c t e d " ) . r e m o v e C l a s s ( ' s e l e c t e d ' ) ;    
         i f   ( c a r o u s e l . o p t i o n s . f r o m P a g e D o t s   = =   t r u e )  
         {   c a r o u s e l . o p t i o n s . f r o m P a g e D o t s   =   f a l s e ;   }  
         e l s e   {   i f   ( i d x   = =   1 )   {   c a r o u s e l . o p t i o n s . v i s i b l e P a g e   =   1 ;   }   e l s e   i f   ( s t a t e   = =   ' n e x t ' )   {   c a r o u s e l . o p t i o n s . v i s i b l e P a g e + + ;   }   e l s e   {   c a r o u s e l . o p t i o n s . v i s i b l e P a g e - - ;   }   }  
         $ ( " a # m o d F t r C s e - "   +   ( c a r o u s e l . o p t i o n s . v i s i b l e P a g e ) ) . a d d C l a s s ( ' s e l e c t e d ' ) ;  
 } ;  
 $ ( d o c u m e n t ) . r e a d y ( f u n c t i o n ( )   {   $ ( ' a . b a s i c ' ) . c l u e t i p ( {   p o s i t i o n B y :   ' b o t t o m T o p '   } ) ;   $ ( ' a . h e l p C r e d i t C a r d ' ) . c l u e t i p ( {   a c t i v a t i o n :   ' c l i c k ' ,   s t i c k y :   t r u e ,   w i d t h :   ' 3 5 7 p x ' ,   c l u e t i p C l a s s :   ' h e l p P o p C c ' ,   d r o p S h a d o w :   f a l s e ,   s h o w T i t l e :   f a l s e ,   c l o s e P o s i t i o n :   ' t o p ' ,   c l o s e T e x t :   ' < i m g   s r c = " h t t p : / / w w w 1 . i b d c d . c o m / i m a g e s / b t n / h e l p P o p u p s C l o s e B u t t o n . g i f "   w i d t h = " 1 5 "   h e i g h t = " 1 5 "   a l t = " c l o s e   b u t t o n "   / > '   } ) ;   $ ( ' a . h e l p Y o u r I n f o ' ) . c l u e t i p ( {   a c t i v a t i o n :   ' c l i c k ' ,   s t i c k y :   t r u e ,   w i d t h :   ' 3 5 7 p x ' ,   c l u e t i p C l a s s :   ' h e l p P o p Y i ' ,   d r o p S h a d o w :   f a l s e ,   s h o w T i t l e :   f a l s e ,   c l o s e P o s i t i o n :   ' t o p ' ,   t a g :   ' h e l p M o d a l ' ,   c l o s e T e x t :   ' < i m g   s r c = " h t t p : / / w w w 1 . i b d c d . c o m / i m a g e s / b t n / h e l p P o p u p s C l o s e B u t t o n . g i f "   w i d t h = " 1 5 "   h e i g h t = " 1 5 "   a l t = " c l o s e   b u t t o n "   / > '   } ) ;   $ ( ' a . h e l p M o s t P o p ' ) . c l u e t i p ( {   a c t i v a t i o n :   ' c l i c k ' ,   s t i c k y :   t r u e ,   w i d t h :   ' 3 5 7 p x ' ,   c l u e t i p C l a s s :   ' h e l p P o p M p ' ,   d r o p S h a d o w :   f a l s e ,   s h o w T i t l e :   f a l s e ,   c l o s e P o s i t i o n :   ' t o p ' ,   c l o s e T e x t :   ' < i m g   s r c = " h t t p : / / w w w 1 . i b d c d . c o m / i m a g e s / b t n / h e l p P o p u p s C l o s e B u t t o n . g i f "   w i d t h = " 1 5 "   h e i g h t = " 1 5 "   a l t = " c l o s e   b u t t o n "   / > '   } ) ;   $ ( ' a . h e l p M e d i a C e n t e r ' ) . c l u e t i p ( {   a c t i v a t i o n :   ' c l i c k ' ,   s t i c k y :   t r u e ,   w i d t h :   ' 3 5 7 p x ' ,   c l u e t i p C l a s s :   ' h e l p M e d i a C e n t e r ' ,   d r o p S h a d o w :   f a l s e ,   s h o w T i t l e :   f a l s e ,   c l o s e P o s i t i o n :   ' t o p ' ,   c l o s e T e x t :   ' < i m g   s r c = " h t t p : / / w w w 1 . i b d c d . c o m / i m a g e s / b t n / h e l p P o p u p s C l o s e B u t t o n . g i f "   w i d t h = " 1 5 "   h e i g h t = " 1 5 "   a l t = " c l o s e   b u t t o n "   / > '   } ) ;   $ ( ' a . h e l p O p t i o n C e n t e r ' ) . c l u e t i p ( {   a c t i v a t i o n :   ' c l i c k ' ,   s t i c k y :   t r u e ,   w i d t h :   ' 3 5 7 p x ' ,   c l u e t i p C l a s s :   ' h e l p O p t i o n C e n t e r ' ,   d r o p S h a d o w :   f a l s e ,   s h o w T i t l e :   f a l s e ,   c l o s e P o s i t i o n :   ' t o p ' ,   c l o s e T e x t :   ' < i m g   s r c = " h t t p : / / w w w 1 . i b d c d . c o m / i m a g e s / b t n / h e l p P o p u p s C l o s e B u t t o n . g i f "   w i d t h = " 1 5 "   h e i g h t = " 1 5 "   a l t = " c l o s e   b u t t o n "   / > '   } ) ;   $ ( ' a . h e l p M y R o u t ' ) . c l u e t i p ( {   a c t i v a t i o n :   ' c l i c k ' ,   s t i c k y :   t r u e ,   w i d t h :   ' 3 5 7 p x ' ,   c l u e t i p C l a s s :   ' h e l p P o p M r ' ,   d r o p S h a d o w :   f a l s e ,   s h o w T i t l e :   f a l s e ,   c l o s e P o s i t i o n :   ' t o p ' ,   c l o s e T e x t :   ' < i m g   s r c = " h t t p : / / w w w 1 . i b d c d . c o m / i m a g e s / b t n / h e l p P o p u p s C l o s e B u t t o n . g i f "   w i d t h = " 1 5 "   h e i g h t = " 1 5 "   a l t = " c l o s e   b u t t o n "   / > '   } ) ;   $ ( ' a . h e l p I n T h e N e w s ' ) . c l u e t i p ( {   a c t i v a t i o n :   ' c l i c k ' ,   s t i c k y :   t r u e ,   w i d t h :   ' 3 5 7 p x ' ,   c l u e t i p C l a s s :   ' h e l p P o p Y i ' ,   d r o p S h a d o w :   f a l s e ,   s h o w T i t l e :   f a l s e ,   c l o s e P o s i t i o n :   ' t o p ' ,   c l o s e T e x t :   ' < i m g   s r c = " h t t p : / / w w w 1 . i b d c d . c o m / i m a g e s / b t n / h e l p P o p u p s C l o s e B u t t o n . g i f "   w i d t h = " 1 5 "   h e i g h t = " 1 5 "   a l t = " c l o s e   b u t t o n "   / > '   } ) ;   $ ( ' a . h e l p R e g i s t e r ' ) . c l u e t i p ( {   a c t i v a t i o n :   ' c l i c k ' ,   s t i c k y :   t r u e ,   w i d t h :   ' 3 5 7 p x ' ,   c l u e t i p C l a s s :   ' h e l p P o p R e g ' ,   d r o p S h a d o w :   f a l s e ,   s h o w T i t l e :   f a l s e ,   c l o s e P o s i t i o n :   ' t o p ' ,   c l o s e T e x t :   ' < i m g   s r c = " h t t p : / / w w w 1 . i b d c d . c o m / i m a g e s / b t n / h e l p P o p u p s C l o s e B u t t o n . g i f "   w i d t h = " 1 5 "   h e i g h t = " 1 5 "   a l t = " c l o s e   b u t t o n "   / > '   } ) ;   $ ( ' a . h d l i n e R o l l ' ) . c l u e t i p ( {   s t i c k y :   f a l s e ,   m o u s e O u t C l o s e :   t r u e ,   c l u e t i p C l a s s :   ' h d P r e v i e w ' ,   w i d t h :   ' 3 8 4 p x ' ,   s h o w T i t l e :   f a l s e ,   d r o p S h a d o w :   f a l s e ,   c l o s e T e x t :   ' ' ,   h o v e r I n t e n t :   f a l s e   } ) ;   U p d a t e S t o c k R o l l o v e r s ( ) ;   U p d a t e G l o s s D e f R o l l o v e r s ( ) ;   $ ( ' a . p a s s D e f ' ) . c l u e t i p ( {   m o u s e O u t C l o s e :   t r u e ,   c l u e t i p C l a s s :   ' p a s s B u b b l e ' ,   w i d t h :   ' 1 1 3 p x ' ,   s h o w T i t l e :   f a l s e ,   d r o p S h a d o w :   f a l s e ,   c l o s e T e x t :   ' ' ,   l o c a l :   t r u e   } ) ;   $ ( ' s p a n . a l e r t N u m ' ) . c l u e t i p ( {   s h o w T i t l e :   t r u e ,   m o u s e O u t C l o s e :   t r u e ,   c l o s e T e x t :   ' C l o s e ' ,   s p l i t T i t l e :   ' | ' ,   a t t r i b u t e :   ' c l u e t i p ' ,   t i t l e A t t r i b u t e :   ' c l u e t i p ' ,   r e s t o r e T i t l e :   f a l s e ,   s t i c k y :   t r u e ,   c l o s e P o s i t i o n :   ' t i t l e ' ,   c l u e t i p C l a s s :   ' a l e r t M s g ' ,   p o s i t i o n B y :   ' b o t t o m T o p ' ,   d r o p S h a d o w :   t r u e ,   a r r o w s :   f a l s e   } ) ;   } ) ;   i f   ( t y p e o f   ( S y s )   ! =   ' u n d e f i n e d ' )  
 {  
         v a r   p r m   =   S y s . W e b F o r m s . P a g e R e q u e s t M a n a g e r . g e t I n s t a n c e ( )  
         i f   ( p r m   ! =   n u l l )  
         {   p r m . a d d _ e n d R e q u e s t ( E n d R e q u e s t ) ;   }    
 }  
 f u n c t i o n   E n d R e q u e s t ( s e n d e r ,   a r g s )  
 {   U p d a t e S t o c k R o l l o v e r s ( ) ;   U p d a t e G l o s s D e f R o l l o v e r s ( ) ;   }  
 f u n c t i o n   U p d a t e S t o c k R o l l o v e r s ( i d )  
 {  
         v a r   s e l e c t o r   =   ' a . s t o c k R o l l ' ;   i f   ( t y p e o f   ( i d )   ! =   ' u n d e f i n e d '   & &   i d   ! =   n u l l )  
         {   s e l e c t o r   =   " [ i d $ = ' "   +   i d   +   " ' ]   "   +   s e l e c t o r ;   }  
         $ ( s e l e c t o r ) . c l u e t i p ( {   s t i c k y :   t r u e ,   m o u s e O u t C l o s e :   t r u e ,   c l u e t i p C l a s s :   ' j t i p ' ,   w i d t h :   ' 3 0 3 p x ' ,   s h o w T i t l e :   f a l s e ,   d r o p S h a d o w :   f a l s e ,   c l o s e T e x t :   ' ' ,   t a g :   ' s t o c k R o l l ' ,   c u r s o r :   ' p o i n t e r ' ,   o n A c t i v a t e :   C h e c k V a l i d S e s s i o n   } ) ;  
 }  
 f u n c t i o n   U p d a t e G l o s s D e f R o l l o v e r s ( i d )  
 {  
         v a r   s e l e c t o r   =   ' a . g l o s s D e f ' ;   i f   ( t y p e o f   ( i d )   ! =   ' u n d e f i n e d '   & &   i d   ! =   n u l l )  
         {   s e l e c t o r   =   " [ i d $ = ' "   +   i d   +   " ' ]   "   +   s e l e c t o r ;   }  
         $ ( s e l e c t o r ) . c l u e t i p ( {   m o u s e O u t C l o s e :   t r u e ,   c l u e t i p C l a s s :   ' g l o s s B u b b l e ' ,   w i d t h :   ' 3 0 3 p x ' ,   s h o w T i t l e :   f a l s e ,   d r o p S h a d o w :   f a l s e ,   c l o s e T e x t :   ' '   } ) ;  
 }  
 $ ( d o c u m e n t ) . r e a d y ( f u n c t i o n ( )   {   $ ( ' # f i n d S t k D r o p S e l e c t ' ) . s e l e c t b o x ( ) ;   $ ( ' # e v a l u a t e S t k D r o p S e l e c t ' ) . s e l e c t b o x ( ) ;   } ) ;   $ ( d o c u m e n t ) . r e a d y ( f u n c t i o n ( )   {   $ ( ' # g r p R a n k   . s e l e c t e d ' ) . a p p e n d ( ' < d i v   c l a s s = " c o v e r " > < / d i v > ' ) ;   } ) ;   f u n c t i o n   G r o u p C h a n g e ( i t e m )  
 {   $ ( ' . g r p C a t   . c o v e r ' ) . r e m o v e ( ) ;   $ ( ' . g r p C a t ' ) . r e m o v e C l a s s ( ' s e l e c t e d ' ) ;   $ ( i t e m ) . a d d C l a s s ( ' s e l e c t e d ' ) ;   $ ( i t e m ) . a p p e n d ( ' < d i v   c l a s s = " c o v e r " > < / d i v > ' ) ;   r e t u r n   t r u e ;   }  
 $ ( d o c u m e n t ) . r e a d y ( f u n c t i o n ( )  
 {  
         $ ( ' . t t l - a c t i o n s   a ' ) . a t t r ( " t i t l e " ,   " E x p a n d   A l l " ) ;   $ ( ' . t t l - a c t i o n s   a ' ) . t o g g l e ( f u n c t i o n ( )  
         {   $ ( t h i s ) . h t m l ( " C o l l a p s e   A l l   & r a q u o ; " ) ;   $ ( t h i s ) . a t t r ( " t i t l e " ,   " C o l l a p s e   A l l " ) ;   $ ( ' . c u r r S u b S c r i p t   >   . t r i g g e r ' ) . a d d C l a s s ( ' e x p a n d e d ' ) . r e m o v e C l a s s ( ' t r i g g e r ' ) ;   $ ( ' . c u r r S u b S c r i p t   >   . h i d e ' ) . r e m o v e C l a s s ( ' h i d e ' ) . a d d C l a s s ( ' s h o w ' ) ;   r e t u r n   f a l s e ;   } ,   f u n c t i o n ( )  
         {   $ ( t h i s ) . h t m l ( " E x p a n d   A l l   & r a q u o ; " ) ;   $ ( t h i s ) . a t t r ( " t i t l e " ,   " E x p a n d   A l l " ) ;   $ ( ' . c u r r S u b S c r i p t   >   . e x p a n d e d ' ) . a d d C l a s s ( ' t r i g g e r ' ) . r e m o v e C l a s s ( ' e x p a n d e d ' ) ;   $ ( ' . c u r r S u b S c r i p t   >   . s h o w ' ) . r e m o v e C l a s s ( ' s h o w ' ) . a d d C l a s s ( ' h i d e ' ) ;   r e t u r n   f a l s e ;   } ) ;  
 } ) ;   f u n c t i o n   r e g i s t e r M o d a l I n i t ( )   {   $ ( ' . t o g g l e - e x p a n d ' ) . h i d e ( ' f a s t ' ) ;   $ ( " # m e d i a C t r T a b s " ) . t a b s ( ) ;   $ ( " # c o m m e n t F o r m " ) . h i d e ( ) ;   $ ( " . c o m m e n t W r i t e " ) . c l i c k ( f u n c t i o n ( )   {   $ ( " # c o m m e n t s L i s t " ) . h i d e ( ) ;   $ ( " # c o m m e n t F o r m " ) . s h o w ( ) ;   } ) ;   $ ( " # c a n c e l C o m m e n t " ) . c l i c k ( f u n c t i o n ( )   {   $ ( " # c o m m e n t F o r m " ) . h i d e ( ) ;   $ ( " # c o m m e n t s L i s t " ) . s h o w ( ) ;   } ) ;   }  
 f u n c t i o n   r e g i s t e r V i d e o M o d a l I n i t ( )   {   $ ( ' # m o d V i d T u t o r ' ) . j c a r o u s e l ( {   s c r o l l :   3 ,   a n i m a t i o n :   7 0 0 ,   i n i t C a l l b a c k :   m o d V i d T u t o r _ i n i t C a l l b a c k   } ) ;   $ ( ' . v i d T u t o r   # p l a y e r ' ) . l o a d ( ' i n c / h t m l / v i d e o - t u t o r i a l - 1 . h t m l ' ) ;   $ ( ' # f i r s t ' ) . c l i c k ( f u n c t i o n ( )   {   $ ( ' . v i d T u t o r   # p l a y e r ' ) . h i d e ( ) . l o a d ( ' i n c / h t m l / v i d e o - t u t o r i a l - 1 . h t m l ' ,   f u n c t i o n ( )   {   $ ( ' . s e l e c t   >   l i ' ) . r e m o v e C l a s s ( ' c u r r e n t ' ) ;   $ ( ' . s e l e c t   >   l i # f i r s t ' ) . a d d C l a s s ( ' c u r r e n t ' ) ;   $ ( t h i s ) . f a d e I n ( ) ;   } ) ;   r e t u r n   f a l s e ;   } ) ;   $ ( ' # s e c o n d ' ) . c l i c k ( f u n c t i o n ( )   {   $ ( ' . v i d T u t o r   # p l a y e r ' ) . h i d e ( ) . l o a d ( ' i n c / h t m l / v i d e o - t u t o r i a l - 2 . h t m l ' ,   f u n c t i o n ( )   {   $ ( ' . s e l e c t   >   l i ' ) . r e m o v e C l a s s ( ' c u r r e n t ' ) ;   $ ( ' . s e l e c t   >   l i # s e c o n d ' ) . a d d C l a s s ( ' c u r r e n t ' ) ;   $ ( t h i s ) . f a d e I n ( ) ;   } ) ;   r e t u r n   f a l s e ;   } ) ;   $ ( ' # t h i r d ' ) . c l i c k ( f u n c t i o n ( )   {   $ ( ' . v i d T u t o r   # p l a y e r ' ) . h i d e ( ) . l o a d ( ' i n c / h t m l / v i d e o - t u t o r i a l - 3 . h t m l ' ,   f u n c t i o n ( )   {   $ ( ' . s e l e c t   >   l i ' ) . r e m o v e C l a s s ( ' c u r r e n t ' ) ;   $ ( ' . s e l e c t   >   l i # t h i r d     ' ) . a d d C l a s s ( ' c u r r e n t ' ) ;   $ ( t h i s ) . f a d e I n ( ) ;   } ) ;   r e t u r n   f a l s e ;   } ) ;   $ ( " # c l o s e - w i n d o w " ) . c l i c k ( f u n c t i o n ( )   {   $ ( ' # e x 3 ' ) . j q m H i d e ( ) ;   } ) ;   }  
 $ ( d o c u m e n t ) . r e a d y ( f u n c t i o n ( )   {   $ ( " . t o p i c A c c o r d i o n   >   d d " ) . h i d e ( ) ;   $ ( " d t . e x p a n d " ) . n e x t ( ) . s h o w ( ) ;   $ ( " . t o p i c A c c o r d i o n   >   d t   a " ) . c l i c k ( f u n c t i o n ( )   {   $ ( " d t . e x p a n d " ) . n e x t ( ) . s l i d e U p ( " s l o w " ) ;   $ ( t h i s ) . p a r e n t ( ) . n e x t ( ) . s l i d e D o w n ( " s l o w " ) ;   $ ( " d t . e x p a n d " ) . r e m o v e C l a s s ( " e x p a n d " ) ;   $ ( t h i s ) . p a r e n t ( ) . a d d C l a s s ( " e x p a n d " ) ;   r e t u r n   f a l s e ;   } ) ;   } ) ;   $ ( d o c u m e n t ) . r e a d y ( f u n c t i o n ( )   {   $ ( ' # v T o p i c t D r o p N a v T e r m ' ) . c l i c k ( f u n c t i o n ( )   {   $ ( ' # v T o p i c D r o p N a v S u b ' ) . t o g g l e C l a s s ( ' h i d e ' ) ;   } ) ;   } ) ;   f u n c t i o n   T o B o o l e a n ( s t r V a l u e )  
 {  
         i f   ( s t r V a l u e   = =   n u l l   | |   s t r V a l u e . t o L o w e r C a s e ( )   = =   " f a l s e "   | |   s t r V a l u e . t o L o w e r C a s e ( )   = =   " 0 " )  
         {   r e t u r n   f a l s e ;   }  
         e l s e  
         {   r e t u r n   t r u e ;   }    
 }  
 f u n c t i o n   q u e r y S t r i n g ( j i )  
 {  
         h u   =   w i n d o w . l o c a t i o n . s e a r c h . s u b s t r i n g ( 1 ) ;   g y   =   h u . s p l i t ( " & " ) ;   f o r   ( i   =   0 ;   i   <   g y . l e n g t h ;   i + + )  
         {  
                 f t   =   g y [ i ] . s p l i t ( " = " ) ;   i f   ( f t [ 0 ]   = =   j i )  
                 {   r e t u r n   f t [ 1 ] ;   }    
         }  
         r e t u r n   ' ' ;  
 }  
 v a r   p r e v S c r o l l T o p   =   0 ;   f u n c t i o n   A d j u s t S c r o l l P o s i t i o n ( )  
 {  
         i f   ( ! b l n E n a b l e S c r o l l i n g   & &   $ ( d o c u m e n t ) . s c r o l l T o p ( )   >   $ ( " # d i v O v e r l a y B o t t o m " ) . p o s i t i o n ( ) . t o p   -   $ ( w i n d o w ) . h e i g h t ( )   /   1 . 2 )  
                 $ ( d o c u m e n t ) . s c r o l l T o p ( p r e v S c r o l l T o p ) ;   e l s e   i f   ( ! b l n E n a b l e S c r o l l i n g )  
                 p r e v S c r o l l T o p   =   $ ( d o c u m e n t ) . s c r o l l T o p ( ) ;   e l s e  
                 p r e v S c r o l l T o p   =   0 ;  
 }  
 f u n c t i o n   e c h e c k ( s t r V a l u e )  
 {  
         v a r   a t   =   " @ " ;   v a r   d o t   =   " . " ;   v a r   s t r   =   s t r V a l u e . t o S t r i n g ( ) ;   v a r   l a t   =   s t r . i n d e x O f ( a t ) ;   v a r   l s t r   =   s t r . l e n g t h ;   v a r   l d o t   =   s t r . l a s t I n d e x O f ( d o t ) ;   i f   ( s t r . i n d e x O f ( a t )   = =   - 1   | |   s t r . i n d e x O f ( a t )   = =   0   | |   s t r . i n d e x O f ( a t )   = =   l s t r   -   1 )   {   r e t u r n   1 ;   }  
         i f   ( s t r . i n d e x O f ( d o t )   = =   - 1   | |   s t r . i n d e x O f ( d o t )   = =   0   | |   s t r . l a s t I n d e x O f ( d o t )   = =   l s t r   -   1 )   {   r e t u r n   1 ;   }  
         i f   ( s t r . i n d e x O f ( a t ,   ( l a t   +   1 ) )   ! =   - 1 )   {   r e t u r n   1 ;   }  
         i f   ( s t r . s u b s t r i n g ( l a t   -   1 ,   l a t )   = =   d o t   | |   s t r . s u b s t r i n g ( l a t   +   1 ,   l a t   +   2 )   = =   d o t )   {   r e t u r n   1 ;   }  
         v a r   s t r s u b   =   s t r . s u b s t r i n g ( l a t   +   2 ) ;   i f   ( s t r s u b . i n d e x O f ( d o t )   = =   - 1 )   {   r e t u r n   1 ;   }  
         i f   ( s t r . i n d e x O f ( "   " )   ! =   - 1 )   {   r e t u r n   1 ;   }  
         v a r   s p e c i a l C h a r e c t e r s   =   " /   =   +   &   %   <   >   ,   \ \   '   #   $   ~   ^   *   (   )   ?   ! " ;   a r r S p e c i a l C h   =   s p e c i a l C h a r e c t e r s . s p l i t ( "   " ) ;   v a r   i   =   0 ;   w h i l e   ( i   <   a r r S p e c i a l C h . l e n g t h )  
         {  
                 i f   ( s t r . i n d e x O f ( a r r S p e c i a l C h [ i ] )   ! =   - 1 )   {   r e t u r n   2 ;   }  
                 i + + ;  
         }  
         r e t u r n   0 ;  
 }  
 f u n c t i o n   I s N u m e r i c ( s T e x t )  
 {  
         v a r   V a l i d C h a r s   =   " 0 1 2 3 4 5 6 7 8 9 - " ;   v a r   I s N u m b e r   =   t r u e ;   v a r   C h a r ;   f o r   ( i   =   0 ;   i   <   s T e x t . l e n g t h   & &   I s N u m b e r   = =   t r u e ;   i + + )  
         {  
                 C h a r   =   s T e x t . c h a r A t ( i ) ;   i f   ( V a l i d C h a r s . i n d e x O f ( C h a r )   = =   - 1 )  
                         I s N u m b e r   =   f a l s e ;  
         }  
         r e t u r n   I s N u m b e r ;  
 }  
 f u n c t i o n   f n c S p e i c a l C h a r a c t e r s ( s V a l u e )  
 {  
         v a r   c C h a r ;   v a r   i s S p e c i a l C h r   =   f a l s e  
         v a r   s S p e c i a l C h a r a c t e r s   =   " ~ ! @ # $ % ^ * ( ) < > , / ? { } [ ] | \ \ + = ' \ " " ;   f o r   ( i   =   0 ;   i   <   s V a l u e . l e n g t h   & &   i s S p e c i a l C h r   = =   f a l s e ;   i + + )  
         {  
                 c C h a r   =   s V a l u e . c h a r A t ( i ) ;   i f   ( s S p e c i a l C h a r a c t e r s . i n d e x O f ( c C h a r )   ! =   - 1 )  
                         i s S p e c i a l C h r   =   t r u e ;  
         }  
         r e t u r n   i s S p e c i a l C h r ;  
 }  
 f u n c t i o n   C l o s e R e g O v e r l a y ( )  
 {  
         i f   ( s t r C l o s e R e g P o p   = =   " 1 " )   {  
                 w i n d o w . l o c a t i o n   =   " h t t p : / / "   +   w i n d o w . l o c a t i o n . h o s t   +   " / D e f a u l t . a s p x " ;  
  
                 w i n d o w . c l o s e ( ) ;  
         }  
         e l s e   i f   ( s t r C l o s e R e g   = =   " 1 " )   {  
                 i f   ( h i s t o r y . l e n g t h   >   1 )   {  
                         h i s t o r y . g o ( n u m G o B a c k I n H i s t o r y ) ;  
                 }  
                 e l s e   {  
                         w i n d o w . l o c a t i o n   =   " h t t p : / / "   +   w i n d o w . l o c a t i o n . h o s t   +   " / D e f a u l t . a s p x " ;  
                         w i n d o w . c l o s e ( ) ;  
                 }  
         }  
         e l s e   i f   ( b l n C l o s e R e g T o H o m e )  
         {  
                 w i n d o w . l o c a t i o n   =   " h t t p : / / "   +   w i n d o w . l o c a t i o n . h o s t   +   " / D e f a u l t . a s p x " ;  
         }  
         b l n E n a b l e S c r o l l i n g   =   t r u e ;  
 }  
 f u n c t i o n   f n c V a l i d a t e P h o n e ( s V a l u e )  
 {  
         v a r   c C h a r ;   v a r   s S p e c i a l C h a r a c t e r s   =   " (   )   -   . " ;   a r r S p e c i a l C h r   =   s S p e c i a l C h a r a c t e r s . s p l i t ( "   " ) ;   f o r   ( i   =   0 ;   i   <   a r r S p e c i a l C h r . l e n g t h ;   i + + )  
                 s V a l u e   =   s V a l u e . t o S t r i n g ( ) . r e p l a c e ( a r r S p e c i a l C h r [ i ] ,   " " ) ;   i f   ( s V a l u e . l e n g t h   >   9   & &   I s N u m e r i c ( s V a l u e ) )  
                 r e t u r n   t r u e ;   e l s e  
                 r e t u r n   f a l s e ;  
 }  
 f u n c t i o n   P a g e P o p u p ( u r l ,   w i d t h ,   h e i g h t ,   p a r t n e r s A d )  
 {  
         v a r   p o p W i d t h   =   0 ;   v a r   p o p H e i g h t   =   0 ;   v a r   p o p w i n i d   =   " p a g e p o p u p _ "   +   p a r s e I n t ( n e w   D a t e ( ) . g e t T i m e ( ) . t o S t r i n g ( ) . s u b s t r i n g ( 0 ,   1 0 ) ) ;   v a r   o p t i o n s   =   " ' d i r e c t o r i e s = 1 , l o c a t i o n = 1 , t o o l b a r = 1 , m e n u b a r = 1 , s t a t u s = 1 , r e s i z a b l e = 1 , s c r o l l b a r s = 1 { 0 } ' " ;   i f   ( t y p e o f   ( w i d t h )   ! =   ' u n d e f i n e d '   & &   w i d t h   ! =   n u l l )  
         {   p o p W i d t h   =   w i d t h ;   }  
         i f   ( t y p e o f   ( h e i g h t )   ! =   ' u n d e f i n e d '   & &   h e i g h t   ! =   n u l l )  
         {   p o p H e i g h t   =   h e i g h t ;   }  
         i f   ( t y p e o f   ( p a r t n e r s A d )   ! =   ' u n d e f i n e d '   & &   p a r t n e r s A d   ! =   n u l l )  
         {  
                 i f   ( p a r t n e r s A d   = =   ' 1 ' )  
                 {   o p t i o n s   =   " ' r e s i z a b l e = 1 , s c r o l l b a r s = 1 { 0 } ' " ;   p o p w i n i d   =   " a d p o p u p " ;   }    
         }  
         i f   ( p o p W i d t h   >   0   & &   p o p H e i g h t   >   0 )  
         {   o p t i o n s   =   o p t i o n s . r e p l a c e ( " { 0 } " ,   " , w i d t h = "   +   p o p W i d t h   +   " , h e i g h t = "   +   p o p H e i g h t ) ;   }  
         e l s e  
         {   o p t i o n s   =   o p t i o n s . r e p l a c e ( " { 0 } " ,   " " ) ;   }  
         v a r   p a g e P o p   =   w i n d o w . o p e n ( u r l ,   p o p w i n i d ,   o p t i o n s ) ;   i f   ( p a g e P o p   ! =   n u l l )  
         {   p a g e P o p . f o c u s ( ) ;   }    
 }  
 f u n c t i o n   o p e n A d d T o S t o c k L i s t P o p u p ( s y m b o l ,   h e i g h t ,   w i d t h ) {  
         v a r   p o p u p P a t h   =   g R o o t P a t h   +   " M y I B D / A d d T o P o r t f o l i o . a s p x ? S y m b o l = "   +   s y m b o l ;   v a r   d H e i g h t   =   ( h e i g h t )   ?   h e i g h t   :   3 0 0 ;   v a r   d W i d t h   =   ( w i d t h )   ?   w i d t h   :   3 0 0 ;  
         i f   ( w i n d o w . s h o w M o d a l D i a l o g )   {   w i n d o w . s h o w M o d a l D i a l o g ( p o p u p P a t h ,   " A d d T o M y S t o c k L i s t " ,   " d i a l o g W i d t h : "   +   d W i d t h . t o S t r i n g ( )   +   " p x ; d i a l o g H e i g h t : "   +   d H e i g h t . t o S t r i n g ( )   +   " p x " ) ;   }  
         e l s e   {   w i n d o w . o p e n ( p o p u p P a t h ,   ' A d d T o M y S t o c k L i s t ' ,   ' h e i g h t = '   +   d H e i g h t . t o S t r i n g ( )   +   ' , w i d t h = '   +   d H e i g h t . t o S t r i n g ( )   +   ' , t o o l b a r = n o , d i r e c t o r i e s = n o , s t a t u s = n o , c o n t i n u e d   f r o m   p r e v i o u s   l i n e m e n u b a r = n o , s c r o l l b a r s = n o , r e s i z a b l e = n o   , m o d a l = y e s ' ) ; }  
 }  
 f u n c t i o n   p o p u p P i c t u r e ( p s t r P a t h ,   p s t r C a p t i o n )  
 {   v a r   p o p u p U r l   =   g R o o t P a t h   +   ' N e w s A n d A n a l y s i s / P h o t o P o p u p . a s p x ? p a t h = '   +   p s t r P a t h   +   ' & c a p t i o n = '   +   e n c o d e U R I C o m p o n e n t ( p s t r C a p t i o n ) ;   v a r   o b j P o p u p   =   w i n d o w . o p e n ( p o p u p U r l ,   ' f u l l s i z e p h o t o ' ) ;   o b j P o p u p . f o c u s ( ) ;   }  
 f u n c t i o n   n a v i g a t e T o P a g e ( p s t r P a t h ,   s k i p R o o t P a t h )  
 {  
         v a r   b S k i p R o o t P a t h   =   f a l s e ;   i f   ( t y p e o f   ( s k i p R o o t P a t h )   ! =   ' u n d e f i n e d '   & &   s k i p R o o t P a t h   ! =   n u l l )  
         {  
                 i f   ( s k i p R o o t P a t h   = =   1 )  
                         b S k i p R o o t P a t h   =   t r u e ;  
         }  
         i f   ( p s t r P a t h . m a t c h ( " ^ "   +   " ~ " )   = =   " ~ " )  
         {   p s t r P a t h   =   p s t r P a t h . s u b s t r i n g ( 1 ,   p s t r P a t h . l e n g t h ) ;   }  
         i f   ( p s t r P a t h . m a t c h ( " ^ "   +   " / " )   = =   " / " )  
         {   p s t r P a t h   =   p s t r P a t h . s u b s t r i n g ( 1 ,   p s t r P a t h . l e n g t h ) ;   }  
         i f   ( b S k i p R o o t P a t h )  
         {   w i n d o w . l o c a t i o n   =   p s t r P a t h ;   }  
         e l s e  
         {   w i n d o w . l o c a t i o n   =   g R o o t P a t h   +   p s t r P a t h ;   }    
 }  
 f u n c t i o n   g e t O f f s e t X ( o N o d e )  
 {  
         v a r   i O f f s e t L e f t   =   0 ;   w h i l e   ( o N o d e )  
         {   i O f f s e t L e f t   + =   o N o d e . o f f s e t L e f t ;   o N o d e   =   o N o d e . o f f s e t P a r e n t ;   }  
         r e t u r n   i O f f s e t L e f t ;  
 }  
 f u n c t i o n   g e t O f f s e t Y ( o N o d e )  
 {  
         v a r   i O f f s e t T o p   =   0 ;   w h i l e   ( o N o d e )  
         {   i O f f s e t T o p   + =   o N o d e . o f f s e t T o p ;   o N o d e   =   o N o d e . o f f s e t P a r e n t ;   }  
         r e t u r n   i O f f s e t T o p ;  
 }  
 f u n c t i o n   g e t P o s i t i o n ( o b j E l e m e n t )  
 {  
         v a r   p o s i t i o n   =   n e w   O b j e c t ( ) ;   p o s i t i o n . x   =   0 ;   p o s i t i o n . y   =   0 ;   w h i l e   ( o b j E l e m e n t . o f f s e t P a r e n t )  
         {   p o s i t i o n . x   + =   o b j E l e m e n t . o f f s e t L e f t   -   o b j E l e m e n t . s c r o l l L e f t ;   p o s i t i o n . y   + =   o b j E l e m e n t . o f f s e t T o p   -   o b j E l e m e n t . s c r o l l T o p ;   o b j E l e m e n t   =   o b j E l e m e n t . o f f s e t P a r e n t ;   }  
         r e t u r n   p o s i t i o n ;  
 }  
 v a r   s T a k e T o P a t h   =   " " ;   v a r   b l n E n a b l e S c r o l l i n g   =   t r u e ;   v a r   s t r C l o s e R e g   =   " " ;   v a r   n u m G o B a c k I n H i s t o r y   =   - 1 ;   v a r   s t r C l o s e R e g P o p   =   " " ;   v a r   b l n C l o s e R e g T o H o m e   =   f a l s e ;   v a r   _ n a v T o p T a b I d P r e f i x   =   " t o p N a v " ;   v a r   _ n a v T o p T a b L i n k I d P r e f i x   =   " s e c N a v " ;   v a r   _ n a v T o p A c t i v e T a b   =   0 ;   v a r   _ n a v T o p C u r r e n t T a b   =   0 ;   v a r   _ n a v T i m e r I d   =   n u l l ;   v a r   _ n a v I n i t i a l i z e d   =   f a l s e ;   v a r   _ n a v S h o w L i n k   =   f a l s e ;   f u n c t i o n   j s f T o p N a v A c t i v a t e ( i n d e x )  
 {   _ n a v T o p A c t i v e T a b   =   _ n a v T o p C u r r e n t T a b   =   i n d e x ;   j s f S e t T a b C s s C l a s s ( _ n a v T o p A c t i v e T a b ,   " s e l e c t e d " ) ;   j s f S h o w T a b L i n k s ( _ n a v T o p A c t i v e T a b ,   t r u e ) ;   _ n a v I n i t i a l i z e d   =   t r u e ;   }  
 f u n c t i o n   j s f T o p N a v E n t e r ( o b j )  
 {  
         i f   ( _ n a v I n i t i a l i z e d )  
         {  
                 _ n a v S h o w L i n k   =   f a l s e ;   j s f K i l l T i m e r ( ) ;   j s f S e t T a b C s s C l a s s ( _ n a v T o p C u r r e n t T a b ,   " " ) ;   j s f S e t T a b C s s C l a s s ( _ n a v T o p A c t i v e T a b ,   " s e l e c t e d " ) ;   j s f S h o w T a b L i n k s ( _ n a v T o p C u r r e n t T a b ,   f a l s e ) ;   j s f S h o w T a b L i n k s ( _ n a v T o p A c t i v e T a b ,   f a l s e ) ;   o b j . c l a s s N a m e   =   " s e l e c t e d " ;   _ n a v T o p C u r r e n t T a b   =   o b j . i d . s u b s t r ( 6 ,   o b j . i d . l e n g t h   -   1 ) ;   i f   ( _ n a v T o p C u r r e n t T a b   ! =   _ n a v T o p A c t i v e T a b )  
                         j s f S e t T a b C s s C l a s s ( _ n a v T o p C u r r e n t T a b ,   " l i g h t " ) ;   j s f S h o w T a b L i n k s ( _ n a v T o p C u r r e n t T a b ,   t r u e ) ;  
         }    
 }  
 f u n c t i o n   j s f T o p N a v L e a v e ( o b j )  
 {  
         i f   ( _ n a v I n i t i a l i z e d )  
         {   j s f K i l l T i m e r ( ) ;   _ n a v S h o w L i n k   =   t r u e ;   _ n a v T i m e r I d   =   s e t T i m e o u t ( " j s f S e c N a v S h o w ( ) " ,   2 0 0 0 ) ;   }    
 }  
 f u n c t i o n   j s f T o p N a v S e l e c t ( o b j )  
 {  
         i f   ( _ n a v I n i t i a l i z e d )  
         {   j s f K i l l T i m e r ( ) ;   _ n a v S h o w L i n k   =   f a l s e ;   }    
 }  
 f u n c t i o n   j s f S e c N a v L e a v e ( o b j )  
 {   j s f K i l l T i m e r ( ) ;   _ n a v S h o w L i n k   =   t r u e ;   _ n a v T i m e r I d   =   s e t T i m e o u t ( " j s f S e c N a v S h o w ( ) " ,   2 0 0 0 ) ;   }  
 f u n c t i o n   j s f S e c N a v S h o w ( )  
 {  
         i f   ( _ n a v I n i t i a l i z e d   & &   _ n a v S h o w L i n k )  
         {   j s f S h o w T a b L i n k s ( _ n a v T o p C u r r e n t T a b ,   f a l s e ) ;   j s f S e t T a b C s s C l a s s ( _ n a v T o p C u r r e n t T a b ,   " " ) ;   j s f S h o w T a b L i n k s ( _ n a v T o p A c t i v e T a b ,   t r u e ) ;   j s f S e t T a b C s s C l a s s ( _ n a v T o p A c t i v e T a b ,   " s e l e c t e d " ) ;   }    
 }  
 f u n c t i o n   j s f S e t T a b C s s C l a s s ( i n d e x ,   c s s C l a s s )  
 {  
         v a r   t a b   =   d o c u m e n t . g e t E l e m e n t B y I d ( _ n a v T o p T a b I d P r e f i x   +   i n d e x ) ;   i f   ( t a b   ! =   n u l l )  
         {   t a b . c l a s s N a m e   =   c s s C l a s s ;   }    
 }  
 f u n c t i o n   j s f S h o w T a b L i n k s ( i n d e x ,   s h o w )  
 {  
         v a r   t a b G r o u p   =   d o c u m e n t . g e t E l e m e n t B y I d ( _ n a v T o p T a b L i n k I d P r e f i x   +   i n d e x ) ;   i f   ( t a b G r o u p   ! =   n u l l )  
         {   t a b G r o u p . s t y l e . d i s p l a y   =   s h o w   ?   " "   :   " n o n e " ;   }    
 }  
 f u n c t i o n   j s f K i l l T i m e r ( )  
 {  
         i f   ( _ n a v T i m e r I d )  
         {   c l e a r T i m e o u t ( _ n a v T i m e r I d ) ;   _ n a v T i m e r I d   =   n u l l ;   }    
 }  
 v a r   s _ a c c o u n t  
 i f   ( d o c u m e n t . U R L . i n d e x O f ( " d e v " )   >   0 )  
         s _ a c c o u n t   =   " i b d i b d i n v e s t o r s c o m b e t a d e v "  
 e l s e  
         s _ a c c o u n t   =   " i b d i b d n e w i n v e s t o r s c o m s t a g i n g "  
 v a r   s   =   s _ g i ( s _ a c c o u n t )  
 s . c h a r S e t   =   " I S O - 8 8 5 9 - 1 "  
 s . t r a c k D o w n l o a d L i n k s   =   t r u e  
 s . t r a c k E x t e r n a l L i n k s   =   t r u e  
 s . t r a c k I n l i n e S t a t s   =   t r u e  
 s . l i n k D o w n l o a d F i l e T y p e s   =   " e x e , z i p , w a v , m p 3 , m o v , m p g , a v i , w m v , d o c , p d f , x l s "  
 s . l i n k I n t e r n a l F i l t e r s   =   " j a v a s c r i p t : , i n v e s t o r s . c o m , i n v e s t o r s b u s i n e s s d a i l y . c o m , a s k i b d . c o m , i b d s u b s c r i b e r . c o m , i b d e d i t o r i a l s . c o m , i n v e s t d a i l y . c u s t h e l p . c o m , i b d r e t a i l . c o m "  
 s . l i n k L e a v e Q u e r y S t r i n g   =   f a l s e  
 s . l i n k T r a c k V a r s   =   " N o n e "  
 s . l i n k T r a c k E v e n t s   =   " N o n e "  
 s . s i t e I D   =   " "  
 s . d e f a u l t P a g e   =   " d e f a u l t . a s p "  
 s . q u e r y V a r s L i s t   =   " "  
 s . p a t h E x c l u d e D e l i m   =   " ; "  
 s . p a t h C o n c a t D e l i m   =   " / "  
 s . p a t h E x c l u d e L i s t   =   " "  
 s . u s e P l u g i n s   =   t r u e  
 f u n c t i o n   s _ d o P l u g i n s ( s )  
 {  
         i f   ( ! s . c a m p a i g n )  
                 s . c a m p a i g n   =   s . g e t Q u e r y P a r a m ( ' s r c ' )  
         s . c a m p a i g n   =   s . g e t V a l O n c e ( s . c a m p a i g n ,   ' s _ c a m p a i g n ' ,   0 )  
         s . t e m p _ p a g e N a m e   =   s . g e t P a g e N a m e ( ) ;   i f   ( s . h i e r 1   & &   s . h i e r 1 . i n d e x O f ( ' + ' )   ! =   - 1 )  
         {   s . h i e r 1   =   s . r e p l ( s . h i e r 1 ,   '   +   ' ,   ' , ' ) ;   }  
         i f   ( ! s . c h a n n e l )  
         {   s . c h a n n e l   =   s . c h a n n e l E x t r a c t ( " / " ,   1 ,   s . t e m p _ p a g e N a m e ) ;   s . c h a n n e l   =   s . r e p l ( s . c h a n n e l ,   ' / ' ,   ' ' ) ;   }  
         i f   ( ! s . c h a n n e l )   s . c h a n n e l   =   " R o o t   D i r e c t o r y " ;   i f   ( ! s . p r o p 3 )   s . p r o p 3   =   s . c h a n n e l E x t r a c t ( " / " ,   2 ,   s . t e m p _ p a g e N a m e ) ;   i f   ( ! s . p r o p 4 )   s . p r o p 4   =   s . c h a n n e l E x t r a c t ( " / " ,   3 ,   s . t e m p _ p a g e N a m e ) ;   i f   ( ! s . p r o p 5 )   s . p r o p 5   =   s . c h a n n e l E x t r a c t ( " / " ,   4 ,   s . t e m p _ p a g e N a m e ) ;   i f   ( ! s . h i e r 1 )  
         {   s . h i e r 1   =   s . c h a n n e l E x t r a c t ( " / " ,   1 0 ,   s . t e m p _ p a g e N a m e ,   1 ) ;   s . h i e r 1   =   s . r e p l ( s . h i e r 1 ,   ' / ' ,   ' , ' )   }  
         i f   ( ! s . p a g e T y p e   & &   ! s . p a g e N a m e   & &   s . t e m p _ p a g e N a m e )   s . p a g e N a m e   =   s . t e m p _ p a g e N a m e ;   i f   ( ! s . p a g e T y p e   & &   s . p a g e N a m e )  
         {   s . p a g e N a m e   =   u n e s c a p e ( s . p a g e N a m e ) ;   s . p a g e N a m e   =   u n e s c a p e ( s . p a g e N a m e ) ;   }  
         i f   ( s . p a g e N a m e )   s . e V a r 3   =   s . p a g e N a m e ;   i f   ( s . c h a n n e l )   s . e V a r 4   =   s . c h a n n e l ;   i f   ( s . p r o p 9 )   s . e V a r 9   =   s . p r o p 9 ;   i f   ( s . p r o p 1 )  
         {  
                 s . p r o p 1   =   s . p r o p 1 . t o L o w e r C a s e ( ) ;   i f   ( s . p r o p 2   = =   " 0 "   | |   s . p r o p 2   = =   " z e r o " )   s . p r o p 1   =   s . p r o p 2   +   " : "   +   s . p r o p 1 ;   s . e V a r 1   =   s . p r o p 1  
                 v a r   t _ s e a r c h   =   s . g e t V a l O n c e ( s . e V a r 1 ,   ' e v 1 ' ,   0 )  
                 i f   ( t _ s e a r c h )  
                         s . e v e n t s   =   s . a p l ( s . e v e n t s ,   ' e v e n t 1 ' ,   ' , ' ,   1 )  
         }  
         s . e v e n t s   =   s . a p l ( s . e v e n t s ,   ' e v e n t 2 ' ,   ' , ' ,   1 )  
         v a r   c D a t e   =   n e w   D a t e ( ) ;  
         s . p r o p 6   =   s . g e t T i m e P a r t i n g ( ' h ' ,   ' - 5 ' ,   c D a t e . g e t F u l l Y e a r ( ) . t o S t r i n g ( ) ) ;   s . p r o p 7   =   s . g e t T i m e P a r t i n g ( ' d ' ,   ' - 5 ' ,   c D a t e . g e t F u l l Y e a r ( ) . t o S t r i n g ( ) ) ;   s . p r o p 8   =   s . g e t T i m e P a r t i n g ( ' w ' ,   ' - 5 ' ,   c D a t e . g e t F u l l Y e a r ( ) . t o S t r i n g ( ) ) ;   i f   ( s . p r o p 6 )   s . e V a r 6   =   s . p r o p 6 ;   i f   ( s . p r o p 7 )   s . e V a r 7   =   s . p r o p 7 ;   i f   ( s . p r o p 8 )   s . e V a r 8   =   s . p r o p 8 ;   s . e V a r 1 3   =   s . g e t V i s i t N u m ( ) ;   s . e V a r 1 4   =   s . g e t N e w R e p e a t ( ) ;   i f   ( s . c a m p a i g n )  
         {  
                 s . t e m p _ e V a r 1 0   =   s . g e t A n d P e r s i s t V a l u e ( ' ' ,   ' s _ e v 1 0 ' ,   3 6 5 ) ;   i f   ( s . t e m p _ e V a r 1 0 )   s . e V a r 1 0   =   s . t e m p _ e V a r 1 0   +   " : "   +   s . c a m p a i g n  
                 e l s e   s . e V a r 1 0   =   s . c a m p a i g n  
                 s . e V a r 1 0   =   s . g e t A n d P e r s i s t V a l u e ( s . e V a r 1 0 ,   ' s _ e v 1 0 ' ,   3 6 5 ) ;  
         }    
 }  
 s . d o P l u g i n s   =   s _ d o P l u g i n s  
 s . g e t P a g e N a m e   =   n e w   F u n c t i o n ( " u " ,   " "  
 +   " v a r   s = t h i s , v = u ? u : ' ' + s . w d . l o c a t i o n , x = v . i n d e x O f ( ' : ' ) , y = v . i n d e x O f ( ' / ' , "  
 +   " x + 4 ) , z = v . i n d e x O f ( ' ? ' ) , c = s . p a t h C o n c a t D e l i m , e = s . p a t h E x c l u d e D e l i m , g = s . "  
 +   " q u e r y V a r s L i s t , d = s . s i t e I D , n = d ? d : ' ' , q = z < 0 ? ' ' : v . s u b s t r i n g ( z + 1 ) , p = v . s u b "  
 +   " s t r i n g ( y + 1 , q ? z : v . l e n g t h ) ; z = p . i n d e x O f ( ' # ' ) ; p = z < 0 ? p : s . f l ( p , z ) ; x = e ? p . i "  
 +   " n d e x O f ( e ) : - 1 ; p = x < 0 ? p : s . f l ( p , x ) ; p + = ! p | | p . c h a r A t ( p . l e n g t h - 1 ) = = ' / ' ? s . d "  
 +   " e f a u l t P a g e : ' ' ; y = c ? c : ' / ' ; w h i l e ( p ) { x = p . i n d e x O f ( ' / ' ) ; x = x < 0 ? p . l e n g t h : x ; "  
 +   " z = s . f l ( p , x ) ; i f ( ! s . p t ( s . p a t h E x c l u d e L i s t , ' , ' , ' p _ c ' , z ) ) n + = n ? y + z : z ; p = p . "  
 +   " s u b s t r i n g ( x + 1 ) } y = c ? c : ' ? ' ; w h i l e ( g ) { x = g . i n d e x O f ( ' , ' ) ; x = x < 0 ? g . l e n g t h : x "  
 +   " ; z = s . f l ( g , x ) ; z = s . p t ( q , ' & ' , ' p _ c ' , z ) ; i f ( z ) { n + = n ? y + z : z ; y = c ? c : ' & ' } g = g . s "  
 +   " u b s t r i n g ( x + 1 ) } r e t u r n   n " ) ;   s . c h a n n e l E x t r a c t   =   n e w   F u n c t i o n ( " d " ,   " p " ,   " u " ,   " p v " ,   " "  
 +   " v a r   s = t h i s , v = ' ' ; u = u ? u : ( s . p a g e U R L ? s . p a g e U R L : s . w d . l o c a t i o n ) ; i f ( u = = ' f ' "  
 +   " ) u = s . g t f s ( ) . l o c a t i o n ; u = u + ' ' ; l i = u . l a s t I n d e x O f ( d ) ; i f ( l i > 0 ) { u = u . s u b s t r "  
 +   " i n g ( 0 , l i ) ; v a r   i , n , a = s . s p l i t ( u , d ) , a l = a . l e n g t h ; i f ( a l < p ) { i f ( p v = = 1 )   p = a "  
 +   " l ; e l s e   r e t u r n   ' ' ; } f o r ( i = 0 ; i < p ; i + + ) { n = a [ i ] ; v = v + n + d ; } r e t u r n   v } r e t u r n   "  
 +   " ' ' ; " ) ;   s . r e p l   =   n e w   F u n c t i o n ( " x " ,   " o " ,   " n " ,   " "  
 +   " v a r   i = x . i n d e x O f ( o ) , l = n . l e n g t h ; w h i l e ( x & & i > = 0 ) { x = x . s u b s t r i n g ( 0 , i ) + n + x . "  
 +   " s u b s t r i n g ( i + o . l e n g t h ) ; i = x . i n d e x O f ( o , i + l ) } r e t u r n   x " ) ;   s . g e t Q u e r y P a r a m   =   n e w   F u n c t i o n ( " p " ,   " d " ,   " u " ,   " "  
 +   " v a r   s = t h i s , v = ' ' , i , t ; d = d ? d : ' ' ; u = u ? u : ( s . p a g e U R L ? s . p a g e U R L : s . w d . l o c a t i "  
 +   " o n ) ; i f ( u = = ' f ' ) u = s . g t f s ( ) . l o c a t i o n ; w h i l e ( p ) { i = p . i n d e x O f ( ' , ' ) ; i = i < 0 ? p "  
 +   " . l e n g t h : i ; t = s . p _ g p v ( p . s u b s t r i n g ( 0 , i ) , u + ' ' ) ; i f ( t ) v + = v ? d + t : t ; p = p . s u b s "  
 +   " t r i n g ( i = = p . l e n g t h ? i : i + 1 ) } r e t u r n   v " ) ;   s . p _ g p v   =   n e w   F u n c t i o n ( " k " ,   " u " ,   " "  
 +   " v a r   s = t h i s , v = ' ' , i = u . i n d e x O f ( ' ? ' ) , q ; i f ( k & & i > - 1 ) { q = u . s u b s t r i n g ( i + 1 ) ; v "  
 +   " = s . p t ( q , ' & ' , ' p _ g v f ' , k ) } r e t u r n   v " ) ;   s . p _ g v f   =   n e w   F u n c t i o n ( " t " ,   " k " ,   " "  
 +   " i f ( t ) { v a r   s = t h i s , i = t . i n d e x O f ( ' = ' ) , p = i < 0 ? t : t . s u b s t r i n g ( 0 , i ) , v = i < 0 ? ' T "  
 +   " r u e ' : t . s u b s t r i n g ( i + 1 ) ; i f ( p . t o L o w e r C a s e ( ) = = k . t o L o w e r C a s e ( ) ) r e t u r n   s . "  
 +   " e p a ( v ) } r e t u r n   ' ' " ) ;   s . a p l   =   n e w   F u n c t i o n ( " L " ,   " v " ,   " d " ,   " u " ,   " "  
 +   " v a r   s = t h i s , m = 0 ; i f ( ! L ) L = ' ' ; i f ( u ) { v a r   i , n , a = s . s p l i t ( L , d ) ; f o r ( i = 0 ; i < a . "  
 +   " l e n g t h ; i + + ) { n = a [ i ] ; m = m | | ( u = = 1 ? ( n = = v ) : ( n . t o L o w e r C a s e ( ) = = v . t o L o w e r C a s "  
 +   " e ( ) ) ) ; } } i f ( ! m ) L = L ? L + d + v : v ; r e t u r n   L " ) ;   s . s p l i t   =   n e w   F u n c t i o n ( " l " ,   " d " ,   " "  
 +   " v a r   i , x = 0 , a = n e w   A r r a y ; w h i l e ( l ) { i = l . i n d e x O f ( d ) ; i = i > - 1 ? i : l . l e n g t h ; a [ x "  
 +   " + + ] = l . s u b s t r i n g ( 0 , i ) ; l = l . s u b s t r i n g ( i + d . l e n g t h ) ; } r e t u r n   a " ) ;   s . g e t V a l O n c e   =   n e w   F u n c t i o n ( " v " ,   " c " ,   " e " ,   " "  
 +   " v a r   s = t h i s , k = s . c _ r ( c ) , a = n e w   D a t e ; e = e ? e : 0 ; i f ( v ) { a . s e t T i m e ( a . g e t T i m e ( "  
 +   " ) + e * 8 6 4 0 0 0 0 0 ) ; s . c _ w ( c , v , e ? a : 0 ) ; } r e t u r n   v = = k ? ' ' : v " ) ;   s . g e t T i m e P a r t i n g   =   n e w   F u n c t i o n ( " t " ,   " z " ,   " y " ,   " "  
 +   " d c = n e w   D a t e ( ' 1 / 1 / 2 0 0 0 ' ) ; f = 1 5 ; n e = 8 ; i f ( d c . g e t D a y ( ) ! = 6 | | "  
 +   " d c . g e t M o n t h ( ) ! = 0 ) { r e t u r n ' D a t a   N o t   A v a i l a b l e ' } e l s e { ; z = p a r s e I n t ( z ) ; "  
 +   " i f ( y = = ' 2 0 0 9 ' ) { f = 8 ; n e = 1 } ; g m a r = n e w   D a t e ( ' 3 / 1 / ' + y ) ; d s t s = f - g m a r . g e t D a y ( "  
 +   " ) ; g n o v = n e w   D a t e ( ' 1 1 / 1 / ' + y ) ; d s t e = n e - g n o v . g e t D a y ( ) ; s p r = n e w   D a t e ( ' 3 / ' "  
 +   " + d s t s + ' / ' + y ) ; f l = n e w   D a t e ( ' 1 1 / ' + d s t e + ' / ' + y ) ; c d = n e w   D a t e ( ) ; "  
 +   " i f ( c d > s p r & & c d < f l ) { z = z + 1 } e l s e { z = z } ; u t c = c d . g e t T i m e ( ) + ( c d . g e t T i m e z o n e O "  
 +   " f f s e t ( ) * 6 0 0 0 0 ) ; t z = n e w   D a t e ( u t c   +   ( 3 6 0 0 0 0 0 * z ) ) ; t h i s y = t z . g e t F u l l Y e a r ( "  
 +   " ) ; v a r   d a y s = [ ' S u n d a y ' , ' M o n d a y ' , ' T u e s d a y ' , ' W e d n e s d a y ' , ' T h u r s d a y ' , ' F r "  
 +   " i d a y ' , ' S a t u r d a y ' ] ; i f ( t h i s y ! = y ) { r e t u r n ' D a t a   N o t   A v a i l a b l e ' } e l s e { ; t h i "  
 +   " s h = t z . g e t H o u r s ( ) ; t h i s m i n = t z . g e t M i n u t e s ( ) ; t h i s d = t z . g e t D a y ( ) ; v a r   d o w = "  
 +   " d a y s [ t h i s d ] ; v a r   a p = ' A M ' ; v a r   d t = ' W e e k d a y ' ; v a r   m i n t = ' 0 0 ' ; i f ( t h i s m i n > 3 "  
 +   " 0 ) { m i n t = ' 3 0 ' } i f ( t h i s h > = 1 2 ) { a p = ' P M ' ; t h i s h = t h i s h - 1 2 } ; i f   ( t h i s h = = 0 ) { t h "  
 +   " i s h = 1 2 } ; i f ( t h i s d = = 6 | | t h i s d = = 0 ) { d t = ' W e e k e n d ' } ; v a r   t i m e s t r i n g = t h i s h + ' "  
 +   " : ' + m i n t + a p ; v a r   d a y s t r i n g = d o w ; v a r   e n d s t r i n g = d t ; i f ( t = = ' h ' ) { r e t u r n   t i m "  
 +   " e s t r i n g } i f ( t = = ' d ' ) { r e t u r n   d a y s t r i n g } ; i f ( t = = ' w ' ) { r e t u r n   e n "  
 +   " d s t r i n g } } } ; " ) ;   s . g e t A n d P e r s i s t V a l u e   =   n e w   F u n c t i o n ( " v " ,   " c " ,   " e " ,   " "  
 +   " v a r   s = t h i s , a = n e w   D a t e ; e = e ? e : 0 ; a . s e t T i m e ( a . g e t T i m e ( ) + e * 8 6 4 0 0 0 0 0 ) ; i f ( "  
 +   " v ) s . c _ w ( c , v , e ? a : 0 ) ; r e t u r n   s . c _ r ( c ) ; " ) ;   s . g e t V i s i t N u m   =   n e w   F u n c t i o n ( " "  
 +   " v a r   s = t h i s , e = n e w   D a t e ( ) , c v a l , c v i s i t , c t = e . g e t T i m e ( ) , c = ' s _ v n u m ' , c 2 = ' s "  
 +   " _ i n v i s i t ' ; e . s e t T i m e ( c t + 3 0 * 2 4 * 6 0 * 6 0 * 1 0 0 0 ) ; c v a l = s . c _ r ( c ) ; i f ( c v a l ) { v a r "  
 +   "   i = c v a l . i n d e x O f ( ' & v n = ' ) , s t r = c v a l . s u b s t r i n g ( i + 4 , c v a l . l e n g t h ) , k ; } c v i s "  
 +   " i t = s . c _ r ( c 2 ) ; i f ( c v i s i t ) { i f ( s t r ) { e . s e t T i m e ( c t + 3 0 * 6 0 * 1 0 0 0 ) ; s . c _ w ( c 2 , ' "  
 +   " t r u e ' , e ) ; r e t u r n   s t r ; } e l s e   r e t u r n   ' u n k n o w n   v i s i t   n u m b e r ' ; } e l s e { i f ( s t "  
 +   " r ) { s t r + + ; k = c v a l . s u b s t r i n g ( 0 , i ) ; e . s e t T i m e ( k ) ; s . c _ w ( c , k + ' & v n = ' + s t r , e ) "  
 +   " ; e . s e t T i m e ( c t + 3 0 * 6 0 * 1 0 0 0 ) ; s . c _ w ( c 2 , ' t r u e ' , e ) ; r e t u r n   s t r ; } e l s e { s . c _ w "  
 +   " ( c , c t + 3 0 * 2 4 * 6 0 * 6 0 * 1 0 0 0 + ' & v n = 1 ' , e ) ; e . s e t T i m e ( c t + 3 0 * 6 0 * 1 0 0 0 ) ; s . c _ w ( c 2 "  
 +   " , ' t r u e ' , e ) ; r e t u r n   1 ; } } " ) ;   s . g e t N e w R e p e a t   =   n e w   F u n c t i o n ( " "  
 +   " v a r   s = t h i s , e = n e w   D a t e ( ) , c v a l , c t = e . g e t T i m e ( ) , y = e . g e t Y e a r ( ) ; e . s e t T i m e "  
 +   " ( c t + 3 0 * 2 4 * 6 0 * 6 0 * 1 0 0 0 ) ; c v a l = s . c _ r ( ' s _ n r ' ) ; i f ( c v a l . l e n g t h = = 0 ) { s . c _ w ( "  
 +   " ' s _ n r ' , c t , e ) ; r e t u r n   ' N e w ' ; } i f ( c v a l . l e n g t h ! = 0 & & c t - c v a l < 3 0 * 6 0 * 1 0 0 0 ) { s "  
 +   " . c _ w ( ' s _ n r ' , c t , e ) ; r e t u r n   ' N e w ' ; } i f ( c v a l < 1 1 2 3 9 1 6 4 0 0 0 0 1 ) { e . s e t T i m e ( c v "  
 +   " a l + 3 0 * 2 4 * 6 0 * 6 0 * 1 0 0 0 ) ; s . c _ w ( ' s _ n r ' , c t , e ) ; r e t u r n   ' R e p e a t ' ; } e l s e   r e t u r "  
 +   " n   ' R e p e a t ' ; " ) ;   s . v i s i t o r N a m e s p a c e   =   " i n v e s t o r s b u s i n e s s d a i l y "  
 s . t r a c k i n g S e r v e r   =   " s t a t s . i n v e s t o r s . c o m "  
 s . t r a c k i n g S e r v e r S e c u r e   =   " s s t a t s . i n v e s t o r s . c o m "  
 s . d c   =   1 1 2  
 v a r   s _ o b j e c t I D ;   f u n c t i o n   s _ c 2 f e ( f )  
 {  
         v a r   x   =   ' ' ,   s   =   0 ,   e ,   a ,   b ,   c ;   w h i l e   ( 1 )  
         {  
                 e   =   f . i n d e x O f ( ' " ' ,   s ) ;   b   =   f . i n d e x O f ( ' \ \ ' ,   s ) ;   c   =   f . i n d e x O f ( " \ n " ,   s ) ;   i f   ( e   <   0   | |   ( b   > =   0   & &   b   <   e ) )   e   =   b ;   i f   ( e   <   0   | |   ( c   > =   0   & &   c   <   e ) )   e   =   c ;   i f   ( e   > =   0 )  
                 {   x   + =   ( e   >   s   ?   f . s u b s t r i n g ( s ,   e )   :   ' ' )   +   ( e   = =   c   ?   ' \ \ n '   :   ' \ \ '   +   f . s u b s t r i n g ( e ,   e   +   1 ) ) ;   s   =   e   +   1   }   e l s e   r e t u r n   x  
 +   f . s u b s t r i n g ( s )  
         }   r e t u r n   f  
 }   f u n c t i o n   s _ c 2 f a ( f )  
 {  
         v a r   s   =   f . i n d e x O f ( ' ( ' )   +   1 ,   e   =   f . i n d e x O f ( ' ) ' ) ,   a   =   ' ' ,   c ;   w h i l e   ( s   > =   0   & &   s   <   e )  
         {  
                 c   =   f . s u b s t r i n g ( s ,   s   +   1 ) ;   i f   ( c   = =   ' , ' )  
                         a   + =   ' " , " ' ;   e l s e   i f   ( ( " \ n \ r \ t   " ) . i n d e x O f ( c )   <   0 )   a   + =   c ;   s + +  
         }   r e t u r n   a   ?   ' " '   +   a   +   ' " '   :   a  
 }   f u n c t i o n   s _ c 2 f ( c c )  
 {  
         c c   =   ' '   +   c c ;   v a r   f c   =   ' v a r   f = n e w   F u n c t i o n ( ' ,   s   =   c c . i n d e x O f ( ' ; ' ,   c c . i n d e x O f ( ' { ' ) ) ,   e   =   c c . l a s t I n d e x O f ( ' } ' ) ,   o ,   a ,   d ,   q ,   c ,   f ,   h ,   x  
         f c   + =   s _ c 2 f a ( c c )   +   ' , " v a r   s = n e w   O b j e c t ; ' ;   c   =   c c . s u b s t r i n g ( s   +   1 ,   e ) ;   s   =   c . i n d e x O f ( ' f u n c t i o n ' ) ;   w h i l e   ( s   > =   0 )  
         {  
                 d   =   1 ;   q   =   ' ' ;   x   =   0 ;   f   =   c . s u b s t r i n g ( s ) ;   a   =   s _ c 2 f a ( f ) ;   e   =   o   =   c . i n d e x O f ( ' { ' ,   s ) ;   e + + ;   w h i l e   ( d   >   0 )  
                 {  
                         h   =   c . s u b s t r i n g ( e ,   e   +   1 ) ;   i f   ( q )   {   i f   ( h   = =   q   & &   ! x )   q   =   ' ' ;   i f   ( h   = =   ' \ \ ' )   x   =   x   ?   0   :   1 ;   e l s e   x   =   0   }   e l s e  
                         {   i f   ( h   = =   ' " '   | |   h   = =   " ' " )   q   =   h ;   i f   ( h   = =   ' { ' )   d + + ;   i f   ( h   = =   ' } ' )   d - -   }   i f   ( d   >   0 )   e + +  
                 }   c   =   c . s u b s t r i n g ( 0 ,   s )  
 +   ' n e w   F u n c t i o n ( '   +   ( a   ?   a   +   ' , '   :   ' ' )   +   ' " '   +   s _ c 2 f e ( c . s u b s t r i n g ( o   +   1 ,   e ) )   +   ' " ) '  
 +   c . s u b s t r i n g ( e   +   1 ) ;   s   =   c . i n d e x O f ( ' f u n c t i o n ' )  
         }   f c   + =   s _ c 2 f e ( c )   +   ' ; r e t u r n   s " ) ; '  
         e v a l ( f c ) ;   r e t u r n   f  
 }   f u n c t i o n   s _ g i ( u n ,   p g ,   s s )  
 {  
         v a r   c   =   " f u n c t i o n   s _ c ( u n , p g , s "  
 +   " s ) { v a r   s = t h i s ; s . w d = w i n d o w ; i f ( ! s . w d . s _ c _ i n ) { s . w d . s _ c _ i l = n e w   A r r a y ; s . "  
 +   " w d . s _ c _ i n = 0 ; } s . _ i l = s . w d . s _ c _ i l ; s . _ i n = s . w d . s _ c _ i n ; s . _ i l [ s . _ i n ] = s ; s . w "  
 +   " d . s _ c _ i n + + ; s . m = f u n c t i o n ( m ) { r e t u r n   ( ' ' + m ) . i n d e x O f ( ' { ' ) < 0 } ; s . f l = f u n c t "  
 +   " i o n ( x , l ) { r e t u r n   x ? ( ' ' + x ) . s u b s t r i n g ( 0 , l ) : x } ; s . c o = f u n c t i o n ( o ) { i f ( ! o ) r "  
 +   " e t u r n   o ; v a r   n = n e w   O b j e c t , x ; f o r ( x   i n   o ) i f ( x . i n d e x O f ( ' s e l e c t ' ) < 0 & & x . i "  
 +   " n d e x O f ( ' f i l t e r ' ) < 0 ) n [ x ] = o [ x ] ; r e t u r n   n } ; s . n u m = f u n c t i o n ( x ) { x = ' ' + x ; f o r "  
 +   " ( v a r   p = 0 ; p < x . l e n g t h ; p + + ) i f ( ( ' 0 1 2 3 4 5 6 7 8 9 ' ) . i n d e x O f ( x . s u b s t r i n g ( p , p + 1 "  
 +   " ) ) < 0 ) r e t u r n   0 ; r e t u r n   1 } ; s . r e p = f u n c t i o n ( x , o , n ) { v a r   i = x . i n d e x O f ( o ) ; w h "  
 +   " i l e ( x & & i > = 0 ) { x = x . s u b s t r i n g ( 0 , i ) + n + x . s u b s t r i n g ( i + o . l e n g t h ) ; i = x . i n d e x "  
 +   " O f ( o , i + n . l e n g t h ) } r e t u r n   x } ; s . a p e = f u n c t i o n ( x ) { v a r   s = t h i s , h = ' 0 1 2 3 4 5 6 7 "  
 +   " 8 9 A B C D E F ' , i , c = s . c h a r S e t , n , l , e , y = ' ' ; c = c ? c . t o U p p e r C a s e ( ) : ' ' ; i f ( x ) { x = ' "  
 +   " ' + x ; i f ( c = = ' A U T O ' & & ( ' ' ) . c h a r C o d e A t ) { f o r ( i = 0 ; i < x . l e n g t h ; i + + ) { c = x . s u b s "  
 +   " t r i n g ( i , i + 1 ) ; n = x . c h a r C o d e A t ( i ) ; i f ( n > 1 2 7 ) { l = 0 ; e = ' ' ; w h i l e ( n | | l < 4 ) { e = h "  
 +   " . s u b s t r i n g ( n % 1 6 , n % 1 6 + 1 ) + e ; n = p a r s e I n t ( n / 1 6 ) ; l + + } y + = ' % u ' + e } e l s e   i f ( c = "  
 +   " = ' + ' ) y + = ' % 2 B ' ; e l s e   y + = e s c a p e ( c ) } x = y } e l s e { x = x ? s . r e p ( e s c a p e ( ' ' + x ) , ' + ' "  
 +   " , ' % 2 B ' ) : x ; i f ( x & & c & & s . e m = = 1 & & x . i n d e x O f ( ' % u ' ) < 0 & & x . i n d e x O f ( ' % U ' ) < 0 ) { i "  
 +   " = x . i n d e x O f ( ' % ' ) ; w h i l e ( i > = 0 ) { i + + ; i f ( h . s u b s t r i n g ( 8 ) . i n d e x O f ( x . s u b s t r i "  
 +   " n g ( i , i + 1 ) . t o U p p e r C a s e ( ) ) > = 0 ) r e t u r n   x . s u b s t r i n g ( 0 , i ) + ' u 0 0 ' + x . s u b s t r i "  
 +   " n g ( i ) ; i = x . i n d e x O f ( ' % ' , i ) } } } } r e t u r n   x } ; s . e p a = f u n c t i o n ( x ) { v a r   s = t h i s ; "  
 +   " r e t u r n   x ? u n e s c a p e ( s . r e p ( ' ' + x , ' + ' , '   ' ) ) : x } ; s . p t = f u n c t i o n ( x , d , f , a ) { v a "  
 +   " r   s = t h i s , t = x , z = 0 , y , r ; w h i l e ( t ) { y = t . i n d e x O f ( d ) ; y = y < 0 ? t . l e n g t h : y ; t = t . s "  
 +   " u b s t r i n g ( 0 , y ) ; r = s . m ( f ) ? s [ f ] ( t , a ) : f ( t , a ) ; i f ( r ) r e t u r n   r ; z + = y + d . l e n g t h "  
 +   " ; t = x . s u b s t r i n g ( z , x . l e n g t h ) ; t = z < x . l e n g t h ? t : ' ' } r e t u r n   ' ' } ; s . i s f = f u n c t "  
 +   " i o n ( t , a ) { v a r   c = a . i n d e x O f ( ' : ' ) ; i f ( c > = 0 ) a = a . s u b s t r i n g ( 0 , c ) ; i f ( t . s u b s t "  
 +   " r i n g ( 0 , 2 ) = = ' s _ ' ) t = t . s u b s t r i n g ( 2 ) ; r e t u r n   ( t ! = ' ' & & t = = a ) } ; s . f s f = f u n c t i "  
 +   " o n ( t , a ) { v a r   s = t h i s ; i f ( s . p t ( a , ' , ' , ' i s f ' , t ) ) s . f s g + = ( s . f s g ! = ' ' ? ' , ' : ' ' ) "  
 +   " + t ; r e t u r n   0 } ; s . f s = f u n c t i o n ( x , f ) { v a r   s = t h i s ; s . f s g = ' ' ; s . p t ( x , ' , ' , ' f s f "  
 +   " ' , f ) ; r e t u r n   s . f s g } ; s . c _ d = ' ' ; s . c _ g d f = f u n c t i o n ( t , a ) { v a r   s = t h i s ; i f ( ! s . "  
 +   " n u m ( t ) ) r e t u r n   1 ; r e t u r n   0 } ; s . c _ g d = f u n c t i o n ( ) { v a r   s = t h i s , d = s . w d . l o c a t "  
 +   " i o n . h o s t n a m e , n = s . f p C o o k i e D o m a i n P e r i o d s , p ; i f ( ! n ) n = s . c o o k i e D o m a i n P e r i "  
 +   " o d s ; i f ( d & & ! s . c _ d ) { n = n ? p a r s e I n t ( n ) : 2 ; n = n > 2 ? n : 2 ; p = d . l a s t I n d e x O f ( ' . ' ) ; "  
 +   " i f ( p > = 0 ) { w h i l e ( p > = 0 & & n > 1 ) { p = d . l a s t I n d e x O f ( ' . ' , p - 1 ) ; n - - } s . c _ d = p > 0 & & s "  
 +   " . p t ( d , ' . ' , ' c _ g d f ' , 0 ) ? d . s u b s t r i n g ( p ) : d } } r e t u r n   s . c _ d } ; s . c _ r = f u n c t i o n "  
 +   " ( k ) { v a r   s = t h i s ; k = s . a p e ( k ) ; v a r   c = '   ' + s . d . c o o k i e , i = c . i n d e x O f ( '   ' + k + ' = "  
 +   " ' ) , e = i < 0 ? i : c . i n d e x O f ( ' ; ' , i ) , v = i < 0 ? ' ' : s . e p a ( c . s u b s t r i n g ( i + 2 + k . l e n g t h "  
 +   " , e < 0 ? c . l e n g t h : e ) ) ; r e t u r n   v ! = ' [ [ B ] ] ' ? v : ' ' } ; s . c _ w = f u n c t i o n ( k , v , e ) { v a r "  
 +   "   s = t h i s , d = s . c _ g d ( ) , l = s . c o o k i e L i f e t i m e , t ; v = ' ' + v ; l = l ? ( ' ' + l ) . t o U p p e r C a "  
 +   " s e ( ) : ' ' ; i f ( e & & l ! = ' S E S S I O N ' & & l ! = ' N O N E ' ) { t = ( v ! = ' ' ? p a r s e I n t ( l ? l : 0 ) : - 6 0 "  
 +   " ) ; i f ( t ) { e = n e w   D a t e ; e . s e t T i m e ( e . g e t T i m e ( ) + ( t * 1 0 0 0 ) ) } } i f ( k & & l ! = ' N O N E ' "  
 +   " ) { s . d . c o o k i e = k + ' = ' + s . a p e ( v ! = ' ' ? v : ' [ [ B ] ] ' ) + ' ;   p a t h = / ; ' + ( e & & l ! = ' S E S S I "  
 +   " O N ' ? '   e x p i r e s = ' + e . t o G M T S t r i n g ( ) + ' ; ' : ' ' ) + ( d ? '   d o m a i n = ' + d + ' ; ' : ' ' ) ; r e t "  
 +   " u r n   s . c _ r ( k ) = = v } r e t u r n   0 } ; s . e h = f u n c t i o n ( o , e , r , f ) { v a r   s = t h i s , b = ' s _ ' + "  
 +   " e + ' _ ' + s . _ i n , n = - 1 , l , i , x ; i f ( ! s . e h l ) s . e h l = n e w   A r r a y ; l = s . e h l ; f o r ( i = 0 ; i < "  
 +   " l . l e n g t h & & n < 0 ; i + + ) { i f ( l [ i ] . o = = o & & l [ i ] . e = = e ) n = i } i f ( n < 0 ) { n = i ; l [ n ] = n e w "  
 +   "   O b j e c t } x = l [ n ] ; x . o = o ; x . e = e ; f = r ? x . b : f ; i f ( r | | f ) { x . b = r ? 0 : o [ e ] ; x . o [ e ] = f "  
 +   " } i f ( x . b ) { x . o [ b ] = x . b ; r e t u r n   b } r e t u r n   0 } ; s . c e t = f u n c t i o n ( f , a , t , o , b ) { v a "  
 +   " r   s = t h i s , r ; i f ( s . a p v > = 5 & & ( ! s . i s o p e r a | | s . a p v > = 7 ) ) e v a l ( ' t r y { r = s . m ( f ) ? s "  
 +   " [ f ] ( a ) : f ( a ) } c a t c h ( e ) { r = s . m ( t ) ? s [ t ] ( e ) : t ( e ) } ' ) ; e l s e { i f ( s . i s m a c & & s . u . "  
 +   " i n d e x O f ( ' M S I E   4 ' ) > = 0 ) r = s . m ( b ) ? s [ b ] ( a ) : b ( a ) ; e l s e { s . e h ( s . w d , ' o n e r r o r ' "  
 +   " , 0 , o ) ; r = s . m ( f ) ? s [ f ] ( a ) : f ( a ) ; s . e h ( s . w d , ' o n e r r o r ' , 1 ) } } r e t u r n   r } ; s . g t f "  
 +   " s e t = f u n c t i o n ( e ) { v a r   s = t h i s ; r e t u r n   s . t f s } ; s . g t f s o e = n e w   F u n c t i o n ( ' e ' , "  
 +   " ' v a r   s = s _ c _ i l [ ' + s . _ i n + ' ] ; s . e h ( w i n d o w , \ " o n e r r o r \ " , 1 ) ; s . e t f s = 1 ; v a r   c = "  
 +   " s . t ( ) ; i f ( c ) s . d . w r i t e ( c ) ; s . e t f s = 0 ; r e t u r n   t r u e ' ) ; s . g t f s f b = f u n c t i o n ( a ) "  
 +   " { r e t u r n   w i n d o w } ; s . g t f s f = f u n c t i o n ( w ) { v a r   s = t h i s , p = w . p a r e n t , l = w . l o c a t "  
 +   " i o n ; s . t f s = w ; i f ( p & & p . l o c a t i o n ! = l & & p . l o c a t i o n . h o s t = = l . h o s t ) { s . t f s = p ; r "  
 +   " e t u r n   s . g t f s f ( s . t f s ) } r e t u r n   s . t f s } ; s . g t f s = f u n c t i o n ( ) { v a r   s = t h i s ; i f ( "  
 +   " ! s . t f s ) { s . t f s = s . w d ; i f ( ! s . e t f s ) s . t f s = s . c e t ( ' g t f s f ' , s . t f s , ' g t f s e t ' , s . "  
 +   " g t f s o e , ' g t f s f b ' ) } r e t u r n   s . t f s } ; s . m r = f u n c t i o n ( s e s s , q , t a ) { v a r   s = t h i s , "  
 +   " d c = s . d c , t 1 = s . t r a c k i n g S e r v e r , t 2 = s . t r a c k i n g S e r v e r S e c u r e , n s = s . v i s i t o r N "  
 +   " a m e s p a c e , u n c = s . r e p ( s . f u n , ' _ ' , ' - ' ) , i m n = ' s _ i _ ' + s . f u n , i m , b , e , r s = ' h t t p ' "  
 +   " + ( s . s s l ? ' s ' : ' ' ) + ' : / / ' + ( t 1 ? ( s . s s l & & t 2 ? t 2 : t 1 ) : ( ( n s ? n s : ( s . s s l ? ' 1 0 2 ' : u n "  
 +   " c ) ) + ' . ' + ( s . d c ? s . d c : 1 1 2 ) + ' . 2 o 7 . n e t ' ) ) + ' / b / s s / ' + s . u n + ' / 1 / H . 1 0 - P d v u - 2 / "  
 +   " ' + s e s s + ' ? [ A Q B ] & n d h = 1 ' + ( q ? q : ' ' ) + ( s . q ? s . q : ' ' ) + ' & [ A Q E ] ' ; i f ( s . i s i e & & ! s . "  
 +   " i s m a c ) { i f ( s . a p v > 5 . 5 ) r s = s . f l ( r s , 4 0 9 5 ) ; e l s e   r s = s . f l ( r s , 2 0 4 7 ) } i f ( s . d . i "  
 +   " m a g e s & & s . a p v > = 3 & & ( ! s . i s o p e r a | | s . a p v > = 7 ) & & ( s . n s 6 < 0 | | s . a p v > = 6 . 1 ) ) { i m = "  
 +   " s . w d [ i m n ] ; i f ( ! i m ) i m = s . w d [ i m n ] = n e w   I m a g e ; i m . s r c = r s ; i f ( r s . i n d e x O f ( ' & p "  
 +   " e = ' ) > = 0 & & ( ! t a | | t a = = ' _ s e l f ' | | t a = = ' _ t o p ' | | ( s . w d . n a m e & & t a = = s . w d . n a m e ) ) "  
 +   " ) { b = e = n e w   D a t e ; w h i l e ( e . g e t T i m e ( ) - b . g e t T i m e ( ) < 5 0 0 ) e = n e w   D a t e } r e t u r n   "  
 +   " ' ' } r e t u r n   ' < i m ' + ' g   s r ' + ' c = \ " ' + r s + ' \ "   w i d t h = 1   h e i g h t = 1   b o r d e r = 0   a l t = "  
 +   " \ " \ " > ' } ; s . g g = f u n c t i o n ( v ) { v a r   s = t h i s ; r e t u r n   s . w d [ ' s _ ' + v ] } ; s . g l f = f u n c "  
 +   " t i o n ( t , a ) { i f ( t . s u b s t r i n g ( 0 , 2 ) = = ' s _ ' ) t = t . s u b s t r i n g ( 2 ) ; v a r   s = t h i s , v = s "  
 +   " . g g ( t ) ; i f ( v ) s [ t ] = v } ; s . g l = f u n c t i o n ( v ) { v a r   s = t h i s ; i f ( s . p g ) s . p t ( v , ' , ' , "  
 +   " ' g l f ' , 0 ) } ; s . g v = f u n c t i o n ( v ) { v a r   s = t h i s ; r e t u r n   s [ ' v p m _ ' + v ] ? s [ ' v p v _ ' + v "  
 +   " ] : ( s [ v ] ? s [ v ] : ' ' ) } ; s . h a v f = f u n c t i o n ( t , a ) { v a r   s = t h i s , b = t . s u b s t r i n g ( 0 , 4 "  
 +   " ) , x = t . s u b s t r i n g ( 4 ) , n = p a r s e I n t ( x ) , k = ' g _ ' + t , m = ' v p m _ ' + t , q = t , v = s . l i n k T r "  
 +   " a c k V a r s , e = s . l i n k T r a c k E v e n t s ; s [ k ] = s . g v ( t ) ; i f ( s . l n k | | s . e o ) { v = v ? v + ' , ' + "  
 +   " s . v l _ l : ' ' ; i f ( v & & ! s . p t ( v , ' , ' , ' i s f ' , t ) ) s [ k ] = ' ' ; i f ( t = = ' e v e n t s ' & & e ) s [ k ] "  
 +   " = s . f s ( s [ k ] , e ) } s [ m ] = 0 ; i f ( t = = ' v i s i t o r I D ' ) q = ' v i d ' ; e l s e   i f ( t = = ' p a g e U R L ' "  
 +   " ) { q = ' g ' ; s [ k ] = s . f l ( s [ k ] , 2 5 5 ) } e l s e   i f ( t = = ' r e f e r r e r ' ) { q = ' r ' ; s [ k ] = s . f l ( "  
 +   " s [ k ] , 2 5 5 ) } e l s e   i f ( t = = ' v m k ' ) q = ' v m t ' ; e l s e   i f ( t = = ' c h a r S e t ' ) { q = ' c e ' ; i f ( "  
 +   " s [ k ] & & s [ k ] . t o U p p e r C a s e ( ) = = ' A U T O ' ) s [ k ] = ' I S O 8 8 5 9 - 1 ' ; e l s e   i f ( s [ k ] & & s . e "  
 +   " m = = 2 ) s [ k ] = ' U T F - 8 ' } e l s e   i f ( t = = ' v i s i t o r N a m e s p a c e ' ) q = ' n s ' ; e l s e   i f ( t = = ' "  
 +   " c o o k i e D o m a i n P e r i o d s ' ) q = ' c d p ' ; e l s e   i f ( t = = ' c o o k i e L i f e t i m e ' ) q = ' c l ' ; e l s "  
 +   " e   i f ( t = = ' v a r i a b l e P r o v i d e r ' ) q = ' v v p ' ; e l s e   i f ( t = = ' c u r r e n c y C o d e ' ) q = ' c c ' "  
 +   " ; e l s e   i f ( t = = ' c h a n n e l ' ) q = ' c h ' ; e l s e   i f ( t = = ' t r a n s a c t i o n I D ' ) q = ' x a c t ' ; e l "  
 +   " s e   i f ( t = = ' c a m p a i g n ' ) q = ' v 0 ' ; e l s e   i f ( s . n u m ( x ) ) { i f ( b = = ' p r o p ' ) q = ' c ' + n ; e "  
 +   " l s e   i f ( b = = ' e V a r ' ) q = ' v ' + n ; e l s e   i f ( b = = ' h i e r ' ) { q = ' h ' + n ; s [ k ] = s . f l ( s [ k ] , "  
 +   " 2 5 5 ) } } i f ( s [ k ] & & t ! = ' l i n k N a m e ' & & t ! = ' l i n k T y p e ' ) s . q a v + = ' & ' + q + ' = ' + s . a p e ( "  
 +   " s [ k ] ) ; r e t u r n   ' ' } ; s . h a v = f u n c t i o n ( ) { v a r   s = t h i s ; s . q a v = ' ' ; s . p t ( s . v l _ t , ' "  
 +   " , ' , ' h a v f ' , 0 ) ; r e t u r n   s . q a v } ; s . l n f = f u n c t i o n ( t , h ) { t = t ? t . t o L o w e r C a s e ( ) : "  
 +   " ' ' ; h = h ? h . t o L o w e r C a s e ( ) : ' ' ; v a r   t e = t . i n d e x O f ( ' = ' ) ; i f ( t & & t e > 0 & & h . i n d e x "  
 +   " O f ( t . s u b s t r i n g ( t e + 1 ) ) > = 0 ) r e t u r n   t . s u b s t r i n g ( 0 , t e ) ; r e t u r n   ' ' } ; s . l n = f "  
 +   " u n c t i o n ( h ) { v a r   s = t h i s , n = s . l i n k N a m e s ; i f ( n ) r e t u r n   s . p t ( n , ' , ' , ' l n f ' , h ) "  
 +   " ; r e t u r n   ' ' } ; s . l t d f = f u n c t i o n ( t , h ) { t = t ? t . t o L o w e r C a s e ( ) : ' ' ; h = h ? h . t o L o w "  
 +   " e r C a s e ( ) : ' ' ; v a r   q i = h . i n d e x O f ( ' ? ' ) ; h = q i > = 0 ? h . s u b s t r i n g ( 0 , q i ) : h ; i f ( t & "  
 +   " & h . s u b s t r i n g ( h . l e n g t h - ( t . l e n g t h + 1 ) ) = = ' . ' + t ) r e t u r n   1 ; r e t u r n   0 } ; s . l t e "  
 +   " f = f u n c t i o n ( t , h ) { t = t ? t . t o L o w e r C a s e ( ) : ' ' ; h = h ? h . t o L o w e r C a s e ( ) : ' ' ; i f ( t & "  
 +   " & h . i n d e x O f ( t ) > = 0 ) r e t u r n   1 ; r e t u r n   0 } ; s . l t = f u n c t i o n ( h ) { v a r   s = t h i s , l f t "  
 +   " = s . l i n k D o w n l o a d F i l e T y p e s , l e f = s . l i n k E x t e r n a l F i l t e r s , l i f = s . l i n k I n t e r n "  
 +   " a l F i l t e r s ; l i f = l i f ? l i f : s . w d . l o c a t i o n . h o s t n a m e ; h = h . t o L o w e r C a s e ( ) ; i f ( s "  
 +   " . t r a c k D o w n l o a d L i n k s & & l f t & & s . p t ( l f t , ' , ' , ' l t d f ' , h ) ) r e t u r n   ' d ' ; i f ( s . t r "  
 +   " a c k E x t e r n a l L i n k s & & ( l e f | | l i f ) & & ( ! l e f | | s . p t ( l e f , ' , ' , ' l t e f ' , h ) ) & & ( ! l i f "  
 +   " | | ! s . p t ( l i f , ' , ' , ' l t e f ' , h ) ) ) r e t u r n   ' e ' ; r e t u r n   ' ' } ; s . l c = n e w   F u n c t i o n ( "  
 +   " ' e ' , ' v a r   s = s _ c _ i l [ ' + s . _ i n + ' ] , b = s . e h ( t h i s , \ " o n c l i c k \ " ) ; s . l n k = s . c o ( t h "  
 +   " i s ) ; s . t ( ) ; s . l n k = 0 ; i f ( b ) r e t u r n   t h i s [ b ] ( e ) ; r e t u r n   t r u e ' ) ; s . b c = n e w   F u n "  
 +   " c t i o n ( ' e ' , ' v a r   s = s _ c _ i l [ ' + s . _ i n + ' ] , f ; i f ( s . d & & s . d . a l l & & s . d . a l l . c p p X Y "  
 +   " c t n r ) r e t u r n ; s . e o = e . s r c E l e m e n t ? e . s r c E l e m e n t : e . t a r g e t ; e v a l ( \ " t r y { i f ( s "  
 +   " . e o & & ( s . e o . t a g N a m e | | s . e o . p a r e n t E l e m e n t | | s . e o . p a r e n t N o d e ) ) s . t ( ) } c a t c "  
 +   " h ( f ) { } \ " ) ; s . e o = 0 ' ) ; s . o t = f u n c t i o n ( o ) { v a r   a = o . t y p e , b = o . t a g N a m e ; r e t u r n "  
 +   "   ( a & & a . t o U p p e r C a s e ? a : b & & b . t o U p p e r C a s e ? b : o . h r e f ? ' A ' : ' ' ) . t o U p p e r C a s e ( "  
 +   " ) } ; s . o i d = f u n c t i o n ( o ) { v a r   s = t h i s , t = s . o t ( o ) , p = o . p r o t o c o l , c = o . o n c l i c k , "  
 +   " n = ' ' , x = 0 ; i f ( ! o . s _ o i d ) { i f ( o . h r e f & & ( t = = ' A ' | | t = = ' A R E A ' ) & & ( ! c | | ! p | | p . t o "  
 +   " L o w e r C a s e ( ) . i n d e x O f ( ' j a v a s c r i p t ' ) < 0 ) ) n = o . h r e f ; e l s e   i f ( c ) { n = s . r e p ( s . "  
 +   " r e p ( s . r e p ( s . r e p ( ' ' + c , \ " \ \ r \ " , ' ' ) , \ " \ \ n \ " , ' ' ) , \ " \ \ t \ " , ' ' ) , '   ' , ' ' ) ; x = "  
 +   " 2 } e l s e   i f ( o . v a l u e & & ( t = = ' I N P U T ' | | t = = ' S U B M I T ' ) ) { n = o . v a l u e ; x = 3 } e l s e   i f "  
 +   " ( o . s r c & & t = = ' I M A G E ' ) n = o . s r c ; i f ( n ) { o . s _ o i d = s . f l ( n , 1 0 0 ) ; o . s _ o i d t = x } } r e "  
 +   " t u r n   o . s _ o i d } ; s . r q f = f u n c t i o n ( t , u n ) { v a r   s = t h i s , e = t . i n d e x O f ( ' = ' ) , u = e > "  
 +   " = 0 ? ' , ' + t . s u b s t r i n g ( 0 , e ) + ' , ' : ' ' ; r e t u r n   u & & u . i n d e x O f ( ' , ' + u n + ' , ' ) > = 0 ? s "  
 +   " . e p a ( t . s u b s t r i n g ( e + 1 ) ) : ' ' } ; s . r q = f u n c t i o n ( u n ) { v a r   s = t h i s , c = u n . i n d e x O "  
 +   " f ( ' , ' ) , v = s . c _ r ( ' s _ s q ' ) , q = ' ' ; i f ( c < 0 ) r e t u r n   s . p t ( v , ' & ' , ' r q f ' , u n ) ; r e t u "  
 +   " r n   s . p t ( u n , ' , ' , ' r q ' , 0 ) } ; s . s q p = f u n c t i o n ( t , a ) { v a r   s = t h i s , e = t . i n d e x O f ( "  
 +   " ' = ' ) , q = e < 0 ? ' ' : s . e p a ( t . s u b s t r i n g ( e + 1 ) ) ; s . s q q [ q ] = ' ' ; i f ( e > = 0 ) s . p t ( t . s u "  
 +   " b s t r i n g ( 0 , e ) , ' , ' , ' s q s ' , q ) ; r e t u r n   0 } ; s . s q s = f u n c t i o n ( u n , q ) { v a r   s = t h i s "  
 +   " ; s . s q u [ u n ] = q ; r e t u r n   0 } ; s . s q = f u n c t i o n ( q ) { v a r   s = t h i s , k = ' s _ s q ' , v = s . c _ r "  
 +   " ( k ) , x , c = 0 ; s . s q q = n e w   O b j e c t ; s . s q u = n e w   O b j e c t ; s . s q q [ q ] = ' ' ; s . p t ( v , ' & ' , "  
 +   " ' s q p ' , 0 ) ; s . p t ( s . u n , ' , ' , ' s q s ' , q ) ; v = ' ' ; f o r ( x   i n   s . s q u ) s . s q q [ s . s q u [ x ] ] "  
 +   " + = ( s . s q q [ s . s q u [ x ] ] ? ' , ' : ' ' ) + x ; f o r ( x   i n   s . s q q ) i f ( x & & s . s q q [ x ] & & ( x = = q | | "  
 +   " c < 2 ) ) { v + = ( v ? ' & ' : ' ' ) + s . s q q [ x ] + ' = ' + s . a p e ( x ) ; c + + } r e t u r n   s . c _ w ( k , v , 0 ) } ; "  
 +   " s . w d l = n e w   F u n c t i o n ( ' e ' , ' v a r   s = s _ c _ i l [ ' + s . _ i n + ' ] , r = t r u e , b = s . e h ( s . w d , "  
 +   " \ " o n l o a d \ " ) , i , o , o c ; i f ( b ) r = t h i s [ b ] ( e ) ; f o r ( i = 0 ; i < s . d . l i n k s . l e n g t h ; i + + "  
 +   " ) { o = s . d . l i n k s [ i ] ; o c = o . o n c l i c k ? \ " \ " + o . o n c l i c k : \ " \ " ; i f ( ( o c . i n d e x O f ( \ " "  
 +   " s _ g s ( \ " ) < 0 | | o c . i n d e x O f ( \ " . s _ o c ( \ " ) > = 0 ) & & o c . i n d e x O f ( \ " . t l ( \ " ) < 0 ) s . e h "  
 +   " ( o , \ " o n c l i c k \ " , 0 , s . l c ) ; } r e t u r n   r ' ) ; s . w d s = f u n c t i o n ( ) { v a r   s = t h i s ; i f ( s "  
 +   " . a p v > 3 & & ( ! s . i s i e | | ! s . i s m a c | | s . a p v > = 5 ) ) { i f ( s . b & & s . b . a t t a c h E v e n t ) s . b . "  
 +   " a t t a c h E v e n t ( ' o n c l i c k ' , s . b c ) ; e l s e   i f ( s . b & & s . b . a d d E v e n t L i s t e n e r ) s . b . a "  
 +   " d d E v e n t L i s t e n e r ( ' c l i c k ' , s . b c , f a l s e ) ; e l s e   s . e h ( s . w d , ' o n l o a d ' , 0 , s . w d l "  
 +   " ) } } ; s . v s = f u n c t i o n ( x ) { v a r   s = t h i s , v = s . v i s i t o r S a m p l i n g , g = s . v i s i t o r S a m p "  
 +   " l i n g G r o u p , k = ' s _ v s n _ ' + s . u n + ( g ? ' _ ' + g : ' ' ) , n = s . c _ r ( k ) , e = n e w   D a t e , y = e . g e "  
 +   " t Y e a r ( ) ; e . s e t Y e a r ( y + 1 0 + ( y < 1 9 0 0 ? 1 9 0 0 : 0 ) ) ; i f ( v ) { v * = 1 0 0 ; i f ( ! n ) { i f ( ! s . c "  
 +   " _ w ( k , x , e ) ) r e t u r n   0 ; n = x } i f ( n % 1 0 0 0 0 > v ) r e t u r n   0 } r e t u r n   1 } ; s . d y a s m f = f u n "  
 +   " c t i o n ( t , m ) { i f ( t & & m & & m . i n d e x O f ( t ) > = 0 ) r e t u r n   1 ; r e t u r n   0 } ; s . d y a s f = f u n c "  
 +   " t i o n ( t , m ) { v a r   s = t h i s , i = t ? t . i n d e x O f ( ' = ' ) : - 1 , n , x ; i f ( i > = 0 & & m ) { v a r   n = t . "  
 +   " s u b s t r i n g ( 0 , i ) , x = t . s u b s t r i n g ( i + 1 ) ; i f ( s . p t ( x , ' , ' , ' d y a s m f ' , m ) ) r e t u r n   "  
 +   " n } r e t u r n   0 } ; s . u n s = f u n c t i o n ( ) { v a r   s = t h i s , x = s . d y n a m i c A c c o u n t S e l e c t i o n "  
 +   " , l = s . d y n a m i c A c c o u n t L i s t , m = s . d y n a m i c A c c o u n t M a t c h , n , i ; s . u n . t o L o w e r C a s "  
 +   " e ( ) ; i f ( x & & l ) { i f ( ! m ) m = s . w d . l o c a t i o n . h o s t ; i f ( ! m . t o L o w e r C a s e ) m = ' ' + m ; l = "  
 +   " l . t o L o w e r C a s e ( ) ; m = m . t o L o w e r C a s e ( ) ; n = s . p t ( l , ' ; ' , ' d y a s f ' , m ) ; i f ( n ) s . u n "  
 +   " = n } i = s . u n . i n d e x O f ( ' , ' ) ; s . f u n = i < 0 ? s . u n : s . u n . s u b s t r i n g ( 0 , i ) } ; s . s a = f u n "  
 +   " c t i o n ( u n ) { v a r   s = t h i s ; s . u n = u n ; i f ( ! s . o u n ) s . o u n = u n ; e l s e   i f ( ( ' , ' + s . o u n + "  
 +   " ' , ' ) . i n d e x O f ( u n ) < 0 ) s . o u n + = ' , ' + u n ; s . u n s ( ) } ; s . t = f u n c t i o n ( ) { v a r   s = t h i s "  
 +   " , t r k = 1 , t m = n e w   D a t e , s e d = M a t h & & M a t h . r a n d o m ? M a t h . f l o o r ( M a t h . r a n d o m ( ) * 1 "  
 +   " 0 0 0 0 0 0 0 0 0 0 0 0 0 ) : t m . g e t T i m e ( ) , s e s s = ' s ' + M a t h . f l o o r ( t m . g e t T i m e ( ) / 1 0 8 0 0 0 "  
 +   " 0 0 ) % 1 0 + s e d , y r = t m . g e t Y e a r ( ) , v t = t m . g e t D a t e ( ) + ' / ' + t m . g e t M o n t h ( ) + ' / ' + ( y "  
 +   " r < 1 9 0 0 ? y r + 1 9 0 0 : y r ) + '   ' + t m . g e t H o u r s ( ) + ' : ' + t m . g e t M i n u t e s ( ) + ' : ' + t m . g e t "  
 +   " S e c o n d s ( ) + '   ' + t m . g e t D a y ( ) + '   ' + t m . g e t T i m e z o n e O f f s e t ( ) , t f s = s . g t f s ( ) , t "  
 +   " a = ' ' , q = ' ' , q s = ' ' ; s . g l ( s . v l _ g ) ; s . u n s ( ) ; i f ( ! s . q ) { v a r   t l = t f s . l o c a t i o n , a "  
 +   " , o , i , x = ' ' , c = ' ' , v = ' ' , p = ' ' , b w = ' ' , b h = ' ' , j = ' 1 . 0 ' , k = s . c _ w ( ' s _ c c ' , ' t r u e ' , "  
 +   " 0 ) ? ' Y ' : ' N ' , h p = ' ' , c t = ' ' , p n = 0 , p s ; i f ( S t r i n g & & S t r i n g . p r o t o t y p e ) { j = \ " 1 . 1 "  
 +   " \ " ; i f ( j . m a t c h ) { j = \ " 1 . 2 \ " ; i f ( t m . s e t U T C D a t e ) { j = \ " 1 . 3 \ " ; i f ( s . i s i e & & s . i "  
 +   " s m a c & & s . a p v > = 5 ) j = \ " 1 . 4 \ " ; i f ( p n . t o P r e c i s i o n ) { j = \ " 1 . 5 \ " ; a = n e w   A r r a y ; i "  
 +   " f ( a . f o r E a c h ) { j = \ " 1 . 6 \ " ; i = 0 ; o = n e w   O b j e c t ; e v a l ( \ " t r y { i = n e w   I t e r a t o r ( o "  
 +   " ) } c a t c h ( e ) { } \ " ) ; i f ( i & & i . n e x t ) j = \ " 1 . 7 \ " } } } } } i f ( s . a p v > = 4 ) x = s c r e e n . w i d "  
 +   " t h + ' x ' + s c r e e n . h e i g h t ; i f ( s . i s n s | | s . i s o p e r a ) { i f ( s . a p v > = 3 ) { v = s . n . j a v a E "  
 +   " n a b l e d ( ) ? ' Y ' : ' N ' ; i f ( s . a p v > = 4 ) { c = s c r e e n . p i x e l D e p t h ; b w = s . w d . i n n e r W i d t "  
 +   " h ; b h = s . w d . i n n e r H e i g h t ; } } s . p l = s . n . p l u g i n s } e l s e   i f ( s . i s i e ) { i f ( s . a p v > = "  
 +   " 4 ) { v = s . n . j a v a E n a b l e d ( ) ? ' Y ' : ' N ' ; c = s c r e e n . c o l o r D e p t h ; i f ( s . a p v > = 5 ) { b w = "  
 +   " s . d . d o c u m e n t E l e m e n t . o f f s e t W i d t h ; b h = s . d . d o c u m e n t E l e m e n t . o f f s e t H e i g h t "  
 +   " ; i f ( ! s . i s m a c & & s . b ) { e v a l ( \ " t r y { s . b . a d d B e h a v i o r ( ' # d e f a u l t # h o m e P a g e ' ) ; "  
 +   " h p = s . b . i s H o m e P a g e ( t l ) ? ' Y ' : ' N ' } c a t c h ( e ) { } \ " ) ; e v a l ( \ " t r y { s . b . a d d B e h a v "  
 +   " i o r ( ' # d e f a u l t # c l i e n t C a p s ' ) ; c t = s . b . c o n n e c t i o n T y p e } c a t c h ( e ) { } \ " ) } } } e l "  
 +   " s e   r = ' ' } i f ( s . p l ) w h i l e ( p n < s . p l . l e n g t h & & p n < 3 0 ) { p s = s . f l ( s . p l [ p n ] . n a m e , "  
 +   " 1 0 0 ) + ' ; ' ; i f ( p . i n d e x O f ( p s ) < 0 ) p + = p s ; p n + + } s . q = ( x ? ' & s = ' + s . a p e ( x ) : ' ' ) + ( c "  
 +   " ? ' & c = ' + s . a p e ( c ) : ' ' ) + ( j ? ' & j = ' + j : ' ' ) + ( v ? ' & v = ' + v : ' ' ) + ( k ? ' & k = ' + k : ' ' ) + ( b "  
 +   " w ? ' & b w = ' + b w : ' ' ) + ( b h ? ' & b h = ' + b h : ' ' ) + ( c t ? ' & c t = ' + s . a p e ( c t ) : ' ' ) + ( h p ? ' & h p "  
 +   " = ' + h p : ' ' ) + ( p ? ' & p = ' + s . a p e ( p ) : ' ' ) } i f ( s . u s e P l u g i n s ) s . d o P l u g i n s ( s ) ; v a r   "  
 +   " l = s . w d . l o c a t i o n , r = t f s . d o c u m e n t . r e f e r r e r ; i f ( ! s . p a g e U R L ) s . p a g e U R L = l ; i "  
 +   " f ( ! s . r e f e r r e r ) s . r e f e r r e r = r ; i f ( s . l n k | | s . e o ) { v a r   o = s . e o ? s . e o : s . l n k ; i f "  
 +   " ( ! o ) r e t u r n   ' ' ; v a r   p = s . g v ( ' p a g e N a m e ' ) , w = 1 , t = s . o t ( o ) , n = s . o i d ( o ) , x = o . s "  
 +   " _ o i d t , h , l , i , o c ; i f ( s . e o & & o = = s . e o ) { w h i l e ( o & & ! n & & t ! = ' B O D Y ' ) { o = o . p a r e n t "  
 +   " E l e m e n t ? o . p a r e n t E l e m e n t : o . p a r e n t N o d e ; i f ( ! o ) r e t u r n   ' ' ; t = s . o t ( o ) ; n = s . "  
 +   " o i d ( o ) ; x = o . s _ o i d t } o c = o . o n c l i c k ? ' ' + o . o n c l i c k : ' ' ; i f ( ( o c . i n d e x O f ( \ " s _ g "  
 +   " s ( \ " ) > = 0 & & o c . i n d e x O f ( \ " . s _ o c ( \ " ) < 0 ) | | o c . i n d e x O f ( \ " . t l ( \ " ) > = 0 ) r e t u r n "  
 +   "   ' ' } t a = n ? o . t a r g e t : 1 ; h = o . h r e f ? o . h r e f : ' ' ; i = h . i n d e x O f ( ' ? ' ) ; h = s . l i n k L e a "  
 +   " v e Q u e r y S t r i n g | | i < 0 ? h : h . s u b s t r i n g ( 0 , i ) ; l = s . l i n k N a m e ? s . l i n k N a m e : s . l n ( "  
 +   " h ) ; t = s . l i n k T y p e ? s . l i n k T y p e . t o L o w e r C a s e ( ) : s . l t ( h ) ; i f ( t & & ( h | | l ) ) q + = ' & "  
 +   " p e = l n k _ ' + ( t = = ' d ' | | t = = ' e ' ? s . a p e ( t ) : ' o ' ) + ( h ? ' & p e v 1 = ' + s . a p e ( h ) : ' ' ) + ( l ? "  
 +   " ' & p e v 2 = ' + s . a p e ( l ) : ' ' ) ; e l s e   t r k = 0 ; i f ( s . t r a c k I n l i n e S t a t s ) { i f ( ! p ) { p = s . "  
 +   " g v ( ' p a g e U R L ' ) ; w = 0 } t = s . o t ( o ) ; i = o . s o u r c e I n d e x ; i f ( s . g g ( ' o b j e c t I D ' ) ) { n = "  
 +   " s . g g ( ' o b j e c t I D ' ) ; x = 1 ; i = 1 } i f ( p & & n & & t ) q s = ' & p i d = ' + s . a p e ( s . f l ( p , 2 5 5 ) ) + ( "  
 +   " w ? ' & p i d t = ' + w : ' ' ) + ' & o i d = ' + s . a p e ( s . f l ( n , 1 0 0 ) ) + ( x ? ' & o i d t = ' + x : ' ' ) + ' & o t = "  
 +   " ' + s . a p e ( t ) + ( i ? ' & o i = ' + i : ' ' ) } } i f ( ! t r k & & ! q s ) r e t u r n   ' ' ; i f ( s . p _ r ) s . p _ r ( ) "  
 +   " ; v a r   c o d e = ' ' ; i f ( t r k & & s . v s ( s e d ) ) c o d e = s . m r ( s e s s , ( v t ? ' & t = ' + s . a p e ( v t ) : ' "  
 +   " ' ) + s . h a v ( ) + q + ( q s ? q s : s . r q ( s . u n ) ) , t a ) ; s . s q ( t r k ? ' ' : q s ) ; s . l n k = s . e o = s . l i "  
 +   " n k N a m e = s . l i n k T y p e = s . w d . s _ o b j e c t I D = s . p p u = ' ' ; i f ( s . p g ) s . w d . s _ l n k = s . w d . "  
 +   " s _ e o = s . w d . s _ l i n k N a m e = s . w d . s _ l i n k T y p e = ' ' ; r e t u r n   c o d e } ; s . t l = f u n c t i o n ( "  
 +   " o , t , n ) { v a r   s = t h i s ; s . l n k = s . c o ( o ) ; s . l i n k T y p e = t ; s . l i n k N a m e = n ; s . t ( ) } ; s . "  
 +   " s s l = ( s . w d . l o c a t i o n . p r o t o c o l . t o L o w e r C a s e ( ) . i n d e x O f ( ' h t t p s ' ) > = 0 ) ; s . d = "  
 +   " d o c u m e n t ; s . b = s . d . b o d y ; s . n = n a v i g a t o r ; s . u = s . n . u s e r A g e n t ; s . n s 6 = s . u . i n d "  
 +   " e x O f ( ' N e t s c a p e 6 / ' ) ; v a r   a p n = s . n . a p p N a m e , v = s . n . a p p V e r s i o n , i e = v . i n d e x O "  
 +   " f ( ' M S I E   ' ) , o = s . u . i n d e x O f ( ' O p e r a   ' ) , i ; i f ( v . i n d e x O f ( ' O p e r a ' ) > = 0 | | o > 0 ) "  
 +   " a p n = ' O p e r a ' ; s . i s i e = ( a p n = = ' M i c r o s o f t   I n t e r n e t   E x p l o r e r ' ) ; s . i s n s = ( a p n "  
 +   " = = ' N e t s c a p e ' ) ; s . i s o p e r a = ( a p n = = ' O p e r a ' ) ; s . i s m a c = ( s . u . i n d e x O f ( ' M a c ' ) > "  
 +   " = 0 ) ; i f ( o > 0 ) s . a p v = p a r s e F l o a t ( s . u . s u b s t r i n g ( o + 6 ) ) ; e l s e   i f ( i e > 0 ) { s . a p v "  
 +   " = p a r s e I n t ( i = v . s u b s t r i n g ( i e + 5 ) ) ; i f ( s . a p v > 3 ) s . a p v = p a r s e F l o a t ( i ) } e l s e   "  
 +   " i f ( s . n s 6 > 0 ) s . a p v = p a r s e F l o a t ( s . u . s u b s t r i n g ( s . n s 6 + 1 0 ) ) ; e l s e   s . a p v = p a r "  
 +   " s e F l o a t ( v ) ; s . e m = 0 ; i f ( S t r i n g . f r o m C h a r C o d e ) { i = e s c a p e ( S t r i n g . f r o m C h a r C "  
 +   " o d e ( 2 5 6 ) ) . t o U p p e r C a s e ( ) ; s . e m = ( i = = ' % C 4 % 8 0 ' ? 2 : ( i = = ' % U 0 1 0 0 ' ? 1 : 0 ) ) } s . s a "  
 +   " ( u n ) ; s . v l _ l = ' v i s i t o r I D , v m k , p p u , c h a r S e t , v i s i t o r N a m e s p a c e , c o o k i e D o m a i "  
 +   " n P e r i o d s , c o o k i e L i f e t i m e , p a g e N a m e , p a g e U R L , r e f e r r e r , c u r r e n c y C o d e , p u r c "  
 +   " h a s e I D ' ; s . v l _ t = s . v l _ l + ' , v a r i a b l e P r o v i d e r , c h a n n e l , s e r v e r , p a g e T y p e , t r "  
 +   " a n s a c t i o n I D , c a m p a i g n , s t a t e , z i p , e v e n t s , p r o d u c t s , l i n k N a m e , l i n k T y p e ' ; f "  
 +   " o r ( v a r   n = 1 ; n < 5 1 ; n + + ) s . v l _ t + = ' , p r o p ' + n + ' , e V a r ' + n + ' , h i e r ' + n ; s . v l _ g = s . "  
 +   " v l _ t + ' , t r a c k D o w n l o a d L i n k s , t r a c k E x t e r n a l L i n k s , t r a c k I n l i n e S t a t s , l i n k L "  
 +   " e a v e Q u e r y S t r i n g , l i n k D o w n l o a d F i l e T y p e s , l i n k E x t e r n a l F i l t e r s , l i n k I n t e r "  
 +   " n a l F i l t e r s , l i n k N a m e s ' ; s . p g = p g ; s . g l ( s . v l _ g ) ; i f ( ! s s ) s . w d s ( ) } " ,   l   =   w i n d o w . s _ c _ i l ,   n   =   n a v i g a t o r ,   u   =   n . u s e r A g e n t ,   v   =   n . a p p V e r s i o n ,   e   =   v . i n d e x O f ( ' M S I E   ' ) ,   m   =   u . i n d e x O f ( ' N e t s c a p e 6 / ' ) ,   a ,   i ,   s ;   i f   ( l )   f o r   ( i   =   0 ;   i   <   l . l e n g t h ;   i + + )  
         {  
                 s   =   l [ i ] ;   i f   ( s . o u n   = =   u n )   r e t u r n   s ;   e l s e   i f   ( s . f s ( s . o u n ,   u n ) )  
                 {   s . s a ( u n ) ;   r e t u r n   s   }    
         }   i f   ( e   >   0 )   {   a   =   p a r s e I n t ( i   =   v . s u b s t r i n g ( e   +   5 ) ) ;   i f   ( a   >   3 )   a   =   p a r s e F l o a t ( i )   }  
         e l s e   i f   ( m   >   0 )   a   =   p a r s e F l o a t ( u . s u b s t r i n g ( m   +   1 0 ) ) ;   e l s e   a   =   p a r s e F l o a t ( v ) ;   i f   ( a   > =   5   & &   v . i n d e x O f ( ' O p e r a ' )   <   0   & &   u . i n d e x O f ( ' O p e r a ' )   <   0 )  
         {  
                 e v a l ( c ) ;   r e t u r n   n e w    
 s _ c ( u n ,   p g ,   s s )  
         }   e l s e   s   =   s _ c 2 f ( c ) ;   r e t u r n   s ( u n ,   p g ,   s s )  
 }   f u n c t i o n   s _ c o ( o )  
 {   v a r   s   =   s _ g i ( " ^ " ,   1 ,   1 ) ;   r e t u r n   s . c o ( o )   }   f u n c t i o n   s _ g s ( u n )  
 {   v a r   s   =   s _ g i ( u n ,   1 ,   1 ) ;   r e t u r n   s . t ( )   }   f u n c t i o n   s _ d c ( u n )   {   v a r   s   =   s _ g i ( u n ,   1 ) ;   r e t u r n   s . t ( )   }  
 v a r   _ e I B D R e g i s t r a t i o n P a g e U r l   =   " " ;   v a r   _ e I B D R e g i s t r a t i o n D i v I d   =   " " ;   v a r   _ e I B D W e b V e r s i o n U r l   =   " " ;   v a r   _ e I B D P d f V e r s i o n U r l   =   " " ;  
 s I n i t S y m b o l   =   e s c a p e ( " 0 S & P 5 " ) ;   v a r   s D G O P r o d u c t s S i t e   =   " " ;   i n t W i d t h   =   7 5 0 ;   i n t H e i g h t   =   3 7 5 ;   s i g p r o p s   =   " t o p = 2 5 , l e f t = 2 5 , w i d t h = 6 4 0 , h e i g h t = 4 0 0 , d i r e c t o r i e s = n o , s t a t u s = n o , l o c a t i o n = 0 , t o o l b a r = n o , s c r o l l b a r s = y e s , r e s i z a b l e = y e s , m e n u b a r = n o , c o p y h i s t o r y = n o , a l w a y s R a i s e d = 1 , d e p e n d e n t = y e s " ;   i f   ( s c r e e n . w i d t h   >   1 0 2 4 )  
 {   i n t W i d t h   =   1 0 2 4 ;   i n t W i d t h P V C   =   1 0 3 4 ;   i n t H e i g h t   =   s c r e e n . h e i g h t   -   1 2 5 ;   d g o w i n d o w p r o p s   =   " t o p = 2 5 , l e f t = 2 5 "   +   " , w i d t h = "   +   i n t W i d t h   +   " , h e i g h t = "   +   i n t H e i g h t   +   " d i r e c t o r i e s = 0 , s t a t u s = 1 , l o c a t i o n = 0 , t o o l b a r = 0 , s c r o l l b a r s = 1 , r e s i z a b l e = 1 , m e n u b a r = 0 , c o p y h i s t o r y = 0 , a l w a y s R a i s e d = 0 " ;   d g o w i n d o w p r i n t s   =   " t o p = 2 , l e f t = 2 5 "   +   " , w i d t h = "   +   i n t W i d t h   +   " , h e i g h t = "   +   i n t H e i g h t   +   " d i r e c t o r i e s = 0 , s t a t u s = 1 , l o c a t i o n = 0 , t o o l b a r = 1 , s c r o l l b a r s = 1 , r e s i z a b l e = 1 , m e n u b a r = 1 , c o p y h i s t o r y = 0 , a l w a y s R a i s e d = 0 " ;   }   e l s e   i f   ( s c r e e n . w i d t h   = =   1 0 2 4 )  
 {   i n t W i d t h   =   s c r e e n . w i d t h   -   1 0 0 ;   i n t W i d t h P V C   =   s c r e e n . w i d t h   -   1 0 0 ;   i n t H e i g h t   =   s c r e e n . h e i g h t   -   1 2 5 ;   d g o w i n d o w p r o p s   =   " t o p = 2 5 , l e f t = 2 5 "   +   " , w i d t h = "   +   i n t W i d t h   +   " , h e i g h t = "   +   i n t H e i g h t   +   " d i r e c t o r i e s = 0 , s t a t u s = 1 , l o c a t i o n = 0 , t o o l b a r = 0 , s c r o l l b a r s = 1 , r e s i z a b l e = 1 , m e n u b a r = 0 , c o p y h i s t o r y = 0 , a l w a y s R a i s e d = 0 " ;   d g o w i n d o w p r i n t s   =   " t o p = 2 , l e f t = 2 5 "   +   " , w i d t h = "   +   i n t W i d t h   +   " , h e i g h t = "   +   i n t H e i g h t   +   " d i r e c t o r i e s = 0 , s t a t u s = 1 , l o c a t i o n = 0 , t o o l b a r = 1 , s c r o l l b a r s = 1 , r e s i z a b l e = 1 , m e n u b a r = 1 , c o p y h i s t o r y = 0 , a l w a y s R a i s e d = 0 " ;   }   e l s e  
 {   i n t W i d t h   =   s c r e e n . w i d t h   -   1 0 0 ;   i n t W i d t h P V C   =   s c r e e n . w i d t h   -   1 0 0 ;   i n t H e i g h t   =   s c r e e n . h e i g h t   -   1 2 5 ;   d g o w i n d o w p r o p s   =   " t o p = 0 , l e f t = 0 "   +   " , w i d t h = "   +   i n t W i d t h   +   " , h e i g h t = "   +   i n t H e i g h t   +   " , d i r e c t o r i e s = 0 , s t a t u s = 1 , l o c a t i o n = 0 , t o o l b a r = 0 , s c r o l l b a r s = 1 , r e s i z a b l e = 1 , m e n u b a r = 0 , c o p y h i s t o r y = 0 , a l w a y s R a i s e d = 0 " ;   d g o w i n d o w p r i n t s   =   " t o p = 0 , l e f t = 0 "   +   " , w i d t h = "   +   i n t W i d t h   +   " , h e i g h t = "   +   i n t H e i g h t   +   " , d i r e c t o r i e s = 0 , s t a t u s = 1 , l o c a t i o n = 0 , t o o l b a r = 1 , s c r o l l b a r s = 1 , r e s i z a b l e = 1 , m e n u b a r = 1 , c o p y h i s t o r y = 0 , a l w a y s R a i s e d = 0 " ;   }  
 v a r   x w i d t h ;   x w i d t h   =   s c r e e n . w i d t h   /   3 0 0 ;   i f   ( x w i d t h   <   6 )   x w i d t h   =   4 ;   i f   ( x w i d t h   >   6 )   x w i d t h   =   5 ;   i n t W i d t h S m l   =   x w i d t h   *   1 2 4 ;   i n t W i d t h S m   =   i n t W i d t h S m l   +   4 2 ;   v a r   x h e i g h t ;   x h e i g h t   =   s c r e e n . h e i g h t ;   i f   ( x h e i g h t   >   8 0 0 )   i n t H e i g h t S m   =   x h e i g h t   *   1 7   /   2 0 ;   i f   ( x h e i g h t   <   8 0 0 )   i n t H e i g h t S m   =   x h e i g h t   *   1 7   /   2 0 ;   v a r   t H e i g h t ;   t H e i g h t   =   s c r e e n . h e i g h t ;   v a r   t W i d t h ;   t W i d t h   =   s c r e e n . w i d t h ;   i n t W i d t h 2   =   6 0 0  
 i n t W i d t h 3   =   s c r e e n . w i d t h   *   . 8 5  
 i n t H e i g h t 2   =   s c r e e n . h e i g h t   -   2 2 0  
 i n t H e i g h t 3   =   s c r e e n . h e i g h t   *   . 7  
 f u n d w i n d o w p r o p s   =   " t o p = 1 5 , l e f t = 1 5 "   +   " , w i d t h = "   +   i n t W i d t h 3   +   " , h e i g h t = "   +   i n t H e i g h t 3   +   " , d i r e c t o r i e s = 0 , s t a t u s = 1 , l o c a t i o n = 0 , t o o l b a r = 0 , s c r o l l b a r s = 1 , r e s i z a b l e = 1 , m e n u b a r = 0 , c o p y h i s t o r y = 0 , a l w a y s R a i s e d = 0 " ;   c o m p w i n d o w p r o p s   =   " t o p = 5 5 , l e f t = 5 5 "   +   " , w i d t h = "   +   i n t W i d t h 3   +   " , h e i g h t = "   +   i n t H e i g h t 3   +   " , d i r e c t o r i e s = 0 , s t a t u s = 1 , l o c a t i o n = 0 , t o o l b a r = 0 , s c r o l l b a r s = 1 , r e s i z a b l e = 1 , m e n u b a r = 0 , c o p y h i s t o r y = 0 , a l w a y s R a i s e d = 0 " ;   i g w i n d o w p r o p s   =   " t o p = 4 5 , l e f t = 4 5 "   +   " , w i d t h = "   +   i n t W i d t h 3   +   " , h e i g h t = "   +   i n t H e i g h t 3   +   " , d i r e c t o r i e s = 0 , s t a t u s = 1 , l o c a t i o n = 0 , t o o l b a r = 0 , s c r o l l b a r s = 1 , r e s i z a b l e = 1 , m e n u b a r = 0 , c o p y h i s t o r y = 0 , a l w a y s R a i s e d = 0 " ;   o g w i n d o w p r o p s   =   " t o p = 4 5 , l e f t = 4 5 "   +   " , w i d t h = "   +   i n t W i d t h 3   +   " , h e i g h t = "   +   i n t H e i g h t 3   +   " , d i r e c t o r i e s = 0 , s t a t u s = 1 , l o c a t i o n = 0 , t o o l b a r = 0 , s c r o l l b a r s = 1 , r e s i z a b l e = 1 , m e n u b a r = 0 , c o p y h i s t o r y = 0 , a l w a y s R a i s e d = 0 " ;   c s w i n d o w p r o p s   =   " t o p = 3 5 , l e f t = 3 5 "   +   " , w i d t h = "   +   i n t W i d t h 2   +   " , h e i g h t = "   +   i n t H e i g h t 2   +   " , d i r e c t o r i e s = 0 , s t a t u s = 1 , l o c a t i o n = 0 , t o o l b a r = 0 , s c r o l l b a r s = 1 , r e s i z a b l e = 1 , m e n u b a r = 1 , c o p y h i s t o r y = 0 , a l w a y s R a i s e d = 0 " ;   a d v s c r w i n d o w p r o p s   =   " t o p = 3 5 , l e f t = 3 5 , w i d t h = 6 2 0 , h e i g h t = "   +   i n t H e i g h t 2   +   " , d i r e c t o r i e s = 0 , s t a t u s = 1 , l o c a t i o n = 0 , t o o l b a r = 0 , s c r o l l b a r s = 1 , r e s i z a b l e = 1 , m e n u b a r = 1 , c o p y h i s t o r y = 0 , a l w a y s R a i s e d = 0 " ;   i b d d w i n d o w p r o p s   =   " t o p = 2 5 , l e f t = 2 5 "   +   " , w i d t h = "   +   i n t W i d t h P V C   +   " , h e i g h t = "   +   i n t H e i g h t   +   " , d i r e c t o r i e s = 0 , s t a t u s = 1 , l o c a t i o n = 0 , t o o l b a r = 0 , s c r o l l b a r s = 1 , r e s i z a b l e = 1 , m e n u b a r = 0 , c o p y h i s t o r y = 0 , a l w a y s R a i s e d = 0 " ;   i b d w w i n d o w p r o p s   =   " t o p = 2 0 , l e f t = 2 0 "   +   " , w i d t h = "   +   i n t W i d t h S m   +   " , h e i g h t = "   +   i n t H e i g h t   +   " , d i r e c t o r i e s = 0 , s t a t u s = 1 , l o c a t i o n = 0 , t o o l b a r = 0 , s c r o l l b a r s = 0 , r e s i z a b l e = 1 , m e n u b a r = 0 , c o p y h i s t o r y = 0 , a l w a y s R a i s e d = 0 " ;   c u p w i n d o w p r o p s   =   " t o p = 0 , l e f t = 2 5 "   +   " , w i d t h = "   +   i n t W i d t h   +   " , h e i g h t = "   +   ( i n t H e i g h t   -   2 5 )   +   " , d i r e c t o r i e s = 0 , s t a t u s = 1 , l o c a t i o n = 0 , t o o l b a r = 0 , s c r o l l b a r s = 1 , r e s i z a b l e = 1 , m e n u b a r = 1 , c o p y h i s t o r y = 0 , a l w a y s R a i s e d = 0 " ;   v a r   a r r G r a p h P o p u p   =   n e w   A r r a y ( ) ;   a r r G r a p h P o p u p [ 0 ,   0 ]   =   0 ;   a r r G r a p h P o p u p [ 1 ,   0 ]   =   0 ;   a r r G r a p h P o p u p [ 2 ,   0 ]   =   0 ;   f u n c t i o n   j s f O p e n P o w e r T o o l ( s S y m b o l ,   i T y p e ,   s P a g e )  
 {  
         i f   ( i T y p e   = =   " " )  
         {   i T y p e   =   1 ;   }  
         s w i t c h   ( p a r s e I n t ( i T y p e ) )  
         {  
                 c a s e   1 :   w i n d o w . l o c a t i o n   =   " / S t o c k R e s e a r c h / Q u o t e . a s p x ? S y m b o l = "   +   s S y m b o l  
                         b r e a k ;   c a s e   2 :   w i n d o w . l o c a t i o n   =   " / S t o c k R e s e a r c h / S t o c k C h e c k u p . a s p x ? S y m b o l = "   +   s S y m b o l ;   b r e a k ;   c a s e   3 :   i f   ( s P a g e . i n d e x O f ( " ; " )   >   - 1 )  
                         {   a r r A t t r   =   s P a g e . s p l i t ( " ; " ) ;   j s f C h a r t s C o n t r o l ( s S y m b o l ,   a r r A t t r [ 0 ] ,   a r r A t t r [ 1 ] ,   p a r s e I n t ( a r r A t t r [ 2 ] ) ,   a r r A t t r [ 3 ] ) ;   }  
                         e l s e  
                         {   j s f C h a r t s C o n t r o l ( s S y m b o l ,   ' p v c ' ,   ' d a i l y ' ,   0 ,   s P a g e ) ;   }  
                         b r e a k ;  
         }    
 }  
 f u n c t i o n   g o P o p u p S t o c k L i s t s ( s t r S y m b o l ,   i s F r o m P o p u p )  
 {   w i n d o w . n a m e   =   " w i n M a i n " ;   s t r U r l   =   " / M y I B D / E d i t P o r t f o l i o . a s p x ? a c t i o n = n e w & s y m b o l = "   +   s t r S y m b o l ;   v a r   p o p u p S t o c k L i s t s   =   w i n d o w . o p e n ( s t r U r l ,   " p o p u p S t o c k L i s t s " ,   " w i d t h = 5 3 0 , h e i g h t = 3 0 0 , d i r e c t o r i e s = n o , s t a t u s = n o , l o c a t i o n = n o , t o o l b a r = n o , s c r o l l b a r s = y e s , r e s i z e = y e s , m e n u b a r = n o , c o p y h i s t o r y = n o , a l w a y s R a i s e d = 0 , d e p e n d e n t = 0 " ) ;   }  
 f u n c t i o n   g o Q u o t e s ( t i c k e r ,   s C a m p a i g n )  
 {   d o c u m e n t . f o r C h a r t s . h t m C h a r t V a l u e . v a l u e   =   ' 1 ' ;   d o c u m e n t . f o r C h a r t s . h t m A d d i t i o n a l V a l u e . v a l u e   =   s C a m p a i g n ;   d o c u m e n t . f o r C h a r t s . h t m T i c k e r . v a l u e   =   t i c k e r ;   d o c u m e n t . f o r C h a r t s . s u b m i t ( ) ;   }  
 f u n c t i o n   g o C h a r t s ( t i c k e r ,   s C a m p a i g n )  
 {  
         i f   ( s C a m p a i g n   ! =   ' ' )  
         {   j s f O p e n P o w e r T o o l ( t i c k e r ,   3 ,   l c a s e ( s C a m p a i g n )   +   ' ; d a i l y ; 0 ; ' ) ;   }  
         e l s e  
         {   j s f O p e n P o w e r T o o l ( t i c k e r ,   3 ,   ' p v c ; d a i l y ; 0 ; ' ) ;   }    
 }  
 f u n c t i o n   g o S t o c k C h e c k u p s ( t i c k e r ,   s C a m p a i g n )  
 {   d o c u m e n t . f o r C h a r t s . h t m C h a r t V a l u e . v a l u e   =   ' 2 ' ;   d o c u m e n t . f o r C h a r t s . h t m A d d i t i o n a l V a l u e . v a l u e   =   s C a m p a i g n ;   d o c u m e n t . f o r C h a r t s . h t m T i c k e r . v a l u e   =   t i c k e r ;   d o c u m e n t . f o r C h a r t s . s u b m i t ( ) ;   }  
 f u n c t i o n   j s f C h a r t s C o n t r o l ( s t r T i c k e r ,   s G r a p h T y p e ,   s M o d e ,   i T y p e O n l y ,   s A d d P r m s )  
 {  
         v a r   i L o g i n   =   " " ;   v a r   s T y p e ;   v a r   w i n d o w I n d e x   =   - 1 ;   v a r   w i n d o w N a m e ;   v a r   w i n d o w T y p e s ;   v a r   i s N S   =   0 ;   b r o w s e r P l a t f o r m   =   n a v i g a t o r . p l a t f o r m  
         b r o w s e r N a m e   =   n a v i g a t o r . a p p N a m e ;   b r o w s e r V e r   =   p a r s e I n t ( n a v i g a t o r . a p p V e r s i o n ) ;   i f   ( b r o w s e r P l a t f o r m . t o L o w e r C a s e ( ) . i n d e x O f ( ' m a c ' )   <   0 )  
         {   s t r T i c k e r   =   s t r T i c k e r . r e p l a c e ( /   / g i ,   " " ) ;   }  
         i f   ( b r o w s e r N a m e   = =   " N e t s c a p e "   | |   b r o w s e r N a m e   = =   " M o z i l l a " )  
                 i s N S   =   1 ;   i f   ( w i n d o w . n a m e   = =   " "   | |   w i n d o w . n a m e   = =   n u l l )  
         {   w i n d o w . n a m e   =   " w i n M a i n " ;   }  
         s t r T i c k e r   =   e s c a p e ( s t r T i c k e r ) ;   i L o g i n   =   i L o g i n F l a g ;   i T y p e O n l y   =   p a r s e I n t ( i T y p e O n l y ) ;   i f   ( s t r T i c k e r   = =   " " )  
         {   s t r T i c k e r   =   s I n i t S y m b o l ;   }  
         s T y p e   =   s G r a p h T y p e ;   i f   ( i T y p e O n l y   = =   0   & &   i L o g i n   = =   " 1 " )  
         {   s T y p e   =   j s f C h e c k C h a r t T o O p e n ( s G r a p h T y p e ) ;   }  
         s T y p e   =   s T y p e . t o L o w e r C a s e ( ) ;   s M o d e   =   s M o d e . t o L o w e r C a s e ( ) ;   s w i t c h   ( s T y p e )  
         {  
                 c a s e   " p v c " :   c a s e   " i f t " :   c a s e   " t r u " :   c a s e   " w b m " :   c a s e   " e t f " :   c a s e   " m k t " :   c a s e   " e n l " :   c a s e   " f s c " :   c a s e   " h b o " :   c a s e   " s o d " :   c a s e   " m d c " :   i f   ( s M o d e   = =   " w e e k l y " )  
                         {   w i n d o w I n d e x   =   2 ;   i b d w i n d o w p r o p s   =   i b d w w i n d o w p r o p s ;   w i n d o w T y p e s   =   " P V W " ;   }  
                         e l s e  
                         {   w i n d o w I n d e x   =   0 ;   i b d w i n d o w p r o p s   =   i b d d w i n d o w p r o p s ;   w i n d o w T y p e s   =   s T y p e . t o U p p e r C a s e ( ) ;   }  
                         w i n d o w N a m e   =   " i b d "   +   s M o d e   +   " N " ;   b r e a k ;   c a s e   " d g x " :   w i n d o w I n d e x   =   1 ;   i b d w i n d o w p r o p s   =   d g o w i n d o w p r o p s ;   w i n d o w N a m e   =   " d g o G r a p h s N " ;   w i n d o w T y p e s   =   " D G X , D G W , D G M , D G D " ;   c a s e   " d g f " :   w i n d o w I n d e x   =   4 ;   i b d w i n d o w p r o p s   =   f u n d w i n d o w p r o p s ;   w i n d o w N a m e   =   " f n d G r a p h s N " ;   w i n d o w T y p e s   =   " D G F " ;   c a s e   " d g i " :   w i n d o w I n d e x   =   4 ;   i b d w i n d o w p r o p s   =   i g w i n d o w p r o p s ;   w i n d o w N a m e   =   " d g i G r a p h s N " ;   w i n d o w T y p e s   =   " D G I " ;   c a s e   " d g g " :   w i n d o w I n d e x   =   5 ;   i b d w i n d o w p r o p s   =   o g w i n d o w p r o p s ;   w i n d o w N a m e   =   " o p t G r a p h s N " ;   w i n d o w T y p e s   =   " D G G " ;  
         }  
         t r y  
         {  
                 i f   ( a r r G r a p h P o p u p [ w i n d o w I n d e x ,   0 ]   = =   0 )  
                 {  
                         i f   ( o p e n e r )  
                         {  
                                 i f   ( o p e n e r . o p e n   & &   ! o p e n e r . c l o s e d )  
                                 {  
                                         i f   ( o p e n e r . w i n d o w . n a m e   = =   w i n d o w N a m e )  
                                         {   a r r G r a p h P o p u p [ w i n d o w I n d e x ,   0 ]   =   1 ;   a r r G r a p h P o p u p [ w i n d o w I n d e x ,   1 ]   =   w i n d o w . o p e n e r . w i n d o w ;   }    
                                 }  
                                 e l s e  
                                 {   a r r G r a p h P o p u p [ w i n d o w I n d e x ,   0 ]   =   1 ;   s t r T i c k e r   =   s t r T i c k e r . r e p l a c e ( " % 2 5 2 6 " ,   " % 2 6 " ) ;   v a r   s u r l   =   " h t t p : / / "   +   s D G O P r o d u c t s S i t e   +   " / m e m b e r / D g o G r a p h s / d g o G r a p h s . a s p ? c h t = "   +   s T y p e   +   " & i b d M o d e = "   +   s M o d e   +   " & t = "   +   s t r T i c k e r   +   s A d d P r m s ;   a r r G r a p h P o p u p [ w i n d o w I n d e x ,   1 ]   =   w i n d o w . o p e n ( s u r l ,   w i n d o w N a m e ,   i b d w i n d o w p r o p s ) ;   a r r G r a p h P o p u p [ w i n d o w I n d e x ,   1 ] . f o c u s ( ) ;   r e t u r n ;   }    
                         }  
                         e l s e  
                         {   a r r G r a p h P o p u p [ w i n d o w I n d e x ,   0 ]   =   1 ;   s t r T i c k e r   =   s t r T i c k e r . r e p l a c e ( " % 2 5 2 6 " ,   " % 2 6 " ) ;   v a r   s u r l   =   " h t t p : / / "   +   s D G O P r o d u c t s S i t e   +   " / m e m b e r / D g o G r a p h s / d g o G r a p h s . a s p ? c h t = "   +   s T y p e   +   " & i b d M o d e = "   +   s M o d e   +   " & t = "   +   s t r T i c k e r   +   s A d d P r m s ;   a r r G r a p h P o p u p [ w i n d o w I n d e x ,   1 ]   =   w i n d o w . o p e n ( s u r l ,   w i n d o w N a m e ,   i b d w i n d o w p r o p s ) ;   a r r G r a p h P o p u p [ w i n d o w I n d e x ,   1 ] . f o c u s ( ) ;   r e t u r n ;   }    
                 }  
                 i f   ( a r r G r a p h P o p u p [ w i n d o w I n d e x ,   1 ]   & &   a r r G r a p h P o p u p [ w i n d o w I n d e x ,   1 ] . o p e n   & &   ! a r r G r a p h P o p u p [ w i n d o w I n d e x ,   1 ] . c l o s e d )  
                 {  
                         v a r   c u r r e n t U r l   =   a r r G r a p h P o p u p [ w i n d o w I n d e x ,   1 ] . w i n d o w . l o c a t i o n . t o S t r i n g ( ) ;   i f   ( a r r G r a p h P o p u p [ w i n d o w I n d e x ,   1 ] . d o c u m e n t . g e t E l e m e n t B y I d ( ' p l o t w o n 1 ' )   & &   ( w i n d o w T y p e s . i n d e x O f ( a r r G r a p h P o p u p [ w i n d o w I n d e x ,   1 ] . d o c u m e n t . g e t E l e m e n t B y I d ( ' p l o t w o n 1 ' ) . G r I d . t o U p p e r C a s e ( ) )   >   - 1 ) )  
                         {  
                                 s t r T i c k e r   =   u n e s c a p e ( s t r T i c k e r ) ;   s t r T i c k e r   =   s t r T i c k e r . r e p l a c e ( / % 2 6 / g i ,   " & " ) ;   a r r G r a p h P o p u p [ w i n d o w I n d e x ,   1 ] . f o c u s ( ) ;   i f   ( a r r G r a p h P o p u p [ w i n d o w I n d e x ,   1 ] . d o c u m e n t . g e t E l e m e n t B y I d ( ' h t m T i c k e r I F T ' ) )  
                                 {   a r r G r a p h P o p u p [ w i n d o w I n d e x ,   1 ] . d o c u m e n t . d g f 1 . h t m T i c k e r I F T . s t y l e . b a c k g r o u n d   =   " r e d " ;   a r r G r a p h P o p u p [ w i n d o w I n d e x ,   1 ] . d o c u m e n t . d g f 1 . h t m T i c k e r I F T . v a l u e   =   s t r T i c k e r ;   a r r G r a p h P o p u p [ w i n d o w I n d e x ,   1 ] . G r a p h _ o n c l i c k ( ) ;   a r r G r a p h P o p u p [ w i n d o w I n d e x ,   1 ] . d o c u m e n t . d g f 1 . h t m T i c k e r I F T . s t y l e . b a c k g r o u n d   =   " w h i t e " ;   }  
                                 e l s e  
                                 {  
                                         a r r G r a p h P o p u p [ w i n d o w I n d e x ,   1 ] . d o c u m e n t . d g f 1 . h t m T i c k e r . s t y l e . b a c k g r o u n d   =   " r e d " ;   a r r G r a p h P o p u p [ w i n d o w I n d e x ,   1 ] . d o c u m e n t . d g f 1 . h t m T i c k e r . v a l u e   =   s t r T i c k e r ;   i f   ( a r r G r a p h P o p u p [ w i n d o w I n d e x ,   1 ] . G r a p h _ o n c l i c k )  
                                         {   a r r G r a p h P o p u p [ w i n d o w I n d e x ,   1 ] . G r a p h _ o n c l i c k ( ) ;   }  
                                         e l s e  
                                         {  
                                                 i f   ( i s N S   = =   0 )  
                                                 {   a r r G r a p h P o p u p [ w i n d o w I n d e x ,   1 ] . d o c u m e n t . d g f 1 . p l o t w o n 1 . g r T y p   =   a r r G r a p h P o p u p [ w i n d o w I n d e x ,   1 ] . d o c u m e n t . d g f 1 . G r T y p e . v a l u e ;   a r r G r a p h P o p u p [ w i n d o w I n d e x ,   1 ] . d o c u m e n t . d g f 1 . p l o t w o n 1 . G r I D   =   s T y p e . t o U p p e r C a s e ( ) ;   a r r G r a p h P o p u p [ w i n d o w I n d e x ,   1 ] . d o c u m e n t . d g f 1 . D P F M n g r 1 . S y m b o l   =   s t r T i c k e r ;   a r r G r a p h P o p u p [ w i n d o w I n d e x ,   1 ] . d o c u m e n t . d g f 1 . p l o t w o n 1 . s y m   =   s t r T i c k e r ;   }  
                                                 e l s e  
                                                 {   a r r G r a p h P o p u p [ w i n d o w I n d e x ,   1 ] . p l o t w o n 1 . g r T y p   =   a r r G r a p h P o p u p [ w i n d o w I n d e x ,   1 ] . d o c u m e n t . d g f 1 . G r T y p e . v a l u e ;   a r r G r a p h P o p u p [ w i n d o w I n d e x ,   1 ] . p l o t w o n 1 . G r I D   =   s T y p e . t o U p p e r C a s e ( ) ;   a r r G r a p h P o p u p [ w i n d o w I n d e x ,   1 ] . D P F M n g r 1 . S y m b o l   =   s t r T i c k e r ;   a r r G r a p h P o p u p [ w i n d o w I n d e x ,   1 ] . p l o t w o n 1 . s y m   =   s t r T i c k e r ;   }    
                                         }  
                                         a r r G r a p h P o p u p [ w i n d o w I n d e x ,   1 ] . d o c u m e n t . d g f 1 . h t m T i c k e r . s t y l e . b a c k g r o u n d   =   " w h i t e " ;  
                                 }    
                         }  
                         e l s e  
                         {   s t r T i c k e r   =   s t r T i c k e r . r e p l a c e ( " % 2 5 2 6 " ,   " % 2 6 " ) ;   v a r   s u r l   =   " h t t p : / / "   +   s D G O P r o d u c t s S i t e   +   " / m e m b e r / D g o G r a p h s / d g o G r a p h s . a s p ? c h t = "   +   s T y p e   +   " & i b d M o d e = "   +   s M o d e   +   " & t = "   +   s t r T i c k e r   +   s A d d P r m s ;   a r r G r a p h P o p u p [ w i n d o w I n d e x ,   0 ]   =   1 ;   a r r G r a p h P o p u p [ w i n d o w I n d e x ,   1 ]   =   w i n d o w . o p e n ( s u r l ,   w i n d o w N a m e ,   i b d w i n d o w p r o p s ) ;   a r r G r a p h P o p u p [ w i n d o w I n d e x ,   1 ] . f o c u s ( ) ;   }    
                 }  
                 e l s e  
                 {   s t r T i c k e r   =   s t r T i c k e r . r e p l a c e ( " % 2 5 2 6 " ,   " % 2 6 " ) ;   v a r   s u r l   =   " h t t p : / / "   +   s D G O P r o d u c t s S i t e   +   " / m e m b e r / D g o G r a p h s / d g o G r a p h s . a s p ? c h t = "   +   s T y p e   +   " & i b d M o d e = "   +   s M o d e   +   " & t = "   +   s t r T i c k e r   +   s A d d P r m s ;   a r r G r a p h P o p u p [ w i n d o w I n d e x ,   0 ]   =   1 ;   a r r G r a p h P o p u p [ w i n d o w I n d e x ,   1 ]   =   w i n d o w . o p e n ( s u r l ,   w i n d o w N a m e ,   i b d w i n d o w p r o p s ) ;   a r r G r a p h P o p u p [ w i n d o w I n d e x ,   1 ] . f o c u s ( ) ;   }    
         }  
         c a t c h   ( e )  
 {   s t r T i c k e r   =   s t r T i c k e r . r e p l a c e ( " % 2 5 2 6 " ,   " % 2 6 " ) ;   v a r   s u r l   =   " h t t p : / / "   +   s D G O P r o d u c t s S i t e   +   " / m e m b e r / D g o G r a p h s / d g o G r a p h s . a s p ? c h t = "   +   s T y p e   +   " & i b d M o d e = "   +   s M o d e   +   " & t = "   +   s t r T i c k e r   +   s A d d P r m s ;   a r r G r a p h P o p u p [ w i n d o w I n d e x ,   0 ]   =   1 ;   a r r G r a p h P o p u p [ w i n d o w I n d e x ,   1 ]   =   w i n d o w . o p e n ( s u r l ,   w i n d o w N a m e ,   i b d w i n d o w p r o p s ) ;   a r r G r a p h P o p u p [ w i n d o w I n d e x ,   1 ] . f o c u s ( ) ;   }    
 }  
 f u n c t i o n   j s f C h e c k C h a r t T o O p e n ( s t r T y p e )  
 {  
         i f   ( s A c c e s s . l e n g t h   >   0 )  
         {   r e t u r n   s A c c e s s . t o L o w e r C a s e ( ) ;   }  
         r e t u r n   s t r T y p e ;  
 }  
 f u n c t i o n   m y E I B D I n i t i a l i z e ( r e g P a g e U r l ,   r e g D i v I d ,   w e b V e r s i o n U r l ,   p d f V e r s i o n U r l )  
 {   _ e I B D R e g i s t r a t i o n P a g e U r l   =   r e g P a g e U r l ;   _ e I B D R e g i s t r a t i o n D i v I d   =   r e g D i v I d ,   _ e I B D W e b V e r s i o n U r l   =   w e b V e r s i o n U r l ;   _ e I B D P d f V e r s i o n U r l   =   p d f V e r s i o n U r l ;   $ ( ' # '   +   _ e I B D R e g i s t r a t i o n D i v I d ) . j q m ( {   a j a x :   _ e I B D R e g i s t r a t i o n P a g e U r l ,   t o T o p :   t r u e ,   m o d a l :   t r u e ,   o n L o a d :   R e m o v e V i e w S t a t e F i e l d   } ) ;   }  
 f u n c t i o n   m y E I B D ( )  
 {   W o n . I C o m . C o d e . S e r v i c e s . S i t e A j a x S e r v i c e . G e t M y E I B D D e f a u l t S e t t i n g s ( o n M y E I B D C o m p l e t e ,   o n M y E I B D T i m e O u t ,   o n M y E I B D E r r o r ) ;   }  
 f u n c t i o n   o n M y E I B D T i m e O u t ( a r g )  
 {   a l e r t ( a r g . _ m e s s a g e ) ;   }  
 f u n c t i o n   o n M y E I B D E r r o r ( a r g )  
 {   a l e r t ( a r g . _ m e s s a g e ) ;   }  
 f u n c t i o n   o n M y E I B D C o m p l e t e ( a r g )  
 {  
         s w i t c h   ( a r g )  
         {  
                 d e f a u l t :   {   w i n d o w . l o c a t i o n   =   g R o o t P a t h   +   " P r o d u c t s / d e f a u l t . a s p x ? i d = a e i - n " ;   b r e a k ;   }  
                 c a s e   - 2 :   {   w i n d o w . l o c a t i o n   =   g R o o t P a t h   +   " S e s s i o n L o g o f f . a s p x ? s i g n o u t = t r u e " ;   b r e a k ;   }  
                 c a s e   0 :   c a s e   1 :   {   m y E I B D S h o w P o p u p ( ) ;   b r e a k ;   }  
                 c a s e   2 :   {   m y E I B D O p e n P d f V e r s i o n ( ) ;   b r e a k ;   }  
                 c a s e   3 :   {   m y E I B D O p e n W e b V e r s i o n ( ) ;   b r e a k ;   }  
                 c a s e   4 :   {   m y E I B D O p e n R e c e n t I s s u e s ( f a l s e ) ;   b r e a k ;   }                    
         }  
 }  
 f u n c t i o n   m y E I B D S h o w P o p u p ( )  
 {    
 $ ( ' # m y E I B D M o d a l C o n t a i n e r ' ) . j q m ( {   t o T o p :   t r u e ,   m o d a l :   t r u e   } ) . j q m S h o w ( ) ;  
 i f   ( t y p e o f ( s )   ! =   ' u n d e f i n e d ' )  
 {  
         s . p a g e N a m e   =   " e I B D   L a n d i n g   P a g e " ;  
         s . c h a n n e l   =   " S t o c k   R e s e a r c h " ;  
         s . p r o p 3 = " e I B D " ;  
         s . p r o p 1 0 = " T o o l s " ;  
         s . p r o p 1 6 = " e I B D " ;  
         s . e V a r 1 6 = " e I B D " ;  
         s . e v e n t s = " e v e n t 1 1 " ;  
         s . h i e r 1 = s . c h a n n e l   +   " , "   +   s . p r o p 3 ;  
         s . t ( ) ;  
 }  
 }  
 f u n c t i o n   m y E I B D C l o s e P o p u p ( )  
 {   $ ( ' # m y E I B D M o d a l C o n t a i n e r ' ) . j q m H i d e ( ) ;   }  
 f u n c t i o n   m y E I B D S a v e P r e f e r e n c e ( )  
 {  
         v a r   o b j L i s t   =   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 ( " e I B D P r e f e r e n c e " ) ;   i f   ( o b j L i s t )  
         {  
                 f o r   ( v a r   i   =   0 ;   i   <   o b j L i s t . l e n g t h ;   i + + )  
                 {  
                         i f   ( o b j L i s t [ i ] . c h e c k e d )  
                         {  
                                 W o n . I C o m . C o d e . S e r v i c e s . S i t e A j a x S e r v i c e . S e t M y E I B D D e f a u l t S e t t i n g s ( p a r s e I n t ( o b j L i s t [ i ] . v a l u e ) ,   n u l l ,   o n M y E I B D T i m e O u t ,   o n M y E I B D E r r o r )  
                                 r e t u r n ;  
                         }    
                 }    
         }    
 }  
 f u n c t i o n   m y E I B D G o t o P d f V e r s i o n ( )  
 {   m y E I B D S a v e P r e f e r e n c e ( ) ;   m y E I B D C l o s e P o p u p ( ) ;   m y E I B D O p e n P d f V e r s i o n ( ) ;   }  
 f u n c t i o n   m y E I B D G o t o W e b V e r s i o n ( )  
 {   m y E I B D S a v e P r e f e r e n c e ( ) ;   m y E I B D C l o s e P o p u p ( ) ;   m y E I B D O p e n W e b V e r s i o n ( ) ;   }  
 f u n c t i o n   m y E I B D O p e n W e b V e r s i o n ( )    
 {  
         W o n . I C o m . C o d e . S e r v i c e s . S i t e A j a x S e r v i c e . T r a c k P r o d u c t ( ' e I B D   -   W e b ' , ' ' ) ;  
         i f   ( _ e I B D W e b V e r s i o n U r l   & &   _ e I B D W e b V e r s i o n U r l   ! =   " " )  
         {   v a r   p o p u p   =   w i n d o w . o p e n ( _ e I B D W e b V e r s i o n U r l ,   " M y E I B D " ) ;   i f   ( p o p u p   ! =   n u l l ) {   p o p u p . f o c u s ( ) ;   }   e l s e   {   w i n d o w . l o c a t i o n   =   _ e I B D W e b V e r s i o n U r l ;   } }  
 }  
 f u n c t i o n   m y E I B D O p e n R e c e n t I s s u e s ( s a v e P r e f e r e n c e )  
 {  
         i f   ( s a v e P r e f e r e n c e )   m y E I B D S a v e P r e f e r e n c e ( ) ;  
         w i n d o w . l o c a t i o n   =   g R o o t P a t h   +   " M y I B D / R e c e n t I s s u e s . a s p x " ;  
 }  
 f u n c t i o n   m y E I B D O p e n P d f V e r s i o n ( )  
 {  
         W o n . I C o m . C o d e . S e r v i c e s . S i t e A j a x S e r v i c e . T r a c k P r o d u c t ( ' e I B D   -   P D F ' , ' ' ) ;  
         i f   ( _ e I B D P d f V e r s i o n U r l   & &   _ e I B D P d f V e r s i o n U r l   ! =   " " )  
         {   v a r   p o p u p   =   w i n d o w . o p e n ( _ e I B D P d f V e r s i o n U r l ,   " M y E I B D " ) ;   i f   ( p o p u p   ! =   n u l l )   {   p o p u p . f o c u s ( ) ;   }   e l s e   {   w i n d o w . l o c a t i o n   =   _ e I B D P d f V e r s i o n U r l ;   }   }    
 }  
 f u n c t i o n   m y E I B D O p e n R e g i s t r a t i o n P o p u p ( )  
 {   w i n d o w . l o c a t i o n   =   ' / R o a d b l o c k . a s p x ? p r e v u r l = '   +   d e c o d e U R I C o m p o n e n t ( w i n d o w . l o c a t i o n . h r e f )   +   ' & t o o l = e I B D ' ;   }  
  
 v a r   m A T S L H i d e P o p u p   =   t r u e ;   v a r   m A T S L T i m e r I D   =   n u l l ;   v a r   m A T S L L a s t P o p u p I D   =   n u l l ;   f u n c t i o n   k i l l A T S L S h a r e T i m e r ( )  
 {  
         i f   ( m A T S L T i m e r I D )  
         {   c l e a r T i m e o u t ( m A T S L T i m e r I D ) ;   m A T S L T i m e r I D   =   n u l l ;   }    
 }  
 f u n c t i o n   s h o w A T S L P o p u p ( o b j L n k ,   s t r P o p u p I D ,   b l n S t o c k R o l l o v e r ,   s t r I n f o S p a n ,   s t r I n n e r H T M L )  
 {  
         k i l l A T S L S h a r e T i m e r ( ) ;   v a r   o b j P o p u p D i v   =   d o c u m e n t . g e t E l e m e n t B y I d ( s t r P o p u p I D ) ;   i f   ( ( m A T S L L a s t P o p u p I D )   & &   ( m A T S L L a s t P o p u p I D   ! =   s t r P o p u p I D ) )  
         {  
                 v a r   o b j L a s t P o p u p   =   d o c u m e n t . g e t E l e m e n t B y I d ( m A T S L L a s t P o p u p I D ) ;   i f   ( o b j L a s t P o p u p )  
                 {   o b j L a s t P o p u p . s t y l e . d i s p l a y   =   " n o n e " ;   }    
         }  
         m A T S L L a s t P o p u p I D   =   s t r P o p u p I D ;   i f   ( o b j P o p u p D i v )  
         {  
                 i f   ( ! b l n S t o c k R o l l o v e r )  
                         d o c u m e n t . b o d y . a p p e n d C h i l d ( o b j P o p u p D i v ) ;   i f   ( o b j P o p u p D i v . s t y l e )  
                 {  
                         i f   ( o b j P o p u p D i v . s t y l e . d i s p l a y   = =   " n o n e " )  
                         {  
                                 i f   ( ! b l n S t o c k R o l l o v e r )  
                                 {  
                                         v a r   o b j P o s   =   g e t P o s i t i o n ( o b j L n k ) ;   v a r   i L e f t   =   o b j P o s . x   +   1 5 ;   v a r   i T o p   =   o b j P o s . y   +   o b j L n k . o f f s e t H e i g h t ;   i f   ( i L e f t   +   1 5   +   2 5 0   >   d o c u m e n t . b o d y . o f f s e t W i d t h )  
                                         {  
                                                 v a r   i N e w L e f t   =   i L e f t   -   4 0   -   2 5 0 ;   i f   ( i N e w L e f t   >   0 )  
                                                 {   i L e f t   =   i N e w L e f t ;   o b j P o p u p D i v . s t y l e . l e f t   =   i L e f t . t o S t r i n g ( )   +   " p x " ;   }    
                                         }  
                                         o b j P o p u p D i v . s t y l e . l e f t   =   i L e f t . t o S t r i n g ( )   +   " p x " ;   o b j P o p u p D i v . s t y l e . t o p   =   i T o p . t o S t r i n g ( )   +   " p x " ;  
                                 }  
                                 v a r   o b j I n f o S p a n   =   d o c u m e n t . g e t E l e m e n t B y I d ( s t r I n f o S p a n ) ;   i f   ( o b j I n f o S p a n )  
                                 {   o b j I n f o S p a n . i n n e r H T M L   =   ' ' ;   }  
                                 i f   ( s t r I n n e r H T M L )  
                                 {   v a r   o b j C o n t e n t D i v   =   d o c u m e n t . g e t E l e m e n t B y I d ( ' a d d T o S t o c k L i s t C o n t a i n e r C o n t e n t ' ) ;   o b j C o n t e n t D i v . i n n e r H T M L   =   s t r I n n e r H T M L ;   }  
                                 o b j P o p u p D i v . s t y l e . d i s p l a y   =   " " ;  
                         }    
                 }    
         }    
 }  
 f u n c t i o n   d i v A T S L m o u s e L e a v e ( s t r P o p u p I D )  
 {   m A T S L H i d e P o p u p   =   t r u e ;   m A T S L T i m e r I D   =   s e t T i m e o u t ( " h i d e A T S L P o p u p ( ' "   +   s t r P o p u p I D   +   " ' ) " ,   1 0 0 ) ;   }  
 f u n c t i o n   d i v A T S L m o u s e E n t e r ( )  
 {   k i l l A T S L S h a r e T i m e r ( ) ;   m A T S L H i d e P o p u p   =   f a l s e ;   }  
 f u n c t i o n   h i d e A T S L P o p u p ( s t r P o p u p I D )  
 {  
         k i l l A T S L S h a r e T i m e r ( ) ;   i f   ( m A T S L H i d e P o p u p )  
         {  
                 v a r   o b j P o p u p D i v   =   d o c u m e n t . g e t E l e m e n t B y I d ( s t r P o p u p I D ) ;   i f   ( o b j P o p u p D i v )  
                 {  
                         i f   ( o b j P o p u p D i v . s t y l e )  
                         {  
                                 i f   ( o b j P o p u p D i v . s t y l e . d i s p l a y   = =   " " )  
                                 {   o b j P o p u p D i v . s t y l e . d i s p l a y   =   " n o n e " ;   }    
                         }    
                 }    
         }    
 }  
 f u n c t i o n   c h b A T S L C l i c k ( o b j C h e c k B o x ,   l i s t I d ,   s y m b o l ,   n a m e ,   i n f o S p a n I D )  
 {  
         i f   ( o b j C h e c k B o x . c h e c k e d )  
         {   A d d S y m b o l T o L i s t ( o b j C h e c k B o x ,   l i s t I d ,   s y m b o l ,   n a m e ,   i n f o S p a n I D ) ;   }  
         e l s e  
         {   D e l e t e S t o c k F r o m L i s t ( l i s t I d ,   s y m b o l ,   n a m e ,   i n f o S p a n I D ) ;   }    
 }  
 f u n c t i o n   A d d S y m b o l T o L i s t ( o b j C h e c k B o x ,   l i s t I D ,   s y m b o l ,   l i s t N a m e ,   i n f o S p a n I D )  
 {  
         W o n . I C o m . C o d e . S e r v i c e s . S i t e A j a x S e r v i c e . A d d T o S t o c k L i s t ( l i s t I D ,   s y m b o l ,  
         f u n c t i o n ( a r g )  
         {  
                 v a r   o b j I n f o S p a n   =   d o c u m e n t . g e t E l e m e n t B y I d ( i n f o S p a n I D ) ;   o b j I n f o S p a n . i n n e r H T M L   =   " " ;  
                 s w i t c h   ( a r g )  
                 {  
                         c a s e   - 1 :   {   o b j I n f o S p a n . i n n e r H T M L   =   s y m b o l . t o U p p e r C a s e ( )   +   '   a l r e a d y   e x i s t s   i n   '   +   l i s t N a m e   +   ' . ' ;   o b j C h e c k B o x . c h e c k e d   =   f a l s e ;   }   b r e a k ;  
                         c a s e   0 :   {   o b j I n f o S p a n . i n n e r H T M L   =   l i s t N a m e   +   "   i s   f u l l .   "   +   s y m b o l . t o U p p e r C a s e ( )   +   "   h a s   n o t   b e e n   a d d e d   t o   "   +   l i s t N a m e   +   " . " ;   o b j C h e c k B o x . c h e c k e d   =   f a l s e ;   }   b r e a k ;  
                         c a s e   1 :   {   o b j I n f o S p a n . i n n e r H T M L   =   s y m b o l . t o U p p e r C a s e ( )   +   "   h a s   b e e n   a d d e d   t o   "   +   l i s t N a m e   +   " . " ;   }   b r e a k ;  
                 }  
         } ,  
         O n A T S L T i m e O u t ,   O n A T S L E r r o r ) ;  
 }  
 f u n c t i o n   D e l e t e S t o c k F r o m L i s t ( l i s t I D ,   s y m b o l ,   l i s t N a m e ,   i n f o S p a n I D )  
 {  
         W o n . I C o m . C o d e . S e r v i c e s . S i t e A j a x S e r v i c e . D e l e t e S t o c k F r o m L i s t ( l i s t I D ,   s y m b o l ,   f u n c t i o n ( a r g )  
         {  
                 v a r   o b j I n f o S p a n   =   d o c u m e n t . g e t E l e m e n t B y I d ( i n f o S p a n I D ) ;   o b j I n f o S p a n . i n n e r H T M L   =   " " ;   i f   ( a r g   = =   f a l s e )  
                 {   }  
                 e l s e  
                 {   o b j I n f o S p a n . i n n e r H T M L   =   s y m b o l . t o U p p e r C a s e ( )   +   "   h a s   b e e n   r e m o v e d   f r o m   "   +   l i s t N a m e   +   " . " ;   }    
         } ,   O n A T S L T i m e O u t ,   O n A T S L E r r o r ) ;  
 }  
 f u n c t i o n   O n A T S L T i m e O u t ( a r g )  
 {   a l e r t ( " T i m e   O u t   a r g :   "   +   a r g . _ m e s s a g e ) ;   }  
 f u n c t i o n   O n A T S L E r r o r ( a r g )  
 {   a l e r t ( " E r r o r   a r g :   "   +   a r g . _ m e s s a g e ) ;   }  
 v a r   h d l b l n D o N o t H i d e P o p u p   =   f a l s e ;   v a r   m A R T i m e r I D   =   n u l l ;   v a r   l a s t P o p u p I D   =   n u l l ;   f u n c t i o n   k i l l A R T i m e r ( )  
 {  
         i f   ( m A R T i m e r I D )  
         {   c l e a r T i m e o u t ( m A R T i m e r I D ) ;   m A R T i m e r I D   =   n u l l ;   }    
 }  
 f u n c t i o n   n h d l L n k M o u s e E n t e r ( o b j L n k ) {  
         k i l l A R T i m e r ( ) ;   i f   ( l a s t P o p u p I D )   {   v a r   o b j L a s t P o p u p   =   d o c u m e n t . g e t E l e m e n t B y I d ( l a s t P o p u p I D ) ;   i f   ( o b j L a s t P o p u p   ! =   n u l l )   {   o b j L a s t P o p u p . s t y l e . v i s i b i l i t y   =   " h i d d e n " ;   }   l a s t P o p u p I D   =   n u l l ;   }  
         v a r   s t r P o p u p D i v I D   =   o b j L n k . g e t A t t r i b u t e ( " P o p u p D i v I D " ) ;   v a r   o b j P o p u p   =   d o c u m e n t . g e t E l e m e n t B y I d ( s t r P o p u p D i v I D ) ;   v a r   l n k H e i g h t   =   $ ( o b j L n k ) . h e i g h t ( ) ;  
         v a r   t o p P o s   =   g e t O f f s e t Y ( o b j L n k )   -   1 3 0 ;   v a r   l e f t P o s   =   g e t O f f s e t X ( o b j L n k )   +   o b j L n k . o f f s e t W i d t h   +   5 ;  
         i f   ( l n k H e i g h t   >   2 1 )   {  
                 v a r   s p a n T i m e   =   $ ( o b j L n k ) . n e x t ( ) . n e x t ( ) [ 0 ] ;   i f   ( s p a n T i m e )   {   t o p P o s   =   g e t O f f s e t Y ( s p a n T i m e )   -   1 3 0 ;   l e f t P o s   =   g e t O f f s e t X ( s p a n T i m e )   -   7 ;   }   }  
                 o b j P o p u p . s t y l e . l e f t   =   l e f t P o s . t o S t r i n g ( )   +   " p x " ;   o b j P o p u p . s t y l e . t o p   =   t o p P o s . t o S t r i n g ( )   +   " p x " ;   o b j P o p u p . s t y l e . v i s i b i l i t y   =   " v i s i b l e " ;  
 }  
 f u n c t i o n   n h d l L n k M o u s e L e a v e ( o b j L n k )  
 {   k i l l A R T i m e r ( ) ;   v a r   s t r P o p u p D i v I D   =   o b j L n k . g e t A t t r i b u t e ( " P o p u p D i v I D " ) ;   l a s t P o p u p I D   =   s t r P o p u p D i v I D ;   m A R T i m e r I D   =   s e t T i m e o u t ( " h i d e N h d l P o p u p ( ' "   +   s t r P o p u p D i v I D   +   " ' ) " ,   1 0 0 ) ;   }  
 f u n c t i o n   h i d e N h d l P o p u p ( s t r P o p u p D i v I D )  
 {  
         i f   ( ! h d l b l n D o N o t H i d e P o p u p )  
         {   v a r   o b j P o p u p   =   d o c u m e n t . g e t E l e m e n t B y I d ( s t r P o p u p D i v I D ) ;   o b j P o p u p . s t y l e . v i s i b i l i t y   =   " h i d d e n " ;   }    
 }  
 f u n c t i o n   n h d l d i v P o p u p M o s e E n t e r ( o b j P o p u p )  
 {   k i l l A R T i m e r ( ) ;   h d l b l n D o N o t H i d e P o p u p   =   t r u e ;   }  
 f u n c t i o n   n h d l d i v P o p u p M o s e L e a v e ( o b j P o p u p )  
 {   k i l l A R T i m e r ( ) ;   h d l b l n D o N o t H i d e P o p u p   =   f a l s e ;   m A R T i m e r I D   =   s e t T i m e o u t ( " h i d e N h d l P o p u p ( ' "   +   o b j P o p u p . i d   +   " ' ) " ,   1 0 0 ) ;   }  
 v a r   i s B e n e f i t s C a r o u s e l A d d e d   =   f a l s e ;   f u n c t i o n   t o g g l e L o g i n ( d i v L o g i n I d ,   d i v B e n e f i t s I d )  
 {   $ ( " d i v [ i d $ = ' "   +   d i v L o g i n I d   +   " ' ] " ) . t o g g l e ( ) ;   $ ( " d i v [ i d $ = ' "   +   d i v B e n e f i t s I d   +   " ' ] " ) . t o g g l e ( ) ;   A d d B e n e f i t s C a r o u s e l ( ) ;   }  
 f u n c t i o n   A d d B e n e f i t s C a r o u s e l ( )  
 {  
         i f   ( ! i s B e n e f i t s C a r o u s e l A d d e d )  
         {   j Q u e r y ( " # m o d R e g B e n e f i t s " ) . j c a r o u s e l ( {   s c r o l l :   1 ,   a n i m a t i o n :   7 0 0 ,   i n i t C a l l b a c k :   m o d R e g B e n e f i t s _ i n i t C a l l b a c k ,   i t e m V i s i b l e I n C a l l b a c k :   {   o n B e f o r e A n i m a t i o n :   m o d R e g B e n e f i t s _ i t e m V i s i b l e I n C a l l b a c k B e f o r e A n i m a t i o n ,   o n A f t e r A n i m a t i o n :   m o d R e g B e n e f i t s _ i t e m V i s i b l e I n C a l l b a c k A f t e r A n i m a t i o n }   } ) ;   i s B e n e f i t s C a r o u s e l A d d e d   =   t r u e ;   }    
 }  
 f u n c t i o n   m o d R e g B e n e f i t s _ i n i t C a l l b a c k ( c a r o u s e l )  
 {  
         j Q u e r y ( ' # m o d R e g B e n e f i t s   . j c a r o u s e l - c o n t r o l   a ' ) . b i n d ( ' c l i c k ' ,   f u n c t i o n ( )  
         {   c a r o u s e l . s c r o l l ( j Q u e r y . j c a r o u s e l . i n t v a l ( j Q u e r y ( t h i s ) . t e x t ( ) ) ) ;   r e t u r n   f a l s e ;   } ) ;  
 }  
 f u n c t i o n   m o d R e g B e n e f i t s _ i t e m V i s i b l e I n C a l l b a c k B e f o r e A n i m a t i o n ( c a r o u s e l ,   i t e m ,   i d x ,   s t a t e )  
 {  
         i f   ( s t a t e   = =   ' i n i t ' )  
         {   r e t u r n ;   }  
         j Q u e r y ( ' d i v ' ,   i t e m ) . s h o w ( ) ;  
 }  
 f u n c t i o n   m o d R e g B e n e f i t s _ i t e m V i s i b l e I n C a l l b a c k A f t e r A n i m a t i o n ( c a r o u s e l ,   i t e m ,   i d x ,   s t a t e )  
 {   $ ( " # m o d R e g B e n e f i t s   . j c a r o u s e l - c o n t r o l   >   a " ) . r e m o v e C l a s s ( ' s e l e c t e d ' ) ;   v a r   s r c A n c h o r   =   " a # m o d R e g B e n e f i t s - "   +   i d x ;   $ ( s r c A n c h o r ) . a d d C l a s s ( ' s e l e c t e d ' ) ;   }  
 f u n c t i o n   D e l e t e M y M e s s a g e ( m e s s a g e I d )  
 {   W o n . I C o m . C o d e . S e r v i c e s . S i t e A j a x S e r v i c e . D e l e t e M y M e s s a g e ( m e s s a g e I d ,   O n D e l e t e M y M e s s a g e S u c c e s s ,   O n D e l e t e M y M e s s a g e E r r o r ) ;   }  
 f u n c t i o n   O n D e l e t e M y M e s s a g e S u c c e s s ( r e s u l t )  
 {  
         i f   ( r e s u l t )  
         {   d o c u m e n t . l o c a t i o n . r e l o a d ( ) ;   }  
         e l s e  
         {   a l e r t ( " U n a b l e   t o   d e l e t e   t h e   s e l e c t e d   m e s s a g e . " ) ;   }    
 }  
 f u n c t i o n   O n D e l e t e M y M e s s a g e E r r o r ( r e s u l t )  
 {   a l e r t ( " U n a b l e   t o   d e l e t e   t h e   s e l e c t e d   m e s s a g e . " ) ;   }  
 v a r   e v e n t O r i g i o n a t o r   =   " " ;   v a r   e v e n t O r i g i o n a t o r C o u n t   =   0 ;   f u n c t i o n   B e g i n R e q u e s t M R T ( s e n d e r ,   a r g s )  
 {  
         e v e n t O r i g i o n a t o r   =   a r g s . g e t _ p o s t B a c k E l e m e n t ( ) . i d ; e v e n t O r i g i o n a t o r C o u n t + + ;  
         i f   ( e v e n t O r i g i o n a t o r . i n d e x O f ( " M y R e s e a r c h T o o l 1 " )   >   - 1   | |   e v e n t O r i g i o n a t o r . i n d e x O f ( " S i t e S c r i p t M a n a g e r " )   >   - 1 )  
         {   $ ( " . d a r k C l a s s " ) . a t t r ( " s t y l e " ,   " " ) ;   }    
 }  
 f u n c t i o n   E n d R e q u e s t M R T ( s e n d e r ,   a r g s )   {  
         e v e n t O r i g i o n a t o r C o u n t - - ;  
         v a r   e r r   =   a r g s . g e t _ e r r o r ( ) ;  
         i f   ( e r r   ! =   n u l l   & &   e r r . n a m e   = =   ' S y s . W e b F o r m s . P a g e R e q u e s t M a n a g e r T i m e o u t E x c e p t i o n ' )   {  
                 a r g s . s e t _ e r r o r H a n d l e d ( t r u e ) ;  
                 $ ( " . d a r k C l a s s " ) . c s s ( " d i s p l a y " ,   " n o n e " ) ;                  
         }  
         e l s e   {  
                 i f   ( e v e n t O r i g i o n a t o r . i n d e x O f ( " M y R e s e a r c h T o o l 1 " )   >   - 1   | |   e v e n t O r i g i o n a t o r . i n d e x O f ( " S i t e S c r i p t M a n a g e r " )   >   - 1 )   {  
                         i f   ( e v e n t O r i g i o n a t o r . i n d e x O f ( " m i n i C h a r t " )   = =   - 1   & &   e v e n t O r i g i o n a t o r C o u n t   = =   0 )  
                         {   $ ( ' . m r t D D L i s t ' ) . s e l e c t b o x ( ) ;   }  
                         $ ( " . d a r k C l a s s " ) . c s s ( " d i s p l a y " ,   " n o n e " ) ;  
                         C h a n g e M R T A d ( ) ;  
                         $ ( ' # e x 5 ' ) . j q m A d d T r i g g e r ( ' a . e x 5 t r i g g e r ' ) ;  
                         U p d a t e G l o s s D e f R o l l o v e r s ( ) ;  
                 }  
         }  
 }  
 f u n c t i o n   c h a n g e S t o c k ( )  
 {  
         v a r   s y m b   =   d o c u m e n t . g e t E l e m e n t B y I d ( ' c t l 0 0 _ c t l 0 0 _ s e c o n d a r y C o n t e n t _ l e f t C o n t e n t _ M y R e s e a r c h T o o l 1 _ E v a l u a t e S t o c k s 1 _ D G O C h a r t s 1 _ s l e S e a r c h B o x _ t x t S t o c k ' ) . v a l u e ;   i f   ( s y m b . i n d e x O f ( ' - ' )   >   0 )  
                 s y m b   =   s y m b . s u b s t r i n g ( 0 ,   s y m b . i n d e x O f ( ' - ' ) ) . t r i m ( ) ;   v a r   S y m b o l   =   d o c u m e n t . g e t E l e m e n t B y I d ( ' D G O S y m b o l ' ) ;   S y m b o l . v a l u e   =   s y m b ;   u p d a t e C h a r t ( ) ;  
 }  
 f u n c t i o n   u p d a t e C h a r t ( )  
 {   v a r   T y p e   =   d o c u m e n t . g e t E l e m e n t B y I d ( ' D G O T y p e ' ) . v a l u e ;   P l o t _ G r a p h ( T y p e )   }  
 f u n c t i o n   P l o t _ G r a p h ( t y p e )  
 {  
         v a r   D G O C h a r t O b j   =   d o c u m e n t . g e t E l e m e n t B y I d ( ' D G O C h a r t O b j ' ) ;   v a r   S y m b o l   =   d o c u m e n t . g e t E l e m e n t B y I d ( ' D G O S y m b o l ' ) ;   d o c u m e n t . g e t E l e m e n t B y I d ( ' D G O T y p e ' ) . v a l u e   =   t y p e ;   i f   ( t y p e   = =   " 1 " )  
         {   D G O C h a r t O b j . g r T y p   =   1 ;   D G O C h a r t O b j . M a x Y e a r s   =   2 ;   l n k E n l a r g e C h a r t . h r e f   =   l n k C h a r t . h r e f   =   " j a v a s c r i p t : j s f O p e n P o w e r T o o l ( ' "   +   S y m b o l . v a l u e   +   " ' ,   3 , ' d g x ; d a i l y ; 1 ; ' ) ; " ;   }  
         e l s e  
         {   D G O C h a r t O b j . g r T y p   =   2 ;   l n k E n l a r g e C h a r t . h r e f   =   l n k C h a r t . h r e f   =   " j a v a s c r i p t : j s f O p e n P o w e r T o o l ( ' "   +   S y m b o l . v a l u e   +   " ' ,   3 , ' d g x ; w e e k l y ; 1 ; ' ) ; " ;   }  
         D G O C h a r t O b j . S y m b o l   =   S y m b o l . v a l u e ;   S y m b o l . s e l e c t ( ) ;  
 }  
 f u n c t i o n   D i s p l a y A d S p o n s o r T e x t ( p o s )  
 {   i f   ( t y p e o f   ( O A S _ T r a n s l a t e P o s )   ! =   ' u n d e f i n e d ' )   {   v a r   n e w P o s   =   O A S _ T r a n s l a t e P o s ( p o s ,   ' ' ) ;   i f   ( n e w P o s   ! =   ' ' )   {   i f   ( d i s p l a y S p o n s o r s h i p T e x t )   {   $ ( " d l . t o o l s S p o n s o r H d   d t " ) . h t m l ( " S p o n s o r e d   B y : " ) ;   }   e l s e   {   $ ( " d l . t o o l s S p o n s o r H d   d t " ) . h t m l ( " & n b s p ; " ) ;   }   }   }   }  
 f u n c t i o n   C h a n g e M R T A d ( )  
 {   i f   ( t y p e o f   ( U p d a t e S i t e A d C o n t r o l _ m r t A d )   ! =   ' u n d e f i n e d ' )   {   v a r   s e l e c t e d T a b   =   $ ( " # b l k M R T   u l   l i . t a b s - s e l e c t e d " ) . a t t r ( ' i d ' ) ;   v a r   p o s   =   ' t o o l s m o d b t n 1 ' ;   i f   ( s e l e c t e d T a b . i n d e x O f ( " _ L I 1 " )   >   - 1 )   {   p o s   =   ' t o o l s m o d b t n 1 ' ;   }   e l s e   i f   ( s e l e c t e d T a b . i n d e x O f ( " _ L I 2 " )   >   - 1 )   {   p o s   =   ' t o o l s m o d b t n 2 ' ;   }   e l s e   i f   ( s e l e c t e d T a b . i n d e x O f ( " _ L I 3 " )   >   - 1 )   {   p o s   =   ' t o o l s m o d b t n 3 ' ;   }   e l s e   i f   ( s e l e c t e d T a b . i n d e x O f ( " _ L I 4 " )   >   - 1 )   {   p o s   =   ' t o o l s m o d b t n 4 ' ;   }   i f   ( ! U p d a t e S i t e A d C o n t r o l _ m r t A d ( p o s ,   ' ' ) )   {   $ ( " . t o o l s S p o n s o r H d " ) . h i d e ( ) ;   }   e l s e   {   D i s p l a y A d S p o n s o r T e x t ( p o s ) ;   }   }   }  
  
 v a r   m y A c t i v e S t o c k s T i m e r   =   6 0 0 0 0 0 ;  
  
 $ ( d o c u m e n t ) . r e a d y ( f u n c t i o n ( )  
 {  
         s e t T i m e o u t ( I n i t G e t M y A c t i v e S t o c k s ,   m y A c t i v e S t o c k s T i m e r ) ;  
 } ) ;  
  
 f u n c t i o n   I n i t G e t M y A c t i v e S t o c k s ( )  
 {  
         G e t M y A c t i v e S t o c k s ( ) ;  
         s e t T i m e o u t ( I n i t G e t M y A c t i v e S t o c k s ,   m y A c t i v e S t o c k s T i m e r ) ;  
 }  
  
 f u n c t i o n   G e t M y A c t i v e S t o c k s ( )  
 {  
         W o n . I C o m . C o d e . S e r v i c e s . S i t e A j a x S e r v i c e . G e t M y A c t i v e S t o c k s J S O N ( O n M y A c t i v e S t o c k s S u c c e s s ,   O n M y A c t i v e S t o c k s F a i l u r e ) ;  
 }  
  
 f u n c t i o n   O n M y A c t i v e S t o c k s S u c c e s s ( r e s u l t )  
 {  
         i f   ( r e s u l t . l e n g t h   >   2 )  
         {  
                 v a r   i t e m s   =   A r r a y ( ) ;  
                 i t e m s   =   e v a l ( ' ( '   +   r e s u l t   +   ' ) ' ) ;  
  
                 i f   ( i t e m s . l e n g t h   >   0 )  
                 {  
                         v a r   a c t i v e S t o c k s   =   i t e m s [ 0 ] ;  
  
                         i f   ( a c t i v e S t o c k s . P r o c e s s T a b l e s )  
                         {  
                                 / /   h i d e   n o   r e c o r d s   m e s s a g e  
                                 $ ( " . a c t i v e S t o c k C o n t   s p a n [ i d $ = ' M y S t o c k s N o S t o c k s M s g ' ] " ) . h i d e ( ) ;  
  
                                 / /   c l e a r   t a b l e s  
                                 C l e a r M y A c t i v e S t o c k s T a b l e s ( ) ;  
  
                                 / /   a d d   u p   t a b l e   a n d   c o n t e n t s  
                                 C r e a t e M y A c t i v e S t o c k s T a b l e ( 0 ) ;  
                                 f o r   ( v a r   i   =   0 ;   i   <   a c t i v e S t o c k s . U p T a b l e . l e n g t h ;   i + + )  
                                 {  
                                         P r o c e s s M y A c t i v e S t o c k s I t e m ( 0 ,   a c t i v e S t o c k s . U p T a b l e [ i ] ,   i ) ;  
                                 }  
  
                                 / /   a d d   d o w n   t a b l e   a n d   c o n t e n t s  
                                 C r e a t e M y A c t i v e S t o c k s T a b l e ( 1 ) ;  
                                 f o r   ( v a r   i   =   0 ;   i   <   a c t i v e S t o c k s . D o w n T a b l e . l e n g t h ;   i + + )  
                                 {  
                                         P r o c e s s M y A c t i v e S t o c k s I t e m ( 1 ,   a c t i v e S t o c k s . D o w n T a b l e [ i ] ,   i ) ;  
                                 }  
                         }  
                         e l s e  
                         {  
                                 / /   s h o w   n o   r e c o r d s   m e s s a g e  
                                 $ ( " . a c t i v e S t o c k C o n t   s p a n [ i d $ = ' M y S t o c k s N o S t o c k s M s g ' ] " ) . s h o w ( ) ;  
  
                                 / /   c l e a r   t a b l e s  
                                 C l e a r M y A c t i v e S t o c k s T a b l e s ( ) ;  
                         }  
  
                         i t e m s   =   n u l l ;  
                 }  
         }  
 }  
  
 f u n c t i o n   O n M y A c t i v e S t o c k s F a i l u r e ( r e s u l t )  
 {  
  
 }  
  
 f u n c t i o n   P r o c e s s M y A c t i v e S t o c k s I t e m ( i t e m T y p e ,   n e w s I t e m ,   i n d e x )  
 {  
         v a r   t a b l e I n f o   =   G e t M y A c t i v e S t o c k s T a b l e I n f o ( i t e m T y p e ) ;  
  
         v a r   c o n t e n t   =   " < t r > "   +  
 	 	 	 " < t d   c l a s s = \ " s y m b o l C o l \ " > < a   h r e f = \ " { 0 } \ "   t i t l e = \ " { 1 } \ " > { 2 } < / a > < / t d > "   +  
 	 	 	 " < t d   c l a s s = \ " { 3 } \ " > < s p a n > { 4 } < / s p a n > < / t d > "   +  
 	 	 	 " < t d   c l a s s = \ " { 5 } \ " > < s p a n > { 6 } < / s p a n > < / t d > "   +  
 	 	 " < / t r > " ;  
  
         c o n t e n t   =   c o n t e n t . r e p l a c e ( " { 0 } " ,   n e w s I t e m . U r l ) ;  
         c o n t e n t   =   c o n t e n t . r e p l a c e ( " { 1 } " ,   n e w s I t e m . C o m p a n y ) ;  
         c o n t e n t   =   c o n t e n t . r e p l a c e ( " { 2 } " ,   n e w s I t e m . S y m b o l ) ;  
         c o n t e n t   =   c o n t e n t . r e p l a c e ( " { 3 } " ,   n e w s I t e m . P r i c e C s s ) ;  
         c o n t e n t   =   c o n t e n t . r e p l a c e ( " { 4 } " ,   n e w s I t e m . P r i c e P c e n t C h g ) ;  
         c o n t e n t   =   c o n t e n t . r e p l a c e ( " { 5 } " ,   n e w s I t e m . V o l u m e C s s ) ;  
         c o n t e n t   =   c o n t e n t . r e p l a c e ( " { 6 } " ,   n e w s I t e m . V o l u m e P c e n t C h g ) ;  
  
         $ ( " . a c t i v e S t o c k C o n t   . b d   # "   +   t a b l e I n f o . T a b l e I d   +   "   t b o d y " ) . a p p e n d ( c o n t e n t ) ;  
 }  
  
 f u n c t i o n   C r e a t e M y A c t i v e S t o c k s T a b l e ( i t e m T y p e )  
 {  
         v a r   t a b l e I n f o   =   G e t M y A c t i v e S t o c k s T a b l e I n f o ( i t e m T y p e ) ;  
  
         v a r   c o n t e n t   =   " < t a b l e   c l a s s = \ " "   +   t a b l e I n f o . T a b l e C l a s s   +   " \ "   i d = \ " "   +   t a b l e I n f o . T a b l e I d   +   " \ " > "   +  
 	 	 " < t h e a d > "   +  
 	 	 	 " < t r > "   +  
 	 	 	 	 " < t h   s c o p e = \ " c o l \ "   c l a s s = \ " s y m b o l C o l \ " > S y m b o l < / t h > "   +  
 	 	 	 	 " < t h   s c o p e = \ " c o l \ "   c l a s s = \ " p e r C h n g \ " > %   C h g < / t h > "   +  
 	 	 	 	 " < t h   s c o p e = \ " c o l \ "   c l a s s = \ " v o l C h n g \ " > V o l   %   C h g < / t h > "   +  
 	 	 	 " < / t r > "   +  
 	 	 " < / t h e a d > "   +  
 	 	 " < t b o d y > "   +  
 	 	 " < / t b o d y > "   +  
 	 	 " < / t a b l e > " ;  
  
         $ ( " . a c t i v e S t o c k C o n t   . b d " ) . a p p e n d ( c o n t e n t ) ;  
 }  
  
 f u n c t i o n   G e t M y A c t i v e S t o c k s T a b l e I n f o ( i t e m T y p e )  
 {  
         v a r   i d   =   " " ;  
         v a r   t a b l e C l a s s   =   " " ;  
  
         i f   ( i t e m T y p e   = =   0 )  
         {  
                 i d   =   " m o s t A c t S t c k U p " ;  
                 t a b l e C l a s s   =   " l e f t " ;  
         }  
         e l s e   i f   ( i t e m T y p e   = =   1 )  
         {  
                 i d   =   " m o s t A c t S t c k D n " ;  
                 t a b l e C l a s s   =   " r i g h t " ;  
         }  
  
         v a r   j s o n O b j e c t   =   " { \ " T a b l e I d \ " : \ " "   +   i d   +   " \ " , \ " T a b l e C l a s s \ " : \ " "   +   t a b l e C l a s s   +   " \ " } " ;  
  
         r e t u r n   e v a l ( ' ( '   +   j s o n O b j e c t   +   ' ) ' ) ;  
 }  
  
 f u n c t i o n   C l e a r M y A c t i v e S t o c k s T a b l e s ( )  
 {  
         $ ( " . a c t i v e S t o c k C o n t   . b d   t a b l e " ) . r e m o v e ( ) ;  
 }  
  
 / / d e f a u l t   t i c k e r   s y m b o l  
 s I n i t S y m b o l   =   e s c a p e ( " 0 S & P 5 " ) ;  
  
 / / D G O   p r o d u c t s   w e b   s i t e   d o m a i n   n a m e  
 v a r   s D G O P r o d u c t s S i t e   =   " " ;  
  
 / / w i n d o w   s i z e s  
 i n t W i d t h   =   7 5 0 ;  
 i n t H e i g h t   =   3 7 5 ;  
 s i g p r o p s   =   " t o p = 2 5 , l e f t = 2 5 , w i d t h = 6 4 0 , h e i g h t = 4 0 0 , d i r e c t o r i e s = n o , s t a t u s = n o , l o c a t i o n = 0 , t o o l b a r = n o , s c r o l l b a r s = y e s , r e s i z a b l e = y e s , m e n u b a r = n o , c o p y h i s t o r y = n o , a l w a y s R a i s e d = 1 , d e p e n d e n t = y e s " ;  
  
 i f   ( s c r e e n . w i d t h   >   1 0 2 4 )  
 {  
         i n t W i d t h   =   1 0 2 4 ;  
         i n t W i d t h P V C   =   1 0 3 4 ;  
         i n t H e i g h t   =   s c r e e n . h e i g h t   -   1 2 5 ;  
         d g o w i n d o w p r o p s   =   " t o p = 2 5 , l e f t = 2 5 "   +   " , w i d t h = "   +   i n t W i d t h   +   " , h e i g h t = "   +   i n t H e i g h t   +   " d i r e c t o r i e s = 0 , s t a t u s = 1 , l o c a t i o n = 0 , t o o l b a r = 0 , s c r o l l b a r s = 1 , r e s i z a b l e = 1 , m e n u b a r = 0 , c o p y h i s t o r y = 0 , a l w a y s R a i s e d = 0 " ;  
         d g o w i n d o w p r i n t s   =   " t o p = 2 , l e f t = 2 5 "   +   " , w i d t h = "   +   i n t W i d t h   +   " , h e i g h t = "   +   i n t H e i g h t   +   " d i r e c t o r i e s = 0 , s t a t u s = 1 , l o c a t i o n = 0 , t o o l b a r = 1 , s c r o l l b a r s = 1 , r e s i z a b l e = 1 , m e n u b a r = 1 , c o p y h i s t o r y = 0 , a l w a y s R a i s e d = 0 " ;  
 }   e l s e   i f   ( s c r e e n . w i d t h   = =   1 0 2 4 )  
 {  
         i n t W i d t h   =   s c r e e n . w i d t h   -   1 0 0 ;  
         i n t W i d t h P V C   =   s c r e e n . w i d t h   -   1 0 0 ;  
         i n t H e i g h t   =   s c r e e n . h e i g h t   -   1 2 5 ;  
         d g o w i n d o w p r o p s   =   " t o p = 2 5 , l e f t = 2 5 "   +   " , w i d t h = "   +   i n t W i d t h   +   " , h e i g h t = "   +   i n t H e i g h t   +   " d i r e c t o r i e s = 0 , s t a t u s = 1 , l o c a t i o n = 0 , t o o l b a r = 0 , s c r o l l b a r s = 1 , r e s i z a b l e = 1 , m e n u b a r = 0 , c o p y h i s t o r y = 0 , a l w a y s R a i s e d = 0 " ;  
         d g o w i n d o w p r i n t s   =   " t o p = 2 , l e f t = 2 5 "   +   " , w i d t h = "   +   i n t W i d t h   +   " , h e i g h t = "   +   i n t H e i g h t   +   " d i r e c t o r i e s = 0 , s t a t u s = 1 , l o c a t i o n = 0 , t o o l b a r = 1 , s c r o l l b a r s = 1 , r e s i z a b l e = 1 , m e n u b a r = 1 , c o p y h i s t o r y = 0 , a l w a y s R a i s e d = 0 " ;  
 }   e l s e  
 {  
         i n t W i d t h   =   s c r e e n . w i d t h   -   1 0 0 ;  
         i n t W i d t h P V C   =   s c r e e n . w i d t h   -   1 0 0 ;  
         i n t H e i g h t   =   s c r e e n . h e i g h t   -   1 2 5 ;  
         d g o w i n d o w p r o p s   =   " t o p = 0 , l e f t = 0 "   +   " , w i d t h = "   +   i n t W i d t h   +   " , h e i g h t = "   +   i n t H e i g h t   +   " , d i r e c t o r i e s = 0 , s t a t u s = 1 , l o c a t i o n = 0 , t o o l b a r = 0 , s c r o l l b a r s = 1 , r e s i z a b l e = 1 , m e n u b a r = 0 , c o p y h i s t o r y = 0 , a l w a y s R a i s e d = 0 " ;  
         d g o w i n d o w p r i n t s   =   " t o p = 0 , l e f t = 0 "   +   " , w i d t h = "   +   i n t W i d t h   +   " , h e i g h t = "   +   i n t H e i g h t   +   " , d i r e c t o r i e s = 0 , s t a t u s = 1 , l o c a t i o n = 0 , t o o l b a r = 1 , s c r o l l b a r s = 1 , r e s i z a b l e = 1 , m e n u b a r = 1 , c o p y h i s t o r y = 0 , a l w a y s R a i s e d = 0 " ;  
 }  
  
 v a r   x w i d t h ;  
 x w i d t h   =   s c r e e n . w i d t h   /   3 0 0 ;  
 i f   ( x w i d t h   <   6 )   x w i d t h   =   4 ;  
 i f   ( x w i d t h   >   6 )   x w i d t h   =   5 ;  
 i n t W i d t h S m l   =   x w i d t h   *   1 2 4 ;  
 i n t W i d t h S m   =   i n t W i d t h S m l   +   4 2 ;  
  
 v a r   x h e i g h t ;  
 x h e i g h t   =   s c r e e n . h e i g h t ;  
 i f   ( x h e i g h t   >   8 0 0 )   i n t H e i g h t S m   =   x h e i g h t   *   1 7   /   2 0 ;  
 i f   ( x h e i g h t   <   8 0 0 )   i n t H e i g h t S m   =   x h e i g h t   *   1 7   /   2 0 ;  
  
 v a r   t H e i g h t ;  
 t H e i g h t   =   s c r e e n . h e i g h t ;  
  
 v a r   t W i d t h ;  
 t W i d t h   =   s c r e e n . w i d t h ;  
  
 i n t W i d t h 2   =   6 0 0  
 i n t W i d t h 3   =   s c r e e n . w i d t h   *   . 8 5  
 i n t H e i g h t 2   =   s c r e e n . h e i g h t   -   2 2 0  
 i n t H e i g h t 3   =   s c r e e n . h e i g h t   *   . 7  
  
 f u n d w i n d o w p r o p s   =   " t o p = 1 5 , l e f t = 1 5 "   +   " , w i d t h = "   +   i n t W i d t h 3   +   " , h e i g h t = "   +   i n t H e i g h t 3   +   " , d i r e c t o r i e s = 0 , s t a t u s = 1 , l o c a t i o n = 0 , t o o l b a r = 0 , s c r o l l b a r s = 1 , r e s i z a b l e = 1 , m e n u b a r = 0 , c o p y h i s t o r y = 0 , a l w a y s R a i s e d = 0 " ;  
 c o m p w i n d o w p r o p s   =   " t o p = 5 5 , l e f t = 5 5 "   +   " , w i d t h = "   +   i n t W i d t h 3   +   " , h e i g h t = "   +   i n t H e i g h t 3   +   " , d i r e c t o r i e s = 0 , s t a t u s = 1 , l o c a t i o n = 0 , t o o l b a r = 0 , s c r o l l b a r s = 1 , r e s i z a b l e = 1 , m e n u b a r = 0 , c o p y h i s t o r y = 0 , a l w a y s R a i s e d = 0 " ;  
 i g w i n d o w p r o p s   =   " t o p = 4 5 , l e f t = 4 5 "   +   " , w i d t h = "   +   i n t W i d t h 3   +   " , h e i g h t = "   +   i n t H e i g h t 3   +   " , d i r e c t o r i e s = 0 , s t a t u s = 1 , l o c a t i o n = 0 , t o o l b a r = 0 , s c r o l l b a r s = 1 , r e s i z a b l e = 1 , m e n u b a r = 0 , c o p y h i s t o r y = 0 , a l w a y s R a i s e d = 0 " ;  
 o g w i n d o w p r o p s   =   " t o p = 4 5 , l e f t = 4 5 "   +   " , w i d t h = "   +   i n t W i d t h 3   +   " , h e i g h t = "   +   i n t H e i g h t 3   +   " , d i r e c t o r i e s = 0 , s t a t u s = 1 , l o c a t i o n = 0 , t o o l b a r = 0 , s c r o l l b a r s = 1 , r e s i z a b l e = 1 , m e n u b a r = 0 , c o p y h i s t o r y = 0 , a l w a y s R a i s e d = 0 " ;  
 c s w i n d o w p r o p s   =   " t o p = 3 5 , l e f t = 3 5 "   +   " , w i d t h = "   +   i n t W i d t h 2   +   " , h e i g h t = "   +   i n t H e i g h t 2   +   " , d i r e c t o r i e s = 0 , s t a t u s = 1 , l o c a t i o n = 0 , t o o l b a r = 0 , s c r o l l b a r s = 1 , r e s i z a b l e = 1 , m e n u b a r = 1 , c o p y h i s t o r y = 0 , a l w a y s R a i s e d = 0 " ;  
 a d v s c r w i n d o w p r o p s   =   " t o p = 3 5 , l e f t = 3 5 , w i d t h = 6 2 0 , h e i g h t = "   +   i n t H e i g h t 2   +   " , d i r e c t o r i e s = 0 , s t a t u s = 1 , l o c a t i o n = 0 , t o o l b a r = 0 , s c r o l l b a r s = 1 , r e s i z a b l e = 1 , m e n u b a r = 1 , c o p y h i s t o r y = 0 , a l w a y s R a i s e d = 0 " ;  
 i b d d w i n d o w p r o p s   =   " t o p = 2 5 , l e f t = 2 5 "   +   " , w i d t h = "   +   i n t W i d t h P V C   +   " , h e i g h t = "   +   i n t H e i g h t   +   " , d i r e c t o r i e s = 0 , s t a t u s = 1 , l o c a t i o n = 0 , t o o l b a r = 0 , s c r o l l b a r s = 1 , r e s i z a b l e = 1 , m e n u b a r = 0 , c o p y h i s t o r y = 0 , a l w a y s R a i s e d = 0 " ;  
 i b d w w i n d o w p r o p s   =   " t o p = 2 0 , l e f t = 2 0 "   +   " , w i d t h = "   +   i n t W i d t h S m   +   " , h e i g h t = "   +   i n t H e i g h t   +   " , d i r e c t o r i e s = 0 , s t a t u s = 1 , l o c a t i o n = 0 , t o o l b a r = 0 , s c r o l l b a r s = 0 , r e s i z a b l e = 1 , m e n u b a r = 0 , c o p y h i s t o r y = 0 , a l w a y s R a i s e d = 0 " ;  
 c u p w i n d o w p r o p s   =   " t o p = 0 , l e f t = 2 5 "   +   " , w i d t h = "   +   i n t W i d t h   +   " , h e i g h t = "   +   ( i n t H e i g h t   -   2 5 )   +   " , d i r e c t o r i e s = 0 , s t a t u s = 1 , l o c a t i o n = 0 , t o o l b a r = 0 , s c r o l l b a r s = 1 , r e s i z a b l e = 1 , m e n u b a r = 1 , c o p y h i s t o r y = 0 , a l w a y s R a i s e d = 0 " ;  
  
  
 v a r   a r r G r a p h P o p u p   =   n e w   A r r a y ( ) ;  
 / /   a r r a y   o f   i n i t i a l i z e s   f u n d   c h a r t   f l a g s   a n d   h a n d l e s   t o   f u n d   c h a r t   p o p u p   w i n d o w  
 / /   =   0   -   p v c  
 / /   =   1   -   d g x  
 / /   =   2   -   p v c   ( w e e k l y )  
 a r r G r a p h P o p u p [ 0 ,   0 ]   =   0 ;  
 a r r G r a p h P o p u p [ 1 ,   0 ]   =   0 ;  
 a r r G r a p h P o p u p [ 2 ,   0 ]   =   0 ;  
  
 / / f u n c t i o n   t o   o p e n   t h e   P o w e r   T o o l s  
 / / 	 i T y p e   =   1   -   Q u o t e s  
 / / 	 	 	 2   -   S t o c k   C h e c k u p  
 / / 	 	 	 3   -   C h a r t s  
 / / 	 s P a g e   =   " 0 "   -   E d i t o r i a l   c o n t e n t  
 f u n c t i o n   j s f O p e n P o w e r T o o l ( s S y m b o l ,   i T y p e ,   s P a g e )  
 {  
         i f   ( i T y p e   = =   " " )  
         {   i T y p e   =   1 ;   }  
         s w i t c h   ( p a r s e I n t ( i T y p e ) )  
         {  
                 c a s e   1 :  
                         / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / /  
                         / /   Q u o t e s  
                         / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / /  
                         w i n d o w . l o c a t i o n   =   " / S t o c k R e s e a r c h / Q u o t e . a s p x ? S y m b o l = "   +   s S y m b o l  
                         b r e a k ;  
                 c a s e   2 :  
                         / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / /  
                         / /   S t o c k   C h e c k u p  
                         / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / /  
                         w i n d o w . l o c a t i o n   =   " / S t o c k R e s e a r c h / S t o c k C h e c k u p . a s p x ? S y m b o l = "   +   s S y m b o l ;  
                         b r e a k ;  
                 c a s e   3 :  
                         / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / /  
                         / /   C h a r t s  
                         / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / /  
                         i f   ( s P a g e . i n d e x O f ( " ; " )   >   - 1 )  
                         {  
                                 a r r A t t r   =   s P a g e . s p l i t ( " ; " ) ;  
                                 j s f C h a r t s C o n t r o l ( s S y m b o l ,   a r r A t t r [ 0 ] ,   a r r A t t r [ 1 ] ,   p a r s e I n t ( a r r A t t r [ 2 ] ) ,   a r r A t t r [ 3 ] ) ;  
                         }  
                         e l s e  
                         {   j s f C h a r t s C o n t r o l ( s S y m b o l ,   ' p v c ' ,   ' d a i l y ' ,   0 ,   s P a g e ) ;   }  
                         b r e a k ;  
         }  
 }  
  
 / / f u n c t i o n   t o   a d d   t i c k e r   t o   t h e   S t o c k   L i s t  
 f u n c t i o n   g o P o p u p S t o c k L i s t s ( s t r S y m b o l ,   i s F r o m P o p u p )  
 {  
         w i n d o w . n a m e   =   " w i n M a i n " ;  
         s t r U r l   =   " / M y I B D / E d i t P o r t f o l i o . a s p x ? a c t i o n = n e w & s y m b o l = "   +   s t r S y m b o l ;  
         v a r   p o p u p S t o c k L i s t s   =   w i n d o w . o p e n ( s t r U r l ,   " p o p u p S t o c k L i s t s " ,   " w i d t h = 5 3 0 , h e i g h t = 3 0 0 , d i r e c t o r i e s = n o , s t a t u s = n o , l o c a t i o n = n o , t o o l b a r = n o , s c r o l l b a r s = y e s , r e s i z e = y e s , m e n u b a r = n o , c o p y h i s t o r y = n o , a l w a y s R a i s e d = 0 , d e p e n d e n t = 0 " ) ;  
 }  
  
 / / f u n c t i o n   t o   o p e n   Q u o t e s   p a g e  
 f u n c t i o n   g o Q u o t e s ( t i c k e r ,   s C a m p a i g n )  
 {  
         d o c u m e n t . f o r C h a r t s . h t m C h a r t V a l u e . v a l u e   =   ' 1 ' ;  
         d o c u m e n t . f o r C h a r t s . h t m A d d i t i o n a l V a l u e . v a l u e   =   s C a m p a i g n ;  
         d o c u m e n t . f o r C h a r t s . h t m T i c k e r . v a l u e   =   t i c k e r ;  
         d o c u m e n t . f o r C h a r t s . s u b m i t ( ) ;  
 }  
  
 / / f u n c t i o n   t o   o p e n   I B D   C h a r t s  
 f u n c t i o n   g o C h a r t s ( t i c k e r ,   s C a m p a i g n )  
 {  
         i f   ( s C a m p a i g n   ! =   ' ' )  
         {   j s f O p e n P o w e r T o o l ( t i c k e r ,   3 ,   l c a s e ( s C a m p a i g n )   +   ' ; d a i l y ; 0 ; ' ) ;   }  
         e l s e  
         {   j s f O p e n P o w e r T o o l ( t i c k e r ,   3 ,   ' p v c ; d a i l y ; 0 ; ' ) ;   }  
  
 }  
  
 / / f u n c t i o n   t o   o p e n   C h e c k u p  
 f u n c t i o n   g o S t o c k C h e c k u p s ( t i c k e r ,   s C a m p a i g n )  
 {  
         d o c u m e n t . f o r C h a r t s . h t m C h a r t V a l u e . v a l u e   =   ' 2 ' ;  
         d o c u m e n t . f o r C h a r t s . h t m A d d i t i o n a l V a l u e . v a l u e   =   s C a m p a i g n ;  
         d o c u m e n t . f o r C h a r t s . h t m T i c k e r . v a l u e   =   t i c k e r ;  
         d o c u m e n t . f o r C h a r t s . s u b m i t ( ) ;  
 }  
  
 f u n c t i o n   j s f C h a r t s C o n t r o l ( s t r T i c k e r ,   s G r a p h T y p e ,   s M o d e ,   i T y p e O n l y ,   s A d d P r m s )  
 {  
         / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / /  
         / / 	 s t r T i c k e r 	 t i c k e r   s y m b o l   t o   b e   d i s p l a y e d   i n   g r a p h  
         / / 	 s G r a p h T y p e 	 t y p e   o f   g r a p h   t o   o p e n  
         / / 	 s M o d e 	 	 m o d e   -   d a i l y ,   w e e k l y  
         / / 	 i T y p e O n l y 	 =   1   -   o p e n   g r a p h   w i t h   t h e   t y p e   =   s T y p e   w i t h o u t   u p g r a d e  
         / / 	 	 	 	 =   0   -   g r a p h   w i t h   t h e   u p g r a d e  
         / / 	 s A d d P r m s 	 a d d i t i o n a l   p a r a m e t r s   t o   p a s s   i n   q u e r y   s t r i n g   t o   t h e   g r a p h  
         / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / /  
         v a r   i L o g i n   =   " " ;  
         v a r   s T y p e ;  
         v a r   w i n d o w I n d e x   =   - 1 ;  
         v a r   w i n d o w N a m e ;  
         v a r   w i n d o w T y p e s ;  
         v a r   i s N S   =   0 ;  
  
         b r o w s e r P l a t f o r m   =   n a v i g a t o r . p l a t f o r m  
         b r o w s e r N a m e   =   n a v i g a t o r . a p p N a m e ;  
         b r o w s e r V e r   =   p a r s e I n t ( n a v i g a t o r . a p p V e r s i o n ) ;  
         i f   ( b r o w s e r P l a t f o r m . t o L o w e r C a s e ( ) . i n d e x O f ( ' m a c ' )   <   0 )  
         {   s t r T i c k e r   =   s t r T i c k e r . r e p l a c e ( /   / g i ,   " " ) ;   }  
  
         / / * * *   c h e c k   f o r   N e t s c a p e   b r o w s e r  
         i f   ( b r o w s e r N a m e   = =   " N e t s c a p e "   | |   b r o w s e r N a m e   = =   " M o z i l l a " )  
                 i s N S   =   1 ;  
  
         i f   ( w i n d o w . n a m e   = =   " "   | |   w i n d o w . n a m e   = =   n u l l )  
         {   w i n d o w . n a m e   =   " w i n M a i n " ;   }  
         s t r T i c k e r   =   e s c a p e ( s t r T i c k e r ) ;  
  
         i L o g i n   =   i L o g i n F l a g ;  
         i T y p e O n l y   =   p a r s e I n t ( i T y p e O n l y ) ;  
         i f   ( s t r T i c k e r   = =   " " )  
         {  
                 s t r T i c k e r   =   s I n i t S y m b o l ;  
         }  
  
         s T y p e   =   s G r a p h T y p e ;  
         i f   ( i T y p e O n l y   = =   0   & &   i L o g i n   = =   " 1 " )  
         {   s T y p e   =   j s f C h e c k C h a r t T o O p e n ( s G r a p h T y p e ) ;   }  
         s T y p e   =   s T y p e . t o L o w e r C a s e ( ) ;  
         s M o d e   =   s M o d e . t o L o w e r C a s e ( ) ;  
         s w i t c h   ( s T y p e )  
         {  
                 c a s e   " p v c " :  
                 c a s e   " i f t " :  
                 c a s e   " t r u " :  
                 c a s e   " w b m " :  
                 c a s e   " e t f " :   	 / / b g c   1 / 1 7 / 0 6   a d d e d   e t f .  
                 c a s e   " m k t " :  
                 c a s e   " e n l " :  
                 c a s e   " f s c " :  
                 c a s e   " h b o " :  
                 c a s e   " s o d " :  
                 c a s e   " m d c " :  
                         i f   ( s M o d e   = =   " w e e k l y " )  
                         {  
                                 w i n d o w I n d e x   =   2 ;  
                                 i b d w i n d o w p r o p s   =   i b d w w i n d o w p r o p s ;  
                                 w i n d o w T y p e s   =   " P V W " ;  
                         }  
                         e l s e  
                         {  
                                 w i n d o w I n d e x   =   0 ;  
                                 i b d w i n d o w p r o p s   =   i b d d w i n d o w p r o p s ;  
                                 w i n d o w T y p e s   =   s T y p e . t o U p p e r C a s e ( ) ;  
                         }  
                         w i n d o w N a m e   =   " i b d "   +   s M o d e   +   " N " ;  
                         b r e a k ;  
                 c a s e   " d g x " :  
                         w i n d o w I n d e x   =   1 ;  
                         i b d w i n d o w p r o p s   =   d g o w i n d o w p r o p s ;  
                         w i n d o w N a m e   =   " d g o G r a p h s N " ;  
                         w i n d o w T y p e s   =   " D G X , D G W , D G M , D G D " ;  
                 c a s e   " d g f " :  
                         w i n d o w I n d e x   =   4 ;  
                         i b d w i n d o w p r o p s   =   f u n d w i n d o w p r o p s ;  
                         w i n d o w N a m e   =   " f n d G r a p h s N " ;  
                         w i n d o w T y p e s   =   " D G F " ;  
                 c a s e   " d g i " :  
                         w i n d o w I n d e x   =   4 ;  
                         i b d w i n d o w p r o p s   =   i g w i n d o w p r o p s ;  
                         w i n d o w N a m e   =   " d g i G r a p h s N " ;  
                         w i n d o w T y p e s   =   " D G I " ;  
                 c a s e   " d g g " :  
                         w i n d o w I n d e x   =   5 ;  
                         i b d w i n d o w p r o p s   =   o g w i n d o w p r o p s ;  
                         w i n d o w N a m e   =   " o p t G r a p h s N " ;  
                         w i n d o w T y p e s   =   " D G G " ;  
         }  
  
         t r y  
         {  
                 i f   ( a r r G r a p h P o p u p [ w i n d o w I n d e x ,   0 ]   = =   0 )  
                 {  
                         i f   ( o p e n e r )  
                         {  
                                 i f   ( o p e n e r . o p e n   & &   ! o p e n e r . c l o s e d )  
                                 {  
                                         i f   ( o p e n e r . w i n d o w . n a m e   = =   w i n d o w N a m e )  
                                         {  
                                                 a r r G r a p h P o p u p [ w i n d o w I n d e x ,   0 ]   =   1 ;  
                                                 a r r G r a p h P o p u p [ w i n d o w I n d e x ,   1 ]   =   w i n d o w . o p e n e r . w i n d o w ;  
                                         }  
                                 }  
                                 e l s e  
                                 {  
                                         a r r G r a p h P o p u p [ w i n d o w I n d e x ,   0 ]   =   1 ;  
                                         s t r T i c k e r   =   s t r T i c k e r . r e p l a c e ( " % 2 5 2 6 " ,   " % 2 6 " ) ;  
                                         v a r   s u r l   =   " h t t p : / / "   +   s D G O P r o d u c t s S i t e   +   " / m e m b e r / D g o G r a p h s / d g o G r a p h s . a s p ? c h t = "   +   s T y p e   +   " & i b d M o d e = "   +   s M o d e   +   " & t = "   +   s t r T i c k e r   +   s A d d P r m s ;  
                                         a r r G r a p h P o p u p [ w i n d o w I n d e x ,   1 ]   =   w i n d o w . o p e n ( s u r l ,   w i n d o w N a m e ,   i b d w i n d o w p r o p s ) ;  
                                         a r r G r a p h P o p u p [ w i n d o w I n d e x ,   1 ] . f o c u s ( ) ;  
                                         r e t u r n ;  
                                 }  
                         }  
                         e l s e  
                         {  
                                 a r r G r a p h P o p u p [ w i n d o w I n d e x ,   0 ]   =   1 ;  
                                 s t r T i c k e r   =   s t r T i c k e r . r e p l a c e ( " % 2 5 2 6 " ,   " % 2 6 " ) ;  
                                 v a r   s u r l   =   " h t t p : / / "   +   s D G O P r o d u c t s S i t e   +   " / m e m b e r / D g o G r a p h s / d g o G r a p h s . a s p ? c h t = "   +   s T y p e   +   " & i b d M o d e = "   +   s M o d e   +   " & t = "   +   s t r T i c k e r   +   s A d d P r m s ;  
                                 a r r G r a p h P o p u p [ w i n d o w I n d e x ,   1 ]   =   w i n d o w . o p e n ( s u r l ,   w i n d o w N a m e ,   i b d w i n d o w p r o p s ) ;  
                                 a r r G r a p h P o p u p [ w i n d o w I n d e x ,   1 ] . f o c u s ( ) ;  
                                 r e t u r n ;  
                         }  
                 }  
                 / /   i f   c h a r t   w i n d o w   h a s   b e e n   o p e n e d   a n d   c u r r e n t l y   e x i s t s ,   t h e n   c h a n g e   v a r i a b l e s   i n   O C X   d i r e c t l y   t h i s   p r e v e n t s   t h e   w i n d o w   f l a s h i n g   a s   i t   r e l o a d s  
                 i f   ( a r r G r a p h P o p u p [ w i n d o w I n d e x ,   1 ]   & &   a r r G r a p h P o p u p [ w i n d o w I n d e x ,   1 ] . o p e n   & &   ! a r r G r a p h P o p u p [ w i n d o w I n d e x ,   1 ] . c l o s e d )  
                 {  
                         / /   o n l y   u s e   t h i s   w i n d o w   i f   i t   w a s   o r i g i n a l l y  
                         v a r   c u r r e n t U r l   =   a r r G r a p h P o p u p [ w i n d o w I n d e x ,   1 ] . w i n d o w . l o c a t i o n . t o S t r i n g ( ) ;  
                         i f   ( a r r G r a p h P o p u p [ w i n d o w I n d e x ,   1 ] . d o c u m e n t . g e t E l e m e n t B y I d ( ' p l o t w o n 1 ' )   & &   ( w i n d o w T y p e s . i n d e x O f ( a r r G r a p h P o p u p [ w i n d o w I n d e x ,   1 ] . d o c u m e n t . g e t E l e m e n t B y I d ( ' p l o t w o n 1 ' ) . G r I d . t o U p p e r C a s e ( ) )   >   - 1 ) )  
                         {  
                                 s t r T i c k e r   =   u n e s c a p e ( s t r T i c k e r ) ;   	 	 	 / /   d e c o d e   s t r i n g  
                                 s t r T i c k e r   =   s t r T i c k e r . r e p l a c e ( / % 2 6 / g i ,   " & " ) ;   / /   d e c o d e   d o u b l e - e s c a p e d   s t r i n g  
                                 a r r G r a p h P o p u p [ w i n d o w I n d e x ,   1 ] . f o c u s ( ) ;  
                                 i f   ( a r r G r a p h P o p u p [ w i n d o w I n d e x ,   1 ] . d o c u m e n t . g e t E l e m e n t B y I d ( ' h t m T i c k e r I F T ' ) )  
                                 {  
                                         a r r G r a p h P o p u p [ w i n d o w I n d e x ,   1 ] . d o c u m e n t . d g f 1 . h t m T i c k e r I F T . s t y l e . b a c k g r o u n d   =   " r e d " ;  
                                         a r r G r a p h P o p u p [ w i n d o w I n d e x ,   1 ] . d o c u m e n t . d g f 1 . h t m T i c k e r I F T . v a l u e   =   s t r T i c k e r ;  
                                         a r r G r a p h P o p u p [ w i n d o w I n d e x ,   1 ] . G r a p h _ o n c l i c k ( ) ;  
                                         a r r G r a p h P o p u p [ w i n d o w I n d e x ,   1 ] . d o c u m e n t . d g f 1 . h t m T i c k e r I F T . s t y l e . b a c k g r o u n d   =   " w h i t e " ;  
                                 }  
                                 e l s e  
                                 {  
                                         a r r G r a p h P o p u p [ w i n d o w I n d e x ,   1 ] . d o c u m e n t . d g f 1 . h t m T i c k e r . s t y l e . b a c k g r o u n d   =   " r e d " ;  
                                         a r r G r a p h P o p u p [ w i n d o w I n d e x ,   1 ] . d o c u m e n t . d g f 1 . h t m T i c k e r . v a l u e   =   s t r T i c k e r ;  
                                         i f   ( a r r G r a p h P o p u p [ w i n d o w I n d e x ,   1 ] . G r a p h _ o n c l i c k )  
                                         {   a r r G r a p h P o p u p [ w i n d o w I n d e x ,   1 ] . G r a p h _ o n c l i c k ( ) ;   }  
                                         e l s e  
                                         {  
                                                 i f   ( i s N S   = =   0 )  
                                                 {  
                                                         a r r G r a p h P o p u p [ w i n d o w I n d e x ,   1 ] . d o c u m e n t . d g f 1 . p l o t w o n 1 . g r T y p   =   a r r G r a p h P o p u p [ w i n d o w I n d e x ,   1 ] . d o c u m e n t . d g f 1 . G r T y p e . v a l u e ;  
                                                         a r r G r a p h P o p u p [ w i n d o w I n d e x ,   1 ] . d o c u m e n t . d g f 1 . p l o t w o n 1 . G r I D   =   s T y p e . t o U p p e r C a s e ( ) ;  
                                                         a r r G r a p h P o p u p [ w i n d o w I n d e x ,   1 ] . d o c u m e n t . d g f 1 . D P F M n g r 1 . S y m b o l   =   s t r T i c k e r ;  
                                                         a r r G r a p h P o p u p [ w i n d o w I n d e x ,   1 ] . d o c u m e n t . d g f 1 . p l o t w o n 1 . s y m   =   s t r T i c k e r ;  
                                                 }  
                                                 e l s e  
                                                 {  
                                                         a r r G r a p h P o p u p [ w i n d o w I n d e x ,   1 ] . p l o t w o n 1 . g r T y p   =   a r r G r a p h P o p u p [ w i n d o w I n d e x ,   1 ] . d o c u m e n t . d g f 1 . G r T y p e . v a l u e ;  
                                                         a r r G r a p h P o p u p [ w i n d o w I n d e x ,   1 ] . p l o t w o n 1 . G r I D   =   s T y p e . t o U p p e r C a s e ( ) ;  
                                                         a r r G r a p h P o p u p [ w i n d o w I n d e x ,   1 ] . D P F M n g r 1 . S y m b o l   =   s t r T i c k e r ;  
                                                         a r r G r a p h P o p u p [ w i n d o w I n d e x ,   1 ] . p l o t w o n 1 . s y m   =   s t r T i c k e r ;  
                                                 }  
                                         }  
                                         a r r G r a p h P o p u p [ w i n d o w I n d e x ,   1 ] . d o c u m e n t . d g f 1 . h t m T i c k e r . s t y l e . b a c k g r o u n d   =   " w h i t e " ;  
                                 }  
                         }  
                         e l s e  
                         {  
                                 s t r T i c k e r   =   s t r T i c k e r . r e p l a c e ( " % 2 5 2 6 " ,   " % 2 6 " ) ;  
                                 v a r   s u r l   =   " h t t p : / / "   +   s D G O P r o d u c t s S i t e   +   " / m e m b e r / D g o G r a p h s / d g o G r a p h s . a s p ? c h t = "   +   s T y p e   +   " & i b d M o d e = "   +   s M o d e   +   " & t = "   +   s t r T i c k e r   +   s A d d P r m s ;  
                                 a r r G r a p h P o p u p [ w i n d o w I n d e x ,   0 ]   =   1 ;  
                                 a r r G r a p h P o p u p [ w i n d o w I n d e x ,   1 ]   =   w i n d o w . o p e n ( s u r l ,   w i n d o w N a m e ,   i b d w i n d o w p r o p s ) ;  
                                 a r r G r a p h P o p u p [ w i n d o w I n d e x ,   1 ] . f o c u s ( ) ;  
                         }  
                 }  
                 e l s e  
                 {  
                         s t r T i c k e r   =   s t r T i c k e r . r e p l a c e ( " % 2 5 2 6 " ,   " % 2 6 " ) ;  
                         v a r   s u r l   =   " h t t p : / / "   +   s D G O P r o d u c t s S i t e   +   " / m e m b e r / D g o G r a p h s / d g o G r a p h s . a s p ? c h t = "   +   s T y p e   +   " & i b d M o d e = "   +   s M o d e   +   " & t = "   +   s t r T i c k e r   +   s A d d P r m s ;  
                         a r r G r a p h P o p u p [ w i n d o w I n d e x ,   0 ]   =   1 ;  
                         a r r G r a p h P o p u p [ w i n d o w I n d e x ,   1 ]   =   w i n d o w . o p e n ( s u r l ,   w i n d o w N a m e ,   i b d w i n d o w p r o p s ) ;  
                         a r r G r a p h P o p u p [ w i n d o w I n d e x ,   1 ] . f o c u s ( ) ;  
                 }  
         }  
         c a t c h   ( e )  
         {  
                 s t r T i c k e r   =   s t r T i c k e r . r e p l a c e ( " % 2 5 2 6 " ,   " % 2 6 " ) ;  
                 v a r   s u r l   =   " h t t p : / / "   +   s D G O P r o d u c t s S i t e   +   " / m e m b e r / D g o G r a p h s / d g o G r a p h s . a s p ? c h t = "   +   s T y p e   +   " & i b d M o d e = "   +   s M o d e   +   " & t = "   +   s t r T i c k e r   +   s A d d P r m s ;  
                 a r r G r a p h P o p u p [ w i n d o w I n d e x ,   0 ]   =   1 ;  
                 a r r G r a p h P o p u p [ w i n d o w I n d e x ,   1 ]   =   w i n d o w . o p e n ( s u r l ,   w i n d o w N a m e ,   i b d w i n d o w p r o p s ) ;  
                 a r r G r a p h P o p u p [ w i n d o w I n d e x ,   1 ] . f o c u s ( ) ;  
         }  
 }  
  
 f u n c t i o n   j s f C h e c k C h a r t T o O p e n ( s t r T y p e )  
 {  
         / /   d o e s   u p g r a d e   b a s e d   o n   u s e r   a c c e s s  
         i f   ( s A c c e s s . l e n g t h   >   0 )  
         {   r e t u r n   s A c c e s s . t o L o w e r C a s e ( ) ;   }  
         r e t u r n   s t r T y p e ;  
 }  
  
 f u n c t i o n   S e t C o n t e x t K e y ( e , a u t o C o m p l e t e N a m e , c o o k i e D o m a i n )  
 {  
         t r y  
         {  
                 v a r   A u t o C o m p l e t e   =   $ f i n d ( a u t o C o m p l e t e N a m e ) ;  
  
                 i f   ( e . c h i l d N o d e s [ 0 ] . c h e c k e d )  
                 {  
                         A u t o C o m p l e t e . s e t _ c o n t e x t K e y ( ' 0 ' ) ;  
                         $ . c o o k i e ( " s e r v i c e M e t h o d " ,   ' G e t S t o c k S e a r c h S u g g e s t i o n s ' ,   {   e x p i r e s :   7 ,   p a t h :   ' / ' ,   d o m a i n :   c o o k i e D o m a i n   } ) ;  
                 }  
                 e l s e  
                 {  
                         A u t o C o m p l e t e . s e t _ c o n t e x t K e y ( ' 1 ' ) ;  
                         $ . c o o k i e ( " s e r v i c e M e t h o d " ,   ' G e t D i m e n s i o n S e a r c h S u g g e s t i o n s ' ,   {   e x p i r e s :   7 ,   p a t h :   ' / ' ,   d o m a i n :   c o o k i e D o m a i n   } ) ;  
                 }  
         }  
         c a t c h   ( e r r )   {   }  
 }  
  
 f u n c t i o n   p r e d i c t i v e P o p u l a t e d ( s e n d e r ,   e )  
 {  
         p r e d i c t i v e P o p u l a t e d E x e c u t e ( s e n d e r ,   e ,   a u t o C o m p l e t e E x t e n d e r I D ,   p r e d i c t i v e S e a r c h B o x I D ) ;  
 }  
  
 f u n c t i o n   p r e d i c t i v e P o p u l a t e d 2 ( s e n d e r ,   e )  
 {  
         p r e d i c t i v e P o p u l a t e d E x e c u t e ( s e n d e r ,   e ,   a u t o C o m p l e t e E x t e n d e r I D 2 ,   p r e d i c t i v e S e a r c h B o x I D 2 ) ;  
 }  
  
 f u n c t i o n   p r e d i c t i v e P o p u l a t e d E x e c u t e ( s e n d e r ,   e ,   a u t o C o m p l e t e I d ,   p r e d S e a r c h B o x I d )  
 {  
         i f   ( s e a r c h R e a d y )  
         {  
                 a r r o w K e y C o u n t e r   =   0 ;  
                 v a r   b e h a v i o r   =   $ f i n d ( a u t o C o m p l e t e I d ) ;  
                 v a r   t a r g e t   =   b e h a v i o r . g e t _ c o m p l e t i o n L i s t ( ) ;  
                 b e h a v i o r . _ c o m p l e t i o n L i s t E l e m e n t . s t y l e . w i d t h   =   " 2 5 7 p x " ;  
                 v a r   c h i l d r e n   =   t a r g e t . c h i l d N o d e s ;  
                 v a r   s e a r c h T e x t   =   $ g e t ( p r e d S e a r c h B o x I d ) . v a l u e ;  
                 s e a r c h T e x t   =   s e a r c h T e x t . r e p l a c e ( / ^ \ s + | \ s + $ / g ,   ' ' ) ;  
                 f o r   ( v a r   i   =   0 ;   i   <   c h i l d r e n . l e n g t h ;   i + + )  
                 {  
                         v a r   c h i l d   =   c h i l d r e n [ i ] ;  
                         v a r   v a l u e   =   c h i l d . _ v a l u e ;  
  
                         / /   c l e a n   u p   & r e g ;  
                         s e a r c h T e x t H T M L   =   " & r e g ; " ;  
                         H T M L R e g E x   =   n e w   R e g E x p ( s e a r c h T e x t H T M L ,   " g i " ) ;  
                         v a l u e   =   v a l u e . r e p l a c e ( s e a r c h T e x t H T M L ,   " " ) ;  
  
                         / /   c l e a n   u p   & a m p ;  
                         v a l u e   =   v a l u e . r e p l a c e ( / & a m p ; / g i ,   ' & ' ) ;  
  
                         / /   c l e a n   u p   < i > ,   < / i >   |   < s u p > ,   < / s u p >  
                         v a l u e   =   v a l u e . r e p l a c e ( / < i > / g i ,   ' ' ) . r e p l a c e ( / < \ / i > / g i ,   ' ' ) ;  
                         v a l u e   =   v a l u e . r e p l a c e ( / < s u p > / g i ,   ' ' ) . r e p l a c e ( / < \ / s u p > / g i ,   ' ' ) ;  
  
                         / /   m a r k   t e x t   f o r   b o l d f a c e    
                         s e a r c h T e x t R e g E x p P C   =   n e w   R e g E x p ( s e a r c h T e x t   +   ' \ \ W ' ,   " i " ) ;  
                         s e a r c h T e x t R e g E x p S t r i n g   =   n e w   R e g E x p ( s e a r c h T e x t ,   " i " ) ;  
                         i f   ( v a l u e . m a t c h ( s e a r c h T e x t R e g E x p P C )   ! =   n u l l )  
                         {  
                                 v a l u e   =   v a l u e . r e p l a c e ( s e a r c h T e x t R e g E x p P C ,   " * "   +   " $ & "   +   " * " ) ;  
                         }  
                         e l s e  
                         {  
                                 v a l u e   =   v a l u e . r e p l a c e ( s e a r c h T e x t R e g E x p S t r i n g ,   " * "   +   " $ & "   +   " * " ) ;  
                         }  
  
                         / / t u n i n g   h e l p  
                         v a l u e A r r a y   =   v a l u e . s p l i t ( " * " ) ;  
                         v a r   n e w L i s t I t e m   =   d o c u m e n t . c r e a t e E l e m e n t ( " l i " ) ;  
                         v a r   n e w A n c h o r   =   d o c u m e n t . c r e a t e E l e m e n t ( " a " ) ;  
                         i f   ( i s E v e n ( i ) )  
                         { / /   s p e c i a l   p r o c e s s i n g   f o r   s t y l e  
                                 n e w L i s t I t e m . c l a s s N a m e   + =   "   a l t r o w " ;  
                         }  
                         n e w A n c h o r . s e t A t t r i b u t e ( " h r e f " ,   " " ) ;  
  
                         f o r   ( v a r   j   =   0 ;   j   <   v a l u e A r r a y . l e n g t h ;   j + + )  
                         {  
                                 i f   ( v a l u e A r r a y [ j ] . t r i m ( ) . t o L o w e r C a s e ( )   = =   s e a r c h T e x t . t o L o w e r C a s e ( ) )  
                                 {  
                                         v a r   n e w B o l d   =   d o c u m e n t . c r e a t e E l e m e n t ( " b " ) ;  
                                         n e w B o l d . a p p e n d C h i l d ( d o c u m e n t . c r e a t e T e x t N o d e ( v a l u e A r r a y [ j ] ) ) ;  
                                         n e w A n c h o r . a p p e n d C h i l d ( n e w B o l d ) ;  
                                         n e w L i s t I t e m . a p p e n d C h i l d ( n e w A n c h o r ) ;  
                                 }   e l s e  
                                 {  
                                         n e w A n c h o r . a p p e n d C h i l d ( d o c u m e n t . c r e a t e T e x t N o d e ( v a l u e A r r a y [ j ] ) ) ;  
                                         n e w L i s t I t e m . a p p e n d C h i l d ( n e w A n c h o r ) ;   / / p o p u l a t e   t h e   l i s t   i t e m   m o r e   w i t h   t h e   s y m b o l   d e f i n i t i o n   t e x t ,   p l u s   e x t r a   s p a c e  
                                 }  
                         }  
  
                         t a r g e t . r e p l a c e C h i l d ( n e w L i s t I t e m ,   c h i l d ) ;  
                 }  
  
         }  
 }  
  
 S t r i n g . p r o t o t y p e . t r i m   =   f u n c t i o n ( )   {   r e t u r n   t h i s . r e p l a c e ( / ^ \ s + | \ s + $ / g ,   ' ' ) ;   }  
  
 f u n c t i o n   i s E v e n ( v a l u e )  
 {  
         i f   ( v a l u e   %   2   = =   0 )  
         {  
                 r e t u r n   t r u e ;  
         }   e l s e  
         {  
                 r e t u r n   f a l s e ;  
         }  
 }  
  
 f u n c t i o n   c l e a n S e l e c t e d T e x t ( t e x t )  
 {  
         / /   r e m o v e   b   n o d e   f r o m   t e x t  
         v a r   t e m p   =   t e x t . r e p l a c e ( / < b > / g i ,   ' ' ) . r e p l a c e ( / < \ / b > / g i ,   ' ' ) ;  
  
         / /   c l e a n   u p   & a m p ;  
         t e m p   =   t e m p . r e p l a c e ( / & a m p ; / g i ,   ' & ' ) ;  
  
         r e t u r n   t e m p ;  
 }  
  
 f u n c t i o n   p r e d i c t i v e S e l e c t e d ( s e n d e r ,   e )  
 {  
         p r e d i c t i v e S e l e c t e d E x e c u t e ( s e n d e r ,   e ,   r a d i o L i s t B t n 0 I D ,   r a d i o L i s t B t n 1 I D ,   p r e d i c t i v e S e a r c h B o x I D ,   g o B t n I D ) ;    
 }  
  
 f u n c t i o n   p r e d i c t i v e S e l e c t e d 2 ( s e n d e r ,   e )  
 {  
         p r e d i c t i v e S e l e c t e d E x e c u t e ( s e n d e r ,   e ,   r a d i o L i s t B t n 0 I D 2 ,   r a d i o L i s t B t n 1 I D 2 ,   p r e d i c t i v e S e a r c h B o x I D 2 ,   g o B t n I D 2 ) ;  
 }  
  
 f u n c t i o n   p r e d i c t i v e S e l e c t e d E x e c u t e ( s e n d e r ,   e ,   r a d i o I d 1 ,   r a d i o I d 2 ,   p r e d S e a r c h B o x I d ,   g o I d )  
 {  
         v a r   s e l e c t e d V a l u e   =   n u l l ;  
  
         i f   ( e . _ i t e m . n o d e N a m e   = =   " B " )  
         {  
                 s e l e c t e d V a l u e   =   e . _ i t e m . p a r e n t N o d e . i n n e r H T M L ;  
         }  
         e l s e  
         {  
                 s e l e c t e d V a l u e   =   e . _ i t e m . i n n e r H T M L ;  
         }  
  
         s e l e c t e d V a l u e   =   c l e a n S e l e c t e d T e x t ( s e l e c t e d V a l u e ) ;  
  
         v a r   s e a r c h B o x V a l u e   =   n u l l ;  
         v a r   r a d i o B t n V a l u e   =   n u l l ;  
         v a r   s e l e c t e d V a l u e A r r a y   =   s e l e c t e d V a l u e . s p l i t ( "         " )   / /   s p e c i a l   p r o c e s s i n g   f o r   q u o t e   &   s i t e   m o d e  
  
         i f   ( $ g e t ( r a d i o I d 1 ) . c h e c k e d )  
         {  
                 s e a r c h B o x V a l u e   =   s e l e c t e d V a l u e A r r a y [ 0 ] ;  
         }  
         e l s e   i f   ( $ g e t ( r a d i o I d 2 ) . c h e c k e d )  
         {  
                 i f   ( s e l e c t e d V a l u e A r r a y . l e n g t h   >   1 )  
                 {  
                         s e a r c h B o x V a l u e   =   s e l e c t e d V a l u e A r r a y [ 1 ] ;  
                 }  
                 e l s e  
                 {  
                         s e a r c h B o x V a l u e   =   s e l e c t e d V a l u e A r r a y [ 0 ] ;  
                 }  
         }  
  
         / /   s e t   t h e   t e x t b o x   v a l u e   a n d   p e r f o r m   t h e   s e a r c h  
         / /   s p e c i a l   p r o c e s s i n g   f o r   t a b   k e y  
         / /   c l e a n   u p   < a   h r e f = " " > 	 	  
         s e a r c h B o x V a l u e   =   s e a r c h B o x V a l u e . r e p l a c e ( / < A   h r e f = \ " \ " > / g i ,   ' ' ) ;  
         s e a r c h B o x V a l u e   =   s e a r c h B o x V a l u e . r e p l a c e ( / < \ / A > / g i ,   ' ' ) ;  
  
         $ g e t ( p r e d S e a r c h B o x I d ) . v a l u e   =   s e a r c h B o x V a l u e ;  
         v a r   h r e f   =   d o c u m e n t . g e t E l e m e n t B y I d ( g o I d ) . h r e f ;  
         h r e f   =   h r e f . s u b s t r i n g ( h r e f . i n d e x O f ( ' j a v a s c r i p t : ' )   +   ' j a v a s c r i p t : ' . l e n g t h ) ;  
         e v a l ( h r e f ) ;  
 }  
  
 v a r   a r r o w K e y C o u n t e r   =   0 ;  
 v a r   i n i t a l V a l u e   =   n u l l ;  
  
 f u n c t i o n   K e y C h e c k ( e , a u t o C o m p l e t e N a m e , p r e d S e a r c h B o x I d , r a d i o 1 I d , r a d i o 2 I d )  
 {  
         v a r   K e y I D   =   ( w i n d o w . e v e n t )   ?   e v e n t . k e y C o d e   :   e . k e y C o d e ;  
         i f   ( K e y I D   = =   3 8 )  
         {  
                 i f   ( a r r o w K e y C o u n t e r   = =   1 )  
                 {  
                         - - a r r o w K e y C o u n t e r ;  
                         v a r   a r r o w T e m p C o u n t e r   =   a r r o w K e y C o u n t e r ;  
                         v a r   b e h a v i o r   =   $ f i n d ( a u t o C o m p l e t e N a m e ) ;  
                         v a r   t a r g e t   =   b e h a v i o r . g e t _ c o m p l e t i o n L i s t ( ) ;  
                         v a r   c h i l d r e n   =   t a r g e t . c h i l d N o d e s ;  
  
                         / / r e s e t   p r e v i o u s   i t e m  
                         v a r   c h i l d   =   c h i l d r e n [ a r r o w K e y C o u n t e r ] ;  
                         s e a r c h T e x t R e g E x p   =   n e w   R e g E x p ( " p r e d L i n k S e l e c t e d " ,   " i " ) ;  
                         v a r   t e m p   =   c h i l d . c l a s s N a m e ;  
                         c h i l d . c l a s s N a m e   =   t e m p . r e p l a c e ( s e a r c h T e x t R e g E x p ,   ' ' ) ;  
                         v a r   c h i l d   =   c h i l d r e n [ a r r o w T e m p C o u n t e r ] ;  
  
                         $ g e t ( p r e d S e a r c h B o x I d ) . v a l u e   =   i n i t a l V a l u e ;  
                 }  
  
                 i f   ( a r r o w K e y C o u n t e r   >   1 )  
                 {  
                         - - a r r o w K e y C o u n t e r ;  
                         v a r   a r r o w T e m p C o u n t e r   =   a r r o w K e y C o u n t e r   -   1 ;  
                         v a r   b e h a v i o r   =   $ f i n d ( a u t o C o m p l e t e N a m e ) ;  
                         v a r   t a r g e t   =   b e h a v i o r . g e t _ c o m p l e t i o n L i s t ( ) ;  
                         v a r   c h i l d r e n   =   t a r g e t . c h i l d N o d e s ;  
                         i f   ( a r r o w K e y C o u n t e r   >   0 )  
                         {  
                                 / / r e s e t   p r e v i o u s   i t e m  
                                 v a r   c h i l d   =   c h i l d r e n [ a r r o w K e y C o u n t e r ] ;  
                                 s e a r c h T e x t R e g E x p   =   n e w   R e g E x p ( " p r e d L i n k S e l e c t e d " ,   " i " ) ;  
                                 v a r   t e m p   =   c h i l d . c l a s s N a m e ;  
                                 c h i l d . c l a s s N a m e   =   t e m p . r e p l a c e ( s e a r c h T e x t R e g E x p ,   ' ' ) ;  
                                 v a r   c h i l d   =   c h i l d r e n [ a r r o w T e m p C o u n t e r ] ;  
  
                                 / /   s e t   t e x t b o x   v a l u e  
                                 v a r   s e l e c t e d V a l u e   =   c l e a n S e l e c t e d T e x t ( c h i l d . c h i l d N o d e s [ 0 ] . i n n e r H T M L ) ;  
                                 v a r   s e a r c h B o x V a l u e   =   n u l l ;  
                                 v a r   s e l e c t e d V a l u e A r r a y   =   s e l e c t e d V a l u e . s p l i t ( "         " )   / /   s p e c i a l   p r o c e s s i n g   f o r   q u o t e   &   s i t e   m o d e  
  
                                 i f   ( $ g e t ( r a d i o 1 I d ) . c h e c k e d )  
                                 {  
                                         s e a r c h B o x V a l u e   =   s e l e c t e d V a l u e A r r a y [ 0 ] ;  
                                 }  
                                 e l s e   i f   ( $ g e t ( r a d i o 2 I d ) . c h e c k e d )  
                                 {  
                                         i f   ( s e l e c t e d V a l u e A r r a y . l e n g t h   >   1 )  
                                         {  
                                                 s e a r c h B o x V a l u e   =   s e l e c t e d V a l u e A r r a y [ 1 ] ;  
                                         }  
                                         e l s e  
                                         {  
                                                 s e a r c h B o x V a l u e   =   s e l e c t e d V a l u e A r r a y [ 0 ] ;  
                                         }  
                                 }  
  
                                 $ g e t ( p r e d S e a r c h B o x I d ) . v a l u e   =   s e a r c h B o x V a l u e ;  
                                 v a r   v a l u e   =   c h i l d . _ v a l u e ;  
                                 c h i l d . c l a s s N a m e   + =   "   p r e d L i n k S e l e c t e d " ;  
                         }  
                 }  
         }  
  
         i f   ( K e y I D   = =   4 0 )  
         {  
                 i f   ( a r r o w K e y C o u n t e r   = =   0 )  
                 {  
                         i n i t a l V a l u e   =   $ g e t ( p r e d S e a r c h B o x I d ) . v a l u e ;  
                 }  
  
                 v a r   b e h a v i o r   =   $ f i n d ( a u t o C o m p l e t e N a m e ) ;  
                 v a r   t a r g e t   =   b e h a v i o r . g e t _ c o m p l e t i o n L i s t ( ) ;  
                 v a r   c h i l d r e n   =   t a r g e t . c h i l d N o d e s ;  
                 i f   ( a r r o w K e y C o u n t e r   <   p a r s e I n t ( c h i l d r e n . l e n g t h ) )  
                 {  
                         i f   ( a r r o w K e y C o u n t e r   >   0 )  
                         {   / /   r e s e t   p r e v i o u s   i t e m  
                                 v a r   p r e v i o u s I t e m   =   a r r o w K e y C o u n t e r   -   1 ;  
                                 v a r   c h i l d   =   c h i l d r e n [ p r e v i o u s I t e m ] ;  
                                 s e a r c h T e x t R e g E x p   =   n e w   R e g E x p ( " p r e d L i n k S e l e c t e d " ,   " i " ) ;  
                                 v a r   t e m p   =   c h i l d . c l a s s N a m e ;  
                                 c h i l d . c l a s s N a m e   =   t e m p . r e p l a c e ( s e a r c h T e x t R e g E x p ,   ' ' ) ;  
                         }  
                         v a r   c h i l d   =   c h i l d r e n [ a r r o w K e y C o u n t e r ] ;  
  
                         / /   s e t   t e x t b o x   v a l u e  
                         v a r   s e l e c t e d V a l u e   =   c l e a n S e l e c t e d T e x t ( c h i l d . c h i l d N o d e s [ 0 ] . i n n e r H T M L ) ;  
                         v a r   s e a r c h B o x V a l u e   =   n u l l ;  
                         v a r   s e l e c t e d V a l u e A r r a y   =   s e l e c t e d V a l u e . s p l i t ( "         " )  
  
                         i f   ( $ g e t ( r a d i o 1 I d ) . c h e c k e d )  
                         {  
                                 s e a r c h B o x V a l u e   =   s e l e c t e d V a l u e A r r a y [ 0 ] ;  
                         }  
                         e l s e   i f   ( $ g e t ( r a d i o 2 I d ) . c h e c k e d )  
                         {  
                                 i f   ( s e l e c t e d V a l u e A r r a y . l e n g t h   >   1 )  
                                 {  
                                         s e a r c h B o x V a l u e   =   s e l e c t e d V a l u e A r r a y [ 1 ] ;  
                                 }  
                                 e l s e  
                                 {  
                                         s e a r c h B o x V a l u e   =   s e l e c t e d V a l u e A r r a y [ 0 ] ;  
                                 }  
                         }  
  
                         $ g e t ( p r e d S e a r c h B o x I d ) . v a l u e   =   s e a r c h B o x V a l u e ;  
                         c h i l d . c l a s s N a m e   + =   "   p r e d L i n k S e l e c t e d " ;  
                         a r r o w K e y C o u n t e r + + ;  
                 }  
         }  
 } 
