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