Index: advanced/in-bulletin/elements/html_head.elm.tpl
===================================================================
--- advanced/in-bulletin/elements/html_head.elm.tpl	(revision 13400)
+++ advanced/in-bulletin/elements/html_head.elm.tpl	(working copy)
@@ -1,6 +1,12 @@
-<link rel="stylesheet" rev="stylesheet" href="<inp2:m_TemplatesBase module="In-Bulletin"/>inc/styles.css" type="text/css" />
-<script type="text/javascript" src="<inp2:m_TemplatesBase module="In-Bulletin"/>inc/script.js"></script>
+<inp2:m_Compress files="in-bulletin/inc/styles.css" to="all_css"/>
+<inp2:m_Compress files="in-bulletin/inc/script.js" to="all_js"/>
 
 <script type="text/javascript">
-	var aPollManager = new PollManager('<inp2:m_Link template="in-bulletin/elements/side_boxes/poll_results.elm" events[#PREFIX#]="OnMakeVote" poll_id="#POLL_ID#" option_id="#OPTION_ID#" no_amp="1"/>');
+	var aPollManager = null;
+
+	$(document).ready(
+		function () {
+			aPollManager = new PollManager('<inp2:m_Link template="in-bulletin/elements/side_boxes/poll_results.elm" events[#PREFIX#]="OnMakeVote" poll_id="#POLL_ID#" option_id="#OPTION_ID#" no_amp="1"/>');
+		}
+	);
 </script>
