function refreshmeni65(strURL, rresult, objectid, sectionid, mejsfunction, meclass) {
  xmlhttpPostX1("mesys_menurow.php","menu_section6x",objectid,"6","refreshmeni65","classmeni6x");  
  xmlhttpPostX2("mesys_menupicture.php","menu_section6",objectid,"6","refreshmeni65","classmeni6");
//  refreshmeniX0("mesys_menuobject.php","menu_sectionobject5",objectid,"5","refreshmeniX0","classmeni5");

  xmlhttpPostX0("mesys_menuobject.php","menu_sectionobject5",objectid,"5","refreshmeniX0","classmeni5");
  xmlhttpPostX510("memess_ask.php","menu_sectionsask",objectid,"5","xmlhttpPostX510","classmeniask");
////  xmlhttpPostX5("meucl_menusubjects.php","menu_sectionssubjects",objectid,"8","refreshmeniR8xx","sectionssubjectsclass");
////  xmlhttpPostX59("meapp_subscribe.php","menu_sectionssubscribe",objectid,"9","xmlhttpPostX59","classmenisubscribe");
////  xmlhttpPostX512("meucl_section10.php","menu_sections10",objectid,"5","xmlhttpPostX512","menu_section10");
  updatepage("","sectionsubjects");
  document.getElementById('sectionsubjects').style.backgroundColor='white';


  xmlhttpPostX59x("mesys_wikipedia.php","sectionsubjects",objectid,"9","xmlhttpPostX59x","classsectionsubjects");


//  refreshmeniR8xx("meucl_menusubjects.php","menu_sectionssubjects",objectid,"6","refreshmeniR8xx","sectionssubjectsclass");
  xmlhttpPostX5("meucl_menusubjects.php","menu_sectionssubjects",objectid,sectionid,"refreshmeniR8xx","sectionssubjectsclass");
  xmlhttpPostX59("meapp_subscribe.php","menu_sectionssubscribe",objectid,"9","xmlhttpPostX59","classmenisubscribe");
  xmlhttpPostX512("meucl_section10.php","menu_sections10",objectid,"6","xmlhttpPostX512","menu_section10");
////  updatepage("","sectionsubjects");
//// document.getElementById('sectionsubjects').style.backgroundColor='white';

  xmlhttpPostX5PP("meucl_menusubjects.php","menu_sectionssubjects_pp9",objectid+"&subjects_pp=1",sectionid,"refreshmeniR8xx","sectionssubjectsclass_pp");

}

function refreshmeni75(strURL, rresult, objectid, sectionid, mejsfunction, meclass) {
  //ce bi hotel leading bar za ta meni bi vpisal samo "7" in pravi objekt
  //xmlhttpPostX1("mesys_menurow.php","menu_section6x",objectid,"6","refreshmeni65","classmeni6x");
  xmlhttpPostX3("mesys_menu.php","menu_section7",objectid,"7","refreshmeni75","classmeni7");
  refreshmeniX01("mesys_menuobject.php","menu_sectionobject5",objectid,"5","refreshmeniX0","classmeni5");
  refreshmeniR8xx("meucl_menusubjects.php","menu_sectionssubjects",objectid,sectionid,"refreshmeniR8xx","sectionssubjectsclass");
  
  xmlhttpPostX5PP("meucl_menusubjects.php","menu_sectionssubjects_pp9",objectid+"&subjects_pp=1",sectionid,"refreshmeniR8xx","sectionssubjectsclass_pp");
}

function refreshmeniR8(strURL, rresult, sectionid, rdescription, regionid, departmentid, mejsfunction, meclass) {
  xmlhttpPostRegion("meucl_regions.php","sectionregion",rdescription,regionid,departmentid,"refreshmeniR8","sectionregionclass");
  refreshmeniR8xx("meucl_menusubjects.php","menu_sectionssubjects","&descripton="+rdescription,sectionid,"refreshmeniR8xx","sectionssubjectsclass");
  xmlhttpPostX5PP("meucl_menusubjects.php","menu_sectionssubjects_pp9","&subjects_pp=1&descripton="+rdescription,sectionid,"refreshmeniR8xx","sectionssubjectsclass_pp");
}
                                                  
