// Display photos and QT movie in small window
// (c) D.J. Gains, 2006
var myWin = null;
var qtWin = null;
// Window - needs url, title, note & sizes
function show (Url, Title, Note, Width, Height) {
if (is_opera5up) return;
if (Url!=null) {
/* Use URL if no title */
if (Title==null) Title=Url;
/* Size window, allow for margins */
if (Width<100) Width=100;
MyWidth = Width+40;
if (Height<100) Height=100;
MyHeight = Height+120;
/* Close window if already open */
if (myWin) {
if (!myWin.closed) myWin.close();
}
myWin=window.open(Url, 'myWin', 'width='+MyWidth+',height='+MyHeight+',menubar=0,toolbar=0,status=0,scrollbars=0,resizable=0');
/* HTML */
myWin.document.open();
with (myWin.document) {
write("");
write("\n");
write("
\n");
write("\n");
if (Note!=null) {
if (Note == "Birdguides") {
write(" This image used courtesy of BirdGuides Ltd, www.birdguides.com\n");
} else {
if (Note == "Geoghegan") {
write(" This image used courtesy of Gerald Geoghegan, gerald@kingfishers.fsworld.co.uk\n");
} else {
if (Note == "Round") {
write(" This image used courtesy of Steven Round stevenround-birdphotography.com\n");
} else{
if (Note == "Tranter") {
write(" This image used courtesy of Sue Tranter www.suesbirdphotos.co.uk\n");
} else {
if (Note == "Chaplin") {
write(" This image used courtesy of Darren Chaplin www.nature-image.co.uk\n");
} else {
write(" Number of birds visiting an urban garden in Sheffield, England.\n");
write(" Q1 = Winter Q2 = Spring Q3 = Summer Q4 = Autumn\n");
write(" The data are available as a text file.\n");
}
}
}
}
}
}
write("