<!-- Begin
/* Here follows the code for the FIRMAMENT IMAGE VIEWER (thumbnail popup with maximized window) */
function ViewImage(ifile,ix,iy,ititle) {
var win;
var sWidth;
var sHeight;
var ah = screen.availHeight - 30;
var aw = screen.availWidth - 10;
if (document.layers) 
{ /* NS4+ */
alert("Your browser version is not supported by The Firmament: please upgrade.");
} else  
if (document.getElementById)  
{ /* NS6+ */
win = window.open("","","width="+aw+",height="+ah+",scrollbars=yes,resizable=yes,menubar=no,toolbar=no,left=0,top=0,location=no");
sWidth = document.getElementByIdWidth;
sHeight = document.getElementByIdHeight;
win.document.open();
win.document.write("<html><head><title>FIRMAMENT IMAGE VIEWER</title>");
win.document.write('</head><body bgcolor="black" text="white">');
win.document.write('<div style="position:absolute;width:'+aw+'px;height:'+ah+'px;left:0px;top:0px">');
win.document.write("<center>*** ZOOM in/out with Ctrl and +/- keys ***</font></center>");
win.document.write("<table border=0><tr><td valign=top><img src="+ifile+"></td>");
win.document.write("<td valign=top><br><br><br><br><br><br>"+ititle+"");
win.document.write('<br><br><form><input type="button" value="Close window" onclick="window.close()";></form></td></tr></table></div></body></html>');
win.document.close();
}
}
/* Here follows the code for the FIRMAMENT LARGE IMAGE VIEWER (thumbnail popup with maximized window) */
function ViewLargeImage(ifile,ix,iy,ititle) {
var win;
var sWidth;
var sHeight;
var ah = screen.availHeight - 30;
var aw = screen.availWidth - 10;
if (document.layers) 
{ /* NS4+ */
alert("Your browser version is not supported by The Firmament: please upgrade.");
} else            
if (document.getElementById)  
{ /* NS6+ */
win = window.open("","","width="+aw+",height="+ah+",scrollbars=yes,resizable=yes,menubar=no,toolbar=no,left=0,top=0,location=no");
sWidth = document.getElementByIdWidth;
sHeight = document.getElementByIdHeight;
win.document.open();
win.document.write("<html><head><title>FIRMAMENT IMAGE VIEWER</title>");
win.document.write('</head><body bgcolor="black" text="white">');
win.document.write('<div style="position:absolute;width:'+aw+'px;height:'+ah+'px;left:0px;top:0px">');
win.document.write("<center><font color=silver>*** Please browse down for details ***</font></center><br>");
win.document.write("<center><img src="+ifile+"><p>"+ititle+"</p>");
win.document.write('<P><form><input type="button" value="Close window" onclick="window.close()";></form>');
win.document.write("</center></div></body></html>");
win.document.close();
}
}
/* Here ends the code for the FIRMAMENT LARGE IMAGE VIEWER */
/* Here follows the code for the FIRMAMENT ROLLOVER IMAGE VIEWER (thumbnail popup with rollover) */
function ViewImageWithRollover(ifile,ifileroll,ix,iy,ititle) {
var win;
var sWidth;
var sHeight;
var ah = screen.availHeight - 30;
var aw = screen.availWidth - 10;
if (document.layers) 
{ /* NS4+ */
alert("Your browser version is not supported by The Firmament: please upgrade.");
} else            
if (document.getElementById)  
{ /* NS6+ */
win = window.open("","","width="+aw+",height="+ah+",scrollbars=yes,resizable=yes,menubar=no,toolbar=no,left=0,top=0,location=no");
sWidth = document.getElementByIdWidth;
sHeight = document.getElementByIdHeight;
win.document.open();
win.document.write("<html><head><title>FIRMAMENT IMAGE VIEWER</title>");
win.document.write("<SCRIPT LANGUAGE='JAVASCRIPT'><!--var image1 = new Image();image1.src = "+ifile+";var image2 = new Image();image2.src = "+ifileroll+";//--></SCRIPT>");
win.document.write('</head>');
win.document.write('<body bgcolor="black" text="white">');
win.document.write('<div style="position:absolute;width:'+aw+'px;height:'+ah+'px;left:0px;top:0px">');
win.document.write("<center><font color=silver>*** Mouse in/out to view/hide another version of this image *** ZOOM in/out with Ctrl and +/- keys ***</font></center><br>");
win.document.write("<table border=0><tr><td valign=top>");
win.document.write("<img src="+ifile+" NAME='baseimage' onmouseover=document.baseimage.src='"+ifileroll+"' onmouseout=document.baseimage.src='"+ifile+"'>");
win.document.write("</td><td valign=top><br><br><br><br><br><br>"+ititle+"");
win.document.write('<br><br><form><input type="button" value="Close window" onclick="window.close()";></form>');
win.document.write("</td></tr></table></div></body></html>");
win.document.close();
}
}
/* Here ends the code for the FIRMAMENT ROLLOVER IMAGE VIEWER */
/* Here follows the code for the FIRMAMENT ROLLOVER LARGE IMAGE VIEWER (thumbnail popup with rollover) */
function ViewLargeImageWithRollover(ifile,ifileroll,ix,iy,ititle) {
var win;
var sWidth;
var sHeight;
var ah = screen.availHeight - 30;
var aw = screen.availWidth - 10;
if (document.layers) 
{ /* NS4+ */
alert("Your browser version is not supported by The Firmament: please upgrade.");
} else            
if (document.getElementById)  
{ /* NS6+ */
win = window.open("","","width="+aw+",height="+ah+",scrollbars=yes,resizable=yes,menubar=no,toolbar=no,left=0,top=0,location=no");
sWidth = document.getElementByIdWidth;
sHeight = document.getElementByIdHeight;
win.document.open();
win.document.write("<html><head><title>FIRMAMENT IMAGE VIEWER</title>");
win.document.write("<SCRIPT LANGUAGE='JAVASCRIPT'><!--var image1 = new Image();image1.src = "+ifile+";var image2 = new Image();image2.src = "+ifileroll+";//--></SCRIPT>");
win.document.write('</head>');
win.document.write('<body bgcolor="black" text="white">');
win.document.write('<div style="position:absolute;width:'+aw+'px;height:'+ah+'px;left:0px;top:0px">');
win.document.write("<center><font color=silver>*** Please browse down for details  - mouse in/out to view/hide another version of this image ***</center>");
win.document.write("<center>*** HINT: ZOOM in/out with Ctrl and +/- keys ***</font></center><br>");
win.document.write("<center><img src="+ifile+" NAME='baseimage' onmouseover=document.baseimage.src='"+ifileroll+"' onmouseout=document.baseimage.src='"+ifile+"'><p>"+ititle+"</p>");
win.document.write('<P><form><input type="button" value="Close window" onclick="window.close()";></form>');
win.document.write("</center></div></body></html>");
win.document.close();
}
}
/* Here ends the code for the FIRMAMENT ROLLOVER LARGE IMAGE VIEWER */
/* Here follows the code for the FIRMAMENT IMAGE VIEWER 2(thumbnail popup with maximized window with another popup for full sized image) */
function ViewImage2(ifile,ifilefull,ix,iy,ititle) {
var win;
var sWidth;
var sHeight;
var ah = screen.availHeight - 30;
var aw = screen.availWidth - 10;
if (document.layers) 
{ /* NS4+ */
alert("Your browser version is not supported by The Firmament: please upgrade.");
} else            
if (document.getElementById)  
{ /* NS6+ */
win = window.open("","","width="+aw+",height="+ah+",scrollbars=yes,resizable=yes,menubar=no,toolbar=no,left=0,top=0,location=no");
sWidth = document.getElementByIdWidth;
sHeight = document.getElementByIdHeight;
win.document.open();
win.document.write("<html><head><title>FIRMAMENT IMAGE VIEWER</title>");
win.document.write('</head><body bgcolor="black" text="white">');
win.document.write('<div style="position:absolute;width:'+aw+'px;height:'+ah+'px;left:0px;top:0px">');
win.document.write("<center><font color=silver>*** Please browse down for details or click the image for full size ***</font><br>");
win.document.write("<font color=silver>*** Note: for viewing the full sized image it is recommended that automatic resizing has been disabled for your browser ***</font></center><br>");
win.document.write("<center><a href="+ifilefull+" border=0><img src="+ifile+" border=0></a><p>"+ititle+"</p>");
win.document.write('<P><form><input type="button" value="Close window" onclick="window.close()";></form>');
win.document.write("</center></div></body></html>");
win.document.close();
}
}
/* Here ends the code for the FIRMAMENT IMAGE VIEWER2 */

/* Here starts the code to open a full screen window for the astroshow */
function fullScrn(ASTROSHOW) {
window.open(ASTROSHOW, '','type=fullscreen,channelmode=yes,fullscreen,scrollbars=no,menubar=no,toolbar=no,titlebar=no,width=1800,height=1600,location=no');
}
/* Here ends the code to open a full screen window for the astroshow */

//  End -->

