// function to hold all init functions
init = new Array();

// this runs on each page
function _init(){
	// loop through all the items in the init array
	// and execute any functions
	for( var i=0; i < window.init.length; i++ ){
		if( typeof window.init[i] == "function" ) window.init[i]();
	}
}

function newWin(url,name){
	thisWindow = window.open(url, name,'menubar,resizable,scrollbars=yes,status,titlebar,toolbar');
	return false;
}

function newWinSpecial(url,name,features) {
  window.open(url,name,features);
}

function checkAll(field)
{
	for (i = 0; i < field.length; i++)
		field[i].checked = true ;
}
	
function uncheckAll(field)
{
	for (i = 0; i < field.length; i++)
		field[i].checked = false ;
}

