var TIME_NOW = {@TIME_NOW};
//]]>
</script>
-<script type="text/javascript" src="{@$__wcf->getPath()}js/3rdParty/jquery.min.js"></script>
-<script type="text/javascript" src="{@$__wcf->getPath()}js/3rdParty/jquery-ui.min.js"></script>
-<script type="text/javascript" src="{@$__wcf->getPath()}js/3rdParty/jquery-ui.nestedSortable.js"></script>
-<script type="text/javascript" src="{@$__wcf->getPath()}js/3rdParty/jquery-ui.timepicker.min.js"></script>
-<script type="text/javascript" src="{@$__wcf->getPath()}js/WCF.js"></script>
+<script type="text/javascript" src="{@$__wcf->getPath()}js/3rdParty/jquery.min{if !DEBUG_MODE}.min{/if}.js"></script>
+<script type="text/javascript" src="{@$__wcf->getPath()}js/3rdParty/jquery-ui.min{if !DEBUG_MODE}.min{/if}.js"></script>
+<script type="text/javascript" src="{@$__wcf->getPath()}js/3rdParty/jquery-ui.nestedSortable{if !DEBUG_MODE}.min{/if}.js"></script>
+<script type="text/javascript" src="{@$__wcf->getPath()}js/3rdParty/jquery-ui.timepicker.min{if !DEBUG_MODE}.min{/if}.js"></script>
+<script type="text/javascript" src="{@$__wcf->getPath()}js/WCF{if !DEBUG_MODE}.min{/if}.js"></script>
<script type="text/javascript">
//<![CDATA[
WCF.User.init({@$__wcf->user->userID}, '{@$__wcf->user->username|encodeJS}');
{if !$__imageViewerLoaded|isset}
- <script type="text/javascript" src="{@$__wcf->getPath()}js/3rdParty/slimbox2.min.js"></script>
- <script type="text/javascript" src="{@$__wcf->getPath()}js/WCF.ImageViewer.js"></script>
+ <script type="text/javascript" src="{@$__wcf->getPath()}js/3rdParty/slimbox2.min{if !DEBUG_MODE}.min{/if}.js"></script>
+ <script type="text/javascript" src="{@$__wcf->getPath()}js/WCF.ImageViewer{if !DEBUG_MODE}.min{/if}.js"></script>
<script type="text/javascript">
//<![CDATA[
var $imageViewer = null;
{include file='header'}
-<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></script>
+<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min{if !DEBUG_MODE}.min{/if}.js"></script>
<script type="text/javascript">
//<![CDATA[
if (window.jQuery) {