<!--
	
//******************************************* Browser Version? ******************************************************

      function browserVersion()
      {
         if(window.XMLHttpRequest)
         {
         if(window.ActiveXObject)
         {
				// IE 7
				//document.write("IE7");
				Version="IE7"
         }
         else
         {
   	      // Opera, Safari, Firefox
				//document.write("The Others");
				Version="FF"
         }
         }
         else
         {
	         //IE 6 and below
				//document.write("IE6 or below");
				Version="IE"
         }   
			return Version	
		}

//******************************************* Contact ******************************************************

	function Contact(Subject)
	{
      var lhs = "&#109;"+"&#112;"+"&#108;"+"&#121;"+"&#110;"+"&#110;";
      var rhs = "gmail"+"&#46;"+"com";
      document.write('<A HREF="mailto:'+lhs+'@'+rhs+'?subject='+Subject+'">Contact Me</a>');
	}

//******************************************* Find Position & Width of element ******************************************************

   function getElementPosition(elemID) 
	{
       var offsetTrail = document.getElementById(elemID);
       var offsetLeft = 0;
       var offsetTop = 0;
       while (offsetTrail) {
           offsetLeft += offsetTrail.offsetLeft;
           offsetTop += offsetTrail.offsetTop;
           offsetTrail = offsetTrail.offsetParent;
       }
       if (navigator.userAgent.indexOf("Mac") != -1 && 
           typeof document.body.leftMargin != "undefined") {
           offsetLeft += document.body.leftMargin;
           offsetTop += document.body.topMargin;
       }
		 elWidth=document.getElementById(elemID).offsetWidth;

    return {left:offsetLeft, top:offsetTop, width:elWidth};
   }
	
//******************************************* Document Create Date ******************************************************
	
/* Fetch the Doc Create Date

 */	
 	function fileModDate()
	{
   if (Date.parse(document.lastModified) != 0) 
		{
     		var modiDate = new Date(document.lastModified);
     		var monthName = new Array("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December");
	     	var dateString = 'Last modified: ' + monthName[modiDate.getMonth()] + ' ' + modiDate.getDate() + ', ' + modiDate.getFullYear();
			return dateString;
     	}	
	}

//******************************************* Header on all pages ******************************************************

	function buildHeader(docTitle)
	{
		message="stdMsg";
		animate=1;
		buildPageHeader(docTitle, message, animate);
	};


	function textOff()
	{
   	document.getElementById("headerMessageArea").innerHTML="";		
   	document.getElementById("headerMessageArea").style.height=0;		
	}

	function textOn()
	{
   	document.getElementById("headerMessageArea").innerHTML=messageText;		
		setTimeout("textOff()",10000);
	}


	//
	// Display the header
	//		the 'docTitle' is position by the Style for pageTitle
	//		The 'message' is displayed at the bottom
	// 

	function buildPageHeader(docTitle, message, animate)
	{
		document.write ('<div class="pageTitle"> <a name="Top"></a>'+docTitle+'</div>');
/*
	//	If 'message' is blank, don't create the message div
		if (message!="")
		{
			document.write ('<div class="headerMessage" id="headerMessageArea">')
			document.write ('</div>')
		}
		document.write ('</div>')

	//	If 'message' is "stdMsg" the standard message, defined below, is used (to save editing every page)
      if (message=="stdMsg")
      {
      	message="Thanks for visiting the advertisers! Your regular visits to them, will help (and encourage) me to continue development of this site."; 
//      	message="If you find this site useful, visiting the advertisers will help me to support and expand it."; 
      }

	//
	//	Animation
	//
		if (message!="")
		{
	// 0 - Static text
         if (animate==0)
         {
         	document.getElementById("headerMessageArea").innerHTML=message;		
   		}

	// 1 - wait for a while, turn on text and then turn off text after a second delay
   		if (animate==1)
   		{
				messageText=message;
				setTimeout("textOn()",2000);
   		}
		}

*/
	//
	//	Google advert code
	//		
		document.write ('<script type="text/javascript">'+
            'google_ad_client = "pub-6053522278480849";'+
            'google_ad_width = 728;'+
            'google_ad_height = 15;'+
            'google_ad_format = "728x15_0ads_al_s";'+
            'google_ad_channel = "";'+
            'google_color_border = "203e50";'+
            'google_color_bg = "203e50";'+
            'google_color_link = "0000FF";'+
            'google_color_text = "AECCEB";'+
            'google_color_url = "00800";'+
         '</script>'+
         '<script type="text/javascript"'+
   			'src="http://pagead2.googlesyndication.com/pagead/show_ads.js">'+
         '</script>'
		);
	};


