function Header()
{
	var hText = ''
	//hText += '&lt;script src="http://www.google-analytics.com/urchin.js" type="text/javascript"&gt;'
	//hText += '&lt;/script&gt;'
	//hText += '&lt;script type="text/javascript"&gt;'
	//hText += '_uacct = "UA-107049-4";'
	//hText += 'urchinTracker();'
	//hText += '&lt;/script&gt;'

	hText += '<table width="100%" height="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="text" ID="Table8">'
		hText += '<tr>'
			hText += '<td valign="top" bgcolor="#ffffff">'
				hText += '<table width="100%" border="0" cellpadding="0" cellspacing="0" class="text" ID="Table9">'
					hText += '<tr>'
						hText += '<td>'
							hText += '<table class="text" cellSpacing="0" cellPadding="0" width="100%" background="../Images/top-bg.gif" border="0" ID="Table1">'
								hText += '<tr>'
									hText += '<td><A href="../index.aspx"><IMG src="../Images/logo.gif" border="0"></A></td>'
								hText += '</tr>'
							hText += '</table>'
						hText += '</td>'
					hText += '</tr>'
					hText += '<tr>'
						hText += '<td>'
							hText += '<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#5985a7" class="text" ID="Table3">'
								hText += '<tr>'
									hText += '<td width="10">&nbsp;</td>'
									hText += '<td><table width="100%" border="0" cellpadding="0" cellspacing="0" class="text" ID="Table6">'
											hText += '<tr>'
													hText += '<td width="11"><img src="../Images/navigation-left.gif" width="11" height="30"></td>'
													hText += '<td background="../Images/navigation-bg.gif" align="center"><a href="../index.aspx" class="navigation">Home</a></td>'
													hText += '<td width="12"><img src="../Images/navigation-right.gif" width="12" height="30"></td>'
													hText += '<td>&nbsp;</td>'
													hText += '<td width="11"><img src="../Images/navigation-left.gif" width="11" height="30"></td>'
													hText += '<td background="../Images/navigation-bg.gif" align="center"><a href="../ELibrary.aspx" class="navigation">e-Library</a></td>'
													hText += '<td width="12"><img src="../Images/navigation-right.gif" width="12" height="30"></td>'
													hText += '<td>&nbsp;</td>'
													hText += '<td width="11"><img src="../Images/navigation-left.gif" width="11" height="30"></td>'
													hText += '<td background="../Images/navigation-bg.gif" align="center"><a href="../CyberLaw.aspx" class="navigation">Cyber Law</a></td>'
													hText += '<td width="12"><img src="../Images/navigation-right.gif" width="12" height="30"></td>'
													hText += '<td>&nbsp;</td>'
													hText += '<td width="11"><img src="../Images/navigation-left.gif" width="11" height="30"></td>'
													hText += '<td background="../Images/navigation-bg.gif" align="center"><a href="../Forensics.aspx" class="navigation">Forensics</a></td>'
													hText += '<td width="12"><img src="../Images/navigation-right.gif" width="12" height="30"></td>'
													hText += '<td>&nbsp;</td>'
													hText += '<td width="11"><img src="../Images/navigation-left.gif" width="11" height="30"></td>'
													hText += '<td background="../Images/navigation-bg.gif" align="center"><a href="#" class="navigation">e-Learning</a></td>'
													hText += '<td width="12"><img src="../Images/navigation-right.gif" width="12" height="30"></td>'
													hText += '<td>&nbsp;</td>'
													hText += '<td width="11"><img src="../Images/navigation-left.gif" width="11" height="30"></td>'
													hText += '<td background="../Images/navigation-bg.gif" align="center"><a href="../ListCourts.aspx" class="navigation">Judgements</a></td>'
													hText += '<td width="12"><img src="../Images/navigation-right.gif" width="12" height="30"></td>'
													hText += '<td>&nbsp;</td>'
													hText += '<td width="11"><img src="../Images/navigation-left.gif" width="11" height="30"></td>'
													hText += '<td background="../Images/navigation-bg.gif" align="center"><a href="../DocumentTypes.aspx" class="navigation">e-Journal</a></td>'
													hText += '<td width="12"><img src="../Images/navigation-right.gif" width="12" height="30"></td>'
													hText += '<td>&nbsp;</td>'
													hText += '<td width="11"><img src="../Images/navigation-left.gif" width="11" height="30"></td>'
													hText += '<td background="../Images/navigation-bg.gif" align="center"><a href="../Glossaries.aspx" class="navigation">Glossary</a></td>'
													hText += '<td width="12"><img src="../Images/navigation-right.gif" width="12" height="30"></td>'
													hText += '<td>&nbsp;</td>'
													hText += '<td width="11"><img src="../Images/navigation-left.gif" width="11" height="30"></td>'
													hText += '<td background="../Images/navigation-bg.gif" align="center"><a href="../ForumDiscussion.aspx?Pid=ListDiscussionCategory" class="navigation">Forum</a></td>'
													hText += '<td width="12"><img src="../Images/navigation-right.gif" width="12" height="30"></td>'
													hText += '<td>&nbsp;</td>'
											hText += '</tr>'
										hText += '</table>'
									hText += '</td>'
								hText += '</tr>'
								hText += '<tr>'
									hText += '<td height="5" colspan="2" align="center" bgcolor="#ffffff"></td>'
								hText += '</tr>'
								hText += '<tr>'
									hText += '<td colspan="2" align="center" bgcolor="#ffffff">'
										hText += '<table border="0" bgcolor="#ffffff">'
											hText += '<tr>'
												hText += '<td nowrap="nowrap" valign="top" align="left" height="32"></td>'
												hText += '<td nowrap="nowrap" width="60%" align="right">'
												hText += '<input type="hidden" name="domains" id="domains" value="www.indlii.org"></input> <label for="sbi" style="display: none">Enter your search terms</label> <input type="text" name="q" size="31" maxlength="255" value="" id="sbi" class="input"></input>'
												hText += '<label for="sbb" style="display: none">Submit search form</label> <input type="button" name="sa" value="Google Search" id="sbb" class="sendbutton" onclick="javascript: GoogleSearch();"></td>'
												hText += '<td nowrap="nowrap" width="40%">'
													hText += '<table>'
														hText += '<tr>'
															hText += '<td><input type="radio" name="sitesearch" value="" id="ss0"></input> <label for="ss0" title="Search the Web"><font size="-1" color="#000000">Web</font></label></td>'
															hText += '<td><input type="radio" name="sitesearch" value="www.indlii.org" id="ss1" checked></input><label for="ss1" title="Search www.indlii.org"><font size="-1" color="#000000">www.indlii.org</font></label></td>'
														hText += '</tr>'
													hText += '</table>'
																		hText += '<input type="hidden" name="client" id="client" value="pub-9430083541048545"></input> <input type="hidden" name="forid" id="forid" value="1"></input><input type="hidden" name="ie" id="ie" value="ISO-8859-1"></input> <input type="hidden" name="oe" id="oe" value="ISO-8859-1"></input><input type="hidden" name="safe" id="safe" value="active"></input> <input type="hidden" name="flav" id="flav" value="0000"></input><input type="hidden" name="sig" id="sig" value="HJzAc7VyNmRFw30f"></input> <input type="hidden" name="cof" id="cof" value="GALT:#008000;GL:1;DIV:#336699;VLC:663399;AH:center;BGC:FFFFFF;LBGC:336699;ALC:0000FF;LC:0000FF;T:000000;GFNT:0000FF;GIMP:0 000FF;FORID:11"></input><input type="hidden" name="hl" id="hl" value="en"></input>'
												hText += '</td>'
											hText += '</tr>'
										hText += '</table>'
									hText += '</td>'
								hText += '</tr>'
								//hText += '<tr>'
								//	hText += '<td colspan="2" align="center" bgcolor="#ffffff">'
								//	hText += '&lt;script type="text/javascript"&gt;&lt;!--'
								//	hText += 'google_ad_client = "pub-9430083541048545";'
								//	hText += 'google_ad_width = 728;'
								//	hText += 'google_ad_height = 15;'
								//	hText += 'google_ad_format = "728x15_0ads_al";'
								//	hText += 'google_ad_channel = "";'
								//	hText += 'google_color_border = "FFFFFF";'
								//	hText += 'google_color_bg = "FFFFFF";'
								//	hText += 'google_color_link = "1F3B74";'
								//	hText += 'google_color_text = "000000";'
								//	hText += 'google_color_url = "008000";'
								//	hText += '//--&gt;&lt;/script&gt;'
								//	hText += '&lt;script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"&gt;&lt;/script&gt;'
								//	hText += '</td>'
								//hText += '</tr>'
							hText += '</table>'
							hText += '</td>'
						hText += '</tr>'
						hText += '<tr>'
							hText += '<td bgcolor="white" colspan="2">&nbsp;</td>'
						hText += '</tr>'
				hText += '</table>'
				hText += '</td>'
			hText += '</tr>'
			hText += '<tr>'
				hText += '<td align="right"><a href="javascript:void(0);" onclick="javascript: window.history.back();" class="bluelink">back</a>&nbsp;&nbsp;'
				hText += '</td>'
			hText += '</tr>'
	hText += '</table>'
	document.write(hText)
}
function Footer()
{
	var fText = ''
	fText += '<table width="96%" border="0" align="center" cellpadding="0" cellspacing="0" class="bottomtext" ID="Table1">'
		fText += '<tr>'
			fText += '<td height="5" colspan="2"></td>'
		fText += '</tr>'
		fText += '<tr>'
			fText += '<td colspan="2"><div align="center"><a href="../index.aspx" class="bottomlink">Home</a> | <a href="../ELibrary.aspx" class="bottomlink">'
			fText += 'e-Library</a> | <a href="../Documents.aspx" class="bottomlink">e-Documents</a> '
			fText += '| <a href="../Glossaries.aspx" class="bottomlink">Glossary</a> | <a href="../ForumDiscussion.aspx?Pid=ListDiscussionCategory" class="bottomlink">'
			fText += 'Discussion Forum</a> | <a href="#" class="bottomlink">News</a> | <a href="../Subscription.aspx" class="bottomlink">'
			fText += 'Subscribe</a> |&nbsp;'
			fText += '<a href="#" class="bottomlink">Support</a></div>'
			fText += '</td>'
		fText += '</tr>'
		fText += '<tr>'
			fText += '<td height="7" colspan="2"></T d></td>'
		fText += '<tr>'
			fText += '<td colspan="2"><div align="center"><a href="../Feedback.aspx" class="bottomlink">Feedback</a>'
			fText += '| <a href="../ContactUs.aspx" class="bottomlink">Contact Us</a> | <a href="../Help.aspx" class="bottomlink">'
			fText += 'Help</a> | <a href="../PrivacyPolicy.aspx" class="bottomlink">Privacy Policy</a>'
			fText += '| <a href="../Disclaimer.aspx" class="bottomlink">Disclaimer</a> | <a href="../AddQuestion.aspx" class="bottomlink">'
			fText += 'Ask Your Question</a></div>'
			fText += '</td>'
		fText += '</tr>'
		fText += '<tr>'
			fText += '<td width="50%" height="25">Copyrights © 2007 Indlii. All rights reserved.</td>'
			fText += '<td><div align="right">Powered by: <a href="http://www.bitscape.co.in" class="bottomlink">Bitscape '
			fText += 'Solutions</a></div>'
			fText += '</td>'
		fText += '</tr>'
	fText += '</table>'
	
	document.write(fText)
}
function GoogleSearch()
{
	var url;
	url = "http://www.indlii.org/sitesearch.aspx";
	var domains;	//	id = domains
	var q;			//	id = sbi
	var sa;			//	id = sbb
	var sitesearch;	//	id = ss0 or ss1
	var client;		//	id = client
	var forid;		//	id = forid
	var ie;			//	id = ie
	var oe;			//	id = oe
	var safe;		//	id = safe
	var flav;		//	id = flav
	var sig;		//	id = sig
	var cof;		//	id = cof
	var hl;			//	id = hl
	
	domains = document.getElementById("domains").value;
	q = document.getElementById("sbi").value;
	//here we have taken "button" inplace of "submit button" so we get value like "Google Search" but with this value it can not find the result so we have taken fixed value like "Google+Search"
	sa = "Google+Search";	//document.getElementById("sbb").value;
	if(document.getElementById("ss1").checked)
		sitesearch = document.getElementById("ss1").value;
	if(document.getElementById("ss0").checked)
		sitesearch = document.getElementById("ss0").value;
	//document.getElementById("sitesearch").value;
	client = document.getElementById("client").value;
	forid = document.getElementById("forid").value;
	ie = document.getElementById("ie").value;
	oe = document.getElementById("oe").value;
	safe = document.getElementById("safe").value;
	flav = document.getElementById("flav").value;
	sig = document.getElementById("sig").value;
	//here for "cof" variable we have taken direct value from the address bar because in the javascript it will not convert it in proper querystring
	cof = "GALT%3A%23008000%3BGL%3A1%3BDIV%3A%23336699%3BVLC%3A663399%3BAH%3Acenter%3BBGC%3AFFFFFF%3BLBGC%3A336699%3BALC%3A0000FF%3BLC%3A0000FF%3BT%3A000000%3BGFNT%3A0000FF%3BGIMP%3A0+000FF%3BFORID%3A11"
	//cof = document.getElementById("cof").value;
	hl = document.getElementById("hl").value;
	
	location.href="" + url + "?domains=" + domains + "&q=" + q + "&sa=" + sa + "&sitesearch=" + sitesearch + "&client=" + client + "&forid=" + forid + "&ie=" + ie + "&oe=" + oe + "&safe=" + safe + "&flav=" + flav + "&sig=" + sig + "&cof=" + cof + "&hl=" + hl + "";
	//alert("" + url + "?domains=" + domains + "&q=" + q + "&sa=" + sa + "&sitesearch=" + sitesearch + "&client=" + client + "&forid=" + forid + "&ie=" + ie + "&oe=" + oe + "&safe=" + safe + "&flav=" + flav + "&sig=" + sig + "&cof=" + cof + "&hl=" + hl + "");
}
//do not remove below four function because it is dynamically call from the content pages.
function GoogleAddTop()
{
	//document.write('<script type="text/javascript">	google_ad_client = "pub-9430083541048545";	google_ad_width = 728;	google_ad_height = 15;	google_ad_format = "728x15_0ads_al";	google_ad_channel = "";	google_color_border = "FFFFFF";	google_color_bg = "FFFFFF";	google_color_link = "1F3B74";	google_color_text = "000000";	google_color_url = "008000";	</script>	<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">	</script>');
}
function GoogleAddCenter1()
{
	//document.write('<br><script type="text/javascript">google_ad_client = "pub-9430083541048545";google_page_url = document.location;google_ad_width = 300;google_ad_height = 250;google_ad_format = "300x250_as";google_ad_type = "text_image";google_ad_channel = "";</script><script type="text/javascript"  src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>');
}
function GoogleAddCenter2()
{
	//document.write('<br><script type="text/javascript">google_ad_client = "pub-9430083541048545";google_page_url = document.location;google_ad_width = 300;google_ad_height = 250;google_ad_format = "300x250_as";google_ad_type = "text_image";google_ad_channel = "";</script><script type="text/javascript"  src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>');
}
function GoogleAddBottom()
{
	document.write('<br><script type="text/javascript">	google_ad_client = "pub-9430083541048545";	google_ad_width = 728;	google_ad_height = 15;	google_ad_format = "728x15_0ads_al";	google_ad_channel = "";	google_color_border = "FFFFFF";	google_color_bg = "FFFFFF";	google_color_link = "1F3B74";	google_color_text = "000000";	google_color_url = "008000";	</script>	<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">	</script>');
}