\ No newline at end of file
Index: advanced/in-bulletin/inc/styles.css
===================================================================
--- advanced/in-bulletin/inc/styles.css	(revision 13400)
+++ advanced/in-bulletin/inc/styles.css	(working copy)
@@ -106,15 +106,15 @@
 
 /* --- Topic Button Styles --- */
 .big-button-left-border {
-	background: #EFEFEF url('../img/big_buttons/left_border.gif') repeat-y top left;
+	background: #EFEFEF url('@templates_base@/in-bulletin/img/big_buttons/left_border.gif') repeat-y top left;
 }
 
 .big-button-bottom td {
-	background: #EFEFEF url('../img/big_buttons/bottom_border.gif') repeat-x top left;
+	background: #EFEFEF url('@templates_base@/in-bulletin/img/big_buttons/bottom_border.gif') repeat-x top left;
 }
 
 .big-button-text {
-	background: #EFEFEF url('../img/big_buttons/top_border.gif') repeat-x top left;
+	background: #EFEFEF url('@templates_base@/in-bulletin/img/big_buttons/top_border.gif') repeat-x top left;
 	font: bold 11px Arial, sans-serif;
 	letter-spacing: 0px;
 	color: #1F569A;
@@ -127,11 +127,11 @@
 
 /* --- Post Button Styles --- */
 .small-button-bottom td {
-	background: #efefef url('../img/small_buttons/bottom_border.gif') repeat-x top left
+	background: #efefef url('@templates_base@/in-bulletin/img/small_buttons/bottom_border.gif') repeat-x top left
 }
 
 .small-button-text {
-	background: url('../img/small_buttons/top_border.gif') repeat-x top left;
+	background: url('@templates_base@/in-bulletin/img/small_buttons/top_border.gif') repeat-x top left;
 	font: 10px Arial, sans-serif;
 	color: #153C6A;
 	padding-top: 15px;
Index: advanced/in-commerce/elements/html_head.elm.tpl
===================================================================
--- advanced/in-commerce/elements/html_head.elm.tpl	(revision 13400)
+++ advanced/in-commerce/elements/html_head.elm.tpl	(working copy)
@@ -1,6 +1,6 @@
 <!--## CSS & JAVASCRIPT FOR IN-COMMERCE ##-->
 
-<link rel="stylesheet" rev="stylesheet" href="<inp2:m_TemplatesBase module="In-Commerce"/>inc/styles.css" type="text/css" />
-<!--<script type="text/javascript" src="<inp2:m_TemplatesBase module="In-Commerce"/>inc/script.js"></script>-->
+<inp2:m_Compress files="in-commerce/inc/styles.css" to="all_css"/>
+<!--## <inp2:m_Compress files="in-commerce/inc/script.js" to="all_js"/> ##-->
 
 <!--## /CSS & JAVASCRIPT FOR IN-COMMERCE ##-->
Index: advanced/in-link/elements/html_head.elm.tpl
===================================================================
--- advanced/in-link/elements/html_head.elm.tpl	(revision 13400)
+++ advanced/in-link/elements/html_head.elm.tpl	(working copy)
@@ -1,11 +1,11 @@
-<link rel="stylesheet" rev="stylesheet" href="<inp2:m_TemplatesBase module="In-Link"/>inc/styles.css" type="text/css" />
-<!--<script type="text/javascript" src="<inp2:m_TemplatesBase module="In-Link"/>inc/script.js"></script>-->
+<inp2:m_Compress files="in-link/inc/styles.css" to="all_css"/>
+<!--## <inp2:m_Compress files="in-link/inc/script.js" to="all_js"/> ##-->
 
 <!--## GOOGLE MAPS API INTEGRATION ##-->
 <inp2:m_if check="m_IsActive" t="in-link/detail">
 	<inp2:m_if check="m_GetConfig" name="l_EnableGoogleMaps">
-<script type="text/javascript" src="http://www.google.com/jsapi?key=<inp2:m_GetConfig name="l_GoogleMapsAPIKey"/>"></script>
-<script type="text/javascript" src="<inp2:m_TemplatesBase module="In-Link"/>inc/googlemaps.js"></script>
+		<script type="text/javascript" src="http://www.google.com/jsapi?key=<inp2:m_GetConfig name='l_GoogleMapsAPIKey'/>"></script>
+		<inp2:m_Compress files="in-link/inc/googlemaps.js" to="all_js"/>
 	</inp2:m_if>
 </inp2:m_if>
 <!--## GOOGLE MAPS API INTEGRATION ##-->
Index: advanced/in-news/elements/html_head.elm.tpl
===================================================================
--- advanced/in-news/elements/html_head.elm.tpl	(revision 13400)
+++ advanced/in-news/elements/html_head.elm.tpl	(working copy)
@@ -1,3 +1,3 @@
-<link rel="stylesheet" rev="stylesheet" href="<inp2:m_TemplatesBase module="In-News"/>inc/styles.css" type="text/css" />
-<!--<script type="text/javascript" src="<inp2:m_TemplatesBase module="In-News"/>inc/script.js"></script>-->
+<inp2:m_Compress files="in-news/inc/styles.css" to="all_css"/>
+<!--## <inp2:m_Compress files="in-news/inc/script.js" to="all_js"/> ##-->
 
Index: advanced/platform/designs/default_design.des.tpl
===================================================================
--- advanced/platform/designs/default_design.des.tpl	(revision 13400)
+++ advanced/platform/designs/default_design.des.tpl	(working copy)
@@ -15,6 +15,9 @@
 		<!--## Include module specific HEADER (META INFORMATION inside) template ##-->
 		<inp2:m_ModuleInclude template="elements/html_head.elm" in-portal_template="platform/elements/html_head.elm"/>
 
+		<link rel="stylesheet" rev="stylesheet" href="<inp2:m_Compress from='all_css'/>" type="text/css" />
+		<script type="text/javascript" src="<inp2:m_Compress from='all_js'/>"></script>
+
 		<inp2:st_EditingScripts/>
 		<!--## /Include module specific HEADER template ##-->
 	</head>
Index: advanced/platform/elements/html_head.elm.tpl
===================================================================
--- advanced/platform/elements/html_head.elm.tpl	(revision 13400)
+++ advanced/platform/elements/html_head.elm.tpl	(working copy)
@@ -1,39 +1,49 @@
 
 <!--## Meta Info (Keywords and Description) ##-->
-<meta http-equiv="Content-Type" content="text/html; charset=<inp2:lang.current_Field name="Charset"/>" />
+<meta http-equiv="Content-Type" content="text/html; charset=<inp2:lang.current_Field name='Charset'/>" />
 
-<meta name="Description" content="<inp2:st_PageInfo type="meta_description"/>" />
-<meta name="Keywords" content="<inp2:st_PageInfo type="meta_keywords"/>" />
+<meta name="Description" content="<inp2:st_PageInfo type='meta_description'/>" />
+<meta name="Keywords" content="<inp2:st_PageInfo type='meta_keywords'/>" />
 <!--## /Meta Keywords and Description ##-->
 
 <inp2:theme.current_StylesheetFile/>
 
 <inp2:m_ifnot check="m_GetConst" name="EDITING_MODE">
-	<link rel="stylesheet" href="<inp2:m_TemplatesBase module='In-Portal'/>inc/jquery/thickbox/thickbox.css" type="text/css" media="screen" />
+	<inp2:m_Compress files="platform/inc/jquery/thickbox/thickbox.css" to="all_css"/>
 </inp2:m_ifnot>
 
-<link rel="stylesheet" rev="stylesheet" href="<inp2:m_TemplatesBase module='In-Portal'/>inc/styles.css" type="text/css" />
+<inp2:m_Compress files="platform/inc/styles.css" to="all_css"/>
 
-<script type="text/javascript" src="<inp2:m_TemplatesBase module='In-Portal'/>inc/script.js"></script>
-<script type="text/javascript" src="<inp2:m_TemplatesBase module='In-Portal'/>inc/ajax.js"></script>
-<script type="text/javascript" src="<inp2:m_TemplatesBase module='In-Portal'/>inc/calendar.js"></script>
+<inp2:m_Compress files="platform/inc/script.js|platform/inc/ajax.js|platform/inc/calendar.js" to="all_js"/>
 
 <script type="text/javascript">var inportalBase = '<inp2:m_TemplatesBase module="In-Portal"/>';</script>
 <script type="text/javascript" src="<inp2:m_TemplatesBase module='In-Portal'/>inc/jquery/jquery.pack.js"></script>
 
 <inp2:m_ifnot check="m_GetConst" name="EDITING_MODE">
-	<script type="text/javascript" src="<inp2:m_TemplatesBase module='In-Portal'/>inc/jquery/thickbox/thickbox.js"></script>
+	<inp2:m_Compress files="platform/inc/jquery/thickbox/thickbox.js" to="all_js"/>
 </inp2:m_ifnot>
 
 <script type="text/javascript">
-	var aRatingManager = new RatingManager('<inp2:m_Link template="index" events[#PREFIX#]="OnMakeVote" rating="#VOTE#" id="#ID#" no_amp="1" size="#SIZE#"/>');
+	var aRatingManager = null;
 
+	$(document).ready(
+		function () {
+			aRatingManager = new RatingManager('<inp2:m_Link template="index" events[#PREFIX#]="OnMakeVote" rating="#VOTE#" id="#ID#" no_amp="1" size="#SIZE#"/>');
+		}
+	);
+
 	<inp2:m_Cache key="prefix:lang;skip_var:t,page,per_page,sort_by">
 		<inp2:m_DefineElement name="ml_selector_language_element">
 			<inp2:Field name="LanguageId"/>: {'on': '<inp2:Field name="IconURL" js_ecape="1"/>', 'off': '<inp2:Field name="IconDisabledURL" js_ecape="1"/>'}
 			<inp2:m_ifnot check="m_Param" name="is_last">,</inp2:m_ifnot>
 		</inp2:m_DefineElement>
 
-		var aMultiLanguageSelector = new MultiLanguageSelector({<inp2:lang.enabled_PrintList render_as="ml_selector_language_element" per_page="-1" no_editing="1" strip_nl="2"/>}, <inp2:m_Get name="m_lang"/>);
+		var aMultiLanguageSelector = null;
+
+		$(document).ready(
+			function () {
+				aMultiLanguageSelector = new MultiLanguageSelector({<inp2:lang.enabled_PrintList render_as="ml_selector_language_element" per_page="-1" no_editing="1" strip_nl="2"/>}, <inp2:m_Get name="m_lang"/>);
+			}
+		);
 	</inp2:m_Cache>
 </script>
Index: advanced/platform/elements/menu.elm.tpl
===================================================================
--- advanced/platform/elements/menu.elm.tpl	(revision 13400)
+++ advanced/platform/elements/menu.elm.tpl	(working copy)
@@ -4,12 +4,14 @@
 			<table style="width: auto;">
 				<tr>
 					<td>
-						<script type="text/javascript" src="<inp2:m_TemplatesBase module='In-Portal'/>inc/nlsmenu.js"></script>
-						<script type="text/javascript" src="<inp2:m_TemplatesBase module='In-Portal'/>inc/nlsmenueffect.js"></script>
-						<script type="text/javascript" src="<inp2:m_TemplatesBase module='In-Portal'/>inc/nlsmenuext_dyn.js"></script>
-						<script type="text/javascript" src="<inp2:m_TemplatesBase module='In-Portal'/>inc/nlsmenuext_xml.js"></script>
+						<script type="text/javascript" src="<inp2:m_Compress files='
+							platform/inc/nlsmenu.js|
+							platform/inc/nlsmenueffect.js|
+							platform/inc/nlsmenuext_dyn.js|
+							platform/inc/nlsmenuext_xml.js
+						'/>"></script>
 
-						<link rel="StyleSheet" href="<inp2:m_TemplatesBase module='In-Portal'/>inc/dmenu.css" type="text/css" />
+						<link rel="StyleSheet" href="<inp2:m_Compress files='platform/inc/dmenu.css'/>" type="text/css" />
 						<div id="xmlMenuDiv"></div>
 
 				        <script type="text/javascript">
Index: advanced/platform/inc/dmenu.css
===================================================================
--- advanced/platform/inc/dmenu.css	(revision 13400)
+++ advanced/platform/inc/dmenu.css	(working copy)
@@ -22,7 +22,7 @@
 
 .horz_nlsitemcontainerover {
     height: 37px;
-    background:url(../img/top_menu_select.gif);
+    background:url(@templates_base@/platform/img/top_menu_select.gif);
     padding: 0px 13px;
 }
 .horz_nlsiconcellover {width:16px;}
@@ -92,7 +92,7 @@
 .nlsitemcontainerover {
     height:25px;
     border: 1px solid #6291BB;
-    background:url(../img/top_menu_select.gif);
+    background:url(@templates_base@/platform/img/top_menu_select.gif);
     padding: 2px 10px 2px 10px;
 }
 .nlsiconcellover {width:22px;}
Index: advanced/platform/inc/styles.css
===================================================================
--- advanced/platform/inc/styles.css	(revision 13400)
+++ advanced/platform/inc/styles.css	(working copy)
@@ -31,11 +31,11 @@
 }
 
 .horizontal-separator {
-	background: url('../img/horizontal_dashed_line.gif') bottom repeat-x;
+	background: url('@templates_base@/platform/img/horizontal_dashed_line.gif') bottom repeat-x;
 }
 
 .vertical-separator {
-	background: url('../img/vertical_dashed_line.gif') top center repeat-y;
+	background: url('@templates_base@/platform/img/vertical_dashed_line.gif') top center repeat-y;
 }
 
 img, img A {
@@ -47,7 +47,7 @@
 }
 
 .top-background {
-	background: url('../img/top_background.gif') right repeat-y;
+	background: url('@templates_base@/platform/img/top_background.gif') right repeat-y;
 }
 
 .top-baner-cell
@@ -57,7 +57,7 @@
 	}
 
 .menu-background {
-	background: url('../img/menu_background.gif') top repeat-x #1865AC;
+	background: url('@templates_base@/platform/img/menu_background.gif') top repeat-x #1865AC;
 	width: 100%;
 }
 
