<!-- Begin
function SizeWindow(img){
img1= new Image();
img1.src=(img);
Control(img);
}

function Control(img){
if((img1.width!=0)&&(img1.height!=0)){
viewImage(img);
}
else{
fun="Control('"+img+"')";
interval=setTimeout(fun,20);
}
}

function viewImage(img){
width=img1.width+20;
height=img1.height+20;
string="width="+width+",height="+height;
finished=window.open(img,"Enlarge",string);
}
//  End -->