// script © Paul Burrows
function msv()
{var ua = window.navigator.userAgent
var msie = ua.indexOf ( "MSIE " )
var mozilla = ua.indexOf ( "Mozilla " )
if ( msie > 0 )  return parseInt ( ua.substring ( msie+5, ua.indexOf ( ".", msie ) ) )
else if (mozilla>0) return (-1*parseFloat ( ua.substring ( mozilla+3, mozilla+6 ) ))
	else return 0}

function bluescroll() {
	var docWidth = document.body.offsetWidth-807;
	var contWidth = document.all.conts.offsetWidth;
	if (document.all.mnu!=null){AvWid=490;}else{AvWid=689;}
	if (docWidth>0){
		MMoff=((docWidth-(docWidth%2))/2)+contWidth+21;
	}
	else{
		MMoff=contWidth+21;
	}
	document.all.Mmenu.style.left=((MMoff.toString())+'px');
	if (document.all.SMUK!=null){ document.all.SMUK.style.left=(((MMoff+136).toString())+'px');}
	if (document.all.SMAb!=null){ document.all.SMAb.style.left=(((MMoff+136).toString())+'px');}
	if (document.all.SS!=null){ document.all.SS.style.left=(((MMoff+136).toString())+'px');}
	if (document.all.Smt!=null){ document.all.Smt.style.left=(((MMoff+136).toString())+'px');}

	if (document.all.sz!=null){
		if (docWidth<0){
			document.all.sz.style.width=(AvWid+docWidth).toString()+'px';
		}else{
			document.all.sz.style.width='100\%';
		}
	}
	if (document.all.scrmess!=null){
		if (docWidth<0){
			document.all.scrmess.style.width=(AvWid+docWidth).toString()+'px';
		}else{
			document.all.scrmess.style.width='100\%';
		}
	}
}

window.onresize=startbluescroll

function startbluescroll(){
window.setInterval("bluescroll()",50);
bluescroll();
}
var MMhtml1='<div align="left"><table id="Mmenu" border="3" cellpadding="2" cellspacing="0" width="157" bordercolor="#071B54" style="Z-INDEX: 100; VISIBILITY: hidden; POSITION: absolute; TOP: 223px; LEFT: 95px;"><tr><td onmouseover="CM(\'\');" class="sa" width="145" align="center"><a href="http://www.c.p.burrows.btinternet.co.uk/intro.htm"><font color="#071B54" size="4">Introduction</font></a></td></tr>'
var MMhtml2='<tr><td onmouseover="CM(\'\'); SMUK.style.visibility=\'visible\'" class="sa" width="145" align="center"><font color="#071B54" size="4">In the UK..</font></td></tr><tr><td onmouseover="CM(\'\'); SMAb.style.visibility=\'visible\'" class="sa" width="145" align="center"><font color="#071B54" size="4">&amp; Elsewhere</font></td></tr><tr><td onmouseover="CM(\'\'); SS.style.visibility=\'visible\'" class="sa" width="145" align="center"><font color="#071B54" size="4">Sorted by Species</font></td></tr>'
var MMhtml3='<tr><td onmouseover="CM(\'\');" class="sa" width="145" align="center"><a href="http://www.freenetpages.co.uk/hp/PBurrows/best_rest.htm"><font color="#071B54" size="4">Best of the Rest</font></a></td></tr><tr><td onmouseover="CM(\'\');" class="sa" width="145" align="center"><a href="http://www.freenetpages.co.uk/hp/PBurrows/wallpap.htm"><font color="#071B54" size="4">Downloadable Wallpapers</font></a></td></tr><tr><td onmouseover="CM(\'\'); Smt.style.visibility=\'visible\'" class="sa" width="145" align="center"><font color="#071B54" size="4">Technical</font></td></tr><tr><td onmousedown="CM(\'all\');" style="cursor: hand" class="sa" width="145" align="center"><font color="#071B54" size="4">Close Menu</font></a></td></tr></table></div>'

var SMUKhtml1='<div align="left"><table id="SMUK" border="3" cellpadding="2" cellspacing="0" width="129" bordercolor="#071B54" style="Z-INDEX: 110; VISIBILITY: hidden; POSITION: absolute; TOP: 233px; LEFT: 226px;"><tr><td class="sa" width="117" align="center"><a href="http://www.c.p.burrows.btinternet.co.uk/bird_photos_2006_l.htm"><font color="#071B54" size="4">Late 2006</font></a></td></tr><tr><td class="sa" width="117" align="center"><a href="http://www.c.p.burrows.btinternet.co.uk/bird_photos_2006_e.htm"><font color="#071B54" size="4">Early 2006</font></a></td></tr><tr><td class="sa" width="117" align="center"><a href="http://www.c.p.burrows.btinternet.co.uk/bird_photos_2005_l.htm"><font color="#071B54" size="4">Late 2005</font></a></td></tr><tr><td class="sa" width="117" align="center"><a href="http://www.c.p.burrows.btinternet.co.uk/bird_photos_2005_e.htm"><font color="#071B54" size="4">Early 2005</font></a></td></tr><tr><td class="sa" width="117" align="center"><a href="http://www.c.p.burrows.btinternet.co.uk/bird_photos_2004_l.htm"><font color="#071B54" size="4">Late 2004</font></a></td></tr><tr><td class="sa" width="117" align="center"><a href="http://www.c.p.burrows.btinternet.co.uk/bird_photos_2004_e.htm"><font color="#071B54" size="4">Early 2004</font></a></td></tr><tr><td class="sa" width="117" align="center"><a href="http://www.c.p.burrows.btinternet.co.uk/bird_photos_2003.htm"><font color="#071B54" size="4">Late 2003</font></a></td></tr>'
var SMUKhtml2='<tr><td class="sa" width="117" align="center"><a href="http://www.freenetpages.co.uk/hp/PBurrows/bird_photos_2003_e.htm"><font color="#071B54" size="4">Early 2003</font></a></td></tr><tr><td class="sa" width="117" align="center"><a href="http://www.freenetpages.co.uk/hp/PBurrows/bird_photos_2002.htm"><font color="#071B54" size="4">Late 2002</font></a></td></tr><tr><td class="sa" width="117" align="center"><a href="http://www.freenetpages.co.uk/hp/PBurrows/bird_photos_2002_e.htm"><font color="#071B54" size="4">Early 2002</font></a></td></tr></table></div>'