function refreshmeniR8xx(strURL, rresult, objectid, sectionid, mejsfunction, meclass) {
  xmlhttpPostX5(strURL,rresult,objectid,sectionid,"refreshmeniR8xx",meclass); 
  xmlhttpPostX59("meapp_subscribe.php","menu_sectionssubscribe",objectid,sectionid,"xmlhttpPostX59","classmenisubscribe");
  xmlhttpPostX512("meucl_section10.php","menu_sections10",objectid,sectionid,"xmlhttpPostX512","menu_section10");
  updatepage("","sectionsubjects");
  document.getElementById('sectionsubjects').style.backgroundColor='white';
}

function refreshmeniX01(strURL, rresult, objectid, sectionid, mejsfunction, meclass) {
  xmlhttpPostX0(strURL,"menu_sectionobject5",objectid,"5","refreshmeniX0","classmeni5");
  xmlhttpPostX510("memess_ask.php","menu_sectionsask",objectid,sectionid,"xmlhttpPostX510","classmeniask");
  xmlhttpPostX59x("mesys_wikipedia.php","sectionsubjects",objectid,"9","xmlhttpPostX59x","classsectionsubjects");
}

function refreshmeniX0(strURL, rresult, objectid, sectionid, mejsfunction, meclass) {
  xmlhttpPostX0(strURL,"menu_sectionobject5",objectid,"5","refreshmeniX0","classmeni5");
  xmlhttpPostX510("memess_ask.php","menu_sectionsask",objectid,sectionid,"xmlhttpPostX510","classmeniask");
  refreshmeniR8xx("meucl_menusubjects.php","menu_sectionssubjects",objectid,sectionid,"refreshmeniR8xx","sectionssubjectsclass");
  xmlhttpPostX59x("mesys_wikipedia.php","sectionsubjects",objectid,"9","xmlhttpPostX59x","classsectionsubjects");
  xmlhttpPostX5PP("meucl_menusubjects.php","menu_sectionssubjects_pp9",objectid+"&subjects_pp=1",sectionid,"refreshmeniR8xx","sectionssubjectsclass_pp");
}

function init() {
  sbClock('clock');
//  xmlhttpPostX1("mesys_menurow.php","menu_section6x",'2',"6","refreshmeni65","classmeni6x");
//  xmlhttpPostRegion("meucl_regions.php","sectionregion","","","","refreshmeniR8","sectionregionclass");
//  xmlhttpPostX5("meucl_menusubjects.php","menu_sectionssubjects","2","6","refreshmeniR8xx","sectionssubjectsclass");
//  xmlhttpPostX5PP("meucl_menusubjects.php","menu_sectionssubjects_pp9","2&subjects_pp=1","6","refreshmeniR8xx","sectionssubjectsclass_pp");
//  xmlhttpPostX2("mesys_menupicture.php","menu_section6",'2',"6","refreshmeni65","classmeni6");
//  xmlhttpPostX3("mesys_menu.php","menu_section7","2","7","refreshmeni75","classmeni7");
//  xmlhttpPostX0("mesys_menu.php","menu_sectionobject5","2","5","refreshmeniX0","classmeni5");

  xmlhttpPostX511("meucl_login.php","menu_sectionslogin","","11","xmlhttpPostX511","classmenilogin");
  xmlhttpPostX512("meucl_section10.php","menu_sections10","2","6","xmlhttpPostX512","menu_section10");
//  xmlhttpPostX510("memess_ask.php","menu_sectionsask","","10","xmlhttpPostX510","classmeniask");
//  xmlhttpPostX59("meapp_subscribe.php","menu_sectionssubscribe","null","9","xmlhttpPostX59","classmenisubscribe");
//  xmlhttpPostX59x("mesys_welcome.php","sectionsubjects","","9","xmlhttpPostX59x","classsectionsubjects");
  xmlhttpPostQuest("meucl_questiner.php","polls","","9","xmlhttpPostQuest","section_polls");
}
