function doDisplay(obj,obj2){
	if (obj.style.display == "none"){
		obj.style.display = "Block";
		obj2.src = "images/minus.gif";
	}else{
		obj.style.display = "none";
		obj2.src = "images/plus.gif";
	}	
}

function openFileWin(page,val,field,docDir){
	var width = 392;
	var height = 234;
	var left = (screen.width-width)/2;
	var top = (screen.height-height)/3;
	hlpWidth = (screen.width);
	var win = open(page+"?val="+val+"&field="+field+"&docDir="+docDir,'null', "scrollbars=yes, toolbar=no, status=no, menubar=no, width="+width+", height="+height+", left="+left+", top="+top+"");
}

function setUploaded(fld,val) {
	document.all[fld].value = val;
	document.postingFrm.action = "";
	document.postingFrm.submit ();
}

function openWin(url, name, features){
		var newWin = window.open( url, name, features )
	}