var SMAbhtml='<div align="left"><table id="SMAb" border="3" cellpadding="2" cellspacing="0" width="129" bordercolor="#071B54" style="Z-INDEX: 110; VISIBILITY: hidden; POSITION: absolute; TOP: 263px; LEFT: 226px;"><tr><td class="sa" width="117" align="center"><a href="http://www.freenetpages.co.uk/hp/PBurrows/bird_photos_Oman.htm"><font color="#071B54" size="4">Oman</font></a></td></tr><tr><td class="sa" width="117" align="center"><a href="http://www.freenetpages.co.uk/hp/PBurrows/israel_99.htm"><font color="#071B54" size="4">Israel</font></a></td></tr><tr><td class="sa" width="117" align="center"><a href="http://www.freenetpages.co.uk/hp/PBurrows/kazak.htm"><font color="#071B54" size="4">Kazakhstan</font></a></td></tr><tr><td class="sa" width="117" align="center"><a href="http://www.freenetpages.co.uk/hp/PBurrows/best_rest.htm"><font color="#071B54" size="4">Spain, etc.</font></a></td></tr></table></div>'

var SShtml='<div align="left"><table id="SS" border="3" cellpadding="2" cellspacing="0" width="129" bordercolor="#071B54" style="Z-INDEX: 110; VISIBILITY: hidden; POSITION: absolute; TOP: 303px; LEFT: 226px;"><tr><td class="sa" width="117" align="center"><a href="http://www.c.p.burrows.btinternet.co.uk/bird_photos_spec.htm"><font color="#071B54" size="4">Birds</font></a></td></tr><tr><td class="sa" width="145" align="center"><a href="http://www.c.p.burrows.btinternet.co.uk/misc_spec_menu.htm"><font color="#071B54" size="4">Everything Else</font></a></td></tr></table></div>'

var Smthtml='<div align="left"><table id="Smt" border="3" cellpadding="2" cellspacing="0" width="129" bordercolor="#071B54" style="Z-INDEX: 110; VISIBILITY: hidden; POSITION: absolute; TOP: 383px; LEFT: 226px;"><tr><td class="sa" width="117" align="center"><a href="http://www.c.p.burrows.btinternet.co.uk/dig_res.htm"><font color="#071B54" size="4">Digital Resolution</font></a></td></tr><tr><td class="sa" width="145" align="center"><a href="http://www.freenetpages.co.uk/hp/PBurrows/Subject_Distance.htm"><font color="#071B54" size="4">Subject Distance from EXIF</font></a></td></tr></table></div>'

function MMw() {
if (msv()>=4) return (MMhtml1+MMhtml2+MMhtml3+SMUKhtml1+SMUKhtml2+SMAbhtml+SShtml+Smthtml)
else return '<table id="Mmenu" border="0" cellpadding="0"></table><table id="SMUK" border="0" cellpadding="0"></table><table id="SMAb" border="0" cellpadding="0"></table><table id="SS" border="0" cellpadding="0"></table>'}

var MenSh = true;
function MeS(){
if (MenSh==true){
 Mmenu.style.visibility='visible';
} 
}
function CM(arg){
if (MenSh==true){
	if ((arg=='all')&&(SMUK.style.visibility='hidden')&&(SMAb.style.visibility='hidden')&&(SS.style.visibility='hidden')&&(Smt.style.visibility='hidden')){
		Mmenu.style.visibility='hidden';
	}
	else{
		SMUK.style.visibility='hidden';
		SMAb.style.visibility='hidden';
		SS.style.visibility='hidden';
		Smt.style.visibility='hidden';
	}
}
}
function newWindm(adra,uwid,uhei,topt,scopt) {
if (event.button==1) {
	window.status='hit'
	var spwid = screen.availWidth-3;
	if (spwid>uwid) spwid=uwid;
	var sphei = screen.availHeight-80;
	if(sphei>uhei) sphei=uhei;
	var dummy = 'top=0,height='+sphei+',width='+spwid+',status=yes,toolbar='+topt+',menubar=no,location=no,scrollbars='+scopt;
	window.open(adra,'same',dummy);
	return true;
	}
}

//ONMOUSEOVER="href='#';" ONMOUSEDOWN="newWind('http://www.c.p.burrows.btinternet.co.uk/bird_photos_spec.htm','775','2000','no','no');" target="_top"