function ModuleNeighborhoods()
{
	this.Module = Module;
	this.Module();
	this.nm = name || 'neighborhoods';

	if(this.form)
	{
		with(this.form)
		{
			this.fileWin = function(target1, target2)
			{
				targ1 = this.form[target1] || null;
				targ2 = this.form[target2] || null;
				id = content_id.value || 0;
				loc = this.uri_mod;
				qry = '?tpl=none&m=files&a=form&content_id=' + id + '&file_id=' + targ2.value + '&handler=' + this.nm + '&target1=' + targ1.name + '&target2=' + targ2.name;
				attr = 'width=440,height=60,left=200,top=100,resizable=yes,toolbar=no,scrollbars=auto,status=no';
				return this.popUp(loc + qry, 'files', attr);
			}
			
			this.handleUpload = function(file_id, file, target1, target2)
			{
				id = file_id || 0;
				targ1 = this.form[target1] || null;
				targ2 = this.form[target2] || null;
				
				if(targ1) targ1.value = file;
				if(targ2) targ2.value = id;
			}
		}
	}	
}
function bigwin(url)
			{
			window.open(url,"Web",'width=800,height=600,left=200,top=100,resizable=yes,toolbar=no,scrollbars=yes,status=no')
			}
var neighborhoods = new ModuleNeighborhoods();