@@ -66,7 +66,7 @@
 }
 
 .footer-table td {
-	background: url('../img/footer_blue.gif') top repeat-x;
+	background: url('@templates_base@/platform/img/footer_blue.gif') top repeat-x;
 	height: 26px;
 	color: #F7EEE4;
 	font-size: 10px;
@@ -115,7 +115,7 @@
 
 /* --- Side Box Styles --- */
 .side-box-header {
-	background: url('../img/side_boxes_background.gif') bottom repeat-x #83AFD6;
+	background: url('@templates_base@/platform/img/side_boxes_background.gif') bottom repeat-x #83AFD6;
 	height: 29px;
 	padding: 0px 8px 0px 20px;
 }
@@ -137,7 +137,7 @@
 }
 
 .side-box-content {
-	background: url('../img/side_boxes_content.gif') top repeat-x;
+	background: url('@templates_base@/platform/img/side_boxes_content.gif') top repeat-x;
 	padding: 20px 20px;
 }
 
@@ -162,7 +162,7 @@
 
 /* --- Form Control Styles --- */
 .input-text, .input-textarea {
-	background: url('../img/input_text_background.gif') top repeat-x #FFFFFF;
+	background: url('@templates_base@/platform/img/input_text_background.gif') top repeat-x #FFFFFF;
 	border: 1px solid #7091B9;
 	font-family: Arial, Helvetica, sans-serif;
 	font-size: 11px;
@@ -178,7 +178,7 @@
 }
 
 .button {
-	background: url('../img/input_button_background.gif') bottom repeat-x #efefef;
+	background: url('@templates_base@/platform/img/input_button_background.gif') bottom repeat-x #efefef;
 	border: 1px solid #688BAC;
 	padding: 0px;
 	font-size: 11px;
@@ -186,7 +186,7 @@
 }
 
 .delete-button {
-	background: url('../img/delete_button_background.gif') bottom repeat-x #FF6D6D;
+	background: url('@templates_base@/platform/img/delete_button_background.gif') bottom repeat-x #FF6D6D;
 	color: #FFFFFF;
 	border: 1px solid #CC0000;
 	padding: 0px;
@@ -247,7 +247,7 @@
 
 /* --- Navigation Bar Styles --- */
 .navigation-bar {
-	background: url('../img/side_boxes_background.gif') bottom repeat-x #83AFD6;
+	background: url('@templates_base@/platform/img/side_boxes_background.gif') bottom repeat-x #83AFD6;
 	height: 29px;
 	padding: 0px 20px;
 	font-size: 12px;
@@ -264,7 +264,7 @@
 
 /* --- Top Right Menu Styles --- */
 .menu-top-active-icon, .menu-top-active-text {
-	background: url('../img/top_menu_select.gif');
+	background: url('@templates_base@/platform/img/top_menu_select.gif');
 }
 
 td.top-menu-padding {
@@ -309,7 +309,7 @@
 }
 
 .tab-bottom-line {
-	background: url('../img/pixel_blue.gif') bottom repeat-x;
+	background: url('@templates_base@/platform/img/pixel_blue.gif') bottom repeat-x;
 }
 
 .tab-bottom-content {
@@ -337,15 +337,15 @@
 
 /* --- Item Listing Page & Item Details Page Styles --- */
 .item-listing {
-	background: url('../img/gradient_background.gif') top repeat-x #FFFFFF;
+	background: url('@templates_base@/platform/img/gradient_background.gif') top repeat-x #FFFFFF;
 }
 
 .item-listing-featured {
-	background: url('../img/gradient_background_gr.gif') top repeat-x #FFFFFF;
+	background: url('@templates_base@/platform/img/gradient_background_gr.gif') top repeat-x #FFFFFF;
 }
 
 .item-listing-lead {
-	background: url('../img/gradient_background_red.gif') top repeat-x #FFFFFF;
+	background: url('@templates_base@/platform/img/gradient_background_red.gif') top repeat-x #FFFFFF;
 }
 
 .item-padding {
@@ -537,7 +537,7 @@
 .star-rating a:active,
 .star-rating a:focus,
 .star-rating .current-rating{
-	background: url('../img/starrating.gif') left -1000px repeat-x;
+	background: url('@templates_base@/platform/img/starrating.gif') left -1000px repeat-x;
 }
 .star-rating {
 	position:relative;
Index: default/elements/html_head.elm.tpl
===================================================================
--- default/elements/html_head.elm.tpl	(revision 13400)
+++ default/elements/html_head.elm.tpl	(working copy)
@@ -8,11 +8,11 @@
 <inp2:m_else/>
 	<meta name="Description" content="<inp2:m_GetConfig name='Category_MetaDesc'/>"/>
 </inp2:m_if>
-<meta name="author" content="<inp2:m_GetConfig name='Site_Name'/>"/> 
+<meta name="author" content="<inp2:m_GetConfig name='Site_Name'/>"/>
 <meta http-equiv="content-type" content="text/html; charset=<inp2:lang.current_Field name='Charset'/>" />
 
 <!-- CSS -->
-<link rel="stylesheet" type="text/css" href="<inp2:m_TemplatesBase />inc/screen.css" media="screen" charset="<inp2:lang.current_Field name='Charset'/>"/>
+<link rel="stylesheet" type="text/css" href="<inp2:m_Compress files='inc/reset.css|inc/styles.css'/>" media="screen" charset="<inp2:lang.current_Field name='Charset'/>"/>
 
 <!-- JS FOR ADMIN -->
 <inp2:st_EditingScripts/>
Index: default/inc/styles.css
===================================================================
--- default/inc/styles.css	(revision 13400)
+++ default/inc/styles.css	(working copy)
@@ -1,7 +1,7 @@
 /* Basic Blocks
 *******************************************************************************/
 body {
-	background: #fff url('../img/bg_header_new.jpg') no-repeat 50% 0;
+	background: #fff url('@templates_base@/img/bg_header_new.jpg') no-repeat 50% 0;
 	color: #000;
 	font: 0.75em/1.333em Sans-Serif,Arial,Tahoma,Verdana;
 	min-width: 800px;
@@ -20,7 +20,7 @@
 /* Layout
 *******************************************************************************/
 #wrapper.inner {
-	background: url('../img/bg_inner_lines.gif') repeat-x 0 100%;
+	background: url('@templates_base@/img/bg_inner_lines.gif') repeat-x 0 100%;
 }
 #wrapper .title_system {
 	color: #fff;
@@ -46,7 +46,7 @@
 	width: 480px;
 }
 #header h1.logo a {
-	background: url('../img/logo_xyz.gif') no-repeat 0 0;
+	background: url('@templates_base@/img/logo_xyz.gif') no-repeat 0 0;
 	color: #CF0;
 	display: block;
 	font-family: sans-serif;
@@ -71,7 +71,7 @@
 
 /*** Menu ***/
 #menu {
-	background: url('../img/menu/top_sup_menju.gif') repeat-x 0 100%;
+	background: url('@templates_base@/img/menu/top_sup_menju.gif') repeat-x 0 100%;
 	height: 76px;
 }
 #menu ul {
@@ -80,14 +80,14 @@
 	width: 770px;
 }
 #menu li {
-	background: url('../img/menu/nav_rcorn.jpg') no-repeat 100% 0;
+	background: url('@templates_base@/img/menu/nav_rcorn.jpg') no-repeat 100% 0;
 	display: inline-block;
 	float: left;
 	padding: 0 26px 0 0;
 	_width: 1%;
 }
 #menu li a {
-	background: url('../img/menu/arr_nav.gif') no-repeat 0 0;
+	background: url('@templates_base@/img/menu/arr_nav.gif') no-repeat 0 0;
 	color: #fff;
 	font-family: sans-serif;
 	font-size: 1.25em;
@@ -101,18 +101,18 @@
 	text-decoration: none;
 }
 #menu li .first {
