function is_numbernn(str)
{
for (var i=0; i<str.length; i++) if (isNaN(parseInt(str.charAt(i)))) return 0;
if (parseInt(str)==0) return 0;
if (str.length==0) return 0;
return 1;
}

//var basedir="/";
var scr=basedir+'_scripts/img.html';

function showImage(img)
{

wnnn=window.open(scr+'?'+escape(img),'win','resizable,width=400,height=200,screenX=0,screenY=0,top=0,left=0');
wnnn.focus();
}



function showImageGal(module_id, prior)
{
 title=document.title; 
 params="width=300,height=300,scrollbars=0, resizable=0";
 wndgal=window.open('/_showimg.php?title='+title+'&module_id='+module_id+'&prior='+prior,"",params);

}