function services_SRVsetPAGE(page) {
	typeID = $("select_types").value
	srcTHIS = $("search").value
	// setLOADING("s_listDIV");
	new Ajax.Updater("s_listDIV", "/AteDin/services/includes/service_list_display.php?type_id="+typeID+"&STR="+srcTHIS+"&page="+page);
}
function services_resetSEARCH() {
	alert('reset');
	filterSEARCH();
}

function services_filterSEARCH() {
	setLOADING("s_listDIV");
	setLOADING("s_statDIV");
	typeID = $("select_types").value
	searchTEXT = $("search").value
	customerID = $("SEARCHcustomer_id").value
	new Ajax.Updater("s_listDIV", "/AteDin/services/includes/service_list_display.php?type_id="+typeID+"&STR="+searchTEXT+"&customerID="+customerID);
	new Ajax.Updater("s_statDIV", "/AteDin/services/includes/service_statistics.php?type_id="+typeID+"&STR="+searchTEXT+"&customerID="+customerID);
// YposLAYERtoTOP("s_displayDIV",0);
	
}
function services_EDITservice(ID) {
	hideLAYER("s_adminDIV");
	setLOADING("s_adminDIV");
	setLOADING("s_displayDIV");
	new Ajax.Updater("s_adminDIV", "/AteDin/services/includes/services_admin.php?service_id="+ID);
	new Ajax.Updater("s_displayDIV", "/AteDin/services/includes/service_display.php?service_id="+ID);
	// YposLAYERtoTOP("s_displayDIV",0);
}

function services_changePSWD(pobox,userID,srvID) {
	hideLAYER("s_adminDIV");
	setLOADING("s_adminDIV");
	setLOADING("s_displayDIV");
	// new Ajax.Updater("s_adminDIV", "/AteDin/services/includes/services_admin.php?service_id="+ID);
	new Ajax.Updater("s_displayDIV", "/AteDin/services/service_templates/service_change_password.php?pobox="+pobox+"&userID="+userID+"&srvID="+srvID);
	// YposLAYERtoTOP("s_displayDIV",0);
}