//******************************************* Footer on all pages ******************************************************

	function buildFooter(docTitle)
	{
      var lhs = "&#109;"+"&#112;"+"&#108;"+"&#121;"+"&#110;"+"&#110;";
      var rhs = "gmail"+"&#46;"+"com";

	
		document.write
		(
			'<table>'+
				'<tr>'+
      			'<td width=66% colspan=2 >'+	
            		'<form method="get" action="http://www.google.co.uk/custom" target="_top" style="margin: 0 0 0 0">'+
				      	'<table>'+
   	      				'<tr>'+

      							'<td>'+
                    	      	'<a href="http://www.google.com/"><img src="http://www.google.com/logos/Logo_25blk.gif" border="0" alt="Google"></img></a>'+
             					'</td>'+

				            	'<td>'+
                 		         '<input type="hidden" name="domains" value="fhr.kiwicelts.com"></input>'+
              	      	      '<label for="sbi" style="display: none">Enter your search terms</label>'+
              	          	   '<input type="text" name="q" size="31" maxlength="255" value="" id="sbi"  style="vertical-align: middle;"></input>'+
         
                              '<label for="sbb" style="display: none;">Submit search form</label>'+
                              '<input type="submit" name="sa" value="Google Search" id="sbb" style="color: #ffffff; background: #8098b0; border: 2.5px outset lightblue; vertical-align: middle;" >'+
										'</input>'+
                              '<input type="hidden" name="client" value="pub-6053522278480849"></input>'+
                              '<input type="hidden" name="forid" value="1"></input>'+
                              '<input type="hidden" name="ie" value="ISO-8859-1"></input>'+
                              '<input type="hidden" name="oe" value="ISO-8859-1"></input>'+
                					'<input type="hidden" name="cof"'+
										'value="GALT:#ffff99;GL:1;DIV:#666666;VLC:bbbbbb;AH:left;BGC:203e50;LBGC:44677b;ALC:ffff00;LC:ff00ff;T:ffffff;GFNT:ff00FF;GIMP:ffff00;'+
										'LH:50;LW:179;L:http://kiwicelts.com/javascripts_styles/Images/kiwicelts.gif;S:http://kiwicelts.com;FORID:1">'+
										'</input>'+
                              '<input type="hidden" name="hl" value="en"></input>'+
             					'</td>'+

				            	'<td>'+
            				   	'<table>'+
                  					'<tr>'+
                             	   	'<td>'+
                                			'<input type="radio" name="sitesearch" value=""  id="ss0"></input>'+
                                      	'<label for="ss0" title="Search the Web">Web</font></label>'+
                             			'</td>'+
                  
                                   	'<td>'+
                                      	'<input type="radio" name="sitesearch" value="fhr.kiwicelts.com" checked id="ss1"></input>'+
                          	            '<label for="ss1" title="Search fhr.kiwicelts.com">This Site</font></label>'+
                       					'</td>'+
											'</tr>'+
										'</table>'+
									'</td>'+

								'</tr>'+
							'</table>'+
                 	'</form>'+
            	'</td>'+
						
      			'<td width=34%>'+
            		'<b>'+'<A HREF=mailto:'+lhs+'@'+rhs+
						'?subject=Family&#32;History&#32;Enquiry>Contact Me</a>'+
						'</b>'+
         		'</td>'+

				'<tr>'+
      			'<td>'+
            		'© Copyright Murray Lynn: 2004 to 2007'+
      			'<td>'+
            		'&#160;'+docTitle+
      			'<td>'+
      	   		fileModDate()+
         		'</td>'+
				'</tr>'+
			'</table>'  /*+


		
			'<script type="text/javascript">'+
				'google_alternate_color = "203e50";'+
            'google_ad_client = "pub-6053522278480849";'+
            'google_ad_width = 728;'+
            'google_ad_height = 90;'+
            'google_ad_format = "728x90_as";'+
            'google_ad_type = "text_image";'+
            'google_ad_channel = "";'+
            'google_color_border = "203e50";'+
            'google_color_bg = "203e50";'+
            'google_color_link = "FFFFFF";'+
            'google_color_text = "AECCEB";'+
            'google_color_url = "AECCEB";'+
            'google_ui_features = "rc:6";'+
         '</script>'+
         '<script type="text/javascript"'+
   			'src="http://pagead2.googlesyndication.com/pagead/show_ads.js">'+
         '</script>'			
*/
		);
	}
	
	-->