-	background: url('../img/menu/nav_1lcorn.jpg') no-repeat 0 0;
+	background: url('@templates_base@/img/menu/nav_1lcorn.jpg') no-repeat 0 0;
 	display: block;
 	height: 39px;
 	padding: 0 0 0 26px;
 }
-#menu li.last { background: url('../img/menu/nav_last_rcorn.gif') no-repeat 100% 0; }
-#menu li.last.active { background: url('../img/menu/nav_last_rcorn_a.gif') no-repeat 100% 0; }
-#menu li.active { background: url('../img/menu/nav_1rcorn_a.jpg') no-repeat 100% 0; }
-#menu li.active .first { background: url('../img/menu/nav_1lcorn_a.jpg') no-repeat 0 0; }
-#menu li.beforeactive { background: url('../img/menu/nav_lcorn_a.jpg') no-repeat 100% 0; }
+#menu li.last { background: url('@templates_base@/img/menu/nav_last_rcorn.gif') no-repeat 100% 0; }
+#menu li.last.active { background: url('@templates_base@/img/menu/nav_last_rcorn_a.gif') no-repeat 100% 0; }
+#menu li.active { background: url('@templates_base@/img/menu/nav_1rcorn_a.jpg') no-repeat 100% 0; }
+#menu li.active .first { background: url('@templates_base@/img/menu/nav_1lcorn_a.jpg') no-repeat 0 0; }
+#menu li.beforeactive { background: url('@templates_base@/img/menu/nav_lcorn_a.jpg') no-repeat 100% 0; }
 #menu li.active a {
