ÿþ/ *   f u n c t i o n   f o r   d i s p l a y   t h e   p o p u p   w i n d o w     * /  
  
 f u n c t i o n   s h o w P o p u p W i n d o w ( u r l , h e i g h t , w i d t h )  
 {  
        
 / /         / / d e b u g g e r ;  
 / /         v a r   x   =   ( s c r e e n . a v a i l H e i g h t - 1 7 0 ) ;  
 / /         v a r   y   =   s c r e e n . a v a i l w i d t h ;    
 / /         / / d o c u m e n t . g e t E l e m e n t B y I d ( ' m y T e s t ' ) . i n n e r T e x t = t i t l e ;  
 / /         / / d o c u m e n t . g e t E l e m e n t B y I d ( ' d i v M y W i n d o w ' ) . s t y l e . d i s p l a y = ' i n l i n 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 i v M y F r a m e ' )   ! =   n u l l )  
 / /         {  
 / /                 d o c u m e n t . g e t E l e m e n t B y I d ( ' d i v M y F r a m e ' ) . s t y l e . h e i g h t = h e i g h t ;  
 / /                 d o c u m e n t . g e t E l e m e n t B y I d ( ' d i v M y F r a m e ' ) . s t y l e . w i d t h = w i d t h ;  
 / /         }  
 / /         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 i v M y W i n d o w ' )   ! =   n u l l )  
 / /         {          
 / /                 d o c u m e n t . g e t E l e m e n t B y I d ( ' d i v M y W i n d o w ' ) . s t y l e . l e f t   =   ( y - w i d t h ) / 2 ;  
 / /                 d o c u m e n t . g e t E l e m e n t B y I d ( ' d i v M y W i n d o w ' ) . s t y l e . t o p   =     ( x - h e i g h t ) / 2 ;  
 / /         }  
         / / d o c u m e n t . g e t E l e m e n t B y I d ( ' d i v M y F r a m e ' ) . s r c = u r l ;  
         M y W i n d o w = e M a n d i M o d a l . o p e n ( " S U C U B   P R   S E R V I C E S   :   D e h r a d u n " ,   " i f r a m e " ,   u r l ,   " S U C U B   P R   S E R V I C E S   :   D e h r a d u n " ,   " w i d t h = " + w i d t h + " , h e i g h t = " + h e i g h t + " , r e s i z e = 1 , s c r o l l i n g = 1 , c e n t e r = 1 , c l o s e = f a l s e " ,   " r e c a l " )  
         r e t u r n   t r u e ;  
  
 }  
  
 f u n c t i o n   c l o s e P o p u p W i n d o w ( u r l )  
 {  
         p a r e n t . M y W i n d o w . h i d e ( ) ;  
         / / p a r e n t . l o c a t i o n . r e l o a d ( t r u e ) ;  
         / / p a r e n t . l o c a t i o n . h r e f ( u r l ) ;  
 }  
  
  
 
