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