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