function getComment(id){

url="files/entry_comments.php?id="+id;

window.open(url,"comments","top=40,left=40,width=350,height=400,titlebar=0,menubar=0,toolbar=0,addressbar=0,scrollbars=1,resizable=0,directories=0,status=1");

}

function opent(id){

url='files/opent.php?&id='+id;

window.open(url,'view_photo','width=400,height=350,titlebar=0,menubar=0,toolbar=0,addressbar=0,resizable=0,status=0')

}

function openWin(id){

url="files/show_pic.php?id="+id

window.open(url,'view_photo','width=400,height=350,titlebar=0,menubar=0,toolbar=0,addressbar=0,resizable=0,status=0')

}

var NS = (navigator.appName=='netscape')?true:false;

function fitter(){

iWidth = (NS)?window.innerWidth:document.body.clientWidth;

iHeight = (NS)?window.innerHeight:document.body.clientHeight;

iWidth = document.images[0].width - iWidth;

iHeight = document.images[0].height - iHeight;

window.resizeBy(iWidth,iHeight);

self.focus();

}

function changeCode()
{
document.getElementById('img_code').src="ncf/security_image.php";
}

function changeCodeCo()
{
document.getElementById('img_code').src="../ncf/security_image.php";
}
