þÿ 
 / * * 
 *   A l e r t   P O p U p   M o d a l 
 * / 
 
 	 v a r   M o d a l D i a l o g W i n d o w ; 
 	 v a r   M o d a l D i a l o g I n t e r v a l ; 
 	 v a r   M o d a l D i a l o g   =   n e w   O b j e c t ; 
 
 	 M o d a l D i a l o g . v a l u e   =   ' ' ; 
 	 M o d a l D i a l o g . e v e n t h a n d l e r   =   ' ' ; 
 
 	 f u n c t i o n   M o d a l D i a l o g M a i n t a i n F o c u s ( ) 
 	 { 
   	   t r y 
   	   { 
       	 	 i f   ( M o d a l D i a l o g W i n d o w . c l o s e d ) 
         	 { 
               	 	 w i n d o w . c l e a r I n t e r v a l ( M o d a l D i a l o g I n t e r v a l ) ; 
               	 	 e v a l ( M o d a l D i a l o g . e v e n t h a n d l e r ) ; 
               	 	 r e t u r n ; 
         	 } 
       	 	 M o d a l D i a l o g W i n d o w . f o c u s ( ) ; 
   	   } 
   	   c a t c h   ( e v e r y t h i n g )   {       } 
 	 } 
 
 	 f u n c t i o n   M o d a l D i a l o g R e m o v e W a t c h ( ) 
 	 { 
       	 	 M o d a l D i a l o g . v a l u e   =   ' ' ; 
       	 	 M o d a l D i a l o g . e v e n t h a n d l e r   =   ' ' ; 
 	 } 
 
 	 f u n c t i o n   M o d a l D i a l o g S h o w ( T i t l e , B o d y T e x t , B u t t o n s , E v e n t H a n d l e r ) 
 	 { 
 
     	 	 M o d a l D i a l o g R e m o v e W a t c h ( ) ; 
     	 	 M o d a l D i a l o g . e v e n t h a n d l e r   =   E v e n t H a n d l e r ; 
 
     	 	 v a r   a r g s = ' w i d t h = 3 5 0 , h e i g h t = 1 2 5 , l e f t = 3 2 5 , t o p = 3 0 0 , t o o l b a r = 0 , ' ; 
             	 a r g s + = ' l o c a t i o n = 0 , s t a t u s = 0 , s t a t u s b a r = 0 , m e n u b a r = 0 , s c r o l l b a r s = 0 , r e s i z a b l e = 0 ' ; 
 
     	 	 M o d a l D i a l o g W i n d o w = w i n d o w . o p e n ( " " , " " , a r g s ) ; 
     	 	 M o d a l D i a l o g W i n d o w . d o c u m e n t . o p e n ( ) ; 
     	 	 v a r   s H t m l   =   " " ; 
     	 	 s H t m l   + =   ' < ! D O C T Y P E   h t m l   P U B L I C   " - / / W 3 C / / D T D   X H T M L   1 . 0   S t r i c t / / E N " ' ; 
     	 	 s H t m l   + =   '   " h t t p : / / w w w . w 3 . o r g / T R / x h t m l 1 / D T D / x h t m l 1 - s t r i c t . d t d " > ' ; 
     	 	 s H t m l   + =   ' < h t m l > ' ; 
 	 	 s H t m l   + =   ' < h e a d > ' ; 
     	 	 s H t m l   + =   ' < t i t l e > '   +   T i t l e   +   ' < / t i t l e > ' ; 
     	 	 s H t m l   + =   ' < l i n k   h r e f = " / e g r o u p w a r e / p h p g w a p i / t e m p l a t e s / i n t e g r a / c s s / p o p u p . c s s "   r e l = " s t y l e s h e e t "   t y p e = " t e x t / c s s "   / > ' ; 
     	 	 s H t m l   + =   ' < l i n k   h r e f = " / e g r o u p w a r e / p h p g w a p i / t e m p l a t e s / i n t e g r a / c s s / p a d r o e s . c s s "   r e l = " s t y l e s h e e t "   t y p e = " t e x t / c s s "   / > ' ; 
     	 	 s H t m l   + =   ' < s c r i p t   t y p e = " t e x t / j a v a s c r i p t " > ' ; 
     	 	 s H t m l   + =   ' f u n c t i o n   C l o s e F o r m ( R e s p o n s e )   ' ; 
     	 	 s H t m l   + =   ' {   ' ; 
     	 	 s H t m l   + =   ' 	 w i n d o w . o p e n e r . M o d a l D i a l o g . v a l u e   =   R e s p o n s e ;   ' ; 
     	 	 s H t m l   + =   ' 	 w i n d o w . c l o s e ( ) ;   ' ; 
     	 	 s H t m l   + =   ' }   ' ; 
     	 	 s H t m l   + =   ' < / s c r i p t > ' ; 
     	 	 s H t m l   + =   ' < / h e a d > ' ; 
     	 	 s H t m l   + =   ' < b o d y   o n b l u r = " w i n d o w . f o c u s ( ) ; " > ' ; 
     	 	 s H t m l   + =   ' < i m g   s r c = " p h p g w a p i / t e m p l a t e s / i c i / i m a g e s / i c o n _ a l e r t . g i f "   a l t = " A t e n & c c e d i l ; & a t i l d e ; o "   / > < d i v   i d = " m e n s a g e m P o p u p " > ' +   B o d y T e x t + ' < / d i v > ' ; 
     	 	 s H t m l   + =   ' < d i v   i d = " b o t a o P o p u p " > ' + B u t t o n s + ' < / d i v > ' ; 
     	 	 s H t m l   + =   ' < / b o d y > ' ; 
     	 	 s H t m l   + =   ' < / h t m l > ' ; 
     	 	 M o d a l D i a l o g W i n d o w . d o c u m e n t . w r i t e ( s H t m l ) ; 
     	 	 M o d a l D i a l o g W i n d o w . d o c u m e n t . c l o s e ( ) ; 
     	 	 M o d a l D i a l o g W i n d o w . f o c u s ( ) ; 
     	 	 M o d a l D i a l o g I n t e r v a l   =   w i n d o w . s e t I n t e r v a l ( " M o d a l D i a l o g M a i n t a i n F o c u s ( ) " , 5 ) ; 
 
 	 } 
 	 
 	 f u n c t i o n   p o p U p ( B o d y T e x t , E v e n t H a n d l e r ) 
   	 { 
         	 v a r   B u t t o n s = ' ' ; 
         	 B u t t o n s   =   ' < i n p u t   t y p e = " b u t t o n "   n a m e = " o k "   i d = " o k "   v a l u e = " O K "   c l a s s = " b u t t o n "   o n c l i c k = " C l o s e F o r m ( ) ; "   / > ' ; 
 
         	 M o d a l D i a l o g S h o w ( " D i a l o g " , B o d y T e x t , B u t t o n s , E v e n t H a n d l e r ) ; 
   	 } 
 	 
 	 
 	 

