var gAjaxDebug=false; var root='http://localhost:8888/www.portmento.com.tw'; var fckEditBase="/www.portmento.com.tw" + "/cs/fckeditor/"; var loginURI=root + "/login.php?method=login"; var logoutURI=root + "/login.php?method=logout"; var MAX_ID=999999999; var MIN_ID=0; var now = ""; var dialogFile="http://localhost:8888/www.portmento.com.tw" + "/cs/cssDialog.php"; var moduleAjax =root + "/ajax.php"; var moduleMember =root + "/member/index.php"; var moduleEvent =root + "/event/index.php"; var moduleOutside =root + "/outside/index.php"; function myHome(){ var u=moduleOutside; location.href=u; return false; } var eventMethod = new Hash({ eventList:'EventList', eventDetail:'EventDetail', eventJoin:'EventJoin', eventJoinSave:'EventJoinSave', eventReportList:'EventReportList', eventReportDetail:'EventReportDetail' }); function getEventURL(m){ var page='index.php'; if($defined(m)){ page = moduleEvent + "?method=" + eventMethod.get(m); } return page; } var outsideMethod = new Hash({ ContactSave:'ContactSave' , AllianceSave:'AllianceSave' , Refer:'Refer' , ReferSave:'ReferSave' }); function getOutsideURL(m){ var page; if($defined(m)){ page = moduleOutside + "?method=" +outsideMethod.get(m); } return page; }