-	background: url('../img/menu/arr_nav_a.gif') no-repeat 0 0;
+	background: url('@templates_base@/img/menu/arr_nav_a.gif') no-repeat 0 0;
 	color: #000;
 	_background: none;
 }
@@ -148,21 +148,21 @@
 	width: 270px;
 }
 #content .text { padding: 0 40px 130px 40px; }
-#content .text.about { background: url('../img/sections/about_pic.jpg') no-repeat 50% 100%; }
-#content .text.services { background: url('../img/sections/services_pic.jpg') no-repeat 50% 100%; }
-#content .text.products { background: url('../img/sections/products_pic.jpg') no-repeat 50% 100%; }
-#content .text.contacts { background: url('../img/sections/contacts_pic.jpg') no-repeat 50% 100%; }
+#content .text.about { background: url('@templates_base@/img/sections/about_pic.jpg') no-repeat 50% 100%; }
+#content .text.services { background: url('@templates_base@/img/sections/services_pic.jpg') no-repeat 50% 100%; }
+#content .text.products { background: url('@templates_base@/img/sections/products_pic.jpg') no-repeat 50% 100%; }
+#content .text.contacts { background: url('@templates_base@/img/sections/contacts_pic.jpg') no-repeat 50% 100%; }
 
 
 /*** News ***/
 .block-news h3 {
-	background: #4F739F url('../img/bg_news_shade.gif') repeat-x 0 0;
+	background: #4F739F url('@templates_base@/img/bg_news_shade.gif') repeat-x 0 0;
 	padding: 13px 6px 0;
 }
 .block-news h3 img { margin-bottom: -3px; }
