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