<!--
function winop(imgurl, width, height)
{
    title = "window";
    im = window.open('', 'win','top=40,left=40,width='+width+',height='+height+', scrollbars=no, menu=no,status=no,resizable=no');
    im.focus();
    im.document.open ("text/html");
    im.document.write ('<html><title>'+title+'</title><body leftmargin=0 topmargin=0 marginwidth=0 marginheight=0 bgcolor=#ffffff><table width=100% height=100% border=0 cellpadding=0 cellspacing=0><tr><td align=center><img src='+imgurl+' width='+width+' height='+height+'></td></tr></table></body></html>');
    im.document.close ();
}
function edit(anchor) 
{
	w = window.open(anchor,'','height=450,width=600,title=0,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=1');
	w.focus();
}

var loc;
//var ie = 0;
//ie=(navigator.appName == 'Microsoft Internet Explorer') ?1:0

function newWindow(url,id,width,height)
{
if (loc!=id)
{
	zoom=window.open(url, id, 'width = '+width+' , height = '+height+',resizable=0,scrollbars=0,menubar=0,status=0, left='+Math.max(0,(screen.width-width)/2)+', top='+Math.max(0,(screen.height-height)/2))
	loc=id;
}
else 
{
	
	if(document.all) zoom.close();
		else if(zoom.document) zoom.close();
	zoom=window.open(url, id, 'width = '+width+' , height = '+height+',resizable=0,scrollbars=0,menubar=0,status=0, left='+Math.max(0,(screen.width-width)/2)+', top='+Math.max(0,(screen.height-height)/2))
}
}

//-->