-.block-news dl { background: #DCE4F1 url('../img/bg_right_colmn.gif') repeat-y 0 0; }
+.block-news dl { background: #DCE4F1 url('@templates_base@/img/bg_right_colmn.gif') repeat-y 0 0; }
 .block-news dl dt {
-	background: url('../img/pix_news.gif') no-repeat 0 15px;
+	background: url('@templates_base@/img/pix_news.gif') no-repeat 0 15px;
 	color: #0066CC;
 	font-weight: bold;
 	margin: 0 0 0 6px;
@@ -174,15 +174,15 @@
 	margin: 0 0 0 6px;
 	padding: 0 10px 5px 34px;
 }
-.block-promo { background: #fff url('../img/bg_promo.jpg') repeat-x 0 27px; }
+.block-promo { background: #fff url('@templates_base@/img/bg_promo.jpg') repeat-x 0 27px; }
 .block-promo h3 {
-	background: #DDF47F url('../img/bg_promo_shade.gif') repeat-x 0 0;
+	background: #DDF47F url('@templates_base@/img/bg_promo_shade.gif') repeat-x 0 0;
 	padding: 7px 6px 0;
 }
 .block-promo h3 img { margin-bottom: -4px; }
-.block-promo dl { background: url('../img/bg_promo_fade.jpg') no-repeat 0 0; }
+.block-promo dl { background: url('@templates_base@/img/bg_promo_fade.jpg') no-repeat 0 0; }
 .block-promo dl dt {
-	background: url('../img/pix_promo.gif') no-repeat 0 15px;
+	background: url('@templates_base@/img/pix_promo.gif') no-repeat 0 15px;
 	color: #006600;
 	font-weight: bold;
 	margin: 0 0 0 6px;
@@ -208,9 +208,9 @@
 .contacts-block .contacts-form .note { color: #777; font-size: 0.917em; }
 .contacts-block .contacts-form .red { color: red; }
 
-.contacts-block .contacts-form .bg-contacts { background: url('../img/bg-contacts.png') repeat-y 0 0; margin: 0 0 30px 0; }
-.contacts-block .contacts-form .bg-contacts-up { background: url('../img/bg-contacts-up.png') no-repeat 0 0; }
-.contacts-block .contacts-form .bg-contacts-down { background: url('../img/bg-contacts-down.png') no-repeat 0 100%; padding: 15px 10px; }
+.contacts-block .contacts-form .bg-contacts { background: url('@templates_base@/img/bg-contacts.png') repeat-y 0 0; margin: 0 0 30px 0; }
+.contacts-block .contacts-form .bg-contacts-up { background: url('@templates_base@/img/bg-contacts-up.png') no-repeat 0 0; }
+.contacts-block .contacts-form .bg-contacts-down { background: url('@templates_base@/img/bg-contacts-down.png') no-repeat 0 100%; padding: 15px 10px; }
 .contacts-block .contacts-form .bg-contacts p { clear: both; float: left; width: 100%; }
 .contacts-block .contacts-form .bg-contacts label { float: left; width: 120px; padding: 0 5px 0 0; }
 .contacts-block .contacts-form .bg-contacts em { float: left; width: 215px; }
@@ -245,11 +245,11 @@
 /* Footer
 *******************************************************************************/
 #footer {
-	background: url('../img/bg_footer_left.jpg') repeat-x 0 0;
+	background: url('@templates_base@/img/bg_footer_left.jpg') repeat-x 0 0;
 	margin-top: 20px;
 	overflow: hidden;
 }
-#footer .footer-bg { background: url('../img/bg_footer.jpg') no-repeat 0 0; }
+#footer .footer-bg { background: url('@templates_base@/img/bg_footer.jpg') no-repeat 0 0; }
 #footer .footer-center {
 	font-size: 0.833em;
 	height: 54px;
Index: onlinestore/inc/lbox/lightbox.css
===================================================================
--- onlinestore/inc/lbox/lightbox.css	(revision 13400)
+++ onlinestore/inc/lbox/lightbox.css	(working copy)
@@ -44,13 +44,13 @@
 #prevLink, #nextLink{
 	width: 49%;
 	height: 100%;
-	background: transparent url(../../img/s.gif) no-repeat; /* Trick IE into showing hover */
+	background: transparent url(@templates_base@/img/s.gif) no-repeat; /* Trick IE into showing hover */
 	display: block;
 	}
 #prevLink { left: 0; float: left;}
 #nextLink { right: 0; float: right;}
-#prevLink:hover, #prevLink:visited:hover { background: url(../../img/lbox/prevlabel.gif) left 15% no-repeat; }
-#nextLink:hover, #nextLink:visited:hover { background: url(../../img/lbox/nextlabel.gif) right 15% no-repeat; }
+#prevLink:hover, #prevLink:visited:hover { background: url(@templates_base@/img/lbox/prevlabel.gif) left 15% no-repeat; }
+#nextLink:hover, #nextLink:visited:hover { background: url(@templates_base@/img/lbox/nextlabel.gif) right 15% no-repeat; }
 
 
 #imageDataContainer{
@@ -59,15 +59,15 @@
 	margin: 0 auto;
 	line-height: 1.4em;
 	overflow: auto;
-	width: 100%	
+	width: 100%
 	}
 
 #imageData{	padding:0 10px; color: #666; }
-#imageData #imageDetails{ width: 70%; float: left; text-align: left; }	
+#imageData #imageDetails{ width: 70%; float: left; text-align: left; }
 #imageData #caption{ font-weight: bold;	}
-#imageData #numberDisplay{ display: block; clear: left; padding-bottom: 1.0em;	}			
-#imageData #bottomNavClose{ width: 66px; float: right;  padding-bottom: 0.7em;	}	
-		
+#imageData #numberDisplay{ display: block; clear: left; padding-bottom: 1.0em;	}
+#imageData #bottomNavClose{ width: 66px; float: right;  padding-bottom: 0.7em;	}
+
 #overlay{
 	position: absolute;
 	top: 0;
Index: onlinestore/platform/blocks/common/html_head.tpl
===================================================================
--- onlinestore/platform/blocks/common/html_head.tpl	(revision 13400)
+++ onlinestore/platform/blocks/common/html_head.tpl	(working copy)
@@ -9,15 +9,14 @@
 	<meta name="keywords" content="<inp2:c_Meta name="Keywords"/>" />
 </inp2:m_if>
 <inp2:m_base_ref />
-<script type="text/javascript" src="inc/prototype.js"></script>
+<script type="text/javascript" src="<inp2:m_Compress files='inc/prototype.js|inc/ajax.js'/>"></script>
 <script type="text/javascript" src="inc/scriptaculous.js?load=effects"></script>
 <script type="text/javascript" src="inc/lightbox.js"></script>
-<script type="text/javascript" src="inc/ajax.js"></script>
 
 <script type="text/javascript">
 	var aRatingManager = new RatingManager('<inp2:m_Link template="index" events[#PREFIX#]="OnMakeVote" rating="#VOTE#" id="#ID#" no_amp="1" size="#SIZE#"/>');
 </script>
 
-<link href="inc/style.css" rel="stylesheet" type="text/css" />
-<link rel="stylesheet" href="inc/lightbox.css" type="text/css" media="screen" />
+<link href="<inp2:m_Compress files='inc/style.css'/>" rel="stylesheet" type="text/css" />
+<link rel="stylesheet" href="<inp2:m_Compress files='inc/lightbox.css'/>" type="text/css" media="screen" />
 <inp2:theme.current_StylesheetFile/>
\ No newline at end of file
Index: simple/elements/html_head.elm.tpl
===================================================================
--- simple/elements/html_head.elm.tpl	(revision 13400)
+++ simple/elements/html_head.elm.tpl	(working copy)
@@ -8,15 +8,21 @@
 <inp2:m_else/>
 	<meta name="Description" content="<inp2:m_GetConfig name='Category_MetaDesc'/>"/>
 </inp2:m_if>
-<meta name="author" content="<inp2:m_GetConfig name='Site_Name'/>"/> 
+<meta name="author" content="<inp2:m_GetConfig name='Site_Name'/>"/>
 <meta http-equiv="content-type" content="text/html; charset=<inp2:lang.current_Field name='Charset'/>" />
 
 <!-- CSS -->
-<link rel="stylesheet" type="text/css" href="<inp2:m_TemplatesBase />inc/screen.css" media="screen" />
-<link rel="stylesheet" type="text/css" href="<inp2:m_TemplatesBase />inc/print.css" media="print" />
-<link rel="stylesheet" type="text/css" href="<inp2:m_TemplatesBase />inc/override.css" media="all" />
+<link rel="stylesheet" type="text/css" href="<inp2:m_Compress files='
+	inc/reset.css|
+	inc/typography.css|
+	inc/layout.css|
+	inc/content.css|
+	inc/screen.css|
+'/>" media="screen" />
+<link rel="stylesheet" type="text/css" href="<inp2:m_Compress files='inc/print.css'/>" media="print" />
+<link rel="stylesheet" type="text/css" href="<inp2:m_Compress files='inc/override.css'/>" media="all" />
 <!--[if IE 6]>
-<link rel="stylesheet" type="text/css" href="<inp2:m_TemplatesBase module="In-Portal"/>inc/ie6.css" media="screen" />
+<link rel="stylesheet" type="text/css" href="<inp2:m_Compress files='inc/ie6.css'/>" media="screen" />
 <![endif]-->
 
 <!-- JS -->
@@ -27,4 +33,4 @@
 </inp2:m_ifnot> <!--## EXCLUDE JS WHEN IN ADMIN ##-->
 
 <script type="text/javascript" src="<inp2:m_TemplatesBase />inc/jquery/jcookie.js"></script>
-<script type="text/javascript" src="<inp2:m_TemplatesBase />inc/general.js"></script>
\ No newline at end of file
+<script type="text/javascript" src="<inp2:m_Compress files='inc/general.js'/>"></script>
\ No newline at end of file
Index: simple/inc/content.css
===================================================================
--- simple/inc/content.css	(revision 13400)
+++ simple/inc/content.css	(working copy)
@@ -1,6 +1,6 @@
 /* -- RSS Feed Icon -- */
 .link-rss a {
-	background:url('../img/icon-rss.png') no-repeat left top;
+	background:url('@templates_base@/img/icon-rss.png') no-repeat left top;
 	display:block;
 	height:19px;
 	text-indent:-999em;
@@ -49,28 +49,28 @@
 }
 
 #side-box .round-top-red {
-	background:url('../img/bg-side-box-top-red.png') no-repeat left top;
+	background:url('@templates_base@/img/bg-side-box-top-red.png') no-repeat left top;
 	height:16px;
 	margin:0 -17px;
 }
 
 #side-box .round-bottom,
 #side-box-plain .round-bottom {
-	background:url('../img/bg-side-box-bottom.png') no-repeat left bottom;
+	background:url('@templates_base@/img/bg-side-box-bottom.png') no-repeat left bottom;
 	height:16px;
 	margin:0 -17px;
 }
 
 #side-box .round-top,
 #side-box-plain .round-top {
-	background:url('../img/bg-side-box-top.png') no-repeat left top;
+	background:url('@templates_base@/img/bg-side-box-top.png') no-repeat left top;
 	height:16px;
 	margin:0 -17px;
 }
 
 /* -- !Side Box -- */
 #side-box h3 {
