// script © Paul Burrows
var imname = new Array("A","B","C","D","E");
var imno = new Array("01","02","03","04","05o");
var tp = '<STYLE MEDIA=PRINT><!-- TABLE.TINY {VISIBILITY: hidden;} --></STYLE>';
var tp1='<div ID="Di1" align="center"><center><table bordercolor="#FDFDFD" border="0" cellpadding="5" cellspacing="0" width="100%"><tr><td id="hlpPn" align="right" width="98%">';
var tp2='</td></center><td width="2%"><div align="center"><center><table bordercolor="#FDFDFD" border="0" cellpadding="2" cellspacing="0" width="100%" bgcolor="#FDFDFD"><tr><td align="right" width="33%"><font face="Verdana">33%</font></td>';
var tp3='<td onmousemove="IZ(); style.cursor=\'crosshair\'; ZC(); TS()" onclick="IZ(); ZC(); TS(); return false;" onmouseout="ZC(); style.cusor=\'auto\'" width="135" height="1" background="../../Header/slider.jpg"><p><img valign="top" border="0" src="../../Header/spacer.gif" width="135" height="1"><br>&nbsp</p></td><td width="34%"><font face="Verdana">200%</font></td></tr></table></center></div></td></tr></table></div>';
var tp4='<table bordercolor="#FDFDFD" id="CenTab" BORDER="0" CELLPADDING="0" CELLSPACING="0" width="100%"><tr><td><div align="center"><table border="3" cellpadding="4" cellspacing="0" bordercolor="#2D416F"><tr><td align="center"><table border="2" cellpadding="0" cellspacing="0" bordercolor="#000000"><tr><TD><p align="center"><TABLE class=TINY WIDTH="100%" HEIGHT="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0"><TR><TD>';
var wp ='</TR></TABLE></tr></table></td></tr><tr><td ID="titpan"><p align="center">'+document.title;
var yp ='</td></tr></table></div><p align="left" style="margin-top: 0">';
var titpanor;
function TT(){
if(!document.all && document.getElementById){
tp=tp+'<div id="netinf" align="right" onmouseup="netalert();"><u><font size="2" color="#0000FF">image info</font></u></div>';}
if (msv()>=5.5) {return (tp+tp1+tp2+tp3+tp4);}
else {ZA=false; ZB=false; return (tp+tp4);}}
function WT(){
return wp}
function netalert(){
alert(document['C'].alt)}
function YT(){
tmp='<a href="'+jumpback()+'"><b><font face="Wingdings">ç</font>Back</b></a></p>';
if (msv()>=5){
if ((window.name=='pic')){
ypm=yp+'<a style="cursor: hand" onmousedown="window.close();"><b>Close</b></a></p>';
}else{ypm=yp+tmp;}
}else{ypm=yp+tmp;}
return ypm}
function PR(e) {
cZ();alert("© Paul Burrows Please contact me for permission to use images.");
return false;}
function NI(a) {
if (document.images) {
rslt = new Image();
rslt.src = a;
return rslt;}}
function CI(pos,sor) {
if (document.images && (PF == true)) {
document[imname[pos]].src = imno[sor]+".jpg";}}
var PF = false;
var ZB = true;
var ZR = true;
var ZA = true;
var Bwid; var Cwid;
function PL() {
if (document.images) {
E = NI("05o.jpg");
if (document.all){document['B'].style.height="100%";document['C'].style.height="100%";}
for (var j=0; j<4; j++) {
document[imname[j]].onmousedown = PR;
document[imname[j]].src = imno[j]+".jpg";
document[imname[j]].oncontextmenu=PR;
document[imname[j]].galleryimg = "no";
document[imname[j]].style.zoom = 1;}PF = true;
document['B'].alt='______Original image top left______\n'+document['C'].alt;
document['A'].alt='© Paul Burrows';
document['D'].alt='© Paul Burrows';midd();
if(ZB){sHm();ZC();titpanor=document.all.titpan.innerHTML;}}}
document.onmouseup=cZ
function cZ(){if (ZB) Di1.outerHTML=''; ZB=false; ZC();}
function ZI() {if(ZB){
var oZ = Math.exp(((window.event.offsetX+2)/78)-1.134);
if (((oZ<1.08)&&(oZ>0.92)||(oZ<0.3))) oZ=1
if ((oZ<0.53)&&(oZ>0.47)) oZ=.5
if (oZ>1.9) oZ=2
return oZ;
}else return 1}
function IZ(){
if (ZB){zo=ZI();
IiZ(zo);}}
function IiZ(zo){
document['B'].style.width="100%";document['C'].style.width="100%";
for (var j=0; j<4; j++) {
document[imname[j]].style.zoom = zo;}
ZR=false;scl=zo;}
function ZC(){
if (ZB) document.all.hlpPn.innerHTML=''}
window.onresize=midd
function midd(){
if (document.body.offsetHeight>710){document.all.CenTab.height='78%';}
else{document.all.CenTab.height='1%';}}
var scal=498;
var keyscal=499;
function TS(){
document.all.titpan.innerHTML='Scale = '+((document['A'].style.zoom)*100).toString().substr(0,3)+'%';
window.clearTimeout(scal);
scal=window.setTimeout("document.all.titpan.innerHTML=titpanor",800)}
function msv()
{var ua = window.navigator.userAgent
var msie = ua.indexOf ( "MSIE " )
if ( msie > 0 ) return ( ua.substring ( msie+5, ua.indexOf ( "\;", msie ) ) )
else return 0}
var scl=1;
var inf=false;
function rp(){
zo=scl;
indog = window.event.keyCode;
if (ZA){
if ((indog==109)&&(zo>.39)){CI('0', '0'); if(inf==false){zo=zo*Math.pow(0.5,(1/6));} inf=false; window.clearTimeout(keyscal); keyscal=window.setTimeout("TS();",200)}
if ((indog==107)&&(zo<1.9)){CI('0', '4'); if(inf){ zo=zo*Math.pow(2,(1/6));} inf=true; window.clearTimeout(keyscal); keyscal=window.setTimeout("document.all.titpan.innerHTML='Scale = '+((document['A'].style.zoom)*100).toString().substr(0,3)+'%<br>'+document.all.titpan.innerHTML",200); document.all.titpan.innerText=document['B'].alt;}
if (indog==13) cZ()
if ((indog!=107)&&(indog!=109)) return true;
IiZ(zo);ZC();}}
function sHm(){
window.setInterval("Helpmes()",4000);}
document.onkeydown=rp
function Helpmes(){
if(ZB&&ZR)document.all.hlpPn.innerHTML='<font size="2">Slide the mouse over the Rescale bar or use + and - keys (on Num. Pad) to zoom<br>+ also shows extra information, - removes it<br>Click anywhere or press enter to hide control</font>';}