# On the fly combine requested javascript modules as a single download
# Can be (and should be) optimised to only do so once for high use configurations

||include||../shared/modules/browser_id.js||

||include||../shared/modules/dom-drag.js||
||include||../shared/modules/dom-region.js||
||include||../shared/modules/dom-popover.js||

||ifany(not(istrue(x_dbg)))||
	||include||../shared/modules/dbg_none.js||
||else||	
	||include||../shared/modules/dbg.js||
||endif||	

||include||../shared/modules/bench.js||
||include||../shared/modules/drag_drop.js||

||include||../shared/modules/x_alerts.js||
||include||../shared/modules/ajax_req.js||
||include||../shared/modules/editor_plain.js||

||include||../shared/modules/panels.js||
||include||../shared/modules/sel.js||


# the core surgeweb "webmail" code
||include||sw_core.js||
||include||sw_api.js||

||include||sw_windowing.js||
||include||sw_ui.js||
||include||sw_util.js||
||include||sw_betapane.js||

||include||../shared/modules/sw_ui_shared.js||
||include||../shared/modules/sw_util_shared.js||

||include||../shared/modules/swfupload.js||
||include||x_upload_fileprogress.js||
||include||sw_attach.js||
||include||sw_chat.js||
||include||xol.js||
||include||sw_cal.js||
||include||../shared/modules/cal.js||
||include||sw_cloud.js||
||include||../shared/modules/colors.js||

# Addresbook autocompletion : CODE NEEDS TIDYING

||include||../shared/modules/x_abk_util.js||
||include||../shared/modules/x_abk_autocomplete.js||

||include||../shared/modules/abook.js||


# Spellchecker : CODE NEEDS TIDYING

||include||../shared/modules/spell.js||
||include||../shared/modules/bookmark.js||

||include||sw_controls.js||

# the core surgeweb ui interface code
||include||sw.js||

||include||newlook.js||

||if_set(MARIJN_DEBUG)||
||include||ink.js||
||endif||

// back to combined.js
