function winop(url,w,h){
var obj=window.open(url,'PopUp','directories=0,fullscreen=0,width='+ w +',height='+ h +',toolbar=0,location=0,menubar=0,status=0,resizable=1,titlebar=1,scrollbars=0,top=100,left=150');
obj.focus();
}

function winop_scroll(url,w,h,srl){
var obj=window.open(url,'PopUp','directories=0,fullscreen=0,width='+ w +',height='+ h +',toolbar=0,location=0,menubar=0,status=0,resizable=1,titlebar=1,scrollbars=' + srl +',top=100,left=150');
obj.focus();
}

function showHelp(){
winop('/help.cfm?txt='+helpText,260,320);
}

function toggle_table(){
	var a=toggle_table.arguments; 
	for(i=0; i<a.length; i++){
		if (document.getElementById(a[i]).style.display=='none'){
			document.getElementById(a[i]).style.display='block';
		}
		else{
			document.getElementById(a[i]).style.display='none';
		}
	}
}
function hide_all(){
	var a=hide_all.arguments; 
	for(i=0; i<a.length; i++){
		document.getElementById(a[i]).style.display='none';
	}
}
function swap_plus() { //v3.0
  var i,a=swap_plus.arguments;
  for(i=0;i<(a.length);i++){
	var p = new Image();
	p.src = '/assets/img/blank.gif';
	p.alt ='';
	document[a[i]].src=p.src;
	document[a[i]].alt=p.alt; 
  }
}
function fo(field_name) { //v3.0
	try{
		document.getElementById(field_name).focus();
	}
	catch(e){}
}