-	background:#960c03 url('../img/bg-side-box-top-red.png') no-repeat left top;
+	background:#960c03 url('@templates_base@/img/bg-side-box-top-red.png') no-repeat left top;
 	border:none;
 	color:#FFF;
 	font-size:1.16em;
@@ -80,7 +80,7 @@
 }
 
 #side-box label {
-background:url('../img/icon-email.png') no-repeat left center;
+background:url('@templates_base@/img/icon-email.png') no-repeat left center;
 	color:#9b9b9b;
 	font-size:12px;
 	display:block;
@@ -97,7 +97,7 @@
 }
 
 #side-box .submit input {
-	background:url('../img/bg-form-email-submit.png') no-repeat left top;
+	background:url('@templates_base@/img/bg-form-email-submit.png') no-repeat left top;
 	border:none;
 	color:#666;
 	cursor:pointer;
@@ -110,7 +110,7 @@
 }
 
 #side-box .submit input:hover {
-	background-image:url('../img/bg-form-email-submit-hover.png');
+	background-image:url('@templates_base@/img/bg-form-email-submit-hover.png');
 	color:#FFF;
 }
 
@@ -167,20 +167,20 @@
 }
 
 #content-main .round-top {
-	background:url('../img/bg-content-top.png') no-repeat left top;
+	background:url('@templates_base@/img/bg-content-top.png') no-repeat left top;
 	height:21px;
 	margin:0 -21px;
 }
 
 #content-main .round-bottom {
-	background:url('../img/bg-content-bottom.png') no-repeat left bottom;
+	background:url('@templates_base@/img/bg-content-bottom.png') no-repeat left bottom;
 	height:21px;
 	margin:0 -21px;
 }
 
 /* -- !Latest -- */
 #block-latest .feature {
-background:url('../img/bg-block-latest-featured.png') no-repeat 237px top;
+background:url('@templates_base@/img/bg-block-latest-featured.png') no-repeat 237px top;
 color:#666;
 margin:5px 0 0;
 padding:10px 0 0 194px;
Index: simple/inc/layout.css
===================================================================
--- simple/inc/layout.css	(revision 13400)
+++ simple/inc/layout.css	(working copy)
@@ -6,7 +6,7 @@
 body {
 	margin:0;
 	padding:28px 0 0;
-	background: #f8f8f8 url('../img/bg-body.png') repeat-x left top;
+	background: #f8f8f8 url('@templates_base@/img/bg-body.png') repeat-x left top;
 }
 
 #wrapper {
@@ -84,7 +84,7 @@
 }
 
 h1#branding a {
-background:url('../img/logo.png') no-repeat left top;
+background:url('@templates_base@/img/logo.png') no-repeat left top;
 display:block;
 height:105px;
 text-indent:-999em;
@@ -110,7 +110,7 @@
 }
 
 #nav-sec li {
-	background:url('../img/bg-nav-sec-li.png') no-repeat left center;
+	background:url('@templates_base@/img/bg-nav-sec-li.png') no-repeat left center;
 float:left;
 margin:0 0 0 15px;
 padding:0 0 0 16px;
@@ -155,7 +155,7 @@
 
 /* -- !Navigation -- */
 ul#nav {
-background:#282828 url('../img/bg-nav.png') repeat-x left top;
+background:#282828 url('@templates_base@/img/bg-nav.png') repeat-x left top;
 border-top:1px solid #FFF;
 font-size:12px;
 margin:0;
@@ -167,7 +167,7 @@
 }
 
 #nav li a {
-background:url('../img/bg-nav.png') no-repeat left -35px;
+background:url('@templates_base@/img/bg-nav.png') no-repeat left -35px;
 	color:#FFF;
 	display:block;
 	font-weight:700;
@@ -178,7 +178,7 @@
 }
 
 #nav li:hover a,#nav li.hover a,#nav li a.active {
-	background:url('../img/bg-nav.png') no-repeat left -70px;
+	background:url('@templates_base@/img/bg-nav.png') no-repeat left -70px;
 }
 
 #nav li a:hover {
@@ -187,16 +187,16 @@
 
 /* Rounded Corner */
 #nav li:first-child a,#nav li.first-child a {
-background:url('../img/bg-nav.png') no-repeat left -105px;
+background:url('@templates_base@/img/bg-nav.png') no-repeat left -105px;
 }
 
 #nav li:first-child:hover a,#nav li:first-child a.active,#nav li.first-child:hover a,#nav li.first-child-hover a,#nav li.first-child a.active {
-background:url('../img/bg-nav.png') no-repeat left -140px;
+background:url('@templates_base@/img/bg-nav.png') no-repeat left -140px;
 }
 
 /* Contact Us */
 #nav li.last-child a {
-background:url('../img/bg-nav.png') no-repeat left -315px;
+background:url('@templates_base@/img/bg-nav.png') no-repeat left -315px;
 }
 
 /* Red Border on Hover */
@@ -256,7 +256,7 @@
 
 /* -- !Search Form -- */
 #masthead form {
-	background:#282828 url('../img/bg-form-search.png') no-repeat right top;
+	background:#282828 url('@templates_base@/img/bg-form-search.png') no-repeat right top;
 	border-top:1px solid #FFF;
 	bottom:0;
 	position:absolute;
@@ -285,7 +285,7 @@
 }
 
 #masthead form .submit input {
-	background:url('../img/bg-form-search-submit.png') no-repeat left top;
+	background:url('@templates_base@/img/bg-form-search-submit.png') no-repeat left top;
 	border:none;
 	color:#FFF;
 	cursor:pointer;
