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