$row["f_ext"],
"image_name" => $row["f_hash"] . '.' . $row["f_ext"],
"thumb_name" => md5($row["f_hash"].'538538'.$phpwcms["sharpen_level"]),
"max_width" => 538,
"max_height" => 538
)
);
?>
function ResizeAndCenter(){
var width = 590;
';
if($thumb_image != false) {
echo '
var height = screen.availHeight;
if(height < 490) {
height=420;
} else {
height=570;
}
';
} else {
echo ' var height = 300;';
}
echo '
window.moveTo(5,5);
window.resizeTo(width,height);
}
';
?>