@@ -323,7 +323,7 @@
 }
 
 #content-tools a {
-background:url('../img/ir-content-tools.png') no-repeat 0 50%;
+background:url('@templates_base@/img/ir-content-tools.png') no-repeat 0 50%;
 display:block;
 float:left;
 height:11px;
@@ -365,7 +365,7 @@
 }
 
 #site-info ul {
-	background:url('../img/bg-nav.png') repeat-x 0 -350px;
+	background:url('@templates_base@/img/bg-nav.png') repeat-x 0 -350px;
 }
 
 #site-info ul li {
@@ -374,7 +374,7 @@
 }
 
 #site-info ul li a {
-	background:url('../img/bg-nav.png') no-repeat left -35px;
+	background:url('@templates_base@/img/bg-nav.png') no-repeat left -35px;
 	color:#FFF;
 	display:block;
 	font-weight:700;
@@ -386,7 +386,7 @@
 
 #site-info ul li a:hover,
 #site-info ul li a.active {
-	background:url('../img/bg-nav.png') no-repeat left -70px;
+	background:url('@templates_base@/img/bg-nav.png') no-repeat left -70px;
 }
 
 #site-info ul li a:hover {
@@ -396,14 +396,14 @@
 /* Rounded Corner */
 #site-info ul li:first-child a,
 #site-info ul li.first-child a {
-	background:url('../img/bg-nav.png') no-repeat left -175px;
+	background:url('@templates_base@/img/bg-nav.png') no-repeat left -175px;
 }
 
 #site-info ul li:first-child a:hover,
 #site-info ul li:first-child a.active,
 #site-info ul li.first-child a:hover,
 #site-info ul li.first-child a.active {
-	background:url('../img/bg-nav.png') no-repeat left -210px;
+	background:url('@templates_base@/img/bg-nav.png') no-repeat left -210px;
 }
 
 /* Back to top */
@@ -412,12 +412,12 @@
 }
 
 #site-info ul li.last-child a {
-	background:url('../img/bg-nav.png') no-repeat right -245px;
+	background:url('@templates_base@/img/bg-nav.png') no-repeat right -245px;
 }
 
 #site-info ul li.last-child a:hover,
 #site-info ul li.last-child a.active {
-	background:url('../img/bg-nav.png') no-repeat right -280px;
+	background:url('@templates_base@/img/bg-nav.png') no-repeat right -280px;
 }
 
 /* Red Border on Hover */
@@ -447,13 +447,13 @@
 }
 
 #content-main.inner .round-top {
-background:url('../img/bg-content-inside-top.png') no-repeat left top;
+background:url('@templates_base@/img/bg-content-inside-top.png') no-repeat left top;
 height:21px;
 margin:0 -21px;
 }
 
 #content-main.inner .round-bottom {
-background:url('../img/bg-content-inside-bottom.png') no-repeat left bottom;
+background:url('@templates_base@/img/bg-content-inside-bottom.png') no-repeat left bottom;
 height:21px;
 margin:0 -21px;
 }
@@ -461,11 +461,11 @@
 /* !Sub Navigation
 --------------------- */
 #nav-sub {
-background:#46474b url('../img/bg-nav-sub-bottom.png') no-repeat left bottom;
+background:#46474b url('@templates_base@/img/bg-nav-sub-bottom.png') no-repeat left bottom;
 }
 
 #nav-sub ul {
-background:url('../img/bg-nav-sub-top.png') no-repeat left top;
+background:url('@templates_base@/img/bg-nav-sub-top.png') no-repeat left top;
 list-style:none;
 margin:0;
 padding:15px 0;
@@ -478,7 +478,7 @@
 }
 
 #nav-sub li a {
-background:url('../img/bg-nav-sub-li.png') no-repeat 12px .65em;
+background:url('@templates_base@/img/bg-nav-sub-li.png') no-repeat 12px .65em;
 border-bottom:1px solid #1c1d21;
 color:#FFF;
 display:block;
@@ -487,7 +487,7 @@
 }
 
 #nav-sub li.expanded a {
-background:#6a6b6d url('../img/bg-nav-sub-li-expanded.png') no-repeat 10px .65em;
+background:#6a6b6d url('@templates_base@/img/bg-nav-sub-li-expanded.png') no-repeat 10px .65em;
 text-decoration:none;
 }
 
Index: simple/inc/override.css
===================================================================
--- simple/inc/override.css	(revision 13400)
+++ simple/inc/override.css	(working copy)
@@ -1,4 +1,4 @@
-#block-latest .feature { height: auto !important; padding: 10px 0 0 0; background: url('../img/bg-block-latest-featured.png') repeat-x -2px top; }
+#block-latest .feature { height: auto !important; padding: 10px 0 0 0; background: url('@templates_base@/img/bg-block-latest-featured.png') repeat-x -2px top; }
 #block-latest .feature div { padding-bottom: 4px; }
 #block-latest .feature div div { padding-bottom: 0; }
 #block-latest .feature-1 { padding: 0; background: none; }
Index: simple/inc/print.css
===================================================================
--- simple/inc/print.css	(revision 13400)
+++ simple/inc/print.css	(working copy)
@@ -1,4 +1,4 @@
-			@import url(typography.css);
+@import url(typography.css);
 
 #nav, #nav-sec, #nav-sub, #content-tools, #nav-accessibility, #masthead form, #site-info ul {
     display: none;
Index: simple/inc/screen.css
===================================================================
--- simple/inc/screen.css	(revision 13400)
+++ simple/inc/screen.css	(working copy)
@@ -1,12 +1,3 @@
-@import 'reset.css';        /* Reset */
-			@import url(typography.css);
-					    /* Typography */
-			@import url(layout.css);
-					        /* Structure */
-			@import url(content.css);
-					        /* Content */
-
-
 /* !Hacks
 --------------------- */
 /* Add height to containers */
Index: simple/inc/typography.css
===================================================================
--- simple/inc/typography.css	(revision 13400)
+++ simple/inc/typography.css	(working copy)
@@ -96,7 +96,7 @@
 }
 
 #content li {
-background:url('../img/li.png') no-repeat 0 .31em;
+background:url('@templates_base@/img/li.png') no-repeat 0 .31em;
 margin:6px 0;
 padding:0 0 0 12px;
 }
