// ---------------------------------------------------------
// Script for debug purposes
// ---------------------------------------------------------
function wInvertFullInfo(id){ 
	var div = $('fullInfo_'+id);
	if(div.style.display == "none") div.style.display = "block";
	else div.style.display = "none";
}
// ---------------------------------------------------------
function wLoadMainRow($module, $id){
	//document.location.href = "?";
}
// ---------------------------------------------------------


// ---------------------------------------------------------
// Script for controllers
// ---------------------------------------------------------
function setAttributeValue(elementId, attrName, attrValue){
	element = $(elementId);
	element[attrName] = attrValue;	
}
// ---------------------------------------------------------
function submitCommand(privController, command){ 
	cmdEl = $(privController+".w_command");
	cntFrom = $(privController+".form");
	cmdEl.value = command;
	cntFrom.submit();
}
// ---------------------------------------------------------

