function writeHeader()
{
document.write("<style type='text/css'>td img {display: block;}</style>");
document.write("<link rel='stylesheet' type='text/css' href='ssc.css'>");
document.write("<link rel='shortcut icon'  href='favicon.ico'>");
document.write("<table border='0' width='100%' id='table1' cellspacing='0' cellpadding='0'><tr><td>&nbsp;</td><td width='20' background='images/Untitled-1_r2_c1.jpg'><img border='0' src='images/Untitled-1_r2_c1.jpg' width='20' height='29'></td><td width='736'><table border='0' cellpadding='0' cellspacing='0' width='736' id='table2'><tr><td><img src='images/spacer.gif' width='736' height='1' border='0' alt='' /></td><td><img src='images/spacer.gif' width='1' height='1' border='0' alt='' /></td></tr><tr><td><img name='welcome_r1_c1' src='images/welcome_r1_c1.jpg' width='736' height='68' border='0' id='welcome_r1_c1' alt='' /></td><td><img src='images/spacer.gif' width='1' height='68' border='0' alt='' /></td></tr><tr><td><img name='welcome_r2_c1' src='images/welcome_r2_c1.jpg' width='736' height='27' border='0' id='welcome_r2_c1' alt='' /></td><td><img src='images/spacer.gif' width='1' height='27' border='0' alt='' /></td></tr>");
document.write("<tr><td><object classid='clsid:D27CDB6E-AE6D-11CF-96B8-444553540000' id='obj1' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0' border='0' width='736' height='76'>		<param name='movie' value='images/header.swf'><param name='quality' value='High'><embed src='images/header.swf' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' name='obj1' width='736' height='76'></object></td><td><img src='images/spacer.gif' width='1' height='76' border='0' alt='' /></td></tr><tr><td background='images/welcome_r4_c1.jpg' valign='bottom' align='left' style='padding-bottom: 2px'>");
//Header Link
document.write("<table width='99%' id='table5' cellspacing='0' cellpadding='0' style='border-left-width: 1px; border-top-width: 1px; border-bottom-width: 1px' height='10'><tr>");
//About Us
document.write("<td width='63' style='border-left-width: 1px; border-right: 1px solid #FFFFFF; border-top-width: 1px; border-bottom-width: 1px' align='center'><b><font face='Tahoma' size='1'><a href='welcome.htm'>ABOUT US</a></font></b></td>");
//Organisation
document.write("<td width='100' style='border-left-width: 1px; border-right: 1px solid #FFFFFF; border-top-width: 1px; border-bottom-width: 1px' align='center'><a href='flow_chart.htm'>ORGANISATION</a></td>");
//Functions
document.write("<td width='75' style='border-left-width: 1px; border-right: 1px solid #FFFFFF; border-top-width: 1px; border-bottom-width: 1px' align='center'><b><font face='Tahoma' size='1'><a href='Functions.htm'>FUNCTIONS</a></font></b></td>");
//FAQ
document.write("<td width='36' style='border-left-width: 1px; border-right: 1px solid #FFFFFF; border-top-width: 1px; border-bottom-width: 1px' align='center'><b><font face='Tahoma' color='#FFFFFF' size='1'><a href='FAQ.htm'>FAQ</a></font></b></td>");
//Projects
document.write("<td width='70' style='border-left-width: 1px; border-right: 1px solid #FFFFFF; border-top-width: 1px; border-bottom-width: 1px' align='center'><b><font face='Tahoma' color='#FFFFFF' size='1'><a href='Projects.htm'>PROJECTS</a></font></b></td>");
//ePension
document.write("<td width='70' style='border-left-width: 1px; border-right: 1px solid #FFFFFF; border-top-width: 1px; border-bottom-width: 1px' align='center'><b><font face='Tahoma' color='#FFFFFF' size='1'><a href='pension.htm'>ePENSION</a></font></b></td>");
//eSalary
document.write("<td width='60' style='border-left-width: 1px; border-right: 1px solid #FFFFFF; border-top-width: 1px; border-bottom-width: 1px' align='center'><b><font face='Tahoma' color='#FFFFFF' size='1'><a href='eSalary.htm'>eSALARY</a></font></b></td>");
//Treasuries
document.write("<td width='80' style='border-left-width: 1px; border-right: 1px solid #FFFFFF; border-top-width: 1px; border-bottom-width: 1px' align='center'><b><font face='Tahoma' size='1'><a href='llist_treasury.htm'>TREASURIES</a></font></b></td>");
//RTI
document.write("<td width='40' style='border-left-width: 1px; border-right: 1px solid #FFFFFF; border-top-width: 1px; border-bottom-width: 1px' align='center'><b><font face='Tahoma' size='1' color='#000080'><a href='rti.htm'>RTI</a></font></b></td>");
//Contacts
document.write("<td width='70' style='border-left-width: 1px; border-right: 1px solid #FFFFFF; border-top-width: 1px; border-bottom-width: 1px' align='center'><b><font face='Tahoma' size='1' color='#000080'><a href='contacts.htm'>CONTACTS</a></font></b></td>");
//Links
document.write("<td width='50' style='border-left-width: 1px; border-right: 1px solid #FFFFFF; border-top-width: 1px; border-bottom-width: 1px' align='center'><b><font face='Tahoma' size='1' color='#000080'><a href='link.htm'>LINKS</a></font></b></td>");
//eKosh
document.write("<td width='50' style='border-left-width: 1px; border-right: 1px; border-top-width: 1px; border-bottom-width: 1px' align='center'><b><font face='Tahoma' size='1' color='#000080'><a href='eKosh.htm'>eKosh</a></font></b></td>");
document.write("</tr></table></td><td><img src='images/spacer.gif' width='1' height='27' border='0' alt='' /></td></tr></table></td><td width='20' background='images/Untitled-1_r4_c5.jpg'><img border='0' src='images/Untitled-1_r4_c5.jpg' width='20' height='28'></td><td>&nbsp;</td></tr></table>");
}
function writeFooter()
{
//Read Disclaimer
document.write("<tr><td>&nbsp;</td><td width='20' background='images/Untitled-1_r2_c1.jpg'>&nbsp;</td><td width='736'>&nbsp;		</td><td width='20' background='images/Untitled-1_r4_c5.jpg'>&nbsp;</td><td>&nbsp;</td></tr><tr><td>&nbsp;</td><td width='20' background='images/Untitled-1_r2_c1.jpg'>&nbsp;</td><td width='736'><font size='2'>Disclaimer:Content on this website is published and managed by Department of Treasuries, Accounts and Lotteries, Himachal Pradesh, Shimla. For any query regarding this website, please contact the \"Web Information Manager: Sh Deepak Bhardwaj (Joint Director), jdtre-hp@nic.in\". Contents of this website are informative only and for benefit of the public. However, these do not confer any legal right or obligation. Website designed by National Informatics Centre. </li></font></td><td width='20' background='images/Untitled-1_r4_c5.jpg'>&nbsp;</td><td>&nbsp;</td></tr>");

//Website design
//document.write("<tr><td>&nbsp;</td><td width='20' background='images/Untitled-1_r2_c1.jpg'>&nbsp;</td><td width='736'>&nbsp;		</td><td width='20' background='images/Untitled-1_r4_c5.jpg'>&nbsp;</td><td>&nbsp;</td></tr><tr><td>&nbsp;</td><td width='20' background='images/Untitled-1_r2_c1.jpg'>&nbsp;</td><td width='736'><p align='center'><font size='2'><a target='_blank' class='tree' href='http://himachal.gov.in/contacts.htm'>Website Designed and Developed by NIC - HP and informative only.</a> <a target='_blank' class='tree' href='http://himachal.nic.in/disclaim.htm'>Read Disclaimer</a></font></td><td width='20' background='images/Untitled-1_r4_c5.jpg'>&nbsp;</td><td>&nbsp;</td></tr><tr><td>&nbsp;</td><td width='20' background='images/Untitled-1_r2_c1.jpg'>&nbsp;</td><td width='736' style='border-left-width: 1px; border-right-width: 1px; border-top-width: 1px; border-bottom-style: solid; border-bottom-width: 1px'>&nbsp;</td><td width='20' background='images/Untitled-1_r4_c5.jpg'>&nbsp;</td><td>&nbsp;</td></tr>");
}
