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