// JavaScript Document
// code for animated window opener
var winheight=100
var winsize=100
var x=5

function openwindow(thelocation){
temploc=thelocation
/*if (!(window.resizeTo&&document.all)&&!(window.resizeTo&&document.getElementById)){
window.open(thelocation)
return
}*/
win2=window.open("","","scrollbars,height=1,width=1,left=250,top=300")
win2.moveTo(300,250)
win2.resizeTo(100,100)
go2()

}
function go2(){
if (winheight>=900)//screen.availHeight-3)
x=0
win2.resizeBy(5,x)
winheight+=5
winsize+=5
if (winsize>=950){//screen.width-5){
win2.location=temploc
win2.document.write('<b>Click on the image to print.</b><br><br>.');
win2.document.write("<a href='javascript:window.print();'><img src='"+temploc+"' /></a>");
winheight=100
winsize=100
x=5
return
}
if ((winheight!=900) || (winsize!=950))
	setTimeout("go2()",10)
} // end of code for animated window opener

