var type=''
if (document.layers) type='NN4';
if  ((document.all) && (!document.getElementById)) type='IE4';
if (document.getElementById) type='DOM';
if (!document.mytextArray) {
mytextArray=new Array(9)
mytextArray[1]="'the Village offers many attractions..'"
mytextArray[2]="'chance to listen in on the local gossip!'"
mytextArray[3]="'to the south was an marshy area- the Moors'"
mytextArray[4]="'along the canal you may catch a flash of iridescent blue' "
mytextArray[5]="'a witch was ducked on Wilstone Green'"
mytextArray[6]="'locks seem have special fasination'"
mytextArray[7]="'Finding your way'"
mytextArray[8]="'pages of local news and stories'"
mytextArray[9]="'Cricket at Long Marston'"
}
var contentURL
    var pg
    var test =0
    function displaypage(pg)
    {contentURL= "page"+pg+".htm";
    if (pg==4){if (document.layers){ contentURL= "page"+pg+"a.htm";}}
    top.main.location.href=contentURL;
    writetop(pg);
     }
    function restore(){
    top.main.location.href=contentURL;
    }
function writetop(pg){

hh= "<body style='background-color:#87cefa;'><div id='page1' style='position:absolute; top:10px;font-family:verdana, arial, helvetica, sans-serif;font-style:italic;font-size:11pt;'>"+ mytextArray[pg]+ "</div></body>"
if (document.layers){
   		 window.frames["top1"].document.layers["page1"].document.write(hh);
		 window.frames["top1"].document.layers["page1"].document.close(); 
}
else{ window.frames.top1.document.write(hh);
	  window.frames.top1.document.close(); 
}}
var oldpage=0

if (!document.textArray){
   textArray=new Array(28)
textArray[0]="Click the above picture to view some of the many birds that can be seen around Wilstone." 
textArray[1]="Heron's are Resident birds and nest in the low bushes in the middle of Wilstone Reservoir."
textArray[2]="Commorants up to 30 reside in trees across the centre of Wilstone Reservoir."
textArray[3]="You never know what will appear next, a Pelican on Wilstone Revervoir." 
textArray[4]= "During the afternoon large groups of Lapwings arrive on Wilstone"
textArray[5]="Lapwings chilling out on Wilstone Reservoir."
textArray[6]="In the early winter lookout for large flocks of Golden Plover often with Lapwings"
textArray[7]="RedShank feeding close to the hide on Wilstone."
textArray[8]="There are always plenty of Coot around."
textArray[9]="Great Crested Grebe can be seen all the year." 
textArray[10]="Little Grebe or Dabchick. Smallest of the grebes but a regular vistor." 
textArray[14]="Male Gadwall a large silvery grey dabbling duck."
textArray[18]="Gadwalls the female is brown with an orange bill and a white wing patch."
textArray[13]="Mallard large dabbling duck very common breeds throughout area'" 
textArray[16]="Pochard, a diving duck the male stands out but the female rather drab."
textArray[17]="Teal,the smallest of the ducks often seen in large numbers. Female Teal brown with white wing patch." 
textArray[11]="Tufted ducks are diving ducks. The black and white male stands out but can easily be mistaken for the rarer Golden Eye."
textArray[12]="The female tufted duck is rather drab in appearance."
textArray[19]="Male Golden Eye, another black and white diving duck, but the distinct shape of the head and white cheek patch." 
textArray[15]="Wigeon a common visitor in the winter months. A very pretty duck when seen close up." 
textArray[20]="Canada goose now very common. Breeds throughout the area."
textArray[21]="Greylag a large goose and regular vistor."
textArray[22]="Look in lagre trees that surround the reservoirs and you may see a Sparrowhawk."
textArray[23]="Pied Wagtail. Look out for these around the reservoir banks." 
textArray[25]="Fieldfare a winter visitor. Very timid, likes grassy meadows. Usually in large groups often with Redwings." 
textArray[24]="Mistle Thrush a large thrush with an alert upright stance."
textArray[26]="Redwing smaller than the Fieldfare often in large trees or on open fields."
textArray[27]="Green WoodPeckers can often be seen feeding in the meadows around Wilstone Village. They make a striking laughing call."
	}
var birdcount= 28;
var j=0;	
var hh;
var n=0
var ee=""
var frameSrc=""
var first=0
			  
			   function loadpics(){	 
			   			if (!document.imgArray){
						   						document.imgArray= new Array(birdcount);
	 											document.imgArray[0] = new Image; 
	   											document.imgArray[0].src = 'activebirds/bird0.jpg';
	    										document.imgArray[1] = new Image; 
	   											document.imgArray[1].src = 'activebirds/bird1.jpg';}	
						switch(type)	{
											
						case "DOM" :		
								if (first=1) document.images[1].src=document.imgArray[j].src;
	 						    first=1
								document.getElementById("d2b").innerHTML ='<div id ="text" style="position:relative;margin-left:5px;float:right;width:200px;height:50px;font-family:Verdana,Arial,Helvetica,sans-serif;color:black;font-size:75%">'+ textArray[j]+'</div>'
	  								  
								// birdText.document.write('<body  bgcolor="ivory" ><div style="width:200px;height:50px;font-family:Verdana,Arial,Helvetica,sans-serif;color:black;font-size:75%">'+ textArray[j] + '</div></body>')
  	   							// birdText.document.close();
								break;
									
						case "IE4" :
 								 document.images[1].src=document.imgArray[j].src;
	 							document.all("d2b").innerHTML ='<div id ="text" style="position:relative; width:200px;height:50px;font-family:Verdana,Arial,Helvetica,sans-serif;color:black;font-size:75%">'+ textArray[j]+'</div>'
	  							break;
 									
	                     }															
									 	
	  					j++; n=j-1;	
						if (j == birdcount){ j=0 ;
	  	 	   		         n=birdcount-1	 }	 	  
      						document.imgArray[j] = new Image; 
	  						document.imgArray[j].src = 'activebirds/bird' + j +'.jpg';
	              }
 
                               

