// JavaScript Document
// code for animated window opener
var winheight=100
var winsize=100
var x=5


function openimgwindow(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=300,top=250")
win2.moveTo(300,250)
win2.resizeTo(100,100)
go2()

}
function go2(){
if (winheight>=600)//screen.availHeight-3)
x=0
win2.resizeBy(5,x)
winheight+=5
winsize+=5
if (winsize>=600){//screen.width-5){
win2.location=temploc
win2.document.write("<img src='"+temploc+"' style='border:#333333 solid 2px; padding:2px; background-color:#000000' />");
winheight=100
winsize=100
x=5
return
}
if ((winheight!=600) || (winsize!=600))
	setTimeout("go2()",5)
} // end of code for animated window opener

