Index: themes/advanced/_install/english.lang
===================================================================
--- themes/advanced/_install/english.lang	(revision 0)
+++ themes/advanced/_install/english.lang	(revision 0)
@@ -0,0 +1,390 @@
+<LANGUAGES>
+	<LANGUAGE PackName="English" Encoding="base64"><DATEFORMAT>m/d/Y</DATEFORMAT><TIMEFORMAT>g:i A</TIMEFORMAT><INPUTDATEFORMAT>m/d/Y</INPUTDATEFORMAT><INPUTTIMEFORMAT>g:i:s A</INPUTTIMEFORMAT><DECIMAL>.</DECIMAL><THOUSANDS>,</THOUSANDS><CHARSET>utf-8</CHARSET><DOCS_URL>http://docs.in-portal.org/eng/index.php</DOCS_URL><UNITSYSTEM>2</UNITSYSTEM>
+		<PHRASES>
+			<PHRASE Label="lu_add" Module="Core" Type="0">QWRk</PHRASE>
+			<PHRASE Label="lu_added" Module="Core" Type="0">QWRkZWQ=</PHRASE>
+			<PHRASE Label="lu_AddedToday" Module="Core" Type="0">QWRkZWQgdG9kYXk=</PHRASE>
+			<PHRASE Label="lu_address" Module="Core" Type="0">QWRkcmVzcw==</PHRASE>
+			<PHRASE Label="lu_address_line" Module="Core" Type="0">QWRkcmVzcyBMaW5l</PHRASE>
+			<PHRASE Label="lu_AdvancedSearch" Module="Core" Type="0">QWR2YW5jZWQgU2VhcmNo</PHRASE>
+			<PHRASE Label="lu_AllRightsReserved" Module="Core" Type="0">QWxsIHJpZ2h0cyByZXNlcnZlZC4=</PHRASE>
+			<PHRASE Label="lu_AllWebsite" Module="Core" Type="0">RW50aXJlIFdlYnNpdGU=</PHRASE>
+			<PHRASE Label="lu_and" Module="Core" Type="0">QW5k</PHRASE>
+			<PHRASE Label="lu_AProblemInForm" Module="Core" Type="0">VGhlcmUgaXMgYSBwcm9ibGVtIHdpdGggdGhlIGZvcm0sIHBsZWFzZSBjaGVjayB0aGUgZXJyb3IgbWVzc2FnZXMgYmVsb3cu</PHRASE>
+			<PHRASE Label="lu_AProblemWithForm" Module="Core" Type="0">VGhlcmUgaXMgYSBwcm9ibGVtIHdpdGggdGhlIGZvcm0sIHBsZWFzZSBjaGVjayB0aGUgZXJyb3IgbWVzc2FnZXMgYmVsb3c=</PHRASE>
+			<PHRASE Label="lu_ascending" Module="Core" Type="0">QXNjZW5kaW5n</PHRASE>
+			<PHRASE Label="lu_birth_date" Module="Core" Type="0">QmlydGggRGF0ZQ==</PHRASE>
+			<PHRASE Label="lu_btn_AddReview" Module="Core" Type="0">QWRkIENvbW1lbnQ=</PHRASE>
+			<PHRASE Label="lu_btn_AddToFavorites" Module="Core" Type="0">QWRkIFRvIEZhdm9yaXRlcw==</PHRASE>
+			<PHRASE Label="lu_btn_AddToWishList" Module="Core" Type="0">QWRkIFRvIFdpc2ggTGlzdA==</PHRASE>
+			<PHRASE Label="lu_btn_advancedsearch" Module="Core" Type="0">QWR2YW5jZWQgc2VhcmNo</PHRASE>
+			<PHRASE Label="lu_btn_Cancel" Module="Core" Type="0">Q2FuY2Vs</PHRASE>
+			<PHRASE Label="lu_btn_Clear" Module="Core" Type="0">Q2xlYXI=</PHRASE>
+			<PHRASE Label="lu_btn_CloseWindow" Module="Core" Type="0">Q2xvc2UgV2luZG93</PHRASE>
+			<PHRASE Label="lu_btn_Contact" Module="Core" Type="0">Q29udGFjdA==</PHRASE>
+			<PHRASE Label="lu_btn_Create" Module="Core" Type="0">Q3JlYXRl</PHRASE>
+			<PHRASE Label="lu_btn_Delete" Module="Core" Type="0">RGVsZXRl</PHRASE>
+			<PHRASE Label="lu_btn_DeleteFile" Module="Core" Type="0">RGVsZXRlIEZpbGU=</PHRASE>
+			<PHRASE Label="lu_btn_DeleteImage" Module="Core" Type="0">RGVsZXRlIEltYWdl</PHRASE>
+			<PHRASE Label="lu_btn_Details" Module="Core" Type="0">RGV0YWlscw==</PHRASE>
+			<PHRASE Label="lu_btn_Edit" Module="Core" Type="0">RWRpdA==</PHRASE>
+			<PHRASE Label="lu_btn_FindIt" Module="Core" Type="0">RmluZCBpdA==</PHRASE>
+			<PHRASE Label="lu_btn_Modify" Module="Core" Type="0">TW9kaWZ5</PHRASE>
+			<PHRASE Label="lu_btn_MoreImages" Module="Core" Type="0">TW9yZSBJbWFnZXM=</PHRASE>
+			<PHRASE Label="lu_btn_NewLink" Module="Core" Type="0">TmV3IExpbms=</PHRASE>
+			<PHRASE Label="lu_btn_No" Module="Core" Type="0">Tm8=</PHRASE>
+			<PHRASE Label="lu_btn_Ok" Module="Core" Type="0">T0s=</PHRASE>
+			<PHRASE Label="lu_btn_Recommend" Module="Core" Type="0">UmVjb21tZW5k</PHRASE>
+			<PHRASE Label="lu_btn_register" Module="Core" Type="0">UmVnaXN0ZXI=</PHRASE>
+			<PHRASE Label="lu_btn_RemoveFromFavorites" Module="Core" Type="0">UmVtb3ZlIEZyb20gRmF2b3JpdGVz</PHRASE>
+			<PHRASE Label="lu_btn_Reset" Module="Core" Type="0">UmVzZXQ=</PHRASE>
+			<PHRASE Label="lu_btn_Select" Module="Core" Type="0">U2VsZWN0</PHRASE>
+			<PHRASE Label="lu_btn_SendPassword" Module="Core" Type="0">UmVjb3ZlciBQYXNzd29yZA==</PHRASE>
+			<PHRASE Label="lu_btn_Set" Module="Core" Type="0">U2V0</PHRASE>
+			<PHRASE Label="lu_btn_Sort" Module="Core" Type="0">U29ydA==</PHRASE>
+			<PHRASE Label="lu_btn_Subscribe" Module="Core" Type="0">U3Vic2NyaWJl</PHRASE>
+			<PHRASE Label="lu_btn_Unsubscribe" Module="Core" Type="0">VW5zdWJzY3JpYmU=</PHRASE>
+			<PHRASE Label="lu_btn_Update" Module="Core" Type="0">VXBkYXRl</PHRASE>
+			<PHRASE Label="lu_btn_ViewYourProfile" Module="Core" Type="0">VmlldyBZb3VyIFByb2ZpbGU=</PHRASE>
+			<PHRASE Label="lu_btn_Yes" Module="Core" Type="0">WWVz</PHRASE>
+			<PHRASE Label="lu_by" Module="Core" Type="0">Ynk=</PHRASE>
+			<PHRASE Label="lu_cancel" Module="Core" Type="0">Q2FuY2Vs</PHRASE>
+			<PHRASE Label="lu_captcha" Module="Core" Type="0">U2VjdXJpdHkgY29kZQ==</PHRASE>
+			<PHRASE Label="lu_captcha_error" Module="Core" Type="0">U2VjdXJpdHkgY29kZSBlbnRlcmVkIGluY29ycmVjdGx5</PHRASE>
+			<PHRASE Label="lu_captcha_prompt" Module="Core" Type="0">RW50ZXIgU2VjdXJpdHkgQ29kZQ==</PHRASE>
+			<PHRASE Label="lu_CategoriesUpdated" Module="Core" Type="0">TGFzdCB1cGRhdGVkIG9u</PHRASE>
+			<PHRASE Label="lu_city" Module="Core" Type="0">Q2l0eQ==</PHRASE>
+			<PHRASE Label="lu_ClickHere" Module="Core" Type="0">Y2xpY2sgaGVyZQ==</PHRASE>
+			<PHRASE Label="lu_code_expired" Module="Core" Type="0">UGFzc3dvcmQgcmVzZXQgaGFzIGNvZGUgZXhwaXJlZA==</PHRASE>
+			<PHRASE Label="lu_code_is_not_valid" Module="Core" Type="0">UGFzc3dvcmQgcmVzZXQgY29kZSBpcyBub3QgdmFsaWQ=</PHRASE>
+			<PHRASE Label="lu_col_AccountInformation" Module="Core" Type="0">QWNjb3VudCBJbmZvcm1hdGlvbg==</PHRASE>
+			<PHRASE Label="lu_col_CurrentValue" Module="Core" Type="0">Q3VycmVudCBWYWx1ZQ==</PHRASE>
+			<PHRASE Label="lu_col_Date" Module="Core" Type="0">RGF0ZQ==</PHRASE>
+			<PHRASE Label="lu_col_DisplayToPublic" Module="Core" Type="0">RGlzcGxheSB0byBQdWJsaWM=</PHRASE>
+			<PHRASE Label="lu_col_Email" Module="Core" Type="0">RW1haWw=</PHRASE>
+			<PHRASE Label="lu_col_LastUpdate" Module="Core" Type="0">TGFzdCBVcGRhdGU=</PHRASE>
+			<PHRASE Label="lu_col_loggedin" Module="Core" Type="0">T25saW5l</PHRASE>
+			<PHRASE Label="lu_col_login" Module="Core" Type="0">TG9naW4=</PHRASE>
+			<PHRASE Label="lu_col_MemberSince" Module="Core" Type="0">TWVtYmVyIHNpbmNl</PHRASE>
+			<PHRASE Label="lu_col_Message" Module="Core" Type="0">TWVzc2FnZQ==</PHRASE>
+			<PHRASE Label="lu_col_Name" Module="Core" Type="0">TmFtZQ==</PHRASE>
+			<PHRASE Label="lu_col_Price" Module="Core" Type="0">UHJpY2U=</PHRASE>
+			<PHRASE Label="lu_col_Views" Module="Core" Type="0">Vmlld3M=</PHRASE>
+			<PHRASE Label="lu_comm_EmailAddress" Module="Core" Type="0">RW1haWxBZGRyZXNz</PHRASE>
+			<PHRASE Label="lu_comm_Go" Module="Core" Type="0">R28=</PHRASE>
+			<PHRASE Label="lu_comm_NoPermissions" Module="Core" Type="0">Tm8gUGVybWlzc2lvbnM=</PHRASE>
+			<PHRASE Label="lu_comm_Page" Module="Core" Type="0">UGFnZQ==</PHRASE>
+			<PHRASE Label="lu_company" Module="Core" Type="0">Q29tcGFueQ==</PHRASE>
+			<PHRASE Label="lu_ContactUs" Module="Core" Type="0">Q29udGFjdCBVcw==</PHRASE>
+			<PHRASE Label="lu_contact_information" Module="Core" Type="0">Q29udGFjdCBJbmZvcm1hdGlvbg==</PHRASE>
+			<PHRASE Label="lu_country" Module="Core" Type="0">Q291bnRyeQ==</PHRASE>
+			<PHRASE Label="lu_create_password" Module="Core" Type="0">Q3JlYXRlIFBhc3N3b3Jk</PHRASE>
+			<PHRASE Label="lu_CreditCards" Module="Core" Type="0">Q3JlZGl0IENhcmRz</PHRASE>
+			<PHRASE Label="lu_CurrentRating" Module="Core" Type="0">Q3VycmVudCBSYXRpbmc=</PHRASE>
+			<PHRASE Label="lu_CurrentTheme" Module="Core" Type="0">WW91ciBUaGVtZQ==</PHRASE>
+			<PHRASE Label="lu_date" Module="Core" Type="0">RGF0ZQ==</PHRASE>
+			<PHRASE Label="lu_delete" Module="Core" Type="0">RGVsZXRl</PHRASE>
+			<PHRASE Label="lu_descending" Module="Core" Type="0">RGVzY2VuZGluZw==</PHRASE>
+			<PHRASE Label="lu_DescriptionAZ" Module="Core" Type="0">RGVzY3JpcHRpb24gQSB0byBa</PHRASE>
+			<PHRASE Label="lu_DescriptionZA" Module="Core" Type="0">RGVzY3JpcHRpb24gWiB0byBB</PHRASE>
+			<PHRASE Label="lu_description_MyFavorites" Module="Core" Type="0">WW91ciBGYXZvcml0ZSBJdGVtcw==</PHRASE>
+			<PHRASE Label="lu_description_MyPreferences" Module="Core" Type="0">RWRpdCB5b3VyIFByZWZlcmVuY2Vz</PHRASE>
+			<PHRASE Label="lu_description_MyProfile" Module="Core" Type="0">WW91ciBQcm9maWxlIEluZm9ybWF0aW9u</PHRASE>
+			<PHRASE Label="lu_description_PrivateMessages" Module="Core" Type="0">WW91ciBQcml2YXRlIE1lc3NhZ2Vz</PHRASE>
+			<PHRASE Label="lu_details" Module="Core" Type="0">RGV0YWlscw==</PHRASE>
+			<PHRASE Label="lu_edit" Module="Core" Type="0">TW9kaWZ5</PHRASE>
+			<PHRASE Label="LU_EMAIL" Module="Core" Type="0">RS1NYWls</PHRASE>
+			<PHRASE Label="lu_email_already_exist" Module="Core" Type="0">QSB1c2VyIHdpdGggc3VjaCBlLW1haWwgYWxyZWFkeSBleGlzdHMu</PHRASE>
+			<PHRASE Label="lu_email_send_error" Module="Core" Type="0">TWFpbCBzZW5kaW5nIGZhaWxlZA==</PHRASE>
+			<PHRASE Label="lu_EnterEmailToRecommend" Module="Core" Type="0">RnJpZW5kJ3MgZS1tYWlsIGFkZHJlc3M=</PHRASE>
+			<PHRASE Label="lu_EnterEmailToSubscribe" Module="Core" Type="0">WW91ciBlLW1haWwgYWRkcmVzcw==</PHRASE>
+			<PHRASE Label="lu_EnterForgotEmail" Module="Core" Type="0">RW50ZXIgeW91ciBFbWFpbCBBZGRyZXNzIGJlbG93IHRvIGhhdmUgeW91ciBhY2NvdW50IGluZm9ybWF0aW9uIHNlbnQgdG8gdGhlIGVtYWlsIGFkZHJlc3Mgb2YgeW91ciBhY2NvdW50Lg==</PHRASE>
+			<PHRASE Label="lu_EnterForgotUserEmail" Module="Core" Type="0">RW50ZXIgeW91ciBVc2VybmFtZSBvciBFbWFpbCBBZGRyZXNzIGJlbG93IHRvIGhhdmUgeW91ciBhY2NvdW50IGluZm9ybWF0aW9uIHNlbnQgdG8gdGhlIGVtYWlsIGFkZHJlc3Mgb2YgeW91ciBhY2NvdW50Lg==</PHRASE>
+			<PHRASE Label="lu_ErrorAlreadyReviewed" Module="Core" Type="0">WW91IGhhdmUgYWxyZWFkeSBjb21tZW50ZWQgdGhpcyBpdGVtIQ==</PHRASE>
+			<PHRASE Label="lu_error_404_description" Module="Core" Type="0">U29ycnksIHRoZSByZXF1ZXN0ZWQgVVJMIHdhcyBub3QgZm91bmQgb24gb3VyIHNlcnZlci4=</PHRASE>
+			<PHRASE Label="lu_error_404_title" Module="Core" Type="0">RXJyb3IgNDA0IC0gTm90IEZvdW5k</PHRASE>
+			<PHRASE Label="lu_error_ActivationCodeExpired" Module="Core" Type="0">QWN0aXZhdGlvbiBjb2RlIGhhcyBleHBpcmVk</PHRASE>
+			<PHRASE Label="lu_error_ActivationCodeNotValid" Module="Core" Type="0">QWN0aXZhdGlvbiBjb2RlIGlzIG5vdCB2YWxpZA==</PHRASE>
+			<PHRASE Label="lu_error_alreadyadded" Module="Core" Type="0">Q2F0ZWdvcnkgYWxyZWFkeSBhZGRlZCE=</PHRASE>
+			<PHRASE Label="lu_error_AlreadyCommented" Module="Core" Type="0">QWxyZWFkeSBjb21tZW50ZWQ=</PHRASE>
+			<PHRASE Label="lu_error_categorylimitreached" Module="Core" Type="0">Q2F0ZWdvcnkgbGltaXQgcmVhY2hlZCE=</PHRASE>
+			<PHRASE Label="lu_error_Required" Module="Core" Type="0">UmVxdWlyZWQ=</PHRASE>
+			<PHRASE Label="lu_error_UserNotFound" Module="Core" Type="0">VXNlciBOb3QgRm91bmQ=</PHRASE>
+			<PHRASE Label="lu_favorite" Module="Core" Type="0">RmF2b3JpdGU=</PHRASE>
+			<PHRASE Label="lu_ferror_reset_denied" Module="Core" Type="0">Tm90IHJlc2V0</PHRASE>
+			<PHRASE Label="lu_field_archived" Module="Core" Type="0">QXJjaGl2ZSBEYXRl</PHRASE>
+			<PHRASE Label="lu_field_author" Module="Core" Type="0">QXJ0aWNsZSBBdXRob3I=</PHRASE>
+			<PHRASE Label="lu_field_body" Module="Core" Type="0">QXJ0aWNsZSBCb2R5</PHRASE>
+			<PHRASE Label="lu_field_cacheddescendantcatsqty" Module="Core" Type="0">TnVtYmVyIG9mIERlc2NlbmRhbnRz</PHRASE>
+			<PHRASE Label="lu_field_cachednavbar" Module="Core" Type="0">Q2F0ZWdvcnkgUGF0aA==</PHRASE>
+			<PHRASE Label="lu_field_categoryid" Module="Core" Type="0">Q2F0ZWdvcnkgSWQ=</PHRASE>
+			<PHRASE Label="lu_field_city" Module="Core" Type="0">Q2l0eQ==</PHRASE>
+			<PHRASE Label="lu_field_country" Module="Core" Type="0">Q291bnRyeQ==</PHRASE>
+			<PHRASE Label="lu_field_dob" Module="Core" Type="0">RGF0ZSBvZiBCaXJ0aA==</PHRASE>
+			<PHRASE Label="lu_field_editorspick" Module="Core" Type="0">RWRpdG9yJ3MgcGljaw==</PHRASE>
+			<PHRASE Label="lu_field_email" Module="Core" Type="0">RS1tYWls</PHRASE>
+			<PHRASE Label="lu_field_endon" Module="Core" Type="0">RW5kcyBPbg==</PHRASE>
+			<PHRASE Label="lu_field_excerpt" Module="Core" Type="0">QXJ0aWNsZSBFeGNlcnB0</PHRASE>
+			<PHRASE Label="lu_field_firstname" Module="Core" Type="0">Rmlyc3QgTmFtZQ==</PHRASE>
+			<PHRASE Label="lu_field_lastname" Module="Core" Type="0">TGFzdCBOYW1l</PHRASE>
+			<PHRASE Label="lu_field_leadcatstory" Module="Core" Type="0">Q2F0ZWdvcnkgTGVhZCBTdG9yeT8=</PHRASE>
+			<PHRASE Label="lu_field_leadstory" Module="Core" Type="0">TGVhZCBTdG9yeT8=</PHRASE>
+			<PHRASE Label="lu_field_login" Module="Core" Type="0">TG9naW4gKFVzZXIgbmFtZSk=</PHRASE>
+			<PHRASE Label="lu_field_metadescription" Module="Core" Type="0">TWV0YSBEZXNjcmlwdGlvbg==</PHRASE>
+			<PHRASE Label="lu_field_metakeywords" Module="Core" Type="0">TWV0YSBLZXl3b3Jkcw==</PHRASE>
+			<PHRASE Label="lu_field_parentid" Module="Core" Type="0">UGFyZW50IElk</PHRASE>
+			<PHRASE Label="lu_field_parentpath" Module="Core" Type="0">UGFyZW50IENhdGVnb3J5IFBhdGg=</PHRASE>
+			<PHRASE Label="lu_field_password" Module="Core" Type="0">UGFzc3dvcmQ=</PHRASE>
+			<PHRASE Label="lu_field_phone" Module="Core" Type="0">VGVsZXBob25l</PHRASE>
+			<PHRASE Label="lu_field_portaluserid" Module="Core" Type="0">VXNlciBJRA==</PHRASE>
+			<PHRASE Label="lu_field_startdate" Module="Core" Type="0">U3RhcnQgRGF0ZQ==</PHRASE>
+			<PHRASE Label="lu_field_state" Module="Core" Type="0">U3RhdGU=</PHRASE>
+			<PHRASE Label="lu_field_street" Module="Core" Type="0">U3RyZWV0IEFkZHJlc3M=</PHRASE>
+			<PHRASE Label="lu_field_title" Module="Core" Type="0">QXJ0aWNsZSBUaXRsZQ==</PHRASE>
+			<PHRASE Label="lu_field_tz" Module="Core" Type="0">VGltZSBab25l</PHRASE>
+			<PHRASE Label="lu_field_views" Module="Core" Type="0">Vmlld3M=</PHRASE>
+			<PHRASE Label="lu_field_zip" Module="Core" Type="0">WmlwIChQb3N0YWwpIENvZGU=</PHRASE>
+			<PHRASE Label="lu_first_name" Module="Core" Type="0">Rmlyc3QgTmFtZQ==</PHRASE>
+			<PHRASE Label="lu_fld_AddressLine1" Module="Core" Type="0">QWRkcmVzcyBsaW5lIDE=</PHRASE>
+			<PHRASE Label="lu_fld_AddressLine2" Module="Core" Type="0">QWRkcmVzcyBsaW5lIDI=</PHRASE>
+			<PHRASE Label="lu_fld_BirthDate" Module="Core" Type="0">RGF0ZSBvZiBiaXJ0aA==</PHRASE>
+			<PHRASE Label="lu_fld_body" Module="Core" Type="0">Qm9keQ==</PHRASE>
+			<PHRASE Label="lu_fld_Captcha" Module="Core" Type="0">Q2FwdGNoYSBJbWFnZQ==</PHRASE>
+			<PHRASE Label="lu_fld_City" Module="Core" Type="0">Q2l0eQ==</PHRASE>
+			<PHRASE Label="lu_fld_Comment" Module="Core" Type="0">Q29tbWVudA==</PHRASE>
+			<PHRASE Label="lu_fld_Company" Module="Core" Type="0">Q29tcGFueQ==</PHRASE>
+			<PHRASE Label="lu_fld_Country" Module="Core" Type="0">Q291bnRyeQ==</PHRASE>
+			<PHRASE Label="lu_fld_Description" Module="Core" Type="0">RGVzY3JpcHRpb24=</PHRASE>
+			<PHRASE Label="lu_fld_Duration" Module="Core" Type="0">RHVyYXRpb24=</PHRASE>
+			<PHRASE Label="lu_fld_Email" Module="Core" Type="0">RS1NYWls</PHRASE>
+			<PHRASE Label="lu_fld_Fax" Module="Core" Type="0">RmF4</PHRASE>
+			<PHRASE Label="lu_fld_File1" Module="Core" Type="0">UHJpbWFyeSBGaWxl</PHRASE>
+			<PHRASE Label="lu_fld_File2" Module="Core" Type="0">Mm5kIEZpbGU=</PHRASE>
+			<PHRASE Label="lu_fld_File3" Module="Core" Type="0">M3JkIEZpbGU=</PHRASE>
+			<PHRASE Label="lu_fld_FileName" Module="Core" Type="0">RmlsZW5hbWU=</PHRASE>
+			<PHRASE Label="lu_fld_FirstName" Module="Core" Type="0">Rmlyc3QgbmFtZQ==</PHRASE>
+			<PHRASE Label="lu_fld_FullName" Module="Core" Type="0">RnVsbCBuYW1l</PHRASE>
+			<PHRASE Label="lu_fld_Image1" Module="Core" Type="0">Mm5kIEltYWdl</PHRASE>
+			<PHRASE Label="lu_fld_Image2" Module="Core" Type="0">M3JkIEltYWdl</PHRASE>
+			<PHRASE Label="lu_fld_LastName" Module="Core" Type="0">TGFzdCBuYW1l</PHRASE>
+			<PHRASE Label="lu_fld_Login" Module="Core" Type="0">VXNlcm5hbWU=</PHRASE>
+			<PHRASE Label="lu_fld_module" Module="Core" Type="0">TW9kdWxl</PHRASE>
+			<PHRASE Label="lu_fld_MoreCategories" Module="Core" Type="0">QWRkaXRpb25hbCBDYXRlZ29yaWVz</PHRASE>
+			<PHRASE Label="lu_fld_Name" Module="Core" Type="0">TmFtZQ==</PHRASE>
+			<PHRASE Label="lu_fld_Password" Module="Core" Type="0">UGFzc3dvcmQ=</PHRASE>
+			<PHRASE Label="lu_fld_Phone" Module="Core" Type="0">UGhvbmU=</PHRASE>
+			<PHRASE Label="lu_fld_phrase" Module="Core" Type="0">UGhyYXNl</PHRASE>
+			<PHRASE Label="lu_fld_Price" Module="Core" Type="0">UHJpY2U=</PHRASE>
+			<PHRASE Label="lu_fld_PrimaryCategory" Module="Core" Type="0">UHJpbWFyeSBDYXRlZ29yeQ==</PHRASE>
+			<PHRASE Label="lu_fld_PrimaryImage" Module="Core" Type="0">UHJpbWFyeSBJbWFnZQ==</PHRASE>
+			<PHRASE Label="lu_fld_primary_translation" Module="Core" Type="0">UHJpbWFyeSBUcmFuc2xhdGlvbg==</PHRASE>
+			<PHRASE Label="lu_fld_Rating" Module="Core" Type="0">UmF0aW5n</PHRASE>
+			<PHRASE Label="lu_fld_ReviewBy" Module="Core" Type="0">Q29tbWVudCBieQ==</PHRASE>
+			<PHRASE Label="lu_fld_ReviewText" Module="Core" Type="0">Q29tbWVudA==</PHRASE>
+			<PHRASE Label="lu_fld_SelectAddress" Module="Core" Type="0">UGxlYXNlIHNlbGVjdCB5b3VyIGFkZHJlc3M=</PHRASE>
+			<PHRASE Label="lu_fld_size" Module="Core" Type="0">U2l6ZQ==</PHRASE>
+			<PHRASE Label="lu_fld_State" Module="Core" Type="0">U3RhdGU=</PHRASE>
+			<PHRASE Label="lu_fld_street" Module="Core" Type="0">U3RyZWV0</PHRASE>
+			<PHRASE Label="lu_fld_SubmittingTo" Module="Core" Type="0">U3VibWl0dGluZyB0bw==</PHRASE>
+			<PHRASE Label="lu_fld_title" Module="Core" Type="0">VGl0bGU=</PHRASE>
+			<PHRASE Label="lu_fld_translation" Module="Core" Type="0">VHJhbnNsYXRpb24=</PHRASE>
+			<PHRASE Label="lu_fld_UserGroup" Module="Core" Type="0">TWVtYmVyc2hpcCBHcm91cA==</PHRASE>
+			<PHRASE Label="lu_fld_VerifyPassword" Module="Core" Type="0">VmVyaWZ5IFBhc3N3b3Jk</PHRASE>
+			<PHRASE Label="lu_fld_version" Module="Core" Type="0">VmVyc2lvbg==</PHRASE>
+			<PHRASE Label="lu_fld_Zip" Module="Core" Type="0">WmlwIGNvZGU=</PHRASE>
+			<PHRASE Label="lu_fld_ZipCode" Module="Core" Type="0">WmlwIGNvZGU=</PHRASE>
+			<PHRASE Label="lu_folder_Inbox" Module="Core" Type="0">SW5ib3g=</PHRASE>
+			<PHRASE Label="lu_ForgotPassword" Module="Core" Type="0">Rm9yZ290IHBhc3N3b3Jk</PHRASE>
+			<PHRASE Label="lu_guest" Module="Core" Type="0">R3Vlc3Q=</PHRASE>
+			<PHRASE Label="lu_Here" Module="Core" Type="0">SGVyZQ==</PHRASE>
+			<PHRASE Label="lu_hits" Module="Core" Type="0">SGl0cw==</PHRASE>
+			<PHRASE Label="lu_HitsHL" Module="Core" Type="0">SGl0cyBIbyB0byBMb3c=</PHRASE>
+			<PHRASE Label="lu_HitsLH" Module="Core" Type="0">SGl0cyBMb3cgdG8gSGk=</PHRASE>
+			<PHRASE Label="lu_home" Module="Core" Type="0">SG9tZQ==</PHRASE>
+			<PHRASE Label="lu_hot" Module="Core" Type="0">SG90</PHRASE>
+			<PHRASE Label="lu_in" Module="Core" Type="0">aW4=</PHRASE>
+			<PHRASE Label="lu_inbox" Module="Core" Type="0">SW5ib3g=</PHRASE>
+			<PHRASE Label="lu_IndicatesRequired" Module="Core" Type="0">SW5kaWNhdGVzIFJlcXVpcmVkIGZpZWxkcw==</PHRASE>
+			<PHRASE Label="lu_InvalidEmail" Module="Core" Type="0">SW52YWxpZCBlLW1haWwgYWRkcmVzcw==</PHRASE>
+			<PHRASE Label="lu_ItemsPerPage" Module="Core" Type="0">SXRlbXMgUGVyIFBhZ2U=</PHRASE>
+			<PHRASE Label="lu_joined" Module="Core" Type="0">Sm9pbmVk</PHRASE>
+			<PHRASE Label="lu_last_name" Module="Core" Type="0">TGFzdCBOYW1l</PHRASE>
+			<PHRASE Label="lu_location" Module="Core" Type="0">TG9jYXRpb24=</PHRASE>
+			<PHRASE Label="lu_login" Module="Core" Type="0">TG9naW4=</PHRASE>
+			<PHRASE Label="lu_logout" Module="Core" Type="0">TG9nIE91dA==</PHRASE>
+			<PHRASE Label="lu_LogoutText" Module="Core" Type="0">TG9nb3V0IG9mIHlvdXIgYWNjb3VudA==</PHRASE>
+			<PHRASE Label="lu_mailinglist" Module="Core" Type="0">TWFpbGluZyBMaXN0</PHRASE>
+			<PHRASE Label="lu_more" Module="Core" Type="0">TW9yZQ==</PHRASE>
+			<PHRASE Label="lu_MyFavorites" Module="Core" Type="0">TXkgRmF2b3JpdGVz</PHRASE>
+			<PHRASE Label="lu_MyPreferences" Module="Core" Type="0">TXkgUHJlZmVyZW5jZXM=</PHRASE>
+			<PHRASE Label="lu_MyProfile" Module="Core" Type="0">TXkgUHJvZmlsZQ==</PHRASE>
+			<PHRASE Label="lu_Name" Module="Core" Type="0">TmFtZQ==</PHRASE>
+			<PHRASE Label="lu_new" Module="Core" Type="0">TmV3</PHRASE>
+			<PHRASE Label="lu_NewCustomers" Module="Core" Type="0">TmV3IEN1c3RvbWVycw==</PHRASE>
+			<PHRASE Label="lu_newpm_confirm_text" Module="Core" Type="0">WW91ciBwcml2YXRlIG1lc3NhZ2UgaGFzIGJlZW4gc2VudC4=</PHRASE>
+			<PHRASE Label="lu_no" Module="Core" Type="0">Tm8=</PHRASE>
+			<PHRASE Label="lu_NoAccess" Module="Core" Type="0">U29ycnksIHlvdSBoYXZlIG5vIGFjY2VzcyB0byB0aGlzIHBhZ2Uh</PHRASE>
+			<PHRASE Label="lu_NoCategories" Module="Core" Type="0">Tm8gQ2F0ZWdvcmllcw==</PHRASE>
+			<PHRASE Label="lu_NoFavorites" Module="Core" Type="0">Tm8gZmF2b3JpdGUgaXRlbXMgc2F2ZWQ=</PHRASE>
+			<PHRASE Label="lu_NoMembers" Module="Core" Type="0">Tm8gbWVtYmVycyBmb3VuZA==</PHRASE>
+			<PHRASE Label="lu_none" Module="Core" Type="0">Tm9uZQ==</PHRASE>
+			<PHRASE Label="lu_NoReviews" Module="Core" Type="0">QmUgdGhlIGZpcnN0IHRvIGNvbW1lbnQ=</PHRASE>
+			<PHRASE Label="lu_NotLoggedIn" Module="Core" Type="0">bm90IGxvZ2dlZCBpbg==</PHRASE>
+			<PHRASE Label="lu_no_permissions" Module="Core" Type="0">Tm8gUGVybWlzc2lvbnM=</PHRASE>
+			<PHRASE Label="lu_OldToRecent" Module="Core" Type="0">T2xkIHRvIFJlY2VudA==</PHRASE>
+			<PHRASE Label="LU_Opt_SelectCategory" Module="Core" Type="0">U2VsZWN0IENhdGVnb3J5</PHRASE>
+			<PHRASE Label="lu_or" Module="Core" Type="0">b3I=</PHRASE>
+			<PHRASE Label="lu_password" Module="Core" Type="0">UGFzc3dvcmQ=</PHRASE>
+			<PHRASE Label="lu_passwords_do_not_match" Module="Core" Type="0">UGFzc3dvcmRzIGRvIG5vdCBtYXRjaA==</PHRASE>
+			<PHRASE Label="lu_passwords_too_short" Module="Core" Type="0">UGFzc3dvcmQgaXMgdG9vIHNob3J0LCBwbGVhc2UgZW50ZXIgYXQgbGVhc3QgJXMgY2hhcmFjdGVycw==</PHRASE>
+			<PHRASE Label="lu_PendingItem" Module="Core" Type="0">cGVuZGluZyBpdGVt</PHRASE>			
+			<PHRASE Label="lu_phone" Module="Core" Type="0">UGhvbmU=</PHRASE>
+			<PHRASE Label="lu_pick" Module="Core" Type="0">UGljaw==</PHRASE>
+			<PHRASE Label="lu_PleaseRegister" Module="Core" Type="0">UGxlYXNlIFJlZ2lzdGVy</PHRASE>
+			<PHRASE Label="lu_Pop" Module="Core" Type="0">UG9wdWxhcg==</PHRASE>
+			<PHRASE Label="lu_PoweredBy" Module="Core" Type="0">UG93ZXJlZCBieQ==</PHRASE>
+			<PHRASE Label="lu_PrivacyPolicy" Module="Core" Type="0">UHJpdmFjeSBQb2xpY3k=</PHRASE>
+			<PHRASE Label="lu_profile" Module="Core" Type="0">UHJvZmlsZQ==</PHRASE>
+			<PHRASE Label="lu_prompt_avatar" Module="Core" Type="0">QXZhdGFyIEltYWdl</PHRASE>
+			<PHRASE Label="lu_QuickSearch" Module="Core" Type="0">UXVpY2sgU2VhcmNo</PHRASE>
+			<PHRASE Label="lu_rating" Module="Core" Type="0">UmF0aW5n</PHRASE>
+			<PHRASE Label="lu_RatingHL" Module="Core" Type="0">UmF0aW5nIEhpIHRvIExvdw==</PHRASE>
+			<PHRASE Label="lu_RatingLH" Module="Core" Type="0">UmF0aW5nIExvdyB0byBIaQ==</PHRASE>
+			<PHRASE Label="lu_rating_1" Module="Core" Type="0">RmFpcg==</PHRASE>
+			<PHRASE Label="lu_rating_2" Module="Core" Type="0">QXZlcmFnZQ==</PHRASE>
+			<PHRASE Label="lu_rating_3" Module="Core" Type="0">R29vZA==</PHRASE>
+			<PHRASE Label="lu_rating_4" Module="Core" Type="0">VmVyeSBHb29k</PHRASE>
+			<PHRASE Label="lu_rating_5" Module="Core" Type="0">RXhjZWxsZW50</PHRASE>
+			<PHRASE Label="lu_RecentToOld" Module="Core" Type="0">UmVjZW50IHRvIE9sZA==</PHRASE>
+			<PHRASE Label="lu_RecommendToFriend" Module="Core" Type="0">UmVjb21tZW5kIHRvIGEgRnJpZW5k</PHRASE>
+			<PHRASE Label="lu_recommend_confirm" Module="Core" Type="0">UmVjb21tZW5kYXRpb24gQ29uZmlybWF0aW9u</PHRASE>
+			<PHRASE Label="lu_recommend_confirm_text" Module="Core" Type="0">VGhhbmtzIGZvciByZWNvbW1lbmRpbmcgb3VyIHNpdGUgdG8geW91ciBmcmllbmQuIFRoZSBlbWFpbCBoYXMgYmVlbiBzZW50IG91dC4=</PHRASE>
+			<PHRASE Label="lu_recommend_title" Module="Core" Type="0">UmVjb21tZW5kIHRvIGEgZnJpZW5k</PHRASE>			
+			<PHRASE Label="lu_register" Module="Core" Type="0">UmVnaXN0ZXI=</PHRASE>
+			<PHRASE Label="lu_RegisterConfirm" Module="Core" Type="0">UmVnaXN0cmF0aW9uIENvbmZpcm1hdGlvbg==</PHRASE>
+			<PHRASE Label="lu_RegistrationCompleted" Module="Core" Type="0">VGhhbmsgWW91LiBSZWdpc3RyYXRpb24gY29tcGxldGVkLg==</PHRASE>
+			<PHRASE Label="lu_RegistrationEmailed" Module="Core" Type="0">WW91ciBsb2dpbiBpbmZvcm1hdGlvbiBoYXMgYmVlbiBlbWFpbGVkIHRvIHlvdS4gUGxlYXNlIGNoZWNrIHlvdXIgZW1haWwu</PHRASE>
+			<PHRASE Label="lu_Relevance" Module="Core" Type="0">UmVsZXZhbmNl</PHRASE>
+			<PHRASE Label="lu_remember_login" Module="Core" Type="0">UmVtZW1iZXIgTG9naW4=</PHRASE>
+			<PHRASE Label="lu_repeat_password" Module="Core" Type="0">UmVwZWF0IFBhc3N3b3Jk</PHRASE>
+			<PHRASE Label="lu_reset" Module="Core" Type="0">UmVzZXQ=</PHRASE>
+			<PHRASE Label="lu_ReturnToHome" Module="Core" Type="0">UmV0dXJuIHRvIGhvbWVwYWdl</PHRASE>
+			<PHRASE Label="lu_Reviews" Module="Core" Type="0">Q29tbWVudHM=</PHRASE>
+			<PHRASE Label="lu_rootcategory_name" Module="Core" Type="0">SG9tZQ==</PHRASE>
+			<PHRASE Label="lu_search" Module="Core" Type="0">U2VhcmNo</PHRASE>
+			<PHRASE Label="lu_section_AdditionalImages" Module="Core" Type="0">QWRkaXRpb25hbCBJbWFnZXM=</PHRASE>
+			<PHRASE Label="lu_section_Images" Module="Core" Type="0">SW1hZ2Vz</PHRASE>
+			<PHRASE Label="lu_section_MyAccount" Module="Core" Type="0">TXlBY2NvdW50</PHRASE>
+			<PHRASE Label="lu_section_MyItems" Module="Core" Type="0">TXkgSXRlbXM=</PHRASE>
+			<PHRASE Label="lu_section_Reviews" Module="Core" Type="0">Q29tbWVudHM=</PHRASE>
+			<PHRASE Label="lu_select_username" Module="Core" Type="0">U2VsZWN0IFVzZXJuYW1l</PHRASE>
+			<PHRASE Label="lu_send" Module="Core" Type="0">U2VuZA==</PHRASE>
+			<PHRASE Label="lu_sent" Module="Core" Type="0">U2VudA==</PHRASE>
+			<PHRASE Label="lu_SiteMap" Module="Core" Type="0">U2l0ZW1hcA==</PHRASE>
+			<PHRASE Label="lu_state" Module="Core" Type="0">U3RhdGU=</PHRASE>
+			<PHRASE Label="lu_Statistics" Module="Core" Type="0">U3RhdGlzdGljcw==</PHRASE>
+			<PHRASE Label="lu_subcats" Module="Core" Type="0">U3ViY2F0ZWdvcmllcw==</PHRASE>
+			<PHRASE Label="lu_subscribe_confirm" Module="Core" Type="0">U3Vic2NyaXB0aW9uIENvbmZpcm1hdGlvbg==</PHRASE>
+			<PHRASE Label="lu_subscribe_confirm_prompt" Module="Core" Type="0">QXJlIHlvdSBzdXJlIHlvdSB3YW50IHRvIHN1YnNjcmliZSB0byBvdXIgbWFpbGluZyBsaXN0PyAoWW91IGNhbiB1bnN1YnNjcmliZSBhbnkgdGltZSBieSBlbnRlcmluZyB5b3VyIGVtYWlsIG9uIHRoZSBmcm9udCBwYWdlKS4=</PHRASE>
+			<PHRASE Label="lu_subscribe_title" Module="Core" Type="0">U3Vic2NyaWJlZA==</PHRASE>
+			<PHRASE Label="lu_subsection_Categories" Module="Core" Type="0">U3VibWl0dGluZyB0byBDYXRlZ29yaWVz</PHRASE>
+			<PHRASE Label="lu_SuggestCategory" Module="Core" Type="0">U3VnZ2VzdCBDYXRlZ29yeQ==</PHRASE>
+			<PHRASE Label="lu_tab_Privacy" Module="Core" Type="0">UHJpdmFjeQ==</PHRASE>
+			<PHRASE Label="lu_TermAndCondition" Module="Core" Type="0">VGVybXMgYW5kIENvbmRpdGlvbnMgb2YgVXNl</PHRASE>
+			<PHRASE Label="lu_TextUnsubscribe" Module="Core" Type="0">IFdlIGFyZSBzb3JyeSB5b3UgaGF2ZSB1bnN1YnNjcmliZWQgZnJvbSBvdXIgbWFpbGluZyBsaXN0</PHRASE>
+			<PHRASE Label="lu_text_DisabledAccountWarning" Module="Core" Type="0">WW91ciB1c2VyIGFjY291bnQgaXMgY3VycmVudGx5IHBlbmRpbmcgb3IgZGlzYWJsZWQuIElmIHlvdSBoYXZlIHJlZ2lzdHJlZCByZWNlbnRseSwgcGxlYXNlIHdhaXQgdW50aWwgeW91ciBhY2NvdW50IHdpbGwgYmUgYXBwcm92ZWQsIG90aGVyd2lzZSBwbGVhc2Ugd3JpdGU=</PHRASE>
+			<PHRASE Label="lu_text_ForgotPassHasBeenReset" Module="Core" Type="0">WW91ciBwYXNzd29yZCBoYXMgYmVlbiByZXNldC4gVGhlIG5ldyBwYXNzd29yZCBoYXMgYmVlbiBzZW50IHRvIHlvdXIgZS1tYWlsIGFkZHJlc3MuIFlvdSBtYXkgbm93IGxvZ2luIHdpdGggdGhlIG5ldyBwYXNzd29yZC4=</PHRASE>
+			<PHRASE Label="lu_text_ForgotPassResetEmailSent" Module="Core" Type="0">WW91IGhhdmUgY2hvc2VuIHRvIHJlc2V0IHlvdXIgcGFzc3dvcmQuPEJSLz48QlIvPg0KQW4gYXV0b21hdGljIGVtYWlsIGhhcyBiZWVuIHNlbnQgdG8geW91ciBlbWFpbCBhZGRyZXNzIG9uIGZpbGUuIFBsZWFzZSBmb2xsb3cgdGhlIGxpbmsgaW4gdGhlIGVtYWlsIGluIG9yZGVyIHRvIHJlY2VpdmUgYSBuZXcgcGFzc3dvcmQu</PHRASE>
+			<PHRASE Label="lu_text_KeywordsTooShort" Module="Core" Type="0">VGhlIGtleXdvcmQgaXMgdG9vIHNob3J0</PHRASE>
+			<PHRASE Label="lu_text_NoComments" Module="Core" Type="0">Tm8gY29tbWVudHMsIGFkZCBmaXJzdA==</PHRASE>
+			<PHRASE Label="lu_text_NoPermission" Module="Core" Type="0">Tm8gcGVybWlzc2lvbnMgdG8gcGVyZm9ybSB0aGlzIG9wZXJhdGlvbg==</PHRASE>
+			<PHRASE Label="lu_text_nosuggestcategorypermission" Module="Core" Type="0">Tm8gcGVybWlzc2lvbnMgdG8gc3VnZ2VzdCBuZXcgY2F0ZWdvcmllcyBpbnRvIGN1cnJlbnQgY2F0ZWdvcnku</PHRASE>
+			<PHRASE Label="lu_text_NothingFound" Module="Core" Type="0">Tm90aGluZyBGb3VuZA==</PHRASE>
+			<PHRASE Label="lu_text_pagenotfound" Module="Core" Type="0">NDA0LiBQYWdlIG5vdCBmb3VuZCBvbiB0aGUgc2VydmVyLg==</PHRASE>
+			<PHRASE Label="lu_text_PasswordRequestConfirm" Module="Core" Type="0">UGxlYXNlIGNvbmZpcm0gdGhhdCB5b3Ugd2FudCB0byByZXNldCB5b3VyIHBhc3N3b3JkLg==</PHRASE>
+			<PHRASE Label="lu_text_Redirect" Module="Core" Type="0">Q2xpY2sgaGVyZSBpZiB5b3VyIGJyb3dzZXIgZG9lcyBub3QgYXV0b21hdGljYWxseSByZWRpcmVjdCB5b3Uu</PHRASE>			
+			<PHRASE Label="lu_text_RegistrationActivationPending" Module="Core" Type="0">VGhhbmsgeW91IGZvciByZWdpc3RlcmluZyBvbiBvdXIgd2Vic2l0ZS4gWW91IGNhbiBhY3RpdmF0ZSB5b3VyIHJlZ2lzdHJhdGlvbiB1c2luZyBsaW5rIHNlbnQgdG8geW91IGJ5IGVtYWlsLg==</PHRASE>
+			<PHRASE Label="lu_text_RegistrationPending" Module="Core" Type="0">VGhhbmsgeW91IGZvciByZWdpc3RlcmluZyBvbiBvdXIgd2Vic2l0ZS4gWW91ciByZWdpc3RyYXRpb24gaXMgcGVuZGluZyBhZG1pbmlzdHJhdGl2ZSBhcHByb3ZhbC4gWW91IHdpbGwgZ2V0IGEgc2VwYXJhdGUgZW1haWwgb25jZSBpdCdzIGFjdGl2YXRlZC4=</PHRASE>
+			<PHRASE Label="lu_text_SuggestCategoryConfirm" Module="Core" Type="0">VGhhbmsgeW91IGZvciBzdWdnZXN0aW5nIHlvdXIgY2F0ZWdvcnku</PHRASE>
+			<PHRASE Label="lu_text_SuggestCategoryPendingConfirm" Module="Core" Type="0">U3VnZ2VzdGVkIGNhdGVnb3J5IGlzIHBlbmRpbmcgZm9yIEFkbWluaXN0cmF0aXZlIGFwcHJvdmFsIA==</PHRASE>
+			<PHRASE Label="lu_text_ThankYou" Module="Core" Type="0">VGhhbmsgeW91IGZvciBzdWJtaXR0aW5nIHlvdXIgcmVxdWVzdC4=</PHRASE>			
+			<PHRASE Label="lu_ThankForSubscribing" Module="Core" Type="0">VGhhbmsgeW91IGZvciBzdWJzY3JpYmluZyB0byBvdXIgbWFpbGluZyBsaXN0</PHRASE>
+			<PHRASE Label="lu_ThanksForVoting" Module="Core" Type="0">VGhhbmtzIGZvciBWb3Rpbmch</PHRASE>
+			<PHRASE Label="lu_ThisCategory" Module="Core" Type="0">Q3VycmVudCBDYXRlZ29yeQ==</PHRASE>
+			<PHRASE Label="lu_title_ActionBox" Module="Core" Type="0">QWN0aW9uIEJveA==</PHRASE>
+			<PHRASE Label="lu_title_AddAddress" Module="Core" Type="0">QWRkaW5nIEFkZHJlc3M=</PHRASE>
+			<PHRASE Label="lu_title_Advertisements" Module="Core" Type="0">QWR2ZXJ0aXNlbWVudHM=</PHRASE>
+			<PHRASE Label="lu_title_BackToTop" Module="Core" Type="0">QmFjayB0byB0b3A=</PHRASE>
+			<PHRASE Label="lu_title_Categories" Module="Core" Type="0">Q2F0ZWdvcmllcw==</PHRASE>
+			<PHRASE Label="lu_title_CategorySearchResults" Module="Core" Type="0">Q2F0ZWdvcnkgU2VhcmNoIFJlc3VsdHM=</PHRASE>
+			<PHRASE Label="lu_title_DisabledAccountWarning" Module="Core" Type="0">UGVuZGluZyBvciBkaXNhYmxlZCB1c2VyIGFjY291bnQgd2FybmluZw==</PHRASE>
+			<PHRASE Label="lu_title_EditAddress" Module="Core" Type="0">RWRpdCBBZGRyZXNz</PHRASE>
+			<PHRASE Label="lu_title_enhancementconfirmation" Module="Core" Type="0">WW91ciBGYXZvcml0ZSBJdGVtcw==</PHRASE>
+			<PHRASE Label="lu_title_Favorites" Module="Core" Type="0">WW91ciBGYXZvcml0ZXM=</PHRASE>
+			<PHRASE Label="lu_title_ForgotPassword" Module="Core" Type="0">Rm9yZ290IFBhc3N3b3Jk</PHRASE>
+			<PHRASE Label="lu_title_forgotpasswordconfirm" Module="Core" Type="0">Rm9yZ290IFBhc3N3b3JkIENvbmZpcm1hdGlvbg==</PHRASE>
+			<PHRASE Label="lu_title_ForgotPasswordNotification" Module="Core" Type="0">Rm9yZ290IFBhc3N3b3JkIE5vdGlmaWNhdGlvbg==</PHRASE>
+			<PHRASE Label="lu_title_LoginBox" Module="Core" Type="0">TG9naW4gQm94</PHRASE>
+			<PHRASE Label="lu_title_mailinglist" Module="Core" Type="0">TWFpbGluZyBMaXN0</PHRASE>
+			<PHRASE Label="lu_title_Members" Module="Core" Type="0">TWVtYmVycw==</PHRASE>
+			<PHRASE Label="lu_title_MissingPhraseAdding" Module="Core" Type="0">TWlzc2luZyBQaHJhc2UgQWRkaW5n</PHRASE>
+			<PHRASE Label="lu_title_MyAccount" Module="Core" Type="0">TXkgQWNjb3VudA==</PHRASE>
+			<PHRASE Label="lu_title_MyAddresses" Module="Core" Type="0">TXkgQWRkcmVzc2Vz</PHRASE>
+			<PHRASE Label="lu_title_MyFavorites" Module="Core" Type="0">TXkgRmF2b3JpdGVz</PHRASE>
+			<PHRASE Label="lu_title_MyItems" Module="Core" Type="0">TXkgSXRlbXM=</PHRASE>
+			<PHRASE Label="lu_title_MyPreferences" Module="Core" Type="0">TXkgUHJlZmVyZW5jZXM=</PHRASE>
+			<PHRASE Label="lu_title_MyProfile" Module="Core" Type="0">TXkgUHJvZmlsZQ==</PHRASE>
+			<PHRASE Label="lu_title_NoPermission" Module="Core" Type="0">Tm8gUGVybWlzc2lvbg==</PHRASE>
+			<PHRASE Label="lu_title_pagenotfound" Module="Core" Type="0">UGFnZSBOb3QgRm91bmQ=</PHRASE>
+			<PHRASE Label="lu_title_PasswordRequestConfirm" Module="Core" Type="0">UGFzc3dvcmQgUmVxdWVzdCBDb25maXJtYXRpb24=</PHRASE>
+			<PHRASE Label="lu_title_PrivacyPolicy" Module="Core" Type="0">UHJpdmFjeSBQb2xpY3k=</PHRASE>
+			<PHRASE Label="lu_title_RecommendConfirm" Module="Core" Type="0">UmVjb21tZW5kIENvbmZpcm1hdGlvbg==</PHRASE>
+			<PHRASE Label="lu_title_RecommendSite" Module="Core" Type="0">UmVjb21tZW5kIHRvIGEgRnJpZW5k</PHRASE>
+			<PHRASE Label="lu_title_Redirect" Module="Core" Type="0">UmVkaXJlY3RpbmcgLi4u</PHRASE>
+			<PHRASE Label="lu_title_RegistrationConfirmation" Module="Core" Type="0">VXNlciBSZWdpc3RyYXRpb24gQ29uZmlybWF0aW9u</PHRASE>
+			<PHRASE Label="lu_title_RegistrationPendingConfirmation" Module="Core" Type="0">VXNlciBSZWdpc3RyYXRpb24gUGVuZGluZw==</PHRASE>
+			<PHRASE Label="lu_title_RelatedCategories" Module="Core" Type="0">UmVsYXRlZCBDYXRlZ29yaWVz</PHRASE>
+			<PHRASE Label="lu_title_RelatedItems" Module="Core" Type="0">UmVsYXRlZCBJdGVtcw==</PHRASE>
+			<PHRASE Label="lu_title_RelatedSearches" Module="Core" Type="0">UmVsYXRlZCBTZWFyY2hlcw==</PHRASE>
+			<PHRASE Label="lu_title_Reviews" Module="Core" Type="0">Q29tbWVudHM=</PHRASE>
+			<PHRASE Label="lu_title_SearchBox" Module="Core" Type="0">U2VhcmNoIEJveA==</PHRASE>
+			<PHRASE Label="lu_title_SearchResults" Module="Core" Type="0">U2VhcmNoIFJlc3VsdHM=</PHRASE>
+			<PHRASE Label="lu_title_Sitemap" Module="Core" Type="0">U2l0ZSBtYXA=</PHRASE>
+			<PHRASE Label="lu_title_SubscribeConfirm" Module="Core" Type="0">U3Vic2NyaXB0aW9uIENvbmZpcm1hdGlvbg==</PHRASE>
+			<PHRASE Label="lu_title_SubscribeOk" Module="Core" Type="0">U3Vic2NyaXB0aW9uIENvbmZpcm1lZA==</PHRASE>
+			<PHRASE Label="lu_title_SuggestCategory" Module="Core" Type="0">U3VnZ2VzdCBDYXRlZ29yeQ==</PHRASE>
+			<PHRASE Label="lu_title_SuggestCategoryConfirm" Module="Core" Type="0">Q2F0ZWdvcnkgQWRkZWQ=</PHRASE>
+			<PHRASE Label="lu_title_SuggestCategoryPendingConfirm" Module="Core" Type="0">Q2F0ZWdvcnkgUGVuZGluZw==</PHRASE>
+			<PHRASE Label="lu_title_TermsAndConditions" Module="Core" Type="0">VGVybXMgYW5kIENvbmRpdGlvbnM=</PHRASE>
+			<PHRASE Label="lu_title_ThankYou" Module="Core" Type="0">VGhhbmsgeW91IQ==</PHRASE>
+			<PHRASE Label="lu_title_UnSubscribeConfirm" Module="Core" Type="0">VW5zdWJzY3JpYmUgQ29uZmlybWF0aW9u</PHRASE>
+			<PHRASE Label="lu_title_UnSubscribeOk" Module="Core" Type="0">VW5zdWJzY3JpcHRpb24gQ29uZmlybWVk</PHRASE>
+			<PHRASE Label="lu_title_UserProfile" Module="Core" Type="0">VXNlciBQcm9maWxl</PHRASE>
+			<PHRASE Label="lu_title_UserRegistration" Module="Core" Type="0">VXNlciBSZWdpc3RyYXRpb24=</PHRASE>
+			<PHRASE Label="lu_title_WelcomeTitle" Module="Core" Type="0">V2VsY29tZSB0byBJbi1Qb3J0YWwh</PHRASE>
+			<PHRASE Label="lu_TotalCategories" Module="Core" Type="0">VG90YWwgQ2F0ZWdvcmllcw==</PHRASE>
+			<PHRASE Label="lu_unsubscribe_confirm" Module="Core" Type="0">VW5zdWJzY3JpcHRpb24gQ29uZmlybWF0aW9u</PHRASE>
+			<PHRASE Label="lu_unsubscribe_confirm_prompt" Module="Core" Type="0">QXJlIHlvdSBzdXJlIHlvdSB3YW50IHRvIHVuc3Vic2NyaWJlIGZyb20gb3VyIG1haWxpbmcgbGlzdD8gKFlvdSBjYW4gYWx3YXlzIHN1YnNjcmliZSBhZ2FpbiBieSBlbnRlcmluZyB5b3VyIGVtYWlsIGF0IHRoZSBob21lIHBhZ2Up</PHRASE>
+			<PHRASE Label="lu_unsubscribe_title" Module="Core" Type="0">VW5zdWJzY3JpYmU=</PHRASE>
+			<PHRASE Label="lu_username" Module="Core" Type="0">VXNlcm5hbWU=</PHRASE>
+			<PHRASE Label="lu_user_already_exist" Module="Core" Type="0">QSB1c2VyIHdpdGggc3VjaCB1c2VybmFtZSBhbHJlYWR5IGV4aXN0cy4=</PHRASE>
+			<PHRASE Label="lu_user_and_email_already_exist" Module="Core" Type="0">QSB1c2VyIHdpdGggc3VjaCB1c2VybmFtZS9lLW1haWwgYWxyZWFkeSBleGlzdHMu</PHRASE>
+			<PHRASE Label="lu_user_pending_aproval_text" Module="Core" Type="0">VGhhbmsgeW91IGZvciByZWdpc3RlcmluZy4gWW91ciByZWdpc3RyYXRpb24gaXMgcGVuZGluZyBhZG1pbmlzdHJhdGl2ZSBhcHByb3ZhbC4=</PHRASE>
+			<PHRASE Label="lu_VerifyPassword" Module="Core" Type="0">VmVyaWZ5IHBhc3N3b3Jk</PHRASE>
+			<PHRASE Label="lu_visit_DirectReferer" Module="Core" Type="0">RGlyZWN0IGFjY2VzcyBvciBib29rbWFyaw==</PHRASE>
+			<PHRASE Label="lu_VoteCount" Module="Core" Type="0">TnVtYmVyIG9mIFZvdGVz</PHRASE>
+			<PHRASE Label="lu_votes" Module="Core" Type="0">Vm90ZXM=</PHRASE>
+			<PHRASE Label="lu_VotesHL" Module="Core" Type="0">Vm90ZXMgSGkgdG8gTG93</PHRASE>
+			<PHRASE Label="lu_VotesLH" Module="Core" Type="0">Vm90ZXMgTG93IHRvIEhp</PHRASE>
+			<PHRASE Label="lu_VoteTitle" Module="Core" Type="0">Vm90ZSE=</PHRASE>
+			<PHRASE Label="lu_Warning" Module="Core" Type="0">V2FybmluZw==</PHRASE>
+			<PHRASE Label="lu_WeAcceptCards" Module="Core" Type="0">V2UgYWNjZXB0IGNyZWRpdCBjYXJkcw==</PHRASE>
+			<PHRASE Label="lu_wrote" Module="Core" Type="0">d3JvdGU=</PHRASE>
+			<PHRASE Label="lu_yes" Module="Core" Type="0">WWVz</PHRASE>
+			<PHRASE Label="lu_YourAccount" Module="Core" Type="0">WW91ciBBY2NvdW50</PHRASE>
+			<PHRASE Label="lu_YourLanguage" Module="Core" Type="0">TGFuZ3VhZ2U=</PHRASE>
+			<PHRASE Label="lu_YourWishList" Module="Core" Type="0">WW91ciBXaXNoIExpc3Q=</PHRASE>
+			<PHRASE Label="lu_ZipCode" Module="Core" Type="0">WklQIENvZGU=</PHRASE>			
+		</PHRASES>
+	</LANGUAGE>
+</LANGUAGES>
\ No newline at end of file
Index: themes/advanced/_install/install_data.sql
===================================================================
--- themes/advanced/_install/install_data.sql	(revision 0)
+++ themes/advanced/_install/install_data.sql	(revision 0)
@@ -0,0 +1 @@
+UPDATE Category SET l1_Name = 'Home' WHERE l1_Name = 'Home';
\ No newline at end of file
Index: themes/advanced/_install/theme.xml
===================================================================
--- themes/advanced/_install/theme.xml	(revision 0)
+++ themes/advanced/_install/theme.xml	(revision 0)
@@ -0,0 +1,5 @@
+<theme>
+	<default_design>platform/designs/general</default_design>
+	<form_design>platform/designs/form</form_design>
+	<form_thankyou>platform/thankyou</form_thankyou>
+</theme>
\ No newline at end of file
Index: themes/advanced/in-commerce/inc/styles.css
===================================================================
--- themes/advanced/in-commerce/inc/styles.css	(revision 0)
+++ themes/advanced/in-commerce/inc/styles.css	(revision 0)
@@ -0,0 +1,125 @@
+.shopping-cart-cell-item-padding
+	{
+	padding:5px 8px;
+	vertical-align:middle;
+	}
+
+.shopping-cart-icpn-padding-right
+	{
+	padding-right:10px;
+	width:16px;
+	vertical-align:top;
+	}
+
+.cart-subtotal
+	{
+	background:#f4f4f4;
+	padding:5px 10px;
+	}
+
+.cart-item td {
+	color: #000000;
+	padding:10px;
+	border-bottom: 1px solid #989898;
+}
+
+.cart-item-small td {
+	color: #000000;
+	padding: 2px 10px 2px 10px;
+	border-bottom: 1px solid #989898;
+}	
+	
+.cart-subtotal-text
+	{
+	font-weight:bold;
+	font-size:12px;
+	}
+
+.shopping-cart-button-padding
+	{
+	padding:10px;
+	}
+
+.order-prewiew-padding-cell TD
+	{
+	padding:3px 13px;
+	}
+
+.order-padding-left TD
+	{
+	padding:6px 6px 0px 7px;
+	}
+
+.subtotal
+	{
+	font-size:13px;
+	font-weight:bold;
+	color:#0073B0
+	}
+
+.grand-total-blue TD
+	{
+	font-size:15px;
+	font-weight:bold;
+	color:#0073B0
+	}
+
+.credit-card-table td {
+	padding: 2px;
+}
+
+/* --- Category Sidebox Styles --- */
+.top-category-padding {
+	padding: 5px 2px 0px 0px;
+	vertical-align: top;
+}
+
+a.top-category {
+	font-size: 12px;
+	color: #13547C;
+}
+
+a.top-category:hover {
+	color: #000000;
+}
+
+.sub-category-padding {
+	padding: 5px 2px 0px 10px;
+	vertical-align: top;
+}
+
+a.sub-category {
+	color: #13547C;
+}
+
+a.sub-category:hover {
+	color: #000000;
+}
+
+/* --- Product Pricing Styles --- */
+.product-price {
+	color: #CC0000;
+	font-weight: bold;
+}
+
+.product-price-large {
+	color: #CC0000;
+	font-size: 13px;
+	font-weight: bold;
+}
+
+.product-price-msrp {
+	text-decoration: line-through;
+}
+
+/* --- Order Preview & Checkout Process Styles --- */
+.order-grand-total td, .order-sub-total td {
+	color: #CC0000;
+	font-size: 13px;
+	font-weight: bold;
+}
+
+.order-totals td {
+	padding: 5px;
+	vertical-align: top;
+}
\ No newline at end of file
Index: themes/advanced/in-commerce/_install/install_data.sql
===================================================================
--- themes/advanced/in-commerce/_install/install_data.sql	(revision 0)
+++ themes/advanced/in-commerce/_install/install_data.sql	(revision 0)
@@ -0,0 +1 @@
+UPDATE Category SET l1_Name = 'Products (TD)' WHERE l1_Name = 'Products';
\ No newline at end of file
Index: themes/advanced/in-commerce/_install/english.lang
===================================================================
--- themes/advanced/in-commerce/_install/english.lang	(revision 0)
+++ themes/advanced/in-commerce/_install/english.lang	(revision 0)
@@ -0,0 +1,520 @@
+<LANGUAGES>
+	<LANGUAGE PackName="English" Encoding="base64"><DATEFORMAT>m/d/Y</DATEFORMAT><TIMEFORMAT>g:i A</TIMEFORMAT><INPUTDATEFORMAT>m/d/Y</INPUTDATEFORMAT><INPUTTIMEFORMAT>g:i:s A</INPUTTIMEFORMAT><DECIMAL>.</DECIMAL><THOUSANDS>,</THOUSANDS><CHARSET>utf-8</CHARSET><DOCS_URL>http://docs.in-portal.org/eng/index.php</DOCS_URL><UNITSYSTEM>2</UNITSYSTEM>
+		<PHRASES>
+			<PHRASE Label="la_col_Qty" Module="In-Commerce" Type="0">UXR5</PHRASE>
+			<PHRASE Label="la_col_QtyBackordered" Module="In-Commerce" Type="0">QmFja29yZGVyZWQ=</PHRASE>
+			<PHRASE Label="la_comm_ProductsByManuf" Module="In-Commerce" Type="0">UHJvZHVjdHMgYnkgbWFudWZhY3R1cmVy</PHRASE>
+			<PHRASE Label="la_ItemBackordered" Module="In-Commerce" Type="0">YmFja29yZGVyZWQ=</PHRASE>
+			<PHRASE Label="la_ship_all_together" Module="In-Commerce" Type="0">U2hpcCBhbGwgaXRlbXMgdG9nZXRoZXI=</PHRASE>
+			<PHRASE Label="la_ship_backorders_upon_avail" Module="In-Commerce" Type="0">U2hpcCBiYWNrb3JkZXJzIHVwb24gYXZhaWxhYmxl</PHRASE>
+			<PHRASE Label="la_ship_backorder_separately" Module="In-Commerce" Type="0">U2hpcCBiYWNrb3JkZXJlZCBpdGVtcyBzZXBhcmF0ZWx5</PHRASE>
+			<PHRASE Label="la_tooltip_New_Coupon" Module="In-Commerce" Type="0">TmV3IENvdXBvbg==</PHRASE>
+			<PHRASE Label="la_tooltip_New_Discount" Module="In-Commerce" Type="0">TmV3IERpc2NvdW50</PHRASE>
+			<PHRASE Label="lu_AdditionalInfo" Module="In-Commerce" Type="0">QWRkaXRpb25hbCBJbmZv</PHRASE>
+			<PHRASE Label="lu_addressmodificationblocked" Module="In-Commerce" Type="0">QWRkcmVzcyBpcyBsb2NrZWQgZm9yIG1vZGlmaWNhdGlvbnM=</PHRASE>
+			<PHRASE Label="lu_AddressUsedAs" Module="In-Commerce" Type="0">QWRkcmVzcyBVc2VkIEFz</PHRASE>
+			<PHRASE Label="lu_AdjustShippingManually" Module="In-Commerce" Type="0">U3BsaXQgeW91ciBvcmRlciBhbmQgY2hhbmdlIHNoaXBwaW5nIG9wdGlvbnM=</PHRASE>
+			<PHRASE Label="lu_Affiliate" Module="In-Commerce" Type="0">QWZmaWxpYXRl</PHRASE>
+			<PHRASE Label="lu_affiliateispendingordisabled" Module="In-Commerce" Type="0">WW91ciBBZmZsaWF0ZSBhY2NvdW50IGlzIHBlbmRpbmcgb3IgZGlzYWJsZWQ=</PHRASE>
+			<PHRASE Label="lu_AffiliateMaterials" Module="In-Commerce" Type="0">QWZmaWxpYXRlIE1hdGVyaWFscw==</PHRASE>
+			<PHRASE Label="lu_AffiliateMaterialsText" Module="In-Commerce" Type="0">QWR2ZXJ0aXNpbmcgbWF0ZXJpYWxzIC0gbGlua3MsIGNvZGUgc2FtcGxlcywgYmFubmVycyBldGMu</PHRASE>
+			<PHRASE Label="lu_AffiliatePayments" Module="In-Commerce" Type="0">QWZmaWxpYXRlIFBheW1lbnRz</PHRASE>
+			<PHRASE Label="lu_AffiliatePaymentsText" Module="In-Commerce" Type="0">TG9nIG9mIGNvbW1pc3Npb24gcGF5bWVudHM=</PHRASE>
+			<PHRASE Label="lu_affiliatepaymenttypechangedmessage" Module="In-Commerce" Type="0">VGhhbmtzIHlvdS4gWW91ciBwYXltZW50IHR5cGUgaGFzIGJlZW4gY2hhbmdlZC4=</PHRASE>
+			<PHRASE Label="lu_AffiliateStatisticsText" Module="In-Commerce" Type="0">VmlzaXRzIGFuZCBvcmRlcnMgc3RhdGlzdGljcw==</PHRASE>
+			<PHRASE Label="lu_all_available_backordered" Module="In-Commerce" Type="0">QWxsIGF2YWlsYWJsZS9iYWNrb3JkZXJlZCBpdGVtcw==</PHRASE>
+			<PHRASE Label="lu_BecomeAnAffiliateDescription" Module="In-Commerce" Type="0">SW5zdHJ1Y3Rpb25zIGFuZCBSZWd1bGF0aW9ucw==</PHRASE>
+			<PHRASE Label="lu_billing_Address" Module="In-Commerce" Type="0">QWRkcmVzcw==</PHRASE>
+			<PHRASE Label="lu_billing_CardExpiration" Module="In-Commerce" Type="0">Q2FyZCBFeHBpcmF0aW9u</PHRASE>
+			<PHRASE Label="lu_billing_CardType" Module="In-Commerce" Type="0">Q2FyZCBUeXBl</PHRASE>
+			<PHRASE Label="lu_billing_Company" Module="In-Commerce" Type="0">Q29tcGFueQ==</PHRASE>
+			<PHRASE Label="lu_billing_CreditCardNumber" Module="In-Commerce" Type="0">Q3JlZGl0IENhcmQgTnVtYmVy</PHRASE>
+			<PHRASE Label="lu_billing_CVV2" Module="In-Commerce" Type="0">Q1ZWMg==</PHRASE>
+			<PHRASE Label="lu_billing_Email" Module="In-Commerce" Type="0">RS1tYWls</PHRASE>
+			<PHRASE Label="lu_billing_NameOnCard" Module="In-Commerce" Type="0">TmFtZSBvbiB0aGUgQ2FyZA==</PHRASE>
+			<PHRASE Label="lu_btn_BuyNow" Module="In-Commerce" Type="0">QnV5IE5vdw==</PHRASE>
+			<PHRASE Label="lu_btn_DownloadNow" Module="In-Commerce" Type="0">RG93bmxvYWQgTm93</PHRASE>
+			<PHRASE Label="lu_btn_ManageAddresses" Module="In-Commerce" Type="0">TWFuYWdlIEFkZHJlc3Nlcw==</PHRASE>
+			<PHRASE Label="lu_btn_NewAddress" Module="In-Commerce" Type="0">TmV3IEFkZHJlc3M=</PHRASE>
+			<PHRASE Label="lu_btn_ProceedToPreview" Module="In-Commerce" Type="0">UHJvY2VlZCB0byBwcmV2aWV3</PHRASE>
+			<PHRASE Label="lu_btn_RateProduct" Module="In-Commerce" Type="0">UmF0ZSBQcm9kdWN0</PHRASE>
+			<PHRASE Label="lu_btn_RateThisProduct" Module="In-Commerce" Type="0">UmF0ZSB0aGlzIHByb2R1Y3Q=</PHRASE>
+			<PHRASE Label="lu_btn_RemoveFromWishList" Module="In-Commerce" Type="0">UmVtb3ZlIEZyb20gV2lzaCBMaXN0</PHRASE>
+			<PHRASE Label="lu_btn_ReviewThisProduct" Module="In-Commerce" Type="0">Q29tbWVudCB0aGlzIFByb2R1Y3Q=</PHRASE>
+			<PHRASE Label="lu_btn_UpdateAddress" Module="In-Commerce" Type="0">VXBkYXRlIEFkZHJlc3M=</PHRASE>
+			<PHRASE Label="lu_CancelRecurring_confirm" Module="In-Commerce" Type="0">UmVjdXJyaW5nIE9yZGVyIENhbmNlbCBDb25maXJtYXRpb24=</PHRASE>
+			<PHRASE Label="lu_cancelrecurring_confirmed" Module="In-Commerce" Type="0">UmVvY2N1cnJpbmcgYmlsbGluZyBpcyBjYW5jZWxlZC4=</PHRASE>
+			<PHRASE Label="lu_CancelRecurring_confirm_prompt" Module="In-Commerce" Type="0">QXJlIHlvdSBzdXJlIHlvdSB3YW50IHRvIGNhbmNlbCB0aGlzIHJlY3VycmluZyBvcmRlcj8=</PHRASE>
+			<PHRASE Label="lu_CancelRecurring_ok" Module="In-Commerce" Type="0">WW91ciByZWN1cnJpbmcgb3JkZXIgaGFzIGJlZW4gc3VjY2Vzc2Z1bGx5IGNhbmNlbGxlZA==</PHRASE>
+			<PHRASE Label="lu_CancelRecurring_title" Module="In-Commerce" Type="0">Q2FuY2VsIFJlY3VycmluZyBPcmRlcg==</PHRASE>
+			<PHRASE Label="lu_cart_BackorderFlag" Module="In-Commerce" Type="0">KGJhY2tvcmRlcmVkKQ==</PHRASE>
+			<PHRASE Label="lu_cart_Checkout" Module="In-Commerce" Type="0">Q2hlY2tvdXQ=</PHRASE>
+			<PHRASE Label="lu_Cart_FreeShippingAvailable" Module="In-Commerce" Type="0">ZnJlZSBzaGlwcGluZw==</PHRASE>
+			<PHRASE Label="lu_cart_OrderTotal" Module="In-Commerce" Type="0">T3JkZXIgVG90YWw=</PHRASE>
+			<PHRASE Label="lu_cart_TotalItems" Module="In-Commerce" Type="0">VG90YWwgSXRlbXM=</PHRASE>
+			<PHRASE Label="lu_cart_ViewCart" Module="In-Commerce" Type="0">VmlldyBDYXJ0</PHRASE>
+			<PHRASE Label="lu_cc_expired" Module="In-Commerce" Type="0">Q3JlZGl0IGNhcmQgaXMgZXhwaXJlZA==</PHRASE>
+			<PHRASE Label="lu_cc_validation_error" Module="In-Commerce" Type="0">Q3JlZGl0IGNhcmQgbnVtYmVyIGlzIGludmFsaWQ=</PHRASE>
+			<PHRASE Label="lu_changeaffiliatepaymenttypedescription" Module="In-Commerce" Type="0">UGxlYXNlIGNvbXBsZXRlIHRoZSBmb3JtIGJlbG93IHRvIGNoYW5nZSB5b3VyIGFmZmlsaWF0ZSBwYXltZW50IHR5cGUuIFRoZSBjaGFuZ2Ugd2lsbCB0YWtlIGVmZmVjdCBzdGFydGluZyBmcm9tIHRoZSBuZXh0IHNjaGVkdWxlZCBhZmZpbGlhdGUgcGF5bWVudC4=</PHRASE>
+			<PHRASE Label="lu_ChangePaymentType" Module="In-Commerce" Type="0">Q2hhbmdlIFBheW1lbnQgVHlwZQ==</PHRASE>
+			<PHRASE Label="lu_ChangePaymentTypeText" Module="In-Commerce" Type="0">UGF5bWVudCBvcHRpb25zIGZvciBhZmZpbGlhdGUgY29tbWlzc2lvbnM=</PHRASE>
+			<PHRASE Label="lu_col_ordercommissionearned" Module="In-Commerce" Type="0">Q29tbWlzc2lvbiBlYXJuZWQ=</PHRASE>
+			<PHRASE Label="lu_col_ordercount" Module="In-Commerce" Type="0">T3JkZXJz</PHRASE>
+			<PHRASE Label="lu_col_ordernumber" Module="In-Commerce" Type="0">T3JkZXIgIw==</PHRASE>
+			<PHRASE Label="lu_col_ordertotalamount" Module="In-Commerce" Type="0">VG90YWwgc2FsZXM=</PHRASE>
+			<PHRASE Label="lu_col_referer" Module="In-Commerce" Type="0">UmVmZXJyZXI=</PHRASE>
+			<PHRASE Label="lu_commAddressListText" Module="In-Commerce" Type="0">TWFuYWdlIHlvdXIgc2hpcHBpbmcgYW5kIGJpbGxpbmcgYWRkcmVzc2Vz</PHRASE>
+			<PHRASE Label="lu_comm_AccessDuration" Module="In-Commerce" Type="0">QWNjZXNzIER1cmF0aW9u</PHRASE>
+			<PHRASE Label="lu_comm_Actions" Module="In-Commerce" Type="0">QWN0aW9ucw==</PHRASE>
+			<PHRASE Label="lu_comm_Added" Module="In-Commerce" Type="0">QWRkZWQ=</PHRASE>
+			<PHRASE Label="lu_comm_AddedOn" Module="In-Commerce" Type="0">QWRkZWQgT24=</PHRASE>
+			<PHRASE Label="lu_comm_Address" Module="In-Commerce" Type="0">QWRkcmVzcw==</PHRASE>
+			<PHRASE Label="lu_comm_AddressLine" Module="In-Commerce" Type="0">QWRkcmVzcyBMaW5l</PHRASE>
+			<PHRASE Label="lu_comm_AddressList" Module="In-Commerce" Type="0">QWRkcmVzc2Vz</PHRASE>
+			<PHRASE Label="lu_comm_addtofav" Module="In-Commerce" Type="0">QWRkIFRvIEZhdm9yaXRlcw==</PHRASE>
+			<PHRASE Label="lu_comm_AddToFavourites" Module="In-Commerce" Type="0">QWRkIFRvIFdpc2ggTGlzdA==</PHRASE>
+			<PHRASE Label="lu_comm_AdvancedSearch" Module="In-Commerce" Type="0">QWR2YW5jZWQgU2VhcmNo</PHRASE>
+			<PHRASE Label="lu_comm_Affiliate" Module="In-Commerce" Type="0">QWZmaWxpYXRl</PHRASE>
+			<PHRASE Label="lu_comm_AffiliateAgreement" Module="In-Commerce" Type="0">YWZmaWxpYXRlIGFncmVlbWVudA==</PHRASE>
+			<PHRASE Label="lu_comm_AffiliateIsPendingOrDisabled" Module="In-Commerce" Type="0">WW91ciBhZmZpbGlhdGUgcmVnaXN0cmF0aW9uIGlzIHBlbmRpbmcgb3IgZGlzYWJsZWQuIElmIHlvdSBoYXZlIHJlZ2lzdGVyZWQgcmVjZW50bHksIHBsZWFzZSB3YWl0IHVudGlsIHRoZSBzaXRlIGFkbWluaXN0cmF0b3JzIGFwcHJvdmUgeW91ciBhcHBsaWNhdGlvbi4gWW91IHdpbGwgYmUgbm90aWZpZWQgdmlhIGUtbWFpbC4=</PHRASE>
+			<PHRASE Label="lu_comm_AffiliateMaterials" Module="In-Commerce" Type="0">SW5zdHJ1Y3Rpb25zL0FkdmVydGlzaW5nIE1hdGVyaWFscw==</PHRASE>
+			<PHRASE Label="lu_comm_AffiliateMaterialsText" Module="In-Commerce" Type="0">QWR2ZXJ0aXNpbmcgbWF0ZXJpYWxzIC0gbGlua3MsIGNvZGUgc2FtcGxlcywgYmFubmVycyBldGMu</PHRASE>
+			<PHRASE Label="lu_comm_AffiliatePayments" Module="In-Commerce" Type="0">UGF5bWVudHM=</PHRASE>
+			<PHRASE Label="lu_comm_AffiliatePaymentsText" Module="In-Commerce" Type="0">RGlzcGxheXMgcGF5bWVudHMgc3RhdGlzdGljcw==</PHRASE>
+			<PHRASE Label="lu_comm_AffiliatePaymentType" Module="In-Commerce" Type="0">QWZmaWxpYXRlIFBheW1lbnQgVHlwZQ==</PHRASE>
+			<PHRASE Label="lu_comm_AffiliatePaymentTypeChangedMessage" Module="In-Commerce" Type="0">WW91ciBhZmZpbGlhdGUgcGF5bWVudCB0eXBlIGhhcyBiZWVuIGNoYW5nZWQu</PHRASE>
+			<PHRASE Label="lu_comm_AffiliateRegistration" Module="In-Commerce" Type="0">QWZmaWxpYXRlIFJlZ2lzdHJhdGlvbg==</PHRASE>
+			<PHRASE Label="lu_comm_Affiliates" Module="In-Commerce" Type="0">QWZmaWxpYXRlcw==</PHRASE>
+			<PHRASE Label="lu_comm_AffiliateStat" Module="In-Commerce" Type="0">U3RhdGlzdGljcw==</PHRASE>
+			<PHRASE Label="lu_comm_AffiliateStatistics" Module="In-Commerce" Type="0">QWZmaWxpYXRlIFN0YXRpc3RpY3M=</PHRASE>
+			<PHRASE Label="lu_comm_AffiliateStatText" Module="In-Commerce" Type="0">RGlzcGxheXMgdmlzdGVycyBhbmQgb3JkZXJzIHN0YXRpc3RpY3M=</PHRASE>
+			<PHRASE Label="lu_comm_AffiliateText" Module="In-Commerce" Type="0">QWZmaWxpYXRlcyBzZWN0aW9uIC0gZGlzcGxheXMgc3RhdGlzdGljcywgcGF5bWVudHMsIGFkdmVydGlzaW5nIG1hdGVyaWFscyBhbmQgbW9yZQ==</PHRASE>
+			<PHRASE Label="lu_comm_AffilliateMaterialsCode" Module="In-Commerce" Type="0">SGVyZSBpcyB0aGUgSFRNTCBjb2RlIHdoaWNoIGNyZWF0ZXMgYSBsaW5rIHRvIG91ciBzaXRl</PHRASE>
+			<PHRASE Label="lu_comm_AffilliateMaterialsCopy" Module="In-Commerce" Type="0">WW91IGNvdWxkIGNvcHkgYW5kIHBhc3RlIGl0IG9uIHlvdXIgcGFnZSB0byBjcmVhdGUgYSBsaW5rIGFuZCBzdGFydCByZWZlcmluZyBjdXN0b21lcnMgYW5kIGVhcm5pbmcgYWZmaWxpYXRlIGNvbW1pc3Npb24u</PHRASE>
+			<PHRASE Label="lu_comm_AffilliateMaterialsToRefer" Module="In-Commerce" Type="0">VG8gcmVmZXIgY3VzdG9tZXJzIHRvIG91ciBzaXRlIGFuZCBlYXJuIGFmZmlsaWF0ZSBjb21taXNzaW9uIHBsZWFzZSB1c2UgdGhlIGZvbGxvd2luZyBVUkw=</PHRASE>
+			<PHRASE Label="lu_comm_AgreeTermsAndConditions" Module="In-Commerce" Type="0">SSBhZ3JlZSB0byBhZmZpbGlhdGUgYWdyZWVtZW50IHRlcm1zICZhbXA7IGNvbmRpdGlvbnM=</PHRASE>
+			<PHRASE Label="lu_comm_Amount" Module="In-Commerce" Type="0">QW1vdW50</PHRASE>
+			<PHRASE Label="lu_comm_AmountWithoutVAT" Module="In-Commerce" Type="0">QW1vdW50IFdpdGhvdXQgU2FsZXMgVGF4L1ZBVA==</PHRASE>
+			<PHRASE Label="lu_comm_And" Module="In-Commerce" Type="0">QW5k</PHRASE>
+			<PHRASE Label="lu_comm_Any" Module="In-Commerce" Type="0">QW55</PHRASE>
+			<PHRASE Label="lu_comm_Availability" Module="In-Commerce" Type="0">QXZhaWxhYmlsaXR5</PHRASE>
+			<PHRASE Label="lu_comm_BecomeAnAffiliate" Module="In-Commerce" Type="0">QmVjb21lIEFuIEFmZmlsaWF0ZQ==</PHRASE>
+			<PHRASE Label="lu_comm_BecomeAnAffiliateDescription" Module="In-Commerce" Type="0">UGxlYXNlIGZpbGwgaW4gdGhlIGZvcm0gYmVsb3cgdG8gcmVnaXN0ZXIgYXMgYWZmaWxpYXRlLiBZb3Ugd2lsbCBiZSBub3RpZmllZCB2aWEgZS1tYWlsIHdoZW4geW91ciBhZmZpbGlhdGUgcmVnaXN0cmF0aW9uIGlzIGFwcHJvdmVkLg==</PHRASE>
+			<PHRASE Label="lu_comm_BillingEmailIfDifferent" Module="In-Commerce" Type="0">QmlsbGluZyBFbWFpbCAoaWYgaXQncyBkaWZmZXJlbnQgZnJvbSBzaGlwcGluZyk=</PHRASE>
+			<PHRASE Label="lu_comm_BillingInfo" Module="In-Commerce" Type="0">QmlsbGluZyBJbmZvcm1hdGlvbg==</PHRASE>
+			<PHRASE Label="lu_comm_BillingOptions" Module="In-Commerce" Type="0">QmlsbGluZyBPcHRpb25z</PHRASE>
+			<PHRASE Label="lu_comm_BirthDate" Module="In-Commerce" Type="0">QmlydGggZGF0ZQ==</PHRASE>
+			<PHRASE Label="lu_comm_Both" Module="In-Commerce" Type="0">Qm90aA==</PHRASE>
+			<PHRASE Label="lu_comm_BuyNow" Module="In-Commerce" Type="0">QnV5IE5vdw==</PHRASE>
+			<PHRASE Label="lu_comm_BuyThisProduct" Module="In-Commerce" Type="0">QnV5IFRoaXMgUHJvZHVjdA==</PHRASE>
+			<PHRASE Label="lu_comm_CardNumber" Module="In-Commerce" Type="0">Q2FyZCBOdW1iZXI=</PHRASE>
+			<PHRASE Label="lu_comm_CardType" Module="In-Commerce" Type="0">Q2FyZCBUeXBl</PHRASE>
+			<PHRASE Label="lu_comm_CartChangedAfterLogin" Module="In-Commerce" Type="0">UHJpY2VzIG9mIG9uZSBvciBtb3JlIGl0ZW1zIGluIHlvdXIgc2hvcHBpbmcgY2FydCBoYXZlIGJlZW4gY2hhbmdlZCBkdWUgdG8geW91ciBsb2dpbiwgcGxlYXNlIHJldmlldyBjaGFuZ2VzLg==</PHRASE>
+			<PHRASE Label="lu_comm_Categories" Module="In-Commerce" Type="0">Q2F0ZWdvcmllcw==</PHRASE>
+			<PHRASE Label="lu_comm_ChangeAffiliatePaymentType" Module="In-Commerce" Type="0">Q2hhbmdlIFBheW1lbnQgVHlwZQ==</PHRASE>
+			<PHRASE Label="lu_comm_ChangeAffiliatePaymentTypeDescription" Module="In-Commerce" Type="0">UGxlYXNlIGNvbXBsZXRlIHRoZSBmb3JtIGJlbG93IHRvIGNoYW5nZSB5b3VyIGFmZmlsaWF0ZSBwYXltZW50IHR5cGUuIFRoZSBjaGFuZ2Ugd2lsbCB0YWtlIGVmZmVjdCBzdGFydGluZyBmcm9tIHRoZSBuZXh0IHNjaGVkdWxlZCBhZmZpbGlhdGUgcGF5bWVudC4=</PHRASE>
+			<PHRASE Label="lu_comm_ChangeAffiliatePaymentTypeText" Module="In-Commerce" Type="0">QWZmaWxpYXRlIGNvbW1pc3Npb25zIHBheW1lbnQgb3B0aW9ucw==</PHRASE>
+			<PHRASE Label="lu_comm_ChangePaymentType" Module="In-Commerce" Type="0">Q2hhbmdlIFBheW1lbnQgVHlwZQ==</PHRASE>
+			<PHRASE Label="lu_comm_CheckoutSteps" Module="In-Commerce" Type="0">Q2hlY2tvdXQgU3RlcHM=</PHRASE>
+			<PHRASE Label="lu_comm_ChooseAffiliatePaymentType" Module="In-Commerce" Type="0">Q2hvb3NlIFBheW1lbnQgVHlwZQ==</PHRASE>
+			<PHRASE Label="lu_comm_ChooseAffiliatePlan" Module="In-Commerce" Type="0">Q2hvb3NlIEFmZmlsaWF0ZSBQbGFu</PHRASE>
+			<PHRASE Label="lu_comm_City" Module="In-Commerce" Type="0">Q2l0eQ==</PHRASE>
+			<PHRASE Label="lu_comm_CleanupCart" Module="In-Commerce" Type="0">Q2xlYXIgQ2FydA==</PHRASE>
+			<PHRASE Label="lu_comm_Clear" Module="In-Commerce" Type="0">Q2xlYXI=</PHRASE>
+			<PHRASE Label="lu_comm_ClearCartConfirmation" Module="In-Commerce" Type="0">QXJlIHlvdSBzdXJlIHlvdSB3YW50IHRvIHJlbW92ZSBhbGwgcHJvZHVjdHMgZnJvbSB5b3VyIHNob3BwaW5nIGNhcnQ/</PHRASE>
+			<PHRASE Label="lu_comm_code_expired" Module="In-Commerce" Type="0">Q291cG9uIGNvZGUgaXMgZXhwaXJlZCwgYWxyZWFkeSB1c2VkIG9yIGRpc2FibGVkLg==</PHRASE>
+			<PHRASE Label="lu_comm_ComissionPayments" Module="In-Commerce" Type="0">Q29taXNzaW9uIFBheW1lbnRz</PHRASE>
+			<PHRASE Label="lu_comm_Comments" Module="In-Commerce" Type="0">Q29tbWVudHMvaW5zdHJ1Y3Rpb25z</PHRASE>
+			<PHRASE Label="lu_comm_Company" Module="In-Commerce" Type="0">Q29tcGFueQ==</PHRASE>
+			<PHRASE Label="lu_comm_Confirmation" Module="In-Commerce" Type="0">Q29uZmlybWF0aW9u</PHRASE>
+			<PHRASE Label="lu_comm_Contains" Module="In-Commerce" Type="0">Q29udGFpbnM=</PHRASE>
+			<PHRASE Label="lu_comm_Continue_Shopping" Module="In-Commerce" Type="0">Q29udGludWUgU2hvcHBpbmc=</PHRASE>
+			<PHRASE Label="lu_comm_CouponApplied" Module="In-Commerce" Type="0">Q291cG9uIGhhcyBiZWVuIGFwcGxpZWQu</PHRASE>
+			<PHRASE Label="lu_comm_CouponCode" Module="In-Commerce" Type="0">Q291cG9uIENvZGU=</PHRASE>
+			<PHRASE Label="lu_comm_CouponHasBeenApplied" Module="In-Commerce" Type="0">VGhlIGZvbGxvd2luZyA8aT48c3Ryb25nPmNvdXBvbiBjb2RlPC9zdHJvbmc+PC9pPiBoYXMgYmVlbiBhcHBsaWVk</PHRASE>
+			<PHRASE Label="lu_comm_CouponIsNotEffective" Module="In-Commerce" Type="0">WW91ciBjb3Vwb24gY29kZSBoYXMgbm90IGJlZW4gYXBwbGllZCBiZWNhdXNlIGl0J3Mgbm90IGVmZmVjdGl2ZSBmb3IgYW55IGl0ZW1zIGluIHlvdXIgY2FydCwgb3IgY3VycmVudCBkaXNjb3VudHMgZ2l2ZXMgeW91IGEgYmV0dGVyIHNhdmluZ3MgYW5kIHlvdSBjb3VsZCBzYXZlIHlvdXIgY291cG9uIGZvciBhbm90aGVyIG9yZGVyLg==</PHRASE>
+			<PHRASE Label="lu_comm_CouponRemoved" Module="In-Commerce" Type="0">Q291cG9uIGhhcyBiZWVuIHJlbW92ZWQu</PHRASE>
+			<PHRASE Label="lu_comm_Create" Module="In-Commerce" Type="0">Q3JlYXRl</PHRASE>
+			<PHRASE Label="lu_comm_CurrentAffiliatePaymentType" Module="In-Commerce" Type="0">Q3VycmVudCBQYXltZW50IFR5cGU=</PHRASE>
+			<PHRASE Label="lu_comm_cvv2help" Module="In-Commerce" Type="0">Q1ZWMiBoZWxw</PHRASE>
+			<PHRASE Label="lu_comm_Date" Module="In-Commerce" Type="0">RGF0ZQ==</PHRASE>
+			<PHRASE Label="lu_comm_DeleteAddress" Module="In-Commerce" Type="0">QXJlIHlvdSBzdXJlIHlvdSB3YW50IHRvIGRlbGV0ZSB0aGlzIGFkZHJlc3M/</PHRASE>
+			<PHRASE Label="lu_comm_Description" Module="In-Commerce" Type="0">RGVzY3JpcHRpb24=</PHRASE>
+			<PHRASE Label="lu_comm_Details" Module="In-Commerce" Type="0">RGV0YWlscw==</PHRASE>
+			<PHRASE Label="lu_comm_Discount" Module="In-Commerce" Type="0">RGlzY291bnQ=</PHRASE>
+			<PHRASE Label="lu_comm_DiscountInfo" Module="In-Commerce" Type="0">RGlzY291bnQgSW5mbw==</PHRASE>
+			<PHRASE Label="lu_comm_DoesntContain" Module="In-Commerce" Type="0">RG9lc24ndCBDb250YWlu</PHRASE>
+			<PHRASE Label="lu_comm_DontHaveAddresses" Module="In-Commerce" Type="0">WW91IGhhdmUgbm90IGNyZWF0ZWQgYW55IGFkZHJlc3NlcyB5ZXQu</PHRASE>
+			<PHRASE Label="lu_comm_DontHaveOrders" Module="In-Commerce" Type="0">WW91IGRvbid0IGhhdmUgYW55IG9yZGVycyB5ZXQ=</PHRASE>
+			<PHRASE Label="lu_comm_DontHavePayments" Module="In-Commerce" Type="0">WW91IGRvbid0IGhhdmUgYW55IGFmZmlsYXRlIHBheW1lbnRzIHlldC4=</PHRASE>
+			<PHRASE Label="lu_comm_DontHaveVisitors" Module="In-Commerce" Type="0">WW91IGRvbid0IGhhdmUgYW55IHZpc2l0b3JzIHlldA==</PHRASE>
+			<PHRASE Label="lu_comm_DownloadLink" Module="In-Commerce" Type="0">TGluaw==</PHRASE>
+			<PHRASE Label="lu_comm_DownloadNow" Module="In-Commerce" Type="0">RG93bmxvYWQgTm93</PHRASE>
+			<PHRASE Label="lu_comm_Downloads" Module="In-Commerce" Type="0">RG93bmxvYWRz</PHRASE>
+			<PHRASE Label="lu_comm_DownloadsText" Module="In-Commerce" Type="0">VGhlIGl0ZW1zIGF2YWlsYWJsZSBmb3IgZG93bmxvYWQ=</PHRASE>
+			<PHRASE Label="lu_comm_EditorsPick" Module="In-Commerce" Type="0">RWRpdG9yJ3MgUGljaw==</PHRASE>
+			<PHRASE Label="lu_comm_EditorsPicks" Module="In-Commerce" Type="0">RWRpdG9yJ3MgUGlja3M=</PHRASE>
+			<PHRASE Label="lu_comm_edit_options" Module="In-Commerce" Type="0">RWRpdCBPcHRpb25z</PHRASE>
+			<PHRASE Label="lu_comm_EnterCouponCode" Module="In-Commerce" Type="0">SWYgeW91IGhhdmUgPGk+PHN0cm9uZz5jb3Vwb24gY29kZTwvc3Ryb25nPjwvaT4sIGVudGVyIGl0IGhlcmU=</PHRASE>
+			<PHRASE Label="lu_comm_EnterGiftCertificateCode" Module="In-Commerce" Type="0">SWYgeW91IGhhdmUgPGk+PHN0cm9uZz5naWZ0IGNlcnRpZmljYXRlPC9zdHJvbmc+PC9pPiwgZW50ZXIgaXQgaGVyZQ==</PHRASE>
+			<PHRASE Label="lu_comm_EnterShippingAddress" Module="In-Commerce" Type="0">UGxlYXNlIGVudGVyIHlvdXIgc2hpcHBpbmcgYWRkcmVzcy4gSW5jb21wbGV0ZSBvciBpbmNvcmVjdCBpbmZvcm1hdGlvbiBtYXkgcmVzdWx0IGluIGEgZGVsYXkgb3IgY2FuY2VsbGF0aW9uIG9mIHlvdXIgb3JkZXIu</PHRASE>
+			<PHRASE Label="lu_comm_ErrorAlreadyReviewed" Module="In-Commerce" Type="0">WW91IGhhdmUgYWxyZWFkeSBjb21tZW50ZWQgdGhpcyBwcm9kdWN0IQ==</PHRASE>
+			<PHRASE Label="lu_comm_ErrorInvalidShippingAddress" Module="In-Commerce" Type="0">UGxlYXNlIGVudGVyIHZhbGlkIHNoaXBwaW5nIGFkZHJlc3MgdG8gZ2V0IHNoaXBwaW5nIHJhdGVzIGFuZCBvcHRpb25z</PHRASE>
+			<PHRASE Label="lu_comm_ErrorNoShippingTypes" Module="In-Commerce" Type="0">U29ycnksIGJ1dCBubyBzaGlwcGluZyB0eXBlcyBhcmUgYXZhaWxhYmxlIGZvciBzZWxlY3RlZCBhZGRyZXNzLiBQbGVhc2Ugc2VsZWN0IGRpZmZlcmVudCBhZGRyZXNzLCBvciBjb250YWN0IHNpdGUgYWRtaW5pc3RyYXRvcg==</PHRASE>
+			<PHRASE Label="lu_comm_ExactlyIs" Module="In-Commerce" Type="0">RXhhY3RseSBJcw==</PHRASE>
+			<PHRASE Label="lu_comm_Exp" Module="In-Commerce" Type="0">RXhwLg==</PHRASE>
+			<PHRASE Label="lu_comm_FaxNumber" Module="In-Commerce" Type="0">RmF4IE51bWJlcg==</PHRASE>
+			<PHRASE Label="lu_comm_Featured" Module="In-Commerce" Type="0">RmVhdHVyZWQgSXRlbQ==</PHRASE>
+			<PHRASE Label="lu_comm_FeaturedProducts" Module="In-Commerce" Type="0">RmVhdHVyZWQgUHJvZHVjdHM=</PHRASE>
+			<PHRASE Label="lu_comm_FieldIsRequired" Module="In-Commerce" Type="0">RmllbGQgaXMgcmVxdWlyZWQ=</PHRASE>
+			<PHRASE Label="lu_comm_FileName" Module="In-Commerce" Type="0">RmlsZW5hbWU=</PHRASE>
+			<PHRASE Label="lu_comm_Files" Module="In-Commerce" Type="0">RmlsZXM=</PHRASE>
+			<PHRASE Label="lu_comm_FirstName" Module="In-Commerce" Type="0">Rmlyc3QgbmFtZQ==</PHRASE>
+			<PHRASE Label="lu_comm_FreeShipping" Module="In-Commerce" Type="0">RnJlZQ==</PHRASE>
+			<PHRASE Label="lu_comm_FriendEmail" Module="In-Commerce" Type="0">WW91ciBmcmllbmQgZS1tYWls</PHRASE>
+			<PHRASE Label="lu_comm_FriendName" Module="In-Commerce" Type="0">WW91ciBmcmllbmQgbmFtZQ==</PHRASE>
+			<PHRASE Label="lu_comm_From" Module="In-Commerce" Type="0">RnJvbQ==</PHRASE>
+			<PHRASE Label="lu_comm_FullName" Module="In-Commerce" Type="0">RnVsbCBOYW1l</PHRASE>
+			<PHRASE Label="lu_comm_GiftCertificateApplied" Module="In-Commerce" Type="0">R2lmdCBDZXJ0aWZpY2F0ZSBoYXMgYmVlbiBhcHBsaWVk</PHRASE>
+			<PHRASE Label="LU_COMM_GIFTCERTIFICATEHASBEENAPPLIED" Module="In-Commerce" Type="0">VGhlIGZvbGxvd2luZyA8aT48c3Ryb25nPmdpZnQgY2VydGlmaWNhdGU8L3N0cm9uZz48L2k+IGhhcyBiZWVuIGFwcGxpZWQ=</PHRASE>
+			<PHRASE Label="lu_comm_GiftCertificateIsNotEffective" Module="In-Commerce" Type="0">WW91ciBnaWZ0IGNlcnRpZmljYXRlIGhhcyBub3QgYmVlbiBhcHBsaWVkIGJlY2F1c2UgaXQncyBub3QgZWZmZWN0aXZlIGZvciBhbnkgaXRlbXMgaW4geW91ciBjYXJ0LCBvciBjdXJyZW50IGRpc2NvdW50cyBnaXZlcyB5b3UgYSBiZXR0ZXIgc2F2aW5ncyBhbmQgeW91IGNvdWxkIHNhdmUgeW91ciBnaWZ0IGNlcnRpZmljYXRlIGZvciBhbm90aGVyIG9yZGVyLg==</PHRASE>
+			<PHRASE Label="lu_comm_GiftCertificateRemoved" Module="In-Commerce" Type="0">R2lmdCBDZXJ0aWZpY2F0ZSBoYXMgYmVlbiByZW1vdmVkLg==</PHRASE>
+			<PHRASE Label="lu_comm_Gift_Certificate" Module="In-Commerce" Type="0">R2lmdCBDZXJ0aWZpY2F0ZQ==</PHRASE>
+			<PHRASE Label="lu_comm_GrandTotal" Module="In-Commerce" Type="0">R3JhbmQgVG90YWw=</PHRASE>
+			<PHRASE Label="lu_comm_IAgreeTo" Module="In-Commerce" Type="0">SSBBZ3JlZSB0bw==</PHRASE>
+			<PHRASE Label="lu_comm_Images" Module="In-Commerce" Type="0">QWRkaXRpb25hbCBJbWFnZXM=</PHRASE>
+			<PHRASE Label="lu_comm_ImagesHeader" Module="In-Commerce" Type="0">QURESVRJT05BTCBJTUFHRVM=</PHRASE>
+			<PHRASE Label="lu_comm_insurance_fee" Module="In-Commerce" Type="0">SW5zdXJhbmNlIENvc3Q=</PHRASE>
+			<PHRASE Label="lu_comm_invalid_code" Module="In-Commerce" Type="0">SW52YWxpZCBjb3Vwb24gY29kZSE=</PHRASE>
+			<PHRASE Label="lu_comm_IsNot" Module="In-Commerce" Type="0">SXMgbm90</PHRASE>
+			<PHRASE Label="lu_comm_ItemIsEligibleForDiscount" Module="In-Commerce" Type="0">VGhpcyBpdGVtIGlzIGVsaWdpYmxlIGZvciB0aGUgZm9sbG93aW5nIGRpc2NvdW50</PHRASE>
+			<PHRASE Label="lu_comm_KeywordsTooShort" Module="In-Commerce" Type="0">S2V5d29yZHMgYXJlIHRvbyBzaG9ydA==</PHRASE>
+			<PHRASE Label="lu_comm_Last3Months" Module="In-Commerce" Type="0">TGFzdCAzIG1vbnRocw==</PHRASE>
+			<PHRASE Label="lu_comm_Last6Months" Module="In-Commerce" Type="0">TGFzdCA2IG1vbnRocw==</PHRASE>
+			<PHRASE Label="lu_comm_LastMonth" Module="In-Commerce" Type="0">TGFzdCBtb250aA==</PHRASE>
+			<PHRASE Label="lu_comm_LastName" Module="In-Commerce" Type="0">TGFzdCBuYW1l</PHRASE>
+			<PHRASE Label="lu_comm_Lastweek" Module="In-Commerce" Type="0">TGFzdCB3ZWVr</PHRASE>
+			<PHRASE Label="lu_comm_LastYear" Module="In-Commerce" Type="0">TGFzdCB5ZWFy</PHRASE>
+			<PHRASE Label="lu_comm_Login" Module="In-Commerce" Type="0">TG9naW4=</PHRASE>
+			<PHRASE Label="lu_comm_Logout" Module="In-Commerce" Type="0">TG9nb3V0</PHRASE>
+			<PHRASE Label="lu_comm_ManageAddresses" Module="In-Commerce" Type="0">TWFuYWdlIGFkZHJlc3Nlcw==</PHRASE>
+			<PHRASE Label="lu_comm_Manufacturer" Module="In-Commerce" Type="0">TWFudWZhY3R1cmVy</PHRASE>
+			<PHRASE Label="lu_comm_Manufacturers" Module="In-Commerce" Type="0">TWFudWZhY3R1cmVycw==</PHRASE>
+			<PHRASE Label="lu_comm_ManufAZ" Module="In-Commerce" Type="0">TWFudWZhY3R1cmVyIEEgdG8gWg==</PHRASE>
+			<PHRASE Label="lu_comm_ManufZA" Module="In-Commerce" Type="0">TWFudWZhY3R1cmVyIFogdG8gQQ==</PHRASE>
+			<PHRASE Label="lu_comm_Message" Module="In-Commerce" Type="0">TWVzc2FnZQ==</PHRASE>
+			<PHRASE Label="lu_comm_MoreFiles" Module="In-Commerce" Type="0">TW9yZSBGaWxlcw==</PHRASE>
+			<PHRASE Label="lu_comm_MoreImages" Module="In-Commerce" Type="0">TW9yZSBJbWFnZXM=</PHRASE>
+			<PHRASE Label="lu_comm_MoreLink" Module="In-Commerce" Type="0">bW9yZQ==</PHRASE>
+			<PHRASE Label="lu_comm_MoreOrders" Module="In-Commerce" Type="0">bW9yZSBvcmRlcnM=</PHRASE>
+			<PHRASE Label="lu_comm_msg_outofstock" Module="In-Commerce" Type="0">U29ycnksIGJ1dCB0aGUgcHJvZHVjdCB5b3UgaGF2ZSBzZWxlY3RlZCBpcyBvdXQgb2Ygc3RvY2su</PHRASE>
+			<PHRASE Label="lu_comm_msg_qty_unavailable" Module="In-Commerce" Type="0">U29ycnksIGJ1dCB0aGUgcXVhbnRpdHkgeW91IGhhdmUgc2VsZWN0ZWQgZm9yIG9uZSBvciBtb3JlIHByb2R1Y3RzIGluIHlvdXIgY2FydCBpcyBub3QgY3VycmVudGx5IGF2YWlsYmxlLiBNYXhpbXVtIGF2YWlsYmxlIHF1YW50aXR5IGhhcyBiZWVuIGxlZnQgaW4geW91ciBjYXJ0Lg==</PHRASE>
+			<PHRASE Label="lu_comm_Msg_State_Changed" Module="In-Commerce" Type="0">SXRlbXMgcXVhbnRpdGVzIGFuZC9vciBvcmRlciB0eXBlcyBpbiB5b3UgY2FydCBoYXZlIGJlZW4gdXBkYXRlZC4gUGxlYXNlIHJldmlldyB0aGUgY2hhbmdlcyBiZWxvdyBiZWZvcmUgcHJvY2VlZGluZy4=</PHRASE>
+			<PHRASE Label="lu_comm_MSRP" Module="In-Commerce" Type="0">TVNSUA==</PHRASE>
+			<PHRASE Label="lu_comm_MustAgreeAffiliateTermsError" Module="In-Commerce" Type="0">WW91IGhhdmUgdG8gYWdyZWUgdG8gYWZmaWxpYXRlIHRlcm1zICZhbXA7IGNvbmRpdGlvbnMgdG8gcmVnaXN0ZXIgYXMgYWZmaWxpYXRl</PHRASE>
+			<PHRASE Label="lu_comm_MyAccount" Module="In-Commerce" Type="0">TXkgQWNjb3VudA==</PHRASE>
+			<PHRASE Label="lu_comm_MyAddresses" Module="In-Commerce" Type="0">TXkgQWRkcmVzc2Vz</PHRASE>
+			<PHRASE Label="lu_comm_MyOrders" Module="In-Commerce" Type="0">TXkgT3JkZXJz</PHRASE>
+			<PHRASE Label="lu_comm_Name" Module="In-Commerce" Type="0">TmFtZQ==</PHRASE>
+			<PHRASE Label="lu_comm_NameAZ" Module="In-Commerce" Type="0">VGl0bGUgQSB0byBa</PHRASE>
+			<PHRASE Label="lu_comm_NameOnCard" Module="In-Commerce" Type="0">TmFtZSBvbiB0aGUgQ2FyZA==</PHRASE>
+			<PHRASE Label="lu_comm_NameZA" Module="In-Commerce" Type="0">VGl0bGUgWiB0byBB</PHRASE>
+			<PHRASE Label="lu_comm_New" Module="In-Commerce" Type="0">TmV3</PHRASE>
+			<PHRASE Label="lu_Comm_NewAddress" Module="In-Commerce" Type="0">QWRkIG5ldyBhZGRyZXNz</PHRASE>
+			<PHRASE Label="lu_comm_NewProducts" Module="In-Commerce" Type="0">TmV3IFByb2R1Y3Rz</PHRASE>
+			<PHRASE Label="lu_comm_No" Module="In-Commerce" Type="0">Tm8=</PHRASE>
+			<PHRASE Label="lu_comm_NoCriteriaEntered" Module="In-Commerce" Type="0">Tm8gY3JpdGVyaWEgZW50ZXJlZCBvciBrZXl3b3JkcyBhcmUgdG9vIHNob3J0IQ==</PHRASE>
+			<PHRASE Label="lu_comm_NoFilesForThisProduct" Module="In-Commerce" Type="0">VGhlcmUgaXMgbm8gZmlsZXMgYXZhaWxhYmxlIGZvciB0aGlzIHByb2R1Y3Qu</PHRASE>
+			<PHRASE Label="lu_comm_NoProductsFound" Module="In-Commerce" Type="0">Tm8gcHJvZHVjdHMgZm91bmQgbWF0Y2hpbmcgeW91ciBjcml0ZXJpYQ==</PHRASE>
+			<PHRASE Label="lu_comm_Note" Module="In-Commerce" Type="0">Tm90ZQ==</PHRASE>
+			<PHRASE Label="lu_comm_Ok" Module="In-Commerce" Type="0">T2s=</PHRASE>
+			<PHRASE Label="lu_comm_OldToRecent" Module="In-Commerce" Type="0">T2xkIHRvIFJlY2VudA==</PHRASE>
+			<PHRASE Label="lu_comm_OptionsCombination" Module="In-Commerce" Type="0">T3B0aW9ucyBDb21iaW5hdGlvbg==</PHRASE>
+			<PHRASE Label="lu_comm_OptionsNotAvailable" Module="In-Commerce" Type="0">U2VsZWN0ZWQgb3B0aW9ucyBjb21iaW5hdGlvbiBpcyBjdXJyZW50bHkgbm90IGF2YWlsYWJsZQ==</PHRASE>
+			<PHRASE Label="lu_comm_OptionsRequired" Module="In-Commerce" Type="0">UGxlYXNlIHNlbGVjdCB0aGUgb3B0aW9ucyBtYXJrZWQgd2l0aCA8c3BhbiBjbGFzcz0iZXJyb3IiPio8L3NwYW4+IGJlZm9yZSBwcm9jZWVkaW5n</PHRASE>
+			<PHRASE Label="lu_comm_Or" Module="In-Commerce" Type="0">T3I=</PHRASE>
+			<PHRASE Label="lu_comm_OrderCommissionEarned" Module="In-Commerce" Type="0">Q29tbWlzc2lvbg==</PHRASE>
+			<PHRASE Label="lu_comm_OrderCompleted" Module="In-Commerce" Type="0">T3JkZXIgQ29tcGxldGVk</PHRASE>
+			<PHRASE Label="lu_comm_OrderCount" Module="In-Commerce" Type="0">T3JkZXIgY291bnQ=</PHRASE>
+			<PHRASE Label="lu_comm_OrderNumber" Module="In-Commerce" Type="0">T3JkZXIgIw==</PHRASE>
+			<PHRASE Label="lu_comm_OrderNumberText" Module="In-Commerce" Type="0">T3JkZXIgTnVtYmVy</PHRASE>
+			<PHRASE Label="lu_comm_OrderPreview" Module="In-Commerce" Type="0">T3JkZXIgUHJldmlldw==</PHRASE>
+			<PHRASE Label="lu_comm_Orders" Module="In-Commerce" Type="0">T3JkZXJz</PHRASE>
+			<PHRASE Label="lu_comm_OrdersText" Module="In-Commerce" Type="0">QWxsIG9mIHlvdXIgb3JkZXJz</PHRASE>
+			<PHRASE Label="lu_comm_OrderSuccessfullyPlaced" Module="In-Commerce" Type="0">WW91ciBvcmRlciBoYXMgYmVlbiBzdWNjZXNzZnVsbHkgcGxhY2Vk</PHRASE>
+			<PHRASE Label="lu_comm_OrderTotal" Module="In-Commerce" Type="0">T3JkZXIgVG90YWw=</PHRASE>
+			<PHRASE Label="lu_comm_OrderTotalAmount" Module="In-Commerce" Type="0">T3JkZXIgQW1vdW50</PHRASE>
+			<PHRASE Label="lu_comm_OrEnterAddress" Module="In-Commerce" Type="0">b3IgZW50ZXIgbmV3IGFkZHJlc3MgYmVsb3c=</PHRASE>
+			<PHRASE Label="lu_comm_OtherProducts" Module="In-Commerce" Type="0">cHJvZHVjdHM=</PHRASE>
+			<PHRASE Label="lu_comm_OtherProductsBy" Module="In-Commerce" Type="0">b3RoZXI=</PHRASE>
+			<PHRASE Label="lu_comm_OurPrice" Module="In-Commerce" Type="0">T3VyIFByaWNl</PHRASE>
+			<PHRASE Label="lu_comm_outofstock" Module="In-Commerce" Type="0">T3V0IG9mIHN0b2Nr</PHRASE>
+			<PHRASE Label="lu_comm_PaymentAmount" Module="In-Commerce" Type="0">QW1vdW50</PHRASE>
+			<PHRASE Label="lu_comm_PaymentReference" Module="In-Commerce" Type="0">UGF5bWVudCBSZWZlcmVuY2U=</PHRASE>
+			<PHRASE Label="lu_comm_PaymentType" Module="In-Commerce" Type="0">UGF5bWVudCBUeXBl</PHRASE>
+			<PHRASE Label="lu_comm_PersonalInfo" Module="In-Commerce" Type="0">UGVyc29uYWwgSW5mb3JtYXRpb24=</PHRASE>
+			<PHRASE Label="lu_comm_PersonalInfoText" Module="In-Commerce" Type="0">VGhpcyBzZWN0aW9uIGFsbG93cyB5b3UgdG8gY2hhbmdlIHlvdXIgcGVyc29uYWwgaW5mb3JtYXRpb24gc3VjaCBhcyBOYW1lLCBQYXNzd29yZCBldGMu</PHRASE>
+			<PHRASE Label="lu_comm_PhoneNumber" Module="In-Commerce" Type="0">UGhvbmUgTnVtYmVy</PHRASE>
+			<PHRASE Label="lu_comm_PleaseEnterBillingAddress" Module="In-Commerce" Type="0">UGxlYXNlIGVudGVyIHlvdXIgYmlsbGluZyBhZGRyZXNzLiBJbmNvbXBsZXRlIG9yIGluY29yZWN0IGluZm9ybWF0aW9uIG1heSByZXN1bHQgaW4gYSBkZWxheSBvciBjYW5jZWxsYXRpb24gb2YgeW91ciBvcmRlci4=</PHRASE>
+			<PHRASE Label="lu_comm_Pop" Module="In-Commerce" Type="0">UG9wdWxhcg==</PHRASE>
+			<PHRASE Label="lu_comm_Price" Module="In-Commerce" Type="0">UHJpY2U=</PHRASE>
+			<PHRASE Label="lu_comm_PriceHL" Module="In-Commerce" Type="0">UHJpY2UgSGlnaCB0byBMb3c=</PHRASE>
+			<PHRASE Label="lu_comm_PriceLH" Module="In-Commerce" Type="0">UHJpY2UgTG93IHRvIEhpZ2g=</PHRASE>
+			<PHRASE Label="lu_comm_Pricing" Module="In-Commerce" Type="0">UHJpY2luZw==</PHRASE>
+			<PHRASE Label="lu_comm_ProceedCheckout" Module="In-Commerce" Type="0">UHJvY2VlZCB0byBDaGVja291dA==</PHRASE>
+			<PHRASE Label="lu_comm_ProceedToBilling" Module="In-Commerce" Type="0">UHJvY2VlZCB0byBCaWxsaW5n</PHRASE>
+			<PHRASE Label="lu_comm_ProcessingFee" Module="In-Commerce" Type="0">UHJvY2Vzc2luZyBGZWU=</PHRASE>
+			<PHRASE Label="lu_comm_ProductDescription" Module="In-Commerce" Type="0">UHJvZHVjdCBEZXNjcmlwdGlvbg==</PHRASE>
+			<PHRASE Label="lu_comm_ProductDetails" Module="In-Commerce" Type="0">UHJvZHVjdCBEZXRhaWxz</PHRASE>
+			<PHRASE Label="lu_comm_ProductFiles" Module="In-Commerce" Type="0">RmlsZXM=</PHRASE>
+			<PHRASE Label="lu_comm_Products" Module="In-Commerce" Type="0">UHJvZHVjdHM=</PHRASE>
+			<PHRASE Label="lu_comm_ProductsBy" Module="In-Commerce" Type="0">UHJvZHVjdHMgQnk=</PHRASE>
+			<PHRASE Label="lu_comm_ProductsTotal" Module="In-Commerce" Type="0">UHJvZHVjdHMgVG90YWw=</PHRASE>
+			<PHRASE Label="lu_comm_Qty" Module="In-Commerce" Type="0">UXR5</PHRASE>
+			<PHRASE Label="lu_comm_Quantity" Module="In-Commerce" Type="0">UXVhbnRpdHk=</PHRASE>
+			<PHRASE Label="lu_comm_QuantityPricing" Module="In-Commerce" Type="0">UXVhbnRpdHkgUHJpY2luZw==</PHRASE>
+			<PHRASE Label="lu_comm_RateAverage" Module="In-Commerce" Type="0">QXZlcmFnZQ==</PHRASE>
+			<PHRASE Label="lu_comm_RateExcellent" Module="In-Commerce" Type="0">RXhjZWxsZW50</PHRASE>
+			<PHRASE Label="lu_comm_RateFair" Module="In-Commerce" Type="0">RmFpcg==</PHRASE>
+			<PHRASE Label="lu_comm_RateGood" Module="In-Commerce" Type="0">R29vZA==</PHRASE>
+			<PHRASE Label="lu_comm_RatePoor" Module="In-Commerce" Type="0">UG9vcg==</PHRASE>
+			<PHRASE Label="lu_comm_RateProduct" Module="In-Commerce" Type="0">UmF0ZSBQcm9kdWN0</PHRASE>
+			<PHRASE Label="lu_comm_RateThisProduct" Module="In-Commerce" Type="0">UmF0ZSBUaGlzIFByb2R1Y3Q=</PHRASE>
+			<PHRASE Label="lu_comm_RateVeryGood" Module="In-Commerce" Type="0">VmVyeSBHb29k</PHRASE>
+			<PHRASE Label="lu_comm_RecentlyViewed" Module="In-Commerce" Type="0">UmVjZW50bHkgVmlld2VkIEl0ZW1z</PHRASE>
+			<PHRASE Label="lu_comm_RecentOrders" Module="In-Commerce" Type="0">UmVjZW50IE9yZGVycw==</PHRASE>
+			<PHRASE Label="lu_comm_RecentToOld" Module="In-Commerce" Type="0">UmVjZW50IHRvIE9sZA==</PHRASE>
+			<PHRASE Label="lu_comm_Recommend" Module="In-Commerce" Type="0">UmVjb21tZW5k</PHRASE>
+			<PHRASE Label="lu_comm_RecommendThisProduct" Module="In-Commerce" Type="0">UmVjb21tZW5kIFRoaXMgUHJvZHVjdA==</PHRASE>
+			<PHRASE Label="lu_comm_Referer" Module="In-Commerce" Type="0">UmVmZXJlciBVUkw=</PHRASE>
+			<PHRASE Label="lu_comm_RegisterAsAffiliate" Module="In-Commerce" Type="0">UmVnaXN0ZXIgQXMgQWZmaWxpYXRl</PHRASE>
+			<PHRASE Label="lu_comm_Registration" Module="In-Commerce" Type="0">UmVnaXN0cmF0aW9u</PHRASE>
+			<PHRASE Label="lu_comm_RegularPrice" Module="In-Commerce" Type="0">UmVndWxhciBQcmljZQ==</PHRASE>
+			<PHRASE Label="lu_comm_RelatedProducts" Module="In-Commerce" Type="0">UmVsYXRlZCBQcm9kdWN0cw==</PHRASE>
+			<PHRASE Label="lu_comm_Relevance" Module="In-Commerce" Type="0">UmVsZXZhbmNl</PHRASE>
+			<PHRASE Label="lu_comm_RemoveCoupon" Module="In-Commerce" Type="0">UmVtb3Zl</PHRASE>
+			<PHRASE Label="lu_comm_RemoveFromFav" Module="In-Commerce" Type="0">UmVtb3ZlIGZyb20gV2lzaCBMaXN0</PHRASE>
+			<PHRASE Label="lu_comm_RemoveGiftCertificate" Module="In-Commerce" Type="0">UmVtb3Zl</PHRASE>
+			<PHRASE Label="lu_comm_ReviewBy" Module="In-Commerce" Type="0">Q29tbWVudCBieQ==</PHRASE>
+			<PHRASE Label="lu_comm_ReviewProduct" Module="In-Commerce" Type="0">Q29tbWVudCBwcm9kdWN0</PHRASE>
+			<PHRASE Label="lu_comm_Reviews" Module="In-Commerce" Type="0">Q29tbWVudHM=</PHRASE>
+			<PHRASE Label="lu_comm_ReviewThisProduct" Module="In-Commerce" Type="0">Q29tbWVudCB0aGlzIHByb2R1Y3Q=</PHRASE>
+			<PHRASE Label="lu_comm_SearchInResults" Module="In-Commerce" Type="0">U2VhcmNoIEluIFJlc3VsdHM=</PHRASE>
+			<PHRASE Label="lu_comm_SearchResults" Module="In-Commerce" Type="0">U2VhcmNoIFJlc3VsdHM=</PHRASE>
+			<PHRASE Label="lu_comm_Select" Module="In-Commerce" Type="0">U2VsZWN0</PHRASE>
+			<PHRASE Label="lu_comm_SelectAddress" Module="In-Commerce" Type="0">UGxlYXNlIHNlbGVjdCB5b3VyIGFkZHJlc3M=</PHRASE>
+			<PHRASE Label="lu_comm_SelectOptions" Module="In-Commerce" Type="0">U2VsZWN0IE9wdGlvbnM=</PHRASE>
+			<PHRASE Label="lu_comm_SendPassword" Module="In-Commerce" Type="0">U2VuZCBwYXNzd29yZA==</PHRASE>
+			<PHRASE Label="lu_comm_ShipmentInfo" Module="In-Commerce" Type="0">U2hpcG1lbnQgaW5mb3JtYXRpb24=</PHRASE>
+			<PHRASE Label="lu_comm_ShippingCost" Module="In-Commerce" Type="0">U2hpcHBpbmcgY29zdA==</PHRASE>
+			<PHRASE Label="lu_comm_ShippingInfo" Module="In-Commerce" Type="0">U2hpcHBpbmcgSW5mb3JtYXRpb24=</PHRASE>
+			<PHRASE Label="lu_comm_ShippingOptions" Module="In-Commerce" Type="0">U2hpcHBpbmcgT3B0aW9ucw==</PHRASE>
+			<PHRASE Label="lu_comm_ShippingTotal" Module="In-Commerce" Type="0">U2hpcHBpbmcgVG90YWw=</PHRASE>
+			<PHRASE Label="lu_comm_ShippingTracking" Module="In-Commerce" Type="0">VHJhY2tpbmcvUmVmZXJlbmNlIE51bWJlcg==</PHRASE>
+			<PHRASE Label="lu_comm_ShippingTypesLimitationApply" Module="In-Commerce" Type="0">VGhlIHByb2R1Y3RzIGluIHlvdXIgY2FydCBoYXZlIGRpZmZlcmVudCBzaGlwcGluZyBvcHRpb25zLiBUaGUgc2hpcHBpbmcgb3B0aW9ucyBhbGxvd2VkIGZvciBhbGwgdGhlIHByb2R1Y3RzIGluIHlvdXIgY2FydCBhcmUgZGlzcGxheWVkIGJlbG93LiBJZiB5b3UnZCBsaWtlIHRvIG1hbnVhbGx5IGFkanVzdCB0aGUgc2hpcHBpbmcgZm9yIGV2ZXJ5IGdyb3VwIG9mIHByb2R1Y3RzIGNsaWNrIHRoZSBjaGVja2JveCBiZWxvdw==</PHRASE>
+			<PHRASE Label="lu_comm_ShippingTypesLimitationApply_CantSingleShip" Module="In-Commerce" Type="0">dGhlIHByb2R1Y3RzIGluIHlvdXIgc2hvcHBpbmcgY2FydCBjYW4ndCBiZSBzaGlwcGVkIGluIG9uZSBzaGlwbWVudCBiZWNhdXNlIG9mIGRpZmZlcmVudCBzaGlwcGluZyBvcHRpb25zLiBZb3VyIG9yZGVyIHdpbGwgYmUgc3BsaXQgYW5kIHNvbWUgcHJvZHVjdHMgd2lsbCBiZSBzaGlwcGVkIHNlcGFyYXRlbHkuIFBsZWFzZSBzZWxlY3QgdGhlIHNoaXBwaW5nIGZvciBlYWNoIGdyb3VwIG9mIHByb2R1Y3RzIGJlbG93Lg==</PHRASE>
+			<PHRASE Label="lu_comm_Size" Module="In-Commerce" Type="0">U2l6ZQ==</PHRASE>
+			<PHRASE Label="lu_comm_Sort" Module="In-Commerce" Type="0">U29ydA==</PHRASE>
+			<PHRASE Label="lu_comm_SortBy" Module="In-Commerce" Type="0">U29ydCBieQ==</PHRASE>
+			<PHRASE Label="lu_comm_SSNField" Module="In-Commerce" Type="0">U1NOL1RheCBJZC9WQVQgTnVtYmVy</PHRASE>
+			<PHRASE Label="lu_comm_Status" Module="In-Commerce" Type="0">U3RhdHVz</PHRASE>
+			<PHRASE Label="lu_comm_SubCategories" Module="In-Commerce" Type="0">U3ViLUNhdGVnb3JpZXM=</PHRASE>
+			<PHRASE Label="lu_comm_Subscribe" Module="In-Commerce" Type="0">U3Vic2NyaWJl</PHRASE>
+			<PHRASE Label="lu_comm_Subtotal" Module="In-Commerce" Type="0">U3VidG90YWw=</PHRASE>
+			<PHRASE Label="lu_comm_TermsAndConditions" Module="In-Commerce" Type="0">dGVybXMgJmFtcDsgY29uZGl0aW9ucw==</PHRASE>
+			<PHRASE Label="lu_comm_TermsAndConditionsLink" Module="In-Commerce" Type="0">VGVybXMgQW5kIENvbmRpdGlvbnM=</PHRASE>
+			<PHRASE Label="lu_comm_TermsAndConditionsText" Module="In-Commerce" Type="0">QWZmaWxpYXRlIGFncmVlbWVudCwgdGVybXMgJmFtcDsgY29uZGl0aW9ucw==</PHRASE>
+			<PHRASE Label="lu_comm_ThankYou" Module="In-Commerce" Type="0">VGhhbmsgWW91</PHRASE>
+			<PHRASE Label="lu_comm_ThankYouForBecomingAffiliate" Module="In-Commerce" Type="0">VGhhbmsgeW91IGZvciByZWdpc3RlcmluZyBhcyBhZmZpbGlhdGUuIFlvdSB3aWxsIGJlIG5vdGlmaWVkIHZpYSBlLW1haWwgd2hlbiB5b3VyIHJlZ2lzdHJhdGlvbiBpcyBhcHByb3ZlZC4=</PHRASE>
+			<PHRASE Label="lu_comm_To" Module="In-Commerce" Type="0">VG8=</PHRASE>
+			<PHRASE Label="lu_comm_Today" Module="In-Commerce" Type="0">VG9kYXk=</PHRASE>
+			<PHRASE Label="lu_comm_TopSeller" Module="In-Commerce" Type="0">VG9wIFNlbGxlcg==</PHRASE>
+			<PHRASE Label="lu_comm_TopSellers" Module="In-Commerce" Type="0">VG9wIFNlbGxlcnM=</PHRASE>
+			<PHRASE Label="lu_comm_Total" Module="In-Commerce" Type="0">VG90YWw=</PHRASE>
+			<PHRASE Label="lu_comm_TotalCommissionEarned" Module="In-Commerce" Type="0">Q29tbWlzc2lvbiBFYXJuZWQ=</PHRASE>
+			<PHRASE Label="lu_comm_TotalOrderAmount" Module="In-Commerce" Type="0">T3JkZXIgVG90YWwgQW1vdW50</PHRASE>
+			<PHRASE Label="lu_comm_TotalOrders" Module="In-Commerce" Type="0">T3JkZXJz</PHRASE>
+			<PHRASE Label="lu_comm_TotalSavings" Module="In-Commerce" Type="0">VG90YWwgU2F2aW5ncw==</PHRASE>
+			<PHRASE Label="lu_comm_TotalVisitors" Module="In-Commerce" Type="0">VmlzaXRvcnM=</PHRASE>
+			<PHRASE Label="lu_comm_TryRecomendedProductd" Module="In-Commerce" Type="0">WW91IG1heSBhbHNvIHdpc2ggdG8gdHJ5IG91ciByZWNvbW1lbmRlZCBwcm9kdWN0cw==</PHRASE>
+			<PHRASE Label="lu_comm_TryRecommendedProducts" Module="In-Commerce" Type="0">WW91IG1heSBhbHNvIHdpc2ggdG8gdHJ5IG91ciByZWNvbW1lbmRlZCBwcm9kdWN0cw==</PHRASE>
+			<PHRASE Label="lu_comm_Unsubscribe" Module="In-Commerce" Type="0">VW5zdWJzY3JpYmU=</PHRASE>
+			<PHRASE Label="lu_comm_Update" Module="In-Commerce" Type="0">VXBkYXRl</PHRASE>
+			<PHRASE Label="lu_comm_UpdateAddress" Module="In-Commerce" Type="0">VXBkYXRlIEFkZHJlc3M=</PHRASE>
+			<PHRASE Label="lu_comm_UpdateCart" Module="In-Commerce" Type="0">VXBkYXRlIENhcnQ=</PHRASE>
+			<PHRASE Label="lu_comm_UpdateCartItem" Module="In-Commerce" Type="0">VXBkYXRlIE9wdGlvbnM=</PHRASE>
+			<PHRASE Label="lu_comm_UpdateShipping" Module="In-Commerce" Type="0">VXBkYXRlIFNoaXBwaW5n</PHRASE>
+			<PHRASE Label="lu_comm_VAT" Module="In-Commerce" Type="0">U2FsZXMgVGF4L1ZBVA==</PHRASE>
+			<PHRASE Label="lu_comm_Version" Module="In-Commerce" Type="0">VmVyc2lvbg==</PHRASE>
+			<PHRASE Label="lu_comm_ViewRelatedProducts" Module="In-Commerce" Type="0">VmlldyBSZWxhdGVkIFByb2R1Y3Rz</PHRASE>
+			<PHRASE Label="lu_comm_ViewReviews" Module="In-Commerce" Type="0">VmlldyBjb21tZW50cw==</PHRASE>
+			<PHRASE Label="lu_comm_Welcome" Module="In-Commerce" Type="0">V2VsY29tZQ==</PHRASE>
+			<PHRASE Label="lu_comm_WishList" Module="In-Commerce" Type="0">V2lzaCBMaXN0</PHRASE>
+			<PHRASE Label="lu_comm_WishListText" Module="In-Commerce" Type="0">VGhlIGl0ZW1zIHlvdSBoYXZlIGFkZGVkIHRvIHRoZSB3aXNoIGxpc3Q=</PHRASE>
+			<PHRASE Label="lu_comm_Yes" Module="In-Commerce" Type="0">WWVz</PHRASE>
+			<PHRASE Label="lu_comm_Yesterday" Module="In-Commerce" Type="0">WWVzdGVyZGF5</PHRASE>
+			<PHRASE Label="lu_comm_YouHaveBackorderedItems" Module="In-Commerce" Type="0">WW91IGhhdmUgb25lIG9yIG1vcmUgYmFja29yZGVyZWQgaXRlbXMgb24geW91ciBzaG9wcGluZyBjYXJ0LiBQbGVhc2UsIHNlbGVjdCBvbmUgb2YgdGhlIGZvbGxvd2luZyBzaGlwbWVudCBvcHRpb24gdGhhdCBtaWd0aCBhZmZlY3QgeW91ciBzaGlwbWVudCBjb3N0</PHRASE>
+			<PHRASE Label="lu_comm_YourCart" Module="In-Commerce" Type="0">WW91ciBTaG9wcGluZyBDYXJ0</PHRASE>
+			<PHRASE Label="lu_comm_YourCartIsEmpty" Module="In-Commerce" Type="0">WW91ciBzaG9wcGluZyBjYXJ0IGlzIGVtcHR5</PHRASE>
+			<PHRASE Label="lu_comm_YourDownloadListEmpty" Module="In-Commerce" Type="0">WW91IGhhdmUgbm8gZG93bmxvYWRhYmxlIHByb2R1Y3RzIHB1cmNoYXNlZCB5ZXQu</PHRASE>
+			<PHRASE Label="lu_comm_YourDownloads" Module="In-Commerce" Type="0">WW91ciBEb3dubG9hZHM=</PHRASE>
+			<PHRASE Label="lu_comm_YourEmail" Module="In-Commerce" Type="0">WW91ciBlLW1haWw=</PHRASE>
+			<PHRASE Label="lu_comm_YourName" Module="In-Commerce" Type="0">WW91ciBuYW1l</PHRASE>
+			<PHRASE Label="lu_comm_YourPrice" Module="In-Commerce" Type="0">WW91ciBQcmljZQ==</PHRASE>
+			<PHRASE Label="lu_comm_YourReviewText" Module="In-Commerce" Type="0">RW50ZXIgeW91ciBjb21tZW50</PHRASE>
+			<PHRASE Label="lu_comm_YourWishList" Module="In-Commerce" Type="0">WW91ciBXaXNoIExpc3Q=</PHRASE>
+			<PHRASE Label="lu_comm_YourWishListEmpty" Module="In-Commerce" Type="0">WW91ciB3aXNoIGxpc3QgaXMgZW1wdHk=</PHRASE>
+			<PHRASE Label="lu_comm_ZipCode" Module="In-Commerce" Type="0">WmlwIGNvZGU=</PHRASE>
+			<PHRASE Label="lu_comm_ZoomImage" Module="In-Commerce" Type="0">Wm9vbSBJbWFnZQ==</PHRASE>
+			<PHRASE Label="lu_ContactInfo" Module="In-Commerce" Type="0">Q29udGFjdCBJbmZvcm1hdGlvbg==</PHRASE>
+			<PHRASE Label="lu_ContactInformation" Module="In-Commerce" Type="0">Q29udGFjdCBpbmZvcm1hdGlvbg==</PHRASE>
+			<PHRASE Label="lu_currentaffiliatepaymenttype" Module="In-Commerce" Type="0">UGF5bWVudCB0eXBl</PHRASE>
+			<PHRASE Label="lu_CustomerLogin" Module="In-Commerce" Type="0">Q3VzdG9tZXIgTG9naW4=</PHRASE>
+			<PHRASE Label="lu_cvv2_help" Module="In-Commerce" Type="0">VGhyZWUtZGlnaXQgbnVtYmVyIHByaW50ZWQgaW4gdGhlIHNpZ25hdHVyZSBzcGFjZSBvbiB0aGUgYmFjayBvZiBWSVNBLCBNYXN0ZXJDYXJkIGFuZCBEaXNjb3Zlci4gRm91ci1kaWdpdCBudW1iZXIgb24gdGhlIGZyb250IG9mIEFtZXJpY2FuIEV4cHJlc3M=</PHRASE>
+			<PHRASE Label="lu_DailyDeals" Module="In-Commerce" Type="0">RGFpbHkgRGVhbHM=</PHRASE>
+			<PHRASE Label="lu_description_Affiliate" Module="In-Commerce" Type="0">WW91ciBBZmZpbGlhdGUgQWNjb3VudCBJbmZvcm1hdGlvbg==</PHRASE>
+			<PHRASE Label="lu_description_MyAddresses" Module="In-Commerce" Type="0">TWFuYWdlIHlvdXIgc2hpcHBpbmcgYW5kIGJpbGxpbmcgYWRkcmVzc2VzIGhlcmU=</PHRASE>
+			<PHRASE Label="lu_description_MyDownloads" Module="In-Commerce" Type="0">UHVyY2hhc2VkIERvd25sb2Fkcw==</PHRASE>
+			<PHRASE Label="lu_description_MyOrders" Module="In-Commerce" Type="0">TGlzdCBvZiBwbGFjZWQgT3JkZXJz</PHRASE>
+			<PHRASE Label="lu_donthaveorders" Module="In-Commerce" Type="0">Tm8gb3JkZXJz</PHRASE>
+			<PHRASE Label="lu_donthavepayments" Module="In-Commerce" Type="0">Tm8gcGF5bWVudHM=</PHRASE>
+			<PHRASE Label="lu_donthavevisitors" Module="In-Commerce" Type="0">Tm8gdmlzaXRvcnM=</PHRASE>
+			<PHRASE Label="lu_EnterBillingAddress" Module="In-Commerce" Type="0">RW50ZXIgQmlsbGluZyBJbmZvcm1hdGlvbg==</PHRASE>
+			<PHRASE Label="lu_EnterShippingAddress" Module="In-Commerce" Type="0">U2hpcHBpbmcgQWRkcmVzcw==</PHRASE>
+			<PHRASE Label="lu_Fax" Module="In-Commerce" Type="0">RmF4</PHRASE>
+			<PHRASE Label="lu_ferror_rate_duplicate" Module="In-Commerce" Type="0">WW91IGhhdmUgYWxyZWFkeSByYXRlZCB0aGlzIHByb2R1Y3Qh</PHRASE>
+			<PHRASE Label="lu_field_descriptionex" Module="In-Commerce" Type="0">RGVzY3JpcHRpb24gZXhjZXJwdA==</PHRASE>
+			<PHRASE Label="lu_field_newproduct" Module="In-Commerce" Type="0">SXRlbSBJcyBhIE5ldyBQcm9kdWN0</PHRASE>
+			<PHRASE Label="lu_field_popproduct" Module="In-Commerce" Type="0">SXRlbSBJcyBhIFBvcHVsYXIgUHJvZHVjdA==</PHRASE>
+			<PHRASE Label="lu_field_price" Module="In-Commerce" Type="0">UHJpY2U=</PHRASE>
+			<PHRASE Label="lu_field_productid" Module="In-Commerce" Type="0">UHJvZHVjdCBJRA==</PHRASE>
+			<PHRASE Label="lu_field_producttitle" Module="In-Commerce" Type="0">VGl0bGU=</PHRASE>
+			<PHRASE Label="lu_field_sku" Module="In-Commerce" Type="0">U0tV</PHRASE>
+			<PHRASE Label="lu_fld_addedon" Module="In-Commerce" Type="0">QWRkZWQgb24=</PHRASE>
+			<PHRASE Label="lu_fld_AffiliateComments" Module="In-Commerce" Type="0">Q29tbWVudHM=</PHRASE>
+			<PHRASE Label="lu_fld_AffiliatePaymentType" Module="In-Commerce" Type="0">UGF5bWVudCB0eXBl</PHRASE>
+			<PHRASE Label="lu_fld_DownloadLink" Module="In-Commerce" Type="0">RG93bmxvYWQgTGluaw==</PHRASE>
+			<PHRASE Label="lu_fld_LastUsedAsBilling" Module="In-Commerce" Type="0">RGVmYXVsdCBCaWxsaW5nIEFkZHJlc3M=</PHRASE>
+			<PHRASE Label="lu_fld_LastUsedAsShipping" Module="In-Commerce" Type="0">RGVmYXVsdCBTaGlwcGluZyBBZGRyZXNz</PHRASE>
+			<PHRASE Label="lu_fld_manufacturer" Module="In-Commerce" Type="0">TWFudWZhY3R1cmVy</PHRASE>
+			<PHRASE Label="lu_fld_MSRP" Module="In-Commerce" Type="0">TVNSUA==</PHRASE>
+			<PHRASE Label="lu_fld_OurPrice" Module="In-Commerce" Type="0">T3VyIFByaWNl</PHRASE>
+			<PHRASE Label="lu_fld_RegisterAsAffiliate" Module="In-Commerce" Type="0">QmVjb21lIGFuIEFmZmlsaWF0ZQ==</PHRASE>
+			<PHRASE Label="lu_fld_ReturnTotal" Module="In-Commerce" Type="0">UmV0dXJucw==</PHRASE>
+			<PHRASE Label="lu_fld_SKU" Module="In-Commerce" Type="0">U0tV</PHRASE>
+			<PHRASE Label="lu_fld_SSNField" Module="In-Commerce" Type="0">U29jaWFsIFNlY3VyaXR5ICM=</PHRASE>
+			<PHRASE Label="lu_fld_YouSave" Module="In-Commerce" Type="0">WW91IFNhdmU=</PHRASE>
+			<PHRASE Label="lu_hint_OrEnterAddress" Module="In-Commerce" Type="0">b3IgZW50ZXIgbmV3IGFkZHJlc3M=</PHRASE>
+			<PHRASE Label="lu_hint_profileaddresswarning" Module="In-Commerce" Type="0">UHJvZmlsZSBhZGRyZXNz</PHRASE>
+			<PHRASE Label="lu_IfForgotPass" Module="In-Commerce" Type="0">SWYgeW91IGZvcmdvdCB5b3VyIHBhc3N3b3JkIGNsaWNr</PHRASE>
+			<PHRASE Label="lu_Items" Module="In-Commerce" Type="0">SXRlbXM=</PHRASE>
+			<PHRASE Label="lu_kg" Module="In-Commerce" Type="0">a2c=</PHRASE>
+			<PHRASE Label="lu_LastUsedAsBilling" Module="In-Commerce" Type="0">RGVmYXVsdCBCaWxsaW5nIEFkZHJlc3M=</PHRASE>
+			<PHRASE Label="lu_LastUsedAsShipping" Module="In-Commerce" Type="0">RGVmYXVsdCBTaGlwcGluZyBBZGRyZXNz</PHRASE>
+			<PHRASE Label="lu_Materials" Module="In-Commerce" Type="0">TWF0ZXJpYWxz</PHRASE>
+			<PHRASE Label="lu_min_qty_error" Module="In-Commerce" Type="0">T25lIG9yIG1vcmUgcHJvZHVjdCBpbiB5b3VyIGNhcnQgcmVxdWlyZXMgbWluaW11bSBxdWFudGl0eSBmb3IgcHVyY2hhc2UuIFlvdXIgY2FydCBoYXMgYmVlbiBhZGp1c3RlZCBhY2NvcmRpbmdseQ==</PHRASE>
+			<PHRASE Label="lu_more_products" Module="In-Commerce" Type="0">bW9yZQ==</PHRASE>
+			<PHRASE Label="lu_MultipleShippingTypes" Module="In-Commerce" Type="0">TXVsdGlwbGUgU2hpcHBpbmcgVHlwZXM=</PHRASE>
+			<PHRASE Label="lu_MyAddresses" Module="In-Commerce" Type="0">TXkgQWRkcmVzc2Vz</PHRASE>
+			<PHRASE Label="lu_MyDownloads" Module="In-Commerce" Type="0">TXkgRG93bmxvYWRz</PHRASE>
+			<PHRASE Label="lu_MyOrders" Module="In-Commerce" Type="0">TXkgT3JkZXJz</PHRASE>
+			<PHRASE Label="lu_noorders" Module="In-Commerce" Type="0">Tm8gb3JkZXJz</PHRASE>
+			<PHRASE Label="lu_NoProducts" Module="In-Commerce" Type="0">Tm8gUHJvZHVjdHM=</PHRASE>
+			<PHRASE Label="lu_NotAvailable" Module="In-Commerce" Type="0">bi9h</PHRASE>
+			<PHRASE Label="lu_opt_newaddress" Module="In-Commerce" Type="0">QWRkIG5ldyBhZGRyZXNz</PHRASE>
+			<PHRASE Label="lu_order_CompleteOrder" Module="In-Commerce" Type="0">UGxhY2UgT3JkZXI=</PHRASE>
+			<PHRASE Label="lu_otherproductsby" Module="In-Commerce" Type="0">T3RoZXIgcHJvZHVjdHMgYnk=</PHRASE>
+			<PHRASE Label="lu_ounces" Module="In-Commerce" Type="0">b3VuY2Vz</PHRASE>
+			<PHRASE Label="lu_paymentamount" Module="In-Commerce" Type="0">UGF5bWVudCBhbW91bnQ=</PHRASE>
+			<PHRASE Label="lu_paymentreference" Module="In-Commerce" Type="0">UGF5bWVudCByZWZlcmVuY2U=</PHRASE>
+			<PHRASE Label="lu_Payments" Module="In-Commerce" Type="0">UGF5bWVudHM=</PHRASE>
+			<PHRASE Label="lu_PleaseLogin" Module="In-Commerce" Type="0">UGxlYXNlIExvZ2lu</PHRASE>
+			<PHRASE Label="lu_pounds" Module="In-Commerce" Type="0">cG91bmRz</PHRASE>
+			<PHRASE Label="lu_ProductsUpdated" Module="In-Commerce" Type="0">UHJvZHVjdHMgdXBkYXRlZA==</PHRASE>
+			<PHRASE Label="lu_recommend_default_text" Module="In-Commerce" Type="0">SSB0aG91Z2h0IHlvdSBtaWdodCBiZSBpbnRlcmVzdGVkIGluIHRoaXMgaXRlbS4=</PHRASE>
+			<PHRASE Label="lu_recommend_product_confirm_text" Module="In-Commerce" Type="0">VGhhbmsgeW91IGZvciByZWNvbW1lbmRpbmcgdGhpcyBwcm9kdWN0LiBUaGUgZW1haWwgbWVzc2FnZSBoYXMgYmVlbiBzZW50IG91dC4=</PHRASE>
+			<PHRASE Label="lu_Recurring" Module="In-Commerce" Type="0">UmVjdXJyaW5n</PHRASE>
+			<PHRASE Label="lu_recurring_cancel" Module="In-Commerce" Type="0">Q2FuY2VsIFJlY3VycmluZyBPcmRlcg==</PHRASE>
+			<PHRASE Label="lu_recurring_charge_advance" Module="In-Commerce" Type="0">IGRheShzKSBpbiBhZHZhbmNlLg==</PHRASE>
+			<PHRASE Label="lu_recurring_next_charge" Module="In-Commerce" Type="0">SXQgd2lsbCBiZSBjaGFyZ2UgZm9yIHRoZSBzYW1lIHRvdGFsIGFtb3VudCBvbiA=</PHRASE>
+			<PHRASE Label="lu_recurring_notice" Module="In-Commerce" Type="0">VGhpcyBpcyBhIHJlY3VycmluZyBvcmRlci4=</PHRASE>
+			<PHRASE Label="lu_refererlink" Module="In-Commerce" Type="0">UmVmZXJyZXIgbGluaw==</PHRASE>
+			<PHRASE Label="lu_RegisterConfirmPending" Module="In-Commerce" Type="0">UmVnaXN0cmF0aW9uIENvbmZpcm1hdGlvbg==</PHRASE>
+			<PHRASE Label="lu_ReturningCustomers" Module="In-Commerce" Type="0">UmV0dXJuaW5nIGN1c3RvbWVycw==</PHRASE>
+			<PHRASE Label="lu_SameAsShipping" Module="In-Commerce" Type="0">U2FtZSBBcyBTaGlwcGluZyBBZGRyZXNz</PHRASE>
+			<PHRASE Label="lu_section_BillingInfo" Module="In-Commerce" Type="0">QmlsbGluZyBJbmZvcm1hdGlvbg==</PHRASE>
+			<PHRASE Label="lu_section_CostSummary" Module="In-Commerce" Type="0">Q29zdCBTdW1tYXJ5</PHRASE>
+			<PHRASE Label="lu_section_Files" Module="In-Commerce" Type="0">RmlsZXM=</PHRASE>
+			<PHRASE Label="lu_section_OrderTotal" Module="In-Commerce" Type="0">T3JkZXIgVG90YWw=</PHRASE>
+			<PHRASE Label="lu_section_ShippingInfo" Module="In-Commerce" Type="0">U2hpcHBpbmcgSW5mb3JtYXRpb24=</PHRASE>
+			<PHRASE Label="lu_shipping_Company" Module="In-Commerce" Type="0">Q29tcGFueQ==</PHRASE>
+			<PHRASE Label="lu_ship_all_available" Module="In-Commerce" Type="0">QWxsIGF2YWlsYWJsZSBpdGVtcw==</PHRASE>
+			<PHRASE Label="lu_ship_all_backordered" Module="In-Commerce" Type="0">QWxsIGJhY2tvcmRlcmVkIGl0ZW1z</PHRASE>
+			<PHRASE Label="lu_ship_backordered" Module="In-Commerce" Type="0">QmFja29yZGVyZWQ=</PHRASE>
+			<PHRASE Label="lu_ship_ItemsNumber" Module="In-Commerce" Type="0">TnVtYmVyIG9mIEl0ZW1z</PHRASE>
+			<PHRASE Label="lu_ship_Shipment" Module="In-Commerce" Type="0">U2hpcG1lbnQ=</PHRASE>
+			<PHRASE Label="lu_ship_ShippingType" Module="In-Commerce" Type="0">U2hpcHBpbmcgVHlwZQ==</PHRASE>
+			<PHRASE Label="lu_ship_ShippingWeight" Module="In-Commerce" Type="0">U2hpcHBpbmcgV2VpZ2h0</PHRASE>
+			<PHRASE Label="lu_ShoppingCart" Module="In-Commerce" Type="0">U2hvcHBpbmcgQ2FydA==</PHRASE>
+			<PHRASE Label="lu_SortProductsBy" Module="In-Commerce" Type="0">U29ydCBQcm9kdWN0cyBCeQ==</PHRASE>
+			<PHRASE Label="lu_SuggestRegister" Module="In-Commerce" Type="0">WW91IG1heSBmaWxsIGluIHRoZSBmb3JtIGJlbG93IHRvIHJlZ2lzdGVyLiBSZWdpc3RlcmluZyB3aWxsIGFsbG93IHlvdSB0byB1c2UgTXkgQWNjb3VudCBmZWF0dXJlcyBhbmQgc2ltcGxpZmllZCBjaGVja291dCBwcm9jZXNzIHRoZSBuZXh0IHRpbWUgeW91IHBsYWNlIGFuIG9yZGVyLg==</PHRASE>
+			<PHRASE Label="lu_TermsAndConditionsLink" Module="In-Commerce" Type="0">VGVybXMgYW5kIENvbmRpdGlvbnM=</PHRASE>
+			<PHRASE Label="lu_TermsAndConditionsText" Module="In-Commerce" Type="0">QWZmaWxpYXRlIGFncmVlbWVudCwgdGVybXMgJmFtcDthbXA7IGNvbmRpdGlvbnM=</PHRASE>
+			<PHRASE Label="lu_text_AddProductReviewConfirm" Module="In-Commerce" Type="0">VGhhbmsgeW91IGZvciBjb21tZW50aW5nIHRoaXMgcHJvZHVjdC4=</PHRASE>
+			<PHRASE Label="lu_text_AddProductReviewPendingConfirm" Module="In-Commerce" Type="0">VGhhbmsgeW91IGZvciBjb21tZW50aW5nIHRoaXMgcHJvZHVjdCAtIGl0J3MgcGVuZGluZyBmb3IgYWRtaW5pc3RyYXRpdmUgYXBwcm92YWwu</PHRASE>
+			<PHRASE Label="lu_text_ConfirmPasswordReset" Module="In-Commerce" Type="0">UGxlYXNlIGNvbmZpcm0gdGhhdCB5b3Ugd2FudCB0byByZXNldCB5b3VyIHBhc3N3b3JkLg==</PHRASE>
+			<PHRASE Label="lu_text_nofilesforthisproduct" Module="In-Commerce" Type="0">Tm8gZmlsZXMgYXZhaWxhYmxlLg==</PHRASE>
+			<PHRASE Label="lu_text_NoProductReviewPermission" Module="In-Commerce" Type="0">Tm8gcGVybWlzc2lvbnMgdG8gY29tbWVudCB0aGlzIHByb2R1Y3Qu</PHRASE>
+			<PHRASE Label="lu_text_WeAcceptCreditCards" Module="In-Commerce" Type="0">V2UgQWNjZXB0IENyZWRpdCBDYXJkcw==</PHRASE>
+			<PHRASE Label="lu_thankyouforbecomingaffiliate" Module="In-Commerce" Type="0">VGhhbmsgeW91IGZvciBiZWNvbWluZyBvdXIgYWZmaWxpYXRlLiBZb3UnbGwgcmVjZWl2aW5nIG1vbnRobHkgdXBkYXRlcyBieSBlbWFpbC4=</PHRASE>
+			<PHRASE Label="lu_title_AddProductReviewConfirm" Module="In-Commerce" Type="0">UHJvZHVjdCBDb21tZW50IEFkZGVk</PHRASE>
+			<PHRASE Label="lu_title_Affiliate" Module="In-Commerce" Type="0">QWZmaWxpYXRlIFByb2dyYW0=</PHRASE>
+			<PHRASE Label="lu_title_affiliatepaymenttype" Module="In-Commerce" Type="0">UGF5bWVuIFR5cGU=</PHRASE>
+			<PHRASE Label="lu_title_affiliatepaymenttypechanged" Module="In-Commerce" Type="0">UGF5bWVudCBUeXBlIENoYW5nZWQ=</PHRASE>
+			<PHRASE Label="lu_title_AffiliateRegistration" Module="In-Commerce" Type="0">QmVjb21lIGFuIEFmZmlsaWF0ZQ==</PHRASE>
+			<PHRASE Label="lu_title_affiliatestatistics" Module="In-Commerce" Type="0">QWZmaWxpYXRlIFN0YXRpc3RpY3M=</PHRASE>
+			<PHRASE Label="lu_title_affiliatestatisticsorders" Module="In-Commerce" Type="0">T3JkZXJzIFN0YXRpc3RpY3M=</PHRASE>
+			<PHRASE Label="lu_title_affiliatestatisticsvisits" Module="In-Commerce" Type="0">VmlzaXRvciBTdGF0aXN0aWNz</PHRASE>
+			<PHRASE Label="lu_title_cancelrecurring" Module="In-Commerce" Type="0">Q2FuY2VsIFJlb2NjdXJpbmcgQmlsbGluZw==</PHRASE>
+			<PHRASE Label="lu_title_CartIndicator" Module="In-Commerce" Type="0">U2hvcHBpbmcgQ2FydA==</PHRASE>
+			<PHRASE Label="lu_title_CheckoutSteps" Module="In-Commerce" Type="0">Q2hlY2tvdXQgU3RlcHM=</PHRASE>
+			<PHRASE Label="lu_title_comissionpayments" Module="In-Commerce" Type="0">Q29taXNzaW9uIFBheW1lbnRz</PHRASE>
+			<PHRASE Label="lu_title_ConfirmPasswordReset" Module="In-Commerce" Type="0">Q29uZmlybSBwYXNzd29yZCByZXNldA==</PHRASE>
+			<PHRASE Label="lu_title_CreditCards" Module="In-Commerce" Type="0">Q3JlZGl0IENhcmRz</PHRASE>
+			<PHRASE Label="lu_title_DailyDealsProducts" Module="In-Commerce" Type="0">RGFpbHkgRGVhbHM=</PHRASE>
+			<PHRASE Label="lu_title_FeaturedProducts" Module="In-Commerce" Type="0">RmVhdHVyZWQgUHJvZHVjdHM=</PHRASE>
+			<PHRASE Label="lu_title_MyDownloads" Module="In-Commerce" Type="0">TXkgRG93bmxvYWRz</PHRASE>
+			<PHRASE Label="lu_title_MyOrders" Module="In-Commerce" Type="0">TXkgT3JkZXJz</PHRASE>
+			<PHRASE Label="lu_title_NewProducts" Module="In-Commerce" Type="0">TmV3IFByb2R1Y3Rz</PHRASE>
+			<PHRASE Label="lu_title_OrderPreview" Module="In-Commerce" Type="0">T3JkZXIgUHJldmlldw==</PHRASE>
+			<PHRASE Label="lu_title_PickProducts" Module="In-Commerce" Type="0">RWRpdG9yJ3MgUGljayBQcm9kdWN0cw==</PHRASE>
+			<PHRASE Label="lu_title_PopularManufacturers" Module="In-Commerce" Type="0">UG9wdWxhciBCcmFuZHM=</PHRASE>
+			<PHRASE Label="lu_title_ProductDetails" Module="In-Commerce" Type="0">UHJvZHVjdCBEZXRhaWxz</PHRASE>
+			<PHRASE Label="lu_title_ProductFiles" Module="In-Commerce" Type="0">UHJvZHVjdCBGaWxlcw==</PHRASE>
+			<PHRASE Label="lu_title_Products" Module="In-Commerce" Type="0">UHJvZHVjdHM=</PHRASE>
+			<PHRASE Label="lu_title_productsbymanufacturer" Module="In-Commerce" Type="0">UHJvZHVjdHMgYnkgTWFudWZhY3R1cmVy</PHRASE>
+			<PHRASE Label="lu_title_ProductSearchResults" Module="In-Commerce" Type="0">UHJvZHVjdCBTZWFyY2ggUmVzdWx0cw==</PHRASE>
+			<PHRASE Label="lu_title_RecentlyViewedProducts" Module="In-Commerce" Type="0">UmVjZW50bHkgVmlld2Vk</PHRASE>
+			<PHRASE Label="lu_title_RegistrationCompleted" Module="In-Commerce" Type="0">U29ycnkuIE5ldyB1c2VyIHJlZ2lzdHJhdGlvbiBoYXMgYmVlbiBkaXNhYmxlZC4=</PHRASE>
+			<PHRASE Label="lu_title_RegistrationDisabled" Module="In-Commerce" Type="0">UmVnaXN0cmF0aW9uIERpc2FibGVk</PHRASE>
+			<PHRASE Label="lu_title_RelatedProducts" Module="In-Commerce" Type="0">UmVsYXRlZCBQcm9kdWN0cw==</PHRASE>
+			<PHRASE Label="lu_title_ReviewThisProduct" Module="In-Commerce" Type="0">Q29tbWVudCB0aGlzIHByb2R1Y3Q=</PHRASE>
+			<PHRASE Label="lu_title_ShippingOptions" Module="In-Commerce" Type="0">U2hpcHBpbmcgT3B0aW9ucw==</PHRASE>
+			<PHRASE Label="lu_title_ShoppingCart" Module="In-Commerce" Type="0">U2hvcHBpbmcgQ2FydA==</PHRASE>
+			<PHRASE Label="lu_title_SpecialsProducts" Module="In-Commerce" Type="0">U3BlY2lhbCBQcm9kdWN0cw==</PHRASE>
+			<PHRASE Label="lu_title_suggestuserregistration" Module="In-Commerce" Type="0">Tm90IGEgTWVtYmVyPw==</PHRASE>
+			<PHRASE Label="lu_title_TopSellerProducts" Module="In-Commerce" Type="0">VG9wIFNlbGxlcnM=</PHRASE>
+			<PHRASE Label="lu_title_TopSellers" Module="In-Commerce" Type="0">VG9wIFNlbGxlcnM=</PHRASE>
+			<PHRASE Label="lu_title_WishList" Module="In-Commerce" Type="0">WW91ciBXaXNoIExpc3Q=</PHRASE>
+			<PHRASE Label="lu_total" Module="In-Commerce" Type="0">VG90YWw=</PHRASE>
+			<PHRASE Label="lu_totalcommissionearned" Module="In-Commerce" Type="0">VG90YWwgY29tbWlzc2lvbnM=</PHRASE>
+			<PHRASE Label="lu_totalorderamount" Module="In-Commerce" Type="0">VG90YWwgb3JkZXJzIGFtb3VudA==</PHRASE>
+			<PHRASE Label="lu_totalorders" Module="In-Commerce" Type="0">VG90YWwgb3JkZXJz</PHRASE>
+			<PHRASE Label="lu_TotalProducts" Module="In-Commerce" Type="0">VG90YWwgcHJvZHVjdHM=</PHRASE>
+			<PHRASE Label="lu_totalvisitors" Module="In-Commerce" Type="0">VG90YWwgdmlzaXRvcnM=</PHRASE>
+			<PHRASE Label="lu_WhatIsThis" Module="In-Commerce" Type="0">V2hhdCBpcyB0aGlzPw==</PHRASE>
+			<PHRASE Label="lu_YourCart" Module="In-Commerce" Type="0">U2hvcHBpbmcgQ2FydA==</PHRASE>
+			<PHRASE Label="lu_YourCurrency" Module="In-Commerce" Type="0">Q3VycmVuY3k=</PHRASE>
+		</PHRASES>
+	</LANGUAGE>
+</LANGUAGES>
\ No newline at end of file
Index: themes/advanced/in-commerce/_install/theme.xml
===================================================================
--- themes/advanced/in-commerce/_install/theme.xml	(revision 0)
+++ themes/advanced/in-commerce/_install/theme.xml	(revision 0)
@@ -0,0 +1,4 @@
+<theme>
+	<section_design>in-commerce/designs/section</section_design>
+	<item_design>in-commerce/products/product_detail</item_design>
+</theme>
\ No newline at end of file
Index: themes/advanced/in-commerce/checkout/shipping.tpl
===================================================================
--- themes/advanced/in-commerce/checkout/shipping.tpl	(revision 0)
+++ themes/advanced/in-commerce/checkout/shipping.tpl	(revision 0)
@@ -0,0 +1,72 @@
+<!--##
+<NAME>Shipping step</NAME>
+<DESC>Shipping step where user enters his shipping inforamtion</DESC>
+<SECTION>Platform||Checkout</SECTION>
+##-->
+
+<inp2:m_RequireLogin condition="Comm_RequireLoginBeforeCheckout" login_template="platform/login/register"/> <!--## CHECK IF LOGIN REQUIRED ##-->
+<inp2:m_CheckSSL mode="required" condition="Require_SSL" /> <!--## CHECK IF SSL REQUIRED ##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_Phrase label="lu_comm_ShippingInfo"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/checkout_steps.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/recent_products.elm" design="blue_box" data_exists="1"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## /SIDE-BAR ELEMENT ##-->
+
+<!--## MAIN CONTENT ##-->
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_ShoppingCart" templates="in-commerce/checkout/shop_cart"/>
+		</div>
+		<div class="movable-element">
+			<script type="text/javascript">
+				function catchFormEnter(e, id)
+				{
+					if (typeof(e) == 'undefined') e = window.event;
+					if (!e) return;
+
+				 	if (e.keyCode == 13) { //enter
+				 		if (typeof(document.all) == 'undefined') e.preventDefault();
+				 		e.cancelBubble = true;
+						e.returnValue = false;
+
+				 		document.getElementById(id).focus();
+				 		document.getElementById(id).click();
+						return false;
+				 	}
+				}
+			</script>
+
+			<form method="post" onkeypress="catchFormEnter(event, 'events[ord][OnUpdate]')" action="<inp2:m_FormAction />">
+				<inp2:m_include template="in-commerce/elements/content_boxes/checkout/shipping_address.elm"/>
+				<inp2:m_include template="in-commerce/elements/content_boxes/checkout/shipping_options.elm"/>
+				<!--<inp2:m_include template="in-commerce/elements/content_boxes/checkout/shipping_calendar.elm"/>-->
+			</form>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## /MAIN CONTENT ##-->
+
+<!--## DESIGN TEMPLATE ##-->
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
+<!--## /DESIGN TEMPLATE ##-->
\ No newline at end of file
Index: themes/advanced/in-commerce/checkout/preview.tpl
===================================================================
--- themes/advanced/in-commerce/checkout/preview.tpl	(revision 0)
+++ themes/advanced/in-commerce/checkout/preview.tpl	(revision 0)
@@ -0,0 +1,62 @@
+<!--##
+<NAME>Order Preview</NAME>
+<DESC>Order Preview oage</DESC>
+<SECTION>Platform||Checkout</SECTION>
+##-->
+
+<inp2:m_RequireLogin condition="Comm_RequireLoginBeforeCheckout" login_template="platform/login/register"/> <!--## CHECK IF LOGIN REQUIRED ##-->
+<inp2:m_CheckSSL mode="required" condition="Require_SSL" /> <!--## CHECK IF SSL REQUIRED ##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_Phrase label="lu_comm_OrderPreview"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/checkout_steps.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/recent_products.elm" design="blue_box" data_exists="1"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## /SIDE-BAR ELEMENT ##-->
+
+<!--## MAIN CONTENT ##-->
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_ShoppingCart" templates="in-commerce/checkout/shop_cart"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement design="content_box">
+				<inp2:m_Capture to_var="header">
+					<inp2:m_Phrase label="lu_comm_OrderPreview"/>
+				</inp2:m_Capture>
+
+				<table width="100%" border="0" cellspacing="0" cellpadding="0">
+				<tr>
+					<td class="main-column-center">
+						<inp2:m_include template="in-commerce/elements/order_preview.elm"/>
+					</td>
+				</tr>
+				</table>
+			</inp2:m_RenderElement>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## /MAIN CONTENT ##-->
+
+<!--## DESIGN TEMPLATE ##-->
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
+<!--## /DESIGN TEMPLATE ##-->
Index: themes/advanced/in-commerce/checkout/shop_cart.tpl
===================================================================
--- themes/advanced/in-commerce/checkout/shop_cart.tpl	(revision 0)
+++ themes/advanced/in-commerce/checkout/shop_cart.tpl	(revision 0)
@@ -0,0 +1,325 @@
+<!--##
+<NAME>Shopping cart</NAME>
+<DESC>Shopping cart page</DESC>
+<SECTION>Platform||Checkout</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_Phrase label="lu_title_ShoppingCart"/><inp2:m_if check="orditems_TotalRecords"> (<inp2:orditems_TotalRecords/>)</inp2:m_if>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/checkout_steps.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/recent_products.elm" design="blue_box" data_exists="1"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## /SIDE-BAR ELEMENT ##-->
+
+<!--## MAIN CONTENT ##-->
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_ShoppingCart" templates="in-commerce/checkout/shop_cart"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement design="content_box">
+				<inp2:m_Capture to_var="header">
+					<inp2:m_Phrase label="lu_title_ShoppingCart"/><inp2:m_if check="orditems_TotalRecords"> (<inp2:orditems_TotalRecords/>)</inp2:m_if>
+				</inp2:m_Capture>
+
+				<form method="post" action="<inp2:m_FormAction />">
+
+				<inp2:m_if check="ord_CartHasError">
+					<table class="warning-message fullwidth">
+						<tr>
+							<td width="30">
+								<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/warning_icon.gif" width="21" height="18" alt=""/>
+							</td>
+							<td>
+								<inp2:m_phrase name="lu_Warning"/>
+							</td>
+						</tr>
+					</table>
+					<br />
+					<inp2:ord_CheckoutError state_changed="lu_comm_msg_state_changed" qty_unavailable="lu_comm_msg_qty_unavailable" outofstock="lu_comm_msg_outofstock"
+											coupon_applied="lu_comm_CouponApplied"
+											gift_certificate_applied="lu_comm_GiftCertificateApplied"
+											invalid_code="lu_comm_invalid_code" code_expired="lu_comm_code_expired"
+											min_qty="lu_min_qty_error" code_removed="lu_comm_CouponRemoved"
+											gc_code_removed="lu_comm_GiftCertificateRemoved"
+											code_removed_automatically="lu_comm_CouponIsNotEffective"
+											gc_code_removed_automatically="lu_comm_GiftCertificateIsNotEffective"
+											changed_after_login="lu_comm_CartChangedAfterLogin" /><br /><br />
+				</inp2:m_if>
+
+				<table class="fullwidth">
+					<inp2:m_DefineElement name="shop_cart_header">
+						<tr>
+							<td colspan="5">
+								<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="1" alt="" /></div>
+							</td>
+						</tr>
+						<tr class="sub-section-header">
+							<td><inp2:m_Phrase label="lu_comm_ProductDescription"/></td>
+							<td width="60"><inp2:m_Phrase label="lu_comm_YourPrice"/></td>
+							<td width="50"><inp2:m_Phrase label="lu_comm_Qty"/>.</td>
+							<td width="50"><inp2:m_Phrase label="lu_comm_Total"/></td>
+							<td width="25">&nbsp;</td>
+						</tr>
+						<tr>
+							<td colspan="5">
+								<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="1" alt="" /></div>
+							</td>
+						</tr>
+					</inp2:m_DefineElement>
+
+					<inp2:m_include template="in-commerce/elements/options_blocks.elm"/>
+
+					<inp2:m_DefineElement name="shop_cart_item">
+						<tr>
+							<td class="shopping-cart-cell-item-padding">
+
+								<table>
+									<tr>
+										<td class="shopping-cart-icpn-padding-right">
+											<img src="<inp2:m_TemplatesBase module="In-Commerce"/>img/shopping_cart_item.gif" width="16" height="14" alt="" />
+										</td>
+										<td>
+											<inp2:m_if check="FieldEquals" field="Virtual" value="0">
+												<a href="<inp2:ProductLink template="__default__"/>"><inp2:Field name="Name" /></a>
+												<inp2:m_if check="ord_FreePromoShippingAvailable">&nbsp;<sup><inp2:m_phrase label="lu_cart_FreeShippingAvailable" /></sup>
+												</inp2:m_if>
+											<inp2:m_else/>
+												<inp2:Field name="Name" />
+											</inp2:m_if>
+
+											<inp2:m_if check="ord_BackorderFlag"> <span class="error"><inp2:m_phrase label="lu_cart_BackorderFlag" /></span></inp2:m_if>
+											<inp2:m_if check="HasOptions">
+												<br/>
+												<span style="font-size: 8pt">
+												<inp2:m_if check="DisplayOptionsPricing">
+													<inp2:PrintOptions render_as="option_element" currency="selected"/>
+												<inp2:m_else/>
+													<inp2:PrintOptions render_as="option_element_no_price" currency="selected"/>
+												</inp2:m_if>
+												<inp2:m_if check="FieldEquals" field="OptionsSelectionMode" value="0">
+													<a href="<inp2:m_link template="__default__" pass="m,p,orditems"/>"><inp2:m_Phrase label="lu_comm_edit_options"/></a>
+												</inp2:m_if>
+												</span>
+											</inp2:m_if>
+											<inp2:m_if check="p_CustomField" name="Availability">
+												<br />
+												<inp2:p_CustomField name="Availability"/>
+											</inp2:m_if>
+											<inp2:m_if check="HasDiscount">
+												<br />
+												<inp2:m_Phrase label="lu_comm_RegularPrice" />: <inp2:Field name="FlatPrice" currency="selected"/><br />
+												<inp2:m_Phrase label="lu_comm_Discount" />: <span class="price1"><inp2:Field name="ItemDiscount" currency="selected" negative="1" /></span>
+												<!--<a href="javascript:showDiscountInfo('<inp2:ord_DiscountHelpLink template="in-commerce/checkout/discount_info" />')">[?]</a>-->
+											</inp2:m_if>
+
+										</td>
+									</tr>
+								</table>
+
+
+							</td>
+							<td class="shopping-cart-cell-item-padding"><strong><inp2:Field name="Price" currency="selected"/></strong></td>
+							<td class="shopping-cart-cell-item-padding">
+								<inp2:m_if check="IsTangible">
+
+									<inp2:m_if check="m_ModuleEnabled" module="In-Auction">
+										<inp2:m_if check="ebay-sections_IseBayItem">
+											<inp2:Field field="Quantity"/>
+										<inp2:m_else />
+											<input value="<inp2:Field field="Quantity"/>" style="width:20px" class="input-text" name="<inp2:InputName field="Quantity"/>" />
+										</inp2:m_if>
+									<inp2:m_else />
+										<input value="<inp2:Field field="Quantity"/>" style="width:20px" class="input-text" name="<inp2:InputName field="Quantity"/>" />
+									</inp2:m_if>
+									<!--<inp2:m_if check="ProductsInStock">
+										<inp2:m_Phrase name="lu_of"/> <inp2:ProductsInStock/>
+									</inp2:m_if>-->
+								<inp2:m_else />
+									1
+								</inp2:m_if>
+							</td>
+							<td class="shopping-cart-cell-item-padding"><strong><inp2:Field name="ExtendedPrice" currency="selected"/></strong></td>
+							<td class="shopping-cart-cell-item-padding" align="center">
+								<inp2:m_if check="m_ModuleEnabled" module="In-Auction">
+									<inp2:m_if check="ebay-sections_IseBayItem">
+										&nbsp;
+									<inp2:m_else />
+										<a href="<inp2:LinkRemoveFromCart/>"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/delete.gif" title="Delete" alt="Delete" width="8" height="10" border="0" /></a>
+									</inp2:m_if>
+								<inp2:m_else />
+									<a href="<inp2:LinkRemoveFromCart/>"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/delete.gif" title="Delete" alt="Delete" width="8" height="10" border="0" /></a>
+								</inp2:m_if>
+							</td>
+						</tr>
+						<tr>
+							<td colspan="5">
+								<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="1" alt="" /></div>
+							</td>
+						</tr>
+					</inp2:m_DefineElement>
+
+
+					<inp2:m_DefineElement name="shop_cart_footer">
+					</table>
+
+					<table width="100%">
+						<tr >
+							<td class="cart-subtotal">
+								<table width="100%">
+								<inp2:m_if check="ord_HasDiscount">
+									<tr>
+										<td>
+											<strong><inp2:m_Phrase label="lu_comm_TotalSavings" />:</strong>&nbsp;
+										</td>
+										<td>
+											<span class="price1"><strong><inp2:ord_Field name="DiscountTotal" currency="selected" /></strong></span>
+										</td>
+									</tr>
+									<tr>
+										<td colspan="2">
+											<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="5" alt="" />
+										</td>
+									</tr>
+								</inp2:m_if>
+								<inp2:m_if check="ord_Field" name="CouponId">
+									<tr>
+										<td>
+											<inp2:m_Phrase label="lu_comm_CouponHasBeenApplied" />:&nbsp;
+										</td>
+										<td>
+											<inp2:ord_Field field="CouponName" />&nbsp;&nbsp;
+
+											<a href="<inp2:ord_RemoveCouponLink type="coupon"/>"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/delete.gif" title="<inp2:m_Phrase label="lu_comm_RemoveCoupon" no_editing="1"/>" alt="<inp2:m_Phrase label="lu_comm_RemoveCoupon" no_editing="1"/>" width="8" height="10" border="0" /></a>
+										</td>
+									</tr>
+								<inp2:m_else />
+									<tr>
+										<td><inp2:m_Phrase label="lu_comm_EnterCouponCode" />:&nbsp;</td>
+										<td><input size="15" class="input-text"  name="coupon_code" /></td>
+									</tr>
+								</inp2:m_if>
+								<tr>
+									<td colspan="2">
+										<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="3" alt="" />
+									</td>
+								</tr>
+								<inp2:m_if check="ord_Field" name="GiftCertificateId">
+									<tr>
+										<td><inp2:m_Phrase label="lu_comm_GiftCertificateHasBeenApplied" />:&nbsp;</td>
+										<td>
+											<inp2:ord_Field field="GiftCertificateDiscount" currency="selected" />&nbsp;&nbsp;
+											<a href="<inp2:ord_RemoveCouponLink type="gift_certificate"/>"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/delete.gif" title="<inp2:m_Phrase label="lu_comm_RemoveGiftCertificate" no_editing="1"/>" alt="<inp2:m_Phrase label="lu_comm_RemoveGiftCertificate" no_editing="1"/>" width="8" height="10" border="0" /></a>
+										</td>
+									</tr>
+								<inp2:m_else />
+									<tr>
+										<td><inp2:m_Phrase label="lu_comm_EnterGiftCertificateCode" />:&nbsp;</td>
+										<td><input size="15" class="input-text"  name="giftcert_code" /></td>
+									</tr>
+								</inp2:m_if>
+								</table>
+							</td>
+							<td class="cart-subtotal" align="right">
+								<span class="cart-subtotal-text"><inp2:m_Phrase label="lu_comm_Subtotal"/>: <inp2:ord_Field field="SubtotalWithDiscount" currency="selected"/></span>
+							</td>
+						</tr>
+						<tr>
+							<td colspan="2">
+								<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="2" alt="" /><br />
+								<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="1" alt="" /></div>
+							</td>
+						</tr>
+						<input type="hidden" name="next_step_template" value="<inp2:m_if check="ord_OrderHasTangibleItems">in-commerce/checkout/shipping<inp2:m_else/>in-commerce/checkout/billing</inp2:m_if>" />
+						<tr>
+							<td class="shopping-cart-button-padding">
+								<input class="button" type="submit" name="events[ord][OnUpdateCart]" value="<inp2:m_Phrase label="lu_comm_UpdateCart" no_editing="1"/>" />
+								&nbsp;
+								<input class="button" type="submit" name="events[ord][OnCleanupCart]" onclick="return confirm('<inp2:m_Phrase label="lu_comm_ClearCartConfirmation" />')" value="<inp2:m_Phrase label="lu_comm_CleanupCart" no_editing="1"/>" />
+							</td>
+							<td class="shopping-cart-button-padding" align="right">
+
+								<input type="hidden" name="continue_shopping_template" value="__default__"/>
+								<input class="button" type="submit" name="events[ord][OnContinueShopping]" value="<inp2:m_Phrase label="lu_comm_Continue_Shopping" no_editing="1"/>">
+								&nbsp;
+								<input class="button" type="submit" name="events[ord][OnCheckout]" value="<inp2:m_Phrase label="lu_comm_ProceedCheckout" no_editing="1"/>" />
+							</td>
+						</tr>
+					</inp2:m_DefineElement>
+
+					<inp2:m_DefineElement name="shop_cart_empty">
+						<tr>
+							<td>
+								<strong><inp2:m_Phrase label="lu_comm_YourCartIsEmpty"/></strong>
+							</td>
+						</tr>
+					</inp2:m_DefineElement>
+
+					<script language="JavaScript">
+					function showDiscountInfo(url)
+					{
+						window.open(url, null, 'scrollbars=no,menubar=no,toolbars=no,width=300,height=150');
+					}
+					</script>
+
+					<inp2:ord_PrintCart item_render_as="shop_cart_item" header_render_as="shop_cart_header" footer_render_as="shop_cart_footer" empty_cart_render_as="shop_cart_empty" per_page="-1"/>
+				</table>
+				</form>
+
+				<inp2:m_if check="ord_CartNotEmpty">
+					<inp2:m_if check="ord_HasPaymentGateway" name="Google Checkout">
+						<inp2:m_DefineElement name="google_checkout_button">
+							<form method="POST" target="_blank" action="<inp2:ord_GetFormAction payment_type_id="$payment_type_id"/>">
+								<inp2:ord_GetFormHiddenFields return_template="in-commerce/checkout/checkout_success"
+															  cancel_template="in-commerce/checkout/billing"
+															  payment_type_id="$payment_type_id"/>
+
+								<inp2:m_if check="m_Param" name="submit_url" equals_to="https://checkout.google.com/api/checkout/v2">
+									<input type="image" name="Google Checkout" alt="Fast checkout through Google"
+							        	src="https://checkout.google.com/buttons/checkout.gif?merchant_id=<inp2:m_Param name="merchant_id"/>
+							              &w=180&h=46&style=white&variant=text&loc=en_US" height="46" width="180">
+								<inp2:m_else/>
+									<input type="image" name="Google Checkout" alt="Fast checkout through Google"
+							        src="http://sandbox.google.com/checkout/buttons/checkout.gif?merchant_id=<inp2:m_Param name="merchant_id"/>
+							              &w=180&h=46&style=white&variant=text&loc=en_US" height="46" width="180">
+								</inp2:m_if>
+							</form>
+						</inp2:m_DefineElement>
+
+						<inp2:ord_DisplayPaymentGateway name="Google Checkout" render_as="google_checkout_button"/>
+					</inp2:m_if>
+				</inp2:m_if>
+			</inp2:m_RenderElement>
+		</div>
+
+		<div class="movable-element">
+			<inp2:m_if check="ord_CartIsEmpty">
+				<inp2:m_include template="in-commerce/elements/content_boxes/pick_products.elm"/>
+			</inp2:m_if>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## /MAIN CONTENT ##-->
+
+<!--## DESIGN TEMPLATE ##-->
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
+<!--## /DESIGN TEMPLATE ##-->
Index: themes/advanced/in-commerce/checkout/cvv2help.tpl
===================================================================
--- themes/advanced/in-commerce/checkout/cvv2help.tpl	(revision 0)
+++ themes/advanced/in-commerce/checkout/cvv2help.tpl	(revision 0)
@@ -0,0 +1,46 @@
+<!--##
+<NAME>CVV2 Help page</NAME>
+<DESC>Page that explains about CVV2 code</DESC>
+<SECTION>Platform||Checkout</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_Phrase label="lu_comm_CVV2HELP"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/recent_products.elm" design="blue_box" data_exists="1"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## SIDE-BAR ELEMENT ##-->
+
+<!--## MAIN CONTENT ##-->
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement design="content_box">
+				<inp2:m_Capture to_var="header">
+					<inp2:m_Phrase label="lu_comm_CVV2HELP"/>
+				</inp2:m_Capture>
+				CVV2HELP TPL
+			</inp2:m_RenderElement>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## /MAIN CONTENT ##-->
+
+<!--## DESIGN TEMPLATE ##-->
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
+<!--## /DESIGN TEMPLATE ##-->
\ No newline at end of file
Index: themes/advanced/in-commerce/checkout/checkout_success.tpl
===================================================================
--- themes/advanced/in-commerce/checkout/checkout_success.tpl	(revision 0)
+++ themes/advanced/in-commerce/checkout/checkout_success.tpl	(revision 0)
@@ -0,0 +1,57 @@
+<!--##
+<NAME>Checkout Success step</NAME>
+<DESC>After payment received and approved</DESC>
+<SECTION>Platform||Checkout</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_Phrase label="lu_comm_OrderCompleted"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/recent_products.elm" design="blue_box" data_exists="1"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## /SIDE-BAR ELEMENT ##-->
+
+<!--## MAIN CONTENT ##-->
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_ShoppingCart" templates="in-commerce/checkout/shop_cart"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement design="content_box">
+				<inp2:m_Capture to_var="header">
+					<inp2:m_Phrase label="lu_comm_OrderCompleted"/>
+				</inp2:m_Capture>
+
+				<inp2:m_Phrase label="lu_comm_ThankYou"/>!
+				<br/>
+				<inp2:m_Phrase label="lu_comm_OrderSuccessfullyPlaced"/>
+			</inp2:m_RenderElement>
+
+			<inp2:m_if check="u_SuggestRegister">
+				<inp2:m_include template="in-commerce/elements/content_boxes/checkout/form_register.elm"/>
+			</inp2:m_if>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## /MAIN CONTENT ##-->
+
+<!--## DESIGN TEMPLATE ##-->
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
+<!--## /DESIGN TEMPLATE ##-->
+
Index: themes/advanced/in-commerce/checkout/billing.tpl
===================================================================
--- themes/advanced/in-commerce/checkout/billing.tpl	(revision 0)
+++ themes/advanced/in-commerce/checkout/billing.tpl	(revision 0)
@@ -0,0 +1,77 @@
+<!--##
+<NAME>Billing step</NAME>
+<DESC>Billing step where user enters the payment inforamtion</DESC>
+<SECTION>Platform||Checkout</SECTION>
+##-->
+
+<inp2:m_RequireLogin condition="Comm_RequireLoginBeforeCheckout" login_template="platform/login/register"/> <!--## CHECK IF LOGIN REQUIRED ##-->
+<inp2:m_CheckSSL mode="required" condition="Require_SSL" /> <!--## CHECK IF SSL REQUIRED ##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_Phrase label="lu_comm_BillingInfo"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/checkout_steps.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/recent_products.elm" design="blue_box" data_exists="1"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## /SIDE-BAR ELEMENT ##-->
+
+<!--## MAIN CONTENT ##-->
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_ShoppingCart" templates="in-commerce/checkout/shop_cart"/>
+		</div>
+		<div class="movable-element">
+			<table width="100%" border="0" cellspacing="0" cellpadding="0">
+				<tr>
+					<td class="main-column-center">
+						<script type="text/javascript">
+							function catchFormEnter(e, id)
+							{
+								if (typeof(e) == 'undefined')	e = window.event;
+								if (!e) return;
+
+							 	if (e.keyCode == 13) { //enter
+							 		if (typeof(document.all) == 'undefined') e.preventDefault();
+							 		e.cancelBubble = true;
+									e.returnValue = false;
+
+							 		document.getElementById(id).focus();
+							 		document.getElementById(id).click();
+									return false;
+							 	}
+							}
+						</script>
+
+						<form id="billing_info" method="post" onkeypress="catchFormEnter(event, 'events[ord][OnUpdate]')" action="<inp2:m_FormAction />">
+							<inp2:m_include template="in-commerce/elements/content_boxes/checkout/billing_address.elm"/>
+							<inp2:m_include template="in-commerce/elements/content_boxes/checkout/billing_options.elm"/>
+						</form>
+					</td>
+				</tr>
+			</table>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## /MAIN CONTENT ##-->
+
+<!--## DESIGN TEMPLATE ##-->
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
+<!--## /DESIGN TEMPLATE ##-->
\ No newline at end of file
Index: themes/advanced/in-commerce/elements/registration_fields.elm.tpl
===================================================================
--- themes/advanced/in-commerce/elements/registration_fields.elm.tpl	(revision 0)
+++ themes/advanced/in-commerce/elements/registration_fields.elm.tpl	(revision 0)
@@ -0,0 +1,40 @@
+	<!--## AFFILIATE REGISTRATION CHECKBOX ##-->
+	<inp2:m_if check="m_ConfigEquals" option="Comm_RegisterAsAffiliate" value="1">
+
+		<inp2:m_RenderElement name="inp_edit_field_separator" is_last="0"/>
+
+		<tr class="<inp2:m_odd_even odd="table_color1" even="table_color2"/>">
+			<inp2:m_inc param="tab_index" by="1"/>
+			<td class="field-name">
+				<label for="RegisterAsAffiliate">
+					<inp2:m_phrase label="lu_fld_RegisterAsAffiliate"/>:
+				</label>
+			</td>
+			<td class="field-value">
+				<input tabindex="<inp2:m_get param="tab_index"/>" type="checkbox" id="RegisterAsAffiliate" name="RegisterAsAffiliate" onchange="toggle_affiliate()" <inp2:m_if check="m_GetEquals" name="RegisterAsAffiliate" value="on">checked</inp2:m_if>/>
+				<input class="hidden-element" type="submit" id="events[u][OnRefreshForm]" name="events[u][OnRefreshForm]" />
+			</td>
+		</tr>
+
+		<inp2:m_if check="m_GetEquals" name="RegisterAsAffiliate" value="on">
+			<inp2:m_RenderElement name="inp_edit_field_separator" is_last="0"/>
+		</inp2:m_if>
+
+	</inp2:m_if>
+	<!--## /AFFILIATE REGISTRATION CHECKBOX ##-->
+
+	<inp2:m_if check="m_GetEquals" name="RegisterAsAffiliate" value="on">
+		<inp2:m_include template="in-commerce/elements/forms.elm"/>
+
+		<inp2:m_RenderElement name="inp_affiliate_box" field="SSN" title="lu_fld_SSNField" required="1"/>
+		<inp2:m_RenderElement name="inp_affiliate_payment_types" field="PaymentTypeId" title="lu_fld_AffiliatePaymentType"/>
+		<inp2:m_RenderElement name="inp_affiliate_textarea" field="Comments" title="lu_fld_AffiliateComments" cols="35" rows="5"/>
+
+		<inp2:m_RenderElement name="inp_affiliate_terms_checkbox"/>
+	</inp2:m_if>
+
+<script type="text/javascript">
+	function toggle_affiliate() {
+		document.getElementById('events[u][OnRefreshForm]').click();
+	}
+</script>
\ No newline at end of file
Index: themes/advanced/in-commerce/elements/affiliates.elm.tpl
===================================================================
--- themes/advanced/in-commerce/elements/affiliates.elm.tpl	(revision 0)
+++ themes/advanced/in-commerce/elements/affiliates.elm.tpl	(revision 0)
@@ -0,0 +1,151 @@
+<!--## NO PAYMENTS ELEMENT ##-->
+<inp2:m_DefineElement name="no_payments">
+	<inp2:m_Phrase label="lu_DontHavePayments"/>
+</inp2:m_DefineElement>
+<!--## /NO PAYMENTS ELEMENT ##-->
+
+<!--## NO VISITORS ELEMENT ##-->
+<inp2:m_DefineElement name="no_visitors">
+	<inp2:m_include template="in-commerce/elements/affiliate_date_filter.elm" prefix="visits.incommerce" field="VisitDate" grid_name="visitsincommerce"/>
+
+	<inp2:m_Phrase label="lu_DontHaveVisitors"/>
+</inp2:m_DefineElement>
+<!--## /NO VISITORS ELEMENT ##-->
+
+<!--## NO ORDERS ELEMENT ##-->
+<inp2:m_DefineElement name="no_orders">
+	<inp2:m_include template="in-commerce/elements/affiliate_date_filter.elm" prefix="visits.incommerce" field="VisitDate" grid_name="visitsincommerce"/>
+
+	<inp2:m_Phrase label="lu_DontHaveOrders"/>
+</inp2:m_DefineElement>
+<!--## /NO ORDERS ELEMENT ##-->
+
+<!--## PAYMENT ELEMENT ##-->
+<inp2:m_DefineElement name="payment_element">
+	<tr class="listing-row">
+		<td><inp2:Field field="PaymentDate" /></td>
+		<td><inp2:Field field="PaymentReference" /></td>
+		<td>
+			<strong><inp2:Field field="Amount" currency="selected"/></strong>
+		</td>
+	</tr>
+	<inp2:m_RenderElement name="separator" colspan="4"/>
+</inp2:m_DefineElement>
+<!--## /PAYMENT ELEMENT ##-->
+
+<!--## AFF. VISITS INFO ELEMENT ##-->
+<inp2:m_DefineElement name="affiliate_visits_info">
+	<tr class="listing-row">
+		<td>&nbsp;</td>
+		<td>&nbsp;</td>
+		<td>&nbsp;</td>
+		<td>
+			<strong><inp2:m_Phrase label="lu_Total"/>:<inp2:m_param name="OrderTotalAmount" /></strong>
+		</td>
+		<td>
+			<strong><inp2:m_Phrase label="lu_Total"/>:<inp2:m_param name="OrderAffiliateCommission" /></strong>
+		</td>
+	</tr>
+</inp2:m_DefineElement>
+<!--## /AFF. VISITS INFO ELEMENT ##-->
+
+<!--## AFF. ORDERS ELEMENT ##-->
+<inp2:m_DefineElement name="affiliate_orders_info">
+	<tr class="listing-row">
+		<td>&nbsp;</td>
+		<td>&nbsp;</td>
+		<td>
+			<inp2:m_Phrase label="lu_Total"/>:
+			<inp2:m_param name="OrderTotalAmount" />
+		</td>
+		<td>
+			<inp2:m_Phrase label="lu_Total"/>:
+			<inp2:m_param name="OrderAffiliateCommission" />
+		</td>
+	</tr>
+</inp2:m_DefineElement>
+<!--## /AFF. ORDERS ELEMENT ##-->
+
+<!--## MY VISITOR ELEMENT ##-->
+<inp2:m_DefineElement name="my_visitor_element">
+	<tr class="listing-row">
+		<td><inp2:Field field="VisitDate" format="_regional_DateFormat"/></td>
+		<td>
+			<inp2:m_if check="FieldEquals" field="Referer" value="">
+				<inp2:m_Phrase label="lu_visit_DirectReferer"/>
+			<inp2:m_else/>
+				<div style="overflow: hidden"><a href="<inp2:Field field="Referer"/>"><inp2:m_Phrase label="lu_RefererLink"/></a></div>
+			</inp2:m_if>
+		</td>
+		<td><inp2:Field field="OrderCountByVisit" /></td>
+		<td>
+			<inp2:Field field="OrderTotalAmountSum" currency="selected"/>
+		</td>
+		<td>
+			<inp2:Field field="OrderAffiliateCommissionSum" currency="selected"/>
+		</td>
+	</tr>
+	<inp2:m_RenderElement name="separator" colspan="5"/>
+</inp2:m_DefineElement>
+<!--## /MY VISITOR ELEMENT ##-->
+
+<!--## MY ORDER ELEMENT ##-->
+<inp2:m_DefineElement name="my_order_element">
+	<tr class="listing-row">
+		<td><inp2:Field field="VisitDate" format="_regional_DateFormat"/></td>
+		<td><inp2:Field field="OrderNumber"/></td>
+		<td>
+			<strong><inp2:Field field="OrderTotalAmount" currency="selected"/></strong>
+		</td>
+		<td>
+			<strong><inp2:Field field="OrderAffiliateCommission" currency="selected"/></strong>
+		</td>
+	</tr>
+	<inp2:m_RenderElement name="separator" colspan="4"/>
+</inp2:m_DefineElement>
+<!--## /MY VISITOR ELEMENT ##-->
+
+<inp2:m_DefineElement name="separator" colspan="0">
+	<tr>
+		<td colspan="<inp2:m_param name="colspan" />">
+			<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="3" height="1" alt=""/><br /></div>
+		</td>
+	</tr>
+</inp2:m_DefineElement>
+
+<!--## AFF. INFO TR ELEMENT ##-->
+<inp2:m_DefineElement name="affiliate_info_tr" type="">
+	<tr class="listing-row">
+		<td width="25%"><inp2:m_phrase label="$title"/></td>
+		<td width="25%"><inp2:m_param name="param" /></td>
+		<td align="left">
+			<a href="<inp2:m_Link template="in-commerce/my_account/affiliate/affiliate_statistics_{$type}_list"/>"><inp2:m_Phrase label="lu_details"/></a>
+		</td>
+	</tr>
+</inp2:m_DefineElement>
+<!--## /AFF. INFO TR ELEMENT ##-->
+
+<!--## AFF. INFO ELEMENT ##-->
+<inp2:m_DefineElement name="affiliate_info">
+	<table class="fullwidth">
+		<tr>
+			<td align="center">
+				<table width="400">
+					<inp2:m_RenderElement name="separator" colspan="3"/>
+					<inp2:m_RenderElement name="affiliate_info_tr" title="lu_TotalVisitors" param="$TotalVisitors" type="visits"/>
+					<inp2:m_RenderElement name="separator" colspan="3"/>
+
+					<inp2:m_RenderElement name="affiliate_info_tr" title="lu_TotalOrders" param="$OrderCount" type="orders"/>
+					<inp2:m_RenderElement name="separator" colspan="3"/>
+
+					<inp2:m_RenderElement name="affiliate_info_tr" title="lu_TotalOrderAmount" param="$OrderTotalAmount" type="orders"/>
+					<inp2:m_RenderElement name="separator" colspan="3"/>
+
+					<inp2:m_RenderElement name="affiliate_info_tr" title="lu_TotalCommissionEarned" param="$OrderAffiliateCommission" type="orders"/>
+					<inp2:m_RenderElement name="separator" colspan="3"/>
+				</table>
+			</td>
+		</tr>
+	</table>
+</inp2:m_DefineElement>
+<!--## /AFF. INFO ELEMENT ##-->
\ No newline at end of file
Index: themes/advanced/in-commerce/elements/.smsignore
===================================================================
--- themes/advanced/in-commerce/elements/.smsignore	(revision 0)
+++ themes/advanced/in-commerce/elements/.smsignore	(revision 0)
@@ -0,0 +1 @@
+.*\.xml\.tpl
\ No newline at end of file
Index: themes/advanced/in-commerce/elements/product_files.elm.tpl
===================================================================
--- themes/advanced/in-commerce/elements/product_files.elm.tpl	(revision 0)
+++ themes/advanced/in-commerce/elements/product_files.elm.tpl	(revision 0)
@@ -0,0 +1,44 @@
+<!--## PRODUCTS FILE ELEMENT ##-->
+<inp2:m_DefineElement name="product_file_element">
+	<inp2:m_if check="p_UniqueFileName">
+		<tr>
+			<td><inp2:m_Phrase label="lu_fld_Name"/>:</td>
+			<td><inp2:Field name="Name"/></td>
+		</tr>
+	</inp2:m_if>
+
+	<tr>
+		<td><inp2:m_Phrase label="lu_fld_FileName"/>:</td>
+		<td><a href="<inp2:p_ProductFileLink template="in-commerce/elements/download.elm"/>"><inp2:Field name="FilePath"/></a></td>
+	</tr>
+
+	<inp2:m_if check="Field" name="Version">
+		<tr>
+			<td><inp2:m_Phrase label="lu_fld_Version"/>:</td>
+			<td><inp2:Field name="Version"/></td>
+		</tr>
+	</inp2:m_if>
+
+	<tr>
+		<td><inp2:m_Phrase label="lu_fld_Size"/>:</td>
+		<td><inp2:Field name="Size" /></td>
+	</tr>
+
+	<tr>
+		<td><inp2:m_Phrase label="lu_fld_AddedOn"/>:</td>
+		<td><inp2:Field name="AddedOn" format="_regional_DateFormat"/></td>
+	</tr>
+
+	<tr>
+		<td><inp2:m_Phrase label="lu_fld_DownloadLink"/>:</td>
+		<td><a href="<inp2:p_ProductFileLink template="in-commerce/elements/download.elm"/>"><inp2:m_Phrase label="lu_btn_DownloadNow" /></a></td>
+	</tr>
+
+	<tr>
+		<td colspan="2">
+			<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="4" alt="" /><br />
+			<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="1" alt="" /><br /></div>
+		</td>
+	</tr>
+</inp2:m_DefineElement>
+<!--## /PRODUCTS FILE ELEMENT ##-->
\ No newline at end of file
Index: themes/advanced/in-commerce/elements/products.elm.tpl
===================================================================
--- themes/advanced/in-commerce/elements/products.elm.tpl	(revision 0)
+++ themes/advanced/in-commerce/elements/products.elm.tpl	(revision 0)
@@ -0,0 +1,386 @@
+<!--## PRODUCT ELEMENT ##-->
+<inp2:m_DefineElement name="product_element">
+	<td>
+		<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="1" alt="" /><br /></div>
+		<table>
+			<tr>
+				<td class="picture-padding">
+					<inp2:m_if check="m_Param" name="show_relevance">
+						<inp2:RelevanceIndicator on_color="Red" off_color="White" relevance_normal_render_as="search_relevance_normal" relevance_full_render_as="search_relevance_full" /><br/>
+					</inp2:m_if>
+
+					<table>
+					<tr><td align="center">
+					<a href="<inp2:ProductLink template="__default__"/>" title="<inp2:Field name="Name" html_escape="1"/>"><inp2:Image render_as="image_element" primary="1" thumbnail="1" DefaultImage="platform/img/no_picture.gif" MaxWidth="thumbnail" DefaultWidth="150"/></a><br />
+					</td></tr>
+					<tr><td align="center">
+					<inp2:m_if check="Available">
+						<br/>
+						<input class="button" onclick=" window.location.href='<inp2:AddToCartLink template="in-commerce/checkout/shop_cart" product_template="__default__"/>' " type="button" value="<inp2:m_Phrase label="lu_btn_BuyNow" no_editing="1"/>" />
+					<inp2:m_else />
+						<inp2:m_phrase label="lu_comm_outofstock"/>
+					</inp2:m_if>
+					</td></tr>
+					</table>
+				</td>
+				<td class="text-padding" valign="top" >
+					<a href="<inp2:ProductLink template="__default__"/>" class="text-title"><inp2:Field name="Name"/></a>
+
+					<inp2:m_if check="Field" name="IsHot"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_hot.gif" alt="<inp2:m_Phrase name="lu_Hot" no_editing="1"/>"/></inp2:m_if>
+					<inp2:m_if check="Field" name="IsNew"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_new.gif" alt="<inp2:m_Phrase name="lu_New" no_editing="1"/>"/></inp2:m_if>
+					<inp2:m_if check="Field" name="IsPop"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_popular.gif" alt="<inp2:m_Phrase name="lu_Pop" no_editing="1"/>"/></inp2:m_if>
+					<inp2:m_if check="IsEditorsPick"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_pick.gif" alt="<inp2:m_Phrase name="lu_Pick" no_editing="1"/>"/></inp2:m_if>
+					<inp2:m_if check="IsFavorite"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_favorite.gif" alt="<inp2:m_Phrase name="lu_Favorite" no_editing="1"/>"/></inp2:m_if>
+					<inp2:VotesIndicator render_as="rating_element"/>
+
+					<inp2:m_if check="Available">
+						<a href="<inp2:AddToCartLink template="in-commerce/checkout/shop_cart" product_template="__default__"/>"><img src="<inp2:m_TemplatesBase module="In-Commerce"/>img/buy2.gif" alt="<inp2:m_Phrase name="" no_editing="1"/>"/></a>
+					</inp2:m_if>
+
+					<br />
+
+					<span class="item-statistics">
+						<inp2:m_phrase name="lu_Reviews"/>: <inp2:Field name="CachedReviewsQty"/>,
+						<inp2:m_phrase name="lu_Rating"/>: <inp2:Field name="CachedRating"/>,
+						<inp2:m_phrase name="lu_Votes"/>: <inp2:Field name="CachedVotesQty"/>
+					</span>
+
+					<br />
+
+					<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="4" alt="" /><br />
+
+					<br />
+					<inp2:m_if check="Field" name="MSRP">
+						<span class="listing-field-name"><inp2:m_Phrase label="lu_fld_MSRP"/>:</span> <span class="product-price-msrp"><inp2:Field name="MSRP" currency="selected"/></span><br />
+					</inp2:m_if>
+
+					<span class="listing-field-name"><inp2:m_Phrase label="lu_fld_OurPrice"/>:</span> <span class="product-price"><inp2:Field name="Price" currency="selected"/>
+					</span> <br />
+
+					<inp2:m_if check="Savings">
+						<span class="listing-field-name">
+						<inp2:m_Phrase label="lu_fld_YouSave"/>: <inp2:Savings currency="selected" />  (<inp2:Savings type="percent"/>%)
+						</span><br/>
+					</inp2:m_if>
+
+					<inp2:m_if check="Field" name="DescriptionExcerpt">
+						<span class="listing-field-name"><inp2:m_Phrase label="lu_fld_Description"/>:</span> <inp2:Field name="DescriptionExcerpt" nl2br="1"/><br/>
+					</inp2:m_if>
+					<br/>
+
+					<inp2:m_if check="IsFavorite">
+						<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/ic_removefromfav.gif" width="11" height="10" alt="" /> <a class="item-action" href="<inp2:FavoriteToggleLink/>"><inp2:m_phrase name="lu_btn_RemoveFromWishList"/></a>
+					<inp2:m_else/>
+						<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/ic_addtofav.gif" width="11" height="10" alt="" /> <a class="item-action" href="<inp2:FavoriteToggleLink template="platform/my_account/my_favorites"/>"><inp2:m_phrase name="lu_btn_AddToWishList"/></a>
+					</inp2:m_if>
+					 &nbsp;|&nbsp;
+
+					<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/reviews.gif" width="14" height="10" alt="" /> <a class="item-action" href="<inp2:ProductLink template="in-commerce/products/add_review"/>"><inp2:m_phrase name="lu_btn_AddReview"/></a>
+				</td>
+
+			</tr>
+		</table>
+	</td>
+</inp2:m_DefineElement>
+<!--## /PRODUCT ELEMENT ##-->
+
+<!--## RELATED PRODUCT ELEMENT ##-->
+<inp2:m_DefineElement name="related_product_element">
+	<tr>
+		<td width="25"><img src="<inp2:m_TemplatesBase module="In-Commerce"/>img/shopping_cart_item.gif" alt=""/></td>
+		<td><a href="<inp2:ProductLink template="__default__"/>" class="text-title"><inp2:Field name="Name"/></a></td>
+	</tr>
+</inp2:m_DefineElement>
+<!--## //RELATED PRODUCT ELEMENT ##-->
+
+<!--## FEATURED PRODUCT ELEMENT SHORT ##-->
+<inp2:m_DefineElement name="featured_product_element_short">
+	<td valign="top">
+		<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="1" alt="" /><br /></div>
+		<table>
+			<tr>
+				<td class="picture-padding">
+					<table>
+						<tr>
+							<td align="center">
+								<a href="<inp2:ProductLink template="__default__"/>" title="<inp2:Field name="Name" html_escape="1"/>"><inp2:Image render_as="image_element" primary="1" thumbnail="1" DefaultImage="platform/img/no_picture.gif" MaxWidth="thumbnail" DefaultWidth="150"/></a><br />
+							</td>
+						</tr>
+
+						<tr>
+							<td align="center">
+								<inp2:m_if check="Available">
+									<br/>
+									<input class="button" onclick=" window.location.href='<inp2:AddToCartLink template="in-commerce/checkout/shop_cart" product_template="__default__"/>' " type="button" value="<inp2:m_Phrase label="lu_btn_BuyNow" no_editing="1"/>" />
+								<inp2:m_else />
+									<inp2:m_phrase label="lu_comm_outofstock"/>
+								</inp2:m_if>
+							</td>
+						</tr>
+					</table>
+				</td>
+				<td class="text-padding" valign="top">
+					<span class="text-title">
+						<a href="<inp2:ProductLink template="__default__"/>"><inp2:Field name="Name" /></a>
+					</span>
+
+					<inp2:m_if check="Field" name="IsHot"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_hot.gif" alt="<inp2:m_Phrase name="lu_Hot" no_editing="1"/>"/></inp2:m_if>
+					<inp2:m_if check="Field" name="IsNew"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_new.gif" alt="<inp2:m_Phrase name="lu_New" no_editing="1"/>"/></inp2:m_if>
+					<inp2:m_if check="Field" name="IsPop"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_popular.gif" alt="<inp2:m_Phrase name="lu_Pop" no_editing="1"/>"/></inp2:m_if>
+					<inp2:m_if check="IsEditorsPick"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_pick.gif" alt="<inp2:m_Phrase name="lu_Pick" no_editing="1"/>"/></inp2:m_if>
+					<inp2:m_if check="IsFavorite"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_favorite.gif" alt="<inp2:m_Phrase name="lu_Favorite" no_editing="1"/>"/></inp2:m_if>
+					<inp2:VotesIndicator render_as="rating_element"/>
+
+					<br />
+
+					<span class="item-statistics">
+						<inp2:m_phrase name="lu_Reviews"/>: <inp2:Field name="CachedReviewsQty"/>,
+						<inp2:m_phrase name="lu_Rating"/>: <inp2:Field name="CachedRating"/>,
+						<inp2:m_phrase name="lu_Votes"/>: <inp2:Field name="CachedVotesQty"/>
+					</span>
+
+					<br />
+
+					<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="4" alt="" /><br />
+
+					<inp2:m_if check="Field" name="ManufacturerId">
+						<inp2:m_Phrase label="lu_fld_Manufacturer"/>: <inp2:field name="ManufacturerId"/> (<inp2:m_Phrase label="lu_comm_OtherProductsBy"/> <a href="<inp2:ManufacturerLink template="in-commerce/products/manufacturer_products" />"><inp2:Field name="ManufacturerId"/></a> <inp2:m_Phrase label="lu_comm_OtherProducts"/>) <br />
+					</inp2:m_if>
+					<br />
+
+					<inp2:m_if check="Field" name="MSRP">
+						<span class="listing-field-name"><inp2:m_Phrase label="lu_fld_MSRP"/>:</span> <span class="product-price-msrp"><inp2:Field name="MSRP" currency="selected"/></span><br />
+					</inp2:m_if>
+
+					<span class="listing-field-name"><inp2:m_Phrase label="lu_fld_OurPrice"/>:</span> <span class="product-price"><inp2:Field name="Price" currency="selected"/>
+					</span> <br />
+
+					<inp2:m_if check="Savings">
+						<span class="listing-field-name">
+						<inp2:m_Phrase label="lu_fld_YouSave"/>: <inp2:Savings currency="selected" />  (<inp2:Savings type="percent"/>%)
+						</span><br/>
+					</inp2:m_if>
+				</td>
+			</tr>
+		</table>
+	</td>
+</inp2:m_DefineElement>
+<!--## /FEATURED PRODUCT ELEMENT SHORT ##-->
+
+<!--## FEATURED PRODUCT ELEMENT ##-->
+<inp2:m_DefineElement name="featured_product_element">
+	<td>
+		<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="1" alt="" /><br /></div>
+		<table>
+			<tr>
+				<td class="picture-padding">
+					<table>
+					<tr><td align="center">
+					<a href="<inp2:ProductLink template="__default__"/>" title="<inp2:Field name="Name" html_escape="1"/>"><inp2:Image render_as="image_element" primary="1" thumbnail="1" DefaultImage="platform/img/no_picture.gif" MaxWidth="thumbnail" DefaultWidth="150"/></a><br />
+					</td></tr>
+					<tr><td align="center">
+					<inp2:m_if check="Available">
+						<br/>
+						<input class="button" onclick=" window.location.href='<inp2:AddToCartLink template="in-commerce/checkout/shop_cart" product_template="__default__"/>' " type="button" value="<inp2:m_Phrase label="lu_btn_BuyNow" no_editing="1"/>" />
+					<inp2:m_else />
+						<inp2:m_phrase label="lu_comm_outofstock"/>
+					</inp2:m_if>
+					</td></tr>
+					</table>
+				</td>
+				<td class="text-padding" valign="top">
+					<span class="text-title">
+						<a href="<inp2:ProductLink template="__default__"/>"><inp2:Field name="Name" /></a>
+					</span>
+
+					<inp2:m_if check="Field" name="IsHot"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_hot.gif" alt="<inp2:m_Phrase name="lu_Hot" no_editing="1"/>"/></inp2:m_if>
+					<inp2:m_if check="Field" name="IsNew"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_new.gif" alt="<inp2:m_Phrase name="lu_New" no_editing="1"/>"/></inp2:m_if>
+					<inp2:m_if check="Field" name="IsPop"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_popular.gif" alt="<inp2:m_Phrase name="lu_Pop" no_editing="1"/>"/></inp2:m_if>
+					<inp2:m_if check="IsEditorsPick"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_pick.gif" alt="<inp2:m_Phrase name="lu_Pick" no_editing="1"/>"/></inp2:m_if>
+					<inp2:m_if check="IsFavorite"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_favorite.gif" alt="<inp2:m_Phrase name="lu_Favorite" no_editing="1"/>"/></inp2:m_if>
+					<inp2:VotesIndicator render_as="rating_element"/>
+
+					<br />
+
+					<span class="item-statistics">
+						<inp2:m_phrase name="lu_Reviews"/>: <inp2:Field name="CachedReviewsQty"/>,
+						<inp2:m_phrase name="lu_Rating"/>: <inp2:Field name="CachedRating"/>,
+						<inp2:m_phrase name="lu_Votes"/>: <inp2:Field name="CachedVotesQty"/>
+					</span>
+
+					<br />
+
+					<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="4" alt="" /><br />
+
+					<inp2:m_if check="Field" name="ManufacturerId">
+						<inp2:m_Phrase label="lu_fld_Manufacturer"/>: <inp2:field name="ManufacturerId"/> (<inp2:m_Phrase label="lu_comm_OtherProductsBy"/> <a href="<inp2:ManufacturerLink template="in-commerce/products/manufacturer_products" />"><inp2:Field name="ManufacturerId"/></a> <inp2:m_Phrase label="lu_comm_OtherProducts"/>) <br />
+					</inp2:m_if>
+					<br />
+
+					<inp2:m_if check="Field" name="MSRP">
+						<span class="listing-field-name"><inp2:m_Phrase label="lu_fld_MSRP"/>:</span> <span class="product-price-msrp"><inp2:Field name="MSRP" currency="selected"/></span><br />
+					</inp2:m_if>
+
+					<span class="listing-field-name"><inp2:m_Phrase label="lu_fld_OurPrice"/>:</span> <span class="product-price"><inp2:Field name="Price" currency="selected"/>
+					</span> <br />
+
+					<inp2:m_if check="Savings">
+						<span class="listing-field-name">
+						<inp2:m_Phrase label="lu_fld_YouSave"/>: <inp2:Savings currency="selected" />  (<inp2:Savings type="percent"/>%)
+						</span><br/>
+					</inp2:m_if>
+
+					<inp2:m_if check="Field" name="DescriptionExcerpt">
+						<br/>
+						<span class="listing-field-name"><inp2:m_Phrase label="lu_fld_Description"/>:</span> <inp2:Field name="DescriptionExcerpt" nl2br="1"/><br />
+					</inp2:m_if>
+
+					<br />
+
+					<inp2:m_if check="CustomField" name="Availability">
+						<inp2:CustomFieldLabel field="Availability"/>:
+						<inp2:CustomField name="Availability"/>
+						<br />
+						<br />
+					</inp2:m_if>
+					<inp2:m_if check="CustomField" name="Features">
+						<inp2:CustomFieldLabel field="Features"/>:
+						<inp2:CustomField name="Features"/>
+						<br />
+						<br />
+					</inp2:m_if>
+				</td>
+
+			</tr>
+		</table>
+	</td>
+</inp2:m_DefineElement>
+<!--## /FEATURED PRODUCT ELEMENT ##-->
+
+<!--## EDITORS PICK PRODUCT ELEMENT ##-->
+<inp2:m_DefineElement name="pick_product_element">
+	<td width="16%" align="center" valign="top" class="block-data">
+		<a href="<inp2:ProductLink template="__default__"/>"><inp2:Image render_as="image_element" primary="1" thumbnail="1" DefaultImage="platform/img/no_picture.gif" MaxWidth="120"/></a><br />
+		<inp2:m_if check="Available">
+			<a href="<inp2:AddToCartLink template="in-commerce/checkout/shop_cart" product_template="__default__"/>" class="link-product2"><strong><inp2:m_Phrase label="lu_comm_BuyNow"/></strong></a>
+			<a href="<inp2:AddToCartLink template="in-commerce/checkout/shop_cart" product_template="__default__"/>"><img src="in-commerce/img/buy2.gif" alt="<inp2:m_Phrase label="lu_comm_BuyNow" no_editing="1"/>" width="15" height="17" border="0" vspace="4" style="vertical-align:middle" /></a>
+		<inp2:m_else />
+			<strong><inp2:m_phrase label="lu_comm_outofstock"/></strong>
+		</inp2:m_if>
+	</td>
+	<td width="84%" class="block-data">
+		<a href="<inp2:ProductLink template="__default__"/>" class="link-product2"><strong><inp2:Field field="Name" /></strong></a>
+		<inp2:m_if check="Available">
+			<a href="<inp2:AddToCartLink template="in-commerce/checkout/shop_cart" product_template="__default__"/>"><img src="in-commerce/img/buy2.gif" alt="" width="15" height="17" border="0" style="vertical-align:middle" /></a>
+		</inp2:m_if>
+		<br />
+
+		<inp2:m_if check="Field" name="MSRP">
+			<span class="listing-field-name"><inp2:m_Phrase label="lu_fld_MSRP"/>:</span> <span class="product-price-msrp"><inp2:Field name="MSRP" currency="selected"/></span><br />
+		</inp2:m_if>
+
+		<span class="listing-field-name"><inp2:m_Phrase label="lu_fld_OurPrice"/>:</span> <span class="product-price"><inp2:Field name="Price" currency="selected"/>
+		</span> <br />
+
+		<inp2:m_if check="Savings">
+			<span class="listing-field-name">
+			<inp2:m_Phrase label="lu_fld_YouSave"/>: <inp2:Savings currency="selected" />  (<inp2:Savings type="percent"/>%)
+			</span><br/>
+		</inp2:m_if>
+
+		<inp2:m_if check="Field" name="DescriptionExcerpt">
+		<br/><span class="listing-field-name"><inp2:m_Phrase label="lu_fld_Description"/>:</span> <inp2:Field name="DescriptionExcerpt" nl2br="1"/><br />
+		</inp2:m_if>
+
+	</td>
+</inp2:m_DefineElement>
+<!--## /EDITORS PICK PRODUCT ELEMENT ##-->
+
+<!--## DOWNLOADABLE PRODUCT ELEMENT ##-->
+<inp2:m_DefineElement name="downloadable_product_element">
+	<td>
+		<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="1" alt="" /><br /></div>
+		<table>
+			<tr>
+				<td class="picture-padding">
+					<a href="<inp2:ProductLink template="__default__"/>" title="<inp2:Field name="Name" html_escape="1"/>"><inp2:Image render_as="image_element" primary="1" thumbnail="1" DefaultImage="platform/img/no_picture.gif" MaxWidth="thumbnail" DefaultWidth="150"/></a><br />
+				</td>
+				<td class="text-padding" valign="top">
+					<span class="text-title">
+						<inp2:m_if check="p_HasFiles">
+							<a href="<inp2:ProductLink template="in-commerce/my_account/my_downloads_more"/>"><inp2:Field name="Name" /></a>
+						<inp2:m_else />
+							<inp2:Field name="Name" />
+						</inp2:m_if>
+					</span>
+
+					<inp2:m_if check="Field" name="IsHot"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_hot.gif" alt="<inp2:m_Phrase name="lu_Hot" no_editing="1"/>"/></inp2:m_if>
+					<inp2:m_if check="Field" name="IsNew"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_new.gif" alt="<inp2:m_Phrase name="lu_New" no_editing="1"/>"/></inp2:m_if>
+					<inp2:m_if check="Field" name="IsPop"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_popular.gif" alt="<inp2:m_Phrase name="lu_Pop" no_editing="1"/>"/></inp2:m_if>
+					<inp2:m_if check="IsEditorsPick"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_pick.gif" alt="<inp2:m_Phrase name="lu_Pick" no_editing="1"/>"/></inp2:m_if>
+					<inp2:m_if check="IsFavorite"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_favorite.gif" alt="<inp2:m_Phrase name="lu_Favorite" no_editing="1"/>"/></inp2:m_if>
+					<inp2:VotesIndicator render_as="rating_element"/>
+
+					<br />
+
+					<span class="item-statistics">
+						<inp2:m_phrase name="lu_Reviews"/>: <inp2:Field name="CachedReviewsQty"/>,
+						<inp2:m_phrase name="lu_Rating"/>: <inp2:Field name="CachedRating"/>,
+						<inp2:m_phrase name="lu_Votes"/>: <inp2:Field name="CachedVotesQty"/>
+					</span>
+
+					<br />
+
+					<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="4" alt="" /><br />
+
+					<br />
+					<inp2:m_if check="Field" name="DescriptionExcerpt">
+						<inp2:m_Phrase label="lu_fld_Description"/>: <inp2:Field name="DescriptionExcerpt" nl2br="1"/><br />
+					</inp2:m_if>
+
+					<inp2:m_if check="p_HasFiles">
+						<a href="<inp2:ProductFileLink template="in-commerce/elements/download.elm"/>"><inp2:m_Phrase label="lu_comm_DownloadNow" /></a><br />
+						<a href="<inp2:ProductLink template="in-commerce/my_account/my_downloads_more"/>"><inp2:m_Phrase label="lu_comm_MoreFiles" />...</a><br />
+					<inp2:m_else />
+						<inp2:m_Phrase label="lu_text_NoFilesForThisProduct" />
+					</inp2:m_if>
+
+					<br /><br />
+
+					<inp2:m_if check="IsFavorite">
+						<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/ic_removefromfav.gif" width="11" height="10" alt="" /> <a class="item-action" href="<inp2:FavoriteToggleLink/>"><inp2:m_phrase name="lu_btn_RemoveFromWishList"/></a>
+					<inp2:m_else/>
+						<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/ic_addtofav.gif" width="11" height="10" alt="" /> <a class="item-action" href="<inp2:FavoriteToggleLink template="platform/my_account/my_favorites"/>"><inp2:m_phrase name="lu_btn_AddToWishList"/></a>
+					</inp2:m_if>
+					 &nbsp;|&nbsp;
+
+					<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/reviews.gif" width="14" height="10" alt="" /> <a class="item-action" href="<inp2:ProductLink template="in-commerce/products/add_review"/>"><inp2:m_phrase name="lu_btn_AddReview"/></a>
+				</td>
+
+			</tr>
+		</table>
+	</td>
+</inp2:m_DefineElement>
+<!--## /DOWNLOADABLE PRODUCT ELEMENT ##-->
+
+<!--## SHORT PRODUCT ELEMENT ##-->
+<inp2:m_DefineElement name="product_short_element">
+	<tr>
+		<td>
+			<a href="<inp2:ProductLink template="__default__"/>"><inp2:Field field="Name" /></a><br />
+			<inp2:m_if check="Field" name="DescriptionExcerpt">
+		 		<inp2:Field field="DescriptionExcerpt" first_chars="70"/><br />
+		 	</inp2:m_if>
+
+			<inp2:Field name="Price" currency="selected"/></span>
+			<br /><br />
+		</td>
+	</tr>
+</inp2:m_DefineElement>
+<!--## /SHORT PRODUCT ELEMENT ##-->
+
+<!--## NO PRODUCTS ELEMENT ##-->
+<inp2:m_DefineElement name="no_products">
+	<inp2:m_phrase name="lu_NoProducts"/>
+</inp2:m_DefineElement>
+<!--## /NO PRODUCTS ELEMENT ##-->
Index: themes/advanced/in-commerce/elements/order_details.elm.tpl
===================================================================
--- themes/advanced/in-commerce/elements/order_details.elm.tpl	(revision 0)
+++ themes/advanced/in-commerce/elements/order_details.elm.tpl	(revision 0)
@@ -0,0 +1,362 @@
+<inp2:m_include template="in-commerce/elements/options_blocks.elm"/>
+
+<!--## PRODUCT IMAGE ELEMENT ##-->
+<inp2:m_DefineElement name="product_image">
+	<img src="<inp2:m_param name="img_path" />" title="<inp2:m_param name="alt" />" alt="<inp2:m_param name="alt" />" <inp2:m_param name="img_size" /> border="0" /><br/>
+</inp2:m_DefineElement>
+<!--## /PRODUCT IMAGE ELEMENT ##-->
+
+<!--## ORDER DETAILS ELEMENTS ##-->
+<!--## THIS SECTION IS USED BY myaccount/my_order_details.tpl ##-->
+<inp2:m_DefineElement name="orderitem_elem">
+	<tr class="order-padding-left">
+		<inp2:m_if check="m_GetConfig" name="ShowProductImagesInOrders">
+			<td width="120">
+				<inp2:p_Image render_as="product_image" thumbnail="1" DefaultImage="platform/img/no_picture.gif" MaxWidth="120" MaxHeight="120" DefaultWidth="120" />
+			</td>
+		</inp2:m_if>
+
+		<td valign="top">
+			<inp2:m_if check="ProductExists">
+				<inp2:m_if check="FieldEquals" field="Virtual" value="0">
+					<a href="<inp2:ProductLink template="__default__"/>"><inp2:Field name="ProductName" /></a>
+				<inp2:m_else/>
+					<inp2:Field name="ProductName" />
+				</inp2:m_if>
+			<inp2:m_else/>
+				<inp2:Field field="ProductName"/>
+			</inp2:m_if>
+			<inp2:m_if check="HasOptions">
+				<br/>
+				<span>
+				<inp2:m_if check="DisplayOptionsPricing"> <!-- selectable options or overriding combination -->
+					<inp2:PrintOptions render_as="option_element" currency="selected"/>
+				<inp2:m_else/> <!-- listed combinations -->
+					<inp2:PrintOptions render_as="option_element_no_price"/>
+				</inp2:m_if>
+				</span>
+				<br/>
+			</inp2:m_if>
+			<inp2:m_if check="HasDiscount">
+				<br />
+				<inp2:m_Phrase label="lu_comm_RegularPrice" />: <inp2:Field name="FlatPrice" currency="selected"/><br />
+				<inp2:m_Phrase label="lu_comm_Discount" />: <span>- <inp2:Field name="ItemDiscount" currency="selected" negative="1"/></span>
+			</inp2:m_if>
+		</td>
+		<td valign="top"><strong><inp2:Field field="Price" currency="selected"/></strong></td>
+		<td valign="top"><inp2:Field field="Quantity"/></td>
+		<td valign="top"><strong><inp2:Field field="ExtendedPrice" currency="selected"/></strong></td>
+	</tr>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="order_form_shipping">
+	<!-- shipping -->
+	<table width="100%" cellpadding="0" cellspacing="0">
+		<tr>
+			<td colspan="2">
+				<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="1" alt="" /></div>
+			</td>
+		</tr>
+		<tr class="sub-section-header">
+			<td colspan="2"><inp2:m_Phrase label="lu_section_ShippingInfo"/></td>
+		</tr>
+		<tr>
+			<td colspan="2">
+				<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="1" alt="" /></div>
+			</td>
+		</tr>
+		<tr class="order-padding-left">
+			<td width="150"><strong><inp2:m_Phrase label="lu_Name"/></strong>:</td>
+			<td><inp2:Field field="ShippingTo"/></td>
+		</tr>
+		<inp2:m_if check="Field" name="ShippingCompany">
+		<tr class="order-padding-left">
+			<td><strong><inp2:m_Phrase label="lu_comm_Company"/></strong>:</td>
+			<td><inp2:Field field="ShippingCompany"/></td>
+		</tr>
+		</inp2:m_if>
+		<inp2:m_if check="Field" name="ShippingEmail">
+		<tr class="order-padding-left">
+			<td><strong><inp2:m_Phrase label="lu_comm_EmailAddress"/></strong>:</td>
+			<td><inp2:Field field="ShippingEmail"/></td>
+		</tr>
+		</inp2:m_if>
+		<tr class="order-padding-left">
+			<td><strong><inp2:m_Phrase label="lu_comm_PhoneNumber"/></strong>:</td>
+			<td><inp2:Field field="ShippingPhone"/></td>
+		</tr>
+		<tr class="order-padding-left">
+			<td><strong><inp2:m_Phrase label="lu_comm_FaxNumber"/></strong>:</td>
+			<td><inp2:Field field="ShippingFax"/></td>
+		</tr>
+		<tr class="order-padding-left">
+			<td><strong><inp2:m_Phrase label="lu_comm_Address"/></strong>:</td>
+			<td>
+				<inp2:m_if check="FieldEquals" field="ShippingAddress1" value="" inverse="inverse">
+					<inp2:Field field="ShippingAddress1"/><br>
+				</inp2:m_if>
+
+				<inp2:m_if check="FieldEquals" field="ShippingAddress2" value="" inverse="inverse">
+					<inp2:Field field="ShippingAddress2"/><br>
+				</inp2:m_if>
+				<inp2:PrintLocation type="Shipping"/>
+			</td>
+		</tr>
+
+		<inp2:m_if check="Field" name="ShippingTracking">
+		<tr class="order-padding-left">
+			<td><strong><inp2:m_Phrase label="lu_comm_ShippingTracking"/></strong>:</td>
+			<td><inp2:Field field="ShippingTracking"/></td>
+		</tr>
+		</inp2:m_if>
+
+	</table>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="order_form_billing">
+	<!-- billing -->
+	<table width="100%" cellpadding="0" cellspacing="0">
+		<tr>
+			<td colspan="2">
+				<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="1" alt="" /></div>
+			</td>
+		</tr>
+		<tr class="sub-section-header">
+			<td colspan="2"><inp2:m_Phrase label="lu_section_BillingInfo"/></td>
+		</tr>
+		<tr>
+			<td colspan="2">
+				<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="1" alt="" /></div>
+			</td>
+		</tr>
+		<tr class="order-padding-left">
+			<td width="150"><strong><inp2:m_Phrase label="lu_Name"/></strong>:</td>
+			<td><inp2:Field field="BillingTo"/></td>
+		</tr>
+		<inp2:m_if check="Field" name="BillingCompany">
+		<tr class="order-padding-left">
+			<td><strong><inp2:m_Phrase label="lu_comm_Company"/></strong>:</td>
+			<td><inp2:Field field="BillingCompany"/></td>
+		</tr>
+		</inp2:m_if>
+		<inp2:m_if check="Field" name="BillingEmail">
+		<tr class="order-padding-left">
+			<td><strong><inp2:m_Phrase label="lu_comm_EmailAddress"/></strong>:</td>
+			<td><inp2:Field field="BillingEmail"/></td>
+		</tr>
+		</inp2:m_if>
+		<tr class="order-padding-left">
+			<td><strong><inp2:m_Phrase label="lu_comm_PhoneNumber"/></strong>:</td>
+			<td><inp2:Field field="BillingPhone"/></td>
+		</tr>
+		<tr class="order-padding-left">
+			<td><strong><inp2:m_Phrase label="lu_comm_FaxNumber"/></strong>:</td>
+			<td><inp2:Field field="BillingFax"/></td>
+		</tr>
+		<tr class="order-padding-left">
+			<td><strong><inp2:m_Phrase label="lu_comm_Address"/></strong>:</td>
+			<td>
+				<inp2:m_if check="FieldEquals" field="BillingAddress1" value="" inverse="inverse">
+					<inp2:Field field="BillingAddress1"/><br>
+				</inp2:m_if>
+
+				<inp2:m_if check="FieldEquals" field="BillingAddress2" value="" inverse="inverse">
+					<inp2:Field field="BillingAddress2"/><br>
+				</inp2:m_if>
+				<inp2:PrintLocation type="Billing"/>
+			</td>
+		</tr>
+
+		<tr class="order-padding-left">
+			<td><strong><inp2:m_Phrase label="lu_comm_PaymentType"/>:</strong></td>
+			<td><inp2:Field name="PaymentType" /></td>
+		</tr>
+
+		<inp2:m_if check="UsingCreditCard">
+			<tr class="order-padding-left">
+				<td><strong><inp2:m_Phrase label="lu_comm_NameOnCard"/>:</strong></td>
+				<td><inp2:Field name="PaymentNameOnCard"/></td>
+			</tr>
+			<tr class="order-padding-left">
+				<td><strong><inp2:m_Phrase label="lu_comm_CardType"/>:</strong></td>
+				<td><inp2:Field name="PaymentCardType" /></td>
+			</tr>
+			<tr class="order-padding-left">
+				<td><strong><inp2:m_Phrase label="lu_comm_CardNumber"/>:</strong></td>
+				<td><inp2:Field name="PaymentAccount" masked="masked"/></td>
+			</tr>
+			<tr class="order-padding-left">
+				<td><strong><inp2:m_Phrase label="lu_comm_Exp"/>:</strong></td>
+				<td><inp2:Field name="PaymentCCExpDate"/></td>
+			</tr>
+		</inp2:m_if>
+	</table>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="order_form">
+	<table>
+		<tr>
+			<td>
+				<strong><inp2:m_Phrase label="lu_comm_OrderNumber"/><inp2:Field field="OrderNumber"/>&nbsp;&nbsp;(<inp2:Field field="Status"/>)</strong>
+			</td>
+		</tr>
+	</table>
+
+	<inp2:m_if check="FieldEquals" field="IsRecurringBilling" value="1">
+		<table>
+			<tr>
+				<td valign="top" align="left">
+					<strong><inp2:m_Phrase label="lu_recurring_notice"/></strong> <inp2:m_Phrase label="lu_recurring_next_charge"/> <inp2:Field name="NextCharge" format="_regional_DateFormat"/> <inp2:m_Phrase label="lu_or"/> <inp2:m_GetConfig var="Comm_RecurringChargeInverval"/> <inp2:m_Phrase label="lu_recurring_charge_advance"/><br>
+					<a href="<inp2:m_link template="in-commerce/my_account/cancel_recurring" pass="ord"/>"><inp2:m_Phrase label="lu_recurring_cancel"/></a>
+				</td>
+			</tr>
+		</table>
+	</inp2:m_if>
+
+	<br />
+
+
+	<inp2:m_if check="OrderHasTangibleItems">
+		<table class="fullwidth">
+			<tr>
+				<td valign="top" width="49%">
+					<inp2:m_RenderElement name="order_form_shipping" PrefixSpecial="ord"/>
+				</td>
+				<td>&nbsp;</td>
+				<td valign="top" width="49%">
+					<inp2:m_RenderElement name="order_form_billing" PrefixSpecial="ord"/>
+				</td>
+			</tr>
+		</table>
+	<inp2:m_else />
+		<table class="fullwidth">
+			<tr>
+				<td>
+					<inp2:m_RenderElement name="order_form_billing" PrefixSpecial="ord"/>
+				</td>
+			</tr>
+		</table>
+	</inp2:m_if>
+
+
+
+	<br /><br />
+
+
+
+	<table class="fullwidth">
+		<tr>
+			<td colspan="<inp2:m_if check="m_GetConfig" name="ShowProductImagesInOrders">5<inp2:m_else/>4</inp2:m_if>">
+				<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="1" alt="" /></div>
+			</td>
+		</tr>
+		<tr class="sub-section-header">
+			<inp2:m_if check="m_GetConfig" name="ShowProductImagesInOrders">
+				<td colspan="2"><inp2:m_Phrase label="lu_comm_ProductDescription"/></td>
+			<inp2:m_else/>
+				<td><inp2:m_Phrase label="lu_comm_ProductDescription"/></td>
+			</inp2:m_if>
+
+			<td><inp2:m_Phrase label="lu_comm_Price"/></td>
+
+			<td><inp2:m_Phrase label="lu_comm_Qty"/>.</td>
+			<td><inp2:m_Phrase label="lu_comm_Total"/></td>
+		</tr>
+		<tr>
+			<td colspan="<inp2:m_if check="m_GetConfig" name="ShowProductImagesInOrders">5<inp2:m_else/>4</inp2:m_if>">
+				<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="1" alt="" /></div>
+			</td>
+		</tr>
+
+		<inp2:ord_ListOrderItems render_as="orderitem_elem"/>
+
+		<tr class="order-padding-left">
+			<tr>
+				<td colspan="<inp2:m_if check="m_GetConfig" name="ShowProductImagesInOrders">5<inp2:m_else/>4</inp2:m_if>">
+					<br />
+					<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="1" alt="" /></div>
+				</td>
+			</tr>
+			<td>
+				<inp2:m_if check="ord_HasDiscount">
+					<inp2:m_Phrase label="lu_comm_TotalSavings" />: <span><inp2:ord_Field name="DiscountTotal" currency="selected" /></span><br />
+				</inp2:m_if>&nbsp;
+			</td>
+			<td colspan="<inp2:m_if check="m_GetConfig" name="ShowProductImagesInOrders">5<inp2:m_else/>4</inp2:m_if>" align="right">
+				<div class="subtotal"><inp2:m_Phrase label="lu_comm_SubTotal"/>: <inp2:Field field="SubTotal" currency="selected"/><div>
+			</td>
+		</tr>
+	</table>
+
+
+	<br /><br />
+
+	<inp2:m_RenderElement name="subsection" title="lu_section_OrderTotal"/>
+
+	<table class="fullwidth">
+		<inp2:ord_PrintTotals
+			shipping_render_as="shipping_total"
+			processing_render_as="processing_total"
+			sub_total_render_as="sub_total"
+			vat_render_as="vat_total"
+			return_render_as="return_total"/>
+
+		<inp2:m_if check="ord_Field" name="GiftCertificateId">
+			<tr class="order-padding-left">
+				<td align="right"><inp2:m_Phrase label="lu_comm_Gift_Certificate"/>:</td>
+				<td align="right"><inp2:ord_Field name="GiftCertificateDiscount" currency="selected"/></td>
+			</tr>
+		</inp2:m_if>
+
+		<tr class="order-padding-left grand-total-blue">
+		    <td align="right"><inp2:m_Phrase label="lu_comm_GrandTotal"/>:</td>
+			<td align="right"><inp2:Field name="TotalAmount" currency="selected"/></td>
+		</tr>
+	</table>
+
+	<br />
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="shipping_total">
+	<tr class="order-padding-left">
+		<td align="right"><inp2:m_Phrase label="lu_comm_ShippingCost"/> (<inp2:ord_ShippingType />):</td>
+		<td align="right"><inp2:ord_Field name="ShippingCost" currency="selected"/></td>
+	</tr>
+	<tr class="order-padding-left">
+		<td align="right"><inp2:m_Phrase label="lu_comm_Insurance_Fee"/>:</td>
+		<td align="right"><inp2:ord_Field name="InsuranceFee" currency="selected"/></td>
+	</tr>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="processing_total">
+	<tr class="order-padding-left">
+		<td align="right"><inp2:m_Phrase label="lu_comm_ProcessingFee"/>: </td>
+		<td align="right"><inp2:ord_Field name="ProcessingFee" currency="selected"/></td>
+	</tr>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="sub_total">
+	<tr class="order-padding-left">
+		<td align="right"><inp2:m_Phrase label="lu_comm_SubTotal"/>: </td>
+		<td align="right"><inp2:ord_Field name="AmountWithoutVAT" currency="selected"/></td>
+	</tr>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="vat_total">
+	<tr class="order-padding-left">
+		<td align="right"><inp2:m_Phrase label="lu_comm_VAT"/> <inp2:ord_Field name="VATPercent"/>%: </td>
+		<td align="right"><inp2:ord_Field name="VAT" currency="selected"/></td>
+	</tr>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="return_total">
+	<tr class="order-padding-left">
+		<td align="right"><inp2:m_Phrase label="lu_fld_ReturnTotal"/> : </td>
+		<td align="right"><inp2:ord_Field name="ReturnTotal" currency="selected"/></td>
+	</tr>
+</inp2:m_DefineElement>
+<!--## /ORDER DETAILS ELEMENTS ##-->
+
+<!--## SHOW ORDER DETAILS TAG! ##-->
+<inp2:ord_ShowOrder render_as="order_form" />
+<!--## /SHOW ORDER DETAILS TAG! ##-->
\ No newline at end of file
Index: themes/advanced/in-commerce/elements/orders.elm.tpl
===================================================================
--- themes/advanced/in-commerce/elements/orders.elm.tpl	(revision 0)
+++ themes/advanced/in-commerce/elements/orders.elm.tpl	(revision 0)
@@ -0,0 +1,23 @@
+<!--## NO ORDERS ELEMENT ##-->
+<inp2:m_DefineElement name="no_orders">
+	<inp2:m_phrase name="lu_NoOrders"/>
+</inp2:m_DefineElement>
+<!--## /NO ORDERS ELEMENT ##-->
+
+<!--## MY ORDER ELEMENT ##-->
+<inp2:m_DefineElement name="my_order_element">
+	<tr>
+		<td colspan="4">
+			<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="1" alt="" /></div>
+		</td>
+	</tr>
+	<tr class="listing-row">
+		<td><a href="<inp2:m_Link template="in-commerce/my_account/my_order_details" pass="m,ord"/>"><inp2:Field field="OrderNumber"/></a> <inp2:m_if check="FieldEquals" field="IsRecurringBilling" value="1"><strong>(<inp2:m_Phrase label="lu_Recurring"/>)</strong></inp2:m_if></td>
+		<td ><inp2:Field field="OrderDate" format="_regional_DateFormat"/></td>
+		<td>
+			<strong><inp2:Field field="TotalAmount" currency="selected"/></strong>
+		</td>
+		<td><inp2:Field field="Status"/></td>
+	</tr>
+</inp2:m_DefineElement>
+<!--## /MY ORDER ELEMENT ##-->
\ No newline at end of file
Index: themes/advanced/in-commerce/elements/side_boxes/cart_indicator.elm.tpl
===================================================================
--- themes/advanced/in-commerce/elements/side_boxes/cart_indicator.elm.tpl	(revision 0)
+++ themes/advanced/in-commerce/elements/side_boxes/cart_indicator.elm.tpl	(revision 0)
@@ -0,0 +1,26 @@
+<inp2:m_Capture to_var="header">
+	<inp2:m_phrase name="lu_title_CartIndicator"/>
+</inp2:m_Capture>
+
+<inp2:m_if check="ord_CartNotEmpty">
+	<table border="0" cellspacing="0" cellpadding="0" class="block">
+		<tr>
+			<td class="block-header"><inp2:m_Phrase label="lu_YourCart"/></td>
+		</tr>
+		<tr>
+			<td class="block-data">
+				<form method="post" action="<inp2:m_FormAction />">
+					<strong><inp2:m_Phrase label="lu_cart_TotalItems" />: </strong><inp2:ord_ItemsInCart/><br />
+
+					<strong><inp2:m_Phrase label="lu_cart_OrderTotal" />: </strong><inp2:ord_Field field="SubTotal" currency="selected"/><br />
+					<img src="img/s.gif" alt="" width="5" height="10" border="0" /><br />
+					<input type="hidden" name="viewcart_template" value="in-commerce/checkout/shop_cart">
+					<input class="button" type="submit" name="events[ord][OnViewCart]" value="<inp2:m_Phrase label="lu_cart_ViewCart" />">
+					<input type="hidden" name="next_step_template" value="<inp2:m_if check="ord_OrderHasTangibleItems">in-commerce/checkout/shipping<inp2:m_else/>in-commerce/checkout/billing</inp2:m_if>" />
+					<input class="button" type="submit" name="events[ord][OnCheckout]" value="<inp2:m_Phrase label="lu_cart_Checkout" />">
+
+				</form>
+			</td>
+		</tr>
+	</table>
+</inp2:m_if>
\ No newline at end of file
Index: themes/advanced/in-commerce/elements/side_boxes/action_box.elm.tpl
===================================================================
--- themes/advanced/in-commerce/elements/side_boxes/action_box.elm.tpl	(revision 0)
+++ themes/advanced/in-commerce/elements/side_boxes/action_box.elm.tpl	(revision 0)
@@ -0,0 +1,29 @@
+<inp2:m_Capture to_var="header">
+	<inp2:m_phrase name="lu_title_ActionBox"/>
+</inp2:m_Capture>
+
+<table width="100%" style="border-width: 0px;">
+	<inp2:m_if check="m_Param" name="item_actions">
+		<tr>
+			<td>-</td>
+			<td>
+				<inp2:m_if check="p_IsFavorite">
+					<a href="<inp2:p_FavoriteToggleLink/>">
+						<inp2:m_phrase name="lu_btn_RemoveFromWishList"/>
+					</a>
+				<inp2:m_else/>
+					<a href="<inp2:p_FavoriteToggleLink template="platform/my_account/my_favorites"/>">
+						<inp2:m_phrase name="lu_btn_AddToWishList"/>
+					</a>
+				</inp2:m_if>
+			</td>
+		</tr>
+
+		<tr>
+			<td>-</td>
+			<td>
+				<a href="<inp2:p_ProductLink template="in-commerce/products/add_review"/>"><inp2:m_phrase name="lu_btn_ReviewThisProduct"/></a>
+			</td>
+		</tr>
+	</inp2:m_if>
+</table>
\ No newline at end of file
Index: themes/advanced/in-commerce/elements/side_boxes/recent_products.elm.tpl
===================================================================
--- themes/advanced/in-commerce/elements/side_boxes/recent_products.elm.tpl	(revision 0)
+++ themes/advanced/in-commerce/elements/side_boxes/recent_products.elm.tpl	(revision 0)
@@ -0,0 +1,22 @@
+<inp2:p_InitList list_name="recent_products" types="recent" parent_cat_id="any" recursive="true" per_page="short_list" except="in_cart" />
+
+<inp2:m_Capture to_var="header">
+	<a href="<inp2:m_Link template="in-commerce/products/recent_products" m_cat_id="0" m_cat_page="1" />"><inp2:m_phrase name="lu_title_RecentlyViewedProducts"/></a> (<inp2:p_TotalRecords list_name="recent_products"/>)
+</inp2:m_Capture>
+
+<inp2:m_include template="in-commerce/elements/products.elm"/>
+
+<table>
+	<inp2:p_ListProducts list_name="recent_products" render_as="product_short_element" columns="1" requery="0"/>
+</table>
+
+<inp2:m_DefineElement name="more_link">
+	<a href="<inp2:m_Link template="in-commerce/products/recent_products" />"><inp2:m_Phrase label="lu_More"/>...</a><br />
+</inp2:m_DefineElement>
+
+<inp2:p_MoreLink list_name="recent_products" render_as="more_link" />
+<br />
+
+<form method="post" action="<inp2:m_FormAction />">
+	<input class="button" type="submit" name="events[p][OnClearRecent]" value="<inp2:m_Phrase label="lu_btn_Clear" no_editing="1"/>"/>
+</form>
\ No newline at end of file
Index: themes/advanced/in-commerce/elements/side_boxes/top_seller_products.elm.tpl
===================================================================
--- themes/advanced/in-commerce/elements/side_boxes/top_seller_products.elm.tpl	(revision 0)
+++ themes/advanced/in-commerce/elements/side_boxes/top_seller_products.elm.tpl	(revision 0)
@@ -0,0 +1,17 @@
+<inp2:p_InitList list_name="top_seller_products" types="hot" recursive="1" per_page="short_list" />
+
+<inp2:m_Capture to_var="header">
+	<a href="<inp2:m_Link template="in-commerce/products/top_seller_products" m_cat_id="0" m_cat_page="1" />"><inp2:m_phrase name="lu_title_TopSellerProducts"/></a> (<inp2:p_TotalRecords list_name="top_seller_products"/>)
+</inp2:m_Capture>
+
+<inp2:m_include template="in-commerce/elements/products.elm"/>
+
+<table>
+	<inp2:p_ListProducts list_name="top_seller_products" render_as="product_short_element" no_table="1"/>
+</table>
+
+<inp2:m_DefineElement name="more_link">
+	<a href="<inp2:m_Link template="in-commerce/products/top_seller_products" />"><inp2:m_Phrase label="lu_More"/>...</a>
+</inp2:m_DefineElement>
+
+<inp2:p_MoreLink list_name="top_seller_products" render_as="more_link" />
Index: themes/advanced/in-commerce/elements/side_boxes/categories.elm.tpl
===================================================================
--- themes/advanced/in-commerce/elements/side_boxes/categories.elm.tpl	(revision 0)
+++ themes/advanced/in-commerce/elements/side_boxes/categories.elm.tpl	(revision 0)
@@ -0,0 +1,50 @@
+<inp2:m_DefineElement name="more_link_elem">
+	<tr>
+		<td class="sub-category-padding">
+			<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/menu-li-2-level.gif" alt="" width="4" height="4" border="0" /><br />
+		</td>
+		<td>
+			<a href="<inp2:c_CategoryLink template="__default__" m_cat_page="1"/>" class="sub-category"><inp2:m_Phrase label="lu_more_products"/>...</a><br />
+			<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" alt="" width="1" height="3" border="0" /><br />
+		</td>
+	</tr>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="subcategory_elem">
+	<tr>
+		<td class="sub-category-padding">
+			<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/menu-li-2-level.gif" alt="" width="4" height="4" border="0" /><br />
+		</td>
+		<td>
+			<inp2:m_if check="IsCurrent">
+				<inp2:Field name="Name"/>
+			<inp2:m_else/>
+				<a href="<inp2:CategoryLink template="__default__" m_cat_page="1"/>" class="sub-category"><inp2:Field name="Name"/></a>
+			</inp2:m_if>
+		</td>
+	</tr>
+</inp2:m_DefineElement>
+
+<inp2:m_Capture to_var="header">
+	<inp2:m_Phrase label="lu_title_Categories"/>
+</inp2:m_Capture>
+
+<table width="100%">
+	<inp2:m_DefineElement name="category_elem">
+		<td class="top-category-padding">
+			<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/menu-li-1-level.gif" alt="" width="6" height="5" border="0" /><br />
+		</td>
+		<td valign="top">
+			<inp2:m_if check="IsCurrent">
+				<strong><inp2:Field name="Name"/></strong><br />
+			<inp2:m_else/>
+				<a href="<inp2:CategoryLink template="__default__" m_cat_page="1"/>" class="top-category"><inp2:Field name="Name"/></a><br />
+			</inp2:m_if>
+			<table>
+			<inp2:ListCategories requery="1" render_as="subcategory_elem" more_link_render_as="more_link_elem" max_items="4" no_table="1"/>
+			</table>
+			<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" alt="" width="1" height="5" border="0" /><br />
+		</td>
+	</inp2:m_DefineElement>
+	<inp2:c_ListCategories render_as="category_elem" per_page="-1" columns="1" direction="H" parent_cat_id="Root" module="In-Commerce"/>
+</table>
Index: themes/advanced/in-commerce/elements/side_boxes/affiliate_navigation.elm.tpl
===================================================================
--- themes/advanced/in-commerce/elements/side_boxes/affiliate_navigation.elm.tpl	(revision 0)
+++ themes/advanced/in-commerce/elements/side_boxes/affiliate_navigation.elm.tpl	(revision 0)
@@ -0,0 +1,24 @@
+<inp2:m_Capture to_var="header">
+	<inp2:m_Phrase label="lu_title_Affiliate"/>
+</inp2:m_Capture>
+
+<table class="fullwidth" style="border-width: 0px;">
+	<inp2:m_RenderElement name="box_element" template="in-commerce/my_account/affiliate/affiliate_statistics" title="lu_Statistics"/>
+	<inp2:m_RenderElement name="box_element" template="in-commerce/my_account/affiliate/affiliate_payments" title="lu_Payments"/>
+	<inp2:m_RenderElement name="box_element" template="in-commerce/my_account/affiliate/affiliate_materials" title="lu_Materials"/>
+	<inp2:m_RenderElement name="box_element" template="in-commerce/my_account/affiliate/affiliate_payment_type" title="lu_ChangePaymentType"/>
+	<tr>
+		<td>
+			<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/menu-li-2-level.gif" alt="" width="4" height="4" border="0" /><br />
+		</td>
+		<td>
+			<a href="<inp2:m_Link t='in-commerce/my_account/affiliate'/>" onclick="showAffiliateAgreement(); return false;"><inp2:m_phrase label="lu_TermsAndConditionsLink"/></a>
+		</td>
+	</tr>
+</table>
+
+<script type="text/javascript">
+function showAffiliateAgreement() {
+	window.open('<inp2:m_Link template="in-commerce/my_account/affiliate/affiliate_agreement" />', null, 'menubar=no,toolbars=no,width=500,height=300');
+}
+</script>
\ No newline at end of file
Index: themes/advanced/in-commerce/elements/side_boxes/credit_cards.elm.tpl
===================================================================
--- themes/advanced/in-commerce/elements/side_boxes/credit_cards.elm.tpl	(revision 0)
+++ themes/advanced/in-commerce/elements/side_boxes/credit_cards.elm.tpl	(revision 0)
@@ -0,0 +1,26 @@
+<inp2:m_Capture to_var="header">
+	<inp2:m_phrase name="lu_title_CreditCards"/>
+</inp2:m_Capture>
+
+<inp2:m_Phrase label="lu_text_WeAcceptCreditCards"/><br />
+<br />
+
+<table class="credit-card-table">
+	<tr>
+		<td>
+			<img alt="" src="<inp2:m_TemplatesBase module="In-Commerce"/>img/credit_cards/visa.gif" /><br />
+		</td>
+		<td>
+			<img alt="" src="<inp2:m_TemplatesBase module="In-Commerce"/>img/credit_cards/american_express.gif" /><br />
+		</td>
+	</tr>
+
+	<tr>
+		<td>
+			<img alt="" src="<inp2:m_TemplatesBase module="In-Commerce"/>img/credit_cards/master_card.gif" /><br />
+		</td>
+		<td>
+			<img alt="" src="<inp2:m_TemplatesBase module="In-Commerce"/>img/credit_cards/novus.gif" /><br />
+		</td>
+	</tr>
+</table>
\ No newline at end of file
Index: themes/advanced/in-commerce/elements/side_boxes/checkout_steps.elm.tpl
===================================================================
--- themes/advanced/in-commerce/elements/side_boxes/checkout_steps.elm.tpl	(revision 0)
+++ themes/advanced/in-commerce/elements/side_boxes/checkout_steps.elm.tpl	(revision 0)
@@ -0,0 +1,44 @@
+<inp2:m_Capture to_var="header">
+	<inp2:m_phrase name="lu_title_CheckoutSteps"/>
+</inp2:m_Capture>
+
+<table border="0" cellspacing="0" cellpadding="0" class="block">
+	<tr>
+		<td class="block-data">
+				<inp2:m_DefineElement name="passed_checkout_step">
+					<inp2:m_param name="number"/>. <a href="<inp2:m_param name="template_link"/>"><inp2:m_param name="title"/></a><br/>
+				</inp2:m_DefineElement>
+
+				<inp2:m_DefineElement name="current_checkout_step">
+					<span class="nav-bar-current" style="color:red"><inp2:m_param name="number"/>. <inp2:m_param name="title"/></span><br/>
+				</inp2:m_DefineElement>
+
+				<inp2:m_DefineElement name="checkout_step">
+					<inp2:m_param name="number"/>. <inp2:m_param name="title"/><br/>
+				</inp2:m_DefineElement>
+
+				<inp2:m_if check="ord_OrderHasTangibleItems">
+
+					<inp2:ord_CheckoutSteps render_as="checkout_step" passed_step_render_as="passed_checkout_step"
+							 current_step_render_as="current_checkout_step"
+							 steps="lu_ShoppingCart,lu_comm_ShippingInfo,lu_comm_BillingInfo,lu_comm_OrderPreview,lu_comm_Confirmation"
+							 templates="in-commerce/checkout/shop_cart,
+							 			in-commerce/checkout/shipping,
+							 			in-commerce/checkout/billing,
+							 			in-commerce/checkout/preview,
+							 			in-commerce/checkout/confirmation" />
+
+				<inp2:m_else/>
+
+					<inp2:ord_CheckoutSteps render_as="checkout_step" passed_step_render_as="passed_checkout_step"
+								 current_step_render_as="current_checkout_step"
+								 steps="lu_ShoppingCart,lu_comm_BillingInfo,lu_comm_OrderPreview,lu_comm_Confirmation"
+								 templates="in-commerce/checkout/shop_cart,
+								 			in-commerce/checkout/billing,
+								 			in-commerce/checkout/preview,
+								 			in-commerce/checkout/confirmation" />
+
+				</inp2:m_if>
+		</td>
+	</tr>
+</table>
\ No newline at end of file
Index: themes/advanced/in-commerce/elements/side_boxes/pick_products.elm.tpl
===================================================================
--- themes/advanced/in-commerce/elements/side_boxes/pick_products.elm.tpl	(revision 0)
+++ themes/advanced/in-commerce/elements/side_boxes/pick_products.elm.tpl	(revision 0)
@@ -0,0 +1,18 @@
+<!-- pick products -->
+<inp2:p_InitList list_name="pick_products" types="pick" parent_cat_id="0" recursive="1" per_page="short_list"/>
+
+<inp2:m_Capture to_var="header">
+	<a href="<inp2:m_Link template="in-commerce/products/pick_products" m_cat_id="0" m_cat_page="1" />"><inp2:m_phrase name="lu_title_PickProducts"/></a> (<inp2:p_TotalRecords list_name="pick_products"/>)
+</inp2:m_Capture>
+
+<inp2:m_include template="in-commerce/elements/products.elm"/>
+
+<table width="100%" style="border-width: 0px;">
+	<inp2:p_ListProducts list_name="pick_products" render_as="product_short_element" direction="H"/>
+</table>
+
+<inp2:m_DefineElement name="more_link">
+	<a href="<inp2:m_Link template="in-commerce/products/pick_products" m_cat_id="0" m_cat_page="1" />"><inp2:m_Phrase label="lu_More" /></a>
+</inp2:m_DefineElement>
+<inp2:p_MoreLink list_name="pick_products" render_as="more_link"/>
+<!-- // pick products -->
\ No newline at end of file
Index: themes/advanced/in-commerce/elements/side_boxes/manufacturer_dropdown.elm.tpl
===================================================================
--- themes/advanced/in-commerce/elements/side_boxes/manufacturer_dropdown.elm.tpl	(revision 0)
+++ themes/advanced/in-commerce/elements/side_boxes/manufacturer_dropdown.elm.tpl	(revision 0)
@@ -0,0 +1,15 @@
+<inp2:m_Capture to_var="header">
+	<inp2:m_Phrase label="lu_comm_Manufacturers"/>1
+</inp2:m_Capture>
+
+<inp2:m_Get var="manuf_id" result_to_var="curr_manuf_id"/>
+
+<inp2:m_DefineElement name="manuf_elem_dropdown">
+<option value="<inp2:p_ManufacturerLink template="in-commerce/products/manufacturer_products" />" <inp2:m_if check="FieldEquals" name="ManufacturerId" value="$curr_manuf_id">selected="selected"</inp2:m_if> >
+<inp2:Field field="Name" /></option></inp2:m_DefineElement>
+
+<form id="manufacturers" method="post" action="<inp2:m_FormAction />">
+	<select name="Manufacturer" onchange="window.location.href=this.value">
+	<inp2:manuf.custom_ListManufacturers list_name="manufacturers" render_as="manuf_elem_dropdown" per_page="-1" row_start_render_as="html:" row_end_render_as="html:" empty_cell_render_as="html:" parent_cat_id="any" />
+	</select>
+</form>
\ No newline at end of file
Index: themes/advanced/in-commerce/elements/order_preview.elm.tpl
===================================================================
--- themes/advanced/in-commerce/elements/order_preview.elm.tpl	(revision 0)
+++ themes/advanced/in-commerce/elements/order_preview.elm.tpl	(revision 0)
@@ -0,0 +1,312 @@
+<inp2:m_include template="in-commerce/elements/options_blocks.elm"/>
+
+<inp2:m_DefineElement name="orderitem_elem">
+	<tr  class="order-prewiew-padding-cell">
+		<td>
+			<strong><inp2:Field name="ProductName"/></strong><inp2:m_if check="ord_BackorderFlag"> <span><inp2:m_phrase label="lu_cart_BackorderFlag" /></span></inp2:m_if>
+			<inp2:m_if check="HasOptions">
+				<br/>
+				<span>
+				<inp2:m_if check="DisplayOptionsPricing"> <!-- selectable options or overriding combination -->
+					<inp2:PrintOptions render_as="option_element" currency="selected"/>
+				<inp2:m_else/> <!-- listed combinations -->
+					<inp2:PrintOptions render_as="option_element_no_price"/>
+				</inp2:m_if>
+				</span>
+				<br/>
+			</inp2:m_if>
+			<inp2:m_if check="HasDiscount">
+				<br />
+				<inp2:m_Phrase label="lu_comm_RegularPrice" />: <inp2:Field name="FlatPrice" currency="selected"/><br />
+				<inp2:m_Phrase label="lu_comm_Discount" />: <span><inp2:Field name="ItemDiscount" currency="selected" negative="1"/></span>
+			</inp2:m_if>
+		</td>
+		<td>
+			<strong><inp2:Field name="Price" currency="selected"/></strong>
+		</td>
+		<td><inp2:Field name="Quantity"/></td>
+		<td><strong><inp2:Field name="ExtendedPrice" currency="selected"/></strong></td>
+	</tr>
+	<tr>
+		<td colspan="4">
+			<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="1" alt="" /></div>
+		</td>
+	</tr>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="order_form_shipping">
+	<!-- shipping -->
+	<table width="100%">
+		<tr>
+			<td colspan="2">
+				<inp2:m_RenderElement name="subsection" title="lu_section_ShippingInfo"/>
+			</td>
+		</tr>
+		<tr class="order-prewiew-padding-cell">
+			<td><strong><inp2:m_Phrase label="lu_Name"/></strong>:</td>
+			<td><inp2:Field field="ShippingTo"/></td>
+		</tr>
+		<inp2:m_if check="Field" name="ShippingCompany">
+		<tr  class="order-prewiew-padding-cell">
+			<td><strong><inp2:m_Phrase label="lu_comm_Company"/></strong>:</td>
+			<td><inp2:Field field="ShippingCompany"/></td>
+		</tr>
+		</inp2:m_if>
+		<inp2:m_if check="Field" name="ShippingEmail">
+		<tr  class="order-prewiew-padding-cell">
+			<td><strong><inp2:m_Phrase label="lu_comm_EmailAddress"/></strong>:</td>
+			<td><inp2:Field field="ShippingEmail"/></td>
+		</tr>
+		</inp2:m_if>
+		<tr class="order-prewiew-padding-cell">
+			<td><strong><inp2:m_Phrase label="lu_comm_PhoneNumber"/></strong>:</td>
+			<td><inp2:Field field="ShippingPhone"/></td>
+		</tr>
+		<tr  class="order-prewiew-padding-cell">
+			<td><strong><inp2:m_Phrase label="lu_comm_FaxNumber"/></strong>:</td>
+			<td><inp2:Field field="ShippingFax"/></td>
+		</tr>
+		<tr  class="order-prewiew-padding-cell">
+			<td><strong><inp2:m_Phrase label="lu_comm_Address"/></strong>:</td>
+			<td>
+				<inp2:m_if check="FieldEquals" field="ShippingAddress1" value="" inverse="inverse">
+					<inp2:Field field="ShippingAddress1"/><br>
+				</inp2:m_if>
+
+				<inp2:m_if check="FieldEquals" field="ShippingAddress2" value="" inverse="inverse">
+					<inp2:Field field="ShippingAddress2"/><br>
+				</inp2:m_if>
+				<inp2:PrintLocation type="Shipping"/>
+			</td>
+		</tr>
+	</table>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="order_form_billing">
+	<!-- billing -->
+	<table width="100%">
+		<tr>
+			<td colspan="2">
+				<inp2:m_RenderElement name="subsection" title="lu_section_BillingInfo"/>
+			</td>
+		</tr>
+		<tr class="order-prewiew-padding-cell">
+			<td><strong><inp2:m_Phrase label="lu_Name"/></strong>:</td>
+			<td><inp2:Field field="BillingTo"/></td>
+		</tr>
+		<inp2:m_if check="Field" name="BillingCompany">
+		<tr class="order-prewiew-padding-cell">
+			<td><strong><inp2:m_Phrase label="lu_comm_Company"/></strong>:</td>
+			<td><inp2:Field field="BillingCompany"/></td>
+		</tr>
+		</inp2:m_if>
+		<inp2:m_if check="Field" name="BillingEmail">
+		<tr class="order-prewiew-padding-cell">
+			<td><strong><inp2:m_Phrase label="lu_comm_EmailAddress"/></strong>:</td>
+			<td><inp2:Field field="BillingEmail"/></td>
+		</tr>
+		</inp2:m_if>
+		<tr class="order-prewiew-padding-cell">
+			<td><strong><inp2:m_Phrase label="lu_comm_PhoneNumber"/></strong>:</td>
+			<td><inp2:Field field="BillingPhone"/></td>
+		</tr>
+		<tr class="order-prewiew-padding-cell">
+			<td><strong><inp2:m_Phrase label="lu_comm_FaxNumber"/></strong>:</td>
+			<td><inp2:Field field="BillingFax"/></td>
+		</tr>
+		<tr class="order-prewiew-padding-cell">
+			<td><strong><inp2:m_Phrase label="lu_comm_Company"/></strong>:</td>
+			<td><inp2:Field field="BillingCompany"/></td>
+		</tr>
+		<tr class="order-prewiew-padding-cell">
+			<td><strong><inp2:m_Phrase label="lu_comm_Address"/></strong>:</td>
+			<td>
+				<inp2:m_if check="FieldEquals" field="BillingAddress1" value="" inverse="inverse">
+					<inp2:Field field="BillingAddress1"/><br>
+				</inp2:m_if>
+
+				<inp2:m_if check="FieldEquals" field="BillingAddress2" value="" inverse="inverse">
+					<inp2:Field field="BillingAddress2"/><br>
+				</inp2:m_if>
+				<inp2:PrintLocation type="Billing"/>
+			</td>
+		</tr>
+
+		<tr class="order-prewiew-padding-cell">
+			<td><strong><inp2:m_Phrase label="lu_comm_PaymentType"/>:</strong></td>
+			<td><inp2:Field name="PaymentType" /></td>
+		</tr>
+
+		<inp2:m_if check="UsingCreditCard">
+			<tr class="order-prewiew-padding-cell">
+				<td><strong><inp2:m_Phrase label="lu_comm_NameOnCard"/>:</strong></td>
+				<td><inp2:Field name="PaymentNameOnCard"/></td>
+			</tr>
+			<tr class="order-prewiew-padding-cell">
+				<td><strong><inp2:m_Phrase label="lu_comm_CardType"/>:</strong></td>
+				<td><inp2:Field name="PaymentCardType" /></td>
+			</tr>
+			<tr class="order-prewiew-padding-cell">
+				<td><strong><inp2:m_Phrase label="lu_comm_CardNumber"/>:</strong></td>
+				<td><inp2:Field name="PaymentAccount" masked="masked"/></td>
+			</tr>
+			<tr class="order-prewiew-padding-cell">
+				<td><strong><inp2:m_Phrase label="lu_comm_Exp"/>:</strong></td>
+				<td><inp2:Field name="PaymentCCExpDate"/></td>
+			</tr>
+		</inp2:m_if>
+	</table>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="order_form">
+	<table>
+		<tr>
+			<td>
+				<strong><inp2:m_Phrase label="lu_comm_OrderNumber"/><inp2:Field name="OrderNumber"/></strong>
+			</td>
+		</tr>
+	</table>
+	<br />
+
+	<inp2:m_if check="OrderHasTangibleItems">
+		<table width="100%">
+			<tr>
+				<td valign="top" width="49%">
+					<inp2:m_RenderElement name="order_form_shipping" PrefixSpecial="ord"/>
+				</td>
+				<td>&nbsp;</td>
+				<td valign="top" width="49%">
+					<inp2:m_RenderElement name="order_form_billing" PrefixSpecial="ord"/>
+				</td>
+			</tr>
+		</table>
+	<inp2:m_else />
+		<table width="100%">
+			<tr>
+				<td>
+					<inp2:m_RenderElement name="order_form_billing" PrefixSpecial="ord"/>
+				</td>
+			</tr>
+		</table>
+	</inp2:m_if>
+
+	<br /><br />
+
+	<table style="width:100%">
+		<tr>
+			<td colspan="4">
+				<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="1" alt="" /></div>
+			</td>
+		</tr>
+		<tr>
+			<td class="sub-section-header"><inp2:m_Phrase label="lu_comm_ProductDescription"/></td>
+			<td class="sub-section-header"><inp2:m_Phrase label="lu_comm_YourPrice"/></td>
+			<td class="sub-section-header"><inp2:m_Phrase label="lu_comm_Qty"/>.</td>
+			<td class="sub-section-header"><inp2:m_Phrase label="lu_comm_Total"/></td>
+		</tr>
+		<tr>
+			<td colspan="4">
+				<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="1" alt="" /></div>
+			</td>
+		</tr>
+
+		<inp2:ord_ListOrderItems render_as="orderitem_elem"/>
+
+		<tr class="order-sub-total">
+			<td>
+				<inp2:m_if check="ord_HasDiscount">
+					<inp2:m_Phrase label="lu_comm_TotalSavings" />: <span><inp2:ord_Field name="DiscountTotal" currency="selected" /></span><br />
+				</inp2:m_if>&nbsp;
+			</td>
+			<td>
+				&nbsp;
+			</td>
+			<td>
+				&nbsp;
+			</td>
+			<td align="left" class="shopping-cart-button-padding">
+				<inp2:m_Phrase label="lu_comm_Subtotal"/>: <inp2:Field name="SubTotal" currency="selected"/>
+			</td>
+		</tr>
+	</table>
+
+
+	<br />
+	<table width="100%">
+		<tr>
+		    <td>
+		    	<inp2:m_RenderElement name="subsection" title="lu_section_OrderTotal"/>
+			</td>
+		</tr>
+	</table>
+
+	<table class="order-prewiew-padding-cell">
+
+		<inp2:m_DefineElement name="shipping_total">
+			<tr>
+				<td><strong><inp2:m_Phrase label="lu_comm_ShippingCost"/> (<inp2:ord_ShippingType />):</strong></td>
+				<td><inp2:ord_Field name="ShippingCost" currency="selected"/></td>
+			</tr>
+			<tr>
+				<td><strong><inp2:m_Phrase label="lu_comm_Insurance_Fee"/>:</strong></td>
+				<td><inp2:ord_Field name="InsuranceFee" currency="selected"/></td>
+			</tr>
+		</inp2:m_DefineElement>
+
+		<inp2:m_DefineElement name="processing_total">
+			<tr>
+				<td><strong><inp2:m_Phrase label="lu_comm_ProcessingFee"/>: </strong></td>
+				<td><inp2:ord_Field name="ProcessingFee" currency="selected"/></td>
+			</tr>
+		</inp2:m_DefineElement>
+
+		<inp2:m_DefineElement name="sub_total">
+			<tr>
+				<td><strong><inp2:m_Phrase label="lu_comm_SubTotal"/>: </strong></td>
+				<td><inp2:ord_Field name="AmountWithoutVAT" currency="selected"/></td>
+			</tr>
+		</inp2:m_DefineElement>
+
+		<inp2:m_DefineElement name="vat_total">
+			<tr>
+				<td><strong><inp2:m_Phrase label="lu_comm_VAT"/> <inp2:ord_Field name="VATPercent"/>%: </strong></td>
+				<td><inp2:ord_Field name="VAT" currency="selected"/></td>
+			</tr>
+		</inp2:m_DefineElement>
+
+		<inp2:ord_PrintTotals
+			shipping_render_as="shipping_total"
+			processing_render_as="processing_total"
+			sub_total_render_as="sub_total"
+			vat_render_as="vat_total"/>
+
+		<inp2:m_if check="ord_Field" name="GiftCertificateId">
+			<tr>
+				<td><strong><inp2:m_Phrase label="lu_comm_Gift_Certificate"/>: </strong></td>
+				<td><inp2:ord_Field name="GiftCertificateDiscount" currency="selected"/></td>
+			</tr>
+		</inp2:m_if>
+
+		<tr class="order-grand-total">
+		  <td><inp2:m_Phrase label="lu_comm_GrandTotal"/>:</td>
+			<td><span><inp2:Field name="TotalAmount" currency="selected"/></span></td>
+		</tr>
+	</table>
+	<br />
+</inp2:m_DefineElement>
+
+<inp2:ord_ShowOrder render_as="order_form" />
+
+<table>
+	<tr>
+		<td>
+			<form method="POST" action="<inp2:ord_GetFormAction/>">
+				<inp2:ord_GetFormHiddenFields return_template="in-commerce/checkout/checkout_success"
+											  cancel_template="in-commerce/checkout/billing" />
+				<inp2:m_if check="ord_NeedsPlaceButton">
+					<input type="submit" value="<inp2:m_Phrase label="lu_order_CompleteOrder" />" class="button">
+				</inp2:m_if>
+			</form>
+		</td>
+	</tr>
+</table>
\ No newline at end of file
Index: themes/advanced/in-commerce/elements/affiliate_date_filter.elm.tpl
===================================================================
--- themes/advanced/in-commerce/elements/affiliate_date_filter.elm.tpl	(revision 0)
+++ themes/advanced/in-commerce/elements/affiliate_date_filter.elm.tpl	(revision 0)
@@ -0,0 +1,46 @@
+<form method="POST" action="<inp2:m_FormAction />">
+<center>
+	<script src="<inp2:m_TemplatesBase module='In-Portal'/>inc/calendar.js"></script>
+	<table align="center">
+		<tr class="listing-row">
+			<inp2:m_inc param="tab_index" by="1"/>
+			<td>
+				<strong><inp2:m_phrase label="la_from_date"/></strong>
+			</td>
+			<td>
+				<inp2:m_if check="{$prefix}_SearchError" field="$field">
+					<span class="field-error"><inp2:{$prefix}_SearchError field="$field"/></span><br />
+				</inp2:m_if>
+				<input type="text" class="input-text" name="<inp2:{$prefix}_SearchInputName field="$field" filter_type="date_range" type="from" grid="$grid_name"/>" id="<inp2:{$prefix}_SearchInputName field="$field" filter_type="date_range" type="from" grid="$grid_name"/>" value="<inp2:{$prefix}_SearchField field="$field" filter_type="date_range" type="from" grid="$grid_name"/>" size="<inp2:{$prefix}_SearchFormat field="{$field}_date" input_format="1" edit_size="1"/>" datepickerIcon="<inp2:m_TemplatesBase module="In-Portal"/>img/calendar_icon.gif"/>
+				<span>(<inp2:{$prefix}_SearchFormat field="{$field}_date" input_format="1" human="true"/>)</span>
+				<script type="text/javascript">
+					initCalendar("<inp2:{$prefix}_SearchInputName field="$field" filter_type="date_range" type="from" grid="$grid_name"/>", "<inp2:{$prefix}_SearchFormat field="{$field}_date" input_format="1"/>");
+				</script>
+			</td>
+		</tr>
+		<tr class="listing-row">
+			<td>
+				<strong><inp2:m_phrase label="la_to_date"/></strong>
+			</td>
+			<td>
+				<inp2:m_if check="{$prefix}_SearchError" field="$field">
+					<span class="field-error"><inp2:{$prefix}_SearchError field="$field"/></span><br />
+				</inp2:m_if>
+				<input type="text" class="input-text" name="<inp2:{$prefix}_SearchInputName field="$field" filter_type="date_range" type="to" grid="$grid_name"/>" id="<inp2:{$prefix}_SearchInputName field="$field" filter_type="date_range" type="to" grid="$grid_name"/>" value="<inp2:{$prefix}_SearchField field="$field" filter_type="date_range" type="to" grid="$grid_name"/>" size="<inp2:{$prefix}_SearchFormat field="{$field}_date" input_format="1" edit_size="1"/>" datepickerIcon="<inp2:m_TemplatesBase module="In-Portal"/>img/calendar_icon.gif"/>
+				<span>(<inp2:{$prefix}_SearchFormat field="{$field}_date" input_format="1" human="true"/>)</span>
+				<script type="text/javascript">
+					initCalendar("<inp2:{$prefix}_SearchInputName field="$field" filter_type="date_range" type="to" grid="$grid_name"/>", "<inp2:{$prefix}_SearchFormat field="{$field}_date" input_format="1"/>");
+				</script>
+			</td>
+		</tr>
+		<tr class="listing-row">
+			<td colspan="3" align="center">
+				<input class="button" type="submit" name="events[<inp2:m_param name="prefix"/>][OnSearch]" value="<inp2:m_phrase label="lu_search" />">
+				<input class="button" type="submit" name="events[<inp2:m_param name="prefix"/>][OnSearchReset]" value="<inp2:m_phrase label="lu_reset" />">
+			</td>
+		</tr>
+	</table>
+</center>
+<input type="hidden" name="grid_name" value="<inp2:m_param name="grid_name"/>" />
+</form>
+<br />
\ No newline at end of file
Index: themes/advanced/in-commerce/elements/currency_picker.elm.tpl
===================================================================
--- themes/advanced/in-commerce/elements/currency_picker.elm.tpl	(revision 0)
+++ themes/advanced/in-commerce/elements/currency_picker.elm.tpl	(revision 0)
@@ -0,0 +1,15 @@
+<td width="1">
+	<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/languages_separator.gif" width="1" height="22" alt="" />
+</td>
+<td class="top-select-padding">
+<form method="post" name="cur_form"  id="cur_form" action="<inp2:m_FormAction />">
+&nbsp; <inp2:m_Phrase label="lu_YourCurrency"/>:
+	<input type="hidden" name="events[curr][OnChangeCurrency]" value="" />
+	<select name="curr_iso" class="input-select" onchange="document.getElementById('cur_form').submit()">
+	<inp2:m_DefineElement name="currency">
+		<option value="<inp2:Field name="ISO"/>" <inp2:m_if check="SelectedCurrency">selected="selected"</inp2:m_if> ><inp2:Field name="ISO"/></option>
+	</inp2:m_DefineElement>
+	<inp2:curr_ListCurrencies render_as="currency" no_table="1"/>
+	</select>
+</form>
+</td>
\ No newline at end of file
Index: themes/advanced/in-commerce/elements/html_head.elm.tpl
===================================================================
--- themes/advanced/in-commerce/elements/html_head.elm.tpl	(revision 0)
+++ themes/advanced/in-commerce/elements/html_head.elm.tpl	(revision 0)
@@ -0,0 +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>-->
+
+<!--## /CSS & JAVASCRIPT FOR IN-COMMERCE ##-->
Index: themes/advanced/in-commerce/elements/sorting.elm.tpl
===================================================================
--- themes/advanced/in-commerce/elements/sorting.elm.tpl	(revision 0)
+++ themes/advanced/in-commerce/elements/sorting.elm.tpl	(revision 0)
@@ -0,0 +1,41 @@
+<!--## SORTING TEMPLATE FOR IN-COMMERCE ##-->
+
+<table class="fullwidth">
+	<tr>
+		<td class="category-statistics">
+			<inp2:m_phrase name="lu_TotalProducts"/>: <inp2:p_ItemCount/>  &nbsp;|&nbsp;  <inp2:m_phrase name="lu_AddedToday"/>: <inp2:p_ItemCount today="1"/>
+		</td>
+		<td class="category-statistics" align="right">
+			<inp2:m_phrase name="lu_ProductsUpdated"/>: <inp2:p_LastUpdated format="_regional_DateFormat"/>
+		</td>
+	</tr>
+</table>
+<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="4" alt="" /><br />
+<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/grey_pix.gif" width="100%" height="1" alt="" /><br />
+<br />
+
+<table class="fullwidth">
+	<tr>
+		<td align="right">
+			<form method="post" action="<inp2:m_FormAction />">
+				<inp2:m_Phrase label="lu_SortProductsBy"/>:
+
+				<select class="input-select" name="<inp2:p_CombinedSortingDropDownName/>">
+					<option value="Name|asc" <inp2:p_SortingSelected sorting="l1_Name|asc" selected='selected="selected"'/>> <inp2:m_Phrase label="lu_comm_NameAZ"/></option>
+					<option value="Name|desc" <inp2:p_SortingSelected sorting="l1_Name|desc" selected='selected="selected"'/>> <inp2:m_Phrase label="lu_comm_NameZA"/></option>
+					<option value="Manufacturer|asc" <inp2:p_SortingSelected sorting="Manufacturer|asc" selected='selected="selected"'/>> <inp2:m_Phrase label="lu_comm_ManufAZ"/></option>
+					<option value="Manufacturer|desc" <inp2:p_SortingSelected sorting="Manufacturer|desc" selected='selected="selected"'/>> <inp2:m_Phrase label="lu_comm_ManufZA"/></option>
+					<option value="Price|asc" <inp2:p_SortingSelected sorting="Price|asc" selected='selected="selected"'/>> <inp2:m_Phrase label="lu_comm_PriceLH"/></option>
+					<option value="Price|desc" <inp2:p_SortingSelected sorting="Price|desc" selected='selected="selected"'/>> <inp2:m_Phrase label="lu_comm_PriceHL"/></option>
+					<option value="CreatedOn|asc" <inp2:p_SortingSelected sorting="CreatedOn|asc" selected='selected="selected"'/>> <inp2:m_Phrase label="lu_comm_RecentToOld"/></option>
+					<option value="CreatedOn|desc" <inp2:p_SortingSelected sorting="CreatedOn|desc" selected='selected="selected"'/>> <inp2:m_Phrase label="lu_comm_OldToRecent"/></option>
+				</select>
+				<input type="submit" class="button" name="<inp2:p_SubmitName event="OnSetSortingDirect"/>" value="<inp2:m_Phrase label="lu_btn_Sort" no_editing="1"/>" />
+			</form>
+		</td>
+	</tr>
+</table>
+
+<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="10" alt="" /><br />
+
+<!--## /SORTING TEMPLATE FOR IN-COMMERCE ##-->
\ No newline at end of file
Index: themes/advanced/in-commerce/elements/download.elm.tpl
===================================================================
--- themes/advanced/in-commerce/elements/download.elm.tpl	(revision 0)
+++ themes/advanced/in-commerce/elements/download.elm.tpl	(revision 0)
@@ -0,0 +1,3 @@
+<!--## FILE DOWNLOAD TAG ONLY (DO NOT REMOVE!) ##-->
+<inp2:p_FileDownload />
+<!--## /FILE DOWNLOAD TAG ONLY (DO NOT REMOVE!) ##-->
\ No newline at end of file
Index: themes/advanced/in-commerce/elements/menu_element.elm.tpl
===================================================================
--- themes/advanced/in-commerce/elements/menu_element.elm.tpl	(revision 0)
+++ themes/advanced/in-commerce/elements/menu_element.elm.tpl	(revision 0)
@@ -0,0 +1,16 @@
+<inp2:m_RenderElement design="menu_element">
+	<inp2:m_Capture to_var="menu_href">
+		<inp2:m_Link template="in-commerce/checkout/shop_cart" m_cat_id="0" m_cat_page="1"/>
+	</inp2:m_Capture>
+
+	<inp2:m_Capture to_var="menu_icon">
+		<img src="<inp2:m_TemplatesBase module="In-Commerce"/>img/menu_shopping_cart.gif" alt="" />
+	</inp2:m_Capture>
+
+	<inp2:m_Capture to_var="menu_title">
+		<inp2:m_Phrase name="lu_title_ShoppingCart"/>
+		&nbsp;<inp2:m_if check="ord_ItemsInCart">(<inp2:ord_ItemsInCart/>)</inp2:m_if>
+	</inp2:m_Capture>
+
+	<inp2:m_IsActive template="in-commerce/checkout/shop_cart" result_to_var="current"/>
+</inp2:m_RenderElement>
\ No newline at end of file
Index: themes/advanced/in-commerce/elements/addresses.elm.tpl
===================================================================
--- themes/advanced/in-commerce/elements/addresses.elm.tpl	(revision 0)
+++ themes/advanced/in-commerce/elements/addresses.elm.tpl	(revision 0)
@@ -0,0 +1,92 @@
+<!--## MY ADDRESS ELEMENT ##-->
+<inp2:m_DefineElement name="my_address_element">
+	<tr>
+		<td colspan="4">
+			<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="1" alt="" /></div>
+		</td>
+	</tr>
+	<tr class="listing-row">
+		<td>
+			<strong><inp2:Field field="To"/></strong><br />
+			<inp2:m_if check="Field" name="Company">
+				<inp2:Field field="Company"/><br />
+			</inp2:m_if>
+			<inp2:m_if check="FieldEquals" field="Address1" value="" inverse="inverse">
+				<inp2:Field field="Address1"/><br />
+			</inp2:m_if>
+
+			<inp2:m_if check="FieldEquals" field="Address2" value="" inverse="inverse">
+				<inp2:Field field="Address2"/><br />
+			</inp2:m_if>
+			<inp2:PrintLocation/><br />
+		</td>
+		<td>
+			<inp2:m_if check="Field" name="Email">
+				<inp2:Field field="Email"/><br />
+			</inp2:m_if>
+
+			<inp2:m_if check="Field" name="Phone">
+				<inp2:m_Phrase name="lu_Phone"/>: <inp2:Field field="Phone"/><br />
+			</inp2:m_if>
+
+			<inp2:m_if check="Field" name="Fax">
+				<inp2:m_Phrase name="lu_Fax"/>: <inp2:Field field="Fax"/><br />
+			</inp2:m_if>
+		</td>
+		<td>
+			<inp2:m_if check="Field" field="LastUsedAsShipping" value="1"><inp2:m_Phrase label="lu_LastUsedAsShipping"/><br/></inp2:m_if>
+			<inp2:m_if check="Field" field="LastUsedAsBilling" value="1"><inp2:m_Phrase label="lu_LastUsedAsBilling"/></inp2:m_if>
+			<br />
+		</td>
+		<td>
+			<inp2:m_if check="u.current_Field" name="cust_shipping_addr_block" inverse="1">
+				<inp2:m_if check="IsProfileAddress">
+					<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/ic_edit.gif" width="11" height="10" alt="" /> <a href="<inp2:m_Link template="platform/my_account/my_profile"/>" class="item-action"><inp2:m_Phrase label="lu_btn_Edit"/></a>
+				<inp2:m_else />
+					<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/ic_edit.gif" width="11" height="10" alt="" /> <a href="<inp2:m_Link template="in-commerce/my_account/edit_address" pass="m,addr"/>" class="item-action"><inp2:m_Phrase label="lu_btn_Edit"/></a> &nbsp;&nbsp;
+					&nbsp;|&nbsp; <img src="<inp2:m_TemplatesBase module="In-Portal"/>img/ic_delete.gif" width="11" height="10" alt="" /> <a href="<inp2:DeleteLink/>" onclick="return confirm('<inp2:m_phrase name="lu_comm_DeleteAddress" js_escape="1"/>');" class="item-action"><inp2:m_Phrase label="lu_btn_Delete"/></a>
+				</inp2:m_if>
+			</inp2:m_if>
+		</td>
+	</tr>
+</inp2:m_DefineElement>
+<!--## /MY ADDRESS ELEMENT ##-->
+
+<!--## ADDRESS SHORT ELEMENT ##-->
+<inp2:m_DefineElement name="address_short_element">
+	<option value="<inp2:m_param name="key"/>"<inp2:m_param name="selected"/>><inp2:m_param name="value"/></option>
+</inp2:m_DefineElement>
+<!--## /ADDRESS SHORT ELEMENT ##-->
+
+<!--## EDIT ADDRESS ELEMENT ##-->
+<inp2:m_DefineElement name="inp_edit_select_address" style="" is_last="0">
+	<tr>
+		<td class="field-name">
+			<inp2:m_phrase label="$title"/>:<br />
+			<span class="field-hint">
+				<inp2:m_phrase label="lu_hint_OrEnterAddress"/>
+			</span>
+		</td>
+		<td class="field-value">
+			<select class="input-select" name="<inp2:m_param name="type"/>_address_id" onchange="document.getElementById('events[ord][OnSelectAddress]').click();" style="<inp2:m_param name="style"/>">
+				<inp2:m_if check="ord_AllowAddAddress">
+					<option value="-1"><inp2:m_phrase name="lu_opt_NewAddress"/></option>
+				</inp2:m_if>
+				<inp2:ord_PrintAddresses render_as="address_short_element" type="$type" />
+			</select>
+				&nbsp;
+			<input class="button" type="submit" id="events[ord][OnSelectAddress]" name="events[ord][OnSelectAddress]" value="<inp2:m_Phrase label="lu_btn_Select" no_editing="1"/>"/>
+			<a href="<inp2:m_Link template="in-commerce/my_account/my_addresses"/>"><inp2:m_Phrase name="lu_btn_ManageAddresses"/></a>
+		</td>
+	</tr>
+
+	<inp2:m_if check="ord_IsProfileAddress" type="$type">
+		<tr>
+			<td class="field-name" colspan="2">
+				<inp2:m_Phrase label="lu_hint_ProfileAddressWarning"/><br />
+			</td>
+		</tr>
+	</inp2:m_if>
+	<inp2:m_RenderElement name="inp_edit_field_separator" is_last="$is_last"/>
+</inp2:m_DefineElement>
+<!--## /EDIT ADDRESS ELEMENT ##-->
\ No newline at end of file
Index: themes/advanced/in-commerce/elements/form_options.elm.tpl
===================================================================
--- themes/advanced/in-commerce/elements/form_options.elm.tpl	(revision 0)
+++ themes/advanced/in-commerce/elements/form_options.elm.tpl	(revision 0)
@@ -0,0 +1,156 @@
+<!--## PRODUCT OPTIONS FORM ##-->
+
+<inp2:m_if check="p_ShouldListOptions">
+		<form name="add_to_cart" method="post" id="add_to_cart" action="<inp2:m_link pass="all,p"/>">
+		<input type="hidden" name="events[ord]" id="events[ord]" value="OnAddToCart">
+		<input type="hidden" name="m_t" value="in-commerce/checkout/shop_cart">
+		<input type="hidden" name="p_id" value="<inp2:p_Field name="ProductId"/>">
+		<input type="hidden" name="product_details_template" value="<inp2:m_Get var="t"/>">
+		<input type="hidden" name="shop_cart_template" value="in-commerce/checkout/shop_cart">
+
+	<inp2:m_if check="p_OptionsHaveError">
+			<table class="warning-message fullwidth">
+					<tr>
+						<td width="30">
+							<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/warning_icon.gif" width="21" height="18" alt=""/>
+						</td>
+						<td><span class="warning"><inp2:m_Phrase label="lu_Warning"/></span></td>
+					</tr>
+					<tr>
+						<td colspan="2">
+						<inp2:p_OptionsError required="lu_comm_OptionsRequired" not_available="lu_comm_OptionsNotAvailable"/>
+						</td>
+					</tr>
+				</table>
+	</inp2:m_if>
+
+	<inp2:m_if check="p_FieldEquals" field="OptionsSelectionMode" value="1"> <!-- Listable options (combinations) -->
+		<script type="text/javascript">
+			function BuyCombination(comb_id)
+			{
+				document.getElementById('qty[<inp2:p_Field name="ProductId"/>]['+comb_id+']').value = 1;
+				document.getElementById('add_to_cart').submit();
+			}
+		</script>
+
+		<inp2:m_DefineElement name="combination_option_element">
+			<strong><inp2:m_Param name="option_name" />: </strong>
+			<inp2:m_Param name="option_value" /><inp2:m_if check="m_ParamEquals" param="is_last" value="1"><inp2:m_else/>, </inp2:m_if>
+		</inp2:m_DefineElement>
+
+		<inp2:m_DefineElement name="combination_element">
+			<tr class="cart-item-small">
+				<td>
+					<input type="hidden" id="qty[<inp2:p_Field name="ProductId"/>][<inp2:Field name="CombinationId"/>]" name="qty[<inp2:p_Field name="ProductId"/>][<inp2:Field name="CombinationId"/>]" value="0">
+					<inp2:ShowCombination render_as="combination_option_element"/>
+				</td>
+				<td><inp2:Field name="FinalPrice" currency="selected"/>&nbsp;&nbsp;</td>
+				<td>
+					<a href="javascript:BuyCombination(<inp2:Field name="CombinationId"/>)"><inp2:m_Phrase label="lu_comm_BuyNow"/></a>
+				</td>
+			</tr>
+		</inp2:m_DefineElement>
+		<table style="wdith: 100%; margin: 0px;">
+			<tr class="cart-header">
+				<td><strong><inp2:m_Phrase label="lu_comm_OptionsCombination"/></strong></td>
+				<td><strong><inp2:m_Phrase label="lu_comm_Price"/></strong></td>
+				<td>&nbsp;</td>
+			</tr>
+
+			<inp2:poc_PrintList2 per_page="-1" render_as="combination_element" row_start_render_as="html:" row_end_render_as="html:"/>
+		</table>
+		<br/>
+	<inp2:m_else/> <!-- Selectable options -->
+		<script type="text/javascript">
+			function AddToCart()
+			{
+				document.getElementById('add_to_cart').submit();
+			}
+
+			function UpdateOptions()
+			{
+				document.getElementById('events[ord]').value = 'OnUpdateItemOptions';
+				document.getElementById('add_to_cart').submit();
+			}
+
+		</script>
+
+		<strong><inp2:m_Phrase label="lu_comm_SelectOptions"/>:</strong><br/>
+		<img src="<inp2:m_TemplatesBase module="In-Commerce"/>img/s.gif" width="1" height="8" alt="" /><br />
+
+
+
+
+		<inp2:m_DefineElement name="option_select_element">
+				<option value="<inp2:m_param name="id"/>" <inp2:m_param name="selected"/>><inp2:m_param name="value"/><inp2:m_if check="m_ParamEquals" name="price" value=""><inp2:m_else/>: (<inp2:m_param name="sign"/><inp2:m_param name="price"/> <inp2:m_param name="price_type"/>)</inp2:m_if></option>
+		</inp2:m_DefineElement>
+
+		<inp2:m_DefineElement name="option_cb_element">
+				<input type="checkbox" <inp2:m_param name="selected"/>
+							name="options[<inp2:p_Field name="ProductId"/>][<inp2:Field name="ProductOptionId"/>][]"
+							id="options[<inp2:p_Field name="ProductId"/>][<inp2:Field name="ProductOptionId"/>]_<inp2:m_param name="id"/>"
+							value="<inp2:m_param name="id"/>" />
+					<label for="options[<inp2:p_Field name="ProductId"/>][<inp2:Field name="ProductOptionId"/>]_<inp2:m_param name="id"/>">
+						<inp2:m_param name="value"/><inp2:m_if check="m_ParamEquals" name="price" value=""><inp2:m_else/>: (<inp2:m_param name="sign"/><inp2:m_param name="price"/> <inp2:m_param name="price_type"/>)</inp2:m_if>&nbsp;&nbsp;
+					</label>
+		</inp2:m_DefineElement>
+
+		<inp2:m_DefineElement name="option_radio_element">
+				<input type="radio" <inp2:m_param name="selected"/>
+							name="options[<inp2:p_Field name="ProductId"/>][<inp2:Field name="ProductOptionId"/>]"
+							id="options[<inp2:p_Field name="ProductId"/>][<inp2:Field name="ProductOptionId"/>]_<inp2:m_param name="id"/>"
+							value="<inp2:m_param name="id"/>" />
+					<label for="options[<inp2:p_Field name="ProductId"/>][<inp2:Field name="ProductOptionId"/>]_<inp2:m_param name="id"/>">
+						<inp2:m_param name="value"/><inp2:m_if check="m_ParamEquals" name="price" value=""><inp2:m_else/>: (<inp2:m_param name="sign"/><inp2:m_param name="price"/> <inp2:m_param name="price_type"/>)</inp2:m_if>&nbsp;&nbsp;
+					</label>
+		</inp2:m_DefineElement>
+
+		<inp2:m_DefineElement name="option_element">
+			<tr>
+				<td style="padding-right: 10px">
+					<inp2:Field name="Name"/><inp2:m_if check="FieldEquals" field="Required" value="1"><span class="field-required">*</span></inp2:m_if> :
+				</td>
+				<td>
+					<inp2:m_if check="FieldEquals" field="OptionType" value="1"> <!-- drop-down -->
+						<select class="input-select" name="options[<inp2:p_Field name="ProductId"/>][<inp2:Field name="ProductOptionId"/>]">
+							<option value=""></option>
+							<inp2:ShowOptions render_as="option_select_element" currency="selected"/>
+						</select>
+					</inp2:m_if>
+
+					<inp2:m_if check="FieldEquals" field="OptionType" value="5"> <!-- editbox -->
+						<input type="text" class="input-text" name="options[<inp2:p_Field name="ProductId"/>][<inp2:Field name="ProductOptionId"/>]" value="<inp2:OptionData/>"/>
+					</inp2:m_if>
+
+					<inp2:m_if check="FieldEquals" field="OptionType" value="4"> <!-- textarea -->
+						<textarea cols="50" rows="5" class="input-textarea" name="options[<inp2:p_Field name="ProductId"/>][<inp2:Field name="ProductOptionId"/>]"><inp2:OptionData/></textarea>
+					</inp2:m_if>
+
+					<inp2:m_if check="FieldEquals" field="OptionType" value="6"> <!-- checkboxeS -->
+						<inp2:ShowOptions render_as="option_cb_element" currency="selected"/>
+					</inp2:m_if>
+
+					<inp2:m_if check="FieldEquals" field="OptionType" value="3"> <!-- radio buttons -->
+						<inp2:ShowOptions render_as="option_radio_element" currency="selected"/>
+					</inp2:m_if>
+				</td>
+			</tr>
+		</inp2:m_DefineElement>
+
+		<table class="form-data" style="margin: 0px;" >
+			<inp2:p_ListOptions per_page="-1" render_as="option_element" row_start_render_as="html:" row_end_render_as="html:"/>
+		</table>
+		<br />
+		<inp2:m_if check="p_OptionsUpdateMode">
+			<input type="button" class="button" onclick="javascript:UpdateOptions()" value="<inp2:m_Phrase label="lu_comm_UpdateCartItem" no_editing="1"/>"  />
+			<!--<a href="javascript:UpdateOptions()" class="price2"><inp2:m_Phrase label="lu_comm_UpdateCartItem"/></a><br/>-->
+		<inp2:m_else/>
+			<input type="button" class="button" onclick="javascript:AddToCart()" value="<inp2:m_Phrase label="lu_comm_BuyNow" no_editing="1"/>"  />
+			<!--<a href="javascript:AddToCart()" class="price2"><inp2:m_Phrase label="lu_comm_BuyNow"/></a><br/>-->
+		</inp2:m_if>
+		<br/><br />
+	</inp2:m_if>
+	</form>
+</inp2:m_if>
+
+<!--## /PRODUCT OPTIONS FORM ##-->
\ No newline at end of file
Index: themes/advanced/in-commerce/elements/options_blocks.elm.tpl
===================================================================
--- themes/advanced/in-commerce/elements/options_blocks.elm.tpl	(revision 0)
+++ themes/advanced/in-commerce/elements/options_blocks.elm.tpl	(revision 0)
@@ -0,0 +1,32 @@
+<!--## PRODUCT OPTIONS ELEMENTS ##-->
+
+<inp2:m_DefineElement name="option_value_element">
+	<inp2:m_param name="value"/> <inp2:m_if check="m_ParamEquals" name="price" value=""><inp2:m_else/> (<inp2:m_param name="sign"/><inp2:m_param name="price"/> <inp2:m_param name="price_type"/>)</inp2:m_if>
+	<inp2:m_if check="m_ParamEquals" name="is_last" value="1"><inp2:m_else/>, </inp2:m_if>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="option_element">
+	<inp2:m_if check="m_ParamEquals" param="type" value="6"> <!-- checkboxes - multiple -->
+		<strong><inp2:m_param name="option"/>:</strong>
+			<inp2:PrintOptionValues render_as="option_value_element" currency="selected"/>
+	<inp2:m_else/>
+			<strong><inp2:m_param name="option"/>:</strong> <inp2:m_param name="value"/>
+				<inp2:m_if check="m_ParamEquals" name="price" value=""><inp2:m_else/> (<inp2:m_param name="sign"/><inp2:m_param name="price"/> <inp2:m_param name="price_type"/>)</inp2:m_if>
+	</inp2:m_if><br/>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="option_value_element_no_price">
+	<inp2:m_param name="value"/>
+	<inp2:m_if check="m_ParamEquals" name="is_last" value="1"><inp2:m_else/>, </inp2:m_if>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="option_element_no_price">
+	<inp2:m_if check="m_ParamEquals" param="type" value="6"> <!-- checkboxes - multiple -->
+		<strong><inp2:m_param name="option"/>:</strong>
+			<inp2:PrintOptionValues render_as="option_value_element_no_price"/>
+	<inp2:m_else/>
+			<strong><inp2:m_param name="option"/>:</strong> <inp2:m_param name="value"/>
+	</inp2:m_if><br/>
+</inp2:m_DefineElement>
+
+<!--## /PRODUCT OPTIONS ELEMENTS ##-->
\ No newline at end of file
Index: themes/advanced/in-commerce/elements/forms.elm.tpl
===================================================================
--- themes/advanced/in-commerce/elements/forms.elm.tpl	(revision 0)
+++ themes/advanced/in-commerce/elements/forms.elm.tpl	(revision 0)
@@ -0,0 +1,82 @@
+<inp2:m_DefineElement name="inp_affiliate_caption" style="" valign="top" title="" required="0">
+	<td class="field-name" valign="<inp2:m_Param name="valign"/>" style="<inp2:m_Param name="style"/>">
+		<inp2:m_phrase label="$title"/><inp2:m_if check="m_ParamEquals" name="required" value="1"><span class="field-required"> *</span></inp2:m_if>:
+	</td>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="inp_affiliate_box" is_last="0" style="" required="0">
+	<tr class="<inp2:m_odd_even odd="table_color1" even="table_color2"/>">
+		<inp2:m_inc param="tab_index" by="1"/>
+		<inp2:m_RenderElement name="inp_affiliate_caption" style="$style" title="$title" required="$required"/>
+		<td class="field-value" nowrap>
+			<inp2:m_if check="m_GetEquals" var="{$field}RequiredError" value="1">
+				<span class="field-error"><inp2:m_Phrase label="la_err_required" /></span><br />
+			</inp2:m_if>
+			<input type="text" class="input-text" name="<inp2:m_Param name="field"/>" value="<inp2:m_Get var="$field" />" tabindex="<inp2:m_get param="tab_index"/>"/>
+		</td>
+	</tr>
+	<inp2:m_RenderElement name="inp_edit_field_separator" is_last="$is_last"/>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="inp_affiliate_textarea" is_last="0" required="0">
+	<tr class="<inp2:m_odd_even odd="table_color1" even="table_color2"/>">
+		<inp2:m_inc param="tab_index" by="1"/>
+		<inp2:m_RenderElement name="inp_affiliate_caption" style="$style" title="$title" required="$required"/>
+		<td class="field-value">
+			<textarea class="input-textarea" tabindex="<inp2:m_get param="tab_index"/>" name="<inp2:m_param name="field"/>" cols="<inp2:m_param name="cols"/>" rows="<inp2:m_param name="rows"/>"><inp2:m_Get var="$field" /></textarea>
+		</td>
+	</tr>
+	<inp2:m_RenderElement name="inp_edit_field_separator" is_last="$is_last"/>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="affiliate_payment_type_element">
+	<tr>
+		<td valign="top" nowrap>
+			<input type="radio" name="<inp2:m_Param name="field"/>" id="<inp2:m_Param name="field"/>_<inp2:Field name="PaymentTypeId" />" value="<inp2:Field name="$field" />" <inp2:m_if check="u_AffiliatePaymentTypeChecked">checked</inp2:m_if>/>
+		</td>
+		<td>
+			<label for="<inp2:m_Param name="field"/>_<inp2:Field name="$field" />">
+				<inp2:Field name="Name" /><br />
+				<inp2:m_if check="Field" name="Description">
+					<inp2:Field name="Description" />
+				</inp2:m_if>
+			</label>
+		</td>
+	</tr>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="inp_affiliate_payment_types" is_last="0" required="0">
+	<tr class="<inp2:m_odd_even odd="table_color1" even="table_color2"/>">
+		<inp2:m_inc param="tab_index" by="1"/>
+		<inp2:m_RenderElement name="inp_affiliate_caption" style="$style" title="$title" required="$required"/>
+		<td class="field-value">
+			<table>
+				<inp2:u_ListAffiliatesPaymentTypes render_as="affiliate_payment_type_element" field="$field"/>
+			</table>
+		</td>
+	</tr>
+	<inp2:m_RenderElement name="inp_edit_field_separator" is_last="$is_last"/>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="inp_affiliate_terms_checkbox" is_last="0">
+	<tr class="<inp2:m_odd_even odd="table_color1" even="table_color2"/>">
+		<td class="field-name" nowrap>
+			&nbsp;
+		</td>
+		<td class="field-value">
+			<inp2:m_if check="m_GetEquals" var="MustAgreeToTerms" value="1">
+				<span class="field-error"><inp2:m_Phrase label="lu_comm_MustAgreeAffiliateTermsError" /></span><br />
+			</inp2:m_if>
+			<input type="checkbox" name="AgreeToAffiliateTerms"/>
+			<inp2:m_Phrase label="lu_comm_IAgreeTo" />
+			<a href="javascript:showAffiliateAgreement()"><inp2:m_Phrase label="lu_comm_AffiliateAgreement" /></a>
+			<inp2:m_Phrase label="lu_comm_TermsAndConditions" />
+		</td>
+	</tr>
+
+	<script type="text/javascript">
+		function showAffiliateAgreement() {
+			window.open('<inp2:m_Link template="in-commerce/my_account/affiliate/affiliate_agreement" />', null, 'menubar=no,toolbars=no,width=500,height=300');
+		}
+	</script>
+</inp2:m_DefineElement>
\ No newline at end of file
Index: themes/advanced/in-commerce/elements/content_boxes/new_products.elm.tpl
===================================================================
--- themes/advanced/in-commerce/elements/content_boxes/new_products.elm.tpl	(revision 0)
+++ themes/advanced/in-commerce/elements/content_boxes/new_products.elm.tpl	(revision 0)
@@ -0,0 +1,23 @@
+<!-- editors pick -->
+<inp2:m_RenderElement design="content_box" data_exists="1">
+	<inp2:p_InitList list_name="new_products" types="new" recursive="true" per_page="short_list" />
+
+	<inp2:m_Capture to_var="header">
+		<inp2:m_phrase name="lu_title_NewProducts"/>
+	</inp2:m_Capture>
+
+	<inp2:m_include template="in-commerce/elements/products.elm"/>
+
+	<table class="fullwidth item-listing table-border">
+		<inp2:p_ListProducts list_name="new_products" render_as="product_element"/>
+	</table>
+
+	<inp2:m_DefineElement name="more_link">
+	<div style="text-align: right;">
+		<a href="<inp2:m_Link template="in-commerce/products/new_products" />"><inp2:m_Phrase label="lu_More"/>...</a>
+	</div>
+	</inp2:m_DefineElement>
+	
+	<inp2:p_MoreLink list_name="new_products" render_as="more_link"/>
+</inp2:m_RenderElement>
+<!-- //editors pick	-->
\ No newline at end of file
Index: themes/advanced/in-commerce/elements/content_boxes/search_results.elm.tpl
===================================================================
--- themes/advanced/in-commerce/elements/content_boxes/search_results.elm.tpl	(revision 0)
+++ themes/advanced/in-commerce/elements/content_boxes/search_results.elm.tpl	(revision 0)
@@ -0,0 +1,26 @@
+<inp2:m_RenderElement design="content_box" data_exists="1">
+	<inp2:p_InitList list_name="product_search_results" types="search" parent_cat_id="any" recursive="1" per_page="short_list"/>
+
+	<inp2:m_Capture to_var="header">
+		<inp2:m_phrase name="lu_title_ProductSearchResults"/> (<inp2:p_TotalRecords list_name="product_search_results" />)
+	</inp2:m_Capture>
+
+	<inp2:m_include template="in-commerce/elements/products.elm"/>
+	<inp2:m_include template="platform/elements/search_results.elm"/>
+
+	<table class="fullwidth item-listing">
+		<inp2:p_ListProducts list_name="product_search_results" render_as="product_short_element" show_relevance="1"/>
+	</table>
+
+	<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="1" alt="" /><br /></div>
+
+	<inp2:m_if check="p_TotalRecords" list_name="product_search_results">
+		<inp2:m_Set items_found="1"/>
+	</inp2:m_if>
+
+	<inp2:m_DefineElement name="more_link">
+		<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="5" alt="" /><br />
+		<a href="<inp2:m_Link template="in-commerce/products/search_results" />"><inp2:m_Phrase label="lu_More"/>...</a>
+	</inp2:m_DefineElement>
+	<inp2:p_MoreLink list_name="product_search_results" render_as="more_link" />
+</inp2:m_RenderElement>
\ No newline at end of file
Index: themes/advanced/in-commerce/elements/content_boxes/my_favorites.elm.tpl
===================================================================
--- themes/advanced/in-commerce/elements/content_boxes/my_favorites.elm.tpl	(revision 0)
+++ themes/advanced/in-commerce/elements/content_boxes/my_favorites.elm.tpl	(revision 0)
@@ -0,0 +1,21 @@
+<!-- products in wishlist -->
+<inp2:m_RenderElement design="content_box" data_exists="1">
+	<inp2:p_InitList list_name="wishlist_products" types="wish_list" parent_cat_id="0" recursive="1"/>
+
+	<inp2:m_Capture to_var="header">
+		<inp2:m_phrase name="lu_title_WishList"/> (<inp2:p_TotalRecords list_name="wishlist_products"/>)
+	</inp2:m_Capture>
+
+	<inp2:m_include template="in-commerce/elements/products.elm"/>
+
+	<table class="fullwidth item-listing table-border">
+		<inp2:p_ListProducts list_name="wishlist_products" render_as="product_element" direction="H"/>
+	</table>
+
+	<inp2:m_if check="p_TotalRecords" list_name="wishlist_products">
+		<inp2:m_Set favorites_found="1"/>
+	</inp2:m_if>
+
+	<inp2:m_include template="platform/elements/pagination.elm" prefix="p" list_name="wishlist_products"/>
+</inp2:m_RenderElement>
+<!-- // products in wishlist -->
\ No newline at end of file
Index: themes/advanced/in-commerce/elements/content_boxes/related_items.elm.tpl
===================================================================
--- themes/advanced/in-commerce/elements/content_boxes/related_items.elm.tpl	(revision 0)
+++ themes/advanced/in-commerce/elements/content_boxes/related_items.elm.tpl	(revision 0)
@@ -0,0 +1,6 @@
+<!--## RELATED PRODUCTS ##-->
+	<inp2:m_include template="in-commerce/elements/products.elm"/>	
+	<table>
+		<inp2:p_PrintList2 render_as="related_product_element" types="related" related_to="$related_to" parent_cat_id="any" no_table="1"/>
+	</table>
+<!--## // RELATED PRODUCTS ##-->
\ No newline at end of file
Index: themes/advanced/in-commerce/elements/content_boxes/pick_products.elm.tpl
===================================================================
--- themes/advanced/in-commerce/elements/content_boxes/pick_products.elm.tpl	(revision 0)
+++ themes/advanced/in-commerce/elements/content_boxes/pick_products.elm.tpl	(revision 0)
@@ -0,0 +1,22 @@
+<!-- editors pick -->
+<inp2:m_RenderElement design="content_box" data_exists="1">
+	<inp2:p_InitList list_name="pick_products" types="pick" recursive="true" per_page="short_list" />
+
+	<inp2:m_Capture to_var="header">
+		<inp2:m_phrase name="lu_title_PickProducts"/>
+	</inp2:m_Capture>
+
+	<inp2:m_include template="in-commerce/elements/products.elm"/>
+
+	<table class="fullwidth item-listing table-border">
+		<inp2:p_ListProducts list_name="pick_products" render_as="product_element"/>
+	</table>
+
+	<inp2:m_DefineElement name="more_link">
+	<div style="text-align: right;">
+		<a href="<inp2:m_Link template="in-commerce/products/pick_products"/>"><inp2:m_Phrase label="lu_More"/>...</a>
+	</div>
+	</inp2:m_DefineElement>
+	<inp2:p_MoreLink list_name="pick_products" render_as="more_link"/>
+</inp2:m_RenderElement>
+<!-- //editors pick	-->
\ No newline at end of file
Index: themes/advanced/in-commerce/elements/content_boxes/home_page_items.elm.tpl
===================================================================
--- themes/advanced/in-commerce/elements/content_boxes/home_page_items.elm.tpl	(revision 0)
+++ themes/advanced/in-commerce/elements/content_boxes/home_page_items.elm.tpl	(revision 0)
@@ -0,0 +1,21 @@
+<!-- FEATURED PRODUCTS DISPLAIED ON HOME PAGE-->
+<inp2:m_RenderElement design="content_box" data_exists="1">
+	<inp2:p_InitList list_name="featured_products" types="featured" recursive="1" per_page="2" sort_by="random" m_cat_id="0"/>
+
+	<inp2:m_Capture to_var="header">
+		<inp2:m_phrase name="lu_title_FeaturedProducts"/>
+	</inp2:m_Capture>
+
+	<inp2:m_include template="in-commerce/elements/products.elm"/>
+
+	<table class="fullwidth item-listing-featured table-border">
+		<inp2:p_ListProducts list_name="featured_products" render_as="featured_product_element_short" columns="2" direction="H"/>
+	</table>	
+
+	<inp2:m_DefineElement name="more_link">
+		<a href="<inp2:m_Link template="in-commerce/products/featured_products" />"><inp2:m_Phrase label="lu_More"/>...</a><br />
+	</inp2:m_DefineElement>
+	
+	<inp2:p_MoreLink list_name="featured_products" render_as="more_link"/>
+</inp2:m_RenderElement>
+<!-- /FEATURED PRODUCTS DISPLAIED ON HOME PAGE -->
\ No newline at end of file
Index: themes/advanced/in-commerce/elements/content_boxes/featured_products.elm.tpl
===================================================================
--- themes/advanced/in-commerce/elements/content_boxes/featured_products.elm.tpl	(revision 0)
+++ themes/advanced/in-commerce/elements/content_boxes/featured_products.elm.tpl	(revision 0)
@@ -0,0 +1,23 @@
+<!-- FEATURED PRODUCTS -->
+<inp2:m_RenderElement design="content_box" data_exists="1">
+	<inp2:p_InitList list_name="featured_products" types="featured" recursive="1" per_page="1" sort_by="random"/>
+
+	<inp2:m_Capture to_var="header">
+		<inp2:m_phrase name="lu_title_FeaturedProducts"/>
+	</inp2:m_Capture>
+
+	<inp2:m_include template="in-commerce/elements/products.elm"/>
+
+	<table class="fullwidth item-listing-featured table-border">
+		<inp2:p_ListProducts list_name="featured_products" render_as="featured_product_element"/>
+	</table>	
+
+	<inp2:m_DefineElement name="more_link">
+	<div style="text-align: right;">
+		<a href="<inp2:m_Link template="in-commerce/products/featured_products" />"><inp2:m_Phrase label="lu_More"/>...</a><br />
+	</div>
+	</inp2:m_DefineElement>
+	
+	<inp2:p_MoreLink list_name="featured_products" render_as="more_link"/>
+</inp2:m_RenderElement>
+<!-- /FEATURED PRODUCTS -->
\ No newline at end of file
Index: themes/advanced/in-commerce/elements/content_boxes/checkout/form_register.elm.tpl
===================================================================
--- themes/advanced/in-commerce/elements/content_boxes/checkout/form_register.elm.tpl	(revision 0)
+++ themes/advanced/in-commerce/elements/content_boxes/checkout/form_register.elm.tpl	(revision 0)
@@ -0,0 +1,54 @@
+<inp2:m_RenderElement design="content_box">
+	<inp2:m_Capture to_var="header">
+		<inp2:m_Phrase label="lu_title_SuggestUserRegistration"/>
+	</inp2:m_Capture>
+
+	<span class="field-required">*</span> <inp2:m_phrase name="lu_IndicatesRequired"/><br /><br />
+
+	<inp2:ord_PrefillRegistrationFields type="billing"/>
+	<inp2:m_if check="u_HasError" field="any">
+		<inp2:m_RenderElement name="error_message" />
+	</inp2:m_if>
+
+	<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/grey_pix.gif" width="100%" height="1" align="absmiddle" alt="" /><br /><br />
+
+	<form method="post" action="<inp2:m_FormAction/>">
+		<table class="form-data fullwidth">
+			<inp2:m_if check="u_UseUsernames">
+				<inp2:m_RenderElement name="inp_edit_box" prefix="u" field="Login" title="lu_fld_Login" style="width:155px" />
+			</inp2:m_if>
+
+			<inp2:m_RenderElement name="inp_edit_box" prefix="u" field="Email" title="lu_fld_Email" style="width:155px" />
+
+			<inp2:m_if check="m_ConfigEquals" name="User_Password_Auto" value="0">
+				<inp2:m_RenderElement name="inp_edit_password" prefix="u" field="Password" title="lu_fld_Password" style="width:155px" />
+				<inp2:m_RenderElement name="inp_edit_password" prefix="u" field="VerifyPassword" title="lu_fld_VerifyPassword" style="width:155px" />
+			</inp2:m_if>
+
+			<inp2:m_RenderElement name="inp_edit_date" prefix="u" field="dob" title="lu_fld_BirthDate" />
+			<inp2:m_RenderElement name="inp_edit_box" prefix="u" field="FirstName" title="lu_fld_FirstName" style="width:155px" />
+			<inp2:m_RenderElement name="inp_edit_box" prefix="u" field="LastName" title="lu_fld_LastName" style="width:155px" />
+			<inp2:m_RenderElement name="inp_edit_box" prefix="u" field="Company" title="lu_fld_Company" style="width:155px" />
+			<inp2:m_RenderElement name="inp_edit_box" prefix="u" field="Street" title="lu_fld_AddressLine1" style="width:155px" />
+			<inp2:m_RenderElement name="inp_edit_box" prefix="u" field="Street2" title="lu_fld_AddressLine2" style="width:155px" />
+			<inp2:m_RenderElement name="inp_edit_box" prefix="u" field="City" title="lu_fld_City" style="width:155px" />
+			<inp2:m_RenderElement name="inp_edit_box" prefix="u" field="State" title="lu_fld_State" style="width:155px" />
+			<inp2:m_RenderElement name="inp_edit_box" prefix="u" field="Zip" title="lu_fld_Zip" style="width:55px" />
+			<inp2:m_RenderElement name="inp_edit_options" prefix="u" field="Country" title="lu_fld_Country" has_empty="1"/>
+			<inp2:m_RenderElement name="inp_edit_box" prefix="u" field="Phone" title="lu_fld_Phone" style="width:155px" />
+			<inp2:m_RenderElement name="inp_edit_box" prefix="u" field="Fax" title="lu_fld_Fax" style="width:155px" is_last="1"/>
+
+			<inp2:m_RenderElement design="inp_edit_buttons">
+				<input type="hidden" name="next_template" value="<inp2:m_get var="next_template"/>">
+				<input type="hidden" name="registration_confirm_template" value="platform/login/register_confirm">
+				<input type="hidden" name="registration_confirm_pending_template" value="platform/login/register_confirm_pending">
+
+				<input type="hidden" name="fields_prefilled" value="1" />
+
+				<input class="button" type="submit" id="events[u][OnCreate]" name="events[u][OnCreate]" value="<inp2:m_Phrase label="lu_btn_Register" no_editing="1"/>"/>
+				<input type="hidden" name="cancel_template" value="in-commerce/checkout/shop_cart" />
+				<input type="submit" class="button" name="events[ls][OnCancel]" value="<inp2:m_Phrase label="lu_btn_Cancel" />" no_editing="1"/>
+			</inp2:m_RenderElement>
+		</table>
+	</form>
+</inp2:m_RenderElement>
\ No newline at end of file
Index: themes/advanced/in-commerce/elements/content_boxes/checkout/shipping_address.elm.tpl
===================================================================
--- themes/advanced/in-commerce/elements/content_boxes/checkout/shipping_address.elm.tpl	(revision 0)
+++ themes/advanced/in-commerce/elements/content_boxes/checkout/shipping_address.elm.tpl	(revision 0)
@@ -0,0 +1,53 @@
+<inp2:m_RenderElement design="content_box">
+	<inp2:m_Capture to_var="header">
+		<inp2:m_Phrase label="lu_title_ShippingInformation"/>
+	</inp2:m_Capture>
+
+	<inp2:ord_ShowDefaultAddress type="shipping"/>
+
+	<span class="field-required">*</span> <inp2:m_phrase name="lu_IndicatesRequired"/><br /><br />
+
+	<inp2:m_Phrase label="lu_EnterShippingAddress"/><br /><br />
+
+	<inp2:m_if check="ord_HasError" field="any">
+		<inp2:m_RenderElement name="error_message" />
+	</inp2:m_if>
+
+	<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/grey_pix.gif" width="100%" height="1" align="absmiddle" alt="" /><br />
+	<table class="form-data fullwidth">
+		<inp2:m_include template="in-commerce/elements/addresses.elm"/>
+
+		<inp2:m_if check="m_LoggedIn">
+			<inp2:m_RenderElement name="inp_edit_select_address" type="shipping" title="lu_fld_SelectAddress"/>
+		</inp2:m_if>
+
+		<inp2:m_if check="u.current_Field" name="cust_shipping_addr_block">
+			<inp2:m_RenderElement name="inp_edit_label" prefix="ord" field="ShippingTo" title="lu_fld_FullName"/>
+			<inp2:m_RenderElement name="inp_edit_label" prefix="ord" field="ShippingCompany" title="lu_fld_Company"/>
+			<inp2:m_RenderElement name="inp_edit_label" prefix="ord" field="ShippingAddress1" title="lu_fld_AddressLine1"/>
+			<inp2:m_RenderElement name="inp_edit_label" prefix="ord" field="ShippingAddress2" title="lu_fld_AddressLine2"/>
+			<inp2:m_RenderElement name="inp_edit_label" prefix="ord" field="ShippingCity" title="lu_fld_City"/>
+			<inp2:m_RenderElement name="inp_edit_label" prefix="ord" field="ShippingState" title="lu_fld_State"/>
+			<inp2:m_RenderElement name="inp_edit_label" prefix="ord" field="ShippingZip" title="lu_fld_Zip"/>
+			<inp2:m_RenderElement name="inp_edit_label" prefix="ord" field="ShippingCountry" title="lu_fld_Country"/>
+			<inp2:m_RenderElement name="inp_edit_label" prefix="ord" field="ShippingPhone" title="lu_fld_Phone"/>
+			<inp2:m_RenderElement name="inp_edit_label" prefix="ord" field="ShippingEmail" title="lu_fld_Email" is_last="1"/>
+		<inp2:m_else/>
+			<inp2:m_RenderElement name="inp_edit_box" prefix="ord" field="ShippingTo" title="lu_fld_FullName" style="width: 300px;" />
+			<inp2:m_RenderElement name="inp_edit_box" prefix="ord" field="ShippingCompany" title="lu_fld_Company" style="width: 300px;" />
+			<inp2:m_RenderElement name="inp_edit_box" prefix="ord" field="ShippingAddress1" title="lu_fld_AddressLine1" style="width: 300px;" />
+			<inp2:m_RenderElement name="inp_edit_box" prefix="ord" field="ShippingAddress2" title="lu_fld_AddressLine2" style="width: 300px;" />
+			<inp2:m_RenderElement name="inp_edit_box" prefix="ord" field="ShippingCity" title="lu_fld_City" style="width: 200px;" />
+			<inp2:m_RenderElement name="inp_edit_box" prefix="ord" field="ShippingState" title="lu_fld_State" style="width: 200px;" />
+			<inp2:m_RenderElement name="inp_edit_box" prefix="ord" field="ShippingZip" title="lu_fld_Zip" style="width: 100px;" />
+			<inp2:m_RenderElement name="inp_edit_options" prefix="ord" field="ShippingCountry" title="lu_fld_Country" style="width: 300px;" />
+			<inp2:m_RenderElement name="inp_edit_box" prefix="ord" field="ShippingPhone" title="lu_fld_Phone" style="width: 150px;" />
+			<inp2:m_RenderElement name="inp_edit_box" prefix="ord" field="ShippingEmail" title="lu_fld_Email" style="width: 150px;" is_last="1"/>
+		</inp2:m_if>
+
+		<inp2:m_RenderElement design="inp_edit_buttons" width="200">
+			<input type="hidden" name="check_shipping_address" value="true"/>
+			<input class="button" type="submit" id="events[ord][OnUpdate]" name="events[ord][OnUpdate]" value="<inp2:m_Phrase label="lu_btn_UpdateAddress" no_editing="1"/>"/>
+		</inp2:m_RenderElement>
+	</table>
+</inp2:m_RenderElement>
\ No newline at end of file
Index: themes/advanced/in-commerce/elements/content_boxes/checkout/billing_options.elm.tpl
===================================================================
--- themes/advanced/in-commerce/elements/content_boxes/checkout/billing_options.elm.tpl	(revision 0)
+++ themes/advanced/in-commerce/elements/content_boxes/checkout/billing_options.elm.tpl	(revision 0)
@@ -0,0 +1,194 @@
+<inp2:m_DefineElement name="order_payment_credit_card">
+	<table width="100%" class="block-no-border">
+		<tr class="cart-header">
+			<td>
+
+				<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="3" height="1" alt=""/><br /></div>
+				<div class="sub-section-header"><inp2:ord_PaymentTypeDescription/></div>
+				<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="3" height="1" alt=""/><br /></div>
+				<br />
+
+			</td>
+		</tr>
+		<tr class="block-data">
+			<td>
+				<inp2:m_if check="ord_HasGatewayError">
+					<inp2:m_RenderElement name="error_message" />
+					<strong><inp2:ord_ShowGatewayError/></strong>
+				</inp2:m_if>
+				<br />
+				<strong><inp2:ord_PaymentTypeInstructions/></strong>
+				<br /><br />
+
+			</td>
+		</tr>
+	</table>
+
+	<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/grey_pix.gif" width="100%" height="1" align="absmiddle" alt="" /><br />
+	<table class="form-data fullwidth">
+		<inp2:m_RenderElement name="inp_edit_options" prefix="ord" field="PaymentCardType" title="lu_billing_CardType"/>
+		<inp2:m_RenderElement name="inp_edit_box" prefix="ord" field="PaymentAccount" title="lu_billing_CreditCardNumber" style="width: 200px;"/>
+		<inp2:m_RenderElement name="inp_edit_box" prefix="ord" field="PaymentNameOnCard" title="lu_billing_NameOnCard" style="width: 260px;"/>
+
+		<!-- credit card expiration -->
+		<tr class="<inp2:m_odd_even odd="table_color1" even="table_color2"/>">
+			<inp2:m_RenderElement name="inp_edit_field_caption" prefix="ord" field="PaymentCCExpDate" title="lu_billing_CardExpiration"/>
+			<td class="field-value">
+				<inp2:m_if check="ord_HasError" field="PaymentCCExpDate">
+					<span class="field-error"><inp2:ord_Error field="PaymentCCExpDate"/></span><br />
+				</inp2:m_if>
+				<select class="input-select" name="<inp2:ord_InputName field="PaymentCCExpMonth"/>">
+					<inp2:ord_PredefinedOptions field="PaymentCCExpMonth" render_as="inp_option_item" selected="selected"/>
+				</select>
+				/
+				<select class="input-select" name="<inp2:ord_InputName field="PaymentCCExpYear"/>">
+					<option value=''></option>
+					<inp2:ord_PrintYearOptions field="PaymentCCExpYear" render_as="inp_option_item" selected="selected"/>
+				</select>
+			</td>
+		</tr>
+		<inp2:m_RenderElement name="inp_edit_field_separator" is_last="0"/>
+		<!-- // credit card expiration -->
+
+		<!-- credit card CVV2 -->
+		<tr class="<inp2:m_odd_even odd="table_color1" even="table_color2"/>">
+			<inp2:m_RenderElement name="inp_edit_field_caption" prefix="ord" field="PaymentCVV2" title="lu_billing_CVV2"/>
+			<td class="field-value">
+				<inp2:m_if check="ord_HasError" field="PaymentCVV2">
+					<span class="field-error"><inp2:ord_Error field="PaymentCVV2"/></span><br />
+				</inp2:m_if>
+				<input type="text" class="input-text" name="<inp2:ord_InputName field="PaymentCVV2"/>" value="<inp2:ord_Field field="PaymentCVV2"/>" tabindex="<inp2:m_get param="tab_index"/>" style="width: 50px;">
+				&nbsp;&nbsp;<a href="javascript:showCVV2Help()"><inp2:m_Phrase label="lu_WhatIsThis" /></a>
+			</td>
+		</tr>
+		<!-- // credit card CVV2 -->
+
+		<inp2:m_RenderElement design="inp_edit_buttons">
+			<input type="hidden" name="check_credit_card" value="true"/>
+			<input type="hidden" name="preview_template" value="in-commerce/checkout/preview">
+
+			<input class="button" type="submit" name="events[ord][OnProceedToPreview]" value="<inp2:m_Phrase label="lu_btn_ProceedToPreview" no_editing="1"/>">
+		</inp2:m_RenderElement>
+	</table>
+	<br />
+
+	<script language="JavaScript">
+	function showCVV2Help(){
+		window.open('<inp2:m_Link template="in-commerce/checkout/cvv2help" />', null, 'scrollbars=no,menubar=no,toolbars=no,width=300,height=150');
+	}
+	</script>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="order_payment_type_default">
+	<table>
+		<tr class="cart-header">
+			<td>
+				<inp2:ord_PaymentTypeDescription/>
+			</td>
+		</tr>
+		<tr class="form-data">
+			<td>
+				<inp2:m_if check="ord_HasGatewayError">
+					<table class="warning">
+						<tr>
+							<td valign="top" align="left" class="block-data">
+								<img src="img/message.gif" alt="" width="19" height="19" />
+								<span class="warning-text"><inp2:m_Phrase label="lu_Warning"/></span><br />
+								<inp2:ord_ShowGatewayError/>
+							</td>
+						</tr>
+					</table>
+				</inp2:m_if>
+				<br/>
+				<inp2:ord_PaymentTypeInstructions/>
+			</td>
+		</tr>
+	</table>
+	<br/>
+	<input type="hidden" name="preview_template" value="in-commerce/checkout/preview">
+
+	<input class="button" type="submit" name="events[ord][OnProceedToPreview]" value="<inp2:m_Phrase label="lu_btn_ProceedToPreview" no_editing="1"/>">
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="products_total">
+		<tr>
+			<td><strong><inp2:m_Phrase label="lu_comm_ProductsTotal"/>:</strong></td>
+			<td><inp2:ord_Field name="SubTotal" currency="selected"/></td>
+		</tr>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="shipping_total">
+		<tr>
+			<td><strong><inp2:m_Phrase label="lu_comm_ShippingCost"/> (<inp2:ord_ShippingType />):</strong></td>
+			<td><inp2:ord_Field name="ShippingCost" currency="selected"/></td>
+		</tr>
+		<tr>
+			<td><strong><inp2:m_Phrase label="lu_comm_Insurance_Fee"/>:</strong></td>
+			<td><inp2:ord_Field name="InsuranceFee" currency="selected"/></td>
+		</tr>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="processing_total">
+		<tr>
+			<td><strong><inp2:m_Phrase label="lu_comm_ProcessingFee"/>: </strong></td>
+			<td><inp2:ord_Field name="ProcessingFee" currency="selected"/></td>
+		</tr>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="sub_total">
+	<tr>
+		<td><strong><inp2:m_Phrase label="lu_comm_SubTotal"/>: </strong></td>
+		<td><inp2:ord_Field name="AmountWithoutVAT" currency="selected"/></td>
+	</tr>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="vat_total">
+		<tr>
+			<td><strong><inp2:m_Phrase label="lu_comm_VAT"/> <inp2:ord_Field name="VATPercent"/>%: </strong></td>
+			<td><inp2:ord_Field name="VAT" currency="selected"/></td>
+		</tr>
+</inp2:m_DefineElement>
+
+<inp2:m_RenderElement design="content_box">
+	<inp2:m_Capture to_var="header">
+		<inp2:m_Phrase label="lu_comm_BillingOptions"/>
+	</inp2:m_Capture>
+
+	<inp2:m_RenderElement name="subsection" title="lu_section_CostSummary"/>
+
+	<table class="order-totals">
+		<inp2:ord_PrintTotals
+			products_render_as="products_total"
+			shipping_render_as="shipping_total"
+			processing_render_as="processing_total"
+			sub_total_render_as="sub_total"
+			vat_render_as="vat_total"/>
+
+			<inp2:m_if check="ord_Field" name="GiftCertificateId">
+			<tr>
+				<td><strong><inp2:m_Phrase label="lu_comm_Gift_Certificate"/>: </strong></td>
+				<td><inp2:ord_Field name="GiftCertificateDiscount" currency="selected"/></td>
+			</tr>
+			</inp2:m_if>
+
+		<tr class="order-grand-total">
+		  <td><inp2:m_Phrase label="lu_comm_GrandTotal"/>:</td>
+			<td><span class="price1"><inp2:ord_Field name="TotalAmount" currency="selected"/></span></td>
+		</tr>
+	</table>
+
+	<br />
+	<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/grey_pix.gif" width="100%" height="1"  alt="" /><br /><br />
+	<br />
+
+
+	<br />
+	<strong><inp2:m_Phrase label="lu_comm_PaymentType"/>:</strong>
+	<select class="input-select" name="<inp2:ord_InputName field="PaymentType"/>" onchange="document.getElementById('events[ord][OnUpdate]').click();">
+		<inp2:ord_PredefinedOptions render_as="inp_option_item" field="PaymentType" selected="selected"/>
+	</select>
+	&nbsp;<input class="button" type="submit" value="<inp2:m_Phrase label="lu_btn_Select" no_editing="1"/>" name="events[ord][OnUpdate]" id="events[ord][OnUpdate]">
+	<br/><br/>
+
+	<inp2:ord_PaymentTypeForm cc_render_as="order_payment_credit_card" default_render_as="order_payment_type_default"/>
+</inp2:m_RenderElement>
\ No newline at end of file
Index: themes/advanced/in-commerce/elements/content_boxes/checkout/billing_address.elm.tpl
===================================================================
--- themes/advanced/in-commerce/elements/content_boxes/checkout/billing_address.elm.tpl	(revision 0)
+++ themes/advanced/in-commerce/elements/content_boxes/checkout/billing_address.elm.tpl	(revision 0)
@@ -0,0 +1,64 @@
+<inp2:m_RenderElement design="content_box">
+	<inp2:m_Capture to_var="header">
+		<inp2:m_Phrase label="lu_comm_BillingInfo"/>
+	</inp2:m_Capture>
+
+	<inp2:ord_ShowDefaultAddress type="billing"/>
+
+	<span class="field-required">*</span> <inp2:m_phrase name="lu_IndicatesRequired"/><br /><br />
+
+	<inp2:m_Phrase label="lu_EnterBillingAddress"/><br /><br />
+
+	<inp2:m_if check="ord_HasError" field="any">
+		<inp2:m_RenderElement name="error_message" />
+	</inp2:m_if>
+
+	<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/grey_pix.gif" width="100%" height="1" align="absmiddle" alt="" /><br />
+	<table class="form-data fullwidth">
+		<inp2:m_include template="in-commerce/elements/addresses.elm"/>
+
+		<inp2:m_if check="ord_OrderHasTangibleItems">
+			<inp2:m_if check="m_LoggedIn"><inp2:m_else/>
+				<tr>
+					<td class="field-name"><inp2:m_Phrase label="lu_SameAsShipping"/>:</td>
+					<td class="field-value">
+						<input type="checkbox" name="same_address" onclick="document.getElementById('events[ord][OnUpdate]').click();" value="1"<inp2:m_if check="m_GetEquals" name="same_address" value="1"> checked</inp2:m_if>" />
+					</td>
+				</tr>
+			</inp2:m_if>
+		</inp2:m_if>
+
+		<inp2:m_if check="m_LoggedIn">
+			<inp2:m_RenderElement name="inp_edit_select_address" type="billing" title="lu_fld_SelectAddress"/>
+		</inp2:m_if>
+
+		<inp2:m_if check="u.current_Field" name="cust_shipping_addr_block">
+			<inp2:m_RenderElement name="inp_edit_label" prefix="ord" field="BillingTo" title="lu_fld_FullName"/>
+			<inp2:m_RenderElement name="inp_edit_label" prefix="ord" field="BillingCompany" title="lu_fld_Company"/>
+			<inp2:m_RenderElement name="inp_edit_label" prefix="ord" field="BillingAddress1" title="lu_fld_AddressLine1"/>
+			<inp2:m_RenderElement name="inp_edit_label" prefix="ord" field="BillingAddress2" title="lu_fld_AddressLine2"/>
+			<inp2:m_RenderElement name="inp_edit_label" prefix="ord" field="BillingCity" title="lu_fld_City"/>
+			<inp2:m_RenderElement name="inp_edit_label" prefix="ord" field="BillingState" title="lu_fld_State"/>
+			<inp2:m_RenderElement name="inp_edit_label" prefix="ord" field="BillingZip" title="lu_fld_Zip"/>
+			<inp2:m_RenderElement name="inp_edit_label" prefix="ord" field="BillingCountry" title="lu_fld_Country"/>
+			<inp2:m_RenderElement name="inp_edit_label" prefix="ord" field="BillingPhone" title="lu_fld_Phone"/>
+			<inp2:m_RenderElement name="inp_edit_label" prefix="ord" field="BillingEmail" title="lu_fld_Email" is_last="1"/>
+		<inp2:m_else/>
+			<inp2:m_RenderElement name="inp_edit_box" prefix="ord" field="BillingTo" title="lu_fld_FullName" style="width: 300px;" />
+			<inp2:m_RenderElement name="inp_edit_box" prefix="ord" field="BillingCompany" title="lu_fld_Company" style="width: 300px;" />
+			<inp2:m_RenderElement name="inp_edit_box" prefix="ord" field="BillingAddress1" title="lu_fld_AddressLine1" style="width: 300px;" />
+			<inp2:m_RenderElement name="inp_edit_box" prefix="ord" field="BillingAddress2" title="lu_fld_AddressLine2" style="width: 300px;" />
+			<inp2:m_RenderElement name="inp_edit_box" prefix="ord" field="BillingCity" title="lu_fld_City" style="width: 200px;" />
+			<inp2:m_RenderElement name="inp_edit_box" prefix="ord" field="BillingState" title="lu_fld_State" style="width: 200px;" />
+			<inp2:m_RenderElement name="inp_edit_box" prefix="ord" field="BillingZip" title="lu_fld_Zip" style="width: 100px;" />
+			<inp2:m_RenderElement name="inp_edit_options" prefix="ord" field="BillingCountry" title="lu_fld_Country" style="width: 300px;" />
+			<inp2:m_RenderElement name="inp_edit_box" prefix="ord" field="BillingPhone" title="lu_fld_Phone" style="width: 150px;" />
+			<inp2:m_RenderElement name="inp_edit_box" prefix="ord" field="BillingEmail" title="lu_fld_Email" style="width: 150px;" is_last="1"/>
+		</inp2:m_if>
+
+		<inp2:m_RenderElement design="inp_edit_buttons" width="200">
+			<input type="hidden" name="check_billing_address" value="true"/>
+			<input class="button" type="submit" id="events[ord][OnUpdate]" name="events[ord][OnUpdate]" value="<inp2:m_Phrase label="lu_btn_UpdateAddress" no_editing="1"/>"/>
+		</inp2:m_RenderElement>
+	</table>
+</inp2:m_RenderElement>
\ No newline at end of file
Index: themes/advanced/in-commerce/elements/content_boxes/checkout/shipping_options.elm.tpl
===================================================================
--- themes/advanced/in-commerce/elements/content_boxes/checkout/shipping_options.elm.tpl	(revision 0)
+++ themes/advanced/in-commerce/elements/content_boxes/checkout/shipping_options.elm.tpl	(revision 0)
@@ -0,0 +1,236 @@
+<inp2:m_DefineElement name="order_shipping_type">
+	<option <inp2:m_param name="selected"/> value="<inp2:m_param name="ShippingId"/>"><inp2:m_param name="ShippingName"/> (<inp2:m_if check="m_param" name="ShippingFree" value="1"><inp2:m_Phrase label="lu_comm_FreeShipping" /><inp2:m_else/><inp2:m_param name="TotalCost"/></inp2:m_if>)</option>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="shippings_table_header">
+	<table width="100%">
+		<tr>
+			<td colspan="4">
+				<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="1" alt="" /></div>
+			</td>
+		</tr>
+		<tr class="sub-section-header">
+			<td><inp2:m_Phrase label="lu_ship_Shipment" /></td>
+			<td><inp2:m_Phrase label="lu_ship_ItemsNumber" /></td>
+			<td><inp2:m_Phrase label="lu_ship_ShippingWeight" /></td>
+			<td><inp2:m_Phrase label="lu_ship_ShippingType" /></td>
+		</tr>
+		<tr>
+			<td colspan="4">
+				<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="1" alt="" /></div>
+			</td>
+		</tr>
+
+		<inp2:m_if check="ord_CartHasBackorders">
+			<strong><inp2:m_Phrase label="lu_comm_Note"/>:</strong>
+			<inp2:m_Phrase label="lu_comm_YouHaveBackorderedItems"/>
+
+			<br />
+			<inp2:m_DefineElement name="order_option">
+				<input onclick="document.getElementById('events[ord][OnUpdate]').click();" type="radio"
+					<inp2:m_param name="checked"/>
+					name="<inp2:m_param name="field_name"/>"
+					id="<inp2:m_param name="field_name"/>_<inp2:m_param name="key"/>" value="<inp2:m_param name="key"/>">
+					<label for="<inp2:m_param name="field_name"/>_<inp2:m_param name="key"/>">
+						<inp2:m_phrase label="$option"/>
+					</label>&nbsp;<br />
+			</inp2:m_DefineElement>
+			<inp2:ord_PredefinedOptions field="ShippingOption" render_as="order_option" selected_param="checked" selected="checked=\"checked\""/>
+			<br />
+		</inp2:m_if>
+
+		<inp2:m_if check="m_GetEquals" var="shipping_limitations_apply" value="0"><inp2:m_else/>
+			<strong><inp2:m_Phrase label="lu_comm_Note"/>:</strong>
+			<inp2:m_if check="m_GetEquals" var="shipping_limitations_apply" value="1">
+				<inp2:m_Phrase label="lu_comm_ShippingTypesLimitationApply"/><br/>
+				<input type="hidden" name="<inp2:ord_InputName field="ShippingGroupOption"/>" id="<inp2:ord_InputName field="ShippingGroupOption"/>" value="<inp2:ord_Field name="ShippingGroupOption" db="1"/>" />
+				<input onclick="document.getElementById('<inp2:ord_InputName field="ShippingGroupOption"/>').value = this.checked ? 1:0; document.getElementById('events[ord][OnUpdate]').click();" type="checkbox"
+						<inp2:m_param name="checked"/>
+						name="cb_<inp2:ord_InputName field="ShippingGroupOption"/>"
+						id="cb_<inp2:ord_InputName field="ShippingGroupOption"/>" value="1" <inp2:ord_Field name="ShippingGroupOption" db="1" checked="checked"/> />
+						<label for="cb_<inp2:ord_InputName field="ShippingGroupOption"/>">
+							<inp2:m_phrase label="lu_AdjustShippingManually"/>
+						</label>&nbsp;<br />
+			<inp2:m_else/> <!-- Order canNOT be shipped with single shipping type -->
+				<inp2:m_Phrase label="lu_comm_ShippingTypesLimitationApply_CantSingleShip"/><br/>
+				<input type="hidden" name="<inp2:ord_InputName field="ShippingGroupOption"/>" value="1" />
+			</inp2:m_if>
+		</inp2:m_if>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="shippings_table_footer">
+		<tr>
+			<td class="shopping-cart-cell-item-padding">
+				<input class="button" type="submit" name="events[ord][OnUpdate]" value="<inp2:m_Phrase label="lu_comm_UpdateShipping" no_editing="1"/>"/><br/>
+			</td>
+			<td>&nbsp;</td>
+			<td class="shopping-cart-cell-item-padding" style="text-align: right">
+				<strong><inp2:m_Phrase label="lu_comm_ShippingTotal" />:</strong>
+			</td>
+			<td class="shopping-cart-cell-item-padding">
+				<inp2:ord_Field name="ShippingCost" currency="selected"/>
+			</td>
+		</tr>
+
+		<tr class="cart-subtotal">
+			<td>&nbsp;</td>
+			<td>&nbsp;</td>
+			<td style="text-align: right">
+				<strong><inp2:m_Phrase label="lu_comm_Insurance_Fee"/>:</strong>
+			</td>
+			<td class="shopping-cart-cell-item-padding">
+				<inp2:ord_Field name="InsuranceFee" currency="selected"/>
+			</td>
+		</tr>
+
+		<inp2:m_DefineElement name="products_total">
+			<tr class="cart-subtotal">
+				<td>&nbsp;</td>
+				<td>&nbsp;</td>
+				<td style="text-align: right">
+					<strong><inp2:m_Phrase label="lu_comm_ProductsTotal"/>:</strong>
+				</td>
+				<td>
+					<inp2:ord_Field name="SubTotal" currency="selected"/>
+				</td>
+			</tr>
+		</inp2:m_DefineElement>
+
+		<inp2:m_DefineElement name="processing_total">
+			<tr class="cart-subtotal">
+				<td>&nbsp;</td>
+				<td>&nbsp;</td>
+				<td style="text-align: right">
+					<strong><inp2:m_Phrase label="lu_comm_ProcessingFee"/>:</strong>
+				</td>
+				<td>
+					<inp2:ord_Field name="ProcessingFee" currency="selected"/>
+				</td>
+			</tr>
+		</inp2:m_DefineElement>
+
+		<inp2:m_DefineElement name="sub_total">
+			<tr>
+				<td>&nbsp;</td>
+				<td>&nbsp;</td>
+				<td align="right" class="shopping-cart-cell-item-padding">
+					<strong><inp2:m_Phrase label="lu_comm_SubTotal"/>:</strong>
+				</td>
+				<td class="shopping-cart-cell-item-padding">
+					<span class="price1"><inp2:ord_Field name="AmountWithoutVAT" currency="selected"/></span>
+				</td>
+			</tr>
+		</inp2:m_DefineElement>
+
+		<inp2:m_DefineElement name="vat_total">
+			<tr>
+				<td>&nbsp;</td>
+				<td>&nbsp;</td>
+				<td class="shopping-cart-cell-item-padding" align="right">
+					<strong><inp2:m_Phrase label="lu_comm_VAT"/> <inp2:ord_Field name="VATPercent"/>%:</strong>
+				</td>
+				<td class="shopping-cart-cell-item-padding">
+					<span class="price1"><inp2:ord_Field name="VAT" currency="selected"/></span>
+				</td>
+			</tr>
+		</inp2:m_DefineElement>
+
+		<inp2:ord_PrintTotals
+			products_render_as="products_total"
+			processing_render_as="processing_total"
+			sub_total_render_as="sub_total"
+			vat_render_as="vat_total"/>
+
+		<inp2:m_if check="ord_Field" name="GiftCertificateId">
+			<tr>
+				<td>&nbsp;</td>
+				<td>&nbsp;</td>
+				<td class="shopping-cart-cell-item-padding" align="right">
+					<strong><inp2:m_Phrase label="lu_comm_Gift_Certificate"/>:</strong>
+				</td>
+				<td class="shopping-cart-cell-item-padding">
+					<span class="price1"><inp2:ord_Field name="GiftCertificateDiscount" currency="selected"/></span>
+				</td>
+			</tr>
+		</inp2:m_if>
+
+		<tr class="cart-subtotal order-grand-total">
+			<td>&nbsp;</td>
+			<td>&nbsp;</td>
+			<td class="shopping-cart-cell-item-padding" align="right">
+				<inp2:m_Phrase label="lu_comm_GrandTotal"/>:
+			</td>
+			<td class="shopping-cart-cell-item-padding">
+				<inp2:ord_Field name="TotalAmount" currency="selected"/>
+			</td>
+		</tr>
+
+		<tr>
+			<td>&nbsp;</td>
+			<td>&nbsp;</td>
+			<td>&nbsp;</td>
+			<td class="shopping-cart-cell-item-padding">
+				<input type="hidden" name="next_step_template" value="in-commerce/checkout/billing">
+				<input type="submit" name="events[ord][OnProceedToBilling]" value="<inp2:m_Phrase label="lu_comm_ProceedToBilling" no_editing="1"/>" class="button">
+			</td>
+		</tr>
+
+	</table>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="in-commerce/elements/options_blocks.elm"/>
+
+<inp2:m_DefineElement name="shipping_group_item">
+	<inp2:Field name="Name"/><inp2:m_if check="ord_BackorderFlag"> <span class="backordered-product"><inp2:m_phrase label="lu_cart_BackorderFlag" /></span></inp2:m_if><br />
+	<inp2:m_if check="HasOptions">
+		<br/>
+		<span style="font-size: 8pt">
+		<inp2:m_if check="DisplayOptionsPricing"> <!-- selectable options or overriding combination -->
+			<inp2:PrintOptions render_as="option_element" currency="selected"/>
+		<inp2:m_else/> <!-- listed combinations -->
+			<inp2:PrintOptions render_as="option_element_no_price"/>
+		</inp2:m_if>
+		<inp2:m_if check="FieldEquals" field="OptionsSelectionMode" value="0"> <!-- selectable options -->
+			<a href="<inp2:m_link template="__default__" pass="m,p,orditems"/>"><inp2:m_Phrase label="lu_comm_edit_options"/></a><br />
+		</inp2:m_if>
+		</span>
+	</inp2:m_if>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="order_shipment">
+	<tr class="cart-item">
+		<td class="shopping-cart-cell-item-padding"><inp2:m_param name="shipment"/><br/>
+			<b><inp2:m_Phrase label="lu_Items"/>:</b><br />
+			<inp2:ord_PrintCart item_render_as="shipping_group_item" requery="1" package_num="$package_num" product_type="1" header_render_as="html:" footer_render_as="html:"/>
+		</td>
+		<td class="shopping-cart-cell-item-padding"><inp2:m_param name="items"/></td>
+		<td class="shopping-cart-cell-item-padding"><inp2:m_param name="weight"/></td>
+		<td class="shopping-cart-cell-item-padding">
+			<select class="input-select" name="<inp2:m_param name="field_name"/>">
+				<inp2:ord_PrintShippingTypes render_as="order_shipping_type" currency="selected" />
+			</select>
+		</td>
+	</tr>
+	<tr>
+		<td colspan="4">
+			<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="1" alt="" /></div>
+		</td>
+	</tr>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="no_shipments">
+	<div class="field-error"><inp2:m_Recall name="usps_errors"/></div>
+	<inp2:m_Phrase label="lu_comm_ErrorNoShippingTypes"/> (<a href="mailto:<inp2:conf_ConfigValue name="Comm_Contacts_Email"/>"><inp2:conf_ConfigValue name="Comm_Contacts_Email"/></a>).
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="invalid_address">
+	<inp2:m_Phrase label="lu_comm_ErrorInvalidShippingAddress"/>.
+</inp2:m_DefineElement>
+
+<inp2:m_RenderElement design="content_box">
+	<inp2:m_Capture to_var="header">
+		<inp2:m_Phrase label="lu_title_ShippingOptions"/>
+	</inp2:m_Capture>
+
+	<inp2:ord_PrintShippings render_as="order_shipment" currency="selected" no_shipments_render_as="no_shipments" invalid_address_render_as="invalid_address" table_header_render_as="shippings_table_header" table_footer_render_as="shippings_table_footer" />
+</inp2:m_RenderElement>
\ No newline at end of file
Index: themes/advanced/in-commerce/elements/content_boxes/related_products.elm.tpl
===================================================================
--- themes/advanced/in-commerce/elements/content_boxes/related_products.elm.tpl	(revision 0)
+++ themes/advanced/in-commerce/elements/content_boxes/related_products.elm.tpl	(revision 0)
@@ -0,0 +1,19 @@
+<!-- related products -->
+<inp2:m_RenderElement design="content_box" data_exists="1">
+	<inp2:p_InitList list_name="related_products" types="related" recursive="1" parent_cat_id="any" />
+
+	<inp2:m_Capture to_var="header">
+		<inp2:m_Phrase label="lu_title_RelatedProducts"/> (<inp2:p_TotalRecords list_name="related_products"/>)
+	</inp2:m_Capture>
+
+	<inp2:m_include template="in-commerce/elements/sorting.elm" list_name="related_products"/>
+
+	<inp2:m_include template="in-commerce/elements/products.elm"/>
+
+	<table class="fullwidth item-listing">
+		<inp2:p_ListProducts list_name="related_products" render_as="product_element"/>
+	</table>
+
+	<inp2:m_include template="platform/elements/pagination.elm" prefix="p" list_name="related_products"/>
+</inp2:m_RenderElement>
+<!-- // related products -->
\ No newline at end of file
Index: themes/advanced/in-commerce/products/product_detail.tpl
===================================================================
--- themes/advanced/in-commerce/products/product_detail.tpl	(revision 0)
+++ themes/advanced/in-commerce/products/product_detail.tpl	(revision 0)
@@ -0,0 +1,302 @@
+<!--##
+<NAME>Products - Details Design</NAME>
+<DESC>General design template for Product Details section</DESC>
+<SECTION>Platform||Products</SECTION>
+##-->
+<inp2:p_AddToRecent /> <!--## ADD CURRENT PRODUCT TO RECENTLY VIEWED PRODUCTS ##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:p_Field name="Name"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/cart_indicator.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/categories.elm" data_exists="1" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/action_box.elm" item_actions="1" design="blue_box"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## /SIDE-BAR ELEMENT ##-->
+
+<!--## MAIN CONTENT ##-->
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="__item__" templates="__default__" show_category="1"/>
+		</div>
+		<div class="movable-element">
+			<!-- Product Details -->
+			<inp2:m_RenderElement design="content_box">
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_title_ProductDetails"/>
+				</inp2:m_Capture>
+
+				<table class="fullwidth table-border">
+					<tr>
+						<td class="item-padding">
+							<img src="<inp2:m_TemplatesBase module="In-Commerce"/>img/shopping_cart_item.gif" alt=""/> <span class="text-title"><inp2:p_Field name="Name"/></span>
+
+							<inp2:m_if check="p_Field" name="IsHot"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_hot.gif" alt="<inp2:m_Phrase name="lu_Hot" no_editing="1"/>"/></inp2:m_if>
+							<inp2:m_if check="p_Field" name="IsNew"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_new.gif" alt="<inp2:m_Phrase name="lu_New" no_editing="1"/>"/></inp2:m_if>
+							<inp2:m_if check="p_Field" name="IsPop"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_popular.gif" alt="<inp2:m_Phrase name="lu_Pop" no_editing="1"/>"/></inp2:m_if>
+							<inp2:m_if check="p_IsEditorsPick"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_pick.gif" alt="<inp2:m_Phrase name="lu_Pick" no_editing="1"/>"/></inp2:m_if>
+							<inp2:m_if check="p_IsFavorite"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_favorite.gif" alt="<inp2:m_Phrase name="lu_Favorite" no_editing="1"/>"/></inp2:m_if>
+
+							<inp2:p_VotesIndicator render_as="rating_element"/>
+
+							<br />
+							<br />
+
+							<table>
+								<tr>
+									<td style="text-align: center; padding-right: 10px;" valign="top">
+										<!--## Check if image exists ##-->
+										<inp2:m_if check="p_ImageSrc" MaxWidth="fullsize">
+											<a href="<inp2:p_ImageSrc DefaultImage="platform/img/no_picture.gif" format="resize:450x450;wm:platform/img/logo_watermark.png|-1|-1"/>" class="thickbox" rel="product-images" title="<inp2:p_Field name='Name' html_escape='1'/>">
+												<inp2:p_Image render_as="image_element" Primary="1" MaxWidth="thumbnail" DefaultWidth="150" DefaultImage="platform/img/no_picture.gif" align="center"/><br />
+											</a>
+										<!--## Check if image exists ##-->
+										<inp2:m_else/>
+											<inp2:p_Image render_as="image_element" Primary="1" MaxWidth="thumbnail" DefaultWidth="150" DefaultImage="platform/img/no_picture.gif" align="center"/><br />
+										</inp2:m_if>
+										<br />
+
+										<inp2:m_if check="p_HasAdditionalImages">
+											<a href="<inp2:p_ProductLink template="__default__" />#images"><inp2:m_Phrase label="lu_btn_MoreImages"/></a>
+											<br /><br />
+										</inp2:m_if>
+
+										<span class="product-price-large"><inp2:p_Field name="Price" currency="selected"/></span><br /><br />
+
+										<inp2:m_if check="p_Available">
+											<inp2:m_if check="p_ShouldListOptions" required_only="1"><inp2:m_else/>
+												<input class="button" onclick=" window.location.href='<inp2:p_AddToCartLink template="in-commerce/checkout/shop_cart" product_template="__default__"/>' " type="button" value="<inp2:m_Phrase label="lu_comm_BuyNow" no_editing="1"/>" />
+											</inp2:m_if>
+										<inp2:m_else />
+											<strong><inp2:m_phrase label="lu_comm_outofstock"/></strong>
+										</inp2:m_if>
+									</td>
+									<td valign="top">
+										<strong><inp2:m_phrase label="lu_Added"/>:</strong> <inp2:p_field field="CreatedOn_date" format="_regional_DateFormat"/><br />
+										<strong><inp2:m_phrase label="lu_Hits"/>:</strong> <inp2:p_field field="Hits"/><br />
+										<strong><inp2:m_phrase label="lu_Reviews"/>:</strong> <inp2:p_field field="CachedReviewsQty"/>
+
+										<a href="<inp2:p_ProductLink template="in-commerce/products/add_review"/>"><inp2:m_phrase name="lu_btn_AddReview"/></a><br />
+										<strong><inp2:m_phrase label="lu_Rating"/>:</strong> <inp2:p_field field="CachedRating"/> (<inp2:m_phrase label="lu_Votes"/>: <inp2:p_field field="CachedVotesQty"/>)
+
+										<a href="<inp2:p_ProductLink template="in-commerce/products/add_review"/>"><inp2:m_phrase name="lu_btn_RateThisProduct"/></a><br />
+
+										<br />
+
+										<inp2:m_if check="p_Field" name="SKU">
+											<strong><inp2:m_Phrase label="lu_fld_SKU"/>:</strong> <inp2:p_field name="SKU"/><br />
+										</inp2:m_if>
+
+										<inp2:m_if check="p_Field" name="ManufacturerId">
+											<strong><inp2:m_Phrase label="lu_fld_Manufacturer"/>:</strong> <inp2:p_field name="ManufacturerId"/> (<inp2:m_Phrase label="lu_comm_OtherProductsBy"/> <a href="<inp2:p_ManufacturerLink template="in-commerce/products/manufacturer_products" />"><inp2:p_Field name="ManufacturerId"/></a> <inp2:m_Phrase label="lu_comm_OtherProducts"/>) <br />
+										</inp2:m_if>
+
+										<inp2:m_if check="p_Field" name="MSRP">
+											<strong><inp2:m_Phrase label="lu_fld_MSRP"/>:</strong> <span class="product-price-msrp"><inp2:p_Field name="MSRP" currency="selected"/></span> <br />
+										</inp2:m_if>
+
+										<strong><inp2:m_Phrase label="lu_fld_OurPrice"/>: <span class="product-price"><inp2:p_Field name="Price" currency="selected"/></span></strong> <br />
+
+										<inp2:m_if check="p_Savings">
+											<strong><inp2:m_Phrase label="lu_fld_YouSave"/>: <span class="product-price"><inp2:p_Savings currency="selected" /> (<inp2:p_Savings type="percent"/>%)</span></strong><br/>
+										</inp2:m_if>
+										<br />
+
+										<inp2:m_if check="p_CustomField" name="Availability">
+											<strong><inp2:p_CustomFieldLabel field="Availability"/>:</strong>
+											<inp2:p_CustomField name="Availability"/>
+											<br />
+											<br />
+										</inp2:m_if>
+
+										<inp2:m_if check="p_HasQuantityPricing">
+											<inp2:m_if check="p_IsTangible">
+												<table>
+													<tr>
+														<td colspan="2" class="block-header">
+															<inp2:m_Phrase label="lu_comm_QuantityPricing"/>
+														</td>
+													</tr>
+													<tr class="cart-header">
+														<td>
+															<inp2:m_Phrase label="lu_comm_Quantity"/>
+														</td>
+														<td>
+															<inp2:m_Phrase label="lu_comm_Price"/>
+														</td>
+													</tr>
+													<inp2:m_DefineElement name="price_bracket">
+														<tr class="cart-item-small">
+															<td>
+																<inp2:Field name="MinQty"/> - <inp2:Field name="MaxQty"/>
+															</td>
+															<td>
+																<inp2:m_if check="Field" name="Negotiated">
+																	<a href="mailto:<inp2:conf_ConfigValue name="Comm_Contacts_Email"/>"><inp2:conf_ConfigValue name="Comm_Contacts_Email"/></a>
+																<inp2:m_else/>
+																	<inp2:Field name="Price" currency="selected"/>
+																</inp2:m_if>
+															</td>
+														</tr>
+													</inp2:m_DefineElement>
+													<inp2:p_ListPriceBrackets render_as="price_bracket"/>
+												</table>
+												<br />
+											</inp2:m_if>
+
+											<inp2:m_if check="p_IsSubscription">
+												<table>
+													<tr>
+														<td colspan="3" class="block-header">
+															<inp2:m_Phrase label="lu_comm_Pricing"/>
+														</td>
+													</tr>
+													<tr class="cart-header">
+														<td>
+															<inp2:m_Phrase label="lu_comm_AccessDuration"/>
+														</td>
+														<td>
+															<inp2:m_Phrase label="lu_comm_Price"/>
+														</td>
+														<td>&nbsp;
+
+														</td>
+													</tr>
+													<inp2:m_DefineElement name="access_price_bracket">
+														<tr class="cart-item-small">
+															<td>
+																<inp2:Field name="AccessDuration"/> <inp2:Field name="AccessUnit"/>
+																<br />
+																<small><inp2:Field name="Description"/></small>
+															</td>
+															<td>
+																<inp2:Field name="Price" currency="selected"/>
+															</td>
+															<td>
+																<a href="<inp2:AddToCartLink template="in-commerce/checkout/shop_cart" product_template="__default__"/>"><img src="<inp2:m_TemplatesBase module="In-Commerce"/>img/buy2.gif" alt="<inp2:m_Phrase label="lu_comm_BuyNow" no_editing="1"/>" width="15" height="17" border="0" /></a>
+															</td>
+														</tr>
+													</inp2:m_DefineElement>
+													<inp2:p_ListPriceBrackets render_as="access_price_bracket"/>
+												</table>
+												<br />
+											</inp2:m_if>
+										</inp2:m_if>
+
+										<inp2:m_include template="in-commerce/elements/form_options.elm"/>
+
+										<inp2:m_if check="p_Field" name="Description">
+											<strong><inp2:m_Phrase label="lu_fld_Description"/>:</strong> <inp2:p_Field name="Description"/> <br />
+										</inp2:m_if>
+
+										<br />
+										<inp2:m_if check="p_CustomField" name="Features">
+											<strong><inp2:p_CustomFieldLabel field="Features"/>:</strong>
+											<inp2:p_CustomField name="Features"/>
+											<br />
+											<br />
+										</inp2:m_if>
+
+										<inp2:m_if check="p_IsFavorite">
+											<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/ic_removefromfav.gif" width="11" height="10" alt="" /> <a class="item-action" href="<inp2:p_FavoriteToggleLink/>"><inp2:m_phrase name="lu_btn_RemoveFromWishList"/></a>
+										<inp2:m_else/>
+											<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/ic_addtofav.gif" width="11" height="10" alt="" /> <a class="item-action" href="<inp2:p_FavoriteToggleLink template="platform/my_account/my_favorites"/>"><inp2:m_phrase name="lu_btn_AddToWishList"/></a>
+										</inp2:m_if>
+									</td>
+								</tr>
+							</table>
+
+					        <br />
+							<inp2:m_if check="p_HasAdditionalImages">
+								<!--## ADDITIONAL IMAGE ELEMENT ##-->
+								<inp2:m_DefineElement name="additional_image_element">
+									<td>
+										<a href="<inp2:ImageSrc format="resize:450x450;wm:platform/img/logo_watermark.png|-1|-1"/>" class="thickbox" rel="product-images" title="<inp2:m_param name="alt"/>">
+											<img src="<inp2:m_param name="img_path"/>" title="<inp2:m_param name="alt"/>" alt="<inp2:m_param name="alt"/>" <inp2:m_param name="img_size"/> border="0" /><br />
+										</a>
+									</td>
+									<inp2:m_if check="m_Param" name="not_last">
+										<td>
+											<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="8" height="1" alt="" />
+										</td>
+									</inp2:m_if>
+								</inp2:m_DefineElement>
+								<!--## /ADDITIONAL IMAGE ELEMENT ##-->
+
+								<a name="images"></a>
+
+								<inp2:m_RenderElement name="subsection" title="lu_section_AdditionalImages"/>
+								<table>
+									<tr>
+										<inp2:p_ListImages render_as="additional_image_element" types="additional" per_page="-1" no_table="1" MaxWidth="thumbnail" DefaultWidth="150" DefaultImage="platform/img/no_picture.gif"/>
+									</tr>
+								</table>
+							</inp2:m_if>
+						</td>
+					</tr>
+				</table>
+			</inp2:m_RenderElement>
+			<!-- // Product Details -->
+		</div>
+
+		<div class="movable-element">
+			<!-- Product Reviews -->
+			<inp2:m_DefineElement name="no_reviews">
+				<inp2:m_phrase name="lu_NoReviews"/>
+			</inp2:m_DefineElement>
+
+			<inp2:m_RenderElement design="content_box" data_exists="1" block_no_data="no_reviews">
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_section_Reviews"/> (<inp2:p-rev_TotalRecords/>)
+				</inp2:m_Capture>
+
+				<table>
+					<inp2:p-rev_PrintList render_as="review_element"/>
+				</table>
+				<inp2:m_include template="platform/elements/pagination.elm" prefix="p-rev"/>
+			</inp2:m_RenderElement>
+			<!-- // Product Reviews -->
+		</div>
+
+		<div class="movable-element">
+			<a name="related"></a>
+			<inp2:m_include template="in-commerce/elements/content_boxes/related_products.elm"/>
+
+
+			<!--## RELATED TO PRODUCT ITEMS ##-->
+			<inp2:m_RenderElement design="content_box" related_to="Product" data_exists="1">
+				<inp2:m_Capture to_var="header">
+					<inp2:m_Phrase label="lu_title_RelatedItems"/>
+				</inp2:m_Capture>
+
+				<inp2:m_ModuleInclude template="elements/content_boxes/related_items.elm" related_to="$related_to" skip_prefixes="p" />
+			</inp2:m_RenderElement>
+			<!--## // RELATED TO PRODUCT ITEMS ##-->
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## /MAIN CONTENT ##-->
+
+<!--## DESIGN TEMPLATE ##-->
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
+<!--## /DESIGN TEMPLATE ##-->
\ No newline at end of file
Index: themes/advanced/in-commerce/products/featured_products.tpl
===================================================================
--- themes/advanced/in-commerce/products/featured_products.tpl	(revision 0)
+++ themes/advanced/in-commerce/products/featured_products.tpl	(revision 0)
@@ -0,0 +1,69 @@
+<!--##
+<NAME>Featured Products</NAME>
+<DESC>List of Featured Products</DESC>
+<SECTION>Platform||Products</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_phrase name="lu_title_FeaturedProducts"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/cart_indicator.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/categories.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/top_seller_products.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/recent_products.elm" design="blue_box" data_exists="1"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## /SIDE-BAR ELEMENT ##-->
+
+<!--## MAIN CONTENT ##-->
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_Products,lu_title_FeaturedProducts" templates="in-commerce/store/category,in-commerce/products/featured_products"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement design="content_box" data_exists="1">
+				<inp2:p_InitList list_name="featured_products" types="featured" recursive="1"/>
+
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_title_FeaturedProducts"/> (<inp2:p_TotalRecords list_name="featured_products"/>)
+				</inp2:m_Capture>
+
+				<inp2:m_include template="in-commerce/elements/sorting.elm" list_name="featured_products"/>
+
+				<inp2:m_include template="in-commerce/elements/products.elm"/>
+
+				<table class="fullwidth item-listing-featured table-border">
+					<inp2:p_ListProducts list_name="featured_products" render_as="product_element"/>
+				</table>
+
+				<inp2:m_include template="platform/elements/pagination.elm" prefix="p" list_name="featured_products"/>
+			</inp2:m_RenderElement>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## /MAIN CONTENT ##-->
+
+<!--## DESIGN TEMPLATE ##-->
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
+<!--## /DESIGN TEMPLATE ##-->
\ No newline at end of file
Index: themes/advanced/in-commerce/products/top_seller_products.tpl
===================================================================
--- themes/advanced/in-commerce/products/top_seller_products.tpl	(revision 0)
+++ themes/advanced/in-commerce/products/top_seller_products.tpl	(revision 0)
@@ -0,0 +1,66 @@
+<!--##
+<NAME>Top-Seller Products</NAME>
+<DESC>List of Top-Seller Products</DESC>
+<SECTION>Platform||Products</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_phrase name="lu_title_TopSellerProducts"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/cart_indicator.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/categories.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/recent_products.elm" design="blue_box" data_exists="1"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## /SIDE-BAR ELEMENT ##-->
+
+<!--## MAIN CONTENT ##-->
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_TopSellerProducts" templates="in-commerce/products/top_seller_products"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement design="content_box">
+				<inp2:p_InitList list_name="top_seller_products" types="hot" recursive="1"/>
+
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_title_TopSellerProducts"/> (<inp2:p_TotalRecords list_name="top_seller_products"/>)
+				</inp2:m_Capture>
+
+				<inp2:m_include template="in-commerce/elements/sorting.elm" list_name="top_seller_products"/>
+
+				<inp2:m_include template="in-commerce/elements/products.elm"/>
+
+				<table class="fullwidth item-listing">
+					<inp2:p_ListProducts list_name="top_seller_products" render_as="product_element"/>
+				</table>
+
+				<inp2:m_include template="platform/elements/pagination.elm" prefix="p" list_name="top_seller_products"/>
+			</inp2:m_RenderElement>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## /MAIN CONTENT ##-->
+
+<!--## DESIGN TEMPLATE ##-->
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
+<!--## /DESIGN TEMPLATE ##-->
\ No newline at end of file
Index: themes/advanced/in-commerce/products/recent_products.tpl
===================================================================
--- themes/advanced/in-commerce/products/recent_products.tpl	(revision 0)
+++ themes/advanced/in-commerce/products/recent_products.tpl	(revision 0)
@@ -0,0 +1,59 @@
+<!--##
+<NAME>Recent Products</NAME>
+<DESC>List of Recently Viewed Products</DESC>
+<SECTION>Platform||Products</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_Phrase label="lu_title_RecentlyViewedProducts"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/cart_indicator.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/categories.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/top_seller_products.elm" design="blue_box" data_exists="1"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_RecentlyViewedProducts" templates="in-commerce/products/recent_products"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement design="content_box">
+				<inp2:p_InitList list_name="recent_products" types="recent" parent_cat_id="any" recursive="1" except="in_cart"/>
+
+				<inp2:m_Capture to_var="header">
+					<inp2:m_Phrase label="lu_title_RecentlyViewedProducts"/> (<inp2:p_TotalRecords list_name="recent_products"/>)
+				</inp2:m_Capture>
+				<inp2:m_include template="in-commerce/elements/sorting.elm" list_name="recent_products"/>
+
+				<inp2:m_include template="in-commerce/elements/products.elm"/>
+
+				<table class="fullwidth item-listing">
+					<inp2:p_ListProducts list_name="recent_products" render_as="product_element"/>
+				</table>
+
+				<inp2:m_include template="platform/elements/pagination.elm" prefix="p" list_name="recent_products"/>
+			</inp2:m_RenderElement>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
Index: themes/advanced/in-commerce/products/.smsignore
===================================================================
--- themes/advanced/in-commerce/products/.smsignore	(revision 0)
+++ themes/advanced/in-commerce/products/.smsignore	(revision 0)
@@ -0,0 +1 @@
+product_detail\.tpl
\ No newline at end of file
Index: themes/advanced/in-commerce/products/search_results.tpl
===================================================================
--- themes/advanced/in-commerce/products/search_results.tpl	(revision 0)
+++ themes/advanced/in-commerce/products/search_results.tpl	(revision 0)
@@ -0,0 +1,70 @@
+<!--##
+<NAME>Products - Search Results</NAME>
+<DESC>List of Products Search Results</DESC>
+<SECTION>Platform||Products</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_Phrase label="lu_title_ProductSearchResults"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/cart_indicator.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/categories.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/top_seller_products.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/recent_products.elm" design="blue_box" data_exists="1"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## SIDE-BAR ELEMENT ##-->
+
+<!--## MAIN CONTENT ##-->
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_ProductSearchResults" templates="in-commerce/search/search_results"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement design="content_box">
+				<inp2:p_InitList list_name="product_search_results" types="search" parent_cat_id="any" recursive="1" except="in_cart"/>
+
+				<inp2:m_Capture to_var="header">
+					<inp2:m_Phrase label="lu_title_ProductSearchResults"/> (<inp2:p_TotalRecords list_name="product_search_results"/>)
+				</inp2:m_Capture>
+
+				<inp2:m_include template="in-commerce/elements/sorting.elm" list_name="product_search_results"/>
+
+				<inp2:m_include template="in-commerce/elements/products.elm"/>
+				<inp2:m_include template="platform/elements/search_results.elm"/>
+
+				<table class="fullwidth item-listing">
+					<inp2:p_ListProducts list_name="product_search_results" render_as="product_element" show_relevance="1"/>
+				</table>
+
+				<inp2:m_include template="platform/elements/pagination.elm" prefix="p" list_name="product_search_results"/>
+			</inp2:m_RenderElement>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## /MAIN CONTENT ##-->
+
+<!--## DESIGN TEMPLATE ##-->
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
+<!--## /DESIGN TEMPLATE ##-->
\ No newline at end of file
Index: themes/advanced/in-commerce/products/pick_products.tpl
===================================================================
--- themes/advanced/in-commerce/products/pick_products.tpl	(revision 0)
+++ themes/advanced/in-commerce/products/pick_products.tpl	(revision 0)
@@ -0,0 +1,71 @@
+<!--##
+<NAME>Editor's Pick Products</NAME>
+<DESC>List of Editor's Pick Products</DESC>
+<SECTION>Platform||Products</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_phrase name="lu_title_PickProducts"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/cart_indicator.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/categories.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/top_seller_products.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/recent_products.elm" design="blue_box" data_exists="1"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## /SIDE-BAR ELEMENT ##-->
+
+<!--## MAIN CONTENT ##-->
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_PickProducts" templates="in-commerce/products/pick_products"/>
+		</div>
+		<div class="movable-element">
+			<!-- Editors Pick Products List -->
+			<inp2:m_RenderElement design="content_box" data_exists="1">
+				<inp2:p_InitList list_name="pick_products" types="pick" recursive="true"/>
+
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_title_PickProducts"/> (<inp2:p_TotalRecords list_name="pick_products"/>)
+				</inp2:m_Capture>
+
+				<inp2:m_include template="in-commerce/elements/sorting.elm" list_name="pick_products"/>
+
+				<inp2:m_include template="in-commerce/elements/products.elm"/>
+
+				<table class="fullwidth item-listing">
+					<inp2:p_ListProducts list_name="pick_products" render_as="product_element"/>
+				</table>
+
+				<inp2:m_include template="platform/elements/pagination.elm" prefix="p" list_name="pick_products"/>
+			</inp2:m_RenderElement>
+			<!-- //Editors Pick Products List -->
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## /MAIN CONTENT ##-->
+
+<!--## DESIGN TEMPLATE ##-->
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
+<!--## /DESIGN TEMPLATE ##-->
\ No newline at end of file
Index: themes/advanced/in-commerce/products/add_review_confirm.tpl
===================================================================
--- themes/advanced/in-commerce/products/add_review_confirm.tpl	(revision 0)
+++ themes/advanced/in-commerce/products/add_review_confirm.tpl	(revision 0)
@@ -0,0 +1,50 @@
+<!--##
+<NAME>Product - Review Confirmation</NAME>
+<DESC>Product Review Confirmation page</DESC>
+<SECTION>Platform||Products</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_phrase name="lu_title_AddProductReviewConfirm"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/cart_indicator.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/action_box.elm" item_actions="1" design="blue_box"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="__item__,lu_title_ReviewProduct,lu_title_AddProductReviewConfirm" templates="__default__,in-commerce/products/add_review,in-commerce/products/add_review_confirm" show_category="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement design="content_box">
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_title_AddProductReviewConfirm"/>
+				</inp2:m_Capture>
+
+				<inp2:m_phrase name="lu_text_AddProductReviewConfirm"/><br /><br />
+				<a href="<inp2:p_ProductLink template="__default__"/>"><inp2:p_Field name="Name"/></a>
+			</inp2:m_RenderElement>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: themes/advanced/in-commerce/products/new_products.tpl
===================================================================
--- themes/advanced/in-commerce/products/new_products.tpl	(revision 0)
+++ themes/advanced/in-commerce/products/new_products.tpl	(revision 0)
@@ -0,0 +1,71 @@
+<!--##
+<NAME>New Products</NAME>
+<DESC>List of New Products</DESC>
+<SECTION>Platform||Products</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_phrase name="lu_title_NewProducts"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/cart_indicator.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/categories.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/top_seller_products.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/recent_products.elm" design="blue_box" data_exists="1"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## /SIDE-BAR ELEMENT ##-->
+
+<!--## MAIN CONTENT ##-->
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_NewProducts" templates="in-commerce/products/new_products"/>
+		</div>
+		<div class="movable-element">
+			<!-- New Products List -->
+			<inp2:m_RenderElement design="content_box" data_exists="1">
+				<inp2:p_InitList list_name="new_products" types="new" recursive="true"/>
+
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_title_NewProducts"/> (<inp2:p_TotalRecords list_name="new_products"/>)
+				</inp2:m_Capture>
+
+				<inp2:m_include template="in-commerce/elements/sorting.elm" list_name="new_products"/>
+
+				<inp2:m_include template="in-commerce/elements/products.elm"/>
+
+				<table class="fullwidth item-listing">
+					<inp2:p_ListProducts list_name="new_products" render_as="product_element"/>
+				</table>
+
+				<inp2:m_include template="platform/elements/pagination.elm" prefix="p" list_name="new_products"/>
+			</inp2:m_RenderElement>
+			<!-- //New Products List -->
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## MAIN CONTENT ##-->
+
+<!--## DESIGN TEMPLATE ##-->
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
+<!--## /DESIGN TEMPLATE ##-->
\ No newline at end of file
Index: themes/advanced/in-commerce/products/add_review_pending_confirm.tpl
===================================================================
--- themes/advanced/in-commerce/products/add_review_pending_confirm.tpl	(revision 0)
+++ themes/advanced/in-commerce/products/add_review_pending_confirm.tpl	(revision 0)
@@ -0,0 +1,50 @@
+<!--##
+<NAME>Product - Pending Review Confirmation</NAME>
+<DESC>Product Pending Review Confirmation page</DESC>
+<SECTION>Platform||Products</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_phrase name="lu_title_AddProductReviewConfirm"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/cart_indicator.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/action_box.elm" item_actions="1" design="blue_box"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="__item__,lu_title_ReviewPendingProduct,lu_title_AddProductReviewPendingConfirm" templates="__default__,in-commerce/products/add_review,in-commerce/products/add_review_pending_confirm" show_category="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement design="content_box">
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_title_AddProductReviewConfirm"/>
+				</inp2:m_Capture>
+
+				<inp2:m_phrase name="lu_text_AddProductReviewPendingConfirm"/><br /><br />
+				<a href="<inp2:p_ProductLink template="__default__"/>"><inp2:p_Field name="Name"/></a>
+			</inp2:m_RenderElement>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: themes/advanced/in-commerce/products/add_review.tpl
===================================================================
--- themes/advanced/in-commerce/products/add_review.tpl	(revision 0)
+++ themes/advanced/in-commerce/products/add_review.tpl	(revision 0)
@@ -0,0 +1,155 @@
+<!--##
+<NAME>Product - Add Review</NAME>
+<DESC>Add Product Review Form</DESC>
+<SECTION>Platform||Products</SECTION>
+##-->
+
+<inp2:m_RequireLogin login_template="platform/login/register" permissions="PRODUCT.REVIEW|PRODUCT.REVIEW.PENDING"/>
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:p_Field name="Name"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/cart_indicator.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/action_box.elm" item_actions="1" design="blue_box"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="__item__,lu_title_ReviewProduct" templates="__default__,in-commerce/products/add_review" show_category="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement design="content_box">
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_title_ProductDetails"/>
+				</inp2:m_Capture>
+
+				<table class="fullwidth table-border">
+					<tr><td class="item-padding">
+
+				<img src="<inp2:m_TemplatesBase module="In-Commerce"/>img/shopping_cart_item.gif" alt=""/> <span class="text-title">
+				<a href="<inp2:p_ProductLink template="__default__"/>"><inp2:p_Field name="Name"/></a></span>
+
+				<inp2:m_if check="p_Field" name="IsHot"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_hot.gif" alt="<inp2:m_Phrase name="lu_Hot" no_editing="1"/>"/></inp2:m_if>
+				<inp2:m_if check="p_Field" name="IsNew"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_new.gif" alt="<inp2:m_Phrase name="lu_New" no_editing="1"/>"/></inp2:m_if>
+				<inp2:m_if check="p_Field" name="IsPop"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_popular.gif" alt="<inp2:m_Phrase name="lu_Pop" no_editing="1"/>"/></inp2:m_if>
+				<inp2:m_if check="p_IsEditorsPick"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_pick.gif" alt="<inp2:m_Phrase name="lu_Pick" no_editing="1"/>"/></inp2:m_if>
+				<inp2:m_if check="p_IsFavorite"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_favorite.gif" alt="<inp2:m_Phrase name="lu_Favorite" no_editing="1"/>"/></inp2:m_if>
+
+				<inp2:p_VotesIndicator render_as="rating_element"/>
+
+				<br />
+				<br />
+
+				<table>
+					<tr>
+						<td style="text-align: center; padding-right: 10px;" valign="top">
+							<!--## Check if image exists ##-->
+							<inp2:m_if check="p_ImageSrc" MaxWidth="fullsize">
+								<a href="<inp2:p_ImageSrc MaxWidth="fullsize" DefaultImage="platform/img/no_picture.gif"/>" class="thickbox" rel="product-images" target="_blank" title="<inp2:p_Field name='Name' html_escape='1'/>">
+								<inp2:p_Image render_as="image_element" Primary="1" MaxWidth="thumbnail" DefaultImage="platform/img/no_picture.gif"/><br />
+							</a>
+							<!--## Check if image exists ##-->
+							<inp2:m_else/>
+								<inp2:p_Image render_as="image_element" Primary="1" MaxWidth="thumbnail" DefaultImage="platform/img/no_picture.gif"/><br />
+							</inp2:m_if>
+							<br />
+						</td>
+						<td valign="top">
+							<strong><inp2:m_phrase label="lu_Added"/>:</strong> <inp2:p_field field="CreatedOn_date" format="_regional_DateFormat"/><br />
+							<strong><inp2:m_phrase label="lu_Hits"/>:</strong> <inp2:p_field field="Hits"/><br />
+							<strong><inp2:m_phrase label="lu_Reviews"/>:</strong> <inp2:p_field field="CachedReviewsQty"/>
+
+							<strong><inp2:m_phrase label="lu_Rating"/>:</strong> <inp2:p_field field="CachedRating"/> (<inp2:m_phrase label="lu_Votes"/>: <inp2:p_field field="CachedVotesQty"/>)
+
+							<br />
+
+							<inp2:m_if check="p_Field" name="ManufacturerId">
+								<strong><inp2:m_Phrase label="lu_fld_Manufacturer"/>:</strong> <inp2:p_field name="ManufacturerId"/> (<inp2:m_Phrase label="lu_comm_OtherProductsBy"/> <a href="<inp2:p_ManufacturerLink template="in-commerce/products/manufacturer_products" />"><inp2:p_Field name="ManufacturerId"/></a> <inp2:m_Phrase label="lu_comm_OtherProducts"/>) <br />
+							</inp2:m_if>
+
+							<inp2:m_if check="p_Field" name="MSRP">
+								<strong><inp2:m_Phrase label="lu_fld_MSRP"/>:</strong> <span class="product-price-msrp"><inp2:p_Field name="MSRP" currency="selected"/></span> <br />
+							</inp2:m_if>
+
+							<strong><inp2:m_Phrase label="lu_fld_OurPrice"/>: <span class="product-price"><inp2:p_Field name="Price" currency="selected"/></span></strong> <br />
+
+							<inp2:m_if check="p_Savings">
+								<strong><inp2:m_Phrase label="lu_fld_YouSave"/>: <span class="product-price"><inp2:p_Savings currency="selected" /> (<inp2:p_Savings type="percent"/>%)</span></strong><br/>
+							</inp2:m_if>
+							<br />
+
+							<inp2:m_if check="p_Field" name="DescriptionExcerpt">
+								<span class="listing-field-name"><inp2:m_Phrase label="lu_fld_Description"/>:</span> <inp2:p_Field name="DescriptionExcerpt" nl2br="1"/><br/>
+							</inp2:m_if>
+
+
+						</td>
+					</tr>
+					</table>
+				</td></tr></table>
+			</inp2:m_RenderElement>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement design="content_box">
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_title_ReviewThisProduct"/>
+				</inp2:m_Capture>
+
+				<inp2:m_if check="p_HasPermission" permissions="PRODUCT.REVIEW|PRODUCT.REVIEW.PENDING">
+					<inp2:m_if check="p-rev_AlreadyReviewed">
+						<inp2:m_Phrase label="lu_ErrorAlreadyReviewed"/><br/><br/>
+						<table>
+							<inp2:p-rev_PrintList render_as="review_element" type="current_user"/>
+						</table>
+						<inp2:m_include template="platform/elements/pagination.elm" prefix="p-rev"/>
+					<inp2:m_else/>
+						<inp2:p-rev_PresetFormFields/>
+						<span class="field-required">*</span> <inp2:m_phrase name="lu_IndicatesRequired"/><br /><br />
+
+						<inp2:m_if check="p-rev_HasError" field="any">
+							<inp2:m_RenderElement name="error_message" />
+						</inp2:m_if>
+
+						<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/grey_pix.gif" width="100%" height="1" align="absmiddle" alt="" /><br /><br />
+
+						<form method="post" action="<inp2:m_FormAction/>">
+							<table class="form-data fullwidth">
+								<inp2:m_RenderElement name="inp_edit_radio" prefix="p-rev" field="Rating" title="lu_fld_Rating"/>
+								<inp2:m_RenderElement name="inp_edit_textarea" prefix="p-rev" field="ReviewText" rows="8" cols="40" title="lu_fld_ReviewText" is_last="1"/>
+
+								<inp2:m_RenderElement design="inp_edit_buttons">
+									<input type="hidden" name="success_template" value="in-commerce/products/add_review_confirm" />
+										<input type="hidden" name="success_pending_template" value="in-commerce/products/add_review_pending_confirm" />
+										<input class="button" type="submit" name="events[p-rev][OnCreate]" value="<inp2:m_Phrase label="lu_btn_Create" no_editing="1"/>" />
+								</inp2:m_RenderElement>
+							</table>
+						</form>
+					</inp2:m_if>
+				<inp2:m_else/>
+					<inp2:m_phrase name="lu_text_NoProductReviewPermission"/>
+				</inp2:m_if>
+			</inp2:m_RenderElement>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: themes/advanced/in-commerce/products/manufacturer_products.tpl
===================================================================
--- themes/advanced/in-commerce/products/manufacturer_products.tpl	(revision 0)
+++ themes/advanced/in-commerce/products/manufacturer_products.tpl	(revision 0)
@@ -0,0 +1,69 @@
+<!--##
+<NAME>Manufacturer Products</NAME>
+<DESC>List of Manufacturer Products</DESC>
+<SECTION>Platform||Products</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_Phrase label="lu_title_ProductsByManufacturer"/> <inp2:manuf_Field name="Name" />
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/cart_indicator.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/categories.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/top_seller_products.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/recent_products.elm" design="blue_box" data_exists="1"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## /SIDE-BAR ELEMENT ##-->
+
+<!--## MAIN CONTENT ##-->
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_ProductsByManufacturer" templates="in-commerce/products/manufacturer_products"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement design="content_box" data_exists="1">
+				<inp2:p_InitList list_name="manufacturer_products" types="manufacturer" recursive="1" parent_cat_id="any" />
+
+				<inp2:m_Capture to_var="header">
+					<inp2:m_Phrase label="lu_title_ProductsByManufacturer"/> <inp2:manuf_Field name="Name" /> (<inp2:p_TotalRecords list_name="manufacturer_products"/>)
+				</inp2:m_Capture>
+
+				<inp2:m_include template="in-commerce/elements/sorting.elm" list_name="manufacturer_products"/>
+
+				<inp2:m_include template="in-commerce/elements/products.elm"/>
+
+				<table class="fullwidth item-listing">
+					<inp2:p_ListProducts list_name="manufacturer_products" render_as="product_element"/>
+				</table>
+
+				<inp2:m_include template="platform/elements/pagination.elm" prefix="p" list_name="manufacturer_products"/>
+			</inp2:m_RenderElement>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## /MAIN CONTENT ##-->
+
+<!--## DESIGN TEMPLATE ##-->
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
+<!--## /DESIGN TEMPLATE ##-->
\ No newline at end of file
Index: themes/advanced/in-commerce/designs/section.tpl
===================================================================
--- themes/advanced/in-commerce/designs/section.tpl	(revision 0)
+++ themes/advanced/in-commerce/designs/section.tpl	(revision 0)
@@ -0,0 +1,104 @@
+<!--##
+<NAME>Products - Section Template</NAME>
+<DESC>Products</DESC>
+<SECTION>Platform||Products</SECTION>
+##-->
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_include template="platform/elements/title_bar.elm"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/cart_indicator.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/categories.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/credit_cards.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/pick_products.elm" design="blue_box" data_exists="1"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## /SIDE-BAR ELEMENT ##-->
+
+<!--## MAIN CONTENT ##-->
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm"/>
+		</div>
+		<!--## IF IN-COMMERCE HOME PAGE ##-->
+		<inp2:m_if check="p_IsModuleHome">
+			<div class="movable-element">
+				<inp2:m_include template="in-commerce/elements/content_boxes/featured_products.elm"/>
+			</div>
+			<div class="movable-element">
+				<inp2:m_include template="in-commerce/elements/content_boxes/new_products.elm"/>
+			</div>
+			<div class="movable-element">
+				<inp2:m_include template="in-commerce/elements/content_boxes/pick_products.elm"/>
+			</div>
+		<inp2:m_else/>
+		<!--## /IF IN-COMMERCE HOME PAGE ##-->
+
+			<div class="movable-element">
+				<inp2:m_include template="platform/elements/content_boxes/sub_categories.elm"/>
+			</div>
+
+			<div class="movable-element">
+				<!-- Category Products List -->
+				<inp2:m_RenderElement design="content_box" block_no_data="no_products">
+					<inp2:p_InitList list_name="products_in_category" />
+
+					<inp2:m_Capture to_var="header">
+						<inp2:m_phrase name="lu_title_Products"/> (<inp2:p_TotalRecords list_name="products_in_category"/>)
+					</inp2:m_Capture>
+
+					<inp2:m_include template="in-commerce/elements/sorting.elm" list_name="products_in_category"/>
+
+					<inp2:m_include template="in-commerce/elements/products.elm"/>
+
+					<table class="fullwidth table-border">
+						<inp2:p_ListProducts list_name="products_in_category" render_as="product_element"/>
+					</table>
+
+					<inp2:m_include template="platform/elements/pagination.elm" prefix="p" list_name="products_in_category"/>
+				</inp2:m_RenderElement>
+				<!-- // Category Products List -->
+			</div>
+
+			<!--## RELATED CATEGORIES ##-->
+			<!--##
+			<div class="movable-element">
+				<inp2:m_RenderElement design="content_box" related_to="Category" data_exists="1">
+					<inp2:m_Capture to_var="header">
+						<inp2:m_Phrase label="lu_title_RelatedCategories"/>
+					</inp2:m_Capture>
+
+					<inp2:m_include template="platform/elements/content_boxes/related_items.elm" related_to="$related_to" />
+				</inp2:m_RenderElement>
+			</div>
+			##-->
+			<!--## // RELATED CATEGORIES ##-->
+
+		</inp2:m_if>
+	</div>
+</inp2:m_DefineElement>
+<!--## /MAIN CONTENT ##-->
+
+<!--## DESIGN TEMPLATE ##-->
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
+<!--## /DESIGN TEMPLATE ##-->
\ No newline at end of file
Index: themes/advanced/in-commerce/designs/.smsignore
===================================================================
--- themes/advanced/in-commerce/designs/.smsignore	(revision 0)
+++ themes/advanced/in-commerce/designs/.smsignore	(revision 0)
@@ -0,0 +1 @@
+.*\.tpl
\ No newline at end of file
Index: themes/advanced/in-commerce/module_info.xml
===================================================================
--- themes/advanced/in-commerce/module_info.xml	(revision 0)
+++ themes/advanced/in-commerce/module_info.xml	(revision 0)
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="utf-8"?>
+<module_info>
+	<section_design_template>in-commerce/designs/section</section_design_template>
+	<item_design_template>in-commerce/designs/detail</item_design_template>
+</module_info>
\ No newline at end of file
Index: themes/advanced/in-commerce/my_account/new_address.tpl
===================================================================
--- themes/advanced/in-commerce/my_account/new_address.tpl	(revision 0)
+++ themes/advanced/in-commerce/my_account/new_address.tpl	(revision 0)
@@ -0,0 +1,93 @@
+<!--##
+<NAME>Add New Address</NAME>
+<DESC>Add New Address Form</DESC>
+<SECTION>My Account||Store</SECTION>
+##-->
+
+<inp2:m_RequireLogin login_template="platform/login/register"/> <!--## LOGIN REQUIRED ##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_Phrase label="lu_title_AddAddress"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/cart_indicator.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/top_seller_products.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/recent_products.elm" design="blue_box" data_exists="1"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## /SIDE-BAR ELEMENT ##-->
+
+<!--## MAIN CONTENT ##-->
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_MyAccount,lu_title_MyAddresses,lu_title_AddAddress" templates="platform/my_account/my_account,in-commerce/my_account/my_addresses,in-commerce/my_account/new_address"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement design="content_box">
+				<inp2:addr_PresetFormFields/>
+
+				<inp2:m_Capture to_var="header">
+					<inp2:m_Phrase label="lu_title_AddAddress"/>
+				</inp2:m_Capture>
+
+				<form method="post" action="<inp2:m_FormAction />">
+					<span class="field-required">*</span> <inp2:m_phrase name="lu_IndicatesRequired"/><br /><br />
+
+					<inp2:m_if check="addr_HasError" field="any">
+						<inp2:m_RenderElement name="error_message" />
+					</inp2:m_if>
+
+					<inp2:m_if check="u.current_Field" name="cust_shipping_addr_block">
+						<strong><inp2:m_Phrase label="lu_AddressModificationBlocked"/></strong>
+					<inp2:m_else/>
+						<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/grey_pix.gif" width="100%" height="1" align="absmiddle" alt="" /><br /><br />
+
+						<table class="form-data fullwidth">
+							<inp2:m_RenderElement name="inp_edit_box" prefix="addr" field="To" title="lu_fld_FullName"/>
+							<inp2:m_RenderElement name="inp_edit_box" prefix="addr" field="Company" title="lu_fld_Company"/>
+							<inp2:m_RenderElement name="inp_edit_box" prefix="addr" field="Address1" title="lu_fld_AddressLine1"/>
+							<inp2:m_RenderElement name="inp_edit_box" prefix="addr" field="Address2" title="lu_fld_AddressLine2"/>
+							<inp2:m_RenderElement name="inp_edit_box" prefix="addr" field="City" title="lu_fld_City"/>
+							<inp2:m_RenderElement name="inp_edit_box" prefix="addr" field="State" title="lu_fld_State"/>
+							<inp2:m_RenderElement name="inp_edit_box" prefix="addr" field="Zip" title="lu_fld_ZipCode"/>
+							<inp2:m_RenderElement name="inp_edit_options" prefix="addr" field="Country" title="lu_fld_Country"/>
+							<inp2:m_RenderElement name="inp_edit_box" prefix="addr" field="Phone" title="lu_fld_Phone"/>
+							<inp2:m_RenderElement name="inp_edit_box" prefix="addr" field="Fax" title="lu_fld_Fax"/>
+							<inp2:m_RenderElement name="inp_edit_box" prefix="addr" field="Email" title="lu_fld_Email"/>
+							<inp2:m_RenderElement name="inp_edit_checkbox" prefix="addr" field="LastUsedAsShipping" title="lu_fld_LastUsedAsShipping"/>
+							<inp2:m_RenderElement name="inp_edit_checkbox" prefix="addr" field="LastUsedAsBilling" title="lu_fld_LastUsedAsBilling" is_last="1"/>
+
+							<inp2:m_RenderElement design="inp_edit_buttons">
+								<input class="button" type="submit" name="events[addr][OnCreate]" value="<inp2:m_Phrase label="lu_btn_Create" no_editing="1"/>"/>
+								<input type="hidden" name="next_template" value="in-commerce/my_account/my_addresses"/>
+							</inp2:m_RenderElement>
+						</table>
+					</inp2:m_if>
+				</form>
+			</inp2:m_RenderElement>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## /MAIN CONTENT ##-->
+
+<!--## DESIGN TEMPLATE ##-->
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
+<!--## /DESIGN TEMPLATE ##-->
\ No newline at end of file
Index: themes/advanced/in-commerce/my_account/affiliate/affiliate_statistics_orders_list.tpl
===================================================================
--- themes/advanced/in-commerce/my_account/affiliate/affiliate_statistics_orders_list.tpl	(revision 0)
+++ themes/advanced/in-commerce/my_account/affiliate/affiliate_statistics_orders_list.tpl	(revision 0)
@@ -0,0 +1,79 @@
+<!--##
+<NAME>Affiliate - Orders List</NAME>
+<DESC>Affiliate Orders List page</DESC>
+<SECTION>My Account||Store||Affiliates</SECTION>
+##-->
+
+<inp2:m_RequireLogin login_template="platform/login/register"/> <!--## LOGIN REQUIRED ##-->
+<inp2:m_CheckSSL mode="required" condition="Require_SSL" /> <!--## CHECK IF SSL REQUIRED ##-->
+<inp2:m_RequireAffiliate registration_template="in-commerce/my_account/affiliate/affiliate" /> <!--## MUST BE AN AFFILIATE ##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_Phrase label="lu_title_AffiliateStatisticsOrders"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/cart_indicator.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_if check="u_IsAffiliate">
+				<inp2:m_RenderElement name="in-commerce/elements/side_boxes/affiliate_navigation.elm" design="blue_box"/>
+			</inp2:m_if>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/top_seller_products.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/recent_products.elm" design="blue_box" data_exists="1"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_MyAccount,lu_title_Affiliate,lu_title_AffiliateStatistics,lu_title_AffiliateStatisticsOrders" templates="platform/my_account/my_account,in-commerce/my_account/affiliate/affiliate,in-commerce/my_account/affiliate/affiliate_statistics,in-commerce/my_account/affiliate/affiliate_statistics_orders_list"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement design="content_box" block_no_data="no_orders">
+
+				<inp2:visits_InitList list_name="visitors_orders_list" types="myvisitororders" grid="visitsincommerce"/>
+
+				<inp2:m_Capture to_var="header">
+					<inp2:m_Phrase label="lu_title_AffiliateStatisticsOrders"/>
+				</inp2:m_Capture>
+
+				<inp2:m_include template="in-commerce/elements/affiliate_date_filter.elm" prefix="visits.incommerce" field="VisitDate" grid_name="visitsincommerce"/>
+
+				<inp2:m_include template="in-commerce/elements/affiliates.elm"/>
+
+				<table class="fullwidth">
+					<inp2:m_RenderElement name="separator" colspan="4"/>
+					<tr class="sub-section-header">
+						<td><inp2:m_Phrase label="lu_col_Date"/></td>
+						<td><inp2:m_Phrase label="lu_col_OrderNumber"/></td>
+						<td><inp2:m_Phrase label="lu_col_OrderTotalAmount"/></td>
+						<td><inp2:m_Phrase label="lu_col_OrderCommissionEarned"/></td>
+					</tr>
+					<inp2:m_RenderElement name="separator" colspan="5"/>
+					<inp2:visits_PrintList list_name="visitors_orders_list" render_as="my_order_element"/>
+					<inp2:visits_AffiliateOrderInfo list_name="visitors_orders_list" types="myvisitors" render_as="affiliate_orders_info" currency="selected" />
+				</table>
+
+				<inp2:m_include template="platform/elements/pagination.elm" prefix="visits" list_name="visitors_orders_list"/>
+			</inp2:m_RenderElement>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: themes/advanced/in-commerce/my_account/affiliate/affiliate_statistics_visits_list.tpl
===================================================================
--- themes/advanced/in-commerce/my_account/affiliate/affiliate_statistics_visits_list.tpl	(revision 0)
+++ themes/advanced/in-commerce/my_account/affiliate/affiliate_statistics_visits_list.tpl	(revision 0)
@@ -0,0 +1,81 @@
+<!--##
+<NAME>Affiliate - Visits List</NAME>
+<DESC>Affiliate Visits List page</DESC>
+<SECTION>My Account||Store||Affiliates</SECTION>
+##-->
+
+<inp2:m_RequireLogin login_template="platform/login/register"/> <!--## LOGIN REQUIRED ##-->
+<inp2:m_CheckSSL mode="required" condition="Require_SSL" /> <!--## CHECK IF SSL REQUIRED ##-->
+<inp2:m_RequireAffiliate registration_template="in-commerce/my_account/affiliate/affiliate" /> <!--## MUST BE AN AFFILIATE ##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_Phrase label="lu_title_AffiliateStatisticsVisits"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/cart_indicator.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_if check="u_IsAffiliate">
+				<inp2:m_RenderElement name="in-commerce/elements/side_boxes/affiliate_navigation.elm" design="blue_box"/>
+			</inp2:m_if>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/top_seller_products.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/recent_products.elm" design="blue_box" data_exists="1"/>
+		</div>
+	</di>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_MyAccount,lu_title_Affiliate,lu_title_AffiliateStatistics,lu_title_AffiliateStatisticsVisits" templates="platform/my_account/my_account,in-commerce/my_account/affiliate/affiliate,in-commerce/my_account/affiliate/affiliate_statistics,in-commerce/my_account/affiliate/affiliate_statistics_visits_list"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement design="content_box" block_no_data="no_visitors">
+				<inp2:visits_InitList list_name="visitors_list" types="myvisitors" grid="visitsincommerce"/>
+
+				<inp2:m_Capture to_var="header">
+					<inp2:m_Phrase label="lu_title_AffiliateStatisticsVisits"/> (<inp2:visits_TotalRecords list_name="visitors_list" />)
+				</inp2:m_Capture>
+
+				<inp2:m_include template="in-commerce/elements/affiliate_date_filter.elm" prefix="visits.incommerce" field="VisitDate" grid_name="visitsincommerce"/>
+
+				<inp2:m_include template="in-commerce/elements/affiliates.elm"/>
+
+				<table class="fullwidth">
+					<inp2:m_RenderElement name="separator" colspan="5"/>
+					<tr class="sub-section-header">
+						<td><inp2:m_Phrase label="lu_col_Date"/></td>
+						<td><inp2:m_Phrase label="lu_col_Referer"/></td>
+						<td><inp2:m_Phrase label="lu_col_OrderCount"/></td>
+						<td><inp2:m_Phrase label="lu_col_OrderTotalAmount"/></td>
+						<td><inp2:m_Phrase label="lu_col_OrderCommissionEarned"/></td>
+					</tr>
+					<inp2:m_RenderElement name="separator" colspan="5"/>
+					<inp2:visits_PrintList list_name="visitors_list" render_as="my_visitor_element"/>
+					<inp2:visits_AffiliateOrderInfo list_name="visitors_list" types="myvisitors" render_as="affiliate_visits_info" currency="selected" />
+				</table>
+
+				<inp2:m_include template="platform/elements/pagination.elm" prefix="visits" list_name="visitors_list"/>
+			</inp2:m_RenderElement>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
+
+
Index: themes/advanced/in-commerce/my_account/affiliate/affiliate_payment_type.tpl
===================================================================
--- themes/advanced/in-commerce/my_account/affiliate/affiliate_payment_type.tpl	(revision 0)
+++ themes/advanced/in-commerce/my_account/affiliate/affiliate_payment_type.tpl	(revision 0)
@@ -0,0 +1,85 @@
+<!--##
+<NAME>Affiliate - Payment Type</NAME>
+<DESC>Affiliate Payment Type page</DESC>
+<SECTION>My Account||Store||Affiliates</SECTION>
+##-->
+
+<inp2:m_RequireLogin login_template="platform/login/register"/> <!--## LOGIN REQUIRED ##-->
+<inp2:m_CheckSSL mode="required" condition="Require_SSL" /> <!--## CHECK IF SSL REQUIRED ##-->
+<inp2:m_RequireAffiliate registration_template="in-commerce/my_account/affiliate/affiliate" /> <!--## MUST BE AN AFFILIATE ##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_Phrase label="lu_title_AffiliatePaymentType"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/cart_indicator.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_if check="u_IsAffiliate">
+				<inp2:m_RenderElement name="in-commerce/elements/side_boxes/affiliate_navigation.elm" design="blue_box"/>
+			</inp2:m_if>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/top_seller_products.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/recent_products.elm" design="blue_box" data_exists="1"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## /SIDE-BAR ELEMENT ##-->
+
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_MyAccount,lu_title_Affiliate,lu_title_AffiliateStatistics,lu_title_AffiliatePaymentType" templates="platform/my_account/my_account,in-commerce/my_account/affiliate/affiliate,in-commerce/my_account/affiliate/affiliate_statistics,in-commerce/my_account/affiliate/affiliate_payment_type"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement design="content_box">
+
+				<inp2:m_Capture to_var="header">
+					<inp2:m_Phrase label="lu_title_AffiliatePaymentType"/>
+				</inp2:m_Capture>
+
+				<table class="form-data fullwidth">
+					<tr>
+						<td class="field-name" style="width:155px">
+							<strong><inp2:m_Phrase label="lu_CurrentAffiliatePaymentType" />:</strong>
+						</td>
+						<td class="field-name"><inp2:u_AffiliateField name="PaymentTypeId" /></td>
+					</tr>
+					<tr><td colspan="2" style="padding-left:15px"><inp2:m_Phrase label="lu_ChangeAffiliatePaymentTypeDescription"/><br /><br /></td></tr>
+				</table>
+
+				<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/grey_pix.gif" width="100%" height="1" align="absmiddle" alt="" /><br />
+				<br />
+				<inp2:m_include template="in-commerce/elements/forms.elm"/>
+				<form method="post" action="<inp2:m_FormAction/>">
+					<table border="0" class="form-data fullwidth">
+						<inp2:m_RenderElement name="inp_affiliate_payment_types" field="PaymentTypeId" title="lu_fld_AffiliatePaymentType" style="width:155px"/>
+						<inp2:m_RenderElement name="inp_affiliate_textarea" field="Comments" title="lu_fld_AffiliateComments" cols="35" rows="5" style="width:155px" is_last="1"/>
+
+						<inp2:m_RenderElement design="inp_edit_buttons">
+							<input type="hidden" name="next_template" value="in-commerce/my_account/affiliate/affiliate_payment_type_changed" />
+							<input type="submit" class="button" name="events[affil][OnChangePaymentType]" id="events[affil][OnChangePaymentType]" value="<inp2:m_Phrase label="lu_ChangePaymentType" no_editing="1"/>" />
+						</inp2:m_RenderElement>
+					</table>
+				</form>
+			</inp2:m_RenderElement>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: themes/advanced/in-commerce/my_account/affiliate/affiliate_materials.tpl
===================================================================
--- themes/advanced/in-commerce/my_account/affiliate/affiliate_materials.tpl	(revision 0)
+++ themes/advanced/in-commerce/my_account/affiliate/affiliate_materials.tpl	(revision 0)
@@ -0,0 +1,86 @@
+<!--##
+<NAME>Affiliate - Materials</NAME>
+<DESC>Affiliate Materials page</DESC>
+<SECTION>My Account||Store||Affiliates</SECTION>
+##-->
+
+<inp2:m_RequireLogin login_template="platform/login/register"/> <!--## LOGIN REQUIRED ##-->
+<inp2:m_CheckSSL mode="required" condition="Require_SSL" /> <!--## CHECK IF SSL REQUIRED ##-->
+<inp2:m_RequireAffiliate registration_template="in-commerce/my_account/affiliate/affiliate" /> <!--## MUST BE AN AFFILIATE ##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_Phrase label="lu_AffiliateMaterials"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/cart_indicator.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_if check="u_IsAffiliate">
+				<inp2:m_RenderElement name="in-commerce/elements/side_boxes/affiliate_navigation.elm" design="blue_box"/>
+			</inp2:m_if>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/top_seller_products.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/recent_products.elm" design="blue_box" data_exists="1"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_MyAccount,lu_title_Affiliate,lu_title_AffiliateStatistics,lu_AffiliateMaterials" templates="platform/my_account/my_account,in-commerce/my_account/affiliate/affiliate,in-commerce/my_account/affiliate/affiliate_statistics,in-commerce/my_account/affiliate/affiliate_materials"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement design="content_box">
+
+				<inp2:m_Capture to_var="header">
+					<inp2:m_Phrase label="lu_AffiliateMaterials"/>
+				</inp2:m_Capture>
+
+				<inp2:m_if check="u_IsAffiliate">
+					<table>
+						<tr>
+							<td colspan="2"><inp2:m_Phrase label="lu_AffiliateMaterials"/></td>
+						</tr>
+						<tr>
+							<td>
+								<inp2:m_Phrase label="lu_comm_AffilliateMaterialsToRefer"/>:
+								<br /><br />
+								 <a href="<inp2:affil_GetUserAffiliateLink template="index"/>"><inp2:affil_GetUserAffiliateLink template="index"/></a>
+							</td>
+						</tr>
+						<tr>
+							<td>
+								<inp2:m_Phrase label="lu_comm_AffilliateMaterialsCode"/>:
+								<blockquote style="border: 1px dashed #cccccc; background-color: #f3f3f3; padding: 8px">
+								<small>
+								&lt;a href="<inp2:affil_GetUserAffiliateLink template="index"/>"&gt;
+									<inp2:conf_ConfigValue name="Site_Name"/>
+								&lt;/a&gt;
+								</small>
+								</blockquote>
+								<inp2:m_Phrase label="lu_comm_AffilliateMaterialsCopy"/>
+							</td>
+						</tr>
+					</table>
+				</inp2:m_if>
+			</inp2:m_RenderElement>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: themes/advanced/in-commerce/my_account/affiliate/affiliate_agreement.tpl
===================================================================
--- themes/advanced/in-commerce/my_account/affiliate/affiliate_agreement.tpl	(revision 0)
+++ themes/advanced/in-commerce/my_account/affiliate/affiliate_agreement.tpl	(revision 0)
@@ -0,0 +1,7 @@
+<!--##
+<NAME>Affiliate Agreement</NAME>
+<DESC>Affiliate Agreement page</DESC>
+<SECTION>My Account||Store||Affiliates</SECTION>
+##-->
+
+Affiliate Agreement!
\ No newline at end of file
Index: themes/advanced/in-commerce/my_account/affiliate/affiliate.tpl
===================================================================
--- themes/advanced/in-commerce/my_account/affiliate/affiliate.tpl	(revision 0)
+++ themes/advanced/in-commerce/my_account/affiliate/affiliate.tpl	(revision 0)
@@ -0,0 +1,121 @@
+<!--##
+<NAME>Affiliate</NAME>
+<DESC>Affiliate page</DESC>
+<SECTION>My Account||Store||Affiliates</SECTION>
+##-->
+
+<inp2:m_RequireLogin login_template="platform/login/register"/> <!--## LOGIN REQUIRED ##-->
+<inp2:m_CheckSSL mode="required" condition="Require_SSL" /> <!--## CHECK IF SSL REQUIRED ##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_Phrase label="lu_title_Affiliate"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/cart_indicator.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_if check="u_IsAffiliate">
+				<inp2:m_RenderElement name="in-commerce/elements/side_boxes/affiliate_navigation.elm" design="blue_box"/>
+			</inp2:m_if>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/top_seller_products.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/recent_products.elm" design="blue_box" data_exists="1"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## /SIDE-BAR ELEMENT ##-->
+
+<!--## MAIN CONTENT ##-->
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_MyAccount,lu_title_Affiliate" templates="platform/my_account/my_account,in-commerce/my_account/affiliate/affiliate"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement design="content_box">
+
+				<inp2:m_DefineElement name="affiliate_element">
+					<a href="<inp2:m_Link template="$template"/>">
+					<strong><inp2:m_Phrase label="$label"/></strong></a><br />
+					<inp2:m_Phrase label="$text"/><br /><br />
+				</inp2:m_DefineElement>
+
+				<inp2:m_if check="u_IsAffiliate">
+				<!-- Affiliate Section List -->
+					<inp2:m_Capture to_var="header">
+						<inp2:m_Phrase label="lu_title_Affiliate"/>
+					</inp2:m_Capture>
+
+					<inp2:m_if check="u_AffiliateIsNotActive">
+						<table class="warning-message fullwidth">
+							<tr>
+								<td width="30">
+									<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/warning_icon.gif" width="21" height="18" alt=""/>
+								</td>
+								<td><inp2:m_phrase name="lu_Warning"/></td>
+							</tr>
+						</table>
+						<br />
+						<inp2:m_Phrase label="lu_AffiliateIsPendingOrDisabled"/><br /><br />
+					</inp2:m_if>
+
+					<inp2:m_RenderElement name="affiliate_element" template="in-commerce/my_account/affiliate/affiliate_statistics" label="lu_comm_AffiliateStatistics" text="lu_AffiliateStatisticsText"/>
+					<inp2:m_RenderElement name="affiliate_element" template="in-commerce/my_account/affiliate/affiliate_payments" label="lu_AffiliatePayments" text="lu_AffiliatePaymentsText"/>
+					<inp2:m_RenderElement name="affiliate_element" template="in-commerce/my_account/affiliate/affiliate_materials" label="lu_AffiliateMaterials" text="lu_AffiliateMaterialsText"/>
+					<inp2:m_RenderElement name="affiliate_element" template="in-commerce/my_account/affiliate/affiliate_payment_type" label="lu_ChangePaymentType" text="lu_ChangePaymentTypeText"/>
+
+					<a href="<inp2:m_Link t='in-commerce/my_account/affiliate'/>" onclick="showAffiliateAgreement();return false;">
+					<strong><inp2:m_Phrase label="lu_TermsAndConditionsLink"/></strong></a><br />
+					<inp2:m_Phrase label="lu_TermsAndConditionsText"/><br /><br />
+				<!-- End Of Affiliate Section List -->
+				<inp2:m_else />
+				<!-- Affiliate Registration -->
+					<inp2:m_Capture to_var="header">
+						<inp2:m_Phrase label="lu_title_AffiliateRegistration"/>
+					</inp2:m_Capture>
+
+					<inp2:m_Phrase label="lu_BecomeAnAffiliateDescription"/><br /><br />
+
+					<inp2:m_if check="u_HasError" field="any">
+						<inp2:m_RenderElement name="error_message" />
+					</inp2:m_if>
+
+					<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/grey_pix.gif" width="100%" height="1" align="absmiddle" alt="" /><br />
+					<br />
+					<inp2:m_include template="in-commerce/elements/forms.elm"/>
+					<form method="post" action="<inp2:m_FormAction/>">
+						<table border="0" class="form-data fullwidth">
+							<inp2:m_RenderElement name="inp_affiliate_box" field="SSN" title="lu_fld_SSNField" style="width:155px" required="1"/>
+							<inp2:m_RenderElement name="inp_affiliate_payment_types" field="PaymentTypeId" title="lu_fld_AffiliatePaymentType" style="width:155px"/>
+							<inp2:m_RenderElement name="inp_affiliate_textarea" field="Comments" title="lu_fld_AffiliateComments" cols="35" rows="5" style="width:155px"/>
+							<inp2:m_RenderElement name="inp_affiliate_terms_checkbox"/>
+
+							<inp2:m_RenderElement design="inp_edit_buttons">
+								<input type="hidden" name="next_template" value="in-commerce/my_account/affiliate/affiliate_thankyou" />
+								<input type="submit" class="button" name="events[affil][OnBecomeAffiliate]" id="events[affil][OnBecomeAffiliate]" value="<inp2:m_Phrase label="lu_comm_BecomeAnAffiliate" no_editing="1"/>" />
+							</inp2:m_RenderElement>
+						</table>
+					</form>
+				</inp2:m_if>
+			</inp2:m_RenderElement>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## //MAIN CONTENT ##-->
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: themes/advanced/in-commerce/my_account/affiliate/affiliate_payments.tpl
===================================================================
--- themes/advanced/in-commerce/my_account/affiliate/affiliate_payments.tpl	(revision 0)
+++ themes/advanced/in-commerce/my_account/affiliate/affiliate_payments.tpl	(revision 0)
@@ -0,0 +1,84 @@
+<!--##
+<NAME>Affiliate - Payments</NAME>
+<DESC>Affiliate Payments List page</DESC>
+<SECTION>My Account||Store||Affiliates</SECTION>
+##-->
+
+<inp2:m_RequireLogin login_template="platform/login/register"/> <!--## LOGIN REQUIRED ##-->
+<inp2:m_CheckSSL mode="required" condition="Require_SSL" /> <!--## CHECK IF SSL REQUIRED ##-->
+<inp2:m_RequireAffiliate registration_template="in-commerce/my_account/affiliate/affiliate" /> <!--## MUST BE AN AFFILIATE ##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_Phrase label="lu_title_ComissionPayments"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/cart_indicator.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_if check="u_IsAffiliate">
+				<inp2:m_RenderElement name="in-commerce/elements/side_boxes/affiliate_navigation.elm" design="blue_box"/>
+			</inp2:m_if>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/top_seller_products.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/recent_products.elm" design="blue_box" data_exists="1"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_MyAccount,lu_title_Affiliate,lu_title_AffiliateStatistics,lu_title_ComissionPayments" templates="platform/my_account/my_account,in-commerce/my_account/affiliate/affiliate,in-commerce/my_account/affiliate/affiliate_statistics,in-commerce/my_account/affiliate/affiliate_payments"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement design="content_box" block_no_data="no_payments">
+
+				<inp2:apayments_InitList list_name="my_payments_list" types="my_payments"/>
+
+				<inp2:m_Capture to_var="header">
+					<inp2:m_Phrase label="lu_title_ComissionPayments"/> (<inp2:apayments_TotalRecords list_name="my_payments_list" />)
+				</inp2:m_Capture>
+
+				<inp2:m_include template="in-commerce/elements/affiliates.elm"/>
+
+				<table class="fullwidth">
+					<inp2:m_RenderElement name="separator" colspan="4"/>
+					<tr class="sub-section-header">
+						<td><inp2:m_Phrase label="lu_Date"/></td>
+						<td><inp2:m_Phrase label="lu_PaymentReference"/></td>
+						<td><inp2:m_Phrase label="lu_PaymentAmount"/></td>
+					</tr>
+					<inp2:m_RenderElement name="separator" colspan="4"/>
+					<inp2:m_include template="in-commerce/elements/affiliates.elm"/>
+					<inp2:apayments_PrintList list_name="my_payments_list" render_as="payment_element"/>
+				</table>
+
+				<inp2:m_include template="platform/elements/pagination.elm" prefix="apayments" list_name="my_payments_list"/>
+
+			</inp2:m_RenderElement>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
+
+
+
+
+
+
+
Index: themes/advanced/in-commerce/my_account/affiliate/affiliate_statistics.tpl
===================================================================
--- themes/advanced/in-commerce/my_account/affiliate/affiliate_statistics.tpl	(revision 0)
+++ themes/advanced/in-commerce/my_account/affiliate/affiliate_statistics.tpl	(revision 0)
@@ -0,0 +1,65 @@
+<!--##
+<NAME>Affiliate - Statistics</NAME>
+<DESC>Affiliate Statistics page</DESC>
+<SECTION>My Account||Store||Affiliates</SECTION>
+##-->
+
+<inp2:m_RequireLogin login_template="platform/login/register"/> <!--## LOGIN REQUIRED ##-->
+<inp2:m_CheckSSL mode="required" condition="Require_SSL" /> <!--## CHECK IF SSL REQUIRED ##-->
+<inp2:m_RequireAffiliate registration_template="in-commerce/my_account/affiliate/affiliate" /> <!--## MUST BE AN AFFILIATE ##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_Phrase label="lu_title_AffiliateStatistics"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/cart_indicator.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_if check="u_IsAffiliate">
+				<inp2:m_RenderElement name="in-commerce/elements/side_boxes/affiliate_navigation.elm" design="blue_box"/>
+			</inp2:m_if>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/top_seller_products.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/recent_products.elm" design="blue_box" data_exists="1"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_MyAccount,lu_title_Affiliate,lu_title_AffiliateStatistics" templates="platform/my_account/my_account,in-commerce/my_account/affiliate/affiliate,in-commerce/my_account/affiliate/affiliate_statistics"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement design="content_box">
+				<inp2:visits_InitList list_name="visitors_list" types="myvisitors" grid="visitsincommerce" per_page="5"/>
+
+				<inp2:m_Capture to_var="header">
+					<inp2:m_Phrase label="lu_title_AffiliateStatistics"/>
+				</inp2:m_Capture>
+
+				<inp2:m_include template="in-commerce/elements/affiliate_date_filter.elm" prefix="visits.incommerce" field="VisitDate" grid_name="visitsincommerce"/>
+
+				<inp2:m_include template="in-commerce/elements/affiliates.elm"/>
+
+				<inp2:visits_AffiliateOrderInfo list_name="visitors_list" types="myvisitors" render_as="affiliate_info" currency="selected"/>
+			</inp2:m_RenderElement>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: themes/advanced/in-commerce/my_account/affiliate/affiliate_payment_type_changed.tpl
===================================================================
--- themes/advanced/in-commerce/my_account/affiliate/affiliate_payment_type_changed.tpl	(revision 0)
+++ themes/advanced/in-commerce/my_account/affiliate/affiliate_payment_type_changed.tpl	(revision 0)
@@ -0,0 +1,57 @@
+<!--##
+<NAME>Affiliate - Payment Type Changed</NAME>
+<DESC>Affiliate Payment Type Changed page</DESC>
+<SECTION>My Account||Store||Affiliates</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_Phrase label="lu_title_AffiliatePaymentTypeChanged"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/cart_indicator.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_if check="u_IsAffiliate">
+				<inp2:m_RenderElement name="in-commerce/elements/side_boxes/affiliate_navigation.elm" design="blue_box"/>
+			</inp2:m_if>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/top_seller_products.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/recent_products.elm" design="blue_box" data_exists="1"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_MyAccount,lu_title_Affiliate,lu_title_AffiliateStatistics,lu_title_AffiliatePaymentType,lu_title_AffiliatePaymentTypeChanged" templates="platform/my_account/my_account,in-commerce/my_account/affiliate/affiliate,in-commerce/my_account/affiliate/affiliate_payment_type,in-commerce/my_account/affiliate/affiliate_payment_type_changed"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement design="content_box">
+
+				<inp2:m_Capture to_var="header">
+					<inp2:m_Phrase label="lu_title_AffiliatePaymentTypeChanged"/>
+				</inp2:m_Capture>
+
+				<inp2:m_Phrase label="lu_AffiliatePaymentTypeChangedMessage"/>
+
+			</inp2:m_RenderElement>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: themes/advanced/in-commerce/my_account/affiliate/affiliate_thankyou.tpl
===================================================================
--- themes/advanced/in-commerce/my_account/affiliate/affiliate_thankyou.tpl	(revision 0)
+++ themes/advanced/in-commerce/my_account/affiliate/affiliate_thankyou.tpl	(revision 0)
@@ -0,0 +1,55 @@
+<!--##
+<NAME>Affiliate - Thank you</NAME>
+<DESC>Thank you for Becoming Affiliate</DESC>
+<SECTION>My Account||Store||Affiliates</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_phrase name="lu_title_AffiliateRegistration"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/cart_indicator.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_if check="u_IsAffiliate">
+				<inp2:m_RenderElement name="in-commerce/elements/side_boxes/affiliate_navigation.elm" design="blue_box"/>
+			</inp2:m_if>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/top_seller_products.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/recent_products.elm" design="blue_box" data_exists="1"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_MyAccount,lu_title_Affiliate,lu_title_AffiliateRegistration" templates="platform/my_account/my_account,in-commerce/my_account/affiliate/affiliate,in-commerce/my_account/affiliate/affiliate_thankyou"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement design="content_box">
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_title_AffiliateRegistration"/>
+				</inp2:m_Capture>
+
+				<inp2:m_Phrase label="lu_ThankYouForBecomingAffiliate"/>
+			</inp2:m_RenderElement>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: themes/advanced/in-commerce/my_account/cancel_recurring.tpl
===================================================================
--- themes/advanced/in-commerce/my_account/cancel_recurring.tpl	(revision 0)
+++ themes/advanced/in-commerce/my_account/cancel_recurring.tpl	(revision 0)
@@ -0,0 +1,78 @@
+<!--##
+<NAME>Cancel Reoccurring Order</NAME>
+<DESC>Cancel Reoccurring Order page</DESC>
+<SECTION>My Account||Store</SECTION>
+##-->
+
+<inp2:m_RequireLogin login_template="platform/login/register"/> <!--## LOGIN REQUIRED ##-->
+<inp2:m_CheckSSL mode="required" condition="Require_SSL" /> <!--## CHECK IF SSL REQUIRED ##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_phrase name="lu_title_CancelRecurring"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENTS ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/cart_indicator.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/categories.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/top_seller_products.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/recent_products.elm" design="blue_box" data_exists="1"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## /SIDE-BAR ELEMENTS ##-->
+
+<!--## MAIN CONTENT ##-->
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_MyAccount,lu_title_MyOrders,lu_title_CancelRecurring" templates="platform/my_account/my_account,in-commerce/my_account/my_orders,in-commerce/my_account/cancel_recurring"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement design="content_box" block_no_data="no_orders">
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_title_CancelRecurring"/>
+				</inp2:m_Capture>
+
+				<table border="0" cellspacing="0" cellpadding="0">
+					<tr>
+				  		<td>
+							<strong><inp2:m_Phrase label="lu_CancelRecurring_confirm" /></strong>
+
+							<inp2:m_Phrase label="lu_CancelRecurring_confirm_prompt" />
+
+							<br />
+							<br />
+							<form method="POST" action="<inp2:m_FormAction />">
+								<input class="button" name="events[ord][OnCancelRecurring]" type="submit" value="<inp2:m_Phrase label="lu_Yes" no_editing="1"/>" />&nbsp;
+								<input class="button" type="button" value="<inp2:m_Phrase label="lu_No" no_editing="1"/>" onClick="window.location.href='<inp2:m_Link template="in-commerce/my_account/account"/>'" />&nbsp;
+								<input type="hidden" name="cancelrecurring_ok_template" value="in-commerce/my_account/cancel_recurring_ok"/>
+							</form>
+						</td>
+					</tr>
+					</table>
+			</inp2:m_RenderElement>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## /MAIN CONTENT ##-->
+
+<!--## DESIGN TEMPLATE ##-->
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
+<!--## /DESIGN TEMPLATE ##-->
\ No newline at end of file
Index: themes/advanced/in-commerce/my_account/cancel_recurring_ok.tpl
===================================================================
--- themes/advanced/in-commerce/my_account/cancel_recurring_ok.tpl	(revision 0)
+++ themes/advanced/in-commerce/my_account/cancel_recurring_ok.tpl	(revision 0)
@@ -0,0 +1,72 @@
+<!--##
+<NAME>Cancel Reoccurring Order - Confirmation</NAME>
+<DESC>Cancel Reoccurring Order Confirmation page</DESC>
+<SECTION>My Account||Store</SECTION>
+##-->
+
+<inp2:m_RequireLogin login_template="platform/login/register"/> <!--## LOGIN REQUIRED ##-->
+<inp2:m_CheckSSL mode="required" condition="Require_SSL" /> <!--## CHECK IF SSL REQUIRED ##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_phrase name="lu_title_CancelRecurring"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENTS ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/cart_indicator.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/categories.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/top_seller_products.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/recent_products.elm" design="blue_box" data_exists="1"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## /SIDE-BAR ELEMENTS ##-->
+
+<!--## MAIN CONTENT ##-->
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_MyAccount,lu_title_MyOrders,lu_title_CancelRecurring" templates="platform/my_account/my_account,in-commerce/my_account/my_orders,in-commerce/my_account/cancel_recurring_ok"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement design="content_box" block_no_data="no_orders">
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_title_CancelRecurring"/>
+				</inp2:m_Capture>
+
+				<table border="0" cellspacing="0" cellpadding="0">
+					<tr>
+				  		<td>
+							<br />
+							<strong><inp2:m_Phrase label="lu_CancelRecurring_confirmed" /></strong>
+							<br />
+							<br />
+							<inp2:m_Phrase label="lu_CancelRecurring_ok" />
+						</td>
+					</tr>
+					</table>
+			</inp2:m_RenderElement>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## /MAIN CONTENT ##-->
+
+<!--## DESIGN TEMPLATE ##-->
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
+<!--## /DESIGN TEMPLATE ##-->
\ No newline at end of file
Index: themes/advanced/in-commerce/my_account/my_order_details.tpl
===================================================================
--- themes/advanced/in-commerce/my_account/my_order_details.tpl	(revision 0)
+++ themes/advanced/in-commerce/my_account/my_order_details.tpl	(revision 0)
@@ -0,0 +1,73 @@
+<!--##
+<NAME>User Orders - Details</NAME>
+<DESC>User Order Details</DESC>
+<SECTION>My Account||Store</SECTION>
+##-->
+
+<inp2:m_RequireLogin login_template="platform/login/register"/> <!--## LOGIN REQUIRED ##-->
+<inp2:m_CheckSSL mode="required" condition="Require_SSL" /> <!--## CHECK IF SSL REQUIRED ##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_phrase name="lu_title_OrderPreview"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/cart_indicator.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/credit_cards.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/top_seller_products.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/recent_products.elm" design="blue_box" data_exists="1"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## /SIDE-BAR ELEMENT ##-->
+
+<!--## MAIN CONTENT ##-->
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_MyAccount,lu_title_MyOrders,lu_title_OrderPreview" templates="platform/my_account/my_account,in-commerce/my_account/my_orders,in-commerce/my_account/my_order_details"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement design="content_box">
+
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_title_OrderPreview"/>
+				</inp2:m_Capture>
+
+				<form method="post" action="<inp2:m_FormAction/>">
+					<inp2:m_include template="in-commerce/elements/order_details.elm"/>
+				</form>
+
+			</inp2:m_RenderElement>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## /MAIN CONTENT ##-->
+
+<!--## DESIGN TEMPLATE ##-->
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
+<!--## /DESIGN TEMPLATE ##-->
+
+
+
+
+
+
+
Index: themes/advanced/in-commerce/my_account/edit_address.tpl
===================================================================
--- themes/advanced/in-commerce/my_account/edit_address.tpl	(revision 0)
+++ themes/advanced/in-commerce/my_account/edit_address.tpl	(revision 0)
@@ -0,0 +1,94 @@
+<!--##
+<NAME>Edit Address</NAME>
+<DESC>Edit Address page</DESC>
+<SECTION>My Account||Store</SECTION>
+##-->
+
+<inp2:m_RequireLogin login_template="platform/login/register"/> <!--## LOGIN REQUIRED ##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_Phrase label="lu_title_EditAddress"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/cart_indicator.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/categories.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/top_seller_products.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/recent_products.elm" design="blue_box" data_exists="1"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## /SIDE-BAR ELEMENT ##-->
+
+<!--## MAIN CONTENT ##-->
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_MyAccount,lu_title_MyAddresses,lu_title_EditAddress" templates="platform/my_account/my_account,in-commerce/my_account/my_addresses,in-commerce/my_account/edit_address"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement design="content_box">
+				<inp2:m_Capture to_var="header">
+					<inp2:m_Phrase label="lu_title_EditAddress"/>
+				</inp2:m_Capture>
+
+				<form method="post" action="<inp2:m_FormAction />">
+					<span class="field-required">*</span> <inp2:m_phrase name="lu_IndicatesRequired"/><br /><br />
+
+					<inp2:m_if check="addr_HasError" field="any">
+						<inp2:m_RenderElement name="error_message" />
+					</inp2:m_if>
+
+					<inp2:m_if check="u.current_Field" name="cust_shipping_addr_block">
+						<strong><inp2:m_Phrase label="lu_AddressModificationBlocked"/></strong>
+					<inp2:m_else/>
+						<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/grey_pix.gif" width="100%" height="1" align="absmiddle" alt="" /><br /><br />
+
+						<table class="form-data fullwidth">
+							<inp2:m_RenderElement name="inp_edit_box" prefix="addr" field="To" title="lu_fld_FullName"/>
+							<inp2:m_RenderElement name="inp_edit_box" prefix="addr" field="Company" title="lu_fld_Company"/>
+							<inp2:m_RenderElement name="inp_edit_box" prefix="addr" field="Address1" title="lu_fld_AddressLine1"/>
+							<inp2:m_RenderElement name="inp_edit_box" prefix="addr" field="Address2" title="lu_fld_AddressLine2"/>
+							<inp2:m_RenderElement name="inp_edit_box" prefix="addr" field="City" title="lu_fld_City"/>
+							<inp2:m_RenderElement name="inp_edit_box" prefix="addr" field="State" title="lu_fld_State"/>
+							<inp2:m_RenderElement name="inp_edit_box" prefix="addr" field="Zip" title="lu_fld_ZipCode"/>
+							<inp2:m_RenderElement name="inp_edit_options" prefix="addr" field="Country" title="lu_fld_Country"/>
+							<inp2:m_RenderElement name="inp_edit_box" prefix="addr" field="Phone" title="lu_fld_Phone"/>
+							<inp2:m_RenderElement name="inp_edit_box" prefix="addr" field="Fax" title="lu_fld_Fax"/>
+							<inp2:m_RenderElement name="inp_edit_box" prefix="addr" field="Email" title="lu_fld_Email"/>
+							<inp2:m_RenderElement name="inp_edit_checkbox" prefix="addr" field="LastUsedAsShipping" title="lu_fld_LastUsedAsShipping"/>
+							<inp2:m_RenderElement name="inp_edit_checkbox" prefix="addr" field="LastUsedAsBilling" title="lu_fld_LastUsedAsBilling" is_last="1"/>
+
+							<inp2:m_RenderElement design="inp_edit_buttons">
+								<input class="button" type="submit" name="events[addr][OnUpdate]" value="<inp2:m_Phrase label="lu_btn_Update" no_editing="1"/>"/>
+								<input type="hidden" name="next_template" value="in-commerce/my_account/my_addresses"/>
+							</inp2:m_RenderElement>
+						</table>
+					</inp2:m_if>
+				</form>
+			</inp2:m_RenderElement>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## /MAIN CONTENT ##-->
+
+<!--## DESIGN TEMPLATE ##-->
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
+<!--## /DESIGN TEMPLATE ##-->
\ No newline at end of file
Index: themes/advanced/in-commerce/my_account/my_items.elm.tpl
===================================================================
--- themes/advanced/in-commerce/my_account/my_items.elm.tpl	(revision 0)
+++ themes/advanced/in-commerce/my_account/my_items.elm.tpl	(revision 0)
@@ -0,0 +1,29 @@
+<!--## ITEMS IN MY AFFILIATES SECTION ##-->
+<inp2:m_if check="m_ParamEquals" name="section" value="1">
+	<inp2:m_if check="m_ParamEquals" name="place" value="sidebox">
+		<inp2:m_if check="u_IsAffiliateOrRegisterAsAffiliateAllowed">
+			<inp2:m_RenderElement name="box_element" template="in-commerce/my_account/affiliate/affiliate" title="lu_Affiliate"  icon_image="in-commerce/img/ic_myaffiliate46.gif"/>
+		</inp2:m_if>
+	<inp2:m_else/>
+		<inp2:m_if check="u_IsAffiliateOrRegisterAsAffiliateAllowed">
+			<inp2:m_RenderElement name="my_account_element" template="in-commerce/my_account/affiliate/affiliate" title="lu_Affiliate" description="lu_description_Affiliate" icon_image="in-commerce/img/ic_myaffiliate46.gif"/>
+		</inp2:m_if>
+	</inp2:m_if>
+</inp2:m_if>
+<!--## /ITEMS IN MY AFFILIATES SECTION ##-->
+
+<!--## ITEMS IN MY ORDERS, DOWNLOADS, ADDRESSES SECTION ##-->
+<inp2:m_if check="m_ParamEquals" name="section" value="2">
+	<inp2:m_if check="m_ParamEquals" name="place" value="sidebox">
+		<inp2:m_RenderElement name="box_element" template="in-commerce/my_account/my_orders" title="lu_MyOrders" />
+		<inp2:m_RenderElement name="box_element" template="in-commerce/my_account/my_downloads" title="lu_MyDownloads"/>
+		<inp2:m_RenderElement name="box_element" template="in-commerce/my_account/my_addresses" title="lu_MyAddresses"/>
+	</inp2:m_if>
+
+	<inp2:m_if check="m_ParamEquals" name="place" value="contentbox">
+		<inp2:m_RenderElement name="my_account_element" template="in-commerce/my_account/my_orders" title="lu_MyOrders" description="lu_description_MyOrders" icon_image="in-commerce/img/ic_myorders46.gif"/>
+		<inp2:m_RenderElement name="my_account_element" template="in-commerce/my_account/my_downloads" title="lu_MyDownloads" description="lu_description_MyDownloads" icon_image="in-commerce/img/ic_mydownloads46.gif"/>
+		<inp2:m_RenderElement name="my_account_element" template="in-commerce/my_account/my_addresses" title="lu_MyAddresses" description="lu_description_MyAddresses" icon_image="in-commerce/img/ic_myorders46.gif"/>
+	</inp2:m_if>
+</inp2:m_if>
+<!--## /ITEMS IN MY ORDERS, DOWNLOADS, ADDRESSES SECTION ##-->
\ No newline at end of file
Index: themes/advanced/in-commerce/my_account/my_orders.tpl
===================================================================
--- themes/advanced/in-commerce/my_account/my_orders.tpl	(revision 0)
+++ themes/advanced/in-commerce/my_account/my_orders.tpl	(revision 0)
@@ -0,0 +1,80 @@
+<!--##
+<NAME>User Orders</NAME>
+<DESC>List of User Orders</DESC>
+<SECTION>My Account||Store</SECTION>
+##-->
+
+<inp2:m_RequireLogin login_template="platform/login/register"/> <!--## LOGIN REQUIRED ##-->
+<inp2:m_CheckSSL mode="required" condition="Require_SSL" /> <!--## CHECK IF SSL REQUIRED ##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_phrase name="lu_title_MyOrders"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/cart_indicator.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/top_seller_products.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/recent_products.elm" design="blue_box" data_exists="1"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## /SIDE-BAR ELEMENT ##-->
+
+<!--## MAIN CONTENT ##-->
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_MyAccount,lu_title_MyOrders" templates="platform/my_account/my_account,in-commerce/my_account/my_orders"/>
+		</div>
+		<div class="movable-element">
+			<!--## my orders ##-->
+			<inp2:m_RenderElement design="content_box" block_no_data="no_orders">
+				<inp2:ord_InitList list_name="my_orders" types="myorders"/>
+
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_title_MyOrders"/> (<inp2:ord_TotalRecords list_name="my_orders"/>)
+				</inp2:m_Capture>
+
+				<inp2:m_include template="in-commerce/elements/orders.elm"/>
+
+				<table class="fullwidth">
+					<tr>
+						<td colspan="4">
+							<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="1" alt="" /></div>
+						</td>
+					</tr>
+					<tr  class="sub-section-header">
+						<td><inp2:m_Phrase label="lu_comm_OrderNumberText"/></td>
+						<td><inp2:m_Phrase label="lu_comm_Date"/></td>
+						<td><inp2:m_Phrase label="lu_comm_Amount"/></td>
+						<td><inp2:m_Phrase label="lu_comm_Status"/></td>
+					</tr>
+					<inp2:ord_PrintList list_name="my_orders" render_as="my_order_element"/>
+				</table>
+
+				<inp2:m_include template="platform/elements/pagination.elm" prefix="ord" list_name="my_orders"/>
+			</inp2:m_RenderElement>
+			<!--## // my orders ##-->
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## /MAIN CONTENT ##-->
+
+<!--## DESIGN TEMPLATE ##-->
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
+<!--## /DESIGN TEMPLATE ##-->
\ No newline at end of file
Index: themes/advanced/in-commerce/my_account/my_addresses.tpl
===================================================================
--- themes/advanced/in-commerce/my_account/my_addresses.tpl	(revision 0)
+++ themes/advanced/in-commerce/my_account/my_addresses.tpl	(revision 0)
@@ -0,0 +1,88 @@
+<!--##
+<NAME>User Addresses</NAME>
+<DESC>List of User Addresses</DESC>
+<SECTION>My Account||Store</SECTION>
+##-->
+
+<inp2:m_RequireLogin login_template="platform/login/register"/> <!--## LOGIN REQUIRED ##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_Phrase label="lu_comm_MyAddresses"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/cart_indicator.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/categories.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/top_seller_products.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/recent_products.elm" design="blue_box" data_exists="1"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## /SIDE-BAR ELEMENT ##-->
+
+<!--## MAIN CONTENT ##-->
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_MyAccount,lu_title_MyAddresses" templates="platform/my_account/my_account,in-commerce/my_account/my_addresses"/>
+
+			<inp2:m_RenderElement design="content_box">
+				<inp2:addr_InitList list_name="my_addresses" types="myaddresses"/>
+
+				<inp2:m_Capture to_var="header">
+					<inp2:m_Phrase label="lu_comm_MyAddresses"/>
+				</inp2:m_Capture>
+
+				<inp2:m_include template="in-commerce/elements/addresses.elm"/>
+
+				<inp2:m_if check="ord_AllowAddAddress">
+					<a href="<inp2:m_Link template="in-commerce/my_account/new_address"/>"><inp2:m_Phrase label="lu_btn_NewAddress"/></a>
+					<br /><br />
+				</inp2:m_if>
+
+				<inp2:m_if check="addr_TotalRecords" list_name="my_addresses">
+					<table class="fullwidth">
+						<tr>
+							<td colspan="4">
+								<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="1" alt="" /></div>
+							</td>
+						</tr>
+						<tr class="sub-section-header">
+							<td><inp2:m_Phrase label="lu_Address"/></td>
+							<td><inp2:m_Phrase label="lu_ContactInfo"/></td>
+							<td><inp2:m_Phrase label="lu_AddressUsedAs"/></td>
+							<td>&nbsp;</td>
+						</tr>
+						<inp2:addr_PrintList list_name="my_addresses" render_as="my_address_element" direction="H"/>
+					</table>
+
+					<inp2:m_include template="platform/elements/pagination.elm" prefix="addr" list_name="my_addresses"/>
+				<inp2:m_else/>
+					<strong><inp2:m_Phrase label="lu_comm_DontHaveAddresses"/></strong>
+				</inp2:m_if>
+			</inp2:m_RenderElement>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## /MAIN CONTENT ##-->
+
+<!--## DESIGN TEMPLATE ##-->
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
+<!--## /DESIGN TEMPLATE ##-->
\ No newline at end of file
Index: themes/advanced/in-commerce/my_account/my_downloads.tpl
===================================================================
--- themes/advanced/in-commerce/my_account/my_downloads.tpl	(revision 0)
+++ themes/advanced/in-commerce/my_account/my_downloads.tpl	(revision 0)
@@ -0,0 +1,73 @@
+<!--##
+<NAME>User Downloads</NAME>
+<DESC>List of User Downloads</DESC>
+<SECTION>My Account||Store</SECTION>
+##-->
+
+<inp2:m_RequireLogin login_template="platform/login/register"/> <!--## LOGIN REQUIRED ##-->
+<inp2:m_CheckSSL mode="required" condition="Require_SSL" /> <!--## CHECK IF SSL REQUIRED ##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_phrase name="lu_title_MyDownloads"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/cart_indicator.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/categories.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/top_seller_products.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/recent_products.elm" design="blue_box" data_exists="1"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## /SIDE-BAR ELEMENT ##-->
+
+<!--## MAIN CONTENT ##-->
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_MyAccount,lu_title_MyDownloads" templates="platform/my_account/my_account,in-commerce/my_account/my_downloads"/>
+		</div>
+		<div class="movable-element">
+			<!--## MY DOWNLOADS LIST ##-->
+			<inp2:m_RenderElement design="content_box" block_no_data="no_products">
+				<inp2:p_InitList list_name="my_downloads" types="my_downloads" parent_cat_id="any" recursive="1"/>
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_title_MyDownloads"/> (<inp2:p_TotalRecords list_name="my_downloads"/>)
+				</inp2:m_Capture>
+
+				<inp2:m_include template="in-commerce/elements/sorting.elm" list_name="my_downloads"/>
+
+				<inp2:m_include template="in-commerce/elements/products.elm"/>
+
+				<table class="fullwidth item-listing">
+					<inp2:p_ListProducts list_name="my_downloads" render_as="downloadable_product_element"/>
+				</table>
+
+				<inp2:m_include template="platform/elements/pagination.elm" prefix="p" list_name="my_downloads"/>
+			</inp2:m_RenderElement>
+			<!--## /MY DOWNLOADS LIST ##-->
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## /MAIN CONTENT ##-->
+
+<!--## DESIGN TEMPLATE ##-->
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
+<!--## /DESIGN TEMPLATE ##-->
\ No newline at end of file
Index: themes/advanced/in-commerce/my_account/my_downloads_more.tpl
===================================================================
--- themes/advanced/in-commerce/my_account/my_downloads_more.tpl	(revision 0)
+++ themes/advanced/in-commerce/my_account/my_downloads_more.tpl	(revision 0)
@@ -0,0 +1,97 @@
+<!--##
+<NAME>User Downloads - Complete List</NAME>
+<DESC>Complete List of User Downloads</DESC>
+<SECTION>My Account||Store</SECTION>
+##-->
+
+<inp2:m_RequireLogin login_template="platform/login/register"/> <!--## LOGIN REQUIRED ##-->
+<inp2:m_CheckSSL mode="required" condition="Require_SSL" /> <!--## CHECK IF SSL REQUIRED ##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:p_Field name="Name" /> - <inp2:m_phrase name="lu_title_ProductFiles"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/cart_indicator.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/categories.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/top_seller_products.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-commerce/elements/side_boxes/recent_products.elm" design="blue_box" data_exists="1"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## SIDE-BAR ELEMENT ##-->
+
+<!--## MAIN CONTENT ##-->
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_MyAccount,lu_title_MyDownloads,__item__,lu_title_ProductFiles" templates="platform/my_account/my_account,in-commerce/my_account/my_downloads,__default__,in-commerce/my_account/my_downloads_more"/>
+		</div>
+		<div class="movable-element">
+			<!--## MORE DOWNLOADS ##-->
+			<inp2:m_RenderElement design="content_box">
+				<inp2:m_Capture to_var="header">
+					<inp2:p_Field name="Name" /> - <inp2:m_phrase name="lu_title_ProductFiles"/>
+				</inp2:m_Capture>
+
+				<table>
+					<tr>
+						<td style="text-align: center; padding-right: 10px;" valign="top">
+							<a href="<inp2:p_ImageSrc MaxWidth="fullsize" DefaultImage="platform/img/no_picture.gif"/>" target="_blank">
+								<inp2:p_Image render_as="image_element" Primary="1" MaxWidth="thumbnail" DefaultImage="platform/img/no_picture.gif"/><br />
+							</a>
+						</td>
+
+						<td>
+							<a href="<inp2:p_ProductLink template="__default__"/>" class="text-title"><inp2:p_field name="Name"/></a><br />
+
+							<inp2:m_if check="p_Field" name="ManufacturerId">
+								<inp2:m_Phrase label="lu_fld_Manufacturer"/>: <inp2:p_field name="ManufacturerId"/> (<inp2:m_Phrase label="lu_OtherProductsBy"/> <a href="<inp2:p_ManufacturerLink template="in-commerce/products/manufacturer_products" />"><inp2:p_Field name="ManufacturerId"/></a>) <br />
+							</inp2:m_if>
+							<br />
+
+							<inp2:m_Phrase label="lu_fld_Description"/>: <inp2:p_Field name="Description"/> <br /><br />
+
+							<inp2:m_if check="p_CustomField" name="Features">
+								<inp2:p_CustomFieldLabel field="Features"/>:
+								<inp2:p_CustomField name="Features"/>
+								<br />
+								<br />
+							</inp2:m_if>
+
+							<inp2:m_include template="in-commerce/elements/product_files.elm"/>
+
+							<inp2:m_RenderElement name="subsection" title="lu_section_Files"/>
+							<table>
+								<inp2:p_ListFiles render_as="product_file_element" per_page="-1"/>
+							</table>
+						</td>
+					</tr>
+				</table>
+			</inp2:m_RenderElement>
+			<!--## /MORE DOWNLOADS ##-->
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## MAIN CONTENT ##-->
+
+<!--## DESIGN TEMPLATE ##-->
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
+<!--## /DESIGN TEMPLATE ##-->
\ No newline at end of file
Index: themes/advanced/.smsignore
===================================================================
--- themes/advanced/.smsignore	(revision 0)
+++ themes/advanced/.smsignore	(revision 0)
@@ -0,0 +1 @@
+phrases_edit\.tpl
\ No newline at end of file
Index: themes/advanced/error_notfound.tpl
===================================================================
--- themes/advanced/error_notfound.tpl	(revision 0)
+++ themes/advanced/error_notfound.tpl	(revision 0)
@@ -0,0 +1,58 @@
+<!--##
+<NAME>Page Not Found</NAME>
+<DESC></DESC>
+<SECTION>Platform</SECTION>
+##-->
+
+<!--## SET 404 HEADER FOR RESPONSE ##-->
+<inp2:m_header data="HTTP/1.0 404 Not Found"/>
+<!--## //SET 404 HEADER FOR RESPONSE ##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_phrase name="lu_title_PageNotFound"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/recommend_site.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/mailing_list.elm" design="blue_box"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<!--## MAIN CONTENT ##-->
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_PageNotFound" templates="error_notfound"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement design="content_box">
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_title_PageNotFound"/>
+				</inp2:m_Capture>
+				<br /><br />
+				<inp2:m_phrase name="lu_text_PageNotFound"/>
+				<br /><br />
+			</inp2:m_RenderElement>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## /MAIN CONTENT ##-->
+
+<!--## DESIGN TEMPLATE ##-->
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
+<!--## /DESIGN TEMPLATE ##-->
\ No newline at end of file
Index: themes/advanced/in-news/designs/section.tpl
===================================================================
--- themes/advanced/in-news/designs/section.tpl	(revision 0)
+++ themes/advanced/in-news/designs/section.tpl	(revision 0)
@@ -0,0 +1,117 @@
+<!--##
+<NAME>Articles - Section Template</NAME>
+<DESC>Articles</DESC>
+<SECTION>Platform||Articles</SECTION>
+##-->
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_include template="platform/elements/title_bar.elm"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-news/elements/side_boxes/action_box.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-news/elements/side_boxes/pick.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-news/elements/side_boxes/new.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-news/elements/side_boxes/pop.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-news/elements/side_boxes/hot.elm" design="blue_box" data_exists="1"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<!--## MAIN CONTENT ##-->
+<inp2:m_DefineElement name="content">
+	<div class="movable-element">
+		<!--## INCLUDE NAVIGATION BAR ##-->
+		<inp2:m_include template="platform/elements/navigation_bar.elm"/>
+		<!--## //INCLUDE NAVIGATION BAR ##-->
+	</div>
+
+	<div class="movable-element">
+		<inp2:m_if check="n_IsModuleHome">
+			<inp2:m_include template="in-news/elements/content_boxes/site_lead_article.elm"/>
+		</inp2:m_if>
+	</div>
+
+	<div class="movable-element">
+		<inp2:m_include template="platform/elements/content_boxes/sub_categories.elm"/>
+	</div>
+
+	<div class="movable-element">
+		<!-- category lead articles -->
+		<inp2:m_RenderElement design="content_box" data_exists="1">
+			<inp2:n_InitList list_name="category_lead" types="cat_lead" per_page="-1"/>
+
+			<inp2:m_Capture to_var="header">
+				<inp2:m_phrase name="lu_title_CategoryLeadStory"/>
+			</inp2:m_Capture>
+
+			<table class="table-gradient-grey" width="100%">
+				<inp2:n_ListArticles list_name="category_lead" render_as="category_lead_article_element" no_table="1"/>
+			</table>
+		</inp2:m_RenderElement>
+		<!-- // category lead articles -->
+	</div>
+
+	<div class="movable-element">
+		<!-- articles in category -->
+		<inp2:m_RenderElement design="content_box" data_exists="1" block_no_data="no_articles">
+			<inp2:m_include template="in-news/elements/articles.elm"/>
+			<inp2:n_InitList list_name="items_in_current_cat" />
+
+			<inp2:m_Capture to_var="header">
+				<inp2:m_phrase name="lu_title_Articles"/> (<inp2:n_TotalRecords list_name="items_in_current_cat"/>)
+			</inp2:m_Capture>
+
+			<inp2:m_include template="in-news/elements/sorting.elm" list_name="items_in_current_cat"/>
+
+			<table class="fullwidth item-listing table-border">
+				<inp2:n_ListArticles list_name="items_in_current_cat" render_as="article_element" direction="H"/>
+			</table>
+
+			<inp2:m_include template="platform/elements/pagination.elm" prefix="n" list_name="items_in_current_cat"/>
+
+			<div align="left">
+				<a href="<inp2:c_CategoryLink template="in-news/elements/rss.xml" cat_id="current"/>"><inp2:m_Phrase name="lu_rss_feed"/></a>
+			</div>
+		</inp2:m_RenderElement>
+		<!-- // articles in category -->
+	</div>
+
+	<!--## LIST RELATED CATEGORIES ##-->
+	<!--##
+	<div class="movable-element">
+		<inp2:m_RenderElement design="content_box" related_to="Category" data_exists="1">
+			<inp2:m_Capture to_var="header">
+				<inp2:m_Phrase label="lu_title_RelatedCategories"/>
+			</inp2:m_Capture>
+
+			<inp2:m_include template="platform/elements/content_boxes/related_items.elm" related_to="$related_to" />
+		</inp2:m_RenderElement>
+	</div>
+	##-->
+	<!--## //LIST RELATED CATEGORIES ##-->
+</inp2:m_DefineElement>
+<!--## /MAIN CONTENT ##-->
+
+<!--## DESIGN TEMPLATE ##-->
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
+<!--## /DESIGN TEMPLATE ##-->
\ No newline at end of file
Index: themes/advanced/in-news/designs/.smsignore
===================================================================
--- themes/advanced/in-news/designs/.smsignore	(revision 0)
+++ themes/advanced/in-news/designs/.smsignore	(revision 0)
@@ -0,0 +1 @@
+.*\.tpl
\ No newline at end of file
Index: themes/advanced/in-news/inc/styles.css
===================================================================
--- themes/advanced/in-news/inc/styles.css	(revision 0)
+++ themes/advanced/in-news/inc/styles.css	(revision 0)
@@ -0,0 +1,39 @@
+.article-picture-padding {
+	padding: 20px 5px 20px 20px;
+	width: 120px;
+	vertical-align: top;
+}
+
+.lead-article-picture-padding {
+	padding: 0px 20px 0px 30px;
+	width: 120px;
+	vertical-align: top;
+}
+
+.articles-icon-cell
+	{
+	width:22px;
+	padding: 5px 5px 5px 5px;
+	}
+
+/* --- Category Lead Story & Site Lead Story Styles --- */
+.category-lead-article, .site-lead-article {
+	text-align: right;
+	padding: 1px 4px;
+	margin: 1px 0px;
+	font-size: 10px;
+}
+
+.category-lead-article {
+	background-color: #EBEBEB;
+	color: #666666;
+}
+
+.site-lead-article {
+	background-color: #FFC2C2;
+	color: #165A9B;
+}
+
+.category-lead-article-padding, .site-lead-article-padding {
+	padding: 8px;
+}
\ No newline at end of file
Index: themes/advanced/in-news/module_info.xml
===================================================================
--- themes/advanced/in-news/module_info.xml	(revision 0)
+++ themes/advanced/in-news/module_info.xml	(revision 0)
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="utf-8"?>
+<module_info>
+	<section_design_template>in-news/index</section_design_template>
+	<item_design_template>in-news/detail</item_design_template>
+</module_info>
\ No newline at end of file
Index: themes/advanced/in-news/_install/english.lang
===================================================================
--- themes/advanced/in-news/_install/english.lang	(revision 0)
+++ themes/advanced/in-news/_install/english.lang	(revision 0)
@@ -0,0 +1,68 @@
+<LANGUAGES>
+	<LANGUAGE PackName="English" Encoding="base64"><DATEFORMAT>m/d/Y</DATEFORMAT><TIMEFORMAT>g:i A</TIMEFORMAT><INPUTDATEFORMAT>m/d/Y</INPUTDATEFORMAT><INPUTTIMEFORMAT>g:i:s A</INPUTTIMEFORMAT><DECIMAL>.</DECIMAL><THOUSANDS>,</THOUSANDS><CHARSET>utf-8</CHARSET><DOCS_URL>http://docs.in-portal.org/eng/index.php</DOCS_URL><UNITSYSTEM>2</UNITSYSTEM>
+		<PHRASES>
+			<PHRASE Label="lu_ArticlesUpdated" Module="In-News" Type="0">TGFzdCB1cGRhdGVkIG9u</PHRASE>
+			<PHRASE Label="lu_articletitleaz" Module="In-News" Type="0">VGl0bGUgQSB0byBa</PHRASE>
+			<PHRASE Label="lu_articletitleza" Module="In-News" Type="0">VGl0bGUgWiB0byBB</PHRASE>
+			<PHRASE Label="lu_authoraz" Module="In-News" Type="0">QXV0aG9yIEEgdG8gWg==</PHRASE>
+			<PHRASE Label="lu_authorza" Module="In-News" Type="0">QXV0aG9yIFogdG8gQQ==</PHRASE>
+			<PHRASE Label="lu_btn_RateThisArticle" Module="In-News" Type="0">UmF0ZSB0aGlzIGFydGljbGU=</PHRASE>
+			<PHRASE Label="lu_btn_ReviewThisArticle" Module="In-News" Type="0">Q29tbWVudCB0aGlzIEFydGljbGU=</PHRASE>
+			<PHRASE Label="lu_categoryleadstory" Module="In-News" Type="0">Q2F0ZWdvcnkgTGVhZCBTdG9yeQ==</PHRASE>
+			<PHRASE Label="lu_DeleteArticleConfirm" Module="In-News" Type="0">QXJlIHlvdSBzdXJlIHlvdSB3YW50IHRvIGRlbGV0ZSB0aGUgYXJ0aWNsZT8NClRoaXMgYWN0aW9uIGNhbm5vdCBiZSB1bmRvbmUu</PHRASE>
+			<PHRASE Label="lu_description_MyArticles" Module="In-News" Type="0">TWFuYWdlIHlvdXIgQXJ0aWNsZXMgaGVyZQ==</PHRASE>
+			<PHRASE Label="lu_field_newsid" Module="In-News" Type="0">QXJ0aWNsZSBJRA==</PHRASE>
+			<PHRASE Label="lu_fld_RssOriginalURL" Module="In-News" Type="0">RmVlZCBPcmlnaW5hbCBVUkw=</PHRASE>
+			<PHRASE Label="lu_MyArticles" Module="In-News" Type="0">TXkgQXJ0aWNsZXM=</PHRASE>
+			<PHRASE Label="lu_NoArticles" Module="In-News" Type="0">Tm8gQXJ0aWNsZXM=</PHRASE>
+			<PHRASE Label="lu_PermName_News.Add.Pending_desc" Module="In-News" Type="0">QWRkIFBlbmRpbmcgTmV3cw==</PHRASE>
+			<PHRASE Label="lu_PermName_News.Add_desc" Module="In-News" Type="0">QWRkIE5ld3M=</PHRASE>
+			<PHRASE Label="lu_PermName_News.Delete_desc" Module="In-News" Type="0">RGVsZXRlIE5ld3M=</PHRASE>
+			<PHRASE Label="lu_PermName_News.Modify.Pending_desc" Module="In-News" Type="0">TW9kaWZ5IEFydGljbGUgUGVuZGluZw==</PHRASE>
+			<PHRASE Label="lu_PermName_News.Modify_desc" Module="In-News" Type="0">TW9kaWZ5IE5ld3M=</PHRASE>
+			<PHRASE Label="lu_PermName_News.Owner.Delete_desc" Module="In-News" Type="0">QXJ0aWNsZSBEZWxldGUgYnkgT3duZXI=</PHRASE>
+			<PHRASE Label="lu_PermName_News.Owner.Modify.Pending_desc" Module="In-News" Type="0">QXJ0aWNsZSBNb2RpZnkgUGVuZGluZyBieSBPd25lcg==</PHRASE>
+			<PHRASE Label="lu_PermName_News.Owner.Modify_desc" Module="In-News" Type="0">QXJ0aWNsZSBNb2RpZnkgYnkgT3duZXI=</PHRASE>
+			<PHRASE Label="lu_PermName_News.Rate_desc" Module="In-News" Type="0">UmF0ZSBOZXdz</PHRASE>
+			<PHRASE Label="lu_PermName_News.View_desc" Module="In-News" Type="0">VmlldyBOZXdz</PHRASE>
+			<PHRASE Label="lu_rss_feed" Module="In-News" Type="0">UlNTIEZlZWQ=</PHRASE>
+			<PHRASE Label="lu_section_ArticleDetails" Module="In-News" Type="0">QXJ0aWNsZSBEZXRhaWxz</PHRASE>
+			<PHRASE Label="lu_SiteLeadStory" Module="In-News" Type="0">c2l0ZSBsZWFkIHN0b3J5</PHRASE>
+			<PHRASE Label="lu_SortArticlesBy" Module="In-News" Type="0">U29ydCBBcnRpY2xlcyBCeQ==</PHRASE>
+			<PHRASE Label="lu_SuggestArticle" Module="In-News" Type="0">U3VnZ2VzdCBBcnRpY2xl</PHRASE>
+			<PHRASE Label="lu_text_addarticlereviewconfirm" Module="In-News" Type="0">VGhhbmsgeW91IGZvciBjb21tZW50aW5nIHRoaXMgYXJ0aWNsZS4=</PHRASE>
+			<PHRASE Label="lu_text_addarticlereviewpendingconfirm" Module="In-News" Type="0">VGhhbmsgeW91IGZvciBjb21tZW50aW5nIHRoaXMgYXJ0aWNsZSAtIGl0J3Mgd2FpdGluZyBmb3IgYWRtaW5pc3RyYXRpdmUgYXBwcm92YWwu</PHRASE>
+			<PHRASE Label="lu_text_modifyarticleconfirm" Module="In-News" Type="0">VGhhbmsgeW91IGZvciB1cGRhdGluZyB5b3VyIGFydGljbGUu</PHRASE>
+			<PHRASE Label="lu_text_modifyarticlependingconfirm" Module="In-News" Type="0">VGhhbmsgeW91IGZvciB1cGRhdGluZyB5b3VyIGFydGljbGUuIFlvdXIgbW9kaWZpY2F0aW9ucyBhcmUgcGVuZGluZyBhZG1pbmlzdHJhdGl2ZSBhcHByb3ZhbC4=</PHRASE>
+			<PHRASE Label="lu_text_noarticlereviewpermission" Module="In-News" Type="0">Tm8gcGVybWlzc2lvbnMgdG8gY29tbWVudCB0aGlzIGFydGljbGUu</PHRASE>
+			<PHRASE Label="lu_text_nomodifyarticlepermission" Module="In-News" Type="0">Tm8gcGVybWlzc2lvbnMgdG8gbW9kaWZ5IHRoaXMgYXJ0aWNsZS4=</PHRASE>
+			<PHRASE Label="lu_text_nosuggestarticlepermission" Module="In-News" Type="0">Tm8gcGVybWlzc2lvbnMgdG8gc3VnZ2VzdCBhcnRpY2xlIGludG8gdGhlIGN1cnJlbnQgY2F0ZWdvcnku</PHRASE>
+			<PHRASE Label="lu_text_suggestarticleconfirm" Module="In-News" Type="0">VGhhbmsgeW91IGZvciBzdWJtaXR0aW5nIHlvdXIgYXJ0aWNsZS4=</PHRASE>
+			<PHRASE Label="lu_text_suggestarticlependingconfirm" Module="In-News" Type="0">VGhhbmsgeW91IGZvciBzdWJtaXR0aW5nIHlvdXIgYXJ0aWNsZS4gQ3VycmVudGx5IGl0J3Mgd2FpdGluZyBmb3IgYWRtaW5pc3RyYXRpdmUgYXBwcm92YWw=</PHRASE>
+			<PHRASE Label="lu_title_addarticlereviewconfirm" Module="In-News" Type="0">QXJ0aWNsZSBDb21tZW50IEFkZGVk</PHRASE>
+			<PHRASE Label="lu_title_addarticlereviewpendingconfirm" Module="In-News" Type="0">QXJ0aWNsZSBDb21tZW50IFBlbmRpbmc=</PHRASE>
+			<PHRASE Label="lu_title_ArticleDetails" Module="In-News" Type="0">QXJ0aWNsZSBEZXRhaWxz</PHRASE>
+			<PHRASE Label="lu_title_Articles" Module="In-News" Type="0">QXJ0aWNsZXM=</PHRASE>
+			<PHRASE Label="lu_title_articlesearchresults" Module="In-News" Type="0">QXJ0aWNsZXMgU2VhcmNoIFJlc3VsdHM=</PHRASE>
+			<PHRASE Label="lu_title_categoryleadstory" Module="In-News" Type="0">Q2F0ZWdvcnkgTGVhZCBTdG9yeQ==</PHRASE>
+			<PHRASE Label="lu_title_favoritearticles" Module="In-News" Type="0">RmF2b3JpdGUgQXJ0aWNsZXM=</PHRASE>
+			<PHRASE Label="lu_title_HotArticles" Module="In-News" Type="0">SG90IEFydGljbGVz</PHRASE>
+			<PHRASE Label="lu_title_ModifyArticle" Module="In-News" Type="0">TW9kaWZ5IEFydGljbGU=</PHRASE>
+			<PHRASE Label="lu_title_modifyarticleconfirm" Module="In-News" Type="0">QXJ0aWNsZSBNb2RpZmllZA==</PHRASE>
+			<PHRASE Label="lu_title_modifyarticlependingconfirm" Module="In-News" Type="0">QXJ0aWNsZSBNb2RpZmljYXRpb25zIFBlbmRpbmc=</PHRASE>
+			<PHRASE Label="lu_title_ModifyTopic" Module="In-News" Type="0">TW9kaWZ5IFRvcGlj</PHRASE>
+			<PHRASE Label="lu_title_MyArticles" Module="In-News" Type="0">TXkgQXJ0aWNsZXM=</PHRASE>
+			<PHRASE Label="lu_title_MyTopics" Module="In-News" Type="0">TXkgVG9waWNz</PHRASE>
+			<PHRASE Label="lu_title_NewArticles" Module="In-News" Type="0">TmV3IEFydGljbGVz</PHRASE>
+			<PHRASE Label="lu_title_News" Module="In-News" Type="0">QXJ0aWNsZXM=</PHRASE>
+			<PHRASE Label="lu_title_PickArticles" Module="In-News" Type="0">RWRpdG9yJ3MgUGljayBBcnRpY2xlcw==</PHRASE>
+			<PHRASE Label="lu_title_poparticles" Module="In-News" Type="0">UG9wdWxhciBBcnRpY2xlcw==</PHRASE>
+			<PHRASE Label="lu_title_ReviewThisArticle" Module="In-News" Type="0">Q29tbWVudCBBcnRpY2xl</PHRASE>
+			<PHRASE Label="lu_title_SiteLeadStory" Module="In-News" Type="0">TGVhZCBTdG9yeQ==</PHRASE>
+			<PHRASE Label="lu_title_SuggestArticle" Module="In-News" Type="0">U3VnZ2VzdCBBcnRpY2xl</PHRASE>
+			<PHRASE Label="lu_title_suggestarticleconfirm" Module="In-News" Type="0">QXJ0aWNsZSBBZGRlZA==</PHRASE>
+			<PHRASE Label="lu_title_suggestarticlependingconfirm" Module="In-News" Type="0">QXJ0aWNsZSBQZW5kaW5n</PHRASE>
+			<PHRASE Label="lu_TotalArticles" Module="In-News" Type="0">VG90YWwgQXJ0aWNsZXM=</PHRASE>
+		</PHRASES>
+	</LANGUAGE>
+</LANGUAGES>
\ No newline at end of file
Index: themes/advanced/in-news/_install/theme.xml
===================================================================
--- themes/advanced/in-news/_install/theme.xml	(revision 0)
+++ themes/advanced/in-news/_install/theme.xml	(revision 0)
@@ -0,0 +1,4 @@
+<theme>
+	<section_design>in-news/designs/section</section_design>
+	<item_design>in-news/articles/article_detail</item_design>
+</theme>
\ No newline at end of file
Index: themes/advanced/in-news/_install/install_data.sql
===================================================================
--- themes/advanced/in-news/_install/install_data.sql	(revision 0)
+++ themes/advanced/in-news/_install/install_data.sql	(revision 0)
@@ -0,0 +1 @@
+UPDATE Category SET l1_Name = 'News (TD)' WHERE l1_Name = 'News';
\ No newline at end of file
Index: themes/advanced/in-news/my_account/my_articles.tpl
===================================================================
--- themes/advanced/in-news/my_account/my_articles.tpl	(revision 0)
+++ themes/advanced/in-news/my_account/my_articles.tpl	(revision 0)
@@ -0,0 +1,58 @@
+<!--##
+<NAME>User's Articles</NAME>
+<DESC>List of User's Articles</DESC>
+<SECTION>My Account</SECTION>
+##-->
+
+<inp2:m_RequireLogin login_template="platform/login/register"/>
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_phrase name="lu_title_MyArticles"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-news/elements/side_boxes/action_box.elm" design="blue_box"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_MyAccount,lu_title_MyArticles" templates="platform/my_account/my_account,in-news/my_account/my_articles"/>
+		</div>
+		<div class="movable-element">
+			<!-- my articles -->
+			<inp2:m_RenderElement design="content_box" data_exists="1" block_no_data="no_articles">
+				<inp2:n_InitList list_name="my_articles" types="my_items" parent_cat_id="0" recursive="1"/>
+
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_title_MyArticles"/> (<inp2:n_TotalRecords list_name="my_articles"/>)
+				</inp2:m_Capture>
+
+				<inp2:m_include template="in-news/elements/sorting.elm" list_name="my_articles"/>
+
+				<inp2:m_include template="in-news/elements/articles.elm"/>
+				<table class="item-listing fullwidth">
+					<inp2:n_ListArticles list_name="my_articles" render_as="my_article_element" direction="H"/>
+				</table>
+
+				<inp2:m_include template="platform/elements/pagination.elm" prefix="n" list_name="my_articles"/>
+			</inp2:m_RenderElement>
+			<!-- // my articles -->
+		</div>
+	</div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: themes/advanced/in-news/my_account/my_items.elm.tpl
===================================================================
--- themes/advanced/in-news/my_account/my_items.elm.tpl	(revision 0)
+++ themes/advanced/in-news/my_account/my_items.elm.tpl	(revision 0)
@@ -0,0 +1,9 @@
+<inp2:m_if check="m_ParamEquals" name="section" value="2">
+	<inp2:m_if check="m_ParamEquals" name="place" value="sidebox">
+		<inp2:m_RenderElement name="box_element" template="in-news/my_account/my_articles" title="lu_MyArticles"/>
+	</inp2:m_if>
+
+	<inp2:m_if check="m_ParamEquals" name="place" value="contentbox">
+		<inp2:m_RenderElement name="my_account_element" template="in-news/my_account/my_articles" title="lu_MyArticles" description="lu_description_MyArticles"  icon_image="in-news/img/ic_myarticles46.gif"/>
+	</inp2:m_if>
+</inp2:m_if>
\ No newline at end of file
Index: themes/advanced/in-news/articles/suggest_article.tpl
===================================================================
--- themes/advanced/in-news/articles/suggest_article.tpl	(revision 0)
+++ themes/advanced/in-news/articles/suggest_article.tpl	(revision 0)
@@ -0,0 +1,84 @@
+<!--##
+<NAME>Suggest Article</NAME>
+<DESC>Article Suggestion Form</DESC>
+<SECTION>Platform||Articles</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_phrase name="lu_title_SuggestArticle"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-news/elements/side_boxes/action_box.elm" design="blue_box"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_SuggestArticle" templates="in-news/articles/suggest_article" show_category="1"/>
+		</div>
+		<div class="movable-element">
+			<!-- suggest article -->
+			<inp2:m_RenderElement design="content_box">
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_title_SuggestArticle"/>
+				</inp2:m_Capture>
+
+				<inp2:m_if check="n_HasPermission" permissions="NEWS.ADD|NEWS.ADD.PENDING">
+					<inp2:n_PresetFormFields/>
+					<span class="field-required">*</span> <inp2:m_phrase name="lu_IndicatesRequired"/><br /><br />
+
+					<inp2:m_if check="n_HasError" field="any">
+						<inp2:m_RenderElement name="error_message" />
+					</inp2:m_if>
+
+					<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/grey_pix.gif" width="100%" height="1" align="absmiddle" alt="" /><br /><br />
+
+					<form method="post" action="<inp2:m_FormAction/>" enctype="multipart/form-data">
+						<table class="form-data fullwidth">
+
+							<tr><td colspan="2"><inp2:m_RenderElement name="subsection" title="lu_section_ArticleDetails" break=""/></td></tr>
+
+							<!--## SHOW PRIMARY CATEGORY ##-->
+							<inp2:m_RenderElement name="inp_pr_category_label" prefix="n" field="PrimaryCat" title="lu_fld_SubmittingTo" />
+							<!--## //SHOW PRIMARY CATEGORY ##-->
+
+							<inp2:m_RenderElement name="inp_edit_box" prefix="n" field="Title" title="lu_fld_Title" maxlength="50" style="width:400px"/>
+							<inp2:m_RenderElement name="inp_edit_textarea" prefix="n" field="Body" title="lu_fld_Body" cols="80" rows="7" style="width:400px"/>
+							<inp2:m_RenderElement name="inp_edit_categories" prefix="n" field="MoreCategories" title="lu_fld_MoreCategories" is_last="1"/>
+							<tr><td colspan="2"><br/><inp2:m_RenderElement name="subsection" title="lu_section_Images" break=""/></td></tr>
+							<inp2:m_RenderElement name="inp_edit_image_upload" prefix="n" field="PrimaryImage" title="lu_fld_PrimaryImage"/>
+							<inp2:m_RenderElement name="inp_edit_image_upload" prefix="n" field="Image1" title="lu_fld_Image1"/>
+							<inp2:m_RenderElement name="inp_edit_image_upload" prefix="n" field="Image2" title="lu_fld_Image2" is_last="1"/>
+
+							<inp2:m_RenderElement design="inp_edit_buttons">
+								<input type="hidden" name="suggest_confirm_template" value="in-news/articles/suggest_confirm"/>
+								<input type="hidden" name="suggest_pending_confirm_template" value="in-news/articles/suggest_pending_confirm"/>
+								<input class="button" type="submit" name="events[n][OnCreate]" value="<inp2:m_Phrase label="lu_btn_Create" no_editing="1"/>"/>
+							</inp2:m_RenderElement>
+						</table>
+					</form>
+				<inp2:m_else/>
+					<inp2:m_phrase name="lu_text_NoSuggestArticlePermission"/>
+				</inp2:m_if>
+			</inp2:m_RenderElement>
+			<!-- // suggest article -->
+		</div>
+	</div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: themes/advanced/in-news/articles/pick_articles.tpl
===================================================================
--- themes/advanced/in-news/articles/pick_articles.tpl	(revision 0)
+++ themes/advanced/in-news/articles/pick_articles.tpl	(revision 0)
@@ -0,0 +1,66 @@
+<!--##
+<NAME>Editor's Pick Articles</NAME>
+<DESC>List of Editor's Pick Articles</DESC>
+<SECTION>Platform||Articles</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_phrase name="lu_title_PickArticles"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-news/elements/side_boxes/action_box.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-news/elements/side_boxes/hot.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-news/elements/side_boxes/pop.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-news/elements/side_boxes/new.elm" design="blue_box" data_exists="1"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_PickArticles" templates="in-news/articles/pick_articles"/>
+		</div>
+		<div class="movable-element">
+			<!-- pick articles -->
+			<inp2:m_RenderElement design="content_box" data_exists="1" block_no_data="no_articles">
+				<inp2:n_InitList list_name="pick_articles" m_cat_id="0" recursive="1" types="pick"/>
+
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_title_PickArticles"/> (<inp2:n_TotalRecords list_name="pick_articles"/>)
+				</inp2:m_Capture>
+
+				<inp2:m_include template="in-news/elements/sorting.elm" list_name="pick_articles"/>
+
+				<inp2:m_include template="in-news/elements/articles.elm"/>
+				<table class="fullwidth item-listing table-border">
+					<inp2:n_ListArticles list_name="pick_articles" render_as="article_element" direction="H"/>
+				</table>
+
+				<inp2:m_include template="platform/elements/pagination.elm" prefix="n" list_name="new_articles"/>
+			</inp2:m_RenderElement>
+			<!-- // pick articles -->
+		</div>
+	</div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: themes/advanced/in-news/articles/suggest_pending_confirm.tpl
===================================================================
--- themes/advanced/in-news/articles/suggest_pending_confirm.tpl	(revision 0)
+++ themes/advanced/in-news/articles/suggest_pending_confirm.tpl	(revision 0)
@@ -0,0 +1,49 @@
+<!--##
+<NAME>Pending Article - Confirmation</NAME>
+<DESC>Pending Article Confirmation page</DESC>
+<SECTION>Platform||Articles</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_phrase name="lu_title_SuggestArticlePendingConfirm"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-news/elements/side_boxes/action_box.elm" design="blue_box"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_SuggestArticlePendingConfirm" templates="in-news/articles/suggest_pending_confirm" show_category="1"/>
+		</div>
+		<div class="movable-element">
+			<!-- suggest article pending confirm -->
+			<inp2:m_RenderElement design="content_box">
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_title_SuggestArticlePendingConfirm"/>
+				</inp2:m_Capture>
+
+				<inp2:m_phrase name="lu_text_SuggestArticlePendingConfirm"/><br /><br />
+				<a href="<inp2:m_Link template="in-news/my_account/my_articles" m_cat_id="0" m_cat_page="1"/>"><inp2:m_Phrase name="lu_title_MyArticles"/></a>
+			</inp2:m_RenderElement>
+			<!-- // suggest article pending confirm -->
+		</div>
+	</div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: themes/advanced/in-news/articles/.smsignore
===================================================================
--- themes/advanced/in-news/articles/.smsignore	(revision 0)
+++ themes/advanced/in-news/articles/.smsignore	(revision 0)
@@ -0,0 +1 @@
+article_detail\.tpl
\ No newline at end of file
Index: themes/advanced/in-news/articles/modify_confirm.tpl
===================================================================
--- themes/advanced/in-news/articles/modify_confirm.tpl	(revision 0)
+++ themes/advanced/in-news/articles/modify_confirm.tpl	(revision 0)
@@ -0,0 +1,49 @@
+<!--##
+<NAME>Modify Article Confirmation</NAME>
+<DESC>Confirmation page for Article Modification</DESC>
+<SECTION>Platform||Articles</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_phrase name="lu_title_ModifyArticleConfirm"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-news/elements/side_boxes/action_box.elm" design="blue_box"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_MyAccount,lu_title_MyArticles,__item__,lu_title_ModifyArticleConfirm" templates="platform/my_account/my_account,in-news/my_account/my_articles,__default__,in-news/articles/modify_confirm"/>
+		</div>
+		<div class="movable-element">
+			<!-- article modify confirm -->
+			<inp2:m_RenderElement design="content_box">
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_title_ModifyArticleConfirm"/>
+				</inp2:m_Capture>
+
+				<inp2:m_phrase name="lu_text_ModifyArticleConfirm"/><br /><br />
+				<a href="<inp2:m_Link template="in-news/my_account/my_articles" m_cat_id="0" m_cat_page="1"/>"><inp2:m_phrase name="lu_title_MyArticles"/></a>
+			</inp2:m_RenderElement>
+			<!-- // article modify confirm -->
+		</div>
+	</div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: themes/advanced/in-news/articles/article_detail.tpl
===================================================================
--- themes/advanced/in-news/articles/article_detail.tpl	(revision 0)
+++ themes/advanced/in-news/articles/article_detail.tpl	(revision 0)
@@ -0,0 +1,191 @@
+<!--##
+<NAME>Articles - Details Design</NAME>
+<DESC>General design template for Article Details section</DESC>
+<SECTION>Platform||Articles</SECTION>
+##-->
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:n_Field name="Title"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-news/elements/side_boxes/action_box.elm" item_actions="1" design="blue_box"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<!--## ADDITIONAL IMAGE ELEMENT ##-->
+<inp2:m_DefineElement name="additional_image_element">
+	<td>
+		<a href="<inp2:ImageSrc MaxWidth="fullsize"/>" class="thickbox" rel="article-images" title="<inp2:m_param name="alt"/>">
+			<img src="<inp2:m_param name="img_path"/>" title="<inp2:m_param name="alt"/>" alt="<inp2:m_param name="alt"/>" <inp2:m_param name="img_size"/> border="0" /><br />
+		</a>
+	</td>
+	<inp2:m_if check="m_Param" name="not_last">
+		<td>
+			<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="8" height="1" alt="" />
+		</td>
+	</inp2:m_if>
+</inp2:m_DefineElement>
+<!--## /ADDITIONAL IMAGE ELEMENT ##-->
+
+<!--## MAIN CONTENT ##-->
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="__item__" templates="__default__" show_category="1"/>
+		</div>
+		<div class="movable-element">
+		<!--## article details ##-->
+		<inp2:m_RenderElement design="content_box">
+
+			<inp2:m_Capture to_var="header">
+				<inp2:m_phrase name="lu_title_ArticleDetails"/>
+			</inp2:m_Capture>
+
+			<table class="fullwidth table-border">
+				<tr>
+					<td class="item-padding">
+						<table class="fullwidth">
+							<tr>
+								<td width="25" valign="top">
+									<img src="<inp2:m_TemplatesBase module="In-News"/>img/articles_icon.gif" width="16" height="23" alt="" />
+								</td>
+								<td valign="top">
+
+									<!--## STANDARD ARTICLE TITLE ##-->
+									<inp2:m_if check="n_Field" name="cust_RssOriginalURL" inverse="1">
+										<span class="text-title"><inp2:n_Field name="Title"/></span>
+									<inp2:m_else/>
+									<!--## RSS ARTICLE TITLE WITH LINK ##-->
+										<span class="text-title"><a href="<inp2:n_Field name="cust_RssOriginalURL"/>" target="_blank"><inp2:n_Field name="Title"/></a></span>
+									</inp2:m_if>
+
+									<inp2:m_if check="n_Field" name="IsHot"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_hot.gif" alt="<inp2:m_Phrase name="lu_Hot" no_editing="1"/>"/></inp2:m_if>
+									<inp2:m_if check="n_Field" name="IsNew"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_new.gif" alt="<inp2:m_Phrase name="lu_New" no_editing="1"/>"/></inp2:m_if>
+									<inp2:m_if check="n_Field" name="IsPop"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_popular.gif" alt="<inp2:m_Phrase name="lu_Pop" no_editing="1"/>"/></inp2:m_if>
+									<inp2:m_if check="n_IsEditorsPick"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_pick.gif" alt="<inp2:m_Phrase name="lu_Pick" no_editing="1"/>"/></inp2:m_if>
+									<inp2:m_if check="n_IsFavorite"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_favorite.gif" alt="<inp2:m_Phrase name="lu_Favorite" no_editing="1"/>"/></inp2:m_if>
+									<inp2:n_VotesIndicator render_as="rating_element"/>
+
+									<br />
+
+									<span class="item-statistics">
+										<inp2:m_phrase name="lu_Added"/>: <inp2:n_Field name="CreatedOn" format="_regional_DateFormat"/>,
+										<inp2:m_phrase name="lu_Hits"/>: <inp2:n_Field name="Hits"/>,
+										<inp2:m_phrase name="lu_Rating"/>: <inp2:n_Field name="CachedRating"/>,
+										<inp2:m_phrase name="lu_Reviews"/>: <inp2:n_Field name="CachedReviewsQty"/>,
+										<inp2:m_phrase name="lu_Votes"/>: <inp2:n_Field name="CachedVotesQty"/>
+									</span>
+								</td>
+							</tr>
+						</table>
+
+						<table>
+							<tr>
+								<inp2:m_if check="n_Field" name="cust_RssOriginalURL" inverse="1">
+								<td class="picture-padding" style="padding-left:25px" valign="top">
+									<inp2:m_if check="n_ImageSrc" MaxWidth="fullsize">
+										<a href="<inp2:n_ImageSrc MaxWidth="fullsize" DefaultImage="platform/img/no_picture.gif"/>" class="thickbox" rel="article-images">
+											<inp2:n_Image render_as="image_element" Primary="1" MaxWidth="thumbnail" DefaultWidth="150" DefaultImage="platform/img/no_picture.gif"/><br />
+										</a>
+									<inp2:m_else/>
+										<inp2:n_Image render_as="image_element" Primary="1" MaxWidth="thumbnail" DefaultWidth="150" DefaultImage="platform/img/no_picture.gif"/><br />
+									</inp2:m_if>
+								</td>
+								</inp2:m_if>
+								<td class="text-padding" valign="top">
+									<inp2:n_Field name="Body" nl2br="1"/>
+
+									<br/>
+									<inp2:m_if check="n_IsFavorite">
+										<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/ic_removefromfav.gif" width="11" height="10" alt="" /> <a class="item-action" href="<inp2:n_FavoriteToggleLink/>"><inp2:m_phrase name="lu_btn_RemoveFromFavorites"/></a>
+									<inp2:m_else/>
+										<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/ic_addtofav.gif" width="11" height="10" alt="" /> <a class="item-action" href="<inp2:n_FavoriteToggleLink template="platform/my_account/my_favorites"/>"><inp2:m_phrase name="lu_btn_AddToFavorites"/></a>
+									</inp2:m_if>
+								</td>
+							</tr>
+						</table>
+
+						<br />
+
+						<inp2:m_if check="n_HasAdditionalImages">
+							<inp2:m_RenderElement name="subsection" title="lu_section_AdditionalImages"/>
+							<table>
+								<tr>
+									<inp2:n_ListImages render_as="additional_image_element" types="additional" per_page="-1" no_table="1" thumbnail="1" DefaultImage="platform/img/no_picture.gif" MaxWidth="120"/>
+								</tr>
+							</table>
+						</inp2:m_if>
+
+						<!--## LIST LINK FILES ##-->
+						<inp2:m_RenderElement design="content_box_subsection" data_exists="1">
+								<inp2:m_Capture to_var="subsection_header">
+									<strong><inp2:m_Phrase name="lu_section_Files"/></strong>
+								</inp2:m_Capture>
+								<table>
+									<inp2:n-file_PrintList render_as="file_element" columns="1" direction="V" per_page="10" />
+								</table>
+								<br /><br />
+						</inp2:m_RenderElement>
+						<!--## //LIST LINK FILES ##-->
+					</td>
+				</tr>
+			</table>
+		</inp2:m_RenderElement>
+		<!--## // article details ##-->
+		</div>
+
+		<div class="movable-element">
+			<!--## article reviews ##-->
+			<inp2:m_DefineElement name="no_reviews">
+				<inp2:m_phrase name="lu_NoReviews"/>
+			</inp2:m_DefineElement>
+
+			<inp2:m_RenderElement design="content_box" data_exists="1" block_no_data="no_reviews">
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_section_Reviews"/> (<inp2:n-rev_TotalRecords/>)
+				</inp2:m_Capture>
+
+				<table>
+					<inp2:n-rev_PrintList render_as="review_element"/>
+				</table>
+
+				<inp2:m_include template="platform/elements/pagination.elm" prefix="n-rev"/>
+			</inp2:m_RenderElement>
+			<!--## // article reviews ##-->
+		</div>
+
+		<div class="movable-element">
+			<!--## RELATED TO ARTICLE ITEMS ##-->
+			<inp2:m_RenderElement design="content_box" related_to="Article" data_exists="1">
+				<inp2:m_Capture to_var="header">
+					<inp2:m_Phrase label="lu_title_RelatedItems"/>
+				</inp2:m_Capture>
+
+				<inp2:m_ModuleInclude template="elements/content_boxes/related_items.elm" related_to="$related_to" />
+			</inp2:m_RenderElement>
+			<!--## // RELATED TO ARTICLE ITEMS ##-->
+		</div>
+	</div>
+
+	<!--## INCREASE HITS COUNTER ##-->
+	<inp2:n_RegisterHit/>
+	<!--## // INCREASE HITS COUNTER ##-->
+</inp2:m_DefineElement>
+<!--## /MAIN CONTENT ##-->
+
+<!--## DESIGN TEMPLATE ##-->
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
+<!--## /DESIGN TEMPLATE ##-->
\ No newline at end of file
Index: themes/advanced/in-news/articles/modify_pending_confirm.tpl
===================================================================
--- themes/advanced/in-news/articles/modify_pending_confirm.tpl	(revision 0)
+++ themes/advanced/in-news/articles/modify_pending_confirm.tpl	(revision 0)
@@ -0,0 +1,49 @@
+<!--##
+<NAME>Modify Article Pending Confirmation</NAME>
+<DESC>Confirmation page for Pending Article Modification</DESC>
+<SECTION>Platform||Articles</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_phrase name="lu_title_ModifyArticlePendingConfirm"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-news/elements/side_boxes/action_box.elm" design="blue_box"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_MyAccount,lu_title_MyArticles,__item__,lu_title_ModifyArticlePendingConfirm" templates="platform/my_account/my_account,in-news/my_account/my_articles,__default__,in-news/articles/modify_pending_confirm"/>
+		</div>
+		<div class="movable-element">
+			<!-- article modify pending confirm -->
+			<inp2:m_RenderElement design="content_box">
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_title_ModifyArticlePendingConfirm"/>
+				</inp2:m_Capture>
+
+				<inp2:m_phrase name="lu_text_ModifyArticlePendingConfirm"/><br /><br />
+				<a href="<inp2:m_Link template="in-news/my_account/my_articles" m_cat_id="0" m_cat_page="1"/>"><inp2:m_phrase name="lu_title_MyArticles"/></a>
+			</inp2:m_RenderElement>
+			<!-- // article modify pending confirm -->
+		</div>
+	</div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: themes/advanced/in-news/articles/add_review_confirm.tpl
===================================================================
--- themes/advanced/in-news/articles/add_review_confirm.tpl	(revision 0)
+++ themes/advanced/in-news/articles/add_review_confirm.tpl	(revision 0)
@@ -0,0 +1,49 @@
+<!--##
+<NAME>New Article Review Confirmation</NAME>
+<DESC>Confirmation page for New Article Review</DESC>
+<SECTION>Platform||Articles</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_phrase name="lu_title_AddArticleReviewConfirm"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-news/elements/side_boxes/action_box.elm" design="blue_box"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="__item__,lu_title_AddArticleReviewConfirm" templates="__default__,in-news/articles/add_review_confirm" show_category="1"/>
+		</div>
+		<div class="movable-element">
+			<!-- add article review confirm -->
+			<inp2:m_RenderElement design="content_box">
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_title_AddArticleReviewConfirm"/>
+				</inp2:m_Capture>
+
+				<inp2:m_phrase name="lu_text_AddArticleReviewConfirm"/><br /><br />
+				<a href="<inp2:n_ArticleLink template="__default__"/>"><inp2:n_Field name="Title"/></a>
+			</inp2:m_RenderElement>
+			<!-- // add article review confirm -->
+		</div>
+	</div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: themes/advanced/in-news/articles/modify_article.tpl
===================================================================
--- themes/advanced/in-news/articles/modify_article.tpl	(revision 0)
+++ themes/advanced/in-news/articles/modify_article.tpl	(revision 0)
@@ -0,0 +1,85 @@
+<!--##
+<NAME>Modify Article</NAME>
+<DESC>Form for Article Modification</DESC>
+<SECTION>Platform||Articles</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_phrase name="lu_title_ModifyArticle"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-news/elements/side_boxes/action_box.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-news/elements/side_boxes/action_box.elm" item_actions="1" design="blue_box"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_MyAccount,lu_title_MyArticles,__item__,lu_title_ModifyArticle" templates="platform/my_account/my_account,in-news/my_account/my_articles,__default__,in-news/articles/modify_article"/>
+		</div>
+		<div class="movable-element">
+			<!-- modify article -->
+			<inp2:m_RenderElement design="content_box">
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_title_ModifyArticle"/>
+				</inp2:m_Capture>
+
+				<inp2:m_if check="n_HasPermission" permissions="NEWS.MODIFY|NEWS.MODIFY.PENDING|NEWS.OWNER.MODIFY|NEWS.OWNER.MODIFY.PENDING">
+
+					<span class="field-required">*</span> <inp2:m_phrase name="lu_IndicatesRequired"/><br /><br />
+
+					<inp2:m_if check="n_HasError" field="any">
+						<inp2:m_RenderElement name="error_message" />
+					</inp2:m_if>
+
+					<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/grey_pix.gif" width="100%" height="1" align="absmiddle" alt="" /><br /><br />
+
+					<form method="post" action="<inp2:m_FormAction/>" enctype="multipart/form-data">
+						<table class="form-data fullwidth">
+							<tr><td colspan="2"><inp2:m_RenderElement name="subsection" title="lu_section_ArticleDetails" break=""/></td></tr>
+							<inp2:m_RenderElement name="inp_edit_box" prefix="n" field="Title" title="lu_fld_Title" maxlength="50" style="width:400px"/>
+							<inp2:m_RenderElement name="inp_edit_textarea" prefix="n" field="Body" title="lu_fld_Body" cols="80" rows="7" style="width:400px"/>
+							<!--## SHOW PRIMARY CATEGORY ##-->
+							<inp2:m_RenderElement name="inp_pr_category_label" prefix="n" field="PrimaryCat" title="lu_fld_PrimaryCategory" editing="1"/>
+							<!--## //SHOW PRIMARY CATEGORY ##-->
+
+							<inp2:m_RenderElement name="inp_edit_categories" prefix="n" field="MoreCategories" title="lu_fld_MoreCategories" is_last="1"/>
+							<tr><td colspan="2"><br/><inp2:m_RenderElement name="subsection" title="lu_section_Images" break=""/></td></tr>
+							<inp2:m_RenderElement name="inp_edit_image_upload" prefix="n" field="PrimaryImage" title="lu_fld_PrimaryImage"/>
+							<inp2:m_RenderElement name="inp_edit_image_upload" prefix="n" field="Image1" title="lu_fld_Image1"/>
+							<inp2:m_RenderElement name="inp_edit_image_upload" prefix="n" field="Image2" title="lu_fld_Image2" is_last="1"/>
+
+							<inp2:m_RenderElement design="inp_edit_buttons">
+								<input type="hidden" name="modify_confirm_template" value="in-news/articles/modify_confirm"/>
+								<input type="hidden" name="modify_pending_confirm_template" value="in-news/articles/modify_pending_confirm"/>
+								<input class="button" type="submit" name="events[n][OnUpdate]" value="<inp2:m_Phrase label="lu_btn_Update" no_editing="1"/>"/>
+							</inp2:m_RenderElement>
+						</table>
+					</form>
+				<inp2:m_else/>
+					<inp2:m_phrase name="lu_text_NoModifyArticlePermission"/>
+				</inp2:m_if>
+			</inp2:m_RenderElement>
+			<!-- // modify article -->
+		</div>
+	</div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: themes/advanced/in-news/articles/pop_articles.tpl
===================================================================
--- themes/advanced/in-news/articles/pop_articles.tpl	(revision 0)
+++ themes/advanced/in-news/articles/pop_articles.tpl	(revision 0)
@@ -0,0 +1,66 @@
+<!--##
+<NAME>Popular Articles</NAME>
+<DESC>List of Popular Articles</DESC>
+<SECTION>Platform||Articles</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_phrase name="lu_title_PopArticles"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">\
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-news/elements/side_boxes/action_box.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-news/elements/side_boxes/hot.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-news/elements/side_boxes/pick.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-news/elements/side_boxes/new.elm" design="blue_box" data_exists="1"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_PopArticles" templates="in-news/articless/pop_articles"/>
+		</div>
+		<div class="movable-element">
+			<!-- popular articles -->
+			<inp2:m_RenderElement design="content_box" data_exists="1" block_no_data="no_articles">
+				<inp2:n_InitList list_name="pop_articles" m_cat_id="0" recursive="1" types="pop"/>
+
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_title_PopArticles"/> (<inp2:n_TotalRecords list_name="pop_articles"/>)
+				</inp2:m_Capture>
+
+				<inp2:m_include template="in-news/elements/sorting.elm" list_name="pop_articles"/>
+
+				<inp2:m_include template="in-news/elements/articles.elm"/>
+				<table class="fullwidth item-listing table-border">
+					<inp2:n_ListArticles list_name="pop_articles" render_as="article_element" direction="H"/>
+				</table>
+
+				<inp2:m_include template="platform/elements/pagination.elm" prefix="n" list_name="pop_articles"/>
+			</inp2:m_RenderElement>
+			<!-- // popular articles -->
+		</div>
+	</div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: themes/advanced/in-news/articles/add_review.tpl
===================================================================
--- themes/advanced/in-news/articles/add_review.tpl	(revision 0)
+++ themes/advanced/in-news/articles/add_review.tpl	(revision 0)
@@ -0,0 +1,140 @@
+<!--##
+<NAME>Add Article Review</NAME>
+<DESC>Form for submitting Article Review</DESC>
+<SECTION>Platform||Articles</SECTION>
+##-->
+
+<inp2:m_RequireLogin login_template="platform/login/register" permissions="NEWS.REVIEW|NEWS.REVIEW.PENDING"/>
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:n_Field name="Title"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-news/elements/side_boxes/action_box.elm" item_actions="1" design="blue_box"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="__item__,lu_title_Reviews" templates="__default__,in-news/articles/add_review" show_category="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement design="content_box">
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_title_ArticleDetails"/>
+				</inp2:m_Capture>
+
+				<table class="fullwidth table-border">
+					<tr><td class="item-padding">
+
+				<table>
+					<tr>
+						<td width="25" valign="top">
+							<img src="<inp2:m_TemplatesBase module="In-News"/>img/articles_icon.gif" width="16" height="23" alt="" />
+						</td>
+						<td valign="top">
+
+							<span class="text-title"><inp2:n_Field name="Title"/></span>
+
+							<inp2:m_if check="n_Field" name="IsHot"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_hot.gif" alt="<inp2:m_Phrase name="lu_Hot" no_editing="1"/>"/></inp2:m_if>
+							<inp2:m_if check="n_Field" name="IsNew"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_new.gif" alt="<inp2:m_Phrase name="lu_New" no_editing="1"/>"/></inp2:m_if>
+							<inp2:m_if check="n_Field" name="IsPop"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_popular.gif" alt="<inp2:m_Phrase name="lu_Pop" no_editing="1"/>"/></inp2:m_if>
+							<inp2:m_if check="n_IsEditorsPick"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_pick.gif" alt="<inp2:m_Phrase name="lu_Pick" no_editing="1"/>"/></inp2:m_if>
+							<inp2:m_if check="n_IsFavorite"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_favorite.gif" alt="<inp2:m_Phrase name="lu_Favorite" no_editing="1"/>"/></inp2:m_if>
+							<inp2:n_VotesIndicator render_as="rating_element"/>
+
+							<br />
+
+							<span class="item-statistics">
+								<inp2:m_phrase name="lu_Added"/>: <inp2:n_Field name="CreatedOn" format="_regional_DateFormat"/>,
+								<inp2:m_phrase name="lu_Hits"/>: <inp2:n_Field name="Hits"/>,
+								<inp2:m_phrase name="lu_Rating"/>: <inp2:n_Field name="CachedRating"/>,
+								<inp2:m_phrase name="lu_Reviews"/>: <inp2:n_Field name="CachedReviewsQty"/>,
+								<inp2:m_phrase name="lu_Votes"/>: <inp2:n_Field name="CachedVotesQty"/>
+							</span>
+						</td>
+					</tr>
+				</table>
+
+				<table>
+					<tr>
+						<td class="picture-padding" style="padding-left:25px" valign="top">
+							<inp2:m_if check="n_ImageSrc" MaxWidth="fullsize">
+								<a href="<inp2:n_ImageSrc MaxWidth="fullsize" DefaultImage="platform/img/no_picture.gif"/>" class="thickbox" rel="article-images" title="<inp2:n_Field name='Title' html_escape='1'/>">
+									<inp2:n_Image render_as="image_element" Primary="1" MaxWidth="thumbnail" DefaultImage="platform/img/no_picture.gif"/><br />
+								</a>
+							<inp2:m_else/>
+								<inp2:n_Image render_as="image_element" Primary="1" MaxWidth="thumbnail" DefaultImage="platform/img/no_picture.gif"/><br />
+							</inp2:m_if>
+						</td>
+						<td class="text-padding" valign="top">
+							<inp2:n_Field name="Excerpt" nl2br="1"/>
+						</td>
+					</tr>
+				</table>
+			</td></tr></table>
+			</inp2:m_RenderElement>
+			</div>
+
+			<div class="movable-element">
+			<inp2:m_RenderElement design="content_box">
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_title_ReviewThisArticle"/>
+				</inp2:m_Capture>
+
+
+				<inp2:m_if check="n_HasPermission" permissions="NEWS.REVIEW|NEWS.REVIEW.PENDING">
+					<inp2:m_if check="n-rev_AlreadyReviewed">
+						<inp2:m_Phrase label="lu_ErrorAlreadyReviewed"/>
+						<table>
+							<inp2:n-rev_PrintList render_as="review_element" type="current_user" per_page="-1"/>
+						</table>
+						<inp2:m_include template="platform/elements/pagination.elm" prefix="n-rev"/>
+					<inp2:m_else/>
+						<inp2:n-rev_PresetFormFields/>
+						<span class="field-required">*</span> <inp2:m_phrase name="lu_IndicatesRequired"/><br /><br />
+
+						<inp2:m_if check="n-rev_HasError" field="any">
+							<inp2:m_RenderElement name="error_message" />
+						</inp2:m_if>
+
+						<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/grey_pix.gif" width="100%" height="1" align="absmiddle" alt="" /><br /><br />
+
+						<form method="post" action="<inp2:m_FormAction/>">
+							<table class="form-data fullwidth">
+								<inp2:m_RenderElement name="inp_edit_radio" prefix="n-rev" field="Rating" title="lu_fld_Rating"/>
+								<inp2:m_RenderElement name="inp_edit_textarea" prefix="n-rev" field="ReviewText" rows="8" cols="40" title="lu_fld_ReviewText" is_last="1"/>
+
+								<inp2:m_RenderElement design="inp_edit_buttons">
+									<input type="hidden" name="success_template" value="in-news/articles/add_review_confirm"/>
+									<input type="hidden" name="success_pending_template" value="in-news/articles/add_review_pending_confirm"/>
+									<input class="button" type="submit" name="events[n-rev][OnCreate]" value="<inp2:m_Phrase label="lu_btn_Create" no_editing="1"/>"/>
+								</inp2:m_RenderElement>
+							</table>
+						</form>
+					</inp2:m_if>
+				<inp2:m_else/>
+					<inp2:m_phrase name="lu_text_NoArticleReviewPermission"/>
+				</inp2:m_if>
+			</inp2:m_RenderElement>
+			<!-- // add review -->
+		</div>
+	</div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: themes/advanced/in-news/articles/add_review_pending_confirm.tpl
===================================================================
--- themes/advanced/in-news/articles/add_review_pending_confirm.tpl	(revision 0)
+++ themes/advanced/in-news/articles/add_review_pending_confirm.tpl	(revision 0)
@@ -0,0 +1,49 @@
+<!--##
+<NAME>New Article Review (Pending) Confirmation</NAME>
+<DESC>Confirmation page for Pending Article submition</DESC>
+<SECTION>Platform||Articles</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_phrase name="lu_title_AddArticleReviewPendingConfirm"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-news/elements/side_boxes/action_box.elm" design="blue_box"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="__item__,lu_title_AddArticleReviewPendingConfirm" templates="__default__,in-news/articles/add_review_pending_confirm" show_category="1"/>
+		</div>
+		<div class="movable-element">
+			<!-- add article review pending confirm -->
+			<inp2:m_RenderElement design="content_box">
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_title_AddArticleReviewPendingConfirm"/>
+				</inp2:m_Capture>
+
+				<inp2:m_phrase name="lu_text_AddArticleReviewPendingConfirm"/><br /><br />
+				<a href="<inp2:n_ArticleLink template="__default__"/>"><inp2:n_Field name="Title"/></a>
+			</inp2:m_RenderElement>
+			<!-- // add article review pending confirm -->
+		</div>
+	</div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: themes/advanced/in-news/articles/suggest_confirm.tpl
===================================================================
--- themes/advanced/in-news/articles/suggest_confirm.tpl	(revision 0)
+++ themes/advanced/in-news/articles/suggest_confirm.tpl	(revision 0)
@@ -0,0 +1,49 @@
+<!--##
+<NAME>Suggest Article - Confirmation</NAME>
+<DESC>Suggest Article Confirmation page</DESC>
+<SECTION>Platform||Articles</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_phrase name="lu_title_SuggestArticleConfirm"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-news/elements/side_boxes/action_box.elm" design="blue_box"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_SuggestArticleConfirm" templates="in-news/articles/suggest_confirm" show_category="1"/>
+		</div>
+		<div class="movable-element">
+			<!-- suggest article confirm -->
+			<inp2:m_RenderElement design="content_box">
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_title_SuggestArticleConfirm"/>
+				</inp2:m_Capture>
+
+				<inp2:m_phrase name="lu_text_SuggestArticleConfirm"/><br /><br />
+				<a href="<inp2:m_Link template="in-news/my_account/my_articles" m_cat_id="0" m_cat_page="1"/>"><inp2:m_phrase name="lu_title_MyArticles"/></a>
+			</inp2:m_RenderElement>
+			<!-- // suggest article confirm -->
+		</div>
+	</div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: themes/advanced/in-news/articles/hot_articles.tpl
===================================================================
--- themes/advanced/in-news/articles/hot_articles.tpl	(revision 0)
+++ themes/advanced/in-news/articles/hot_articles.tpl	(revision 0)
@@ -0,0 +1,66 @@
+<!--##
+<NAME>Hot Articles</NAME>
+<DESC>List of Hot Articles</DESC>
+<SECTION>Platform||Articles</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_phrase name="lu_title_HotArticles"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-news/elements/side_boxes/action_box.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-news/elements/side_boxes/pick.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-news/elements/side_boxes/pop.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-news/elements/side_boxes/new.elm" design="blue_box" data_exists="1"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_HotArticles" templates="in-news/articles/hot_articles"/>
+		</div>
+		<div class="movable-element">
+			<!-- hot articles -->
+			<inp2:m_RenderElement design="content_box" data_exists="1" block_no_data="no_articles">
+				<inp2:n_InitList list_name="hot_articles" m_cat_id="0" recursive="1" types="hot"/>
+
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_title_HotArticles"/> (<inp2:n_TotalRecords list_name="hot_articles"/>)
+				</inp2:m_Capture>
+
+				<inp2:m_include template="in-news/elements/sorting.elm" list_name="hot_articles"/>
+
+				<inp2:m_include template="in-news/elements/articles.elm"/>
+				<table class="fullwidth item-listing">
+					<inp2:n_ListArticles list_name="hot_articles" render_as="article_element" direction="H"/>
+				</table>
+
+				<inp2:m_include template="platform/elements/pagination.elm" prefix="n" list_name="hot_articles"/>
+			</inp2:m_RenderElement>
+			<!-- // hot articles -->
+		</div>
+	</div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: themes/advanced/in-news/articles/new_articles.tpl
===================================================================
--- themes/advanced/in-news/articles/new_articles.tpl	(revision 0)
+++ themes/advanced/in-news/articles/new_articles.tpl	(revision 0)
@@ -0,0 +1,66 @@
+<!--##
+<NAME>New Articles</NAME>
+<DESC>List of New Articles</DESC>
+<SECTION>Platform||Articles</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_phrase name="lu_title_NewArticles"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-news/elements/side_boxes/action_box.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-news/elements/side_boxes/hot.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-news/elements/side_boxes/pop.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-news/elements/side_boxes/pick.elm" design="blue_box" data_exists="1"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_NewArticles" templates="in-news/articles/new_articles"/>
+		</div>
+		<div class="movable-element">
+			<!-- new articles -->
+			<inp2:m_RenderElement design="content_box" data_exists="1" block_no_data="no_articles">
+				<inp2:n_InitList list_name="new_articles" m_cat_id="0" recursive="1" types="new"/>
+
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_title_NewArticles"/> (<inp2:n_TotalRecords list_name="new_articles"/>)
+				</inp2:m_Capture>
+
+				<inp2:m_include template="in-news/elements/sorting.elm" list_name="new_articles"/>
+
+				<inp2:m_include template="in-news/elements/articles.elm"/>
+				<table class="fullwidth item-listing table-border">
+					<inp2:n_ListArticles list_name="new_articles" render_as="article_element" direction="H"/>
+				</table>
+
+				<inp2:m_include template="platform/elements/pagination.elm" prefix="n" list_name="new_articles"/>
+			</inp2:m_RenderElement>
+			<!-- // new articles -->
+		</div>
+	</div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: themes/advanced/in-news/articles/search_results.tpl
===================================================================
--- themes/advanced/in-news/articles/search_results.tpl	(revision 0)
+++ themes/advanced/in-news/articles/search_results.tpl	(revision 0)
@@ -0,0 +1,67 @@
+<!--##
+<NAME>Articles - Search Results</NAME>
+<DESC>List of Articles Search Results</DESC>
+<SECTION>Platform||Articles</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_Phrase label="lu_title_ArticleSearchResults"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-news/elements/side_boxes/action_box.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-news/elements/side_boxes/pick.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-news/elements/side_boxes/pop.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-news/elements/side_boxes/new.elm" design="blue_box" data_exists="1"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<inp2:m_DefineElement name="content">
+
+<div class="movable-element">
+	<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_ArticleSearchResults" templates="in-news/search/search_results"/>
+</div>
+
+<div class="movable-element">
+	<inp2:m_RenderElement design="content_box">
+		<inp2:n_InitList list_name="article_search_results" types="search" parent_cat_id="any" recursive="1"/>
+
+		<inp2:m_Capture to_var="header">
+			<inp2:m_Phrase label="lu_title_ArticleSearchResults"/> (<inp2:n_TotalRecords list_name="article_search_results"/>)
+		</inp2:m_Capture>
+
+		<inp2:m_include template="in-news/elements/sorting.elm" list_name="article_search_results"/>
+
+		<inp2:m_include template="in-news/elements/articles.elm"/>
+		<inp2:m_include template="platform/elements/search_results.elm"/>
+
+		<table class="fullwidth item-listing table-border">
+			<inp2:n_ListArticles list_name="article_search_results" render_as="article_element" show_relevance="1"/>
+		</table>
+
+		<inp2:m_include template="platform/elements/pagination.elm" prefix="n" list_name="article_search_results"/>
+	</inp2:m_RenderElement>
+</div>
+
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: themes/advanced/in-news/elements/.smsignore
===================================================================
--- themes/advanced/in-news/elements/.smsignore	(revision 0)
+++ themes/advanced/in-news/elements/.smsignore	(revision 0)
@@ -0,0 +1 @@
+.*\.xml\.tpl
\ No newline at end of file
Index: themes/advanced/in-news/elements/html_head.elm.tpl
===================================================================
--- themes/advanced/in-news/elements/html_head.elm.tpl	(revision 0)
+++ themes/advanced/in-news/elements/html_head.elm.tpl	(revision 0)
@@ -0,0 +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>-->
+
Index: themes/advanced/in-news/elements/side_boxes/pop.elm.tpl
===================================================================
--- themes/advanced/in-news/elements/side_boxes/pop.elm.tpl	(revision 0)
+++ themes/advanced/in-news/elements/side_boxes/pop.elm.tpl	(revision 0)
@@ -0,0 +1,18 @@
+<!-- popular links -->
+<inp2:n_InitList list_name="pop_articles" types="pop" parent_cat_id="0" recursive="1" per_page="short_list"/>
+
+<inp2:m_Capture to_var="header">
+	<a href="<inp2:m_Link template="in-news/articles/pop_articles" m_cat_id="0" m_cat_page="1" />"><inp2:m_phrase name="lu_title_PopArticles"/></a> (<inp2:n_TotalRecords list_name="pop_articles"/>)
+</inp2:m_Capture>
+
+<inp2:m_include template="in-news/elements/articles.elm"/>
+
+<inp2:m_DefineElement name="all_pop_articles">
+	<a href="<inp2:m_Link template="in-news/links/pop_articles" m_cat_id="0" m_cat_page="1" />"><inp2:m_Phrase label="lu_More" /></a>
+</inp2:m_DefineElement>
+
+<table width="100%" style="border-width: 0px;">
+	<inp2:n_ListArticles list_name="pop_articles" render_as="article_short_element" direction="H"/>
+</table>
+<inp2:n_MoreLink list_name="pop_articles" render_as="all_pop_articles"/>
+<!-- // popular links -->
\ No newline at end of file
Index: themes/advanced/in-news/elements/side_boxes/hot.elm.tpl
===================================================================
--- themes/advanced/in-news/elements/side_boxes/hot.elm.tpl	(revision 0)
+++ themes/advanced/in-news/elements/side_boxes/hot.elm.tpl	(revision 0)
@@ -0,0 +1,18 @@
+<!-- popular links -->
+<inp2:n_InitList list_name="hot_articles" types="hot" parent_cat_id="0" recursive="1" per_page="short_list"/>
+
+<inp2:m_Capture to_var="header">
+	<a href="<inp2:m_Link template="in-news/articles/hot_articles" m_cat_id="0" m_cat_page="1" />"><inp2:m_phrase name="lu_title_HotArticles"/></a> (<inp2:n_TotalRecords list_name="hot_articles"/>)
+</inp2:m_Capture>
+
+<inp2:m_include template="in-news/elements/articles.elm"/>
+
+<inp2:m_DefineElement name="all_hot_articles">
+	<a href="<inp2:m_Link template="in-news/articles/hot_articles" m_cat_id="0" m_cat_page="1" />"><inp2:m_Phrase label="lu_More" /></a>
+</inp2:m_DefineElement>
+
+<table width="100%" style="border-width: 0px;">
+	<inp2:n_ListArticles list_name="hot_articles" render_as="article_short_element" direction="H"/>
+</table>
+<inp2:n_MoreLink list_name="hot_articles" render_as="all_hot_articles"/>
+<!-- // popular links -->
\ No newline at end of file
Index: themes/advanced/in-news/elements/side_boxes/new.elm.tpl
===================================================================
--- themes/advanced/in-news/elements/side_boxes/new.elm.tpl	(revision 0)
+++ themes/advanced/in-news/elements/side_boxes/new.elm.tpl	(revision 0)
@@ -0,0 +1,18 @@
+<!-- popular links -->
+<inp2:n_InitList list_name="new_articles" types="new" parent_cat_id="0" recursive="1" per_page="short_list"/>
+
+<inp2:m_Capture to_var="header">
+	<a href="<inp2:m_Link template="in-news/articles/new_articles" m_cat_id="0" m_cat_page="1" />"><inp2:m_phrase name="lu_title_NewArticles"/></a> (<inp2:n_TotalRecords list_name="new_articles"/>)
+</inp2:m_Capture>
+
+<inp2:m_include template="in-news/elements/articles.elm"/>
+
+<inp2:m_DefineElement name="all_new_articles">
+	<a href="<inp2:m_Link template="in-news/articles/new_articles" m_cat_id="0" m_cat_page="1" />"><inp2:m_Phrase label="lu_More" /></a>
+</inp2:m_DefineElement>
+
+<table width="100%" style="border-width: 0px;">
+	<inp2:n_ListArticles list_name="new_articles" render_as="article_short_element" direction="H"/>
+</table>
+<inp2:n_MoreLink list_name="new_articles" render_as="all_new_articles"/>
+<!-- // popular links -->
\ No newline at end of file
Index: themes/advanced/in-news/elements/side_boxes/pick.elm.tpl
===================================================================
--- themes/advanced/in-news/elements/side_boxes/pick.elm.tpl	(revision 0)
+++ themes/advanced/in-news/elements/side_boxes/pick.elm.tpl	(revision 0)
@@ -0,0 +1,18 @@
+<!-- popular links -->
+<inp2:n_InitList list_name="pick_articles" types="pick" parent_cat_id="0" recursive="1" per_page="short_list"/>
+
+<inp2:m_Capture to_var="header">
+	<a href="<inp2:m_Link template="in-news/articles/pick_articles" m_cat_id="0" m_cat_page="1" />"><inp2:m_phrase name="lu_title_PickArticles"/></a> (<inp2:n_TotalRecords list_name="pick_articles"/>)
+</inp2:m_Capture>
+
+<inp2:m_include template="in-news/elements/articles.elm"/>
+
+<inp2:m_DefineElement name="all_pick_articles">
+	<a href="<inp2:m_Link template="in-news/articles/pick_articles" m_cat_id="0" m_cat_page="1" />"><inp2:m_Phrase label="lu_More" /></a>
+</inp2:m_DefineElement>
+
+<table width="100%" style="border-width: 0px;">
+	<inp2:n_ListArticles list_name="pick_articles" render_as="article_short_element" direction="H"/>
+</table>
+<inp2:n_MoreLink list_name="pick_articles" render_as="all_pick_articles"/>
+<!-- // popular links -->
\ No newline at end of file
Index: themes/advanced/in-news/elements/side_boxes/action_box.elm.tpl
===================================================================
--- themes/advanced/in-news/elements/side_boxes/action_box.elm.tpl	(revision 0)
+++ themes/advanced/in-news/elements/side_boxes/action_box.elm.tpl	(revision 0)
@@ -0,0 +1,42 @@
+<inp2:m_Capture to_var="header">
+	<inp2:m_phrase name="lu_title_ActionBox"/>
+</inp2:m_Capture>
+
+<table width="100%" style="border-width: 0px;">
+	<inp2:m_RenderElement name="box_element" template="platform/categories/suggest_category" title="lu_SuggestCategory" prefix="n"/>
+	<inp2:m_RenderElement name="box_element" template="in-news/articles/suggest_article" title="lu_SuggestArticle" prefix="n"/>
+
+	<inp2:m_if check="m_Param" name="item_actions">
+		<tr>
+			<td>-</td>
+			<td>
+				<inp2:m_if check="n_IsFavorite">
+					<a href="<inp2:n_FavoriteToggleLink/>">
+						<inp2:m_phrase name="lu_btn_RemoveFromFavorites"/>
+					</a>
+				<inp2:m_else/>
+					<a href="<inp2:n_FavoriteToggleLink template="platform/my_account/my_favorites"/>">
+						<inp2:m_phrase name="lu_btn_AddToFavorites"/>
+					</a>
+				</inp2:m_if>
+			</td>
+		</tr>
+
+		<tr>
+			<td>-</td>
+			<td>
+				<a href="<inp2:n_ArticleLink template="in-news/articles/add_review"/>"><inp2:m_phrase name="lu_btn_ReviewThisArticle"/></a>
+			</td>
+		</tr>
+
+		<!--##
+		<tr>
+			<td>-</td>
+			<td>
+				<a href="<inp2:n_ArticleLink template="in-news/articles/rate"/>"><inp2:m_phrase name="lu_btn_RateThisArticle"/></a>
+			</td>
+		</tr>
+		##-->
+		
+	</inp2:m_if>
+</table>
\ No newline at end of file
Index: themes/advanced/in-news/elements/sorting.elm.tpl
===================================================================
--- themes/advanced/in-news/elements/sorting.elm.tpl	(revision 0)
+++ themes/advanced/in-news/elements/sorting.elm.tpl	(revision 0)
@@ -0,0 +1,41 @@
+<table class="fullwidth">
+	<tr>
+		<td class="category-statistics">
+			<inp2:m_phrase name="lu_TotalArticles"/>: <inp2:n_ItemCount/>  &nbsp;|&nbsp;  <inp2:m_phrase name="lu_AddedToday"/>: <inp2:n_ItemCount today="1"/>
+		</td>
+		<td class="category-statistics" align="right">
+			<inp2:m_phrase name="lu_ArticlesUpdated"/>: <inp2:n_LastUpdated format="_regional_DateFormat"/>
+		</td>
+	</tr>
+</table>
+<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="4" alt="" /><br />
+<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/grey_pix.gif" width="100%" height="1" alt="" /><br />
+<br />
+
+<table class="fullwidth">
+	<tr>
+		<td align="right">
+			<form method="post" action="<inp2:m_FormAction />">
+				<inp2:m_Phrase label="lu_SortArticlesBy"/>:
+
+				<select name="<inp2:n_CombinedSortingDropDownName/>" class="input-select">
+					<option value="Title|asc" <inp2:n_SortingSelected sorting="Title|asc" selected='selected="selected"'/>> <inp2:m_Phrase label="lu_ArticleTitleAZ"/></option>
+					<option value="Title|desc" <inp2:n_SortingSelected sorting="Title|desc" selected='selected="selected"'/>> <inp2:m_Phrase label="lu_ArticleTitleZA"/></option>
+					<option value="CreatedOn|asc" <inp2:n_SortingSelected sorting="CreatedOn|asc" selected='selected="selected"'/>> <inp2:m_Phrase label="lu_RecentToOld"/></option>
+					<option value="CreatedOn|desc" <inp2:n_SortingSelected sorting="CreatedOn|desc" selected='selected="selected"'/>> <inp2:m_Phrase label="lu_OldToRecent"/></option>
+					<option value="Author|asc" <inp2:n_SortingSelected sorting="Author|asc" selected='selected="selected"'/>> <inp2:m_Phrase label="lu_AuthorAZ"/></option>
+					<option value="Author|desc" <inp2:n_SortingSelected sorting="Author|desc" selected='selected="selected"'/>> <inp2:m_Phrase label="lu_AuthorZA"/></option>
+					<option value="CachedRating|asc" <inp2:n_SortingSelected sorting="CachedRating|asc" selected='selected="selected"'/>> <inp2:m_Phrase label="lu_RatingLH"/></option>
+					<option value="CachedRating|desc" <inp2:n_SortingSelected sorting="CachedRating|desc" selected='selected="selected"'/>> <inp2:m_Phrase label="lu_RatingHL"/></option>
+					<option value="CachedVotesQty|asc" <inp2:n_SortingSelected sorting="CachedVotesQty|asc" selected='selected="selected"'/>> <inp2:m_Phrase label="lu_VotesLH"/></option>
+					<option value="CachedVotesQty|desc" <inp2:n_SortingSelected sorting="CachedVotesQty|desc" selected='selected="selected"'/>> <inp2:m_Phrase label="lu_VotesHL"/></option>
+					<option value="Hits|asc" <inp2:n_SortingSelected sorting="Hits|asc" selected='selected="selected"'/>> <inp2:m_Phrase label="lu_HitsLH"/></option>
+					<option value="Hits|desc" <inp2:n_SortingSelected sorting="Hits|desc" selected='selected="selected"'/>> <inp2:m_Phrase label="lu_HitsHL"/></option>
+				</select>
+				<input type="submit" class="button" name="<inp2:n_SubmitName event="OnSetSortingDirect"/>" value="<inp2:m_Phrase label="lu_btn_Sort" no_editing="1"/>" />
+			</form>
+		</td>
+	</tr>
+</table>
+
+<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="10" alt="" /><br />
\ No newline at end of file
Index: themes/advanced/in-news/elements/rss.xml.tpl
===================================================================
--- themes/advanced/in-news/elements/rss.xml.tpl	(revision 0)
+++ themes/advanced/in-news/elements/rss.xml.tpl	(revision 0)
@@ -0,0 +1,13 @@
+<inp2:m_XMLTemplate xml_version="1.0"/>
+<rss version="2.0">
+	<channel>
+		<title><inp2:m_GetConfig name="Site_Name"/></title>
+		<link><inp2:c_CategoryLink template="in-news/designs/section"/></link>
+		<generator><inp2:m_GetConfig name="Site_Name"/></generator>
+		<managingEditor><inp2:m_GetConfig name="Smtp_AdminMailFrom"/></managingEditor>
+    	<webMaster><inp2:m_GetConfig name="Smtp_AdminMailFrom"/>m</webMaster>
+
+    	<inp2:m_include template="in-news/elements/articles.elm"/>
+		<inp2:n_PrintList render_as="article_rss_element" per_page="-1"/>
+	</channel>
+</rss>
Index: themes/advanced/in-news/elements/content_boxes/my_favorites.elm.tpl
===================================================================
--- themes/advanced/in-news/elements/content_boxes/my_favorites.elm.tpl	(revision 0)
+++ themes/advanced/in-news/elements/content_boxes/my_favorites.elm.tpl	(revision 0)
@@ -0,0 +1,22 @@
+<!-- favorite articles -->
+<inp2:m_RenderElement design="content_box" data_exists="1">
+	<inp2:n_InitList list_name="favorite_articles" types="favorites" parent_cat_id="0" recursive="1"/>
+
+	<inp2:m_Capture to_var="header">
+		<inp2:m_phrase name="lu_title_FavoriteArticles"/> (<inp2:n_TotalRecords list_name="favorite_articles"/>)
+	</inp2:m_Capture>
+
+	<inp2:m_include template="in-news/elements/articles.elm"/>
+
+	<table class="fullwidth item-listing">
+		<inp2:n_ListArticles list_name="favorite_articles" render_as="article_element" direction="H"/>
+	</table>
+
+	<inp2:m_if check="n_TotalRecords" list_name="favorite_articles">
+		<inp2:m_Set favorites_found="1"/>
+	</inp2:m_if>
+
+	<inp2:m_include template="platform/elements/pagination.elm" prefix="n" list_name="favorite_articles"/>
+</inp2:m_RenderElement>
+
+<!-- // favorite articles -->
\ No newline at end of file
Index: themes/advanced/in-news/elements/content_boxes/site_lead_article.elm.tpl
===================================================================
--- themes/advanced/in-news/elements/content_boxes/site_lead_article.elm.tpl	(revision 0)
+++ themes/advanced/in-news/elements/content_boxes/site_lead_article.elm.tpl	(revision 0)
@@ -0,0 +1,15 @@
+<inp2:m_include template="in-news/elements/articles.elm"/>
+
+<inp2:m_RenderElement design="content_box" data_exists="1">
+	<inp2:n_InitList list_name="site_lead" types="site_lead" parent_cat_id="0" per_page="1" recursive="1"/>
+
+	<inp2:m_Capture to_var="header">
+		<inp2:m_phrase name="lu_title_SiteLeadStory"/>
+	</inp2:m_Capture>
+
+	<inp2:m_include template="in-news/elements/articles.elm"/>
+
+	<table class="fullwidth item-listing-lead table-border" >
+		<inp2:n_ListArticles list_name="site_lead" render_as="site_lead_article_element" no_table="0"/>
+	</table>
+</inp2:m_RenderElement>
\ No newline at end of file
Index: themes/advanced/in-news/elements/content_boxes/search_results.elm.tpl
===================================================================
--- themes/advanced/in-news/elements/content_boxes/search_results.elm.tpl	(revision 0)
+++ themes/advanced/in-news/elements/content_boxes/search_results.elm.tpl	(revision 0)
@@ -0,0 +1,26 @@
+<inp2:m_RenderElement design="content_box" data_exists="1">
+	<inp2:n_InitList list_name="article_search_results" types="search" parent_cat_id="any" recursive="1" per_page="short_list"/>
+
+	<inp2:m_Capture to_var="header">
+			<inp2:m_phrase name="lu_title_ArticleSearchResults"/> (<inp2:n_TotalRecords list_name="article_search_results" />)
+	</inp2:m_Capture>
+
+	<inp2:m_include template="in-news/elements/articles.elm"/>
+	<inp2:m_include template="platform/elements/search_results.elm"/>
+
+	<table class="fullwidth item-listing">
+		<inp2:n_ListArticles list_name="article_search_results" render_as="article_element_search" show_relevance="1"/>
+	</table>
+
+	<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="1" alt="" /><br /></div>
+
+	<inp2:m_if check="n_TotalRecords" list_name="article_search_results">
+		<inp2:m_Set items_found="1"/>
+	</inp2:m_if>
+
+	<inp2:m_DefineElement name="more_link">
+		<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="5" alt="" /><br />
+		<a href="<inp2:m_Link template="in-news/articles/search_results" />"><inp2:m_Phrase label="lu_More"/>...</a>
+	</inp2:m_DefineElement>
+	<inp2:n_MoreLink list_name="article_search_results" render_as="more_link"/>
+</inp2:m_RenderElement>
\ No newline at end of file
Index: themes/advanced/in-news/elements/content_boxes/related_items.elm.tpl
===================================================================
--- themes/advanced/in-news/elements/content_boxes/related_items.elm.tpl	(revision 0)
+++ themes/advanced/in-news/elements/content_boxes/related_items.elm.tpl	(revision 0)
@@ -0,0 +1,6 @@
+<!--## RELATED ARTICLES ##-->
+	<inp2:m_include template="in-news/elements/articles.elm"/>	
+	<table>
+		<inp2:n_PrintList2 render_as="related_article_element" types="related" related_to="$related_to" parent_cat_id="any" no_table="1"/>
+	</table> 
+<!--## // RELATED ARTICLES ##-->
\ No newline at end of file
Index: themes/advanced/in-news/elements/content_boxes/home_page_items.elm.tpl
===================================================================
--- themes/advanced/in-news/elements/content_boxes/home_page_items.elm.tpl	(revision 0)
+++ themes/advanced/in-news/elements/content_boxes/home_page_items.elm.tpl	(revision 0)
@@ -0,0 +1 @@
+<inp2:m_include template="in-news/elements/content_boxes/site_lead_article.elm"/>
Index: themes/advanced/in-news/elements/articles.elm.tpl
===================================================================
--- themes/advanced/in-news/elements/articles.elm.tpl	(revision 0)
+++ themes/advanced/in-news/elements/articles.elm.tpl	(revision 0)
@@ -0,0 +1,302 @@
+
+
+<inp2:m_DefineElement name="article_element">
+	<td>
+		<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="1" alt="" /><br /></div>
+		<br />
+		<table>
+			<tr>
+				<td class="picture-padding">
+					<inp2:m_if check="m_Param" name="show_relevance">
+						<inp2:RelevanceIndicator on_color="Red" off_color="White" relevance_normal_render_as="search_relevance_normal" relevance_full_render_as="search_relevance_full" /><br/>
+					</inp2:m_if>
+					<a href="<inp2:ArticleLink template="__default__"/>" title="<inp2:Field name="Title" html_escape="1"/>"><inp2:Image render_as="image_element" Primary="1" DefaultImage="platform/img/no_picture.gif" MaxWidth="thumbnail" DefaultWidth="150"/></a>
+				</td>
+				<td class="text-padding" valign="top">
+					<a href="<inp2:ArticleLink template="__default__"/>" class="text-title"><inp2:Field name="Title"/></a>
+					<!--##(Owner: <inp2:Field name="CreatedById"/>) ##-->
+
+					<inp2:m_if check="Field" name="IsHot"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_hot.gif" alt="<inp2:m_Phrase name="lu_Hot" no_editing="1"/>"/></inp2:m_if>
+					<inp2:m_if check="Field" name="IsNew"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_new.gif" alt="<inp2:m_Phrase name="lu_New" no_editing="1"/>"/></inp2:m_if>
+					<inp2:m_if check="Field" name="IsPop"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_popular.gif" alt="<inp2:m_Phrase name="lu_Pop" no_editing="1"/>"/></inp2:m_if>
+					<inp2:m_if check="IsEditorsPick"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_pick.gif" alt="<inp2:m_Phrase name="lu_Pick" no_editing="1"/>"/></inp2:m_if>
+					<inp2:m_if check="IsFavorite"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_favorite.gif" alt="<inp2:m_Phrase name="lu_Favorite" no_editing="1"/>"/></inp2:m_if>
+					<inp2:VotesIndicator render_as="rating_element" no_editing="1"/>
+
+					<br />
+					<span class="item-statistics">
+						<inp2:m_phrase name="lu_Added"/>: <inp2:Field name="CreatedOn" format="_regional_DateFormat"/>,
+						<inp2:m_phrase name="lu_Hits"/>: <inp2:Field name="Hits"/>,
+						<inp2:m_phrase name="lu_Reviews"/>: <inp2:Field name="CachedReviewsQty"/>,
+						<inp2:m_phrase name="lu_Rating"/>: <inp2:Field name="CachedRating"/>,
+						<inp2:m_phrase name="lu_Votes"/>: <inp2:Field name="CachedVotesQty"/>
+					</span>
+
+					<br />
+
+					<inp2:m_if check="IsFavorite">
+						<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/ic_removefromfav.gif" width="11" height="10" alt="" /> <a class="item-action" href="<inp2:FavoriteToggleLink/>"><inp2:m_phrase name="lu_btn_RemoveFromFavorites"/></a>
+					<inp2:m_else/>
+						<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/ic_addtofav.gif" width="11" height="10" alt="" /> <a class="item-action" href="<inp2:FavoriteToggleLink template="platform/my_account/my_favorites"/>"><inp2:m_phrase name="lu_btn_AddToFavorites"/></a>
+					</inp2:m_if>
+
+					 &nbsp;|&nbsp;
+
+					<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/reviews.gif" width="14" height="10" alt="" /> <a class="item-action" href="<inp2:ArticleLink template="in-news/articles/add_review"/>"><inp2:m_phrase name="lu_btn_AddReview"/></a>
+
+					<br /><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="4" alt="" /><br />
+
+					<inp2:m_if check="Field" name="Excerpt">
+						<br/><inp2:Field name="Excerpt" nl2br="1"/>
+					</inp2:m_if>
+				</td>
+			</tr>
+		</table>
+
+		<br />
+	</td>
+</inp2:m_DefineElement>
+
+<!--## RELATED ARTICLE ELEMENT ##-->
+<inp2:m_DefineElement name="related_article_element">
+	<tr>
+		<td width="25"><img src="<inp2:m_TemplatesBase module="In-News"/>img/articles_icon.gif" width="16" height="23" alt="" /></td>
+		<td><a href="<inp2:ArticleLink template="__default__"/>" class="text-title"><inp2:Field name="Title"/></a></td>
+	</tr>
+</inp2:m_DefineElement>
+<!--## // RELATED ARTICLE ELEMENT ##-->
+
+<inp2:m_DefineElement name="my_article_element">
+	<td>
+		<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="1" alt="" /><br /></div>
+		<table class="fullwidth">
+			<tr>
+				<td class="article-picture-padding-lead">
+					<a href="<inp2:ArticleLink template="__default__"/>" title="<inp2:Field name="Title" html_escape="1"/>"><inp2:Image render_as="image_element" primary="1" thumbnail="1" DefaultImage="platform/img/no_picture.gif" MaxWidth="thumbnail" DefaultWidth="150"/></a><br />
+				</td>
+				<td class="text-padding" valign="top">
+					<a href="<inp2:ArticleLink template="__default__"/>"><inp2:Field name="Title"/></a> <inp2:m_if check="IsPending"><span class="pending-item"><strong><inp2:m_phrase name="lu_PendingItem"/></strong></span></inp2:m_if>
+
+					<inp2:m_if check="Field" name="IsHot"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_hot.gif" alt="<inp2:m_Phrase name="lu_Hot" no_editing="1"/>"/></inp2:m_if>
+					<inp2:m_if check="Field" name="IsNew"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_new.gif" alt="<inp2:m_Phrase name="lu_New" no_editing="1"/>"/></inp2:m_if>
+					<inp2:m_if check="Field" name="IsPop"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_popular.gif" alt="<inp2:m_Phrase name="lu_Pop" no_editing="1"/>"/></inp2:m_if>
+					<inp2:m_if check="IsEditorsPick"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_pick.gif" alt="<inp2:m_Phrase name="lu_Pick" no_editing="1"/>"/></inp2:m_if>
+					<inp2:m_if check="IsFavorite"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_favorite.gif" alt="<inp2:m_Phrase name="lu_Favorite" no_editing="1"/>"/></inp2:m_if>
+					<inp2:VotesIndicator render_as="rating_element" no_editing="1"/>
+
+					<br />
+
+					<strong><inp2:CategoryPath separator="&gt;" render_as="category_path_element"/></strong><br />
+
+					<inp2:m_if check="Field" name="Excerpt">
+						<br /><inp2:Field name="Excerpt" nl2br="1"/><br />
+					</inp2:m_if>
+					<br />
+
+					<span class="item-statistics">
+						<inp2:m_phrase name="lu_Added"/>: <inp2:Field name="CreatedOn" format="_regional_DateFormat"/>,
+						<inp2:m_phrase name="lu_Hits"/>: <inp2:Field name="Hits"/>,
+						<inp2:m_phrase name="lu_Reviews"/>: <inp2:Field name="CachedReviewsQty"/>,
+						<inp2:m_phrase name="lu_Rating"/>: <inp2:Field name="CachedRating"/>,
+						<inp2:m_phrase name="lu_Votes"/>: <inp2:Field name="CachedVotesQty"/>
+					</span>
+
+					<table>
+						<tr>
+							<td>
+								<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/ic_details.gif" width="14" height="13" alt="" /> <a class="item-action" href="<inp2:ArticleLink template="__default__"/>"><inp2:m_phrase name="lu_btn_Details"/></a>
+							</td>
+
+							<inp2:m_if check="HasPermission" permissions="NEWS.MODIFY|NEWS.MODIFY.PENDING|NEWS.OWNER.MODIFY|NEWS.OWNER.MODIFY.PENDING">
+							<td>
+								 &nbsp;|&nbsp; <img src="<inp2:m_TemplatesBase module="In-Portal"/>img/ic_edit.gif" width="11" height="10" alt="" /> <a class="item-action" href="<inp2:ArticleLink template="in-news/articles/modify_article"/>"><inp2:m_phrase name="lu_btn_Modify"/></a>
+							</td>
+							</inp2:m_if>
+
+							<inp2:m_if check="HasPermission" permissions="NEWS.DELETE|NEWS.OWNER.DELETE">
+							<td>
+								 &nbsp;|&nbsp; <img src="<inp2:m_TemplatesBase module="In-Portal"/>img/ic_delete.gif" width="11" height="10" alt="" /> <a class="item-action" href="<inp2:ArticleLink n_event="OnDelete"/>" onclick="return confirm('<inp2:m_phrase name="lu_DeleteArticleConfirm" js_escape="1"/>');"><inp2:m_phrase name="lu_btn_Delete"/></a>
+							</td>
+							</inp2:m_if>
+						</tr>
+					</table>
+
+
+				</td>
+			</tr>
+		</table>
+	</td>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="site_lead_article_element">
+
+		<td>
+		<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" alt=""/><br /></div><br/>
+			<table class="fullwidth">
+				<tr>
+					<td class="articles-icon-cell" align="left" valign="top">
+						<img src="<inp2:m_TemplatesBase module="In-News"/>img/articles_icon.gif" width="22" height="18" alt="" /><br />
+					</td>
+					<td valign="top">
+						<a href="<inp2:ArticleLink template="__default__"/>"  class="text-title"><inp2:Field name="Title"/></a>
+
+						<inp2:m_if check="Field" name="IsHot"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_hot.gif" alt="<inp2:m_Phrase name="lu_Hot" no_editing="1"/>"/></inp2:m_if>
+						<inp2:m_if check="Field" name="IsNew"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_new.gif" alt="<inp2:m_Phrase name="lu_New" no_editing="1"/>"/></inp2:m_if>
+						<inp2:m_if check="Field" name="IsPop"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_popular.gif" alt="<inp2:m_Phrase name="lu_Pop" no_editing="1"/>"/></inp2:m_if>
+						<inp2:m_if check="IsEditorsPick"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_pick.gif" alt="<inp2:m_Phrase name="lu_Pick" no_editing="1"/>"/></inp2:m_if>
+						<inp2:m_if check="IsFavorite"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_favorite.gif" alt="<inp2:m_Phrase name="lu_Favorite" no_editing="1"/>"/></inp2:m_if>
+						<inp2:VotesIndicator render_as="rating_element" no_editing="1"/>
+
+						<div class="item-statistics">
+							(<inp2:m_phrase name="lu_Added"/>: <inp2:Field name="CreatedOn" format="_regional_DateFormat"/>,
+							<inp2:m_phrase name="lu_Hits"/>: <inp2:Field name="Hits"/>,
+							<inp2:m_phrase name="lu_Reviews"/>: <inp2:Field name="CachedReviewsQty"/>,
+							<inp2:m_phrase name="lu_Rating"/>: <inp2:Field name="CachedRating"/>,
+							<inp2:m_phrase name="lu_Votes"/>: <inp2:Field name="CachedVotesQty"/>)
+						</div>
+					</td>
+				</tr>
+			</table>
+			<br />
+			<table>
+				<tr>
+					<td class="lead-article-picture-padding">
+						<a href="<inp2:ArticleLink template="__default__"/>" title="<inp2:Field name="Title" html_escape="1"/>"><inp2:Image render_as="image_element" primary="1" DefaultImage="platform/img/no_picture.gif" MaxWidth="thumbnail"/></a>
+					</td>
+					<td valign="top" >
+						<inp2:Field name="Excerpt" nl2br="1"/>
+					</td>
+
+				</tr>
+			</table>
+
+			<br />
+		</td>
+
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="category_lead_article_element">
+	<!--##
+	<tr>
+		<td>
+			<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" alt=""/></div>
+			<div class="category-lead-article"><inp2:m_Phrase label="lu_CategoryLeadStory"/></div>
+			<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" alt=""/></div>
+		</td>
+	</tr>
+	##-->
+	<tr>
+		<td class="category-lead-article-padding">
+			<table style="width:auto">
+				<tr>
+					<td class="articles-icon-cell" align="left" valign="top">
+						<img src="<inp2:m_TemplatesBase module="In-News"/>img/articles_icon.gif" width="22" height="18" alt="" /><br />
+					</td>
+					<td valign="top">
+						<a href="<inp2:ArticleLink template="__default__"/>"  class="text-title"><inp2:Field name="Title"/></a>
+
+						<inp2:m_if check="Field" name="IsHot"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_hot.gif" alt="<inp2:m_Phrase name="lu_Hot" no_editing="1"/>"/></inp2:m_if>
+						<inp2:m_if check="Field" name="IsNew"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_new.gif" alt="<inp2:m_Phrase name="lu_New" no_editing="1"/>"/></inp2:m_if>
+						<inp2:m_if check="Field" name="IsPop"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_popular.gif" alt="<inp2:m_Phrase name="lu_Pop" no_editing="1"/>"/></inp2:m_if>
+						<inp2:m_if check="IsEditorsPick"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_pick.gif" alt="<inp2:m_Phrase name="lu_Pick" no_editing="1"/>"/></inp2:m_if>
+						<inp2:m_if check="IsFavorite"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_favorite.gif" alt="<inp2:m_Phrase name="lu_Favorite" no_editing="1"/>"/></inp2:m_if>
+						<inp2:VotesIndicator render_as="rating_element" no_editing="1"/>
+
+						<div class="item-statistics">
+							(<inp2:m_phrase name="lu_Added"/>: <inp2:Field name="CreatedOn" format="_regional_DateFormat"/>,
+							<inp2:m_phrase name="lu_Hits"/>: <inp2:Field name="Hits"/>,
+							<inp2:m_phrase name="lu_Reviews"/>: <inp2:Field name="CachedReviewsQty"/>,
+							<inp2:m_phrase name="lu_Rating"/>: <inp2:Field name="CachedRating"/>,
+							<inp2:m_phrase name="lu_Votes"/>: <inp2:Field name="CachedVotesQty"/>)
+						</div>
+					</td>
+				</tr>
+			</table>
+			<br />
+			<table>
+				<tr>
+					<td class="article-picture-padding">
+						<a href="<inp2:ArticleLink template="__default__"/>" title="<inp2:Field name="Title" html_escape="1"/>"><inp2:Image render_as="image_element" primary="1" DefaultImage="platform/img/no_picture.gif" MaxWidth="thumbnail"/></a>
+					</td>
+					<td valign="top" >
+						<inp2:Field name="Excerpt" nl2br="1"/>
+					</td>
+				</tr>
+			</table>
+
+		</td>
+	</tr>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="article_short_element">
+	<td>
+		<a href="<inp2:ArticleLink template="__default__"/>"><inp2:Field name="Title"/></a>
+	</td>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="no_articles">
+	<inp2:m_phrase name="lu_NoArticles"/>
+</inp2:m_DefineElement>
+
+<!--## ARTICLE RSS ELEMENT ##-->
+<inp2:m_DefineElement name="article_rss_element">
+<item>
+	<title><inp2:Field name="Title" html_escape="1"/></title>
+	<link><inp2:ArticleLink template="__default__"/></link>
+	<description><inp2:Field name="Body" html_escape="1"/></description>
+</item>
+</inp2:m_DefineElement>
+<!--## /ARTICLE RSS ELEMENT ##-->
+
+
+<inp2:m_DefineElement name="article_element_search">
+	<td>
+		<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="1" alt="" /><br /></div>
+		<br />
+		<table>
+			<tr>
+				<td class="picture-padding">
+					<inp2:m_if check="m_Param" name="show_relevance">
+						<inp2:RelevanceIndicator on_color="Red" off_color="White" relevance_normal_render_as="search_relevance_normal" relevance_full_render_as="search_relevance_full" /><br/>
+					</inp2:m_if>
+					<a href="<inp2:ArticleLink template="__default__"/>" title="<inp2:Field name="Title" html_escape="1"/>"><inp2:Image render_as="image_element" Primary="1" DefaultImage="platform/img/no_picture.gif" MaxWidth="thumbnail" DefaultWidth="150"/></a>
+				</td>
+				<td class="text-padding" valign="top">
+					<a href="<inp2:ArticleLink template="__default__"/>" class="text-title"><inp2:Field name="Title"/></a>
+					<!--##(Owner: <inp2:Field name="CreatedById"/>) ##-->
+
+					<inp2:m_if check="Field" name="IsHot"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_hot.gif" alt="<inp2:m_Phrase name="lu_Hot" no_editing="1"/>"/></inp2:m_if>
+					<inp2:m_if check="Field" name="IsNew"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_new.gif" alt="<inp2:m_Phrase name="lu_New" no_editing="1"/>"/></inp2:m_if>
+					<inp2:m_if check="Field" name="IsPop"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_popular.gif" alt="<inp2:m_Phrase name="lu_Pop" no_editing="1"/>"/></inp2:m_if>
+					<inp2:m_if check="IsEditorsPick"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_pick.gif" alt="<inp2:m_Phrase name="lu_Pick" no_editing="1"/>"/></inp2:m_if>
+					<inp2:m_if check="IsFavorite"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_favorite.gif" alt="<inp2:m_Phrase name="lu_Favorite" no_editing="1"/>"/></inp2:m_if>
+					<inp2:VotesIndicator render_as="rating_element" no_editing="1"/>
+
+					<br />
+					<span class="item-statistics">
+						<inp2:m_phrase name="lu_Added"/>: <inp2:Field name="CreatedOn" format="_regional_DateFormat"/>,
+						<inp2:m_phrase name="lu_Hits"/>: <inp2:Field name="Hits"/>,
+						<inp2:m_phrase name="lu_Reviews"/>: <inp2:Field name="CachedReviewsQty"/>,
+						<inp2:m_phrase name="lu_Rating"/>: <inp2:Field name="CachedRating"/>,
+						<inp2:m_phrase name="lu_Votes"/>: <inp2:Field name="CachedVotesQty"/>
+					</span>
+
+					<br />
+
+					<inp2:m_if check="IsFavorite">
+						<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/ic_removefromfav.gif" width="11" height="10" alt="" /> <a class="item-action" href="<inp2:FavoriteToggleLink/>"><inp2:m_phrase name="lu_btn_RemoveFromFavorites"/></a>
+					<inp2:m_else/>
+						<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/ic_addtofav.gif" width="11" height="10" alt="" /> <a class="item-action" href="<inp2:FavoriteToggleLink template="platform/my_account/my_favorites"/>"><inp2:m_phrase name="lu_btn_AddToFavorites"/></a>
+					</inp2:m_if>
+
+					 &nbsp;|&nbsp;
+
+					<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/reviews.gif" width="14" height="10" alt="" /> <a class="item-action" href="<inp2:ArticleLink template="in-news/articles/add_review"/>"><inp2:m_phrase name="lu_btn_AddReview"/></a>
+
+				</td>
+			</tr>
+		</table>
+
+		<br />
+	</td>
+</inp2:m_DefineElement>
\ No newline at end of file
Index: themes/advanced/in-link/inc/styles.css
===================================================================
--- themes/advanced/in-link/inc/styles.css	(revision 0)
+++ themes/advanced/in-link/inc/styles.css	(revision 0)
@@ -0,0 +1 @@
+/* --- Listing Element Styles --- */
Index: themes/advanced/in-link/inc/googlemaps.js
===================================================================
--- themes/advanced/in-link/inc/googlemaps.js	(revision 0)
+++ themes/advanced/in-link/inc/googlemaps.js	(revision 0)
@@ -0,0 +1,29 @@
+google.load("maps", "2.x");
+
+// Call this function when the page has been loaded
+function initialize() {
+	map = new google.maps.Map2(document.getElementById("map"));
+	map.setCenter(new google.maps.LatLng(37.4419, -122.1419), 13);
+	map.addControl(new GSmallMapControl());
+	map.addControl(new GMapTypeControl());
+}
+
+var map = false;
+function showaddress(addr,addrInfo) {
+	if (!map) initialize();
+	geocoder = new google.maps.ClientGeocoder();
+	geocoder.getLatLng(
+	addr,
+	function(point) {
+		if (!point) {
+			alert(addr + " not found");
+		} else {
+			map.setCenter(point, 13);			
+			var marker = new GMarker(point);
+			map.clearOverlays();
+			map.addOverlay(marker);
+			marker.openInfoWindowHtml(addrInfo);
+		}
+	}
+	);
+}
\ No newline at end of file
Index: themes/advanced/in-link/_install/english.lang
===================================================================
--- themes/advanced/in-link/_install/english.lang	(revision 0)
+++ themes/advanced/in-link/_install/english.lang	(revision 0)
@@ -0,0 +1,86 @@
+<LANGUAGES>
+	<LANGUAGE PackName="English" Encoding="base64"><DATEFORMAT>m/d/Y</DATEFORMAT><TIMEFORMAT>g:i A</TIMEFORMAT><INPUTDATEFORMAT>m/d/Y</INPUTDATEFORMAT><INPUTTIMEFORMAT>g:i:s A</INPUTTIMEFORMAT><DECIMAL>.</DECIMAL><THOUSANDS>,</THOUSANDS><CHARSET>utf-8</CHARSET><DOCS_URL>http://docs.in-portal.org/eng/index.php</DOCS_URL><UNITSYSTEM>2</UNITSYSTEM>
+		<PHRASES>
+			<PHRASE Label="la_ToolTip_newlisting" Module="In-Link" Type="0">TmV3IExpc3Rpbmc=</PHRASE>
+			<PHRASE Label="lu_AreYouSureToCancelEnhancement" Module="In-Link" Type="0">WW91IGFyZSBhYm91dCB0byBjYW5jZWwgeW91ciBsaW5rIGVuaGFuY2VtZW50Lg==</PHRASE>
+			<PHRASE Label="lu_AreYouSureToExtendEnhancement" Module="In-Link" Type="0">WW91IGFyZSBhYm91dCB0byBleHRlbmQgeW91ciBsaW5rIGVuaGFuY2VtZW50Lg==</PHRASE>
+			<PHRASE Label="lu_btn_CancelEnhancement" Module="In-Link" Type="0">Q2FuY2VsIEVuaGFuY2VtZW50</PHRASE>
+			<PHRASE Label="lu_btn_Enhance" Module="In-Link" Type="0">RW5oYW5jZQ==</PHRASE>
+			<PHRASE Label="lu_btn_EnhanceLink" Module="In-Link" Type="0">RW5oYW5jZSBMaW5r</PHRASE>
+			<PHRASE Label="lu_btn_ExtendCancelEnhancement" Module="In-Link" Type="0">RXh0ZW5kIC8gQ2FuY2VsIEVuaGFuY2VtZW50</PHRASE>
+			<PHRASE Label="lu_btn_ExtendEnhancement" Module="In-Link" Type="0">RXh0ZW5kIEVuaGFuY2VtZW50</PHRASE>
+			<PHRASE Label="lu_btn_RateThisLink" Module="In-Link" Type="0">UmF0ZSB0aGlzIGxpbms=</PHRASE>
+			<PHRASE Label="lu_btn_ReviewThisLink" Module="In-Link" Type="0">Q29tbWVudCB0aGlzIExpbms=</PHRASE>
+			<PHRASE Label="lu_btn_VisitLink" Module="In-Link" Type="0">VmlzaXQgTGluaw==</PHRASE>
+			<PHRASE Label="lu_CancelEnhancementConfirmation" Module="In-Link" Type="0">QXJlIHlvdSBzdXJlIHlvdSB3YW50IHRvIGNhbmNlbCB5b3VyIGVuaGFuY2VkIGxpbms/IFRoZSBsaXN0aW5nIHR5cGUgd2lsbCBiZSByZXNldCB0byByZWd1bGFyLg==</PHRASE>
+			<PHRASE Label="lu_ChooseListingType" Module="In-Link" Type="0">Q2hvb3NlIExpc3RpbmcgVHlwZQ==</PHRASE>
+			<PHRASE Label="lu_col_Duration" Module="In-Link" Type="0">RHVyYXRpb24=</PHRASE>
+			<PHRASE Label="lu_DeleteLinkConfirm" Module="In-Link" Type="0">QXJlIHlvdSBzdXJlIHlvdSB3YW50IHRvIGRlbGV0ZSB0aGUgbGluaz8NClRoaXMgYWN0aW9uIGNhbm5vdCBiZSB1bmRvbmUu</PHRASE>
+			<PHRASE Label="lu_description_MyLinks" Module="In-Link" Type="0">TWFuYWdlIHlvdXIgTGlua3MgaGVyZQ==</PHRASE>
+			<PHRASE Label="lu_EnhancementSetToRenewOn" Module="In-Link" Type="0">RW5oYW5jZW1lbnQgc2V0IHRvIHJlbmV3IGF1dG9tYXRpY2FsbHkgb24=</PHRASE>
+			<PHRASE Label="lu_ExtendEnhancementConfirmation" Module="In-Link" Type="0">QXJlIHlvdSBzdXJlIHlvdSB3YW50IHRvIGV4dGVuZCB5b3VyIGxpbmsgZW5oYW5jZW1lbnQ/</PHRASE>
+			<PHRASE Label="lu_fld_LinkAddress" Module="In-Link" Type="0">QWRkcmVzcw==</PHRASE>
+			<PHRASE Label="lu_fld_LinkCity" Module="In-Link" Type="0">Q2l0eQ==</PHRASE>
+			<PHRASE Label="lu_fld_LinkCountry" Module="In-Link" Type="0">Q291bnRyeQ==</PHRASE>
+			<PHRASE Label="lu_fld_LinkPhone" Module="In-Link" Type="0">UGhvbmU=</PHRASE>
+			<PHRASE Label="lu_fld_LinkState" Module="In-Link" Type="0">U3RhdGU=</PHRASE>
+			<PHRASE Label="lu_fld_LinkZipCode" Module="In-Link" Type="0">WmlwIGNvZGU=</PHRASE>
+			<PHRASE Label="lu_fld_listingexpirationdate" Module="In-Link" Type="0">RW5oYW5jZW1lbnQgZXhwaXJlcyBvbg==</PHRASE>
+			<PHRASE Label="lu_fld_ListingType" Module="In-Link" Type="0">TGlzdGluZyBUeXBl</PHRASE>
+			<PHRASE Label="lu_fld_listingtypename" Module="In-Link" Type="0">TGlzdGluZyBUeXBl</PHRASE>
+			<PHRASE Label="lu_fld_Url" Module="In-Link" Type="0">VXJs</PHRASE>
+			<PHRASE Label="lu_free_listing" Module="In-Link" Type="0">RnJlZSBMaXN0aW5n</PHRASE>
+			<PHRASE Label="lu_GoogleMaps" Module="In-Link" Type="0">R29vZ2xlIE1hcHM=</PHRASE>
+			<PHRASE Label="lu_header_Thankyou" Module="In-Link" Type="0">VGhhbmsgeW91IQ==</PHRASE>
+			<PHRASE Label="lu_LinkNameAZ" Module="In-Link" Type="0">TGluayBOYW1lIEEgdG8gWg==</PHRASE>
+			<PHRASE Label="lu_LinkNameZA" Module="In-Link" Type="0">TGluayBOYW1lIFogdG8gQQ==</PHRASE>
+			<PHRASE Label="lu_LinksUpdated" Module="In-Link" Type="0">TGlua3MgdXBkYXRlZA==</PHRASE>
+			<PHRASE Label="lu_Link_ContactFormThankyouText" Module="In-Link" Type="0">WW91ciBpbmZvcm1hdGlvbiByZXF1ZXN0IGhhcyBiZWVuIHNlbnQgb3V0LiA8YnIvPjxici8+WW91J2xsIGJlIGNvbnRhY3RlZCBzaG9ydGx5IQ==</PHRASE>
+			<PHRASE Label="lu_Link_RequestInformation" Module="In-Link" Type="0">UmVxdWVzdCBJbmZvcm1hdGlvbg==</PHRASE>
+			<PHRASE Label="lu_MyLinks" Module="In-Link" Type="0">TXkgTGlua3M=</PHRASE>
+			<PHRASE Label="lu_noenhancments" Module="In-Link" Type="0">Tm8gTGluayBFbmhhbmNtZW50cyBjdXJyZW50bHkgYXZhaWxhYmxl</PHRASE>
+			<PHRASE Label="lu_NoLinks" Module="In-Link" Type="0">Tm8gTGlua3M=</PHRASE>
+			<PHRASE Label="lu_notice_SubscriptionAddToCart" Module="In-Link" Type="0">QWZ0ZXIgc2VsZWN0aW5nIGxpc3RpbmcgdHlwZSBpdCB3aWxsIGJlIGFkZGVkIHRvIHlvdXIgc2hvcHBpbmcgY2FydC4gT25jZSB5b3UgY29tcGxldGUgY2hlY2tvdXQgYW5kIHlvdXIgb3JkZXIgaXMgYXBwcm92ZWQgeW91ciBsaW5rIHN0YXR1cyB3aWxsIGJlIHVwZ3JhZGVkLiBZb3Ugd2lsbCBiZSBub3RpZmllZCBieSBlbWFpbCB3aGVuIHRoaXMgaXMgZG9uZS4=</PHRASE>
+			<PHRASE Label="lu_PendingEnhancement" Module="In-Link" Type="0">cGVuZGluZw==</PHRASE>
+			<PHRASE Label="lu_section_LinkDetails" Module="In-Link" Type="0">TGluayBEZXRhaWxz</PHRASE>
+			<PHRASE Label="lu_SortLinksBy" Module="In-Link" Type="0">U29ydCBMaW5rcyBCeQ==</PHRASE>
+			<PHRASE Label="lu_SuggestLink" Module="In-Link" Type="0">U3VnZ2VzdCBMaW5r</PHRASE>
+			<PHRASE Label="lu_text_addlinkreviewconfirm" Module="In-Link" Type="0">VGhhbmsgeW91IGZvciBjb21tZW50aW5nIG9uIHRoaXMgbGluay4=</PHRASE>
+			<PHRASE Label="lu_text_addlinkreviewpendingconfirm" Module="In-Link" Type="0">VGhhbmsgeW91IGZvciBzdWJtaXR0aW5nIHlvdXIgY29tbWVudCBmb3IgdGhpcyBsaW5rIC0gaXQncyBwZW5kaW5nIGZvciBhZG1pbmlzdHJhdGl2ZSBhcHByb3ZhbC4=</PHRASE>
+			<PHRASE Label="lu_text_enhancementconfirmation" Module="In-Link" Type="0">WW91ciBsaW5rIGhhcyBiZWVuIGVuaGFuY2VkLg==</PHRASE>
+			<PHRASE Label="lu_text_ModifyLinkConfirm" Module="In-Link" Type="0">WW91ciBMaW5rIGhhcyBiZWVuIG1vZGlmaWVk</PHRASE>
+			<PHRASE Label="lu_text_modifylinkpendingconfirm" Module="In-Link" Type="0">VGhhbmsgeW91IGZvciB1cGRhdGluZyB5b3VyIGxpbmsuIFlvdXIgbW9kaWZpY2F0aW9ucyBhcmUgd2FpdGluZyBmb3IgYWRtaW5pc3RyYXRpdmUgYXBwcm92YWwu</PHRASE>
+			<PHRASE Label="lu_text_MyLinks" Module="In-Link" Type="0">TXkgTGlua3M=</PHRASE>
+			<PHRASE Label="lu_text_nolinkreviewpermission" Module="In-Link" Type="0">Tm8gcGVybWlzc2lvbnMgdG8gY29tbWVudCBvbiB0aGlzIGxpbmsu</PHRASE>
+			<PHRASE Label="lu_text_nomodifylinkpermission" Module="In-Link" Type="0">Tm8gcGVybWlzc2lvbnMgdG8gcGVyZm9ybSBtb2RpZnkgdGhlIGxpbms=</PHRASE>
+			<PHRASE Label="lu_text_nosuggestlinkpermission" Module="In-Link" Type="0">Tm8gcGVybWlzc2lvbnMgdG8gc3VnZ2VzdCBsaW5rIGludG8gdGhlIGN1cnJlbnQgY2F0ZWdvcnk=</PHRASE>
+			<PHRASE Label="lu_text_suggestlinkconfirm" Module="In-Link" Type="0">VGhhbmsgeW91IGZvciB1cGRhdGluZyB5b3VyIGxpbmsu</PHRASE>
+			<PHRASE Label="lu_text_suggestlinkpendingconfirm" Module="In-Link" Type="0">VGhhbmsgeW91IGZvciBzdWJtaXR0aW5nIHlvdXIgbGluay4gQ3VycmVudGx5IGl0J3Mgd2FpdGluZyBmb3IgYWRtaW5pc3RyYXRpdmUgYXBwcm92YWw=</PHRASE>
+			<PHRASE Label="lu_title_addlinkreviewconfirm" Module="In-Link" Type="0">TGluayBDb21tZW50IEFkZGVk</PHRASE>
+			<PHRASE Label="lu_title_addlinkreviewpendingconfirm" Module="In-Link" Type="0">TGluayBDb21tZW50IFBlbmRpbmc=</PHRASE>
+			<PHRASE Label="lu_title_confirmcancelenhancement" Module="In-Link" Type="0">RW5oYW5jZW1lbnQgQ2FuY2VsbGF0aW9uIENvbmZpcm1hdGlvbg==</PHRASE>
+			<PHRASE Label="lu_title_confirmextendenhancement" Module="In-Link" Type="0">RW5oYW5jZW1lbnQgRXh0ZW50aW9uIENvbmZpcm1hdGlvbg==</PHRASE>
+			<PHRASE Label="lu_title_EnhanceLink" Module="In-Link" Type="0">RW5oYW5jZSBMaW5r</PHRASE>
+			<PHRASE Label="lu_title_EnhancementDetails" Module="In-Link" Type="0">RW5oYW5jZW1lbnQgRGV0YWlscw==</PHRASE>
+			<PHRASE Label="lu_title_extendcancelenhancement" Module="In-Link" Type="0">RXh0ZW5kIC8gQ2FuY2VsIExpbmsgRW5oYW5jZW1lbnQ=</PHRASE>
+			<PHRASE Label="lu_title_favoritelinks" Module="In-Link" Type="0">RmF2b3JpdGUgTGlua3M=</PHRASE>
+			<PHRASE Label="lu_title_HotLinks" Module="In-Link" Type="0">SG90IExpbmtz</PHRASE>
+			<PHRASE Label="lu_title_LinkDetails" Module="In-Link" Type="0">TGluayBEZXRhaWxz</PHRASE>
+			<PHRASE Label="lu_title_Links" Module="In-Link" Type="0">TGlua3M=</PHRASE>
+			<PHRASE Label="lu_title_linksearchresults" Module="In-Link" Type="0">TGlua3MgU2VhcmNoIFJlc3VsdHM=</PHRASE>
+			<PHRASE Label="lu_title_ModifyLink" Module="In-Link" Type="0">TW9kaWZ5IExpbms=</PHRASE>
+			<PHRASE Label="lu_title_modifylinkconfirm" Module="In-Link" Type="0">TGluayBNb2RpZmllZA==</PHRASE>
+			<PHRASE Label="lu_title_modifylinkpendingconfirm" Module="In-Link" Type="0">UGVuZGluZyBMaW5rIENvbmZpcm1hdGlvbg==</PHRASE>
+			<PHRASE Label="lu_title_MyLinks" Module="In-Link" Type="0">TXkgTGlua3M=</PHRASE>
+			<PHRASE Label="lu_title_NewLinks" Module="In-Link" Type="0">TmV3IExpbmtz</PHRASE>
+			<PHRASE Label="lu_title_PickLinks" Module="In-Link" Type="0">RWRpdG9yJ3MgUGljayBMaW5rcw==</PHRASE>
+			<PHRASE Label="lu_title_poplinks" Module="In-Link" Type="0">UG9wdWxhciBMaW5rcw==</PHRASE>
+			<PHRASE Label="lu_title_ReviewThisLink" Module="In-Link" Type="0">Q29tbWVudCB0aGlzIExpbms=</PHRASE>
+			<PHRASE Label="lu_title_SuggestLink" Module="In-Link" Type="0">U3VnZ2VzdCBMaW5r</PHRASE>
+			<PHRASE Label="lu_title_suggestlinkconfirm" Module="In-Link" Type="0">QWRkIExpbmsgQ29uZmlybWF0aW9u</PHRASE>
+			<PHRASE Label="lu_title_suggestlinkpendingconfirm" Module="In-Link" Type="0">UGVuZGluZyBMaW5rIENvbmZpcm1hdGlvbg==</PHRASE>
+			<PHRASE Label="lu_ToCancelEnhancement" Module="In-Link" Type="0">dG8gY2FuY2VsIGxpbmsgZW5oYW5jZW1lbnQ=</PHRASE>
+			<PHRASE Label="lu_TotalLinks" Module="In-Link" Type="0">VG90YWwgTGlua3M=</PHRASE>
+		</PHRASES>
+	</LANGUAGE>
+</LANGUAGES>
\ No newline at end of file
Index: themes/advanced/in-link/_install/theme.xml
===================================================================
--- themes/advanced/in-link/_install/theme.xml	(revision 0)
+++ themes/advanced/in-link/_install/theme.xml	(revision 0)
@@ -0,0 +1,4 @@
+<theme>
+	<section_design>in-link/designs/section</section_design>
+	<item_design>in-link/links/link_detail</item_design>
+</theme>
\ No newline at end of file
Index: themes/advanced/in-link/_install/install_data.sql
===================================================================
--- themes/advanced/in-link/_install/install_data.sql	(revision 0)
+++ themes/advanced/in-link/_install/install_data.sql	(revision 0)
@@ -0,0 +1 @@
+UPDATE Category SET l1_Name = 'Directory (TD)' WHERE l1_Name = 'Directory';
\ No newline at end of file
Index: themes/advanced/in-link/module_info.xml
===================================================================
--- themes/advanced/in-link/module_info.xml	(revision 0)
+++ themes/advanced/in-link/module_info.xml	(revision 0)
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="utf-8"?>
+<module_info>
+	<section_design_template>in-link/designs/section</section_design_template>
+	<item_design_template>in-link/designs/detail</item_design_template>
+</module_info>
\ No newline at end of file
Index: themes/advanced/in-link/elements/.smsignore
===================================================================
--- themes/advanced/in-link/elements/.smsignore	(revision 0)
+++ themes/advanced/in-link/elements/.smsignore	(revision 0)
@@ -0,0 +1 @@
+.*\.xml\.tpl
\ No newline at end of file
Index: themes/advanced/in-link/elements/visit_link.elm.tpl
===================================================================
--- themes/advanced/in-link/elements/visit_link.elm.tpl	(revision 0)
+++ themes/advanced/in-link/elements/visit_link.elm.tpl	(revision 0)
@@ -0,0 +1 @@
+<inp2:l_FollowLocation field="Url"/>
\ No newline at end of file
Index: themes/advanced/in-link/elements/sorting.elm.tpl
===================================================================
--- themes/advanced/in-link/elements/sorting.elm.tpl	(revision 0)
+++ themes/advanced/in-link/elements/sorting.elm.tpl	(revision 0)
@@ -0,0 +1,42 @@
+<table class="fullwidth">
+	<tr>
+		<td class="category-statistics">
+			<inp2:m_phrase name="lu_TotalLinks"/>: <inp2:l_ItemCount/>  &nbsp;|&nbsp;  <inp2:m_phrase name="lu_AddedToday"/>: <inp2:l_ItemCount today="1"/>
+		</td>
+		<td class="category-statistics" align="right">
+			<inp2:m_phrase name="lu_LinksUpdated"/>: <inp2:l_LastUpdated format="_regional_DateFormat"/>
+		</td>
+	</tr>
+</table>
+<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="4" alt="" /><br />
+<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/grey_pix.gif" width="100%" height="1" alt="" /><br />
+<br />
+
+<table class="fullwidth">
+	<tr>
+		<td align="right">
+			<form method="post" action="<inp2:m_FormAction />">
+				<inp2:m_Phrase label="lu_SortLinksBy"/>:
+
+				<select class="input-select" name="<inp2:l_CombinedSortingDropDownName/>">
+					<option value="Name|asc" <inp2:l_SortingSelected sorting="Name|asc" selected='selected="selected"'/>> <inp2:m_Phrase label="lu_LinkNameAZ"/></option>
+					<option value="Name|desc" <inp2:l_SortingSelected sorting="Name|desc" selected='selected="selected"'/>> <inp2:m_Phrase label="lu_LinkNameZA"/></option>
+					<option value="CreatedOn|asc" <inp2:l_SortingSelected sorting="CreatedOn|asc" selected='selected="selected"'/>> <inp2:m_Phrase label="lu_RecentToOld"/></option>
+					<option value="CreatedOn|desc" <inp2:l_SortingSelected sorting="CreatedOn|desc" selected='selected="selected"'/>> <inp2:m_Phrase label="lu_OldToRecent"/></option>
+					<option value="Description|asc" <inp2:l_SortingSelected sorting="Description|asc" selected='selected="selected"'/>> <inp2:m_Phrase label="lu_DescriptionAZ"/></option>
+					<option value="Description|desc" <inp2:l_SortingSelected sorting="Description|desc" selected='selected="selected"'/>> <inp2:m_Phrase label="lu_DescriptionZA"/></option>
+					<option value="CachedRating|asc" <inp2:l_SortingSelected sorting="CachedRating|asc" selected='selected="selected"'/>> <inp2:m_Phrase label="lu_RatingLH"/></option>
+					<option value="CachedRating|desc" <inp2:l_SortingSelected sorting="CachedRating|desc" selected='selected="selected"'/>> <inp2:m_Phrase label="lu_RatingHL"/></option>
+					<option value="CachedVotesQty|asc" <inp2:l_SortingSelected sorting="CachedVotesQty|asc" selected='selected="selected"'/>> <inp2:m_Phrase label="lu_VotesLH"/></option>
+					<option value="CachedVotesQty|desc" <inp2:l_SortingSelected sorting="CachedVotesQty|desc" selected='selected="selected"'/>> <inp2:m_Phrase label="lu_VotesHL"/></option>
+					<option value="Hits|asc" <inp2:l_SortingSelected sorting="Hits|asc" selected='selected="selected"'/>> <inp2:m_Phrase label="lu_HitsLH"/></option>
+					<option value="Hits|desc" <inp2:l_SortingSelected sorting="Hits|desc" selected='selected="selected"'/>> <inp2:m_Phrase label="lu_HitsHL"/></option>
+				</select>
+
+				<input type="submit" class="button" name="<inp2:l_SubmitName event="OnSetSortingDirect"/>" value="<inp2:m_Phrase label="lu_btn_Sort" no_editing="1"/>" />
+			</form>
+		</td>
+	</tr>
+</table>
+
+<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="10" alt="" /><br />
\ No newline at end of file
Index: themes/advanced/in-link/elements/html_head.elm.tpl
===================================================================
--- themes/advanced/in-link/elements/html_head.elm.tpl	(revision 0)
+++ themes/advanced/in-link/elements/html_head.elm.tpl	(revision 0)
@@ -0,0 +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>-->
+
+<!--## 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>
+	</inp2:m_if>
+</inp2:m_if>
+<!--## GOOGLE MAPS API INTEGRATION ##-->
Index: themes/advanced/in-link/elements/links.elm.tpl
===================================================================
--- themes/advanced/in-link/elements/links.elm.tpl	(revision 0)
+++ themes/advanced/in-link/elements/links.elm.tpl	(revision 0)
@@ -0,0 +1,244 @@
+<!--## DESIGNS OF LINK ELEMENTS DESCRIBED IN THIS TEMPLATE ##-->
+
+<!--## LINK ELEMENT ##-->
+<inp2:m_DefineElement name="link_element">
+	<td valign="top">
+		<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="1" alt="" /><br /></div>
+		<table>
+			<tr>
+				<td class="picture-padding">
+					<inp2:m_if check="m_Param" name="show_relevance">
+						<inp2:RelevanceIndicator on_color="Red" off_color="White" relevance_normal_render_as="search_relevance_normal" relevance_full_render_as="search_relevance_full" /><br/>
+					</inp2:m_if>
+					<a href="<inp2:LinkLink template="__default__"/>" title="<inp2:Field name="Name" html_escape="1"/>"><inp2:Image render_as="image_element" Primary="1" DefaultImage="platform/img/no_picture.gif" MaxWidth="thumbnail" DefaultWidth="150"/></a>
+				</td>
+				<td class="text-padding" valign="top">
+					<a href="<inp2:LinkLink template="__default__"/>" class="text-title"><inp2:Field name="Name"/></a> <!--(Owner: <inp2:Field name="CreatedById"/>)-->
+
+					<inp2:m_if check="Field" name="IsHot"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_hot.gif" alt="<inp2:m_Phrase name="lu_Hot" no_editing="1"/>"/></inp2:m_if>
+					<inp2:m_if check="Field" name="IsNew"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_new.gif" alt="<inp2:m_Phrase name="lu_New" no_editing="1"/>"/></inp2:m_if>
+					<inp2:m_if check="Field" name="IsPop"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_popular.gif" alt="<inp2:m_Phrase name="lu_Pop" no_editing="1"/>"/></inp2:m_if>
+					<inp2:m_if check="IsEditorsPick"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_pick.gif" alt="<inp2:m_Phrase name="lu_Pick" no_editing="1"/>"/></inp2:m_if>
+					<inp2:m_if check="IsFavorite"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_favorite.gif" alt="<inp2:m_Phrase name="lu_Favorite" no_editing="1"/>"/></inp2:m_if>
+					<inp2:VotesIndicator render_as="rating_element"/>
+
+					<br />
+					<span class="item-statistics">
+						<inp2:m_phrase name="lu_Added"/>: <inp2:Field name="CreatedOn" format="_regional_DateFormat"/>,
+						<inp2:m_phrase name="lu_Hits"/>: <inp2:Field name="Hits"/>,
+						<inp2:m_phrase name="lu_Reviews"/>: <inp2:Field name="CachedReviewsQty"/>,
+						<inp2:m_phrase name="lu_Rating"/>: <inp2:Field name="CachedRating"/>,
+						<inp2:m_phrase name="lu_Votes"/>: <inp2:Field name="CachedVotesQty"/>
+					</span>
+
+					<inp2:m_if check="LastVisited">
+						<inp2:LastVisited formatted="1" display_time="1" />
+					</inp2:m_if>
+
+					<br/>
+					<inp2:m_if check="IsFavorite">
+						<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/ic_removefromfav.gif" width="11" height="10" alt="" /> <a class="item-action" href="<inp2:FavoriteToggleLink/>"><inp2:m_phrase name="lu_btn_RemoveFromFavorites"/></a>
+					<inp2:m_else/>
+						<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/ic_addtofav.gif" width="11" height="10" alt="" /> <a class="item-action" href="<inp2:FavoriteToggleLink template="platform/my_account/my_favorites"/>"><inp2:m_phrase name="lu_btn_AddToFavorites"/></a>
+					</inp2:m_if>
+
+					 &nbsp;|&nbsp;
+
+					<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/reviews.gif" width="14" height="10" alt="" /> <a class="item-action" href="<inp2:LinkLink template="in-link/links/add_review"/>"><inp2:m_phrase name="lu_btn_AddReview"/></a>
+
+					<br /><br />
+
+					<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="4" alt="" /><br />
+
+					<inp2:Field name="Description" nl2br="1"/>
+
+				</td>
+			</tr>
+		</table>
+	</td>
+</inp2:m_DefineElement>
+<!--## /LINK ELEMENT ##-->
+
+<!--## RELATED LINK ELEMENT ##-->
+<inp2:m_DefineElement name="related_link_element">
+	<tr>
+		<td width="25"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/link_icon.gif" width="16" height="23" alt="" /></td>
+		<td><a href="<inp2:LinkLink template="__default__"/>" class="text-title"><inp2:Field name="Name"/></a></td>
+	</tr>
+</inp2:m_DefineElement>
+<!--## //RELATED LINK ELEMENT ##-->
+
+<!--## MY LINK ELEMENT ##-->
+<inp2:m_DefineElement name="my_link_element">
+	<td valign="top">
+		<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="1" alt="" /><br /></div>
+		<table class="fullwidth">
+			<tr>
+				<td class="picture-padding">
+					<a href="<inp2:LinkLink template="__default__"/>" title="<inp2:Field name="Name" html_escape="1"/>"><inp2:Image render_as="image_element" Primary="1" DefaultImage="platform/img/no_picture.gif" MaxWidth="thumbnail"/></a><br />
+				</td>
+				<td class="text-padding" valign="top">
+					<a href="<inp2:LinkLink template="__default__"/>"><inp2:Field name="Name"/></a> <inp2:m_if check="IsPending"><span class="pending-item"><strong><inp2:m_phrase name="lu_PendingItem"/> (OrgId: <inp2:Field name="OrgId"/>)</strong></span></inp2:m_if>
+
+					<inp2:m_if check="Field" name="IsHot"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_hot.gif" alt="<inp2:m_Phrase name="lu_Hot" no_editing="1"/>"/></inp2:m_if>
+					<inp2:m_if check="Field" name="IsNew"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_new.gif" alt="<inp2:m_Phrase name="lu_New" no_editing="1"/>"/></inp2:m_if>
+					<inp2:m_if check="Field" name="IsPop"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_popular.gif" alt="<inp2:m_Phrase name="lu_Pop" no_editing="1"/>"/></inp2:m_if>
+					<inp2:m_if check="IsEditorsPick"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_pick.gif" alt="<inp2:m_Phrase name="lu_Pick" no_editing="1"/>"/></inp2:m_if>
+					<inp2:m_if check="IsFavorite"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_favorite.gif" alt="<inp2:m_Phrase name="lu_Favorite" no_editing="1"/>"/></inp2:m_if>
+					<inp2:VotesIndicator render_as="rating_element"/>
+
+					<br />
+					<span class="item-statistics">
+						<inp2:m_phrase name="lu_Added"/>: <inp2:Field name="CreatedOn" format="_regional_DateFormat"/>,
+						<inp2:m_phrase name="lu_Hits"/>: <inp2:Field name="Hits"/>,
+						<inp2:m_phrase name="lu_Reviews"/>: <inp2:Field name="CachedReviewsQty"/>,
+						<inp2:m_phrase name="lu_Rating"/>: <inp2:Field name="CachedRating"/>,
+						<inp2:m_phrase name="lu_Votes"/>: <inp2:Field name="CachedVotesQty"/>
+					</span><br />
+
+					<inp2:m_phrase name="lu_fld_PrimaryCategory"/>: <strong><inp2:CategoryPath separator="&gt;" render_as="category_path_element"/></strong><br />
+
+					<!-- inp2:Field name="Description" nl2br="1"/-->
+
+					<br /><br />
+					<table>
+						<tr>
+							<td>
+								<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/ic_details.gif" width="14" height="13" alt="" /> <a class="item-action" href="<inp2:LinkLink template="__default__"/>"><inp2:m_phrase name="lu_btn_Details"/></a>
+							</td>
+
+							<inp2:m_if check="HasPermission" permissions="LINK.MODIFY|LINK.MODIFY.PENDING|LINK.OWNER.MODIFY|LINK.OWNER.MODIFY.PENDING">
+							<td>
+								 &nbsp;|&nbsp; <img src="<inp2:m_TemplatesBase module="In-Portal"/>img/ic_edit.gif" width="11" height="10" alt="" /> <a class="item-action" href="<inp2:LinkLink template="in-link/links/modify_link"/>"><inp2:m_phrase name="lu_btn_Modify"/></a>
+							</td>
+							</inp2:m_if>
+
+							<inp2:m_if check="m_ConfigEquals" option="Link_EnhancedLinks" value="1">
+								<td>
+									&nbsp;|&nbsp; <img src="<inp2:m_TemplatesBase module="In-Portal"/>img/ic_edit.gif" width="11" height="10" alt="" />
+									<inp2:m_if check="LinkIsEnhanced">
+										  <a class="item-action" href="<inp2:LinkLink template="in-link/links/enhancements/extend_enhancement"/>"><inp2:m_phrase name="lu_btn_ExtendCancelEnhancement"/></a>
+									<inp2:m_else/>
+										<a class="item-action" href="<inp2:LinkLink template="in-link/links/enhancements/enhance_link"/>"><inp2:m_phrase name="lu_btn_Enhance"/></a>
+									</inp2:m_if>
+								</td>
+							</inp2:m_if>
+
+							<inp2:m_if check="HasPermission" permissions="LINK.DELETE|LINK.OWNER.DELETE">
+							<td>
+								 &nbsp;|&nbsp; <img src="<inp2:m_TemplatesBase module="In-Portal"/>img/ic_delete.gif" width="11" height="10" alt="" /> <a class="item-action" href="<inp2:LinkLink l_event="OnDelete"/>" onclick="return confirm('<inp2:m_phrase name="lu_DeleteLinkConfirm" js_escape="1"/>');"><inp2:m_phrase name="lu_btn_Delete"/></a>
+							</td>
+							</inp2:m_if>
+						</tr>
+					</table>
+				</td>
+			</tr>
+		</table>
+	</td>
+</inp2:m_DefineElement>
+<!--## /MY LINK ELEMENT ##-->
+
+<!--## SHORT LINK ELEMENT ##-->
+<inp2:m_DefineElement name="link_short_element">
+	<td>
+		<a href="<inp2:LinkLink template="__default__"/>"><inp2:Field name="Name"/></a>
+	</td>
+</inp2:m_DefineElement>
+<!--## /SHORT LINK ELEMENT ##-->
+
+<!--## NO LINKS ELEMENT ##-->
+<inp2:m_DefineElement name="no_links">
+	<inp2:m_phrase name="lu_NoLinks"/>
+</inp2:m_DefineElement>
+<!--## /NO LINKS ELEMENT ##-->
+
+<!--## FEATURED LINK ELEMENT ##-->
+<inp2:m_DefineElement name="link_element_featured">
+	<td valign="top">
+		<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="1" alt="" /><br /></div>
+		<table>
+			<tr>
+				<td class="picture-padding">
+					<inp2:m_if check="m_Param" name="show_relevance">
+						<inp2:RelevanceIndicator on_color="Red" off_color="White" relevance_normal_render_as="search_relevance_normal" relevance_full_render_as="search_relevance_full" /><br/>
+					</inp2:m_if>
+					<a href="<inp2:LinkLink template="__default__"/>" title="<inp2:Field name="Name" html_escape="1"/>"><inp2:Image render_as="image_element" Primary="1" DefaultImage="platform/img/no_picture.gif" MaxWidth="thumbnail"/></a>
+				</td>
+				<td class="text-padding" valign="top">
+					<a href="<inp2:LinkLink template="__default__"/>" class="text-title"><inp2:Field name="Name"/></a>
+
+					<inp2:m_if check="Field" name="IsHot"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_hot.gif" alt="<inp2:m_Phrase name="lu_Hot" no_editing="1"/>"/></inp2:m_if>
+					<inp2:m_if check="Field" name="IsNew"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_new.gif" alt="<inp2:m_Phrase name="lu_New" no_editing="1"/>"/></inp2:m_if>
+					<inp2:m_if check="Field" name="IsPop"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_popular.gif" alt="<inp2:m_Phrase name="lu_Pop" no_editing="1"/>"/></inp2:m_if>
+					<inp2:m_if check="IsEditorsPick"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_pick.gif" alt="<inp2:m_Phrase name="lu_Pick" no_editing="1"/>"/></inp2:m_if>
+					<inp2:m_if check="IsFavorite"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_favorite.gif" alt="<inp2:m_Phrase name="lu_Favorite" no_editing="1"/>"/></inp2:m_if>
+					<inp2:VotesIndicator render_as="rating_element"/>
+
+					<br />
+					<span class="item-statistics">
+						<inp2:m_phrase name="lu_Added"/>: <inp2:Field name="CreatedOn" format="_regional_DateFormat"/><br/>
+						<inp2:m_phrase name="lu_Hits"/>: <inp2:Field name="Hits"/>,
+						<inp2:m_phrase name="lu_Reviews"/>: <inp2:Field name="CachedReviewsQty"/>,
+						<inp2:m_phrase name="lu_Rating"/>: <inp2:Field name="CachedRating"/>,
+						<inp2:m_phrase name="lu_Votes"/>: <inp2:Field name="CachedVotesQty"/>
+					</span><br />
+				</td>
+			</tr>
+		</table>
+	</td>
+</inp2:m_DefineElement>
+<!--## /FEATURED LINK ELEMENT ##-->
+
+<!--## SEARCH LINK ELEMENT ##-->
+<inp2:m_DefineElement name="link_element_search">
+	<td valign="top">
+		<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="1" alt="" /><br /></div>
+		<table>
+			<tr>
+				<td class="picture-padding">
+					<inp2:m_if check="m_Param" name="show_relevance">
+						<inp2:RelevanceIndicator on_color="Red" off_color="White" relevance_normal_render_as="search_relevance_normal" relevance_full_render_as="search_relevance_full" /><br/>
+					</inp2:m_if>
+					<a href="<inp2:LinkLink template="__default__"/>" title="<inp2:Field name="Name" html_escape="1"/>"><inp2:Image render_as="image_element" Primary="1" DefaultImage="platform/img/no_picture.gif" MaxWidth="thumbnail" DefaultWidth="150"/></a>
+				</td>
+				<td class="text-padding" valign="top">
+					<a href="<inp2:LinkLink template="__default__"/>" class="text-title"><inp2:Field name="Name"/></a> <!--(Owner: <inp2:Field name="CreatedById"/>)-->
+
+					<inp2:m_if check="Field" name="IsHot"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_hot.gif" alt="<inp2:m_Phrase name="lu_Hot" no_editing="1"/>"/></inp2:m_if>
+					<inp2:m_if check="Field" name="IsNew"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_new.gif" alt="<inp2:m_Phrase name="lu_New" no_editing="1"/>"/></inp2:m_if>
+					<inp2:m_if check="Field" name="IsPop"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_popular.gif" alt="<inp2:m_Phrase name="lu_Pop" no_editing="1"/>"/></inp2:m_if>
+					<inp2:m_if check="IsEditorsPick"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_pick.gif" alt="<inp2:m_Phrase name="lu_Pick" no_editing="1"/>"/></inp2:m_if>
+					<inp2:m_if check="IsFavorite"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_favorite.gif" alt="<inp2:m_Phrase name="lu_Favorite" no_editing="1"/>"/></inp2:m_if>
+					<inp2:VotesIndicator render_as="rating_element"/>
+
+					<br />
+					<span class="item-statistics">
+						<inp2:m_phrase name="lu_Added"/>: <inp2:Field name="CreatedOn" format="_regional_DateFormat"/>,
+						<inp2:m_phrase name="lu_Hits"/>: <inp2:Field name="Hits"/>,
+						<inp2:m_phrase name="lu_Reviews"/>: <inp2:Field name="CachedReviewsQty"/>,
+						<inp2:m_phrase name="lu_Rating"/>: <inp2:Field name="CachedRating"/>,
+						<inp2:m_phrase name="lu_Votes"/>: <inp2:Field name="CachedVotesQty"/>
+					</span>
+
+					<inp2:m_if check="LastVisited">
+						<inp2:LastVisited formatted="1" display_time="1" />
+					</inp2:m_if>
+
+					<br/>
+					<inp2:m_if check="IsFavorite">
+						<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/ic_removefromfav.gif" width="11" height="10" alt="" /> <a class="item-action" href="<inp2:FavoriteToggleLink/>"><inp2:m_phrase name="lu_btn_RemoveFromFavorites"/></a>
+					<inp2:m_else/>
+						<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/ic_addtofav.gif" width="11" height="10" alt="" /> <a class="item-action" href="<inp2:FavoriteToggleLink template="platform/my_account/my_favorites"/>"><inp2:m_phrase name="lu_btn_AddToFavorites"/></a>
+					</inp2:m_if>
+
+					 &nbsp;|&nbsp;
+
+					<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/reviews.gif" width="14" height="10" alt="" /> <a class="item-action" href="<inp2:LinkLink template="in-link/links/add_review"/>"><inp2:m_phrase name="lu_btn_AddReview"/></a>
+
+
+				</td>
+			</tr>
+		</table>
+	</td>
+</inp2:m_DefineElement>
+<!--## / SEARCH LINK ELEMENT ##-->
\ No newline at end of file
Index: themes/advanced/in-link/elements/enhancements.elm.tpl
===================================================================
--- themes/advanced/in-link/elements/enhancements.elm.tpl	(revision 0)
+++ themes/advanced/in-link/elements/enhancements.elm.tpl	(revision 0)
@@ -0,0 +1,51 @@
+<inp2:m_DefineElement name="no_enhancements">
+	<inp2:m_Phrase name="lu_NoEnhancments"/>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="listing_type_element">
+	<tr>
+		<td colspan="<inp2:m_if check="m_ModuleEnabled" module="In-Commerce">4<inp2:m_else/>3</inp2:m_if>">
+			<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="1" alt="" /></div>
+		</td>
+	</tr>
+
+	<tr class="listing-row">
+		<td width="20">
+			<input type="radio" name="<inp2:l_InputName field="ListingTypeId" />" value="<inp2:Field name="ListingTypeId"/>" <inp2:m_if check="IsDefault">checked="checked"</inp2:m_if>/>
+		</td>
+		<td width="250">
+			<a href="<inp2:l_ListingTypeDetailsLink template="in-link/links/enhancements/enhancement_details"/>" onclick="return open_window(this.href, 'listing_details', 545, 420);"><inp2:Field name="Name" /></a>
+		</td>
+
+		<inp2:m_if check="m_ModuleEnabled" module="In-Commerce">
+			<td width="100">
+				<inp2:Field name="Duration" /> <inp2:Field name="DurationType" />
+			</td>
+
+			<td>
+				<inp2:Field name="Price" currency="selected"/>
+			</td>
+		<inp2:m_else/>
+			<td>
+				<inp2:Field name="Duration" /> <inp2:Field name="DurationType" />
+			</td>
+		</inp2:m_if>
+	</tr>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="suggest_listing_type_element">
+	<tr>
+		<td>
+			<input type="radio" tabindex="<inp2:m_get param="tab_index"/>" <inp2:m_param name="checked"/> name="<inp2:{$prefix}_InputName field="$field"/>" id="<inp2:{$prefix}_InputName field="$field"/>_<inp2:m_param name="key"/>" value="<inp2:m_param name="key"/>">
+		</td>
+		<td>
+			<label for="<inp2:{$prefix}_InputName field="$field"/>_<inp2:m_param name="key"/>">
+				<inp2:m_if check="m_Param" name="key">
+					<a href="<inp2:l_ListingTypeDetailsLink template="in-link/links/enhancements/enhancement_details"/>" onclick="return open_window(this.href, 'listing_details', 545, 420);"><inp2:m_param name="option"/></a>
+				<inp2:m_else/>
+					<inp2:m_Phrase name="$option"/>
+				</inp2:m_if>
+			</label>
+		</td>
+	</tr>
+</inp2:m_DefineElement>
\ No newline at end of file
Index: themes/advanced/in-link/elements/content_boxes/my_favorites.elm.tpl
===================================================================
--- themes/advanced/in-link/elements/content_boxes/my_favorites.elm.tpl	(revision 0)
+++ themes/advanced/in-link/elements/content_boxes/my_favorites.elm.tpl	(revision 0)
@@ -0,0 +1,21 @@
+<!-- favorite links -->
+<inp2:m_RenderElement design="content_box" data_exists="1">
+	<inp2:l_InitList list_name="favorite_links" types="favorites" parent_cat_id="0" recursive="1"/>
+
+	<inp2:m_Capture to_var="header">
+		<inp2:m_phrase name="lu_title_FavoriteLinks"/> (<inp2:l_TotalRecords list_name="favorite_links"/>)
+	</inp2:m_Capture>
+
+	<inp2:m_include template="in-link/elements/links.elm"/>
+
+	<table class="fullwidth item-listing table-border">
+		<inp2:l_ListLinks list_name="favorite_links" render_as="link_element" direction="H"/>
+	</table>
+
+	<inp2:m_if check="l_TotalRecords" list_name="favorite_links">
+		<inp2:m_Set favorites_found="1"/>
+	</inp2:m_if>
+
+	<inp2:m_include template="platform/elements/pagination.elm" prefix="l" list_name="favorite_links"/>
+</inp2:m_RenderElement>
+<!-- // favorite links -->
\ No newline at end of file
Index: themes/advanced/in-link/elements/content_boxes/search_results.elm.tpl
===================================================================
--- themes/advanced/in-link/elements/content_boxes/search_results.elm.tpl	(revision 0)
+++ themes/advanced/in-link/elements/content_boxes/search_results.elm.tpl	(revision 0)
@@ -0,0 +1,27 @@
+<inp2:m_RenderElement design="content_box" data_exists="1">
+	<inp2:l_InitList list_name="link_search_results" types="search" parent_cat_id="any" recursive="1" per_page="short_list"/>
+
+	<inp2:m_Capture to_var="header">
+		<inp2:m_phrase name="lu_title_LinkSearchResults"/> (<inp2:l_TotalRecords list_name="link_search_results" />)
+	</inp2:m_Capture>
+
+	<inp2:m_include template="in-link/elements/links.elm"/>
+	<inp2:m_include template="platform/elements/search_results.elm"/>
+
+	<table class="fullwidth item-listing">
+		<inp2:l_ListLinks list_name="link_search_results" render_as="link_element_search" show_relevance="1"/>
+	</table>
+
+	<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="1" alt="" /><br /></div>
+
+	<inp2:m_if check="l_TotalRecords" list_name="link_search_results">
+		<inp2:m_Set items_found="1"/>
+	</inp2:m_if>
+
+	<inp2:m_DefineElement name="more_link">
+		<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="5" alt="" /><br />
+		<a href="<inp2:m_Link template="in-link/links/search_results" />"><inp2:m_Phrase label="lu_More"/>...</a>
+	</inp2:m_DefineElement>
+
+	<inp2:l_MoreLink list_name="link_search_results" render_as="more_link" />
+</inp2:m_RenderElement>
\ No newline at end of file
Index: themes/advanced/in-link/elements/content_boxes/related_items.elm.tpl
===================================================================
--- themes/advanced/in-link/elements/content_boxes/related_items.elm.tpl	(revision 0)
+++ themes/advanced/in-link/elements/content_boxes/related_items.elm.tpl	(revision 0)
@@ -0,0 +1,6 @@
+<!--## RELATED LINKS ##-->
+	<inp2:m_include template="in-link/elements/links.elm"/>	
+	<table>
+		<inp2:l_PrintList2 render_as="related_link_element" types="related" related_to="$related_to" parent_cat_id="any" no_table="1"/>
+	</table>
+<!--## // RELATED LINKS ##-->
\ No newline at end of file
Index: themes/advanced/in-link/elements/content_boxes/home_page_items.elm.tpl
===================================================================
--- themes/advanced/in-link/elements/content_boxes/home_page_items.elm.tpl	(revision 0)
+++ themes/advanced/in-link/elements/content_boxes/home_page_items.elm.tpl	(revision 0)
@@ -0,0 +1,21 @@
+<inp2:m_RenderElement design="content_box">
+	<inp2:l_InitList list_name="pick_links" per_page="2" m_cat_id="0" m_cat_page="1" recursive="1" types="pick" sort_by="random"/>
+
+	<inp2:m_Capture to_var="header">
+		<inp2:m_phrase name="lu_title_PickLinks"/> <!--## (<inp2:l_TotalRecords list_name="pick_links"/>) ##-->
+	</inp2:m_Capture>
+
+	<inp2:m_include template="in-link/elements/links.elm"/>
+
+	<table class="fullwidth item-listing table-border">
+		<inp2:l_ListLinks list_name="pick_links" render_as="link_element_featured" columns="2" direction="H" />
+	</table>
+
+	<inp2:m_DefineElement name="more_link">
+	<div style="text-align: right;">
+		<a href="<inp2:m_Link template="in-link/links/pick_links" />"><inp2:m_Phrase label="lu_More"/>...</a><br />
+	</div>
+	</inp2:m_DefineElement>
+
+	<inp2:l_MoreLink list_name="pick_links" render_as="more_link"/>
+</inp2:m_RenderElement>
\ No newline at end of file
Index: themes/advanced/in-link/elements/side_boxes/new.elm.tpl
===================================================================
--- themes/advanced/in-link/elements/side_boxes/new.elm.tpl	(revision 0)
+++ themes/advanced/in-link/elements/side_boxes/new.elm.tpl	(revision 0)
@@ -0,0 +1,18 @@
+<!-- popular links -->
+<inp2:l_InitList list_name="new_links" types="new" parent_cat_id="0" recursive="1" per_page="short_list"/>
+
+<inp2:m_Capture to_var="header">
+	<a href="<inp2:m_Link template="in-link/links/new_links" m_cat_id="0" m_cat_page="1" />"><inp2:m_phrase name="lu_title_NewLinks"/></a> (<inp2:l_TotalRecords list_name="new_links"/>)
+</inp2:m_Capture>
+
+<inp2:m_include template="in-link/elements/links.elm"/>
+
+<inp2:m_DefineElement name="all_new_links">
+	<a href="<inp2:m_Link template="in-link/links/new_links" m_cat_id="0" m_cat_page="1" />"><inp2:m_Phrase label="lu_More" /></a>
+</inp2:m_DefineElement>
+
+<table width="100%" style="border-width: 0px;">
+	<inp2:l_ListLinks list_name="new_links" render_as="link_short_element" direction="H"/>
+</table>
+<inp2:l_MoreLink list_name="new_links" render_as="all_new_links"/>
+<!-- // popular links -->
\ No newline at end of file
Index: themes/advanced/in-link/elements/side_boxes/pick.elm.tpl
===================================================================
--- themes/advanced/in-link/elements/side_boxes/pick.elm.tpl	(revision 0)
+++ themes/advanced/in-link/elements/side_boxes/pick.elm.tpl	(revision 0)
@@ -0,0 +1,18 @@
+<!-- popular links -->
+<inp2:l_InitList list_name="pick_links" types="pick" parent_cat_id="0" recursive="1" per_page="short_list"/>
+
+<inp2:m_Capture to_var="header">
+	<a href="<inp2:m_Link template="in-link/links/pick_links" m_cat_id="0" m_cat_page="1" />"><inp2:m_phrase name="lu_title_PickLinks"/></a> (<inp2:l_TotalRecords list_name="pick_links"/>)
+</inp2:m_Capture>
+
+<inp2:m_include template="in-link/elements/links.elm"/>
+
+<inp2:m_DefineElement name="all_pick_links">
+	<a href="<inp2:m_Link template="in-link/links/pick_links" m_cat_id="0" m_cat_page="1" />"><inp2:m_Phrase label="lu_More" /></a>
+</inp2:m_DefineElement>
+
+<table width="100%" style="border-width: 0px;">
+	<inp2:l_ListLinks list_name="pick_links" render_as="link_short_element" direction="H"/>
+</table>
+<inp2:l_MoreLink list_name="pick_links" render_as="all_pick_links"/>
+<!-- // popular links -->
\ No newline at end of file
Index: themes/advanced/in-link/elements/side_boxes/pop.elm.tpl
===================================================================
--- themes/advanced/in-link/elements/side_boxes/pop.elm.tpl	(revision 0)
+++ themes/advanced/in-link/elements/side_boxes/pop.elm.tpl	(revision 0)
@@ -0,0 +1,18 @@
+<!-- popular links -->
+<inp2:l_InitList list_name="pop_links" types="pop" parent_cat_id="0" recursive="1" per_page="short_list"/>
+
+<inp2:m_Capture to_var="header">
+	<a href="<inp2:m_Link template="in-link/links/pop_links" m_cat_id="0" m_cat_page="1" />"><inp2:m_phrase name="lu_title_PopLinks"/></a> (<inp2:l_TotalRecords list_name="pop_links"/>)
+</inp2:m_Capture>
+
+<inp2:m_include template="in-link/elements/links.elm"/>
+
+<inp2:m_DefineElement name="all_pop_links">
+	<a href="<inp2:m_Link template="in-link/links/pop_links" m_cat_id="0" m_cat_page="1" />"><inp2:m_Phrase label="lu_More" /></a>
+</inp2:m_DefineElement>
+
+<table width="100%" style="border-width: 0px;">
+	<inp2:l_ListLinks list_name="pop_links" render_as="link_short_element" direction="H"/>
+</table>
+<inp2:l_MoreLink list_name="pop_links" render_as="all_pop_links"/>
+<!-- // popular links -->
\ No newline at end of file
Index: themes/advanced/in-link/elements/side_boxes/hot.elm.tpl
===================================================================
--- themes/advanced/in-link/elements/side_boxes/hot.elm.tpl	(revision 0)
+++ themes/advanced/in-link/elements/side_boxes/hot.elm.tpl	(revision 0)
@@ -0,0 +1,18 @@
+<!-- popular links -->
+<inp2:l_InitList list_name="hot_links" types="hot" parent_cat_id="0" recursive="1" per_page="short_list"/>
+
+<inp2:m_Capture to_var="header">
+	<a href="<inp2:m_Link template="in-link/links/hot_links" m_cat_id="0" m_cat_page="1" />"><inp2:m_phrase name="lu_title_HotLinks"/></a> (<inp2:l_TotalRecords list_name="hot_links"/>)
+</inp2:m_Capture>
+
+<inp2:m_include template="in-link/elements/links.elm"/>
+
+<inp2:m_DefineElement name="all_hot_links">
+	<a href="<inp2:m_Link template="in-link/links/hot_links" m_cat_id="0" m_cat_page="1" />"><inp2:m_Phrase label="lu_More" /></a>
+</inp2:m_DefineElement>
+
+<table width="100%" style="border-width: 0px;">
+	<inp2:l_ListLinks list_name="hot_links" render_as="link_short_element" direction="H"/>
+</table>
+<inp2:l_MoreLink list_name="hot_links" render_as="all_hot_links"/>
+<!-- // popular links -->
\ No newline at end of file
Index: themes/advanced/in-link/elements/side_boxes/quick_search.elm.tpl
===================================================================
--- themes/advanced/in-link/elements/side_boxes/quick_search.elm.tpl	(revision 0)
+++ themes/advanced/in-link/elements/side_boxes/quick_search.elm.tpl	(revision 0)
@@ -0,0 +1,30 @@
+<inp2:m_Capture to_var="header">
+	<inp2:m_phrase name="lu_title_SearchBox"/>
+</inp2:m_Capture>
+
+<form method="post" action="<inp2:m_Link template="in-link/links/search_results"/>">
+	<table>
+		<tr>
+			<td colspan="2">
+				<input type="text" name="keywords" id="keywords" style="width: 155px;" class="input-text" value="" />
+			</td>
+		</tr>
+	</table>
+
+	<br />
+	<input class="button" type="submit" value="<inp2:m_Phrase label="lu_btn_FindIt" no_editing="1"/>!" />
+
+	<!--##
+	<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" alt="" width="1" height="10" border="0" /><br />
+	<table>
+		<tr>
+			<td width="10">
+				<input class="button" type="submit" style="width: 40px;" value="<inp2:m_Phrase label="lu_comm_Go" no_editing="1"/>!" />
+			</td>
+			<td align="left">
+				<a href="<inp2:m_Link template="platform/search/advanced_search" />" class="more-link"><inp2:m_Phrase label="lu_btn_AdvancedSearch"/></a>  <img src="<inp2:m_TemplatesBase module="In-Portal"/>img/side_link_str.gif" width="6" height="5" alt="" /><br />
+			</td>
+		</tr>
+	</table>
+	##-->
+</form>
\ No newline at end of file
Index: themes/advanced/in-link/elements/side_boxes/action_box.elm.tpl
===================================================================
--- themes/advanced/in-link/elements/side_boxes/action_box.elm.tpl	(revision 0)
+++ themes/advanced/in-link/elements/side_boxes/action_box.elm.tpl	(revision 0)
@@ -0,0 +1,40 @@
+<inp2:m_Capture to_var="header">
+	<inp2:m_phrase name="lu_title_ActionBox"/>
+</inp2:m_Capture>
+
+<table width="100%" style="border-width: 0px;">
+	<inp2:m_RenderElement name="box_element" template="platform/categories/suggest_category" title="lu_SuggestCategory" prefix="l"/>
+	<inp2:m_RenderElement name="box_element" template="in-link/links/suggest_link" title="lu_SuggestLink" prefix="l"/>
+
+	<inp2:m_if check="m_Param" name="item_actions">
+		<tr>
+			<td>-</td>
+			<td>
+				<inp2:m_if check="l_IsFavorite">
+					<a href="<inp2:l_FavoriteToggleLink/>">
+						<inp2:m_phrase name="lu_btn_RemoveFromFavorites"/>
+					</a>
+				<inp2:m_else/>
+					<a href="<inp2:l_FavoriteToggleLink template="platform/my_account/my_favorites"/>">
+						<inp2:m_phrase name="lu_btn_AddToFavorites"/>
+					</a>
+				</inp2:m_if>
+			</td>
+		</tr>
+
+		<tr>
+			<td>-</td>
+			<td>
+				<a href="<inp2:l_LinkLink template="in-link/links/add_review"/>"><inp2:m_phrase name="lu_btn_ReviewThisLink"/></a>
+			</td>
+		</tr>
+		<!--##
+		<tr>
+			<td>-</td>
+			<td>
+				<a href="<inp2:l_LinkLink template="in-link/links/add_review"/>" class="static"><inp2:m_phrase name="lu_btn_RateThisLink"/></a>
+			</td>
+		</tr>
+		##-->
+	</inp2:m_if>
+</table>
Index: themes/advanced/in-link/my_account/my_links.tpl
===================================================================
--- themes/advanced/in-link/my_account/my_links.tpl	(revision 0)
+++ themes/advanced/in-link/my_account/my_links.tpl	(revision 0)
@@ -0,0 +1,62 @@
+<!--##
+<NAME>User's Links</NAME>
+<DESC>List of User's Articles</DESC>
+<SECTION>My Account</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_phrase name="lu_title_MyLinks"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<inp2:m_RequireLogin login_template="platform/login/register"/>
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-link/elements/side_boxes/action_box.elm" design="blue_box"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_MyAccount,lu_title_MyLinks" templates="platform/my_account/my_account,in-link/my_account/my_links"/>
+		</div>
+		<div class="movable-element">
+			<!-- my links -->
+			<inp2:m_RenderElement design="content_box" data_exists="1" block_no_data="no_links">
+				<inp2:l_InitList list_name="my_links" types="my_items" parent_cat_id="0" recursive="1"/>
+
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_title_MyLinks"/> (<inp2:l_TotalRecords list_name="my_links"/>)
+				</inp2:m_Capture>
+
+				<inp2:m_include template="in-link/elements/links.elm"/>
+
+				<inp2:m_include template="in-link/elements/sorting.elm" list_name="my_links"/>
+
+				<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="10" alt="" /><br />
+
+				<table class="item-listing fullwidth">
+					<inp2:l_ListLinks list_name="my_links" render_as="my_link_element" direction="H"/>
+				</table>
+
+				<inp2:m_include template="platform/elements/pagination.elm" prefix="l" list_name="my_links"/>
+			</inp2:m_RenderElement>
+			<!-- // my links -->
+		</div>
+	</div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: themes/advanced/in-link/my_account/my_items.elm.tpl
===================================================================
--- themes/advanced/in-link/my_account/my_items.elm.tpl	(revision 0)
+++ themes/advanced/in-link/my_account/my_items.elm.tpl	(revision 0)
@@ -0,0 +1,9 @@
+<inp2:m_if check="m_ParamEquals" name="section" value="2">
+	<inp2:m_if check="m_ParamEquals" name="place" value="sidebox">
+		<inp2:m_RenderElement name="box_element" template="in-link/my_account/my_links" title="lu_MyLinks"/>
+	</inp2:m_if>
+
+	<inp2:m_if check="m_ParamEquals" name="place" value="contentbox">
+		<inp2:m_RenderElement name="my_account_element" template="in-link/my_account/my_links" title="lu_MyLinks" description="lu_description_MyLinks" icon_image="in-link/img/ic_mylinks46.gif"/>
+	</inp2:m_if>
+</inp2:m_if>
\ No newline at end of file
Index: themes/advanced/in-link/links/suggest_pending_confirm.tpl
===================================================================
--- themes/advanced/in-link/links/suggest_pending_confirm.tpl	(revision 0)
+++ themes/advanced/in-link/links/suggest_pending_confirm.tpl	(revision 0)
@@ -0,0 +1,49 @@
+<!--##
+<NAME>Link Pending - Confirmation</NAME>
+<DESC>Link Pending Confirmation page</DESC>
+<SECTION>Platform||Links</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_phrase name="lu_title_SuggestLinkPendingConfirm"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-link/elements/side_boxes/action_box.elm" design="blue_box"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_SuggestLinkPendingConfirm" templates="in-link/links/suggest_pending_confirm" show_category="1"/>
+		</div>
+		<div class="movable-element">
+			<!-- suggest link pending confirm -->
+			<inp2:m_RenderElement design="content_box">
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_title_SuggestLinkPendingConfirm"/>
+				</inp2:m_Capture>
+
+				<inp2:m_phrase name="lu_text_SuggestLinkPendingConfirm"/><br /><br />
+				<a href="<inp2:m_Link template="in-link/my_account/my_links" m_cat_id="0" m_cat_page="1"/>"><inp2:m_phrase name="lu_text_MyLinks"/></a>
+			</inp2:m_RenderElement>
+			<!-- // suggest link pending confirm -->
+		</div>
+	</div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: themes/advanced/in-link/links/suggest_confirm.tpl
===================================================================
--- themes/advanced/in-link/links/suggest_confirm.tpl	(revision 0)
+++ themes/advanced/in-link/links/suggest_confirm.tpl	(revision 0)
@@ -0,0 +1,47 @@
+<!--##
+<NAME>Link Suggested - Confirmation</NAME>
+<DESC>Link Suggested Confirmation page</DESC>
+<SECTION>Platform||Links</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_phrase name="lu_title_SuggestLinkConfirm"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-link/elements/side_boxes/action_box.elm" design="blue_box"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_SuggestLinkConfirm" templates="in-link/links/suggest_confirm" show_category="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement design="content_box">
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_title_SuggestLinkConfirm"/>
+				</inp2:m_Capture>
+
+				<inp2:m_phrase name="lu_text_SuggestLinkConfirm"/><br /><br />
+				<a href="<inp2:m_Link template="in-link/my_account/my_links" m_cat_id="0" m_cat_page="1"/>"><inp2:m_phrase name="lu_text_MyLinks"/></a>
+			</inp2:m_RenderElement>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: themes/advanced/in-link/links/pick_links.tpl
===================================================================
--- themes/advanced/in-link/links/pick_links.tpl	(revision 0)
+++ themes/advanced/in-link/links/pick_links.tpl	(revision 0)
@@ -0,0 +1,65 @@
+<!--##
+<NAME>Editor's Pick Links</NAME>
+<DESC>List of Editor's Pick Links</DESC>
+<SECTION>Platform||Links</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_phrase name="lu_title_PickLinks"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-link/elements/side_boxes/action_box.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-link/elements/side_boxes/new.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-link/elements/side_boxes/hot.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-link/elements/side_boxes/pop.elm" design="blue_box" data_exists="1"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_PickLinks" templates="in-link/links/pick_links"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement design="content_box" data_exists="1" block_no_data="no_links">
+				<inp2:l_InitList list_name="pick_links" m_cat_id="0" m_cat_page="1" recursive="1" types="pick"/>
+
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_title_PickLinks"/> (<inp2:l_TotalRecords list_name="pick_links"/>)
+				</inp2:m_Capture>
+
+				<inp2:m_include template="in-link/elements/links.elm"/>
+
+				<inp2:m_include template="in-link/elements/sorting.elm" list_name="pick_links"/>
+
+				<table class="fullwidth item-listing table-border">
+					<inp2:l_ListLinks list_name="pick_links" render_as="link_element" direction="H"/>
+				</table>
+
+				<inp2:m_include template="platform/elements/pagination.elm" prefix="l" list_name="pick_links"/>
+			</inp2:m_RenderElement>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: themes/advanced/in-link/links/add_review.tpl
===================================================================
--- themes/advanced/in-link/links/add_review.tpl	(revision 0)
+++ themes/advanced/in-link/links/add_review.tpl	(revision 0)
@@ -0,0 +1,152 @@
+<!--##
+<NAME>Link - Add Review</NAME>
+<DESC>Add Link Review Form</DESC>
+<SECTION>Platform||Links</SECTION>
+##-->
+
+<inp2:m_RequireLogin login_template="platform/login/register" permissions="LINK.REVIEW|LINK.REVIEW.PENDING"/>
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:l_Field name="Name"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-link/elements/side_boxes/action_box.elm" item_actions="1" design="blue_box"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="__item__,lu_title_Reviews" templates="__default__,in-link/links/add_review" show_category="1"/>
+		</div>
+		<div class="movable-element">
+			<!-- LINK DETAILS -->
+			<inp2:m_RenderElement design="content_box">
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_title_LinkDetails"/>
+				</inp2:m_Capture>
+
+				<table class="fullwidth table-border">
+					<tr><td class="item-padding">
+
+				<table class="fullwidth">
+					<tr>
+						<td width="25" valign="top">
+							<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/link_icon.gif" width="16" height="23" alt="" />
+						</td>
+						<td valign="top">
+
+							<span class="text-title"><inp2:l_Field name="Name"/></span>
+
+							<inp2:m_if check="l_Field" name="IsHot"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_hot.gif" alt="<inp2:m_Phrase name="lu_Hot" no_editing="1"/>"/></inp2:m_if>
+							<inp2:m_if check="l_Field" name="IsNew"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_new.gif" alt="<inp2:m_Phrase name="lu_New" no_editing="1"/>"/></inp2:m_if>
+							<inp2:m_if check="l_Field" name="IsPop"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_popular.gif" alt="<inp2:m_Phrase name="lu_Pop" no_editing="1"/>"/></inp2:m_if>
+							<inp2:m_if check="l_IsEditorsPick"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_pick.gif" alt="<inp2:m_Phrase name="lu_Pick" no_editing="1"/>"/></inp2:m_if>
+							<inp2:m_if check="l_IsFavorite"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_favorite.gif" alt="<inp2:m_Phrase name="lu_Favorite" no_editing="1"/>"/></inp2:m_if>
+							<inp2:l_VotesIndicator render_as="rating_element"/>
+
+							<br />
+
+							<span class="item-statistics">
+								<inp2:m_phrase name="lu_Added"/>: <inp2:l_Field name="CreatedOn" format="_regional_DateFormat"/>,
+								<inp2:m_phrase name="lu_Hits"/>: <inp2:l_Field name="Hits"/>,
+								<inp2:m_phrase name="lu_Rating"/>: <inp2:l_Field name="CachedRating"/>,
+								<inp2:m_phrase name="lu_Reviews"/>: <inp2:l_Field name="CachedReviewsQty"/>,
+								<inp2:m_phrase name="lu_Votes"/>: <inp2:l_Field name="CachedVotesQty"/>
+							</span>
+						</td>
+					</tr>
+				</table>
+
+				<table>
+					<tr>
+						<td class="picture-padding" style="padding-left:25px" valign="top">
+							<inp2:m_if check="l_ImageSrc" MaxWidth="fullsize">
+							<a href="<inp2:l_ImageSrc MaxWidth="fullsize" />" class="thickbox" rel="link-images" title="<inp2:l_Field name='Name' html_escape='1'/>">
+								<inp2:l_Image render_as="image_element" Primary="1" MaxWidth="thumbnail" DefaultImage="platform/img/no_picture.gif" /><br />
+							</a>
+							<inp2:m_else/>
+								<inp2:l_Image render_as="image_element" Primary="1" MaxWidth="thumbnail" DefaultImage="platform/img/no_picture.gif"/><br />
+							</inp2:m_if>
+						</td>
+						<td class="text-padding" valign="top">
+							<input type="button" class="button" value="<inp2:m_Phrase label="lu_btn_VisitLink" no_editing="1"/>" onclick="open_window('<inp2:l_LinkLink template="in-link/elements/visit_link.elm"/>', 'new_window', '800', '600');"/><br /><br />
+
+							<br/><br/>
+							<inp2:m_if check="l_IsFavorite">
+								<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/ic_removefromfav.gif" width="11" height="10" alt="" /> <a class="item-action" href="<inp2:l_FavoriteToggleLink/>"><inp2:m_phrase name="lu_btn_RemoveFromWishList"/></a>
+							<inp2:m_else/>
+								<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/ic_addtofav.gif" width="11" height="10" alt="" /> <a class="item-action" href="<inp2:l_FavoriteToggleLink template="platform/my_account/my_favorites"/>"><inp2:m_phrase name="lu_btn_AddToWishList"/></a>
+							</inp2:m_if>
+
+						</td>
+					</tr>
+				</table>
+			</td></tr>
+			</table>
+			</inp2:m_RenderElement>
+			<!-- //LINK DETAILS -->
+		</div>
+
+		<div class="movable-element">
+			<!-- ADD REVIEW -->
+			<inp2:m_RenderElement design="content_box">
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_title_ReviewThisLink"/>
+				</inp2:m_Capture>
+
+
+				<inp2:m_if check="l_HasPermission" permissions="LINK.REVIEW|LINK.REVIEW.PENDING">
+					<inp2:m_if check="l-rev_AlreadyReviewed">
+						<inp2:m_Phrase label="lu_ErrorAlreadyReviewed"/>
+						<table>
+							<inp2:l-rev_PrintList render_as="review_element" type="current_user"/>
+						</table>
+						<inp2:m_include template="platform/elements/pagination.elm" prefix="l-rev"/>
+					<inp2:m_else/>
+						<inp2:l-rev_PresetFormFields/>
+						<span class="field-required">*</span> <inp2:m_phrase name="lu_IndicatesRequired"/><br /><br />
+
+						<inp2:m_if check="l-rev_HasError" field="any">
+							<inp2:m_RenderElement name="error_message" />
+						</inp2:m_if>
+
+						<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/grey_pix.gif" width="100%" height="1" align="absmiddle" alt="" /><br /><br />
+
+						<form method="post" action="<inp2:m_FormAction/>">
+							<table class="form-data fullwidth">
+								<inp2:m_RenderElement name="inp_edit_radio" prefix="l-rev" field="Rating" title="lu_fld_Rating"/>
+								<inp2:m_RenderElement name="inp_edit_textarea" prefix="l-rev" field="ReviewText" rows="8" cols="40" title="lu_fld_ReviewText" is_last="1"/>
+
+								<inp2:m_RenderElement design="inp_edit_buttons">
+									<input type="hidden" name="success_template" value="in-link/links/add_review_confirm" />
+										<input type="hidden" name="success_pending_template" value="in-link/links/add_review_pending_confirm" />
+										<input class="button" type="submit" name="events[l-rev][OnCreate]" value="<inp2:m_Phrase label="lu_btn_Create" no_editing="1"/>" />
+								</inp2:m_RenderElement>
+							</table>
+						</form>
+					</inp2:m_if>
+				<inp2:m_else/>
+					<inp2:m_phrase name="lu_text_NoLinkReviewPermission"/>
+				</inp2:m_if>
+			</inp2:m_RenderElement>
+			<!-- //ADD REVIEW -->
+		</div>
+	</div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: themes/advanced/in-link/links/modify_link.tpl
===================================================================
--- themes/advanced/in-link/links/modify_link.tpl	(revision 0)
+++ themes/advanced/in-link/links/modify_link.tpl	(revision 0)
@@ -0,0 +1,122 @@
+<!--##
+<NAME>Link Modify</NAME>
+<DESC>Link Modify Form</DESC>
+<SECTION>Platform||Links</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_phrase name="lu_title_ModifyLink"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-link/elements/side_boxes/action_box.elm" item_actions="1" design="blue_box"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_MyAccount,lu_title_MyLinks,__item__,lu_title_ModifyLink" templates="platform/my_account/my_account,in-link/my_account/my_links,__default__,in-link/links/modify_link"/>
+		</div>
+		<div class="movable-element">
+			<!-- modify link -->
+			<inp2:m_RenderElement design="content_box">
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_title_ModifyLink"/>
+				</inp2:m_Capture>
+
+				<inp2:m_if check="l_HasPermission" permissions="LINK.MODIFY|LINK.MODIFY.PENDING|LINK.OWNER.MODIFY|LINK.OWNER.MODIFY.PENDING">
+					<span class="field-required">*</span> <inp2:m_phrase name="lu_IndicatesRequired"/><br /><br />
+
+					<inp2:m_if check="l_HasError" field="any">
+						<inp2:m_RenderElement name="error_message" />
+					</inp2:m_if>
+
+					<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/grey_pix.gif" width="100%" height="1" align="absmiddle" alt="" /><br /><br />
+
+					<form method="post" action="<inp2:m_FormAction/>" enctype="multipart/form-data">
+						<table class="form-data fullwidth">
+							<tr><td colspan="2"><inp2:m_RenderElement name="subsection" title="lu_section_LinkDetails" break=""/></td></tr>
+
+							<inp2:m_RenderElement name="inp_edit_box_ml" prefix="l" field="Name" title="lu_fld_Name" maxlength="50" style="width:400px"/>
+							<inp2:m_RenderElement name="inp_edit_box" prefix="l" field="Url" title="lu_fld_Url" maxlength="255" style="width:400px"/>
+							<!--## SHOW PRIMARY CATEGORY ##-->
+							<inp2:m_RenderElement name="inp_pr_category_label" prefix="l" field="PrimaryCat" title="lu_fld_PrimaryCategory" editing="1"/>
+							<!--## //SHOW PRIMARY CATEGORY ##-->
+
+							<inp2:m_RenderElement name="inp_edit_categories" prefix="l" field="MoreCategories" title="lu_fld_MoreCategories"/>
+
+							<inp2:m_RenderElement name="inp_edit_textarea_ml" prefix="l" field="Description" cols="80" rows="7" title="lu_fld_Description" style="width:400px" is_last="1"/>
+
+							<tr>
+								<td colspan="2">
+									<br/>
+									<inp2:m_RenderElement name="subsection" title="lu_section_Images" break=""/>
+								</td>
+							</tr>
+
+							<inp2:m_RenderElement name="inp_edit_image_upload" prefix="l" field="PrimaryImage" title="lu_fld_PrimaryImage"/>
+							<inp2:m_RenderElement name="inp_edit_image_upload" prefix="l" field="Image1" title="lu_fld_Image1"/>
+							<inp2:m_RenderElement name="inp_edit_image_upload" prefix="l" field="Image2" title="lu_fld_Image2" is_last="1"/>
+
+							<tr>
+								<td colspan="2">
+									<br/>
+									<inp2:m_RenderElement name="subsection" title="lu_section_Files" break=""/>
+								</td>
+							</tr>
+
+							<inp2:m_RenderElement name="inp_edit_file_upload" prefix="l" field="File1" title="lu_fld_File1"/>
+							<inp2:m_RenderElement name="inp_edit_file_upload" prefix="l" field="File2" title="lu_fld_File2"/>
+							<inp2:m_RenderElement name="inp_edit_file_upload" prefix="l" field="File3" title="lu_fld_File3" is_last="1"/>
+
+							<inp2:m_if check="m_ConfigEquals" option="Link_EnhancedLinks" value="1">
+								<inp2:m_RenderElement name="inp_edit_field_separator" is_last="0"/>
+
+								<tr class="<inp2:m_odd_even odd="table_color1" even="table_color2"/>">
+									<inp2:m_RenderElement name="inp_edit_field_caption" prefix="l" field="ListingTypeId" title="lu_fld_ListingType"/>
+									<td class="field-value">
+										<inp2:m_if check="l_LinkIsEnhanced">
+											<strong><inp2:l_ListingTypeField name="Name" /></strong>
+											<inp2:m_if check="l_EnhancementIsPending">
+												(<inp2:m_Phrase label="lu_PendingEnhancement" />)
+											</inp2:m_if>
+											<a href="<inp2:l_LinkLink template="in-link/links/enhancements/extend_enhancement"/>"><inp2:m_Phrase label="lu_btn_ExtendCancelEnhancement" /></a>
+										<inp2:m_else />
+											<a href="<inp2:l_LinkLink template="in-link/links/enhancements/enhance_link"/>"><inp2:m_Phrase label="lu_btn_EnhanceLink" /></a>
+										</inp2:m_if>
+									</td>
+								</tr>
+							</inp2:m_if>
+
+							<inp2:m_RenderElement design="inp_edit_buttons">
+								<input type="hidden" name="modify_confirm_template" value="in-link/links/modify_confirm"/>
+								<input type="hidden" name="modify_pending_confirm_template" value="in-link/links/modify_pending_confirm"/>
+								<input class="button" type="submit" name="events[l][OnUpdate]" value="<inp2:m_Phrase label="lu_btn_Update" no_editing="1"/>"/>
+								<input class="button" type="reset" name="events[l][OnReset]" value="<inp2:m_Phrase label="lu_btn_Reset" no_editing="1"/>"/>
+							</inp2:m_RenderElement>
+						</table>
+					</form>
+				<inp2:m_else/>
+					<inp2:m_phrase name="lu_text_NoModifyLinkPermission"/>
+				</inp2:m_if>
+			</inp2:m_RenderElement>
+			<!-- // modify link -->
+		</div>
+	</div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: themes/advanced/in-link/links/modify_confirm.tpl
===================================================================
--- themes/advanced/in-link/links/modify_confirm.tpl	(revision 0)
+++ themes/advanced/in-link/links/modify_confirm.tpl	(revision 0)
@@ -0,0 +1,49 @@
+<!--##
+<NAME>Link Modified - Confirmation</NAME>
+<DESC>Link Modified Confirmation page</DESC>
+<SECTION>Platform||Links</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_phrase name="lu_title_ModifyLinkConfirm"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-link/elements/side_boxes/action_box.elm" design="blue_box"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_MyAccount,lu_title_MyLinks,__item__,lu_title_ModifyLinkConfirm" templates="platform/my_account/my_account,in-link/my_account/my_links,__default__,in-link/links/modify_confirm"/>
+		</div>
+		<div class="movable-element">
+			<!-- modify link confirm -->
+			<inp2:m_RenderElement design="content_box">
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_title_ModifyLinkConfirm"/>
+				</inp2:m_Capture>
+
+				<inp2:m_phrase name="lu_text_ModifyLinkConfirm"/><br /><br />
+				<a href="<inp2:m_Link template="in-link/my_account/my_links" m_cat_id="0" m_cat_page="1"/>"><inp2:m_phrase name="lu_text_MyLinks"/></a>
+			</inp2:m_RenderElement>
+			<!-- // modify link confirm -->
+		</div>
+	</div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: themes/advanced/in-link/links/add_review_pending_confirm.tpl
===================================================================
--- themes/advanced/in-link/links/add_review_pending_confirm.tpl	(revision 0)
+++ themes/advanced/in-link/links/add_review_pending_confirm.tpl	(revision 0)
@@ -0,0 +1,49 @@
+<!--##
+<NAME>Link - Review Pending Confirmation</NAME>
+<DESC>Confirmation page for Pending Link submition</DESC>
+<SECTION>Platform||Links</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_phrase name="lu_title_AddLinkReviewPendingConfirm"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-link/elements/side_boxes/action_box.elm"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="__item__,lu_title_AddLinkReviewPendingConfirm" templates="__default__,in-link/links/add_review_pending_confirm" show_category="1"/>
+		</div>
+		<div class="movable-element">
+			<!-- add link review pending confirm -->
+			<inp2:m_RenderElement design="content_box">
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_title_AddLinkReviewPendingConfirm"/>
+				</inp2:m_Capture>
+
+				<inp2:m_phrase name="lu_text_AddLinkReviewPendingConfirm"/><br /><br />
+				<a href="<inp2:l_LinkLink template="__default__"/>"><inp2:l_Field name="Name"/></a>
+			</inp2:m_RenderElement>
+			<!-- // add link review pending confirm -->
+		</div>
+	</div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: themes/advanced/in-link/links/search_results.tpl
===================================================================
--- themes/advanced/in-link/links/search_results.tpl	(revision 0)
+++ themes/advanced/in-link/links/search_results.tpl	(revision 0)
@@ -0,0 +1,98 @@
+<!--##
+<NAME>Links - Search Results</NAME>
+<DESC>List of Links Search Results</DESC>
+<SECTION>Platform||Links</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_Phrase label="lu_title_LinkSearchResults"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-link/elements/side_boxes/quick_search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-link/elements/side_boxes/action_box.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-link/elements/side_boxes/new.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-link/elements/side_boxes/pop.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-link/elements/side_boxes/pick.elm" design="blue_box" data_exists="1"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_LinkSearchResults" templates="in-link/search/search_results"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement design="content_box">
+				<inp2:l_InitList list_name="link_search_results" types="search" parent_cat_id="any" recursive="1"/>
+
+				<inp2:m_Capture to_var="header">
+					<inp2:m_Phrase label="lu_title_LinkSearchResults"/> (<inp2:l_TotalRecords list_name="link_search_results"/>)
+				</inp2:m_Capture>
+
+				<inp2:m_include template="in-link/elements/sorting.elm" list_name="link_search_results"/>
+
+				<inp2:m_include template="in-link/elements/links.elm"/>
+				<inp2:m_include template="platform/elements/search_results.elm"/>
+
+				<!-- SEARCH SUGGESTION -->
+				<inp2:m_if check="c_SpellingSuggestions">
+					<div id="didyoumean">
+						<strong>Did you mean:</strong> <a href="<inp2:c_SuggestionLink/>"><inp2:c_SpellingSuggestions/></a>
+					</div>
+				</inp2:m_if>
+				<!-- //SEARCH SUGGESTION -->
+
+
+				<!--## THESAURUS CONTENT ##-->
+				<inp2:m_DefineElement name="thesaurus">
+					<inp2:m_DefineElement name="narrow_search_elem">
+						<li><a href="<inp2:m_Param name='url'/>"><inp2:m_Param name="term"/></a></li>
+					</inp2:m_DefineElement>
+
+					<inp2:m_if check="thesaurus_HasThesaurus">
+						<div id="popularSearchTerms" class="highlightBox">
+							<h2>Narrow Search By</h2>
+							<ul>
+								<inp2:thesaurus_PrintThesaurus render_as="narrow_search_elem"/>
+							</ul>
+						</div>
+					</inp2:m_if>
+				</inp2:m_DefineElement>
+				<!--## /THESAURUS CONTENT ##-->
+
+				<inp2:m_RenderElement name="thesaurus"/>
+
+
+				<table class="fullwidth item-listing table-border">
+					<inp2:l_ListLinks list_name="link_search_results" render_as="link_element" show_relevance="1"/>
+				</table>
+
+				<inp2:m_include template="platform/elements/pagination.elm" prefix="l" list_name="link_search_results"/>
+			</inp2:m_RenderElement>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: themes/advanced/in-link/links/suggest_link.tpl
===================================================================
--- themes/advanced/in-link/links/suggest_link.tpl	(revision 0)
+++ themes/advanced/in-link/links/suggest_link.tpl	(revision 0)
@@ -0,0 +1,111 @@
+<!--##
+<NAME>Link Suggest</NAME>
+<DESC>Link Suggest Form</DESC>
+<SECTION>Platform||Links</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_phrase name="lu_title_SuggestLink"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-link/elements/side_boxes/action_box.elm" design="blue_box"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_SuggestLink" templates="in-link/links/suggest_link" show_category="1"/>
+		</div>
+		<div class="movable-element">
+			<!-- suggest link -->
+			<inp2:m_RenderElement design="content_box">
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_title_SuggestLink"/>
+				</inp2:m_Capture>
+
+				<inp2:m_if check="l_HasPermission" permissions="LINK.ADD|LINK.ADD.PENDING">
+					<inp2:l_PresetFormFields/>
+					<span class="field-required">*</span> <inp2:m_phrase name="lu_IndicatesRequired"/><br /><br />
+
+					<inp2:m_if check="l_HasError" field="any">
+						<inp2:m_RenderElement name="error_message" />
+					</inp2:m_if>
+
+					<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/grey_pix.gif" width="100%" height="1" align="absmiddle" alt="" /><br /><br />
+
+					<form method="post" action="<inp2:m_FormAction/>" enctype="multipart/form-data">
+						<table class="form-data fullwidth">
+							<tr><td colspan="2"><inp2:m_RenderElement name="subsection" title="lu_section_LinkDetails" break=""/></td></tr>
+
+							<!--## SHOW PRIMARY CATEGORY ##-->
+							<inp2:m_RenderElement name="inp_pr_category_label" prefix="l" field="PrimaryCat" title="lu_fld_SubmittingTo"/>
+							<!--## //SHOW PRIMARY CATEGORY ##-->
+
+							<inp2:m_RenderElement name="inp_edit_box_ml" prefix="l" field="Name" title="lu_fld_Name" maxlength="50" style="width:400px"/>
+							<inp2:m_RenderElement name="inp_edit_box" prefix="l" field="Url" title="lu_fld_Url" maxlength="255" style="width:400px"/>
+							<inp2:m_RenderElement name="inp_edit_textarea_ml" prefix="l" field="Description" cols="80" rows="7" title="lu_fld_Description" style="width:400px" is_last="1"/>
+
+							<inp2:m_RenderElement name="inp_edit_categories" prefix="l" field="MoreCategories" title="lu_fld_MoreCategories"/>
+
+							<tr><td colspan="2"><br/><inp2:m_RenderElement name="subsection" title="lu_section_Images" break=""/></td></tr>
+							<inp2:m_RenderElement name="inp_edit_image_upload" prefix="l" field="PrimaryImage" title="lu_fld_PrimaryImage"/>
+							<inp2:m_RenderElement name="inp_edit_image_upload" prefix="l" field="Image1" title="lu_fld_Image1"/>
+							<inp2:m_RenderElement name="inp_edit_image_upload" prefix="l" field="Image2" title="lu_fld_Image2" is_last="1"/>
+							<tr><td colspan="2"><br/><inp2:m_RenderElement name="subsection" title="lu_section_Files" break=""/></td></tr>
+							<inp2:m_RenderElement name="inp_edit_file_upload" prefix="l" field="File1" title="lu_fld_File1"/>
+							<inp2:m_RenderElement name="inp_edit_file_upload" prefix="l" field="File2" title="lu_fld_File2"/>
+							<inp2:m_RenderElement name="inp_edit_file_upload" prefix="l" field="File3" title="lu_fld_File3" is_last="1"/>
+
+							<inp2:m_if check="m_ConfigEquals" name="Link_EnhancedLinks" value="1">
+								<inp2:m_RenderElement name="inp_edit_field_separator" is_last="0"/>
+
+								<tr class="<inp2:m_odd_even odd="table_color1" even="table_color2"/>">
+									<inp2:m_RenderElement name="inp_edit_field_caption" prefix="l" field="ListingTypeId" title="lu_fld_ListingType"/>
+									<td class="field-value">
+										<inp2:m_if check="l_HasError" field="ListingTypeId">
+											<span class="field-error"><inp2:l_Error field="ListingTypeId"/></span><br />
+										</inp2:m_if>
+
+										<inp2:m_include template="in-link/elements/enhancements.elm"/>
+
+										<table>
+											<inp2:l_PredefinedOptions prefix="l" field="ListingTypeId" render_as="suggest_listing_type_element" selected="checked"/>
+										</table>
+									</td>
+								</tr>
+							</inp2:m_if>
+
+							<inp2:m_RenderElement design="inp_edit_buttons">
+								<input type="hidden" name="suggest_confirm_template" value="in-link/links/suggest_confirm"/>
+								<input type="hidden" name="suggest_pending_confirm_template" value="in-link/links/suggest_pending_confirm"/>
+								<input type="hidden" name="shop_cart_template" value="in-commerce/checkout/shop_cart"/>
+								<input class="button" type="submit" name="events[l][OnCreate]" value="<inp2:m_Phrase label="lu_btn_Create" no_editing="1"/>"/>
+								<input class="button" type="reset" name="events[l][OnReset]" value="<inp2:m_Phrase label="lu_btn_Reset" no_editing="1"/>"/>
+							</inp2:m_RenderElement>
+						</table>
+					</form>
+				<inp2:m_else/>
+					<inp2:m_phrase name="lu_text_NoSuggestLinkPermission"/>
+				</inp2:m_if>
+			</inp2:m_RenderElement>
+			<!-- // suggest link -->
+		</div>
+	</div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: themes/advanced/in-link/links/new_links.tpl
===================================================================
--- themes/advanced/in-link/links/new_links.tpl	(revision 0)
+++ themes/advanced/in-link/links/new_links.tpl	(revision 0)
@@ -0,0 +1,65 @@
+<!--##
+<NAME>New Links</NAME>
+<DESC>List of New Links</DESC>
+<SECTION>Platform||Links</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_phrase name="lu_title_NewLinks"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-link/elements/side_boxes/action_box.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-link/elements/side_boxes/hot.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-link/elements/side_boxes/pop.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-link/elements/side_boxes/pick.elm" design="blue_box" data_exists="1"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_NewLinks" templates="in-link/links/new_links"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement design="content_box" data_exists="1" block_no_data="no_links">
+				<inp2:l_InitList list_name="new_links" m_cat_id="0" m_cat_page="1" recursive="1" types="new"/>
+
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_title_NewLinks"/> (<inp2:l_TotalRecords list_name="new_links"/>)
+				</inp2:m_Capture>
+
+				<inp2:m_include template="in-link/elements/links.elm"/>
+
+				<inp2:m_include template="in-link/elements/sorting.elm" list_name="new_links"/>
+
+				<table class="fullwidth item-listing table-border">
+					<inp2:l_ListLinks list_name="new_links" render_as="link_element" direction="H"/>
+				</table>
+
+				<inp2:m_include template="platform/elements/pagination.elm" prefix="l" list_name="new_links"/>
+			</inp2:m_RenderElement>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: themes/advanced/in-link/links/hot_links.tpl
===================================================================
--- themes/advanced/in-link/links/hot_links.tpl	(revision 0)
+++ themes/advanced/in-link/links/hot_links.tpl	(revision 0)
@@ -0,0 +1,67 @@
+<!--##
+<NAME>Hot Links</NAME>
+<DESC>List of Hot Links</DESC>
+<SECTION>Platform||Links</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_phrase name="lu_title_HotLinks"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-link/elements/side_boxes/action_box.elm"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-link/elements/side_boxes/new.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-link/elements/side_boxes/pop.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-link/elements/side_boxes/pick.elm" design="blue_box" data_exists="1"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_HotLinks" templates="in-link/links/hot_links"/>
+		</div>
+		<div class="movable-element">
+			<!-- HOT LINKS -->
+			<inp2:m_RenderElement design="content_box" data_exists="1" block_no_data="no_links">
+				<inp2:l_InitList list_name="hot_links" m_cat_id="0" m_cat_page="1" recursive="1" types="hot"/>
+
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_title_HotLinks"/> (<inp2:l_TotalRecords list_name="hot_links"/>)
+				</inp2:m_Capture>
+
+				<inp2:m_include template="in-link/elements/links.elm"/>
+
+				<inp2:m_include template="in-link/elements/sorting.elm" list_name="hot_links"/>
+
+				<table class="fullwidth item-listing table-border">
+					<inp2:l_ListLinks list_name="hot_links" render_as="link_element" direction="H"/>
+				</table>
+
+				<inp2:m_include template="platform/elements/pagination.elm" prefix="l" list_name="hot_links"/>
+			</inp2:m_RenderElement>
+			<!-- //HOT LINKS -->
+		</div>
+	</div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: themes/advanced/in-link/links/link_standard.tpl
===================================================================
--- themes/advanced/in-link/links/link_standard.tpl	(revision 0)
+++ themes/advanced/in-link/links/link_standard.tpl	(revision 0)
@@ -0,0 +1,490 @@
+<!--##
+<NAME>Links - Detail Design (standard)</NAME>
+<DESC>General design template for Standard Link Details section</DESC>
+<SECTION>Platform||Links</SECTION>
+##-->
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:l_Field name="Name"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-link/elements/side_boxes/action_box.elm" item_actions="1" design="blue_box"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<!--## MAIN CONTENT ##-->
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="__item__" templates="__default__" show_category="1"/>
+		</div>
+		<div class="movable-element">
+			<!-- link details -->
+			<inp2:m_RenderElement design="content_box">
+
+				<inp2:m_Capture to_var="header">
+					<strong><inp2:l_Field name="Name"/></strong>
+				</inp2:m_Capture>
+
+				<table class="fullwidth table-border">
+					<tr>
+						<td class="item-padding">
+
+							<table class="fullwidth">
+								<tr>
+									<td width="25" valign="top">
+										<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/link_icon.gif" width="16" height="23" alt="" />
+									</td>
+									<td valign="top">
+
+										<span class="text-title">
+											<a href="<inp2:l_LinkLink template="in-link/elements/visit_link.elm"/>" target="_blank"><inp2:l_Field name="Name"/></a>
+										</span>
+
+										<inp2:m_if check="l_Field" name="IsHot"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_hot.gif" alt="<inp2:m_Phrase name="lu_Hot" no_editing="1"/>"/></inp2:m_if>
+										<inp2:m_if check="l_Field" name="IsNew"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_new.gif" alt="<inp2:m_Phrase name="lu_New" no_editing="1"/>"/></inp2:m_if>
+										<inp2:m_if check="l_Field" name="IsPop"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_popular.gif" alt="<inp2:m_Phrase name="lu_Pop" no_editing="1"/>"/></inp2:m_if>
+										<inp2:m_if check="l_IsEditorsPick"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_pick.gif" alt="<inp2:m_Phrase name="lu_Pick" no_editing="1"/>"/></inp2:m_if>
+										<inp2:m_if check="l_IsFavorite"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_favorite.gif" alt="<inp2:m_Phrase name="lu_Favorite" no_editing="1"/>"/></inp2:m_if>
+										<inp2:l_VotesIndicator render_as="rating_element"/>
+
+										<br />
+
+										<span class="item-statistics">
+											<inp2:m_phrase name="lu_Added"/>: <inp2:l_Field name="CreatedOn" format="_regional_DateFormat"/>,
+											<inp2:m_phrase name="lu_Hits"/>: <inp2:l_Field name="Hits"/>,
+											<inp2:m_phrase name="lu_Rating"/>: <inp2:l_Field name="CachedRating"/>,
+											<inp2:m_phrase name="lu_Reviews"/>: <inp2:l_Field name="CachedReviewsQty"/>,
+											<inp2:m_phrase name="lu_Votes"/>: <inp2:l_Field name="CachedVotesQty"/>
+										</span>
+									</td>
+								</tr>
+							</table>
+
+							<table>
+								<tr>
+									<td class="picture-padding" style="padding-left:25px" valign="top">
+										<inp2:m_if check="l_ImageSrc" MaxWidth="fullsize">
+										<a href="<inp2:l_ImageSrc MaxWidth="fullsize" />" class="thickbox" rel="link-images" title="<inp2:l_Field name='Name' html_escape='1'/>">
+											<inp2:l_Image render_as="image_element" Primary="1" MaxWidth="thumbnail" DefaultWidth="150" DefaultImage="platform/img/no_picture.gif" /><br />
+										</a>
+										<inp2:m_else/>
+											<inp2:l_Image render_as="image_element" Primary="1" MaxWidth="thumbnail" DefaultWidth="150" DefaultImage="platform/img/no_picture.gif"/><br />
+										</inp2:m_if>
+									</td>
+									<td class="text-padding" valign="top">
+										<inp2:l_Field name="Description" nl2br="1"/>
+
+										<br/><br/>
+										<inp2:m_if check="l_IsFavorite">
+											<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/ic_removefromfav.gif" width="11" height="10" alt="" /> <a class="item-action" href="<inp2:l_FavoriteToggleLink/>"><inp2:m_phrase name="lu_btn_RemoveFromFavorites"/></a>
+										<inp2:m_else/>
+											<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/ic_addtofav.gif" width="11" height="10" alt="" /> <a class="item-action" href="<inp2:l_FavoriteToggleLink template="platform/my_account/my_favorites"/>"><inp2:m_phrase name="lu_btn_AddToFavorites"/></a>
+										</inp2:m_if>
+
+									</td>
+								</tr>
+							</table>
+							<br />
+
+							<!--## LIST LINK ADITIONAL IMAGES ##-->
+							<inp2:m_if check="l_HasAdditionalImages">
+
+								<!--## ADDITIONAL IMAGE ELEMENT ##-->
+								<inp2:m_DefineElement name="additional_image_element">
+									<td>
+										<a href="<inp2:ImageSrc MaxWidth="fullsize"/>" class="thickbox" rel="link-images" title="<inp2:m_param name="alt"/>">
+											<img src="<inp2:m_param name="img_path"/>" title="<inp2:m_param name="alt"/>" alt="<inp2:m_param name="alt"/>" <inp2:m_param name="img_size"/> border="0" /><br />
+										</a>
+									</td>
+									<inp2:m_if check="m_Param" name="not_last">
+										<td>
+											<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="8" height="1" alt="" />
+										</td>
+									</inp2:m_if>
+								</inp2:m_DefineElement>
+								<!--## /ADDITIONAL IMAGE ELEMENT ##-->
+
+								<inp2:m_RenderElement design="content_box_subsection">
+									<inp2:m_Capture to_var="subsection_header">
+										<strong><inp2:m_Phrase name="lu_section_AdditionalImages"/></strong>
+									</inp2:m_Capture>
+
+									<table>
+										<tr>
+											<inp2:l_ListImages render_as="additional_image_element" types="additional" per_page="-1" no_table="1" MaxHeight="75" DefaultHeight="75" DefaultImage="platform/img/no_picture.gif"/>
+										</tr>
+									</table>
+									<br /><br />
+								</inp2:m_RenderElement>
+							</inp2:m_if>
+							<!--## //LIST LINK ADITIONAL IMAGES ##-->
+
+							<!--## LIST LINK FILES ##-->
+							<inp2:m_RenderElement design="content_box_subsection" data_exists="1">
+									<inp2:m_Capture to_var="subsection_header">
+										<strong><inp2:m_Phrase name="lu_section_Files"/></strong>
+									</inp2:m_Capture>
+									<table>
+										<inp2:l-file_PrintList render_as="file_element" columns="1" direction="V" per_page="10" />
+									</table>
+									<br /><br />
+							</inp2:m_RenderElement>
+							<!--## //LIST LINK FILES ##-->
+
+								<br />
+								<table>
+									<tr>
+										<td class="tab-left-padding <inp2:m_if check="l_HasValue" fields="cust_LinkAddress,cust_LinkCity,cust_LinkState,cust_LinkZipCode,cust_LinkCountry,cust_LinkPhone" condition="or" inverse>tab-bottom-line </inp2:m_if> <inp2:m_if check="m_GetConfig" name="l_EnableLinkContactForm">tab-bottom-line </inp2:m_if>">
+
+
+											<script language="JavaScript">
+												function tabLinkDetailPress(tab_name) {
+													if ( tab_name ==  "contact_information") {
+														document.getElementById("contact_information").style.display = '';
+														document.getElementById("request_information").style.display = 'none';
+														document.getElementById("tab_contact_information").className="active-tab";
+														document.getElementById("tab_request_information").className="inactive-tab";
+														}
+
+													if ( tab_name ==  "request_information") {
+														document.getElementById("contact_information").style.display = 'none';
+														document.getElementById("request_information").style.display = '';
+														document.getElementById("tab_contact_information").className="inactive-tab";
+														document.getElementById("tab_request_information").className="active-tab";
+													}
+												}
+											</script>
+
+
+											<table>
+												<tr>
+													<inp2:m_if check="l_HasValue" fields="cust_LinkAddress,cust_LinkCity,cust_LinkState,cust_LinkZipCode,cust_LinkCountry,cust_LinkPhone" condition="or">
+														<td id="tab_contact_information" class="<inp2:m_if check="m_Get" name="ContactForm_HasErrors">inactive-tab<inp2:m_else/>active-tab</inp2:m_if>">
+														<a href="#" onclick="tabLinkDetailPress('contact_information'); return false;"><inp2:m_Phrase name="lu_contact_information"/></a></td>
+														<td width="8">&nbsp;</td>
+													</inp2:m_if>
+
+													<inp2:m_if check="m_GetConfig" name="l_EnableLinkContactForm">
+														<inp2:m_if check="m_Get" name="ContactForm_HasErrors">
+															<td id="tab_request_information" class="active-tab">
+																<a href="#" onclick="tabLinkDetailPress('request_information'); return false;"><inp2:m_Phrase name="lu_Link_RequestInformation"/></a></td>
+														<inp2:m_else/>
+															<td id="tab_request_information" class="<inp2:m_if check="l_HasValue" fields="cust_LinkAddress,cust_LinkCity,cust_LinkState,cust_LinkZipCode,cust_LinkCountry,cust_LinkPhone" condition="or">inactive-tab<inp2:m_else/>active-tab</inp2:m_if>">
+														<a href="#" onclick="tabLinkDetailPress('request_information'); return false;"><inp2:m_Phrase name="lu_Link_RequestInformation"/></a></td>
+														</inp2:m_if>
+														<td width="8">&nbsp;</td>
+													</inp2:m_if>
+												</tr>
+											</table>
+
+										</td>
+									</tr>
+									<tr>
+										<td class="<inp2:m_if check="l_HasValue" fields="cust_LinkAddress,cust_LinkCity,cust_LinkState,cust_LinkZipCode,cust_LinkCountry,cust_LinkPhone" condition="or" inverse>tab-bottom-content </inp2:m_if> <inp2:m_if check="m_GetConfig" name="l_EnableLinkContactForm">tab-bottom-content </inp2:m_if>">
+
+
+										<inp2:m_if check="l_HasValue" fields="cust_LinkAddress,cust_LinkCity,cust_LinkState,cust_LinkZipCode,cust_LinkCountry,cust_LinkPhone" condition="or">
+											<div id="contact_information" <inp2:m_if check="m_Get" name="ContactForm_HasErrors">style="display:none"</inp2:m_if>
+											<table width="375">
+												<tr>
+													<td class="item-padding" align="left">
+
+														<table class="fullwidth">
+															<tr>
+																<td width="100">
+																	<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="3" height="1" alt=""/><br />
+																</td>
+																<td>
+																	<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="3" height="1" alt=""/><br />
+																</td>
+															</tr>
+
+															<inp2:m_if check="l_Field" name="cust_LinkAddress">
+
+															<tr>
+																<td class="field-name">
+																	<inp2:m_Phrase name="lu_fld_LinkAddress"/>:
+																</td>
+																<td>
+																	<inp2:l_Field name="cust_LinkAddress"/>
+																</td>
+															</tr>
+															<tr>
+																<td colspan="2">
+																	<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="3" height="1" alt=""/><br /></div>
+																</td>
+															</tr>
+															</inp2:m_if>
+
+															<inp2:m_if check="l_Field" name="cust_LinkCity">
+
+															<tr>
+																<td class="field-name">
+																	<inp2:m_Phrase name="lu_fld_LinkCity"/>:
+																</td>
+																<td>
+																	<inp2:l_Field name="cust_LinkCity"/>
+																</td>
+															</tr>
+															<tr>
+																<td colspan="2">
+																	<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="3" height="1" alt=""/><br /></div>
+																</td>
+															</tr>
+															</inp2:m_if>
+
+															<inp2:m_if check="l_Field" name="cust_LinkState">
+
+															<tr>
+																<td class="field-name">
+																	<inp2:m_Phrase name="lu_fld_LinkState"/>:
+																</td>
+																<td>
+																	<inp2:l_Field name="cust_LinkState"/>
+																</td>
+															</tr>
+															<tr>
+																<td colspan="2">
+																	<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="3" height="1" alt=""/><br /></div>
+																</td>
+															</tr>
+															</inp2:m_if>
+
+															<inp2:m_if check="l_Field" name="cust_LinkZipCode">
+
+															<tr>
+																<td class="field-name">
+																	<inp2:m_Phrase name="lu_fld_LinkZipCode"/>:
+																</td>
+																<td>
+																	<inp2:l_Field name="cust_LinkZipCode"/>
+																</td>
+															</tr>
+															<tr>
+																<td colspan="2">
+																	<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="3" height="1" alt=""/><br /></div>
+																</td>
+															</tr>
+															</inp2:m_if>
+
+															<inp2:m_if check="l_Field" name="cust_LinkCountry">
+
+															<tr>
+																<td class="field-name">
+																	<inp2:m_Phrase name="lu_fld_LinkCountry"/>:
+																</td>
+																<td>
+																	<inp2:l_Field name="cust_LinkCountry"/>
+																</td>
+															</tr>
+															<tr>
+																<td colspan="2">
+																	<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="3" height="1" alt=""/><br /></div>
+																</td>
+															</tr>
+															</inp2:m_if>
+
+															<inp2:m_if check="l_Field" name="cust_LinkPhone">
+
+															<tr>
+																<td class="field-name">
+																	<inp2:m_Phrase name="lu_fld_LinkPhone"/>:
+																</td>
+																<td>
+																	<inp2:l_Field name="cust_LinkPhone"/>
+																</td>
+															</tr>
+															<tr>
+																<td colspan="2">
+																	<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="3" height="1" alt=""/><br /></div>
+																</td>
+															</tr>
+															</inp2:m_if>
+
+															<inp2:m_if check="m_GetConfig" name="l_EnableGoogleMaps">
+																<inp2:m_if check="l_HasValue" fields="cust_LinkAddress,cust_LinkCity,cust_LinkCountry" condition="and">
+																	<tr>
+																		<td colspan="2" class="field-name">
+																			<div id="google_map_link">
+																				<a href="#" onclick="googleMapPress(); return false;"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/map_icon.gif" width="17" height="17" alt="" /></a> <a href="#" onclick="googleMapPress(); return false;"><inp2:m_Phrase name="lu_GoogleMaps"/></a><br />
+																			</div>
+																		</td>
+																	</tr>
+																	<tr>
+																		<td colspan="2">
+																			<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="3" height="1" alt=""/><br /></div>
+																		</td>
+																	</tr>
+																</inp2:m_if>
+															</inp2:m_if>
+
+														</table>
+														<br />
+
+
+														<!--## Google Maps ##-->
+														<inp2:m_if check="m_GetConfig" name="l_EnableGoogleMaps">
+															<inp2:m_if check="l_HasValue" fields="cust_LinkAddress,cust_LinkCity,cust_LinkCountry" condition="and">
+																<script language="JavaScript">
+																function googleMapPress(){
+																if (document.getElementById("google_map").style.display == 'none') {
+																	document.getElementById("google_map").style.display = '';
+																} else {document.getElementById("google_map").style.display = 'none';}}
+																</script>
+																<div id="google_map" style="display:none">
+
+																		<script type="text/javascript">  addLoadEvent(function() {showaddress('<inp2:l_GetGoogleAddress/>', '<inp2:l_GetGoogleAddress display_info="1"/>')}); </script>
+																		<div id="map" style="width: 350px; height: 300px; border: 1px solid #616161;"></div>
+																</div>
+																</inp2:m_if>
+														</inp2:m_if>
+														<!--## /Google Maps ##-->
+
+													</td>
+												</tr>
+											</table>
+											</div>
+										</inp2:m_if>
+
+										<!--## Contact Link Form ##-->
+										<inp2:m_if check="m_GetConfig" name="l_EnableLinkContactForm">
+											<div id="request_information" style="<inp2:m_if check="m_Get" name="ContactForm_HasErrors"><inp2:m_else/><inp2:m_if check="l_HasValue" fields="cust_LinkAddress,cust_LinkCity,cust_LinkState,cust_LinkZipCode,cust_LinkCountry,cust_LinkPhone" condition="or">display:none</inp2:m_if></inp2:m_if>">
+												<form method="post" action="<inp2:m_FormAction/>">
+													<table class="form-data" width="375">
+
+														<inp2:m_DefineElement name="inp_custom_textbox" field="" title="" style="" default="" multiline="0">
+															<tr>
+																<td class="field-name" nowrap="nowrap">
+																	<label for="<inp2:m_Param name="field"/>">
+																		<span <inp2:m_if check="m_Get" var="error_{$field}">class="field-required"</inp2:m_if>><inp2:m_Phrase name="$title"/></span>
+																		<span class="field-required"> *</span>:
+																	</label>
+																</td>
+																<td class="field-value">
+																	<inp2:m_if check="m_Get" var="error_{$field}">
+																		<span class="field-error"><inp2:m_Phrase name="lu_error_required"/></span><br/>
+																	</inp2:m_if>
+
+																	<inp2:m_if check="m_Param" name="multiline">
+																		<textarea class="input-text" name="<inp2:m_Param name="field"/>" style="<inp2:m_Param name="style"/>"><inp2:m_Get var="$field"/></textarea>
+																	<inp2:m_else/>
+																		<inp2:m_if check="m_Get" var="$field">
+																			<input type="text" name="<inp2:m_Param name="field"/>" class="input-text" style="<inp2:m_Param name="style"/>" value="<inp2:m_Get var="$field"/>">
+																		<inp2:m_else/>
+																			<input type="text" name="<inp2:m_Param name="field"/>" class="input-text" style="<inp2:m_Param name="style"/>" value="<inp2:m_if check="m_Param" name="default"><inp2:u_Field name="$default"/></inp2:m_if>"/>
+																		</inp2:m_if>
+																	</inp2:m_if>
+																	<input type="hidden" name="FormRequiredFields[]" value="<inp2:m_Param name="field"/>"/>
+																</td>
+															</tr>
+														</inp2:m_DefineElement>
+
+														<inp2:m_DefineElement name="inp_custom_captcha" style="" field="" is_last="0" title="lu_fld_Captcha">
+															<tr>
+																<td class="field-name" nowrap="nowrap">
+																	<label for="<inp2:m_Param name="field"/>">
+																		<span <inp2:m_if check="m_Get" var="error_{$field}">class="field-required"</inp2:m_if>><inp2:m_Phrase name="$title"/></span>
+																		<span class="field-required"> *</span>:
+																	</label>
+																</td>
+																<td class="field-value">
+																	<inp2:m_if check="m_Get" var="error_{$field}">
+																		<span class="field-error"><inp2:m_Phrase name="lu_captcha_error"/></span><br />
+																	</inp2:m_if>
+
+																	<img src="<inp2:m_Link template="platform/inc/captcha_image.elm" var="{$prefix}_captcha_code" w="150" h="30"/>" alt="<inp2:m_Phrase name="$title" no_editing="1"/>"/><br />
+																	<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="5" alt=""/><br />
+																	<input type="text" class="input-text" name="<inp2:m_Param name="field"/>" value="" tabindex="" style="<inp2:m_Param name="style"/>">
+																	<input type="hidden" name="FormRequiredFields[]" value="<inp2:m_Param name="field"/>"/>
+																</td>
+															</tr>
+															<inp2:m_RenderElement name="inp_edit_field_separator" is_last="$is_last"/>
+														</inp2:m_DefineElement>
+
+														<inp2:m_RenderElement name="inp_custom_textbox" field="ContactFormFullName" title="lu_fld_FullName" style="width: 200px;" default="FullName"/>
+														<inp2:m_RenderElement name="inp_custom_textbox" field="ContactFormEmail" title="lu_fld_Email" style="width: 200px;" default="Email"/>
+														<inp2:m_RenderElement name="inp_custom_textbox" field="ContactFormSubject" title="lu_fld_Subject" style="width: 200px;"/>
+														<inp2:m_RenderElement name="inp_custom_textbox" field="ContactFormBody" title="lu_fld_Body" style="width: 200px; height: 100px;" multiline="1"/>
+														<inp2:m_RenderElement name="inp_custom_captcha" field="ContactFormCaptcha" prefix="l" style="width: 200px;" />
+
+														<tr>
+															<td colspan="2" class="item-padding" align="right">
+																<input type="hidden" name="success_template" value="platform/thankyou"/>
+																<input type="hidden" name="success_label_header" value="lu_header_Thankyou"/>
+																<input type="hidden" name="success_label_body" value="lu_Link_ContactFormThankyouText"/>
+																<input class="button" type="submit" name="events[l][OnContactFormSubmit]" value="<inp2:m_Phrase label="lu_btn_Contact" no_editing="1"/>"/>
+																<input class="button" type="reset" name="events[l][OnContactFormReset]" value="<inp2:m_Phrase label="lu_btn_Reset" no_editing="1"/>"/>
+															</td>
+														</tr>
+													</table>
+												</form>
+											</div>
+										</inp2:m_if>
+										<!--## //Contact Link Form ##-->
+
+										</td>
+									</tr>
+								</table>
+					</td>
+				</tr>
+			</table>
+			</inp2:m_RenderElement>
+			<!--## // link details ##-->
+		</div>
+
+		<div class="movable-element">
+			<!--## link reviews ##-->
+			<inp2:m_DefineElement name="no_reviews">
+				<inp2:m_phrase name="lu_NoReviews"/>
+			</inp2:m_DefineElement>
+
+			<inp2:m_RenderElement design="content_box" data_exists="1" block_no_data="no_reviews">
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_section_Reviews"/> (<inp2:l-rev_TotalRecords/>)
+				</inp2:m_Capture>
+
+				<table>
+					<inp2:l-rev_PrintList render_as="review_element"/>
+				</table>
+
+				<inp2:m_include template="platform/elements/pagination.elm" prefix="l-rev"/>
+			</inp2:m_RenderElement>
+			<!--## // link reviews ##-->
+		</div>
+
+		<div class="movable-element">
+			<!--## RELATED TO LINK ITEMS ##-->
+			<inp2:m_RenderElement design="content_box" data_exists="1">
+				<inp2:m_Capture to_var="header">
+					<inp2:m_Phrase label="lu_title_RelatedItems"/>
+				</inp2:m_Capture>
+
+				<inp2:m_ModuleInclude template="elements/content_boxes/related_items.elm" related_to="Link" skip_prefixes="c" />
+			</inp2:m_RenderElement>
+			<!--## // RELATED TO LINK ITEMS ##-->
+		</div>
+	</div>
+
+	<!--## INCREASE HITS COUNTER ##-->
+	<inp2:l_RegisterHit/>
+
+</inp2:m_DefineElement>
+<!--## /MAIN CONTENT ##-->
+
+<!--## DESIGN TEMPLATE ##-->
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
+<!--## /DESIGN TEMPLATE ##-->
\ No newline at end of file
Index: themes/advanced/in-link/links/enhancements/extend_enhancement_confirm.tpl
===================================================================
--- themes/advanced/in-link/links/enhancements/extend_enhancement_confirm.tpl	(revision 0)
+++ themes/advanced/in-link/links/enhancements/extend_enhancement_confirm.tpl	(revision 0)
@@ -0,0 +1,92 @@
+<!--##
+<NAME>Link Enhancement Extension - Confirmation</NAME>
+<DESC>Link Enhancement Extension Confirmation page</DESC>
+<SECTION>Platform||Links||Enhancements</SECTION>
+##-->
+
+<inp2:m_RequireLogin template="platform/login/register"/>
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_phrase name="lu_title_ConfirmExtendEnhancement"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-link/elements/side_boxes/action_box.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-link/elements/side_boxes/new.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-link/elements/side_boxes/hot.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-link/elements/side_boxes/pop.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-link/elements/side_boxes/pick.elm" design="blue_box" data_exists="1"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_MyAccount,lu_title_MyLinks,__item__,lu_title_ConfirmExtendEnhancement" templates="platform/my_account/my_account,in-link/my_account/my_links,__default__,inlinks/links/enhancements/extend_enhancement_confirm"/>
+		</div>
+		<div class="movable-element">
+			<!-- enhancement extension confirmation -->
+			<inp2:m_RenderElement design="content_box">
+
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_title_ConfirmExtendEnhancement"/>
+				</inp2:m_Capture>
+
+				<form method="POST" action="<inp2:m_FormAction />">
+					<table>
+						<tr>
+							<td>
+								<h2><inp2:m_phrase label="lu_AreYouSureToExtendEnhancement" /></h2>
+							</td>
+						</tr>
+
+						<tr>
+							<td>
+								<inp2:m_Phrase label="lu_ExtendEnhancementConfirmation" />
+							</td>
+						</tr>
+
+						<tr>
+							<td>
+								<br />
+								<inp2:m_if check="l_EnhanceUsingInCommerce">
+									<input type="hidden" name="shop_cart_template" value="in-commerce/checkout/shop_cart" />
+									<input type="submit" class="button" name="events[ord][OnAddVirtualProductToCart]" value="<inp2:m_phrase label="lu_btn_Yes" />" />
+								<inp2:m_else />
+									<input type="hidden" name="success_template" value="in-link/my_account/my_links" />
+									<input type="submit" class="button" name="events[ls][OnExtendEnhancement]" value="<inp2:m_Phrase label="lu_btn_Yes" />" />
+								</inp2:m_if>
+								<input type="hidden" name="cancel_template" value="in-link/my_account/my_links" />
+								<input type="submit" class="button" name="events[ls][OnCancel]" value="<inp2:m_Phrase label="lu_btn_No" />" />
+							</td>
+						</tr>
+					</table>
+				</form>
+			</inp2:m_RenderElement>
+			<!-- // enhancement extension confirmation -->
+		</div>
+	</div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: themes/advanced/in-link/links/enhancements/enhancement_details.tpl
===================================================================
--- themes/advanced/in-link/links/enhancements/enhancement_details.tpl	(revision 0)
+++ themes/advanced/in-link/links/enhancements/enhancement_details.tpl	(revision 0)
@@ -0,0 +1,39 @@
+<!--##
+<NAME>Link Enhancement Details</NAME>
+<DESC>Link Enhancement Details page</DESC>
+<SECTION>Platform||Links||Enhancements</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_phrase name="lu_title_EnhancementDetails"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<inp2:m_DefineElement name="content">
+	<!-- enhancement details -->
+	<inp2:m_RenderElement design="content_box">
+		<inp2:m_Capture to_var="header">
+			<inp2:m_phrase name="lu_title_EnhancementDetails"/>
+		</inp2:m_Capture>
+
+		<strong><inp2:m_Phrase name="lu_fld_Name"/></strong>:
+		<inp2:lst_Field name="Name" /><br />
+
+		<inp2:m_if check="lst_Field" name="Description">
+			<inp2:lst_Field name="Description"/><br />
+		</inp2:m_if>
+		<br />
+
+		<strong><inp2:m_Phrase name="lu_fld_Duration"/></strong>:
+		<inp2:lst_Field name="Duration" /> <inp2:lst_Field name="DurationType" /><br />
+
+		<inp2:m_if check="m_ModuleEnabled" module="In-Commerce">
+			<strong><inp2:m_Phrase name="lu_fld_Price"/></strong>:
+			<inp2:lst_Field name="Price" currency="selected"/><br />
+		</inp2:m_if>
+	</inp2:m_RenderElement>
+	<!-- // enhancement details -->
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/popup_design.des" pass_params="1"/>
\ No newline at end of file
Index: themes/advanced/in-link/links/enhancements/enhance_link.tpl
===================================================================
--- themes/advanced/in-link/links/enhancements/enhance_link.tpl	(revision 0)
+++ themes/advanced/in-link/links/enhancements/enhance_link.tpl	(revision 0)
@@ -0,0 +1,102 @@
+<!--##
+<NAME>Link Enhancement</NAME>
+<DESC>Link Enhancement Form</DESC>
+<SECTION>Platform||Links||Enhancements</SECTION>
+##-->
+
+<inp2:m_RequireLogin login_template="platform/login/register"/>
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_phrase name="lu_title_EnhanceLink"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-link/elements/side_boxes/action_box.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-link/elements/side_boxes/new.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-link/elements/side_boxes/hot.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-link/elements/side_boxes/pop.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-link/elements/side_boxes/pick.elm" design="blue_box" data_exists="1"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_MyAccount,lu_title_MyLinks,__item__,lu_title_EnhanceLink" templates="platform/my_account/my_account,in-link/my_account/my_links,__default__,inlinks/links/enhancements/enhance_link"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement design="content_box" data_exists="1" block_no_data="no_enhancements">
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_title_EnhanceLink"/>
+				</inp2:m_Capture>
+
+				<inp2:m_RenderElement name="subsection" title="lu_ChooseListingType"/>
+
+				<inp2:m_include template="in-link/elements/enhancements.elm"/>
+
+				<inp2:m_if check="m_ModuleEnabled" module="In-Commerce">
+					<inp2:m_Phrase label="lu_notice_SubscriptionAddToCart" /><br /><br />
+				</inp2:m_if>
+
+				<form method="POST" action="<inp2:m_Link pass="all,l,ls"/>">
+					<table class="fullwidth">
+						<tr>
+							<td colspan="<inp2:m_if check="m_ModuleEnabled" module="In-Commerce">4<inp2:m_else/>3</inp2:m_if>">
+								<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="1" alt="" /></div>
+							</td>
+						</tr>
+						<tr class="sub-section-header">
+							<td colspan="2">
+								<inp2:m_Phrase name="lu_col_Name"/>
+							</td>
+							<td>
+								<inp2:m_Phrase name="lu_col_Duration"/>
+							</td>
+
+							<inp2:m_if check="m_ModuleEnabled" module="In-Commerce">
+								<td>
+									<inp2:m_Phrase name="lu_col_Price"/>
+								</td>
+							</inp2:m_if>
+						</tr>
+						<inp2:lst_PrintList render_as="listing_type_element"/>
+					</table>
+
+					<table class="fullwidth">
+						<inp2:m_RenderElement design="inp_edit_buttons">
+							<input type="submit" class="button" name="events[ls][OnRequestEnhancement]" value="<inp2:m_Phrase label="lu_btn_EnhanceLink" />" no_editing="1"/>
+							<input type="submit" class="button" name="events[ls][OnCancel]" value="<inp2:m_Phrase label="lu_btn_Cancel" />" no_editing="1"/>
+
+							<input type="hidden" name="shop_cart_template" value="in-commerce/checkout/shop_cart" />
+							<input type="hidden" name="success_template" value="in-link/links/enhancements/enhance_confirm" />
+							<input type="hidden" name="cancel_template" value="in-link/my_account/my_links" />
+						</inp2:m_RenderElement>
+					</table>
+				</form>
+			</inp2:m_RenderElement>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: themes/advanced/in-link/links/enhancements/extend_enhancement.tpl
===================================================================
--- themes/advanced/in-link/links/enhancements/extend_enhancement.tpl	(revision 0)
+++ themes/advanced/in-link/links/enhancements/extend_enhancement.tpl	(revision 0)
@@ -0,0 +1,94 @@
+<!--##
+<NAME>Link Enhancement Extension</NAME>
+<DESC>Link Enhancement Extension page</DESC>
+<SECTION>Platform||Links||Enhancements</SECTION>
+##-->
+
+<inp2:m_RequireLogin template="platform/login/register"/>
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_phrase name="lu_title_ExtendCancelEnhancement"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-link/elements/side_boxes/action_box.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-link/elements/side_boxes/new.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-link/elements/side_boxes/hot.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-link/elements/side_boxes/pop.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-link/elements/side_boxes/pick.elm" design="blue_box" data_exists="1"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_MyAccount,lu_title_MyLinks,__item__,lu_title_ExtendCancelEnhancement" templates="platform/my_account/my_account,in-link/my_account/my_links,__default__,inlinks/links/enhancements/extend_enhancement"/>
+		</div>
+		<div class="movable-element">
+			<!-- extend/cancel enhancment -->
+			<inp2:m_RenderElement design="content_box">
+
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_title_ExtendCancelEnhancement"/>
+				</inp2:m_Capture>
+
+				<table>
+					<tr>
+						<td>
+							<strong><inp2:m_Phrase label="lu_fld_ListingTypeName" /></strong>:
+						</td>
+						<td>
+							<inp2:l_ListingTypeField name="Name" />
+						</td>
+					</tr>
+					<tr>
+						<td>
+							<strong><inp2:m_Phrase label="lu_fld_ListingExpirationDate" /></strong>:
+						</td>
+						<td>
+							<inp2:l_EnhancementField name="ExpiresOn_date" />
+						</td>
+					</tr>
+				</table>
+				<br />
+
+				<inp2:m_if check="l_IsRenewalPeriod">
+					<input type="button" class="button" onclick="redirect('<inp2:l_LinkLink template="in-link/links/enhancements/extend_enhancement_confirm"/>');" value="<inp2:m_Phrase label="lu_btn_ExtendEnhancement" no_editing="1"/>"/>
+				</inp2:m_if>
+
+				<inp2:m_if check="l_IsReocurringEnhancement">
+					<br />
+					<inp2:m_Phrase label="lu_EnhancementSetToRenewOn" /> <inp2:l_EnhancementField name="ExpiresOn_date" />,
+					<a href="<inp2:l_LinkLink template="in-link/links/enhancements/cancel_enhancement_confirm"/>"><inp2:m_Phrase label="lu_ClickHere" /></a>
+					<inp2:m_Phrase label="lu_ToCancelEnhancement" />
+				<inp2:m_else />
+					<input type="button" class="button" onclick="redirect('<inp2:l_LinkLink template="in-link/links/enhancements/cancel_enhancement_confirm"/>');" value="<inp2:m_Phrase label="lu_btn_CancelEnhancement" />" no_editing="1"/>
+				</inp2:m_if>
+			</inp2:m_RenderElement>
+			<!-- // extend/cancel enhancment -->
+		</div>
+	</div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: themes/advanced/in-link/links/enhancements/enhance_confirm.tpl
===================================================================
--- themes/advanced/in-link/links/enhancements/enhance_confirm.tpl	(revision 0)
+++ themes/advanced/in-link/links/enhancements/enhance_confirm.tpl	(revision 0)
@@ -0,0 +1,49 @@
+<!--##
+<NAME>Link Enhancement - Confirmation</NAME>
+<DESC>Link Enhancement Confirmation page</DESC>
+<SECTION>Platform||Links||Enhancements</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_phrase name="lu_title_EnhancementConfirmation"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-link/elements/side_boxes/action_box.elm" design="blue_box"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_MyAccount,lu_title_MyLinks,__item__,lu_title_EnhancementConfirmation" templates="platform/my_account/my_account,in-link/my_account/my_links,__default__,in-link/links/enhancements/enhance_confirm"/>
+		</div>
+		<div class="movable-element">
+			<!-- enhance link confirm -->
+			<inp2:m_RenderElement design="content_box">
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_title_EnhancementConfirmation"/>
+				</inp2:m_Capture>
+
+				<inp2:m_phrase name="lu_text_EnhancementConfirmation"/><br /><br />
+				<a href="<inp2:m_Link template="in-link/my_account/my_links" m_cat_id="0" m_cat_page="1"/>"><inp2:m_Phrase name="lu_text_MyLinks"/></a>
+			</inp2:m_RenderElement>
+			<!-- // enhance link confirm -->
+		</div>
+	</div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: themes/advanced/in-link/links/enhancements/cancel_enhancement_confirm.tpl
===================================================================
--- themes/advanced/in-link/links/enhancements/cancel_enhancement_confirm.tpl	(revision 0)
+++ themes/advanced/in-link/links/enhancements/cancel_enhancement_confirm.tpl	(revision 0)
@@ -0,0 +1,87 @@
+<!--##
+<NAME>Cancel Link Enhancement - Confirmation</NAME>
+<DESC>Cancel Link Enhancement Confirmation page</DESC>
+<SECTION>Platform||Links||Enhancements</SECTION>
+##-->
+
+<inp2:m_RequireLogin template="platform/login/register"/>
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_phrase name="lu_title_ConfirmCancelEnhancement"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-link/elements/side_boxes/action_box.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-link/elements/side_boxes/new.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-link/elements/side_boxes/hot.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-link/elements/side_boxes/pop.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-link/elements/side_boxes/pick.elm" design="blue_box" data_exists="1"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_MyAccount,lu_title_MyLinks,__item__,lu_title_ConfirmCancelEnhancement" templates="platform/my_account/my_account,in-link/my_account/my_links,__default__,inlinks/links/enhancements/cancel_enhancement_confirm"/>
+		</div>
+		<div class="movable-element">
+			<!-- enhancement extension confirmation -->
+			<inp2:m_RenderElement design="content_box">
+
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_title_ConfirmCancelEnhancement"/>
+				</inp2:m_Capture>
+
+				<form method="POST" action="<inp2:m_FormAction />">
+					<table>
+						<tr>
+							<td>
+								<h2><inp2:m_phrase label="lu_AreYouSureToCancelEnhancement" /></h2>
+							</td>
+						</tr>
+
+						<tr>
+							<td>
+								<inp2:m_Phrase label="lu_CancelEnhancementConfirmation" />
+							</td>
+						</tr>
+
+						<tr>
+							<td>
+								<br />
+								<input type="hidden" name="success_template" value="in-link/my_account/my_links" />
+								<input type="submit" class="button" name="events[ls][OnCancelEnhancement]" value="<inp2:m_phrase label="lu_btn_Yes" />" />
+								<input type="hidden" name="cancel_template" value="in-link/my_account/my_links" />
+								<input type="submit" class="button" name="events[ls][OnCancel]" value="<inp2:m_Phrase label="lu_btn_No" />" />
+							</td>
+						</tr>
+					</table>
+				</form>
+			</inp2:m_RenderElement>
+			<!-- // enhancement extension confirmation -->
+		</div>
+	</div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: themes/advanced/in-link/links/modify_pending_confirm.tpl
===================================================================
--- themes/advanced/in-link/links/modify_pending_confirm.tpl	(revision 0)
+++ themes/advanced/in-link/links/modify_pending_confirm.tpl	(revision 0)
@@ -0,0 +1,49 @@
+<!--##
+<NAME>Link Modification Pending - Confirmation</NAME>
+<DESC>Link Modification Pending  Confirmation page</DESC>
+<SECTION>Platform||Links</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_phrase name="lu_title_ModifyLinkPendingConfirm"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-link/elements/side_boxes/action_box.elm" design="blue_box"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_MyAccount,lu_title_MyLinks,__item__,lu_title_ModifyLinkPendingConfirm" templates="platform/my_account/my_account,in-link/my_account/my_links,__default__,in-link/links/modify_pending_confirm"/>
+		</div>
+		<div class="movable-element">
+			<!-- modify link pending confirm -->
+			<inp2:m_RenderElement design="content_box">
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_title_ModifyLinkPendingConfirm"/>
+				</inp2:m_Capture>
+
+				<inp2:m_phrase name="lu_text_ModifyLinkPendingConfirm"/><br /><br />
+				<a href="<inp2:m_Link template="in-link/my_account/my_links" m_cat_id="0" m_cat_page="1"/>"><inp2:m_phrase name="lu_text_MyLinks"/></a>
+			</inp2:m_RenderElement>
+			<!-- // modify link pending confirm -->
+		</div>
+	</div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: themes/advanced/in-link/links/link_paid.tpl
===================================================================
--- themes/advanced/in-link/links/link_paid.tpl	(revision 0)
+++ themes/advanced/in-link/links/link_paid.tpl	(revision 0)
@@ -0,0 +1,490 @@
+<!--##
+<NAME>Links - Details Design (paid)</NAME>
+<DESC>General design template for Paid Link Details section</DESC>
+<SECTION>Platform||Links</SECTION>
+##-->
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:l_Field name="Name"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-link/elements/side_boxes/action_box.elm" item_actions="1" design="blue_box"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<!--## MAIN CONTENT ##-->
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="__item__" templates="__default__" show_category="1"/>
+		</div>
+		<div class="movable-element">
+			<!-- link details -->
+			<inp2:m_RenderElement design="content_box">
+
+				<inp2:m_Capture to_var="header">
+					<strong><inp2:l_Field name="Name"/></strong>
+				</inp2:m_Capture>
+
+				<table class="fullwidth table-border">
+					<tr>
+						<td class="item-padding">
+
+							<table class="fullwidth">
+								<tr>
+									<td width="25" valign="top">
+										<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/link_icon.gif" width="16" height="23" alt="" />
+									</td>
+									<td valign="top">
+
+										<span class="text-title">
+											<a href="<inp2:l_LinkLink template="in-link/elements/visit_link.elm"/>" target="_blank"><inp2:l_Field name="Name"/></a>
+										</span>
+
+										<inp2:m_if check="l_Field" name="IsHot"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_hot.gif" alt="<inp2:m_Phrase name="lu_Hot" no_editing="1"/>"/></inp2:m_if>
+										<inp2:m_if check="l_Field" name="IsNew"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_new.gif" alt="<inp2:m_Phrase name="lu_New" no_editing="1"/>"/></inp2:m_if>
+										<inp2:m_if check="l_Field" name="IsPop"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_popular.gif" alt="<inp2:m_Phrase name="lu_Pop" no_editing="1"/>"/></inp2:m_if>
+										<inp2:m_if check="l_IsEditorsPick"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_pick.gif" alt="<inp2:m_Phrase name="lu_Pick" no_editing="1"/>"/></inp2:m_if>
+										<inp2:m_if check="l_IsFavorite"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_favorite.gif" alt="<inp2:m_Phrase name="lu_Favorite" no_editing="1"/>"/></inp2:m_if>
+										<inp2:l_VotesIndicator render_as="rating_element"/>
+
+										<br />
+
+										<span class="item-statistics">
+											<inp2:m_phrase name="lu_Added"/>: <inp2:l_Field name="CreatedOn" format="_regional_DateFormat"/>,
+											<inp2:m_phrase name="lu_Hits"/>: <inp2:l_Field name="Hits"/>,
+											<inp2:m_phrase name="lu_Rating"/>: <inp2:l_Field name="CachedRating"/>,
+											<inp2:m_phrase name="lu_Reviews"/>: <inp2:l_Field name="CachedReviewsQty"/>,
+											<inp2:m_phrase name="lu_Votes"/>: <inp2:l_Field name="CachedVotesQty"/>
+										</span>
+									</td>
+								</tr>
+							</table>
+
+							<table>
+								<tr>
+									<td class="picture-padding" style="padding-left:25px" valign="top">
+										<inp2:m_if check="l_ImageSrc" MaxWidth="fullsize">
+										<a href="<inp2:l_ImageSrc MaxWidth="fullsize" />" class="thickbox" rel="link-images" title="<inp2:l_Field name='Name' html_escape='1'/>">
+											<inp2:l_Image render_as="image_element" Primary="1" MaxWidth="thumbnail" DefaultWidth="150" DefaultImage="platform/img/no_picture.gif" /><br />
+										</a>
+										<inp2:m_else/>
+											<inp2:l_Image render_as="image_element" Primary="1" MaxWidth="thumbnail" DefaultWidth="150" DefaultImage="platform/img/no_picture.gif"/><br />
+										</inp2:m_if>
+									</td>
+									<td class="text-padding" valign="top">
+										<inp2:l_Field name="Description" nl2br="1"/>
+
+										<br/><br/>
+										<inp2:m_if check="l_IsFavorite">
+											<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/ic_removefromfav.gif" width="11" height="10" alt="" /> <a class="item-action" href="<inp2:l_FavoriteToggleLink/>"><inp2:m_phrase name="lu_btn_RemoveFromFavorites"/></a>
+										<inp2:m_else/>
+											<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/ic_addtofav.gif" width="11" height="10" alt="" /> <a class="item-action" href="<inp2:l_FavoriteToggleLink template="platform/my_account/my_favorites"/>"><inp2:m_phrase name="lu_btn_AddToFavorites"/></a>
+										</inp2:m_if>
+
+									</td>
+								</tr>
+							</table>
+							<br />
+
+							<!--## LIST LINK ADITIONAL IMAGES ##-->
+							<inp2:m_if check="l_HasAdditionalImages">
+
+								<!--## ADDITIONAL IMAGE ELEMENT ##-->
+								<inp2:m_DefineElement name="additional_image_element">
+									<td>
+										<a href="<inp2:ImageSrc MaxWidth="fullsize"/>" class="thickbox" rel="link-images" title="<inp2:m_param name="alt"/>">
+											<img src="<inp2:m_param name="img_path"/>" title="<inp2:m_param name="alt"/>" alt="<inp2:m_param name="alt"/>" <inp2:m_param name="img_size"/> border="0" /><br />
+										</a>
+									</td>
+									<inp2:m_if check="m_Param" name="not_last">
+										<td>
+											<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="8" height="1" alt="" />
+										</td>
+									</inp2:m_if>
+								</inp2:m_DefineElement>
+								<!--## /ADDITIONAL IMAGE ELEMENT ##-->
+
+								<inp2:m_RenderElement design="content_box_subsection">
+									<inp2:m_Capture to_var="subsection_header">
+										<strong><inp2:m_Phrase name="lu_section_AdditionalImages"/></strong>
+									</inp2:m_Capture>
+
+									<table>
+										<tr>
+											<inp2:l_ListImages render_as="additional_image_element" types="additional" per_page="-1" no_table="1" MaxHeight="75" DefaultHeight="75" DefaultImage="platform/img/no_picture.gif"/>
+										</tr>
+									</table>
+									<br /><br />
+								</inp2:m_RenderElement>
+							</inp2:m_if>
+							<!--## //LIST LINK ADITIONAL IMAGES ##-->
+
+							<!--## LIST LINK FILES ##-->
+							<inp2:m_RenderElement design="content_box_subsection" data_exists="1">
+									<inp2:m_Capture to_var="subsection_header">
+										<strong><inp2:m_Phrase name="lu_section_Files"/></strong>
+									</inp2:m_Capture>
+									<table>
+										<inp2:l-file_PrintList render_as="file_element" columns="1" direction="V" per_page="10" />
+									</table>
+									<br /><br />
+							</inp2:m_RenderElement>
+							<!--## //LIST LINK FILES ##-->
+
+								<br />
+								<table>
+									<tr>
+										<td class="tab-left-padding <inp2:m_if check="l_HasValue" fields="cust_LinkAddress,cust_LinkCity,cust_LinkState,cust_LinkZipCode,cust_LinkCountry,cust_LinkPhone" condition="or" inverse>tab-bottom-line </inp2:m_if> <inp2:m_if check="m_GetConfig" name="l_EnableLinkContactForm">tab-bottom-line </inp2:m_if>">
+
+
+											<script language="JavaScript">
+												function tabLinkDetailPress(tab_name) {
+													if ( tab_name ==  "contact_information") {
+														document.getElementById("contact_information").style.display = '';
+														document.getElementById("request_information").style.display = 'none';
+														document.getElementById("tab_contact_information").className="active-tab";
+														document.getElementById("tab_request_information").className="inactive-tab";
+														}
+
+													if ( tab_name ==  "request_information") {
+														document.getElementById("contact_information").style.display = 'none';
+														document.getElementById("request_information").style.display = '';
+														document.getElementById("tab_contact_information").className="inactive-tab";
+														document.getElementById("tab_request_information").className="active-tab";
+													}
+												}
+											</script>
+
+
+											<table>
+												<tr>
+													<inp2:m_if check="l_HasValue" fields="cust_LinkAddress,cust_LinkCity,cust_LinkState,cust_LinkZipCode,cust_LinkCountry,cust_LinkPhone" condition="or">
+														<td id="tab_contact_information" class="<inp2:m_if check="m_Get" name="ContactForm_HasErrors">inactive-tab<inp2:m_else/>active-tab</inp2:m_if>">
+														<a href="#" onclick="tabLinkDetailPress('contact_information'); return false;"><inp2:m_Phrase name="lu_contact_information"/></a></td>
+														<td width="8">&nbsp;</td>
+													</inp2:m_if>
+
+													<inp2:m_if check="m_GetConfig" name="l_EnableLinkContactForm">
+														<inp2:m_if check="m_Get" name="ContactForm_HasErrors">
+															<td id="tab_request_information" class="active-tab">
+																<a href="#" onclick="tabLinkDetailPress('request_information'); return false;"><inp2:m_Phrase name="lu_Link_RequestInformation"/></a></td>
+														<inp2:m_else/>
+															<td id="tab_request_information" class="<inp2:m_if check="l_HasValue" fields="cust_LinkAddress,cust_LinkCity,cust_LinkState,cust_LinkZipCode,cust_LinkCountry,cust_LinkPhone" condition="or">inactive-tab<inp2:m_else/>active-tab</inp2:m_if>">
+														<a href="#" onclick="tabLinkDetailPress('request_information'); return false;"><inp2:m_Phrase name="lu_Link_RequestInformation"/></a></td>
+														</inp2:m_if>
+														<td width="8">&nbsp;</td>
+													</inp2:m_if>
+												</tr>
+											</table>
+
+										</td>
+									</tr>
+									<tr>
+										<td class="<inp2:m_if check="l_HasValue" fields="cust_LinkAddress,cust_LinkCity,cust_LinkState,cust_LinkZipCode,cust_LinkCountry,cust_LinkPhone" condition="or" inverse>tab-bottom-content </inp2:m_if> <inp2:m_if check="m_GetConfig" name="l_EnableLinkContactForm">tab-bottom-content </inp2:m_if>">
+
+
+										<inp2:m_if check="l_HasValue" fields="cust_LinkAddress,cust_LinkCity,cust_LinkState,cust_LinkZipCode,cust_LinkCountry,cust_LinkPhone" condition="or">
+											<div id="contact_information" <inp2:m_if check="m_Get" name="ContactForm_HasErrors">style="display:none"</inp2:m_if>
+											<table width="375">
+												<tr>
+													<td class="item-padding" align="left">
+
+														<table class="fullwidth">
+															<tr>
+																<td width="100">
+																	<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="3" height="1" alt=""/><br />
+																</td>
+																<td>
+																	<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="3" height="1" alt=""/><br />
+																</td>
+															</tr>
+
+															<inp2:m_if check="l_Field" name="cust_LinkAddress">
+
+															<tr>
+																<td class="field-name">
+																	<inp2:m_Phrase name="lu_fld_LinkAddress"/>:
+																</td>
+																<td>
+																	<inp2:l_Field name="cust_LinkAddress"/>
+																</td>
+															</tr>
+															<tr>
+																<td colspan="2">
+																	<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="3" height="1" alt=""/><br /></div>
+																</td>
+															</tr>
+															</inp2:m_if>
+
+															<inp2:m_if check="l_Field" name="cust_LinkCity">
+
+															<tr>
+																<td class="field-name">
+																	<inp2:m_Phrase name="lu_fld_LinkCity"/>:
+																</td>
+																<td>
+																	<inp2:l_Field name="cust_LinkCity"/>
+																</td>
+															</tr>
+															<tr>
+																<td colspan="2">
+																	<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="3" height="1" alt=""/><br /></div>
+																</td>
+															</tr>
+															</inp2:m_if>
+
+															<inp2:m_if check="l_Field" name="cust_LinkState">
+
+															<tr>
+																<td class="field-name">
+																	<inp2:m_Phrase name="lu_fld_LinkState"/>:
+																</td>
+																<td>
+																	<inp2:l_Field name="cust_LinkState"/>
+																</td>
+															</tr>
+															<tr>
+																<td colspan="2">
+																	<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="3" height="1" alt=""/><br /></div>
+																</td>
+															</tr>
+															</inp2:m_if>
+
+															<inp2:m_if check="l_Field" name="cust_LinkZipCode">
+
+															<tr>
+																<td class="field-name">
+																	<inp2:m_Phrase name="lu_fld_LinkZipCode"/>:
+																</td>
+																<td>
+																	<inp2:l_Field name="cust_LinkZipCode"/>
+																</td>
+															</tr>
+															<tr>
+																<td colspan="2">
+																	<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="3" height="1" alt=""/><br /></div>
+																</td>
+															</tr>
+															</inp2:m_if>
+
+															<inp2:m_if check="l_Field" name="cust_LinkCountry">
+
+															<tr>
+																<td class="field-name">
+																	<inp2:m_Phrase name="lu_fld_LinkCountry"/>:
+																</td>
+																<td>
+																	<inp2:l_Field name="cust_LinkCountry"/>
+																</td>
+															</tr>
+															<tr>
+																<td colspan="2">
+																	<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="3" height="1" alt=""/><br /></div>
+																</td>
+															</tr>
+															</inp2:m_if>
+
+															<inp2:m_if check="l_Field" name="cust_LinkPhone">
+
+															<tr>
+																<td class="field-name">
+																	<inp2:m_Phrase name="lu_fld_LinkPhone"/>:
+																</td>
+																<td>
+																	<inp2:l_Field name="cust_LinkPhone"/>
+																</td>
+															</tr>
+															<tr>
+																<td colspan="2">
+																	<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="3" height="1" alt=""/><br /></div>
+																</td>
+															</tr>
+															</inp2:m_if>
+
+															<inp2:m_if check="m_GetConfig" name="l_EnableGoogleMaps">
+																<inp2:m_if check="l_HasValue" fields="cust_LinkAddress,cust_LinkCity,cust_LinkCountry" condition="and">
+																	<tr>
+																		<td colspan="2" class="field-name">
+																			<div id="google_map_link">
+																				<a href="#" onclick="googleMapPress(); return false;"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/map_icon.gif" width="17" height="17" alt="" /></a> <a href="#" onclick="googleMapPress(); return false;"><inp2:m_Phrase name="lu_GoogleMaps"/></a><br />
+																			</div>
+																		</td>
+																	</tr>
+																	<tr>
+																		<td colspan="2">
+																			<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="3" height="1" alt=""/><br /></div>
+																		</td>
+																	</tr>
+																</inp2:m_if>
+															</inp2:m_if>
+
+														</table>
+														<br />
+
+
+														<!--## Google Maps ##-->
+														<inp2:m_if check="m_GetConfig" name="l_EnableGoogleMaps">
+															<inp2:m_if check="l_HasValue" fields="cust_LinkAddress,cust_LinkCity,cust_LinkCountry" condition="and">
+																<script language="JavaScript">
+																function googleMapPress(){
+																if (document.getElementById("google_map").style.display == 'none') {
+																	document.getElementById("google_map").style.display = '';
+																} else {document.getElementById("google_map").style.display = 'none';}}
+																</script>
+																<div id="google_map" style="display:none">
+
+																		<script type="text/javascript">  addLoadEvent(function() {showaddress('<inp2:l_GetGoogleAddress/>', '<inp2:l_GetGoogleAddress display_info="1"/>')}); </script>
+																		<div id="map" style="width: 350px; height: 300px; border: 1px solid #616161;"></div>
+																</div>
+																</inp2:m_if>
+														</inp2:m_if>
+														<!--## /Google Maps ##-->
+
+													</td>
+												</tr>
+											</table>
+											</div>
+										</inp2:m_if>
+
+										<!--## Contact Link Form ##-->
+										<inp2:m_if check="m_GetConfig" name="l_EnableLinkContactForm">
+											<div id="request_information" style="<inp2:m_if check="m_Get" name="ContactForm_HasErrors"><inp2:m_else/><inp2:m_if check="l_HasValue" fields="cust_LinkAddress,cust_LinkCity,cust_LinkState,cust_LinkZipCode,cust_LinkCountry,cust_LinkPhone" condition="or">display:none</inp2:m_if></inp2:m_if>">
+												<form method="post" action="<inp2:m_FormAction/>">
+													<table class="form-data" width="375">
+
+														<inp2:m_DefineElement name="inp_custom_textbox" field="" title="" style="" default="" multiline="0">
+															<tr>
+																<td class="field-name" nowrap="nowrap">
+																	<label for="<inp2:m_Param name="field"/>">
+																		<span <inp2:m_if check="m_Get" var="error_{$field}">class="field-required"</inp2:m_if>><inp2:m_Phrase name="$title"/></span>
+																		<span class="field-required"> *</span>:
+																	</label>
+																</td>
+																<td class="field-value">
+																	<inp2:m_if check="m_Get" var="error_{$field}">
+																		<span class="field-error"><inp2:m_Phrase name="lu_error_required"/></span><br/>
+																	</inp2:m_if>
+
+																	<inp2:m_if check="m_Param" name="multiline">
+																		<textarea class="input-text" name="<inp2:m_Param name="field"/>" style="<inp2:m_Param name="style"/>"><inp2:m_Get var="$field"/></textarea>
+																	<inp2:m_else/>
+																		<inp2:m_if check="m_Get" var="$field">
+																			<input type="text" name="<inp2:m_Param name="field"/>" class="input-text" style="<inp2:m_Param name="style"/>" value="<inp2:m_Get var="$field"/>">
+																		<inp2:m_else/>
+																			<input type="text" name="<inp2:m_Param name="field"/>" class="input-text" style="<inp2:m_Param name="style"/>" value="<inp2:m_if check="m_Param" name="default"><inp2:u_Field name="$default"/></inp2:m_if>"/>
+																		</inp2:m_if>
+																	</inp2:m_if>
+																	<input type="hidden" name="FormRequiredFields[]" value="<inp2:m_Param name="field"/>"/>
+																</td>
+															</tr>
+														</inp2:m_DefineElement>
+
+														<inp2:m_DefineElement name="inp_custom_captcha" style="" field="" title="lu_fld_Captcha">
+															<tr>
+																<td class="field-name" nowrap="nowrap">
+																	<label for="<inp2:m_Param name="field"/>">
+																		<span <inp2:m_if check="m_Get" var="error_{$field}">class="field-required"</inp2:m_if>><inp2:m_Phrase name="$title"/></span>
+																		<span class="field-required"> *</span>:
+																	</label>
+																</td>
+																<td class="field-value">
+																	<inp2:m_if check="m_Get" var="error_{$field}">
+																		<span class="field-error"><inp2:m_Phrase name="lu_captcha_error"/></span><br />
+																	</inp2:m_if>
+
+																	<img src="<inp2:m_Link template="platform/inc/captcha_image.elm" var="{$prefix}_captcha_code" w="150" h="30"/>" alt="<inp2:m_Phrase name="$title" no_editing="1"/>"/><br />
+																	<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="5" alt=""/><br />
+																	<input type="text" class="input-text" name="<inp2:m_Param name="field"/>" value="" tabindex="" style="<inp2:m_Param name="style"/>">
+																	<input type="hidden" name="FormRequiredFields[]" value="<inp2:m_Param name="field"/>"/>
+																</td>
+															</tr>
+															<inp2:m_RenderElement name="inp_edit_field_separator" is_last="$is_last"/>
+														</inp2:m_DefineElement>
+
+														<inp2:m_RenderElement name="inp_custom_textbox" field="ContactFormFullName" title="lu_fld_FullName" style="width: 200px;" default="FullName"/>
+														<inp2:m_RenderElement name="inp_custom_textbox" field="ContactFormEmail" title="lu_fld_Email" style="width: 200px;" default="Email"/>
+														<inp2:m_RenderElement name="inp_custom_textbox" field="ContactFormSubject" title="lu_fld_Subject" style="width: 200px;"/>
+														<inp2:m_RenderElement name="inp_custom_textbox" field="ContactFormBody" title="lu_fld_Body" style="width: 200px; height: 100px;" multiline="1"/>
+														<inp2:m_RenderElement name="inp_custom_captcha" field="ContactFormCaptcha" prefix="l" style="width: 200px;" />
+
+														<tr>
+															<td colspan="2" class="item-padding" align="right">
+																<input type="hidden" name="success_template" value="platform/thankyou"/>
+																<input type="hidden" name="success_label_header" value="lu_header_Thankyou"/>
+																<input type="hidden" name="success_label_body" value="lu_Link_ContactFormThankyouText"/>
+																<input class="button" type="submit" name="events[l][OnContactFormSubmit]" value="<inp2:m_Phrase label="lu_btn_Contact" no_editing="1"/>"/>
+																<input class="button" type="reset" name="events[l][OnContactFormReset]" value="<inp2:m_Phrase label="lu_btn_Reset" no_editing="1"/>"/>
+															</td>
+														</tr>
+													</table>
+												</form>
+											</div>
+										</inp2:m_if>
+										<!--## //Contact Link Form ##-->
+
+										</td>
+									</tr>
+								</table>
+					</td>
+				</tr>
+			</table>
+			</inp2:m_RenderElement>
+			<!--## // link details ##-->
+		</div>
+
+		<div class="movable-element">
+			<!--## link reviews ##-->
+			<inp2:m_DefineElement name="no_reviews">
+				<inp2:m_phrase name="lu_NoReviews"/>
+			</inp2:m_DefineElement>
+
+			<inp2:m_RenderElement design="content_box" data_exists="1" block_no_data="no_reviews">
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_section_Reviews"/> (<inp2:l-rev_TotalRecords/>)
+				</inp2:m_Capture>
+
+				<table>
+					<inp2:l-rev_PrintList render_as="review_element"/>
+				</table>
+
+				<inp2:m_include template="platform/elements/pagination.elm" prefix="l-rev"/>
+			</inp2:m_RenderElement>
+			<!--## // link reviews ##-->
+		</div>
+
+		<div class="movable-element">
+			<!--## RELATED TO LINK ITEMS ##-->
+			<inp2:m_RenderElement design="content_box" related_to="Link" data_exists="1">
+				<inp2:m_Capture to_var="header">
+					<inp2:m_Phrase label="lu_title_RelatedItems"/>
+				</inp2:m_Capture>
+
+				<inp2:m_ModuleInclude template="elements/content_boxes/related_items.elm" related_to="$related_to" skip_prefixes="c" />
+			</inp2:m_RenderElement>
+			<!--## // RELATED TO LINK ITEMS ##-->
+		</div>
+	</div>
+
+	<!--## INCREASE HITS COUNTER ##-->
+	<inp2:l_RegisterHit/>
+
+</inp2:m_DefineElement>
+<!--## /MAIN CONTENT ##-->
+
+<!--## DESIGN TEMPLATE ##-->
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1" related_to="$related_to"/>
+<!--## /DESIGN TEMPLATE ##-->
\ No newline at end of file
Index: themes/advanced/in-link/links/.smsignore
===================================================================
--- themes/advanced/in-link/links/.smsignore	(revision 0)
+++ themes/advanced/in-link/links/.smsignore	(revision 0)
@@ -0,0 +1,3 @@
+link_detail\.tpl
+link_paid\.tpl
+link_standard\.tpl
\ No newline at end of file
Index: themes/advanced/in-link/links/link_detail.tpl
===================================================================
--- themes/advanced/in-link/links/link_detail.tpl	(revision 0)
+++ themes/advanced/in-link/links/link_detail.tpl	(revision 0)
@@ -0,0 +1,8 @@
+<!--##
+<NAME>Links - Details Design</NAME>
+<DESC>Virtual design template for Link Details section</DESC>
+<SECTION>Platform||Links</SECTION>
+##-->
+<!--## DISPLAY LINK DETAILS TEMPLATE -- DEFAULT OR CUSTOM ##-->
+<inp2:l_DisplayDetailTemplate default_template="in-link/links/link_standard" />
+<!--## //DISPLAY LINK DETAILS TEMPLATE -- DEFAULT OR CUSTOM ##-->
\ No newline at end of file
Index: themes/advanced/in-link/links/add_review_confirm.tpl
===================================================================
--- themes/advanced/in-link/links/add_review_confirm.tpl	(revision 0)
+++ themes/advanced/in-link/links/add_review_confirm.tpl	(revision 0)
@@ -0,0 +1,49 @@
+<!--##
+<NAME>Link - Review Confirmation</NAME>
+<DESC>Confirmation page for Link Review</DESC>
+<SECTION>Platform||Links</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_phrase name="lu_title_AddLinkReviewConfirm"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-link/elements/side_boxes/action_box.elm"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="__item__,lu_title_AddLinkReviewConfirm" templates="__default__,in-link/links/add_review_confirm" show_category="1"/>
+		</div>
+		<div class="movable-element">
+			<!-- link add review confirm -->
+			<inp2:m_RenderElement design="content_box">
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_title_AddLinkReviewConfirm"/>
+				</inp2:m_Capture>
+
+				<inp2:m_phrase name="lu_text_AddLinkReviewConfirm"/><br /><br />
+				<a href="<inp2:l_LinkLink template="__default__"/>"><inp2:l_Field name="Name"/></a>
+			</inp2:m_RenderElement>
+			<!-- // link add review confirm -->
+		</div>
+	</div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: themes/advanced/in-link/links/pop_links.tpl
===================================================================
--- themes/advanced/in-link/links/pop_links.tpl	(revision 0)
+++ themes/advanced/in-link/links/pop_links.tpl	(revision 0)
@@ -0,0 +1,65 @@
+<!--##
+<NAME>Popular Links</NAME>
+<DESC>List of Popular Links</DESC>
+<SECTION>Platform||Links</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_phrase name="lu_title_PopLinks"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-link/elements/side_boxes/action_box.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-link/elements/side_boxes/new.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-link/elements/side_boxes/hot.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-link/elements/side_boxes/pick.elm" design="blue_box" data_exists="1"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_PopLinks" templates="in-link/links/pop_links"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement design="content_box" data_exists="1" block_no_data="no_links">
+				<inp2:l_InitList list_name="pop_links" m_cat_id="0" m_cat_page="1" recursive="1" types="pop"/>
+
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_title_PopLinks"/> (<inp2:l_TotalRecords list_name="pop_links"/>)
+				</inp2:m_Capture>
+
+				<inp2:m_include template="in-link/elements/links.elm"/>
+
+				<inp2:m_include template="in-link/elements/sorting.elm" list_name="pop_links"/>
+
+				<table class="fullwidth item-listing table-border">
+					<inp2:l_ListLinks list_name="pop_links" render_as="link_element" direction="H"/>
+				</table>
+
+				<inp2:m_include template="platform/elements/pagination.elm" prefix="l" list_name="pop_links"/>
+			</inp2:m_RenderElement>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: themes/advanced/in-link/designs/section.tpl
===================================================================
--- themes/advanced/in-link/designs/section.tpl	(revision 0)
+++ themes/advanced/in-link/designs/section.tpl	(revision 0)
@@ -0,0 +1,96 @@
+<!--##
+<NAME>Links - Section Template</NAME>
+<DESC>Links</DESC>
+<SECTION>Platform||Links</SECTION>
+##-->
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_include template="platform/elements/title_bar.elm"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-link/elements/side_boxes/action_box.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/related_searches.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-link/elements/side_boxes/new.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-link/elements/side_boxes/hot.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-link/elements/side_boxes/pop.elm" design="blue_box" data_exists="1"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-link/elements/side_boxes/pick.elm" design="blue_box" data_exists="1"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<!--## MAIN CONTENT ##-->
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm"/>
+		</div>
+		<div class="movable-element">
+			<!--## SUB-CATEGORIES ##-->
+			<inp2:m_include template="platform/elements/content_boxes/sub_categories.elm"/>
+			<!--## /SUB-CATEGORIES ##-->
+		</div>
+		<div class="movable-element">
+			<!--## links in category ##-->
+			<inp2:m_RenderElement design="content_box" data_exists="1" block_no_data="no_links">
+				<inp2:l_InitList list_name="items_in_current_cat"/>
+
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_title_Links"/> (<inp2:l_TotalRecords list_name="items_in_current_cat"/>)
+				</inp2:m_Capture>
+
+				<inp2:m_include template="in-link/elements/links.elm"/>
+
+				<inp2:m_include template="in-link/elements/sorting.elm" list_name="items_in_current_cat"/>
+
+				<table class="fullwidth item-listing table-border">
+					<inp2:l_ListLinks list_name="items_in_current_cat" render_as="link_element" direction="H"/>
+				</table>
+
+				<inp2:m_include template="platform/elements/pagination.elm" prefix="l" list_name="items_in_current_cat"/>
+			</inp2:m_RenderElement>
+			<!--## // links in category ##-->
+		</div>
+	</div>
+
+	<!--## RELATED CATEGORIES ##-->
+	<!--##
+<div class="movable-element">
+	<inp2:m_RenderElement design="content_box" related_to="Category" data_exists="1">
+		<inp2:m_Capture to_var="header">
+			<inp2:m_Phrase label="lu_title_RelatedCategories"/>
+		</inp2:m_Capture>
+
+		<inp2:m_include template="platform/elements/content_boxes/related_items.elm" related_to="$related_to" />
+	</inp2:m_RenderElement>
+</div>
+	##-->
+	<!--## // RELATED CATEGORIES ##-->
+
+</inp2:m_DefineElement>
+<!--## /MAIN CONTENT ##-->
+
+<!--## DESIGN TEMPLATE ##-->
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
+<!--## /DESIGN TEMPLATE ##-->
\ No newline at end of file
Index: themes/advanced/in-link/designs/.smsignore
===================================================================
--- themes/advanced/in-link/designs/.smsignore	(revision 0)
+++ themes/advanced/in-link/designs/.smsignore	(revision 0)
@@ -0,0 +1 @@
+.*\.tpl
\ No newline at end of file
Index: themes/advanced/no_permission.tpl
===================================================================
--- themes/advanced/no_permission.tpl	(revision 0)
+++ themes/advanced/no_permission.tpl	(revision 0)
@@ -0,0 +1,52 @@
+<!--##
+<NAME>No Permissions</NAME>
+<DESC></DESC>
+<SECTION>Platform</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_phrase name="lu_title_NoPermission"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/recommend_site.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/mailing_list.elm" design="blue_box"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_NoPermission" templates="no_permission"/>
+		</div>
+		<div class="movable-element">
+			<!-- NO PERMISSION -->
+			<inp2:m_RenderElement design="content_box">
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_title_NoPermission"/>
+				</inp2:m_Capture>
+				<br /><br />
+				<inp2:m_phrase name="lu_text_NoPermission"/>
+				<br /><br />
+			</inp2:m_RenderElement>
+			<!-- // NO PERMISSION -->
+		</div>
+	</div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: themes/advanced/in-bulletin/designs/.smsignore
===================================================================
--- themes/advanced/in-bulletin/designs/.smsignore	(revision 0)
+++ themes/advanced/in-bulletin/designs/.smsignore	(revision 0)
@@ -0,0 +1 @@
+.*\.tpl
\ No newline at end of file
Index: themes/advanced/in-bulletin/designs/section.tpl
===================================================================
--- themes/advanced/in-bulletin/designs/section.tpl	(revision 0)
+++ themes/advanced/in-bulletin/designs/section.tpl	(revision 0)
@@ -0,0 +1,110 @@
+<!--##
+<NAME>Topics - Section Template</NAME>
+<DESC>Topics</DESC>
+<SECTION>Platform||Topics</SECTION>
+##-->
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_include template="platform/elements/title_bar.elm"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-bulletin/elements/side_boxes/action_box.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-bulletin/elements/side_boxes/polls.elm" design="blue_box" data_exists="1"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<!--## MAIN CONTENT ##-->
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm"/>
+		</div>
+		<div class="movable-element">
+			<!-- categories -->
+			<inp2:m_RenderElement design="content_box" data_exists="1">
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_title_Categories"/> (<inp2:c_TotalRecords />)
+				</inp2:m_Capture>
+
+				<inp2:m_include template="in-bulletin/elements/categories.elm"/>
+
+				<table>
+					<tr>
+						<td class="category-statistics">
+							<inp2:bb-post_ItemCount/> <inp2:m_Phrase name="lu_posts"/> <inp2:m_Phrase name="lu_in"/> <inp2:bb_ItemCount/> <inp2:m_Phrase name="lu_topics"/> &nbsp;|&nbsp; <inp2:m_Phrase name="lu_AddedToday"/>: <inp2:bb_ItemCount today="1"/> <inp2:m_Phrase name="lu_topics"/>, <inp2:bb-post_ItemCount today="1"/> <inp2:m_Phrase name="lu_posts"/>
+						</td>
+					</tr>
+				</table>
+				<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="4" alt="" /><br />
+				<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="1" alt="" /></div>
+
+				<table class="forums-icon-description">
+					<tr>
+						<td>
+							<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/forums_new_post.gif" width="20" height="23" alt="" /><br />
+						</td>
+						<td>
+							<inp2:m_Phrase name="lu_new_posts" />
+						</td>
+						<td>
+							<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/forums_no_new_post.gif" width="21" height="24" alt="" /><br />
+						</td>
+						<td>
+							<inp2:m_Phrase name="lu_no_new_posts" />
+						</td>
+						<td>
+							<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/forums_locked.gif" width="25" height="23" alt="" /><br />
+						</td>
+						<td>
+							<inp2:m_Phrase name="lu_forum_locked_for_posting" />
+						</td>
+					</tr>
+				</table>
+
+				<table class="fullwidth">
+					<tr>
+						<td colspan="4">
+							<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="1" alt="" /></div>
+						</td>
+					</tr>
+					<tr class="forums-header">
+						<td><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/header_arrow.gif" width="11" height="11" alt="" /> &nbsp; <inp2:m_phrase name="lu_col_Forums"/></td>
+						<td width="90"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/header_arrow.gif" width="11" height="11" alt="" /> &nbsp; <inp2:m_phrase name="lu_col_Topics"/></td>
+						<td width="80"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/header_arrow.gif" width="11" height="11" alt="" /> &nbsp; <inp2:m_phrase name="lu_col_Posts"/></td>
+						<td width="130"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/header_arrow.gif" width="11" height="11" alt="" /> &nbsp; <inp2:m_phrase name="lu_col_LastUpdate"/></td>
+					</tr>
+					<inp2:c_ListCategories render_as="category_element" columns="1"/>
+				</table>
+				<br />
+
+				<inp2:m_include template="platform/elements/pagination.elm" prefix="c"/>
+			</inp2:m_RenderElement>
+			<!-- // categories -->
+		</div>
+		<div class="movable-element">
+			<inp2:m_if check="c_TotalRecords" inverse="inverse">
+				<inp2:m_include template="in-bulletin/elements/content_boxes/category_topics.elm"/>
+			</inp2:m_if>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## /MAIN CONTENT ##-->
+
+<!--## DESIGN TEMPLATE ##-->
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
+<!--## /DESIGN TEMPLATE ##-->
\ No newline at end of file
Index: themes/advanced/in-bulletin/inc/styles.css
===================================================================
--- themes/advanced/in-bulletin/inc/styles.css	(revision 0)
+++ themes/advanced/in-bulletin/inc/styles.css	(revision 0)
@@ -0,0 +1,149 @@
+.bbcode {
+	border: 1px solid #888888;
+	background-color: #EEEEEE;
+	padding: 10px;
+}
+
+.forums-header TD
+	{
+	padding:6px;
+	color:#21619e;
+	}
+
+.forums-icon-cell
+	{
+	width:20px;
+	padding-right:10px;
+	vertical-align:top;
+	}
+
+.forums-subheaders
+	{
+	background:#f4f4f4;
+	font-weight:bold;
+	padding:5px 15px;
+	font-size:12px;
+	}
+
+
+.forums-subheaders A
+	{
+	color:#000000;
+	text-decoration: underline;
+	}
+
+.forums-subheaders A:hover
+	{
+	color: #666666;
+	text-decoration: underline;
+	}
+
+.forums-cells
+	{
+	vertical-align: middle;
+	padding:10px;
+	}
+
+.post-background-1
+	{
+	background:#f4f4f4;
+	padding:8px;
+	}
+
+.post-background-2
+	{
+	background:#FFFFFF;
+	padding:8px;
+	}
+
+.post-icon-padding-right
+	{
+	padding-right:10px;
+	}
+
+.topic-prewiew-padding-cell TD
+	{
+	padding: 13px;
+	}
+
+.post-control {
+	padding: 0px !important;
+	vertical-align: top;
+}
+
+
+.no-padding TD
+	{
+	padding:0px;
+	}
+
+
+.forums-icon-description TD
+	{
+	padding:10px;
+	vertical-align:middle;
+	}
+
+.topics-icon-padding
+	{
+	width:14px;
+	padding-right:10px;
+	}
+
+.new-private-message {
+	font-weight: bold;
+}
+
+
+
+.quoted-reply {
+	border: 1px dashed #333;
+}
+
+.quoted-reply td {
+	padding: 5px;
+}
+
+/* --- Topic Button Styles --- */
+.big-button-left-border {
+	background: #EFEFEF url('../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;
+}
+
+.big-button-text {
+	background: #EFEFEF url('../img/big_buttons/top_border.gif') repeat-x top left;
+	font: bold 11px Arial, sans-serif;
+	letter-spacing: 0px;
+	color: #1F569A;
+	padding-top: 14px;
+}
+
+.big-button-text a, .big-button-text a:hover {
+	text-decoration: none;
+}
+
+/* --- Post Button Styles --- */
+.small-button-bottom td {
+	background: #efefef url('../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;
+	font: 10px Arial, sans-serif;
+	color: #153C6A;
+	padding-top: 15px;
+	vertical-align: bottom;
+	height: 27px;
+}
+
+.small-button-text a {
+	color: #153C6A;
+	text-decoration: none;
+}
+
+.small-button-text a:hover {
+	text-decoration: none;
+}
\ No newline at end of file
Index: themes/advanced/in-bulletin/inc/script.js
===================================================================
--- themes/advanced/in-bulletin/inc/script.js	(revision 0)
+++ themes/advanced/in-bulletin/inc/script.js	(revision 0)
@@ -0,0 +1,79 @@
+// apply tagOpen/tagClose to selection in textarea,
+// use sampleText instead of selection if there is none
+function insertTags(tagOpen, tagClose, sampleText, textarea_id) {
+	var txtarea = document.getElementById(textarea_id);
+
+	var selText, isSample = false;
+
+	if (document.selection  && document.selection.createRange) { // IE/Opera
+		//save window scroll position
+		if (document.documentElement && document.documentElement.scrollTop) {
+			var winScroll = document.documentElement.scrollTop;
+		}
+		else if (document.body) {
+			var winScroll = document.body.scrollTop;
+		}
+
+		//get current selection
+		txtarea.focus();
+		var range = document.selection.createRange();
+		selText = range.text;
+
+		//insert tags
+		checkSelectedText();
+		range.text = tagOpen + selText + tagClose;
+		//mark sample text as selected
+		if (isSample && range.moveStart) {
+			if (window.opera) {
+				tagClose = tagClose.replace(/\n/g,'');
+			}
+			range.moveStart('character', - tagClose.length - selText.length);
+			range.moveEnd('character', - tagClose.length);
+		}
+		range.select();
+
+		//restore window scroll position
+		if (document.documentElement && document.documentElement.scrollTop) {
+			document.documentElement.scrollTop = winScroll;
+		}
+		else if (document.body) {
+			document.body.scrollTop = winScroll;
+		}
+	} else if (txtarea.selectionStart || txtarea.selectionStart == '0') { // Mozilla
+		//save textarea scroll position
+		var textScroll = txtarea.scrollTop;
+
+		//get current selection
+		txtarea.focus();
+		var startPos = txtarea.selectionStart;
+		var endPos = txtarea.selectionEnd;
+		selText = txtarea.value.substring(startPos, endPos);
+
+		//insert tags
+		checkSelectedText();
+		txtarea.value = txtarea.value.substring(0, startPos)
+			+ tagOpen + selText + tagClose
+			+ txtarea.value.substring(endPos, txtarea.value.length);
+		//set new selection
+		if (isSample) {
+			txtarea.selectionStart = startPos + tagOpen.length;
+			txtarea.selectionEnd = startPos + tagOpen.length + selText.length;
+		} else {
+			txtarea.selectionStart = startPos + tagOpen.length + selText.length + tagClose.length;
+			txtarea.selectionEnd = txtarea.selectionStart;
+		}
+		//restore textarea scroll position
+		txtarea.scrollTop = textScroll;
+	}
+
+	function checkSelectedText(){
+		if (!selText) {
+			selText = sampleText;
+			isSample = true;
+		} else if (selText.charAt(selText.length - 1) == ' ') { //exclude ending space char
+			selText = selText.substring(0, selText.length - 1);
+			tagClose += ' '
+		}
+	}
+
+}
\ No newline at end of file
Index: themes/advanced/in-bulletin/my_account/my_items.elm.tpl
===================================================================
--- themes/advanced/in-bulletin/my_account/my_items.elm.tpl	(revision 0)
+++ themes/advanced/in-bulletin/my_account/my_items.elm.tpl	(revision 0)
@@ -0,0 +1,19 @@
+<inp2:m_if check="m_ParamEquals" name="section" value="1">
+	<inp2:m_if check="m_ParamEquals" name="place" value="sidebox">
+		<inp2:m_RenderElement name="box_element" template="in-bulletin/my_account/private_messages/private_messages" title="lu_PrivateMessages"/>
+	</inp2:m_if>
+
+	<inp2:m_if check="m_ParamEquals" name="place" value="contentbox">
+		<inp2:m_RenderElement name="my_account_element" template="in-bulletin/my_account/private_messages/private_messages" title="lu_PrivateMessages" description="lu_description_PrivateMessages" icon_image="in-bulletin/img/ic_pm_list46.gif"/>
+	</inp2:m_if>
+</inp2:m_if>
+
+<inp2:m_if check="m_ParamEquals" name="section" value="2">
+	<inp2:m_if check="m_ParamEquals" name="place" value="sidebox">
+		<inp2:m_RenderElement name="box_element" template="in-bulletin/my_account/my_topics" title="lu_MyTopics" />
+	</inp2:m_if>
+
+	<inp2:m_if check="m_ParamEquals" name="place" value="contentbox">
+		<inp2:m_RenderElement name="my_account_element" template="in-bulletin/my_account/my_topics" title="lu_MyTopics" description="lu_description_MyTopics" icon_image="in-bulletin/img/ic_mytopics46.gif"/>
+	</inp2:m_if>
+</inp2:m_if>
\ No newline at end of file
Index: themes/advanced/in-bulletin/my_account/preferences_tab.elm.tpl
===================================================================
--- themes/advanced/in-bulletin/my_account/preferences_tab.elm.tpl	(revision 0)
+++ themes/advanced/in-bulletin/my_account/preferences_tab.elm.tpl	(revision 0)
@@ -0,0 +1 @@
+<inp2:m_RenderElement name="tab" title="lu_tab_Forums" template="in-bulletin/my_account/my_preferences"/>
Index: themes/advanced/in-bulletin/my_account/private_messages/view_message.tpl
===================================================================
--- themes/advanced/in-bulletin/my_account/private_messages/view_message.tpl	(revision 0)
+++ themes/advanced/in-bulletin/my_account/private_messages/view_message.tpl	(revision 0)
@@ -0,0 +1,85 @@
+<!--##
+<NAME>View Private Message</NAME>
+<DESC>View Private Message page</DESC>
+<SECTION>My Account||Private Messages</SECTION>
+##-->
+
+<inp2:m_RequireLogin login_template="platform/login/register"/>
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_phrase name="lu_title_PrivateMessageDetails"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_MyAccount,lu_title_PrivateMessages,lu_title_PrivateMessageDetails" templates="platform/my_account/my_account,in-bulletin/my_account/private_messages/private_messages,in-bulletin/my_account/private_messages/view_message"/>
+		</div>
+		<div class="movable-element">
+			<!-- private message details -->
+			<inp2:m_RenderElement design="content_box">
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_title_PrivateMessageDetails"/>
+				</inp2:m_Capture>
+
+				<inp2:m_include template="in-bulletin/elements/private_messages.elm"/>
+
+				<inp2:private-message_MarkAsRead/>
+				<table class="fullwidth">
+					<tr>
+					<td align="left">
+							<inp2:m_if check="private-message_CanReplyMessage">
+								[<a href="<inp2:private-message_ReplyLink template="in-bulletin/my_account/private_messages/new_message"/>"><inp2:m_Phrase name="lu_btn_Reply"/></a>]
+							</inp2:m_if>
+
+							[<a href="<inp2:private-message_DeleteLink template="in-bulletin/my_account/private_messages/private_messages"/>" onclick="return confirm('<inp2:m_phrase name="lu_DeletePrivateMessageConfirm" js_escape="1"/>');"><inp2:m_phrase name="lu_btn_Delete"/></a>]<br /><br />
+						</td>
+					</tr>
+					<tr>
+						<td>
+							<strong><inp2:m_Phrase name="lu_MessageCreated"/></strong>: <inp2:private-message_Field name="CreatedOn"/>
+						</td>
+
+					</tr>
+				</table>
+				<br />
+
+				<strong><inp2:m_Phrase name="lu_fld_From"/></strong>: <inp2:private-message_Field name="FromId"/><br />
+				<strong><inp2:m_Phrase name="lu_fld_Subject"/></strong>: <inp2:private-message_MessageSubject empty_title="lu_NoSubject"/><br /><br />
+
+				<inp2:private-message_MessageBody smiley_render_as="smiley_element" bbcode_render_as="bbcode_element"/>
+				<br/><br />
+				<table class="fullwidth">
+					<tr>
+					<td align="left">
+							<inp2:m_if check="private-message_CanReplyMessage">
+								[<a href="<inp2:private-message_ReplyLink template="in-bulletin/my_account/private_messages/new_message"/>"><inp2:m_Phrase name="lu_btn_Reply"/></a>]
+							</inp2:m_if>
+
+							[<a href="<inp2:private-message_DeleteLink template="in-bulletin/my_account/private_messages/private_messages"/>" onclick="return confirm('<inp2:m_phrase name="lu_DeletePrivateMessageConfirm" js_escape="1"/>');"><inp2:m_phrase name="lu_btn_Delete"/></a>]
+						</td>
+					</tr>
+				</table>
+
+			</inp2:m_RenderElement>
+			<!-- // private message details -->
+		</div>
+	</div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: themes/advanced/in-bulletin/my_account/private_messages/private_messages.tpl
===================================================================
--- themes/advanced/in-bulletin/my_account/private_messages/private_messages.tpl	(revision 0)
+++ themes/advanced/in-bulletin/my_account/private_messages/private_messages.tpl	(revision 0)
@@ -0,0 +1,75 @@
+<!--##
+<NAME>List Private Messages</NAME>
+<DESC>List Private Messages</DESC>
+<SECTION>My Account||Private Messages</SECTION>
+##-->
+
+<inp2:m_RequireLogin login_template="platform/login/register"/>
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_phrase name="lu_title_PrivateMessages"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_MyAccount,lu_title_PrivateMessages" templates="platform/my_account/my_account,in-bulletin/my_account/private_messages/private_messages"/>
+		</div>
+		<div class="movable-element">
+			<!-- private messages -->
+			<inp2:m_RenderElement design="content_box" data_exists="1" block_no_data="no_private_messages">
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_title_PrivateMessages"/> (<inp2:private-message_TotalRecords/>)
+				</inp2:m_Capture>
+
+				<inp2:m_include template="in-bulletin/elements/private_messages.elm"/>
+
+				<inp2:m_RenderElement name="folder_tabs"/>
+
+				<table class="fullwidth">
+					<tr>
+						<td colspan="3">
+							<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="1" alt="" /></div>
+						</td>
+					</tr>
+					<tr class="sub-section-header">
+						<td>
+							<inp2:m_if check="m_GetEquals" name="folder_id" value="-1">
+								<inp2:m_Phrase name="lu_col_ToName"/>
+							<inp2:m_else/>
+								<inp2:m_Phrase name="lu_col_FromName"/>
+							</inp2:m_if>
+						</td>
+						<td>
+							<inp2:m_Phrase name="lu_col_Subject"/>
+						</td>
+						<td>
+							<inp2:m_Phrase name="lu_col_Created"/>
+						</td>
+					</tr>
+					<inp2:private-message_PrintList render_as="private_message_element"/>
+				</table>
+
+				<inp2:m_include template="platform/elements/pagination.elm" prefix="private-message"/>
+			</inp2:m_RenderElement>
+			<!-- // private messages -->
+		</div>
+	</div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: themes/advanced/in-bulletin/my_account/private_messages/add_confirm.tpl
===================================================================
--- themes/advanced/in-bulletin/my_account/private_messages/add_confirm.tpl	(revision 0)
+++ themes/advanced/in-bulletin/my_account/private_messages/add_confirm.tpl	(revision 0)
@@ -0,0 +1,46 @@
+<!--##
+<NAME>Private Message - Sent</NAME>
+<DESC>Private Message - Sent Confirmation</DESC>
+<SECTION>My Account||Private Messages</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_phrase name="lu_title_AddPrivateMessageConfirm"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_MyAccount,lu_title_PrivateMessages,lu_title_AddPrivateMessageConfirm" templates="platform/my_account/my_account,in-bulletin/my_account/private_messages/private_messages,in-bulletin/my_account/private_messages/add_confirm"/>
+		</div>
+		<div class="movable-element">
+			<!-- add private message confirm -->
+			<inp2:m_RenderElement design="content_box">
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_title_AddPrivateMessageConfirm"/>
+				</inp2:m_Capture>
+
+				<inp2:m_phrase name="lu_newpm_Confirm_Text"/><br /><br />
+				<a href="<inp2:private-message_FolderLink template="in-bulletin/my_account/private_messages/private_messages" folder="sent"/>"><inp2:m_Phrase name="lu_PrivateMessages"/></a>
+			</inp2:m_RenderElement>
+			<!-- // add private message confirm -->
+		</div>
+	</div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: themes/advanced/in-bulletin/my_account/private_messages/new_message.tpl
===================================================================
--- themes/advanced/in-bulletin/my_account/private_messages/new_message.tpl	(revision 0)
+++ themes/advanced/in-bulletin/my_account/private_messages/new_message.tpl	(revision 0)
@@ -0,0 +1,76 @@
+<!--##
+<NAME>Write Private Message</NAME>
+<DESC>Write Private Message Form</DESC>
+<SECTION>My Account||Private Messages</SECTION>
+##-->
+
+<inp2:m_RequireLogin login_template="platform/login/register"/>
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_phrase name="lu_title_NewPrivateMessage"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-bulletin/elements/side_boxes/action_box.elm" design="blue_box"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_MyAccount,lu_title_PrivateMessages,lu_title_NewPrivateMessage" templates="platform/my_account/my_account,in-bulletin/my_account/private_messages/private_messages,in-bulletin/my_account/private_messages/new_message"/>
+		</div>
+		<div class="movable-element">
+			<!-- new private message -->
+			<inp2:m_RenderElement design="content_box">
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_title_NewPrivateMessage"/>
+				</inp2:m_Capture>
+
+				<inp2:private-message_PresetFormFields/>
+				<span class="field-required">*</span> <inp2:m_phrase name="lu_IndicatesRequired"/><br /><br />
+
+				<inp2:m_if check="private-message_HasError" field="any">
+					<inp2:m_RenderElement name="error_message" />
+				</inp2:m_if>
+
+				<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/grey_pix.gif" width="100%" height="1" align="absmiddle" alt="" /><br /><br />
+
+				<inp2:m_include template="in-bulletin/elements/forms.elm"/>
+
+				<form method="post" action="<inp2:m_FormAction/>">
+					<table class="form-data fullwidth">
+						<inp2:m_RenderElement name="inp_edit_box" prefix="private-message" field="ToId" title="lu_fld_To"/>
+						<inp2:m_RenderElement name="inp_edit_box" prefix="private-message" field="Subject" title="lu_fld_Subject"/>
+						<inp2:m_RenderElement name="inp_edit_textarea_bb" prefix="private-message" field="Body" cols="50" rows="10" title="lu_fld_MessageBody"/>
+						<inp2:m_RenderElement name="inp_edit_checkbox" prefix="private-message" field="DisableBBCodes" title="lu_fld_DisableBBCodes"/>
+						<inp2:m_RenderElement name="inp_edit_checkbox" prefix="private-message" field="DisableSmileys" title="lu_fld_DisableSmileys"/>
+						<inp2:m_RenderElement name="inp_edit_checkbox" prefix="private-message" field="ShowSignatures" title="lu_fld_ShowSignatures" is_last="1"/>
+						<inp2:m_RenderElement design="inp_edit_buttons">
+							<input type="hidden" name="next_template" value="in-bulletin/my_account/private_messages/add_confirm"/>
+							<input class="button" type="submit" name="events[private-message][OnCreate]" value="<inp2:m_Phrase label="lu_btn_Create" no_editing="1"/>"/>
+							<input class="button" type="button" onclick="redirect('<inp2:m_Link template="in-bulletin/my_account/private_messages/private_messages"/>');" value="<inp2:m_Phrase label="lu_btn_Cancel" no_editing="1"/>"/>
+						</inp2:m_RenderElement>
+					</table>
+				</form>
+
+			</inp2:m_RenderElement>
+			<!-- // new private message -->
+		</div>
+	</div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: themes/advanced/in-bulletin/my_account/my_preferences.tpl
===================================================================
--- themes/advanced/in-bulletin/my_account/my_preferences.tpl	(revision 0)
+++ themes/advanced/in-bulletin/my_account/my_preferences.tpl	(revision 0)
@@ -0,0 +1,80 @@
+<!--##
+<NAME>User's Preferences</NAME>
+<DESC>User's Preferences</DESC>
+<SECTION>My Account</SECTION>
+##-->
+
+<inp2:m_RequireLogin login_template="platform/login/register"/>
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_phrase name="lu_title_MyPreferences"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_MyAccount,lu_title_MyPreferences" templates="platform/my_account/my_account,platform/my_account/my_preferences"/>
+		</div>
+		<div class="movable-element">
+			<!-- my preferences -->
+			<inp2:m_RenderElement design="content_box">
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_title_MyPreferences"/>
+				</inp2:m_Capture>
+
+
+				<table class="fullwidth tab-bottom-line">
+					<tr>
+						<td class="tab-left-padding">
+
+							<table>
+								<tr>
+									<inp2:m_ModuleInclude template="my_account/preferences_tab.elm" in-portal_template="platform/my_account/preferences_tab.elm"/>
+								</tr>
+							</table>
+
+						</td>
+					</tr>
+				</table>
+
+				<br />
+
+				<strong><inp2:m_Phrase name="lu_Forums"/></strong><br /><br />
+
+				<form method="post" action="<inp2:m_FormAction/>">
+					<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/grey_pix.gif" width="100%" height="1" align="absmiddle" alt="" /><br /><br />
+					<table class="form-data fullwidth">
+						<inp2:m_RenderElement name="inp_edit_checkbox" prefix="user-profile" field="show_sig" title="lu_fld_ShowSignatures"/>
+						<inp2:m_RenderElement name="inp_edit_box" prefix="user-profile" field="Perpage_Topics" title="lu_fld_TopicsPerPage"/>
+						<inp2:m_RenderElement name="inp_edit_box" prefix="user-profile" field="Perpage_Postings" title="lu_fld_PostsPerPage"/>
+						<inp2:m_RenderElement name="inp_edit_checkbox" prefix="user-profile" field="owner_notify" title="lu_fld_NotifyOwnerOnChanges"/>
+						<inp2:m_RenderElement name="inp_edit_checkbox" prefix="user-profile" field="bb_pm_notify" title="lu_fld_NotifyOnPrivateMessages"/>
+						<inp2:m_RenderElement name="inp_edit_checkbox" prefix="user-profile" field="bbcode" title="lu_fld_EnableBBCodes"/>
+						<inp2:m_RenderElement name="inp_edit_checkbox" prefix="user-profile" field="smileys" title="lu_fld_EnableSmileys"/>
+						<inp2:m_RenderElement name="inp_edit_checkbox" prefix="user-profile" field="bb_signatures" title="lu_fld_ShowOtherSignatures"/>
+						<inp2:m_RenderElement name="inp_edit_textarea" prefix="user-profile" field="my_signature" title="lu_fld_MySignature" cols="50" rows="10" is_last="1"/>
+
+						<inp2:m_RenderElement design="inp_edit_buttons">
+							<input class="button" type="submit" name="events[user-profile][OnUpdate]" value="<inp2:m_Phrase label="lu_btn_Update" no_editing="1"/>"/>
+						</inp2:m_RenderElement>
+					</table>
+				</form>
+			</inp2:m_RenderElement>
+			<!-- // my preferences -->
+		</div>
+	</div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: themes/advanced/in-bulletin/my_account/my_topics.tpl
===================================================================
--- themes/advanced/in-bulletin/my_account/my_topics.tpl	(revision 0)
+++ themes/advanced/in-bulletin/my_account/my_topics.tpl	(revision 0)
@@ -0,0 +1,73 @@
+<!--##
+<NAME>User's Topics</NAME>
+<DESC>List of User's Topics</DESC>
+<SECTION>My Account</SECTION>
+##-->
+
+<inp2:m_RequireLogin login_template="platform/login/register"/>
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_phrase name="lu_title_MyTopics"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-bulletin/elements/side_boxes/action_box.elm" design="blue_box"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_MyAccount,lu_title_MyTopics" templates="platform/my_account/my_account,in-bulletin/my_account/my_topics"/>
+		</div>
+		<div class="movable-element">
+			<!-- my topics -->
+			<inp2:m_DefineElement name="no_topics">
+				<inp2:m_phrase name="lu_NoTopics"/>
+			</inp2:m_DefineElement>
+
+			<inp2:m_RenderElement design="content_box" data_exists="1" block_no_data="no_topics">
+				<inp2:bb_InitList list_name="my_topics" types="my_items" parent_cat_id="0" recursive="1"/>
+
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_title_MyTopics"/> (<inp2:bb_TotalRecords list_name="my_topics"/>)
+				</inp2:m_Capture>
+
+				<inp2:m_include template="in-bulletin/elements/topics.elm"/>
+
+				<table class="fullwidth">
+					<tr>
+						<td colspan="4">
+							<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="1" alt="" /></div>
+						</td>
+					</tr>
+					<tr class="sub-section-header">
+						<td><inp2:m_phrase name="lu_col_Topics"/></td>
+						<td><inp2:m_phrase name="lu_col_Replies"/></td>
+						<td><inp2:m_phrase name="lu_col_Views"/></td>
+						<td><inp2:m_phrase name="lu_col_LastPost"/></td>
+					</tr>
+					<inp2:bb_ListTopics list_name="my_topics" render_as="my_topic_element" no_table="1"/>
+				</table>
+
+				<inp2:m_include template="platform/elements/pagination.elm" prefix="bb" list_name="my_topics"/>
+			</inp2:m_RenderElement>
+			<!-- // my topics -->
+		</div>
+	</div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: themes/advanced/in-bulletin/topics/modify_post.tpl
===================================================================
--- themes/advanced/in-bulletin/topics/modify_post.tpl	(revision 0)
+++ themes/advanced/in-bulletin/topics/modify_post.tpl	(revision 0)
@@ -0,0 +1,80 @@
+<!--##
+<NAME>Post Modify Form</NAME>
+<DESC>Post Modification Form</DESC>
+<SECTION>Platform||Topics</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_phrase name="lu_title_TopicPostModify"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-bulletin/elements/side_boxes/action_box.elm" design="blue_box"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="__item__,lu_title_TopicPostModify" templates="__default__,in-bulletin/topics/modify_post" show_category="1"/>
+		</div>
+		<div class="movable-element">
+			<!-- modify post -->
+			<inp2:m_RenderElement design="content_box">
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_title_TopicPostModify"/>
+				</inp2:m_Capture>
+
+				<inp2:m_if check="bb-post_HasPermission" permissions="TOPIC.REPLY.MODIFY|TOPIC.REPLY.OWNER.MODIFY">
+					<span class="field-required">*</span> <inp2:m_phrase name="lu_IndicatesRequired"/><br /><br />
+
+					<inp2:m_if check="bb-post_HasError" field="any">
+						<inp2:m_RenderElement name="error_message" />
+					</inp2:m_if>
+
+					<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/grey_pix.gif" width="100%" height="1" align="absmiddle" alt="" /><br /><br />
+
+					<inp2:m_include template="in-bulletin/elements/forms.elm"/>
+
+					<form method="post" action="<inp2:m_FormAction/>">
+						<table class="form-data fullwidth">
+							<inp2:m_RenderElement name="inp_label" prefix="bb" field="TopicText" title="lu_fld_Subject"/>
+							<inp2:m_RenderElement name="inp_label" prefix="bb" field="PostedBy" title="lu_fld_Author"/>
+
+							<inp2:m_RenderElement name="inp_edit_box" prefix="bb-post" field="Subject" title="lu_fld_Subject" style="width: 300px;"/>
+							<inp2:m_RenderElement name="inp_edit_textarea_bb" prefix="bb-post" field="PostingText" cols="70" rows="13" title="lu_fld_MessageBody" style="width: 400px;"/>
+
+							<inp2:m_RenderElement name="inp_edit_checkbox" prefix="bb-post" field="DisableBBCodes" title="lu_fld_DisableBBCodes"/>
+							<inp2:m_RenderElement name="inp_edit_checkbox" prefix="bb-post" field="DisableSmileys" title="lu_fld_DisableSmileys"/>
+							<inp2:m_RenderElement name="inp_edit_checkbox" prefix="bb-post" field="ShowSignatures" title="lu_fld_ShowSignatures" is_last="1"/>
+
+							<inp2:m_RenderElement design="inp_edit_buttons">
+								<input type="hidden" name="next_template" value="__default__"/>
+								<input class="button" type="submit" name="events[bb-post][OnUpdate]" value="<inp2:m_Phrase label="lu_btn_Update" no_editing="1"/>"/>
+								<input class="button" type="button" value="<inp2:m_Phrase label="lu_btn_Cancel" no_editing="1"/>" onclick="redirect('<inp2:bb_TopicLink template="__default__"/>');"/>
+							</inp2:m_RenderElement>
+						</table>
+					</form>
+				<inp2:m_else/>
+					<inp2:m_phrase name="lu_text_NoTopicPostModifyPermission"/>
+				</inp2:m_if>
+			</inp2:m_RenderElement>
+			<!-- // modify post -->
+		</div>
+	</div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>elements/html_head
\ No newline at end of file
Index: themes/advanced/in-bulletin/topics/modify_confirm.tpl
===================================================================
--- themes/advanced/in-bulletin/topics/modify_confirm.tpl	(revision 0)
+++ themes/advanced/in-bulletin/topics/modify_confirm.tpl	(revision 0)
@@ -0,0 +1,49 @@
+<!--##
+<NAME>Topic Modified - Confirmation</NAME>
+<DESC>Topic Modified Confirmation page</DESC>
+<SECTION>Platform||Topics</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_phrase name="lu_title_ModifyTopicConfirm"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-bulletin/elements/side_boxes/action_box.elm" design="blue_box"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_MyAccount,lu_title_MyTopics,__item__,lu_title_ModifyTopicConfirm" templates="platform/my_account/my_account,in-bulletin/my_account/my_topics,__default__,in-bulletin/topics/modify_confirm"/>
+		</div>
+		<div class="movable-element">
+			<!-- modify topic confirm -->
+			<inp2:m_RenderElement design="content_box">
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_title_ModifyTopicConfirm"/>
+				</inp2:m_Capture>
+
+				<inp2:m_phrase name="lu_text_ModifyTopicConfirm"/><br /><br />
+				<a href="<inp2:m_Link template="in-bulletin/my_account/my_topics" m_cat_id="0" m_cat_page="1"/>"<inp2:m_Phrase name="lu_text_MyTopics"/></a>
+			</inp2:m_RenderElement>
+			<!-- // modify topic confirm -->
+		</div>
+	</div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: themes/advanced/in-bulletin/topics/modify_pending_confirm.tpl
===================================================================
--- themes/advanced/in-bulletin/topics/modify_pending_confirm.tpl	(revision 0)
+++ themes/advanced/in-bulletin/topics/modify_pending_confirm.tpl	(revision 0)
@@ -0,0 +1,49 @@
+<!--##
+<NAME>Topic Modification Pending - Confirmation</NAME>
+<DESC>Topic Modification Pending Confirmation page</DESC>
+<SECTION>Platform||Topics</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_phrase name="lu_title_ModifyTopicPendingConfirm"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-bulletin/elements/side_boxes/action_box.elm" design="blue_box"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_MyAccount,lu_title_MyTopics,__item__,lu_title_ModifyTopicPendingConfirm" templates="platform/my_account/my_account,in-bulletin/my_account/my_topics,__default__,in-bulletin/topics/modify_pending_confirm"/>
+		</div>
+		<div class="movable-element">
+			<!-- modify topic pending confirm -->
+			<inp2:m_RenderElement design="content_box">
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_title_ModifyTopicPendingConfirm"/>
+				</inp2:m_Capture>
+
+				<inp2:m_phrase name="lu_text_ModifyTopicPendingConfirm"/><br /><br />
+				<a href="<inp2:m_Link template="in-bulletin/my_account/my_topics" m_cat_id="0" m_cat_page="1"/>"><inp2:m_Phrase name="lu_text_MyTopics"/></a>
+			</inp2:m_RenderElement>
+			<!-- // modify topic pending confirm -->
+		</div>
+	</div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: themes/advanced/in-bulletin/topics/modify_topic.tpl
===================================================================
--- themes/advanced/in-bulletin/topics/modify_topic.tpl	(revision 0)
+++ themes/advanced/in-bulletin/topics/modify_topic.tpl	(revision 0)
@@ -0,0 +1,69 @@
+<!--##
+<NAME>Topic Modify Form</NAME>
+<DESC>Topic Modification Form</DESC>
+<SECTION>Platform||Topics</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_phrase name="lu_title_ModifyTopic"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_MyAccount,lu_title_MyTopics,__item__,lu_title_ModifyTopic" templates="platform/my_account/my_account,in-bulletin/my_account/my_topics,__default__,in-bulletin/topics/modify_topic"/>
+		</div>
+		<div class="movable-element">
+			<!-- modify topic -->
+			<inp2:m_RenderElement design="content_box">
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_title_ModifyTopic"/>
+				</inp2:m_Capture>
+
+				<inp2:m_if check="bb_HasPermission" permissions="TOPIC.MODIFY|TOPIC.MODIFY.PENDING|TOPIC.OWNER.MODIFY|TOPIC.OWNER.MODIFY.PENDING">
+
+					<span class="field-required">*</span> <inp2:m_phrase name="lu_IndicatesRequired"/><br /><br />
+
+					<inp2:m_if check="bb_HasError" field="any">
+						<inp2:m_RenderElement name="error_message" />
+					</inp2:m_if>
+
+					<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/grey_pix.gif" width="100%" height="1" align="absmiddle" alt="" /><br /><br />
+
+					<form method="post" action="<inp2:m_FormAction/>">
+						<table class="form-data fullwidth">
+							<inp2:m_RenderElement name="inp_edit_box" prefix="bb" field="TopicText" title="lu_fld_Subject"/>
+							<inp2:m_RenderElement name="inp_edit_checkbox" prefix="bb" field="NotifyOwnerOnChanges" title="lu_fld_NotifyOwnerOnChanges" is_last="1"/>
+
+							<inp2:m_RenderElement design="inp_edit_buttons">
+								<input type="hidden" name="modify_confirm_template" value="in-bulletin/topics/modify_confirm"/>
+								<input type="hidden" name="modify_pending_confirm_template" value="in-bulletin/topics/modify_pending_confirm"/>
+								<input class="button" type="submit" name="events[bb][OnUpdate]" value="<inp2:m_Phrase label="lu_btn_Update" no_editing="1"/>"/>
+							</inp2:m_RenderElement>
+						</table>
+					</form>
+				<inp2:m_else/>
+					<inp2:m_phrase name="lu_text_NoModifyTopicPermission"/>
+				</inp2:m_if>
+			</inp2:m_RenderElement>
+			<!-- // modify topic -->
+		</div>
+	</div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: themes/advanced/in-bulletin/topics/add_pending_confirm.tpl
===================================================================
--- themes/advanced/in-bulletin/topics/add_pending_confirm.tpl	(revision 0)
+++ themes/advanced/in-bulletin/topics/add_pending_confirm.tpl	(revision 0)
@@ -0,0 +1,49 @@
+<!--##
+<NAME>New Pending Topic - Confirmation</NAME>
+<DESC>New Pending Topic Confirmation page</DESC>
+<SECTION>Platform||Topics</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_phrase name="lu_title_AddTopicPendingConfirm"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-bulletin/elements/side_boxes/action_box.elm" design="blue_box"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_AddTopicPendingConfirm" templates="in-bulletin/topics/add_pending_confirm" show_category="1"/>
+		</div>
+		<div class="movable-element">
+			<!-- add topic pending confirm -->
+			<inp2:m_RenderElement design="content_box">
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_title_AddTopicPendingConfirm"/>
+				</inp2:m_Capture>
+
+				<inp2:m_phrase name="lu_NewTopic_Confirm_Pending_Text"/><br /><br />
+				<a href="<inp2:m_Link template="in-bulletin/my_account/my_topics" m_cat_id="0" m_cat_page="1"/>"><inp2:m_Phrase name="lu_text_MyTopics"/></a>
+			</inp2:m_RenderElement>
+			<!-- // add topic pending confirm -->
+		</div>
+	</div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: themes/advanced/in-bulletin/topics/search_results.tpl
===================================================================
--- themes/advanced/in-bulletin/topics/search_results.tpl	(revision 0)
+++ themes/advanced/in-bulletin/topics/search_results.tpl	(revision 0)
@@ -0,0 +1,79 @@
+<!--##
+<NAME>Topics - Search Results</NAME>
+<DESC>List of Topics Search Results</DESC>
+<SECTION>Platform||Topics</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_Phrase label="lu_title_TopicSearchResults"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_TopicSearchResults" templates="in-bulletin/search/search_results"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement design="content_box">
+				<inp2:bb_InitList list_name="topic_search_results" types="search" parent_cat_id="any" recursive="1"/>
+
+				<inp2:m_Capture to_var="header">
+					<inp2:m_Phrase label="lu_title_TopicSearchResults"/>
+				</inp2:m_Capture>
+
+				<table class="fullwidth">
+					<tr>
+						<td class="category-statistics">
+							<inp2:m_phrase name="lu_TotalTopics"/>: <inp2:bb_TotalRecords list_name="topic_search_results"/>  &nbsp;|&nbsp;  <span class="static"><inp2:m_phrase name="lu_AddedToday"/>: 0</span>
+						</td>
+						<td class="category-statistics static" align="right">
+							<inp2:m_phrase name="lu_TopicsUpdated"/>: 05/17/2006
+						</td>
+					</tr>
+				</table>
+				<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="4" alt="" /><br />
+				<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/grey_pix.gif" width="100%" height="1" alt="" /><br />
+				<br />
+
+				<table class="fullwidth">
+					<tr>
+						<td colspan="5">
+							<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="1" alt="" /></div>
+						</td>
+					</tr>
+					<tr class="sub-section-header">
+						<td><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/header_arrow.gif" width="11" height="11" alt="" /> &nbsp; <inp2:m_phrase name="lu_col_Topics"/></td>
+						<td><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/header_arrow.gif" width="11" height="11" alt="" /> &nbsp; <inp2:m_phrase name="lu_col_Poster"/></td>
+						<td><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/header_arrow.gif" width="11" height="11" alt="" /> &nbsp; <inp2:m_phrase name="lu_col_Date"/></td>
+						<td><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/header_arrow.gif" width="11" height="11" alt="" /> &nbsp; <inp2:m_phrase name="lu_col_Replies"/></td>
+						<td><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/header_arrow.gif" width="11" height="11" alt="" /> &nbsp; <inp2:m_phrase name="lu_col_Views"/></td>
+					</tr>
+
+					<inp2:m_include template="in-bulletin/elements/topics.elm"/>
+					<inp2:m_include template="platform/elements/search_results.elm"/>
+
+					<inp2:bb_ListTopics list_name="topic_search_results" render_as="topic_element" show_relevance="1"/>
+				</table>
+
+				<inp2:m_include template="platform/elements/pagination.elm" prefix="bb" list_name="topic_search_results"/>
+			</inp2:m_RenderElement>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: themes/advanced/in-bulletin/topics/topic_detail.tpl
===================================================================
--- themes/advanced/in-bulletin/topics/topic_detail.tpl	(revision 0)
+++ themes/advanced/in-bulletin/topics/topic_detail.tpl	(revision 0)
@@ -0,0 +1,148 @@
+<!--##
+<NAME>Topics - Details Design</NAME>
+<DESC>General design template for Topic Details</DESC>
+<SECTION>Platform||Topics</SECTION>
+##-->
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:bb_Field name="TopicText"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-bulletin/elements/side_boxes/action_box.elm" design="blue_box" item_actions="1"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<!--## MAIN CONTENT ##-->
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="__item__,lu_title_TopicPosts" templates="__default__,in-bulletin/designs/post_list" show_category="1"/>
+		</div>
+		<div class="movable-element">
+			<!-- posts in topic -->
+			<inp2:m_RenderElement design="content_box">
+				<inp2:bb-post_InitList list_name="posts_in_topic"/>
+
+				<inp2:m_Capture to_var="header">
+					<inp2:m_if check="bb_IsLocked">
+						[<inp2:m_phrase name="lu_LockedTopic"/>]&nbsp;
+					</inp2:m_if>
+					<inp2:bb_Field name="TopicText"/> - <inp2:m_phrase name="lu_title_TopicPosts"/> (<inp2:bb-post_TotalRecords list_name="posts_in_topic"/>)
+				</inp2:m_Capture>
+
+				<inp2:m_if check="bb_HasPermission" permissions="TOPIC.REPLY.VIEW">
+					<inp2:m_include template="in-bulletin/elements/categories.elm"/>
+					<inp2:m_include template="in-bulletin/elements/topics.elm"/>
+					<inp2:m_include template="in-bulletin/elements/posts.elm"/>
+
+					<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="10" alt="" /><br />
+
+					<table class="fullwidth">
+						<tr>
+							<td align="left">
+								<inp2:m_if check="bb_HasPermission" permissions="TOPIC.REPLY.ADD">
+									<inp2:m_RenderElement design="big_button" title="lu_btn_Reply" icon="btn_reply">
+										<inp2:bb_TopicLink template="in-bulletin/topics/new_topic_reply"/>
+									</inp2:m_RenderElement>
+								</inp2:m_if>
+							</td>
+
+							<td align="right">
+								<table>
+									<tr>
+										<inp2:m_if check="bb_HasPermission" permissions="TOPIC.MODIFY|TOPIC.MODIFY.PENDING|TOPIC.OWNER.MODIFY|TOPIC.OWNER.MODIFY.PENDING">
+											<td>
+												<inp2:m_RenderElement design="big_button" title="lu_btn_Modify" icon="btn_modify">
+													<inp2:bb_TopicLink template="in-bulletin/topics/modify_topic"/>
+												</inp2:m_RenderElement>
+											</td>
+										</inp2:m_if>
+
+										<td>
+											<inp2:m_if check="bb_IsFavorite">
+												<inp2:m_RenderElement design="big_button" title="lu_btn_RemoveFromFavorites" icon="btn_remove_favorites">
+													<inp2:bb_FavoriteToggleLink/>
+												</inp2:m_RenderElement>
+											<inp2:m_else/>
+												<inp2:m_RenderElement design="big_button" title="lu_btn_AddToFavorites" icon="btn_add_favorites">
+													<inp2:bb_FavoriteToggleLink/>
+												</inp2:m_RenderElement>
+											</inp2:m_if>
+										</td>
+
+										<inp2:m_if check="bb_HasPermission" permissions="TOPIC.LOCK">
+											<td>
+												<inp2:m_if check="bb_IsLocked">
+													<inp2:m_RenderElement design="big_button" title="lu_btn_UnlockTopic" icon="btn_no_icon">
+														<inp2:bb_LockToggleLink/>
+													</inp2:m_RenderElement>
+												<inp2:m_else/>
+													<inp2:m_RenderElement design="big_button" title="lu_btn_LockTopic" icon="btn_no_icon">
+														<inp2:bb_LockToggleLink/>
+													</inp2:m_RenderElement>
+												</inp2:m_if>
+											</td>
+										</inp2:m_if>
+									</tr>
+								</table>
+							</td>
+						</tr>
+					</table>
+					<br />
+
+					<table width="100%">
+						<tr>
+							<td colspan="2">
+								<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="1" alt="" /></div>
+							</td>
+						</tr>
+						<tr class="forums-header">
+							<td style="width: 200px;">
+								<inp2:m_phrase name="lu_col_Author"/>
+							</td>
+							<td>
+								<inp2:m_phrase name="lu_col_Message"/>
+							</td>
+						</tr>
+						<inp2:bb-post_ListPosts list_name="posts_in_topic" render_as="post_element" no_table="1"/>
+					</table>
+					<br />
+
+					<inp2:m_include template="platform/elements/pagination.elm" prefix="bb-post" list_name="posts_in_topic"/>
+				<inp2:m_else/>
+					<inp2:m_phrase name="lu_text_NoTopicReplyViewPermission"/>
+				</inp2:m_if>
+			</inp2:m_RenderElement>
+			<!-- // posts in topic -->
+		</div>
+		<div class="movable-element">
+			<!--## RELATED TO POST ITEMS ##-->
+			<inp2:m_RenderElement design="content_box" related_to="Topic" data_exists="1">
+				<inp2:m_Capture to_var="header">
+					<inp2:m_Phrase label="lu_title_RelatedItems"/>
+				</inp2:m_Capture>
+
+				<inp2:m_ModuleInclude template="elements/content_boxes/related_items.elm" related_to="$related_to" />
+			</inp2:m_RenderElement>
+			<!--## // RELATED TO POST ITEMS ##-->
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## /MAIN CONTENT ##-->
+
+<!--## DESIGN TEMPLATE ##-->
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
+<!--## /DESIGN TEMPLATE ##-->
\ No newline at end of file
Index: themes/advanced/in-bulletin/topics/.smsignore
===================================================================
--- themes/advanced/in-bulletin/topics/.smsignore	(revision 0)
+++ themes/advanced/in-bulletin/topics/.smsignore	(revision 0)
@@ -0,0 +1 @@
+topic_detail\.tpl
\ No newline at end of file
Index: themes/advanced/in-bulletin/topics/new_topic_reply.tpl
===================================================================
--- themes/advanced/in-bulletin/topics/new_topic_reply.tpl	(revision 0)
+++ themes/advanced/in-bulletin/topics/new_topic_reply.tpl	(revision 0)
@@ -0,0 +1,81 @@
+<!--##
+<NAME>Topic Reply</NAME>
+<DESC>Topic Reply Form</DESC>
+<SECTION>Platform||Topics</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_phrase name="lu_title_NewTopicReply"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-bulletin/elements/side_boxes/action_box.elm" design="blue_box"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="__item__,lu_title_NewTopicReply" templates="__default__,in-bulletin/topics/new_topic_reply" show_category="1"/>
+		</div>
+		<div class="movable-element">
+			<!-- new topic reply -->
+			<inp2:m_RenderElement design="content_box">
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_title_NewTopicReply"/>
+				</inp2:m_Capture>
+
+				<inp2:m_if check="bb-post_HasPermission" permissions="TOPIC.REPLY.ADD">
+					<inp2:bb-post_PresetFormFields/>
+					<span class="field-required">*</span> <inp2:m_phrase name="lu_IndicatesRequired"/><br /><br />
+
+					<inp2:m_if check="bb-post_HasError" field="any">
+						<inp2:m_RenderElement name="error_message" />
+					</inp2:m_if>
+
+					<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/grey_pix.gif" width="100%" height="1" align="absmiddle" alt="" /><br /><br />
+
+					<inp2:m_include template="in-bulletin/elements/forms.elm"/>
+
+					<form method="post" action="<inp2:m_FormAction/>">
+						<table class="form-data fullwidth">
+							<inp2:m_RenderElement name="inp_label" prefix="bb" field="TopicText" title="lu_fld_Subject"/>
+							<inp2:m_RenderElement name="inp_label" prefix="bb" field="PostedBy" title="lu_fld_Author"/>
+
+							<inp2:m_RenderElement name="inp_edit_box" prefix="bb-post" field="Subject" title="lu_fld_Subject" style="width: 300px"/>
+							<inp2:m_RenderElement name="inp_edit_textarea_bb" prefix="bb-post" field="PostingText" cols="50" rows="10" title="lu_fld_MessageBody" style="width: 400px"/>
+
+							<inp2:m_RenderElement name="inp_edit_checkbox" prefix="bb-post" field="DisableBBCodes" title="lu_fld_DisableBBCodes"/>
+							<inp2:m_RenderElement name="inp_edit_checkbox" prefix="bb-post" field="DisableSmileys" title="lu_fld_DisableSmileys"/>
+							<inp2:m_RenderElement name="inp_edit_checkbox" prefix="bb-post" field="ShowSignatures" title="lu_fld_ShowSignatures" is_last="1"/>
+
+							<inp2:m_RenderElement design="inp_edit_buttons">
+								<input type="hidden" name="next_template" value="__default__"/>
+								<input class="button" type="submit" name="events[bb-post][OnCreate]" value="<inp2:m_Phrase label="lu_btn_Create" no_editing="1"/>"/>
+								<input class="button" type="button" value="<inp2:m_Phrase label="lu_btn_Cancel" no_editing="1"/>" onclick="redirect('<inp2:bb_TopicLink template="__default__"/>');"/>
+							</inp2:m_RenderElement>
+						</table>
+					</form>
+				<inp2:m_else/>
+					<inp2:m_phrase name="lu_text_NoNewTopicReplyPermission"/>
+				</inp2:m_if>
+			</inp2:m_RenderElement>
+			<!-- // new topic reply -->
+		</div>
+	</div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: themes/advanced/in-bulletin/topics/new_topic.tpl
===================================================================
--- themes/advanced/in-bulletin/topics/new_topic.tpl	(revision 0)
+++ themes/advanced/in-bulletin/topics/new_topic.tpl	(revision 0)
@@ -0,0 +1,81 @@
+<!--##
+<NAME>New Topic</NAME>
+<DESC>New Topic Form</DESC>
+<SECTION>Platform||Topics</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_phrase name="lu_title_NewTopic"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-bulletin/elements/side_boxes/action_box.elm" design="blue_box"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_NewTopic" templates="in-bulletin/topics/new_topic" show_category="1"/>
+		</div>
+		<div class="movable-element">
+			<!-- new topic -->
+			<inp2:m_RenderElement design="content_box">
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_title_NewTopic"/>
+				</inp2:m_Capture>
+
+				<inp2:m_if check="bb_HasPermission" permissions="TOPIC.ADD|TOPIC.ADD.PENDING">
+					<inp2:bb_PresetFormFields/>
+					<span class="field-required">*</span> <inp2:m_phrase name="lu_IndicatesRequired"/><br /><br />
+
+					<inp2:m_if check="bb_HasError" field="any">
+						<inp2:m_RenderElement name="error_message" />
+					</inp2:m_if>
+
+					<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/grey_pix.gif" width="100%" height="1" align="absmiddle" alt="" /><br /><br />
+
+					<inp2:m_include template="in-bulletin/elements/forms.elm"/>
+
+					<form method="post" action="<inp2:m_FormAction/>">
+						<table class="form-data fullwidth">
+
+							<inp2:m_RenderElement name="inp_edit_box" prefix="bb" field="TopicText" title="lu_fld_Subject" style="width: 300px"/>
+							<inp2:m_RenderElement name="inp_edit_textarea_bb" prefix="bb" field="PostingText" cols="70" rows="13" title="lu_fld_MessageBody" style="width: 400px"/>
+
+							<inp2:m_RenderElement name="inp_edit_checkbox" prefix="bb" field="DisableBBCodes" title="lu_fld_DisableBBCodes"/>
+							<inp2:m_RenderElement name="inp_edit_checkbox" prefix="bb" field="DisableSmileys" title="lu_fld_DisableSmileys"/>
+							<inp2:m_RenderElement name="inp_edit_checkbox" prefix="bb" field="ShowSignatures" title="lu_fld_ShowSignatures"/>
+							<inp2:m_RenderElement name="inp_edit_checkbox" prefix="bb" field="NotifyOwnerOnChanges" title="lu_fld_NotifyOwnerOnChanges" is_last="1"/>
+
+							<inp2:m_RenderElement design="inp_edit_buttons">
+								<input type="hidden" name="suggest_confirm_template" value="in-bulletin/topics/add_confirm"/>
+								<input type="hidden" name="suggest_pending_confirm_template" value="in-bulletin/topics/add_pending_confirm"/>
+								<input class="button" type="submit" name="events[bb][OnCreate]" value="<inp2:m_Phrase label="lu_btn_Create" no_editing="1"/>"/>
+								<input class="button" type="button" value="<inp2:m_Phrase label="lu_btn_Cancel" no_editing="1"/>" onclick="redirect('<inp2:m_Link template="__default__"/>');"/>
+							</inp2:m_RenderElement>
+						</table>
+					</form>
+				<inp2:m_else/>
+					<inp2:m_phrase name="lu_text_NoNewTopicPermission"/>
+				</inp2:m_if>
+			</inp2:m_RenderElement>
+			<!-- // new topic -->
+		</div>
+	</div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: themes/advanced/in-bulletin/topics/add_confirm.tpl
===================================================================
--- themes/advanced/in-bulletin/topics/add_confirm.tpl	(revision 0)
+++ themes/advanced/in-bulletin/topics/add_confirm.tpl	(revision 0)
@@ -0,0 +1,49 @@
+<!--##
+<NAME>New Topic - Confirmation</NAME>
+<DESC>New Topic Confirmation page</DESC>
+<SECTION>Platform||Topics</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_phrase name="lu_title_AddTopicConfirm"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="in-bulletin/elements/side_boxes/action_box.elm" design="blue_box"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_AddTopicConfirm" templates="in-bulletin/topics/add_confirm" show_category="1"/>
+		</div>
+		<div class="movable-element">
+			<!-- add topic confirm -->
+			<inp2:m_RenderElement design="content_box">
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_title_AddTopicConfirm"/>
+				</inp2:m_Capture>
+
+				<inp2:m_phrase name="lu_NewTopic_Confirm_Text"/><br /><br />
+				<a href="<inp2:m_Link template="in-bulletin/my_account/my_topics" m_cat_id="0" m_cat_page="1"/>"><inp2:m_Phrase name="lu_text_MyTopics"/></a>
+			</inp2:m_RenderElement>
+			<!-- // add topic confirm -->
+		</div>
+	</div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: themes/advanced/in-bulletin/module_info.xml
===================================================================
--- themes/advanced/in-bulletin/module_info.xml	(revision 0)
+++ themes/advanced/in-bulletin/module_info.xml	(revision 0)
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="utf-8"?>
+<module_info>
+	<section_design_template>in-bulletin/designs/section</section_design_template>
+	<item_design_template>in-bulletin/designs/post_list</item_design_template>
+</module_info>
\ No newline at end of file
Index: themes/advanced/in-bulletin/elements/html_head.elm.tpl
===================================================================
--- themes/advanced/in-bulletin/elements/html_head.elm.tpl	(revision 0)
+++ themes/advanced/in-bulletin/elements/html_head.elm.tpl	(revision 0)
@@ -0,0 +1,6 @@
+<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>
+
+<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"/>');
+</script>
\ No newline at end of file
Index: themes/advanced/in-bulletin/elements/categories.elm.tpl
===================================================================
--- themes/advanced/in-bulletin/elements/categories.elm.tpl	(revision 0)
+++ themes/advanced/in-bulletin/elements/categories.elm.tpl	(revision 0)
@@ -0,0 +1,49 @@
+<inp2:m_DefineElement name="category_element">
+	<inp2:m_if check="SubCatCount">
+		<tr>
+			<td colspan="4">
+				<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="1" alt="" /></div>
+			</td>
+		</tr>
+
+		<tr>
+			<td class="forums-subheaders" colspan="4">
+				<a href="<inp2:CategoryLink template="__default__"/>"><strong><inp2:Field name="Name"/></strong></a>
+			</td>
+		</tr>
+		<inp2:ListCategories render_as="category_element" per_page="-1" no_table="1" requery="1"/>
+	<inp2:m_else/>
+		<tr>
+			<td colspan="4">
+				<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="1" alt="" /></div>
+			</td>
+		</tr>
+		<tr>
+			<td class="forums-cells">
+				<table>
+					<tr>
+						<td class="forums-icon-cell">
+							<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/forums_dir.gif" width="20" height="24" alt="" /><br />
+						</td>
+						<td>
+							<a href="<inp2:CategoryLink template="__default__"/>"><inp2:Field name="Name"/></a><br />
+							<inp2:Field name="Description" nl2br="1"/>
+						</td>
+					</tr>
+				</table>
+			</td>
+
+			<td class="forums-cells">
+				<inp2:CategoryItemCount prefix="bb"/>
+			</td>
+
+			<td class="forums-cells">
+				<inp2:CategoryItemCount prefix="bb-post"/>
+			</td>
+
+			<td class="forums-cells">
+				<inp2:Field name="Modified" format="_regional_DateFormat"/> <inp2:Field name="Modified" format="g:i a"/>
+			</td>
+		</tr>
+	</inp2:m_if>
+</inp2:m_DefineElement>
Index: themes/advanced/in-bulletin/elements/side_boxes/action_box.elm.tpl
===================================================================
--- themes/advanced/in-bulletin/elements/side_boxes/action_box.elm.tpl	(revision 0)
+++ themes/advanced/in-bulletin/elements/side_boxes/action_box.elm.tpl	(revision 0)
@@ -0,0 +1,35 @@
+<inp2:m_Capture to_var="header">
+	<inp2:m_phrase name="lu_title_ActionBox"/>
+</inp2:m_Capture>
+
+<table width="100%" style="border-width: 0px;">
+	<inp2:m_RenderElement name="box_element" template="platform/categories/suggest_category" title="lu_SuggestCategory" prefix="bb"/>
+	<inp2:m_RenderElement name="box_element" template="in-bulletin/topics/new_topic" title="lu_NewTopic" prefix="bb"/>
+
+	<inp2:m_if check="m_Param" name="item_actions">
+		<tr>
+			<td>-</td>
+			<td>
+				<inp2:m_if check="bb_IsFavorite">
+					<a href="<inp2:bb_FavoriteToggleLink/>">
+						<inp2:m_phrase name="lu_btn_RemoveFromFavorites"/>
+					</a>
+				<inp2:m_else/>
+					<a href="<inp2:bb_FavoriteToggleLink template="platform/my_account/my_favorites"/>">
+						<inp2:m_phrase name="lu_btn_AddToFavorites"/>
+					</a>
+				</inp2:m_if>
+			</td>
+		</tr>
+
+		<!--##
+		<tr>
+			<td>-</td>
+			<td>
+				<a href="<inp2:bb_TopicLink template="in-bulletin/topics/rate"/>" class="static"><inp2:m_phrase name="lu_btn_RateThisTopic"/></a>
+			</td>
+		</tr>
+		##-->
+		
+	</inp2:m_if>
+</table>
Index: themes/advanced/in-bulletin/elements/side_boxes/poll_results.elm.tpl
===================================================================
--- themes/advanced/in-bulletin/elements/side_boxes/poll_results.elm.tpl	(revision 0)
+++ themes/advanced/in-bulletin/elements/side_boxes/poll_results.elm.tpl	(revision 0)
@@ -0,0 +1,8 @@
+<inp2:m_DefineElement name="answer_element">
+<li>
+	<inp2:Field name="Answer"/> &ndash; <inp2:Field name="VotesQty"/>
+</li>
+</inp2:m_DefineElement>
+<ul style="list-style-type: none; padding-left: 0px;">
+	<inp2:poll-answer_PrintList list_name="list_answers" render_as="answer_element" direction="H" sort_by="VotesQty,Desc" requery="1"/>
+</ul>
\ No newline at end of file
Index: themes/advanced/in-bulletin/elements/side_boxes/polls.elm.tpl
===================================================================
--- themes/advanced/in-bulletin/elements/side_boxes/polls.elm.tpl	(revision 0)
+++ themes/advanced/in-bulletin/elements/side_boxes/polls.elm.tpl	(revision 0)
@@ -0,0 +1,65 @@
+<!-- POllS -->
+<inp2:poll_InitList list_name="list_polls" per_page="-1"/>
+
+<inp2:m_Capture to_var="header">
+	<inp2:m_phrase name="lu_title_Polls"/>
+</inp2:m_Capture>
+
+<inp2:m_DefineElement name="answer_element">
+<li style="margin-bottom:5px;">
+	<input type="radio" name="poll_<inp2:Field name="PollId"/>" onclick="getElementById('selected_opt_<inp2:Field name="PollId"/>').value='<inp2:Field name="AnswerId"/>';getElementById('vote_button').disabled=false;"> <inp2:Field name="Answer"/>
+</li>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="poll_element">
+<div style="margin-bottom:25px;">
+	<div style="text-align:left;">
+		<strong><inp2:Field name="Question"/></strong>
+	</div>
+	<inp2:m_if check="Field" name="Image">
+	<br/>
+		<a href="<inp2:Field name="Image" format="resize:640x480"/>" class="thickbox" title="<inp2:Field field="Question"/>">
+			<img src="<inp2:Field name="Image" format="resize:100x100"/>" border="0" alt="<inp2:Field field="Question"/>"></a>
+	</inp2:m_if>
+
+	<div id="pollvote_<inp2:Field name="PollId"/>" style="text-align:left; margin-top:10px; margin-bottom:10px">
+	<inp2:m_if check="Field" name="RequireLogin">
+		<inp2:m_include t="in-bulletin/elements/side_boxes/poll_results.elm"/>
+		<div style="padding-top:5px; font-style: italic; font-weight: bold; text-align: center">
+			<inp2:m_phrase name="lu_text_GuestsLoginToVote"/>
+		</div>
+	<inp2:m_else/>
+		<inp2:m_if check="HasVoted">
+			<inp2:m_include t="in-bulletin/elements/side_boxes/poll_results.elm"/>
+			<div style="padding-top:5px; font-style: italic; font-weight: bold; text-align: center">
+				<inp2:m_phrase name="lu_text_AlreadyVoted"/>
+			</div>
+		<inp2:m_else/>
+			<ul style="list-style-type: none; padding-left: 0px;"><inp2:Field name="PollId" result_to_var="poll_id"/>
+				<inp2:poll-answer_PrintList list_name="list_answers" render_as="answer_element" direction="H" poll_id="$poll_id" requery="1"/>
+			</ul>
+			<div style="text-align: center; margin-top:8px; ">
+				<input type="hidden" id="selected_opt_<inp2:Field name="PollId"/>" name="selected_opt_<inp2:Field name="PollId"/>"/>
+				<input class="button" type="button" id="vote_button" disabled onclick="aPollManager.makeVote('poll', <inp2:Field name="PollId"/>, getElementById('selected_opt_<inp2:Field name="PollId"/>').value); return false;" value="<inp2:m_Phrase label="lu_btn_Vote" no_editing="1"/>"/>
+			</div>
+		</inp2:m_if>
+	</inp2:m_if>
+	</div>
+
+	<!--## USER COMMENTS ##-->
+	<inp2:m_if check="Field" name="AllowComments">
+	<div style="text-align:center;">
+		<inp2:m_ifnot check="HasCommented">
+			<a href="<inp2:CommentsLink t="in-bulletin/elements/content_boxes/add_poll_comment.elm" height="480" width="480"/>" title="<inp2:Field name="Question"/>" class="thickbox"/><inp2:m_phrase name="lu_title_AddComment"/></a><br>
+		</inp2:m_ifnot>
+		<a href="<inp2:CommentsLink t="in-bulletin/elements/content_boxes/poll_comments.elm" height="480" width="480"/>" title="<inp2:Field name="Question"/>" class="thickbox"/><inp2:m_phrase name="lu_title_ViewComments"/></a>
+	</div>
+	</inp2:m_if>
+	<!--## //USER COMMENTS ##-->
+</div>
+</inp2:m_DefineElement>
+
+<div style="width:100%; text-align:center;">
+	<inp2:poll_PrintList list_name="list_polls" render_as="poll_element" direction="H"/>
+</div>
+<!-- //POllS -->
\ No newline at end of file
Index: themes/advanced/in-bulletin/elements/.smsignore
===================================================================
--- themes/advanced/in-bulletin/elements/.smsignore	(revision 0)
+++ themes/advanced/in-bulletin/elements/.smsignore	(revision 0)
@@ -0,0 +1 @@
+.*\.xml\.tpl
\ No newline at end of file
Index: themes/advanced/in-bulletin/elements/content_boxes/category_topics.elm.tpl
===================================================================
--- themes/advanced/in-bulletin/elements/content_boxes/category_topics.elm.tpl	(revision 0)
+++ themes/advanced/in-bulletin/elements/content_boxes/category_topics.elm.tpl	(revision 0)
@@ -0,0 +1,65 @@
+<!-- topics in category -->
+<inp2:m_DefineElement name="no_topics">
+	<inp2:m_phrase name="lu_NoTopics"/>
+</inp2:m_DefineElement>
+
+<inp2:m_RenderElement design="content_box" data_exists="1" block_no_data="no_topics">
+	<inp2:bb_InitList list_name="items_in_current_cat" />
+
+	<inp2:m_Capture to_var="header">
+		<inp2:m_phrase name="lu_title_Topics"/> (<inp2:bb_TotalRecords list_name="items_in_current_cat"/>)
+	</inp2:m_Capture>
+
+	<inp2:m_include template="in-bulletin/elements/topics.elm"/>
+
+	<!--
+	<inp2:m_if check="bb_HasPermission" permissions="TOPIC.ADD|TOPIC.ADD.PENDING">
+		<table>
+			<td>
+				[<a href="<inp2:bb_SuggestItemLink template="in-bulletin/topics/new_topic"/>"><inp2:m_phrase name="lu_btn_NewTopic"/></a>]
+			</td>
+		</table>
+	</inp2:m_if>
+	-->
+
+	<table>
+		<tr>
+			<td class="category-statistics">
+				<inp2:bb-post_ItemCount/> <inp2:m_Phrase name="lu_posts"/> <inp2:m_Phrase name="lu_in"/> <inp2:bb_ItemCount/> <inp2:m_Phrase name="lu_topics"/> &nbsp;|&nbsp; <inp2:m_Phrase name="lu_AddedToday"/>: <inp2:bb_ItemCount today="1"/> <inp2:m_Phrase name="lu_topics"/>, <inp2:bb-post_ItemCount today="1"/> <inp2:m_Phrase name="lu_posts"/>
+			</td>
+		</tr>
+	</table>
+	<br />
+
+	<table width="100%">
+		<tr>
+			<td colspan="5">
+				<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="1" alt="" /></div>
+			</td>
+		</tr>
+		<tr class="sub-section-header">
+			<td><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/header_arrow.gif" width="11" height="11" alt="" /> &nbsp; <inp2:m_phrase name="lu_col_Topics"/></td>
+			<td><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/header_arrow.gif" width="11" height="11" alt="" /> &nbsp; <inp2:m_phrase name="lu_col_Poster"/></td>
+			<td><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/header_arrow.gif" width="11" height="11" alt="" /> &nbsp; <inp2:m_phrase name="lu_col_Date"/></td>
+			<td><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/header_arrow.gif" width="11" height="11" alt="" /> &nbsp; <inp2:m_phrase name="lu_col_Replies"/></td>
+			<td><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/header_arrow.gif" width="11" height="11" alt="" /> &nbsp; <inp2:m_phrase name="lu_col_Views"/></td>
+		</tr>
+
+		<inp2:bb_ListTopics list_name="items_in_current_cat" no_table="1" render_as="topic_element"/>
+	</table>
+
+	<br />
+
+	<inp2:m_include template="platform/elements/pagination.elm" prefix="bb" list_name="items_in_current_cat"/>
+
+	<inp2:m_if check="bb_HasPermission" permissions="TOPIC.ADD|TOPIC.ADD.PENDING">
+		<table>
+			<td>
+				<inp2:m_RenderElement design="big_button" title="lu_btn_NewTopic" icon="btn_reply">
+					<inp2:bb_SuggestItemLink template="in-bulletin/topics/new_topic"/>
+				</inp2:m_RenderElement>
+			</td>
+		</table>
+	</inp2:m_if>
+</inp2:m_RenderElement>
+<!-- // topics in category -->
\ No newline at end of file
Index: themes/advanced/in-bulletin/elements/content_boxes/related_items.elm.tpl
===================================================================
--- themes/advanced/in-bulletin/elements/content_boxes/related_items.elm.tpl	(revision 0)
+++ themes/advanced/in-bulletin/elements/content_boxes/related_items.elm.tpl	(revision 0)
@@ -0,0 +1,7 @@
+<!--## RELATED TOPICS ##-->	
+	<inp2:m_include template="in-bulletin/elements/topics.elm"/>		
+	
+	<table>
+		<inp2:bb_PrintList2 render_as="related_topic_element" types="related" related_to="$related_to" parent_cat_id="any" no_table="1"/>	
+	</table>
+<!--## // RELATED TOPICS ##-->
\ No newline at end of file
Index: themes/advanced/in-bulletin/elements/content_boxes/add_poll_comment.elm.tpl
===================================================================
--- themes/advanced/in-bulletin/elements/content_boxes/add_poll_comment.elm.tpl	(revision 0)
+++ themes/advanced/in-bulletin/elements/content_boxes/add_poll_comment.elm.tpl	(revision 0)
@@ -0,0 +1,48 @@
+<inp2:m_DefineElement name="content">
+	<inp2:poll-comment_PresetFormFields/>
+	<br/>
+	<form method="post" id="poll_comment_form" action="<inp2:m_Link height="480" width="480" pass="m,poll,poll-comment" poll-comment_event="OnCreate" />">
+	<table class="form-data fullwidth">
+		<inp2:m_ifnot check="m_LoggedIn">
+			<inp2:m_RenderElement name="inp_edit_box" prefix="poll-comment" field="GuestName" title="lu_fld_Name" style="width:200px"/>
+			<inp2:m_RenderElement name="inp_edit_box" prefix="poll-comment" field="GuestEmail" title="lu_fld_Email" style="width:200px"/>
+		</inp2:m_ifnot>
+		<inp2:m_RenderElement name="inp_edit_textarea" prefix="poll-comment" field="CommentBody" rows="8" cols="40" title="lu_fld_Comment" is_last="1"/>
+		<inp2:m_RenderElement design="inp_edit_buttons">
+			<input type="hidden" name="success_template" value="in-bulletin/elements/content_boxes/poll_comments.elm" />
+			<input class="button" id="add_comment_btn" type="button" name="events[poll-comment][OnCreate]" value="<inp2:m_Phrase label="lu_btn_Create" no_editing="1"/>" />
+			<input class="button" type="reset" name="reset" value="<inp2:m_Phrase label="lu_btn_Reset" no_editing="1"/>" />
+		</inp2:m_RenderElement>
+	</table>
+	</form>
+	<script language="javascript" type="text/javascript">
+	$(document).ready(
+		function() {
+			$('#add_comment_btn').click(
+      			function ($e) {
+					TB.show(
+			          {
+			               url: $('#poll_comment_form').attr('action'),
+			               postParams: $('#poll_comment_form').serializeArray(),
+			               showCallback: function() {
+    	                		var $match_redirect = new RegExp('^#redirect#(.*)').exec($('#TB_ajaxContent').html());
+							     if ($match_redirect != null) {
+							          // redirect to external template requested
+							          TB.show( {url: $match_redirect[1]+'&height=480&width=480'} );
+							          return true;
+							     }
+			          		}
+			          	}
+			     	);
+      			}
+			)
+		}
+	);
+
+
+
+	</script>
+
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design_ajax.des" pass_params="1"/>
\ No newline at end of file
Index: themes/advanced/in-bulletin/elements/content_boxes/search_results.elm.tpl
===================================================================
--- themes/advanced/in-bulletin/elements/content_boxes/search_results.elm.tpl	(revision 0)
+++ themes/advanced/in-bulletin/elements/content_boxes/search_results.elm.tpl	(revision 0)
@@ -0,0 +1,53 @@
+<inp2:m_RenderElement design="content_box" data_exists="1">
+	<inp2:bb_InitList list_name="topic_search_results" types="search" parent_cat_id="any" recursive="1" per_page="short_list"/>
+
+	<inp2:m_Capture to_var="header">
+		<inp2:m_phrase name="lu_title_TopicSearchResults"/> (<inp2:bb_TotalRecords list_name="topic_search_results" />)
+	</inp2:m_Capture>
+
+	<inp2:m_include template="in-bulletin/elements/topics.elm"/>
+	<inp2:m_include template="platform/elements/search_results.elm"/>
+
+	<table class="fullwidth">
+		<tr>
+			<td class="category-statistics">
+				<inp2:m_phrase name="lu_TotalTopics"/>: <inp2:bb_TotalRecords list_name="topic_search_results"/>  &nbsp;|&nbsp;  <span class="static"><inp2:m_phrase name="lu_AddedToday"/>: 0</span>
+			</td>
+			<td class="category-statistics static" align="right">
+				<inp2:m_phrase name="lu_TopicsUpdated"/>: 05/17/2006
+			</td>
+		</tr>
+	</table>
+	<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="4" alt="" /><br />
+	<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/grey_pix.gif" width="100%" height="1" alt="" /><br />
+	<br />
+
+	<table class="fullwidth">
+		<tr>
+			<td colspan="5">
+				<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="1" alt="" /></div>
+			</td>
+		</tr>
+		<tr class="sub-section-header">
+			<td><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/header_arrow.gif" width="11" height="11" alt="" /> &nbsp; <inp2:m_phrase name="lu_col_Topics"/></td>
+			<td><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/header_arrow.gif" width="11" height="11" alt="" /> &nbsp; <inp2:m_phrase name="lu_col_Poster"/></td>
+			<td><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/header_arrow.gif" width="11" height="11" alt="" /> &nbsp; <inp2:m_phrase name="lu_col_Date"/></td>
+			<td><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/header_arrow.gif" width="11" height="11" alt="" /> &nbsp; <inp2:m_phrase name="lu_col_Replies"/></td>
+			<td><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/header_arrow.gif" width="11" height="11" alt="" /> &nbsp; <inp2:m_phrase name="lu_col_Views"/></td>
+		</tr>
+
+		<inp2:bb_ListTopics list_name="topic_search_results" render_as="topic_element" show_relevance="1"/>
+	</table>
+
+	<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="1" alt="" /><br /></div>
+
+	<inp2:m_if check="bb_TotalRecords" list_name="topic_search_results">
+		<inp2:m_Set items_found="1"/>
+	</inp2:m_if>
+
+	<inp2:m_DefineElement name="more_link">
+		<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="5" alt="" /><br />
+		<a href="<inp2:m_Link template="in-bulletin/topics/search_results" />"><inp2:m_Phrase label="lu_More"/>...</a>
+	</inp2:m_DefineElement>
+	<inp2:bb_MoreLink list_name="topic_search_results" render_as="more_link" />
+</inp2:m_RenderElement>
\ No newline at end of file
Index: themes/advanced/in-bulletin/elements/content_boxes/poll_comments.elm.tpl
===================================================================
--- themes/advanced/in-bulletin/elements/content_boxes/poll_comments.elm.tpl	(revision 0)
+++ themes/advanced/in-bulletin/elements/content_boxes/poll_comments.elm.tpl	(revision 0)
@@ -0,0 +1,27 @@
+<inp2:m_DefineElement name="content">
+
+		<inp2:m_DefineElement name="poll_comment_element">
+		<li style="margin-bottom: 10px;">
+			<inp2:Field name="CommentBody"/>
+			<inp2:Field name="CreatedOn"/>
+			<inp2:Field name="GuestEmail"/>
+			<inp2:Field name="GuestName"/>
+			<inp2:Field name="CreatedById"/>
+		</li>
+		</inp2:m_DefineElement>
+		<br/>
+
+		<inp2:poll-comment_InitList list_name="list_comments" direction="H" sort_by="CreatedOn,Desc" requery="1"/>
+
+		<inp2:m_if check="poll-comment_TotalRecords list_name="list_comments">
+			<ul>
+				<inp2:poll-comment_PrintList list_name="list_comments" render_as="poll_comment_element" direction="H"/>
+			</ul>
+		<inp2:m_else/>
+		<div align="center">
+			<a href="<inp2:poll_CommentsLink t="in-bulletin/elements/content_boxes/add_poll_comment.elm"/>?height=640&width=480" title="<inp2:poll_Field name="Question"/>" class="thickbox"><inp2:m_phrase name="lu_text_NoComments"/></a>
+		</div>
+		</inp2:m_if>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design_ajax.des" pass_params="1"/>
\ No newline at end of file
Index: themes/advanced/in-bulletin/elements/content_boxes/my_favorites.elm.tpl
===================================================================
--- themes/advanced/in-bulletin/elements/content_boxes/my_favorites.elm.tpl	(revision 0)
+++ themes/advanced/in-bulletin/elements/content_boxes/my_favorites.elm.tpl	(revision 0)
@@ -0,0 +1,33 @@
+<!-- favorite topics -->
+<inp2:m_RenderElement design="content_box" data_exists="1">
+	<inp2:bb_InitList list_name="favorite_topics" types="favorites" parent_cat_id="0" recursive="1"/>
+
+	<inp2:m_Capture to_var="header">
+		<inp2:m_phrase name="lu_title_FavoriteTopics"/> (<inp2:bb_TotalRecords list_name="favorite_topics"/>)
+	</inp2:m_Capture>
+
+	<inp2:m_include template="in-bulletin/elements/topics.elm"/>
+
+	<table class="fullwidth">
+		<tr>
+			<td colspan="5">
+				<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="1" alt="" /></div>
+			</td>
+		</tr>
+		<tr class="sub-section-header">
+			<td><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/header_arrow.gif" width="11" height="11" alt="" /> &nbsp; <inp2:m_phrase name="lu_col_Topics"/></td>
+			<td><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/header_arrow.gif" width="11" height="11" alt="" /> &nbsp; <inp2:m_phrase name="lu_col_Poster"/></td>
+			<td><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/header_arrow.gif" width="11" height="11" alt="" /> &nbsp; <inp2:m_phrase name="lu_col_Date"/></td>
+			<td><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/header_arrow.gif" width="11" height="11" alt="" /> &nbsp; <inp2:m_phrase name="lu_col_Replies"/></td>
+			<td><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/header_arrow.gif" width="11" height="11" alt="" /> &nbsp; <inp2:m_phrase name="lu_col_Views"/></td>
+		</tr>
+		<inp2:bb_ListTopics list_name="favorite_topics" render_as="topic_element" no_table="1"/>
+	</table>
+
+	<inp2:m_if check="bb_TotalRecords" list_name="favorite_topics">
+		<inp2:m_Set favorites_found="1"/>
+	</inp2:m_if>
+
+	<inp2:m_include template="platform/elements/pagination.elm" prefix="bb" list_name="favorite_topics"/>
+</inp2:m_RenderElement>
+<!-- // favorite topics -->
\ No newline at end of file
Index: themes/advanced/in-bulletin/elements/content_boxes/contact_user.elm.tpl
===================================================================
--- themes/advanced/in-bulletin/elements/content_boxes/contact_user.elm.tpl	(revision 0)
+++ themes/advanced/in-bulletin/elements/content_boxes/contact_user.elm.tpl	(revision 0)
@@ -0,0 +1,8 @@
+<tr>
+	<td style="width:140px">&nbsp;</td>
+	<td colspan="2">
+		<br />
+		<a href="<inp2:private-message_SendMessageLink template="in-bulletin/my_account/private_messages/new_message"/>"><inp2:m_phrase name="lu_btn_SendMessage"/></a>
+		<br /><br />
+	</td>
+</tr>
\ No newline at end of file
Index: themes/advanced/in-bulletin/elements/topics.elm.tpl
===================================================================
--- themes/advanced/in-bulletin/elements/topics.elm.tpl	(revision 0)
+++ themes/advanced/in-bulletin/elements/topics.elm.tpl	(revision 0)
@@ -0,0 +1,143 @@
+<inp2:m_DefineElement name="topic_element">
+	<tr>
+		<td colspan="5">
+			<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="1" alt="" /></div>
+		</td>
+	</tr>
+
+	<tr>
+		<td class="forums-cells">
+			<table>
+				<tr>
+					<td class="topics-icon-padding" valign="top">
+						<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/topics_icon.gif" width="14" height="12" alt="" /><br />
+					</td>
+					<td valign="top">
+						<inp2:m_if check="m_Param" name="show_relevance">
+							<inp2:RelevanceIndicator on_color="Red" off_color="White" relevance_normal_render_as="search_relevance_normal" relevance_full_render_as="search_relevance_full" /><br/>
+						</inp2:m_if>
+
+						<a href="<inp2:TopicLink template="__default__"/>"><inp2:Field name="TopicText"/></a>
+
+						<inp2:m_if check="Field" name="IsHot"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_hot.gif" alt="<inp2:m_Phrase name="lu_Hot" no_editing="1"/>"/></inp2:m_if>
+						<inp2:m_if check="Field" name="IsNew"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_new.gif" alt="<inp2:m_Phrase name="lu_New" no_editing="1"/>"/></inp2:m_if>
+						<inp2:m_if check="Field" name="IsPop"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_popular.gif" alt="<inp2:m_Phrase name="lu_Pop" no_editing="1"/>"/></inp2:m_if>
+						<inp2:m_if check="IsEditorsPick"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_pick.gif" alt="<inp2:m_Phrase name="lu_Pick" no_editing="1"/>"/></inp2:m_if>
+						<inp2:m_if check="IsFavorite"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_favorite.gif" alt="<inp2:m_Phrase name="lu_Favorite" no_editing="1"/>"/></inp2:m_if>
+						<inp2:VotesIndicator render_as="rating_element"/>
+					</td>
+				</tr>
+			</table>
+		</td>
+		<td width="100" class="forums-cells">
+			<inp2:Field name="OwnerId"/>
+		</td>
+		<td width="150" class="forums-cells">
+			<inp2:Field name="LastPostDate" format="_regional_DateFormat"/> &nbsp; <inp2:Field name="LastPostDate" format="_regional_TimeFormat"/>
+			<!--<inp2:m_phrase name="lu_By"/> <inp2:Field name="LastPoster"/>-->
+		</td>
+		<td width="100" class="forums-cells">
+			<inp2:TopicReplies/>
+		</td>
+		<td width="70" class="forums-cells">
+			<inp2:Field name="Views"/>
+		</td>
+	</tr>
+</inp2:m_DefineElement>
+
+<!--## RELATED TOPIC ELEMENT ##-->
+<inp2:m_DefineElement name="related_topic_element">
+	<tr>
+		<td width="25"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/topics_icon.gif" width="14" height="12" alt="" /></td>
+		<td><a href="<inp2:TopicLink template="__default__"/>" class="text-title"><inp2:Field name="TopicText"/></a></td>
+	</tr>
+</inp2:m_DefineElement>
+<!--## // RELATED TOPIC ELEMENT ##-->
+
+<inp2:m_DefineElement name="my_topic_element">
+	<tr>
+		<td colspan="4">
+			<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="1" alt="" /></div>
+		</td>
+	</tr>
+	<tr class="topic-prewiew-padding-cell">
+		<td>
+			<a href="<inp2:TopicLink template="__default__"/>"><inp2:Field name="TopicText"/></a>
+
+			<inp2:m_if check="Field" name="IsHot"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_hot.gif" alt="<inp2:m_Phrase name="lu_Hot" no_editing="1"/>"/></inp2:m_if>
+			<inp2:m_if check="Field" name="IsNew"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_new.gif" alt="<inp2:m_Phrase name="lu_New" no_editing="1"/>"/></inp2:m_if>
+			<inp2:m_if check="Field" name="IsPop"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_popular.gif" alt="<inp2:m_Phrase name="lu_Pop" no_editing="1"/>"/></inp2:m_if>
+			<inp2:m_if check="IsEditorsPick"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_pick.gif" alt="<inp2:m_Phrase name="lu_Pick" no_editing="1"/>"/></inp2:m_if>
+			<inp2:m_if check="IsFavorite"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_favorite.gif" alt="<inp2:m_Phrase name="lu_Favorite" no_editing="1"/>"/></inp2:m_if>
+			<inp2:VotesIndicator render_as="rating_element"/>
+
+			<br />
+			(<inp2:m_phrase name="lu_By"/>: <inp2:Field name="OwnerId"/>)
+
+			<br />
+
+			<inp2:m_phrase name="lu_fld_PrimaryCategory"/>: <strong><inp2:CategoryPath separator="&gt;" render_as="category_path_element"/></strong><br />
+
+			<br />
+			<table>
+				<tr>
+					<td style="padding:0px;">
+						<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/ic_details.gif" width="14" height="13" alt="" /> <a href="<inp2:TopicLink template="__default__"/>"><inp2:m_phrase name="lu_btn_Details"/></a>
+					</td>
+
+					<inp2:m_if check="HasPermission" permissions="TOPIC.MODIFY|TOPIC.MODIFY.PENDING|TOPIC.OWNER.MODIFY|TOPIC.OWNER.MODIFY.PENDING">
+					<td style="padding:0px;">
+						 &nbsp;|&nbsp; <img src="<inp2:m_TemplatesBase module="In-Portal"/>img/ic_edit.gif" width="11" height="10" alt="" /> <a href="<inp2:TopicLink template="in-bulletin/topics/modify_topic"/>"><inp2:m_phrase name="lu_btn_Modify"/></a>
+					</td>
+					</inp2:m_if>
+
+					<inp2:m_if check="HasPermission" permissions="TOPIC.DELETE|TOPIC.OWNER.DELETE">
+					<td style="padding:0px;">
+						&nbsp;|&nbsp; <img src="<inp2:m_TemplatesBase module="In-Portal"/>img/ic_delete.gif" width="11" height="10" alt="" /> <a href="<inp2:TopicLink bb_event="OnDelete"/>" onclick="return confirm('<inp2:m_phrase name="lu_DeleteTopicConfirm" js_escape="1"/>');"><inp2:m_phrase name="lu_btn_Delete"/></a>
+					</td>
+					</inp2:m_if>
+				</tr>
+			</table>
+
+		</td>
+		<td>
+			<inp2:TopicReplies/>
+		</td>
+		<td>
+			<inp2:Field name="Views"/>
+		</td>
+		<td align="center">
+			<inp2:Field name="LastPostDate" format="_regional_DateFormat"/><br />
+			<inp2:Field name="LastPostDate" format="_regional_TimeFormat"/><br />
+			<inp2:m_phrase name="lu_By"/> <inp2:Field name="LastPoster"/>
+		</td>
+	</tr>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="big_button" title="" icon="">
+	<table style="margin: 0px;">
+		<tr valign="top">
+			<td class="big-button-left-border">
+				<img src="<inp2:m_TemplatesBase module="In-Bulletin"/>img/big_buttons/top_left_corner.gif" width="11" height="16" alt="" /><br />
+			</td>
+			<td class="big-button-text">
+				<a href="<inp2:m_Param name="content"/>"><inp2:m_phrase name="$title"/></a>
+			</td>
+			<td>
+				<a href="<inp2:m_Param name="content"/>"><img src="<inp2:m_TemplatesBase module="In-Bulletin"/>img/big_buttons/icons/<inp2:m_param name="icon"/>.gif" alt=""></a><br />
+			</td>
+		</tr>
+
+		<tr valign="top" class="big-button-bottom">
+			<td>
+				<img src="<inp2:m_TemplatesBase module="In-Bulletin"/>img/big_buttons/bottom_left_corner.gif" width="11" height="10" alt="" /><br />
+			</td>
+			<td>
+				<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="1" alt="" /><br />
+			</td>
+			<td align="right">
+				<img src="<inp2:m_TemplatesBase module="In-Bulletin"/>img/big_buttons/bottom_right_corner.gif" width="11" height="10" alt="" /><br />
+			</td>
+		</tr>
+	</table>
+</inp2:m_DefineElement>
\ No newline at end of file
Index: themes/advanced/in-bulletin/elements/posts.elm.tpl
===================================================================
--- themes/advanced/in-bulletin/elements/posts.elm.tpl	(revision 0)
+++ themes/advanced/in-bulletin/elements/posts.elm.tpl	(revision 0)
@@ -0,0 +1,150 @@
+<inp2:m_DefineElement name="smiley_element">
+	<img class="emoticon" src="<inp2:m_param name="smiley_url"/>" />
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="bbcode_element">
+	<div class="bbcode"><inp2:m_param name="bb_code"/></div>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="post_quote_element">
+<table class="quoted-reply fullwidth">
+	<tr>
+		<td><inp2:Field name="PosterAlias"/> <inp2:m_Phrase name="lu_wrote"/>:</td>
+		<td align="right"><inp2:Field name="CreatedOn"/></td>
+	</tr>
+	<tr>
+		<td colspan="2">
+			<inp2:PostBody quote_render_as="post_quote_element" smiley_render_as="smiley_element" bbcode_render_as="bbcode_element"/>
+		</td>
+	</tr>
+</table>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="small_button" title="" confirm_phrase="" icon="">
+	<table style="margin: 0px;">
+		<tr valign="top">
+			<td>
+				<img src="<inp2:m_TemplatesBase module="In-Bulletin"/>img/small_buttons/top_left_corner.gif" width="5" height="27" alt="" /><br />
+			</td>
+			<td class="small-button-text">
+
+				<a href="<inp2:m_Param name="content"/>"<inp2:m_if check="m_Param" name="confirm_phrase"> onclick="return confirm('<inp2:m_phrase name="$confirm_phrase" js_escape="1"/>');"</inp2:m_if>><inp2:m_phrase name="$title"/></a>
+			</td>
+			<td>
+				<a href="<inp2:m_Param name="content"/>"<inp2:m_if check="m_Param" name="confirm_phrase"> onclick="return confirm('<inp2:m_phrase name="$confirm_phrase" js_escape="1"/>');"</inp2:m_if>><img src="<inp2:m_TemplatesBase module="In-Bulletin"/>img/small_buttons/icons/<inp2:m_param name="icon"/>.gif"></a><br />
+			</td>
+		</tr>
+		<tr valign="top" class="small-button-bottom">
+			<td>
+				<img src="<inp2:m_TemplatesBase module="In-Bulletin"/>img/small_buttons/bottom_left_corner.gif" width="5" height="5" alt="" /><br />
+			</td>
+			<td>
+				<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="1" alt="" /><br />
+			</td>
+			<td align="right">
+				<img src="<inp2:m_TemplatesBase module="In-Bulletin"/>img/small_buttons/bottom_right_corner.gif" width="5" height="5" alt="" /><br />
+			</td>
+		</tr>
+	</table>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="post_element">
+	<tr>
+		<td colspan="2">
+			<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="1" alt="" /><br /></div>
+		</td>
+	</tr>
+	<tr>
+		<td class="<inp2:m_odd_even odd="post-background-2" even="post-background-1" readonly="1"/>" valign="top">
+			<table>
+				<tr>
+					<td style="padding:0px 5px" valign="top" width="21" class="post-icon-padding-right">
+						<img src="<inp2:m_TemplatesBase module="In-bulletin"/>img/icon_post_1.gif" width="21" height="24" alt="" />
+					</td>
+					<td style="padding:0px">
+						<inp2:m_if check="PosterFound">
+							<a href="<inp2:ProfileLink template="platform/my_account/public_profile"/>"><strong><inp2:Field name="PosterAlias"/></strong></a>
+
+							<br />
+							<inp2:PosterField name="PrimaryGroup"/><br /><br />
+
+							<inp2:Image render_as="image_element" primary="1" DefaultImage="platform/img/no_picture.gif" MaxWidth="60"/><br clear="all"/><br /><br />
+
+							<inp2:m_phrase name="lu_Joined"/>: <inp2:PosterField name="CreatedOn" format="_regional_DateFormat"/><br />
+							<inp2:m_phrase name="lu_Posts"/>: <inp2:PosterPostsCount/><br />
+							<inp2:m_phrase name="lu_Location"/>: <inp2:PosterField name="Country"/><br />
+						<inp2:m_else/>
+							<inp2:m_if check="Field" name="PosterAlias">
+								<strong><inp2:Field name="PosterAlias"/></strong>
+							<inp2:m_else/>
+								<inp2:m_phrase name="lu_Guest"/>
+							</inp2:m_if>
+						</inp2:m_if>
+					</td>
+				</tr>
+			</table>
+
+		</td>
+		<td class="<inp2:m_odd_even odd="post-background-2" even="post-background-1"/>" valign="top">
+			<table class="fullwidth">
+				<tr>
+					<td class="post-control">
+						<strong><inp2:m_phrase name="lu_Posted" /></strong>: <inp2:Field name="CreatedOn"/>
+						<br /><br />
+					</td>
+					<td class="post-control" align="right">
+
+
+
+
+						<table class="no-padding">
+							<tr>
+
+								<inp2:m_if check="HasPermission" permissions="TOPIC.REPLY.OWNER.MODIFY|TOPIC.REPLY.MODIFY">
+									<td>
+										<inp2:m_RenderElement design="small_button" title="lu_btn_ModifyPost" confirm_phrase="" icon="btn_sm_modify" pass_params="1">
+											<inp2:PostLink template="in-bulletin/topics/modify_post"/>
+										</inp2:m_RenderElement>
+									</td>
+								</inp2:m_if>
+
+								<inp2:m_if check="HasPermission" permissions="TOPIC.REPLY.OWNER.DELETE|TOPIC.REPLY.DELETE">
+									<td style="padding-left:5px">
+										<inp2:m_RenderElement design="small_button" title="lu_btn_DeletePost" confirm_phrase="lu_DeletePostConfirm" icon="btn_sm_delete" pass_params="1">
+											<inp2:PostLink bb-post_event="OnDelete"/>
+										</inp2:m_RenderElement>
+									</td>
+								</inp2:m_if>
+
+								<inp2:m_if check="bb_HasPermission" permissions="TOPIC.REPLY.ADD">
+									<td style="padding-left:5px">
+										<inp2:m_RenderElement design="small_button" title="lu_btn_ReplyQuoted" confirm_phrase="" icon="btn_sm_quoted" pass_params="1">
+											<inp2:ReplyQuotedLink template="in-bulletin/topics/new_topic_reply"/>
+										</inp2:m_RenderElement>
+									</td>
+								</inp2:m_if>
+
+							</tr>
+						</table>
+					</td>
+				</tr>
+			</table>
+			<br />
+
+			<inp2:m_if check="PostSubject">
+				<strong><inp2:PostSubject/></strong><br />
+			</inp2:m_if>
+
+			<inp2:PostBody quote_render_as="post_quote_element" smiley_render_as="smiley_element" bbcode_render_as="bbcode_element"/>
+			<br /><br />
+
+			<inp2:m_if check="ShowPostSignature">
+				<div>
+					------------------------------------------------------------------------------<br />
+					<inp2:PostSignature smiley_render_as="smiley_element" bbcode_render_as="bbcode_element"/><br />
+					<br />
+				</div>
+			</inp2:m_if>
+		</td>
+	</tr>
+</inp2:m_DefineElement>
\ No newline at end of file
Index: themes/advanced/in-bulletin/elements/forms.elm.tpl
===================================================================
--- themes/advanced/in-bulletin/elements/forms.elm.tpl	(revision 0)
+++ themes/advanced/in-bulletin/elements/forms.elm.tpl	(revision 0)
@@ -0,0 +1,32 @@
+<inp2:m_DefineElement name="inp_edit_textarea_bb" style="" is_last="0">
+	<tr class="<inp2:m_odd_even odd="table_color1" even="table_color2"/>">
+		<inp2:m_RenderElement name="inp_edit_field_caption" prefix="$prefix" field="$field" title="$title"/>
+		<td class="field-value">
+			<a href="<inp2:m_Link/>" onclick="insertTags('[B]', '[/B]', 'bold text', '<inp2:{$prefix}_InputName field="$field"/>'); return false;">
+				<img src="<inp2:m_TemplatesBase module="in-bulletin"/>img/toolbar/bold_icon.png" border="0"/>
+			</a>
+			<a href="<inp2:m_Link/>" onclick="insertTags('[I]', '[/I]', 'italic text', '<inp2:{$prefix}_InputName field="$field"/>'); return false;">
+				<img src="<inp2:m_TemplatesBase module="in-bulletin"/>img/toolbar/italic_icon.png" border="0"/>
+			</a>
+			<a href="<inp2:m_Link/>" onclick="insertTags('[U]', '[/U]', 'underlined text', '<inp2:{$prefix}_InputName field="$field"/>'); return false;">
+				<img src="<inp2:m_TemplatesBase module="in-bulletin"/>img/toolbar/underline_icon.png" border="0"/>
+			</a>
+			<a href="<inp2:m_Link/>" onclick="insertTags('[URL HREF=', ']link name[/URL]', 'link url', '<inp2:{$prefix}_InputName field="$field"/>'); return false;">
+				<img src="<inp2:m_TemplatesBase module="in-bulletin"/>img/toolbar/link_icon.png" border="0"/>
+			</a>
+			<a href="<inp2:m_Link/>" onclick="insertTags('[IMG BORDER=1 SRC=', '][/IMG]', 'image url', '<inp2:{$prefix}_InputName field="$field"/>'); return false;">
+				<img src="<inp2:m_TemplatesBase module="in-bulletin"/>img/toolbar/image_icon.png" border="0"/>
+			</a>
+			<a href="<inp2:m_Link/>" onclick="insertTags('[CODE]', '[/CODE]', 'code text', '<inp2:{$prefix}_InputName field="$field"/>'); return false;">
+				<img src="<inp2:m_TemplatesBase module="in-bulletin"/>img/toolbar/code_icon.png" border="0"/>
+			</a>
+
+			<br />
+			<inp2:m_if check="{$prefix}_HasError" field="$field">
+				<span class="field-error"><inp2:{$prefix}_Error field="$field"/></span><br />
+			</inp2:m_if>
+			<textarea class="input-textarea" tabindex="<inp2:m_get param="tab_index"/>" name="<inp2:{$prefix}_InputName field="$field"/>" id="<inp2:{$prefix}_InputName field="$field"/>" cols="<inp2:m_param name="cols"/>" rows="<inp2:m_param name="rows"/>" style="<inp2:m_param name="style"/>"><inp2:{$prefix}_Field field="$field"/></textarea>
+		</td>
+	</tr>
+	<inp2:m_RenderElement name="inp_edit_field_separator" is_last="$is_last"/>
+</inp2:m_DefineElement>
\ No newline at end of file
Index: themes/advanced/in-bulletin/elements/private_messages.elm.tpl
===================================================================
--- themes/advanced/in-bulletin/elements/private_messages.elm.tpl	(revision 0)
+++ themes/advanced/in-bulletin/elements/private_messages.elm.tpl	(revision 0)
@@ -0,0 +1,106 @@
+<inp2:m_DefineElement name="folder_tab">
+	<td class="<inp2:m_if check="private-message_FolderSelected" folder="$folder">active-tab<inp2:m_else/>inactive-tab</inp2:m_if>">
+		<a href="<inp2:private-message_FolderLink folder="$folder"/>"><inp2:m_phrase name="$title"/></a>
+	</td>
+	<td width="8">
+		&nbsp;
+	</td>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="folder_tabs">
+	<a href="<inp2:m_Link template="in-bulletin/my_account/private_messages/new_message"/>"><inp2:m_Phrase name="lu_btn_NewPrivateMessage"/></a><br /><br />
+
+	<table class="fullwidth tab-bottom-line">
+		<tr>
+			<td class="tab-left-padding">
+				<table>
+					<tr>
+						<inp2:m_RenderElement name="folder_tab" folder="inbox" title="lu_folder_Inbox"/>
+						<inp2:m_RenderElement name="folder_tab" folder="sent" title="lu_folder_Sent"/>
+					</tr>
+				</table>
+			</td>
+		</tr>
+	</table>
+
+	<br />
+	<br />
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="small_button" title="" icon="">
+	<table style="margin: 0px;">
+		<tr valign="top">
+			<td>
+				<img src="<inp2:m_TemplatesBase module="In-Bulletin"/>img/small_buttons/top_left_corner.gif" width="5" height="27" alt="" /><br />
+			</td>
+			<td class="small-button-text">
+				<a href="<inp2:m_Param name="content"/>" <inp2:m_param name="icon"/>><inp2:m_phrase name="$title"/></a>
+			</td>
+			<td>
+				<a href="<inp2:m_Param name="content"/>"><img src="<inp2:m_TemplatesBase module="In-Bulletin"/>img/small_buttons/icons/<inp2:m_param name="icon"/>.gif"></a><br />
+			</td>
+		</tr>
+		<tr valign="top" class="small-button-bottom">
+			<td>
+				<img src="<inp2:m_TemplatesBase module="In-Bulletin"/>img/small_buttons/bottom_left_corner.gif" width="5" height="5" alt="" /><br />
+			</td>
+			<td>
+				<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="1" alt="" /><br />
+			</td>
+			<td align="right">
+				<img src="<inp2:m_TemplatesBase module="In-Bulletin"/>img/small_buttons/bottom_right_corner.gif" width="5" height="5" alt="" /><br />
+			</td>
+		</tr>
+	</table>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="no_private_messages">
+	<inp2:m_RenderElement name="folder_tabs"/>
+
+	<inp2:m_Phrase name="lu_NoPrivateMessages"/>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="smiley_element">
+	<img class="emoticon" src="<inp2:m_param name="smiley_url"/>" />
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="bbcode_element">
+	<div class="bbcode"><inp2:m_param name="bb_code"/></div>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="private_message_element">
+	<tr>
+		<td colspan="3">
+			<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="1" alt="" /></div>
+		</td>
+	</tr>
+	<tr class="listing-row">
+		<td>
+			<inp2:m_if check="FolderSelected" folder="inbox">
+				<a href="<inp2:ProfileLink template="platform/my_account/public_profile" type="From"/>"><strong><inp2:Field name="FromName"/></strong></a>
+				<inp2:m_if check="Field" name="FromFullName">
+					&nbsp;(<inp2:Field name="FromFullName"/>)
+				</inp2:m_if>
+			<inp2:m_else/>
+				<a href="<inp2:ProfileLink template="platform/my_account/public_profile" type="To"/>"><strong><inp2:Field name="ToName"/></strong></a>
+				<inp2:m_if check="Field" name="ToFullName">
+					&nbsp;(<inp2:Field name="ToFullName"/>)
+				</inp2:m_if>
+			</inp2:m_if>
+		</td>
+		<td>
+			<a href="<inp2:ItemLink template="in-bulletin/my_account/private_messages/view_message"/>">
+				<inp2:m_if check="IsNew">
+					<span class="new-private-message">
+						<inp2:MessageSubject empty_title="lu_NoSubject"/>
+					</span>
+				<inp2:m_else/>
+					<inp2:MessageSubject empty_title="lu_NoSubject"/>
+				</inp2:m_if>
+			</a>
+		</td>
+		<td>
+			<inp2:Field name="CreatedOn"/>
+		</td>
+	</tr>
+</inp2:m_DefineElement>
\ No newline at end of file
Index: themes/advanced/in-bulletin/_install/install_data.sql
===================================================================
--- themes/advanced/in-bulletin/_install/install_data.sql	(revision 0)
+++ themes/advanced/in-bulletin/_install/install_data.sql	(revision 0)
@@ -0,0 +1 @@
+UPDATE Category SET l1_Name = 'Forums (TD)' WHERE l1_Name = 'Forums';
\ No newline at end of file
Index: themes/advanced/in-bulletin/_install/english.lang
===================================================================
--- themes/advanced/in-bulletin/_install/english.lang	(revision 0)
+++ themes/advanced/in-bulletin/_install/english.lang	(revision 0)
@@ -0,0 +1,114 @@
+<LANGUAGES>
+	<LANGUAGE PackName="English" Encoding="base64"><DATEFORMAT>m/d/Y</DATEFORMAT><TIMEFORMAT>g:i A</TIMEFORMAT><INPUTDATEFORMAT>m/d/Y</INPUTDATEFORMAT><INPUTTIMEFORMAT>g:i:s A</INPUTTIMEFORMAT><DECIMAL>.</DECIMAL><THOUSANDS>,</THOUSANDS><CHARSET>utf-8</CHARSET><DOCS_URL>http://docs.in-portal.org/eng/index.php</DOCS_URL><UNITSYSTEM>2</UNITSYSTEM>
+		<PHRASES>
+			<PHRASE Label="lu_btn_DeletePost" Module="In-Bulletin" Type="0">RGVsZXRlIFBvc3Q=</PHRASE>
+			<PHRASE Label="lu_btn_LockTopic" Module="In-Bulletin" Type="0">TG9jayBUb3BpYw==</PHRASE>
+			<PHRASE Label="lu_btn_ModifyPost" Module="In-Bulletin" Type="0">TW9kaWZ5IFBvc3Q=</PHRASE>
+			<PHRASE Label="lu_btn_NewPrivateMessage" Module="In-Bulletin" Type="0">TmV3IFByaXZhdGUgTWVzc2FnZQ==</PHRASE>
+			<PHRASE Label="lu_btn_newtopic" Module="In-Bulletin" Type="0">TmV3IHRvcGlj</PHRASE>
+			<PHRASE Label="lu_btn_RateThisTopic" Module="In-Bulletin" Type="0">UmF0ZSBUb3BpYw==</PHRASE>
+			<PHRASE Label="lu_btn_Reply" Module="In-Bulletin" Type="0">UmVwbHk=</PHRASE>
+			<PHRASE Label="lu_btn_ReplyQuoted" Module="In-Bulletin" Type="0">UmVwbHkgUXVvdGVk</PHRASE>
+			<PHRASE Label="lu_btn_SendMessage" Module="In-Bulletin" Type="0">U2VuZCBQcml2YXRlIE1lc3NhZ2U=</PHRASE>
+			<PHRASE Label="lu_btn_UnlockTopic" Module="In-Bulletin" Type="0">VW5sb2NrIFRvcGlj</PHRASE>
+			<PHRASE Label="lu_btn_Vote" Module="In-Bulletin" Type="0">Vm90ZQ==</PHRASE>
+			<PHRASE Label="lu_col_Author" Module="In-Bulletin" Type="0">QXV0aG9y</PHRASE>
+			<PHRASE Label="lu_col_Created" Module="In-Bulletin" Type="0">RGF0ZQ==</PHRASE>
+			<PHRASE Label="lu_col_Forums" Module="In-Bulletin" Type="0">Rm9ydW1z</PHRASE>
+			<PHRASE Label="lu_col_FromName" Module="In-Bulletin" Type="0">RnJvbQ==</PHRASE>
+			<PHRASE Label="lu_col_LastPost" Module="In-Bulletin" Type="0">TGFzdCBQb3N0</PHRASE>
+			<PHRASE Label="lu_col_Poster" Module="In-Bulletin" Type="0">UG9zdGVy</PHRASE>
+			<PHRASE Label="lu_col_Posts" Module="In-Bulletin" Type="0">UG9zdHM=</PHRASE>
+			<PHRASE Label="lu_col_Replies" Module="In-Bulletin" Type="0">UmVwbGllcw==</PHRASE>
+			<PHRASE Label="lu_col_Subject" Module="In-Bulletin" Type="0">U3ViamVjdA==</PHRASE>
+			<PHRASE Label="lu_col_ToName" Module="In-Bulletin" Type="0">VG8=</PHRASE>
+			<PHRASE Label="lu_col_Topics" Module="In-Bulletin" Type="0">VG9waWNz</PHRASE>
+			<PHRASE Label="lu_DeletePostConfirm" Module="In-Bulletin" Type="0">QXJlIHlvdSBzdXJlIHlvdSB3YW50IHRvIGRlbGV0ZSB0aGUgcG9zdD8NClRoaXMgYWN0aW9uIGNhbm5vdCBiZSB1bmRvbmUu</PHRASE>
+			<PHRASE Label="lu_DeletePrivateMessageConfirm" Module="In-Bulletin" Type="0">QXJlIHlvdSBzdXJlIHlvdSB3YW50IHRvIGRlbGV0ZSB0aGUgcHJpdmF0ZSBtZXNzYWdlPyBUaGlzIGFjdGlvbiBjYW5ub3QgYmUgdW5kb25lLg==</PHRASE>
+			<PHRASE Label="lu_DeleteTopicConfirm" Module="In-Bulletin" Type="0">QXJlIHlvdSBzdXJlIHlvdSB3YW50IHRvIGRlbGV0ZSB0aGUgdG9waWM/IFRoaXMgYWN0aW9uIGNhbm5vdCBiZSB1bmRvbmUu</PHRASE>
+			<PHRASE Label="lu_description_MyTopics" Module="In-Bulletin" Type="0">TWFuYWdlIHlvdXIgVG9waWNzIGhlcmU=</PHRASE>
+			<PHRASE Label="lu_field_posts" Module="In-Bulletin" Type="0">VG9waWMgUG9zdHM=</PHRASE>
+			<PHRASE Label="lu_field_topictype" Module="In-Bulletin" Type="0">VG9waWMgVHlwZQ==</PHRASE>
+			<PHRASE Label="lu_fld_Author" Module="In-Bulletin" Type="0">QXV0aG9y</PHRASE>
+			<PHRASE Label="lu_fld_DisableBBCodes" Module="In-Bulletin" Type="0">RElzYWJsZSBCQiBjb2Rlcw==</PHRASE>
+			<PHRASE Label="lu_fld_DisableSmileys" Module="In-Bulletin" Type="0">RGlzYWJsZSBzbWlsZXlz</PHRASE>
+			<PHRASE Label="lu_fld_EnableBBCodes" Module="In-Bulletin" Type="0">RW5hYmxlIEJCIENvZGVz</PHRASE>
+			<PHRASE Label="lu_fld_EnableSmileys" Module="In-Bulletin" Type="0">RW5hYmxlIFNtaWxleXM=</PHRASE>
+			<PHRASE Label="lu_fld_From" Module="In-Bulletin" Type="0">RnJvbQ==</PHRASE>
+			<PHRASE Label="lu_fld_MessageBody" Module="In-Bulletin" Type="0">TWVzc2FnZQ==</PHRASE>
+			<PHRASE Label="lu_fld_MySignature" Module="In-Bulletin" Type="0">U2lnbmF0dXJl</PHRASE>
+			<PHRASE Label="lu_fld_NotifyOnPrivateMessages" Module="In-Bulletin" Type="0">Tm90aWZ5IGFib3V0IFByaXZhdGUgTWVzc2FnZXM=</PHRASE>
+			<PHRASE Label="lu_fld_NotifyOwnerOnChanges" Module="In-Bulletin" Type="0">Tm90aWZ5IG1lIGFib3V0IHJlcGxpZXM=</PHRASE>
+			<PHRASE Label="lu_fld_PostsPerPage" Module="In-Bulletin" Type="0">UG9zdHMgcGVyIHBhZ2U=</PHRASE>
+			<PHRASE Label="lu_fld_ShowOtherSignatures" Module="In-Bulletin" Type="0">U2hvdyBTaWduYXR1cmVz</PHRASE>
+			<PHRASE Label="lu_fld_ShowSignatures" Module="In-Bulletin" Type="0">U2hvdyBzaWduYXR1cmU=</PHRASE>
+			<PHRASE Label="lu_fld_Subject" Module="In-Bulletin" Type="0">U3ViamVjdA==</PHRASE>
+			<PHRASE Label="lu_fld_To" Module="In-Bulletin" Type="0">VG8=</PHRASE>
+			<PHRASE Label="lu_fld_TopicsPerPage" Module="In-Bulletin" Type="0">VG9waWNzIHBlciBwYWdl</PHRASE>
+			<PHRASE Label="lu_folder_Sent" Module="In-Bulletin" Type="0">U2VudA==</PHRASE>
+			<PHRASE Label="lu_forums" Module="In-Bulletin" Type="0">Rm9ydW1z</PHRASE>
+			<PHRASE Label="lu_forum_locked_for_posting" Module="In-Bulletin" Type="0">Rm9ydW0gaXMgbG9ja2VkIGZvciBwb3N0aW5n</PHRASE>
+			<PHRASE Label="lu_LockedTopic" Module="In-Bulletin" Type="0">TG9ja2VkIFRvcGlj</PHRASE>
+			<PHRASE Label="lu_MessageCreated" Module="In-Bulletin" Type="0">RGF0ZQ==</PHRASE>
+			<PHRASE Label="lu_MyTopics" Module="In-Bulletin" Type="0">TXkgVG9waWNz</PHRASE>
+			<PHRASE Label="lu_NewTopic" Module="In-Bulletin" Type="0">TmV3IFRvcGlj</PHRASE>
+			<PHRASE Label="lu_newtopic_confirm_pending_text" Module="In-Bulletin" Type="0">VGhlIHN5c3RlbSBhZG1pbmlzdHJhdG9yIG11c3QgYXBwcm92ZSB5b3VyIHRvcGljIGJlZm9yZSBpdCBpcyBwdWJsaWNseSBhdmFpbGFibGUu</PHRASE>
+			<PHRASE Label="lu_newtopic_confirm_text" Module="In-Bulletin" Type="0">VGhlIFRvcGljIHlvdSBoYXZlIGNyZWF0ZWQgaGFzIGJlZW4gYWRkZWQgdG8gdGhlIHN5c3RlbQ==</PHRASE>
+			<PHRASE Label="lu_new_posts" Module="In-Bulletin" Type="0">Rm9ydW0gaGFzIG5ldyBwb3N0cw==</PHRASE>
+			<PHRASE Label="lu_NoPrivateMessages" Module="In-Bulletin" Type="0">Tm8gbWVzc2FnZXM=</PHRASE>
+			<PHRASE Label="lu_NoSubject" Module="In-Bulletin" Type="0">bm8gc3ViamVjdA==</PHRASE>
+			<PHRASE Label="lu_NoTopics" Module="In-Bulletin" Type="0">Tm8gVG9waWNz</PHRASE>
+			<PHRASE Label="lu_no_new_posts" Module="In-Bulletin" Type="0">Rm9ydW0gaGFzIG5vIG5ldyBwb3N0cw==</PHRASE>
+			<PHRASE Label="lu_opt_MessageRead" Module="In-Bulletin" Type="0">UmVhZA==</PHRASE>
+			<PHRASE Label="lu_opt_MessageReplied" Module="In-Bulletin" Type="0">UmVwbGllZA==</PHRASE>
+			<PHRASE Label="lu_opt_MessageSent" Module="In-Bulletin" Type="0">U2VudA==</PHRASE>
+			<PHRASE Label="lu_opt_MessageUnread" Module="In-Bulletin" Type="0">VW5yZWFk</PHRASE>
+			<PHRASE Label="lu_opt_MessageViewed" Module="In-Bulletin" Type="0">Vmlld2Vk</PHRASE>
+			<PHRASE Label="lu_PermName_Topic.Add.Pending_desc" Module="In-Bulletin" Type="0">QWRkIFBlbmRpbmcgVG9waWM=</PHRASE>
+			<PHRASE Label="lu_PermName_Topic.Add_desc" Module="In-Bulletin" Type="0">QWRkIFRvcGlj</PHRASE>
+			<PHRASE Label="lu_PermName_Topic.Delete_desc" Module="In-Bulletin" Type="0">RGVsZXRlIFRvcGlj</PHRASE>
+			<PHRASE Label="lu_PermName_Topic.Modify_desc" Module="In-Bulletin" Type="0">TW9kaWZ5IFRvcGlj</PHRASE>
+			<PHRASE Label="lu_PermName_Topic.Rate_desc" Module="In-Bulletin" Type="0">UmF0ZSBUb3BpYw==</PHRASE>
+			<PHRASE Label="lu_PermName_Topic.Reply.Add_desc" Module="In-Bulletin" Type="0">QWRkIFRvcGljIFJlcGx5</PHRASE>
+			<PHRASE Label="lu_PermName_Topic.Reply.Delete_desc" Module="In-Bulletin" Type="0">RGVsZXRlIFRvcGlj</PHRASE>
+			<PHRASE Label="lu_PermName_Topic.Reply.Modify_desc" Module="In-Bulletin" Type="0">UmVwbHkgVG9waWMgTW9kaWZ5</PHRASE>
+			<PHRASE Label="lu_PermName_Topic.Reply.View_desc" Module="In-Bulletin" Type="0">VmlldyBUb3BpYyBSZXBseQ==</PHRASE>
+			<PHRASE Label="lu_PermName_Topic.View_desc" Module="In-Bulletin" Type="0">VmlldyBUb3BpYw==</PHRASE>
+			<PHRASE Label="lu_posted" Module="In-Bulletin" Type="0">UG9zdGVk</PHRASE>
+			<PHRASE Label="lu_posts" Module="In-Bulletin" Type="0">cG9zdHM=</PHRASE>
+			<PHRASE Label="lu_PrivateMessages" Module="In-Bulletin" Type="0">UHJpdmF0ZSBNZXNzYWdlcw==</PHRASE>
+			<PHRASE Label="lu_tab_Forums" Module="In-Bulletin" Type="0">Rm9ydW1z</PHRASE>
+			<PHRASE Label="lu_text_AlreadyVoted" Module="In-Bulletin" Type="0">QWxyZWFkeSB2b3RlZCE=</PHRASE>
+			<PHRASE Label="lu_text_GuestsLoginToVote" Module="In-Bulletin" Type="0">UGxlYXNlIGxvZ2luIHRvIHZvdGUh</PHRASE>
+			<PHRASE Label="lu_text_modifytopicconfirm" Module="In-Bulletin" Type="0">VGhhbmsgeW91IGZvciB1cGRhdGluZyB5b3VyIHRvcGljLg==</PHRASE>
+			<PHRASE Label="lu_text_modifytopicpendingconfirm" Module="In-Bulletin" Type="0">VGhhbmsgeW91IGZvciB1cGRhdGluZyB5b3VyIHRvcGljLiBZb3VyIG1vZGlmaWNhdGlvbnMgYXJlIHBlbmRpbmcgZm9yIGFkbWluaXN0cmF0aXZlIGFwcHJvdmFsLg==</PHRASE>
+			<PHRASE Label="lu_text_MyTopics" Module="In-Bulletin" Type="0">TXkgVG9waWNz</PHRASE>
+			<PHRASE Label="lu_text_nomodifytopicpermission" Module="In-Bulletin" Type="0">Tm8gcGVybWlzc2lvbnMgdG8gbW9kaWZ5IHRoaXMgdG9waWM=</PHRASE>
+			<PHRASE Label="lu_text_nonewtopicpermission" Module="In-Bulletin" Type="0">Tm8gcGVybWlzc2lvbnMgdG8gc3VibWl0IGEgbmV3IHRvcGljIGludG8gdGhlIGN1cnJlbnQgY2F0ZWdvcnku</PHRASE>
+			<PHRASE Label="lu_text_nonewtopicreplypermission" Module="In-Bulletin" Type="0">Tm8gcGVybWlzc2lvbnMgdG8gcmVwbHkgaW4gdGhpcyB0b3BpYw==</PHRASE>
+			<PHRASE Label="lu_text_notopicpostmodifypermission" Module="In-Bulletin" Type="0">Tm8gcGVybWlzc2lvbnMgdG8gbW9kaWZ5IHRoaXMgcG9zdC4=</PHRASE>
+			<PHRASE Label="lu_text_notopicreplyviewpermission" Module="In-Bulletin" Type="0">Tm8gcGVybWlzc2lvbnMgdG8gdmlldyByZXBsaWVzIGZvciB0aGlzIHRvcGljLg==</PHRASE>
+			<PHRASE Label="lu_title_AddComment" Module="In-Bulletin" Type="0">QWRkaW5nIENvbW1lbnQ=</PHRASE>
+			<PHRASE Label="lu_title_addprivatemessageconfirm" Module="In-Bulletin" Type="0">UHJpdmF0ZSBNZXNzYWdlIFNlbnQ=</PHRASE>
+			<PHRASE Label="lu_title_addtopicconfirm" Module="In-Bulletin" Type="0">TmV3IFRvcGljIEFkZGVk</PHRASE>
+			<PHRASE Label="lu_title_addtopicpendingconfirm" Module="In-Bulletin" Type="0">TmV3IFRvcGljIFBlbmRpbmc=</PHRASE>
+			<PHRASE Label="lu_title_favoritetopics" Module="In-Bulletin" Type="0">RmF2b3JpdGUgVG9waWNz</PHRASE>
+			<PHRASE Label="lu_title_ModifyTopicConfirm" Module="In-Bulletin" Type="0">VG9waWMgTW9kaWZpY2F0aW9uIENvbmZpcm1hdGlvbg==</PHRASE>
+			<PHRASE Label="lu_title_ModifyTopicPendingConfirm" Module="In-Bulletin" Type="0">VG9waWMgUGVuZGluZyBNb2RpZmljYXRpb24gQ29uZmlybWF0aW9u</PHRASE>
+			<PHRASE Label="lu_title_NewPrivateMessage" Module="In-Bulletin" Type="0">TmV3IFByaXZhdGUgTWVzc2FnZQ==</PHRASE>
+			<PHRASE Label="lu_title_NewTopic" Module="In-Bulletin" Type="0">TmV3IFRvcGlj</PHRASE>
+			<PHRASE Label="lu_title_NewTopicReply" Module="In-Bulletin" Type="0">UG9zdCBSZXBseQ==</PHRASE>
+			<PHRASE Label="lu_title_Polls" Module="In-Bulletin" Type="0">UG9sbHM=</PHRASE>
+			<PHRASE Label="lu_title_PrivateMessageDetails" Module="In-Bulletin" Type="0">UHJpdmF0ZSBNZXNzYWdlIERldGFpbHM=</PHRASE>
+			<PHRASE Label="lu_title_PrivateMessages" Module="In-Bulletin" Type="0">UHJpdmF0ZSBNZXNzYWdlcw==</PHRASE>
+			<PHRASE Label="lu_title_TopicPostModify" Module="In-Bulletin" Type="0">TW9kaWZ5IFBvc3Q=</PHRASE>
+			<PHRASE Label="lu_title_TopicPosts" Module="In-Bulletin" Type="0">VG9waWMgUG9zdHM=</PHRASE>
+			<PHRASE Label="lu_title_Topics" Module="In-Bulletin" Type="0">VG9waWNz</PHRASE>
+			<PHRASE Label="lu_title_topicsearchresults" Module="In-Bulletin" Type="0">VG9waWMgU2VhcmNoIFJlc3VsdHM=</PHRASE>
+			<PHRASE Label="lu_title_ViewComments" Module="In-Bulletin" Type="0">VmlldyBDb21tZW50cw==</PHRASE>
+			<PHRASE Label="lu_topics" Module="In-Bulletin" Type="0">VG9waWNz</PHRASE>
+			<PHRASE Label="lu_topicsupdated" Module="In-Bulletin" Type="0">TGFzdCB1cGRhdGVk</PHRASE>
+			<PHRASE Label="lu_totaltopics" Module="In-Bulletin" Type="0">VG90YWwgdG9waWNz</PHRASE>
+		</PHRASES>
+	</LANGUAGE>
+</LANGUAGES>
\ No newline at end of file
Index: themes/advanced/in-bulletin/_install/theme.xml
===================================================================
--- themes/advanced/in-bulletin/_install/theme.xml	(revision 0)
+++ themes/advanced/in-bulletin/_install/theme.xml	(revision 0)
@@ -0,0 +1,4 @@
+<theme>
+	<section_design>in-bulletin/designs/section</section_design>
+	<item_design>in-bulletin/topics/topic_detail</item_design>
+</theme>
\ No newline at end of file
Index: themes/advanced/platform/privacy.tpl
===================================================================
--- themes/advanced/platform/privacy.tpl	(revision 0)
+++ themes/advanced/platform/privacy.tpl	(revision 0)
@@ -0,0 +1,107 @@
+<!--##
+<NAME>Privacy Policy</NAME>
+<DESC></DESC>
+<SECTION>Platform</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_phrase name="lu_PrivacyPolicy"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/recommend_site.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/mailing_list.elm" design="blue_box"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement design="content_box">
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_PrivacyPolicy"/>
+				</inp2:m_Capture>
+
+				<table class="form-data fullwidth">
+				<TR><TD>
+					[Company Name] is committed to protecting your privacy and it is always our first priority. The following describes our policy regarding your personal, account and billing information.  Personal information includes, but is not limited to: your name, company name, Website address, login, address, telephone number, e-mail address, billing information, or any additional pertaining information that personally identifies you, your preferences and/or your purchasing history, and that is not otherwise publicly available. "You" means the visitor of our websites and/or our customer. "We", "us" means [Company Name].<br/><br/>
+
+					[Company Name] can modify this Privacy Policy at any time without prior notice to you by posting revised Terms on our sites.
+					<br/><br/>
+					</TD></TR>
+
+					<TR><TD>
+					<strong>1. Information Shared</strong><br/>
+
+					[Company Name] is the sole owner of the information collected on our network of Websites (list your websites). If you believe that any content on our network have been copied in a way that constitutes copyright infringement, or property rights have been violated, please contact [Email] so we can remove that content.<br/><br/>
+
+
+					[Company Name] collects personal identifiable information from our users at several different points on our Websites.  The amount and type of information that we collect from you depends on your activities, the services that we provide and your use of our Websites.  Below is an explanation of the type of information that we collect.
+					<br/><br/>
+					</TD></TR>
+
+					<TR><TD>
+					<strong>1.1 When you browse our Websites</strong></BR>
+
+						<ul>
+						    <li>IP address - We collect your IP address to keep track of our Websites traffic and for security purposes when purchasing our products and services.
+						    <li>Browser Type - We collect information about the browser you are using to help optimize our Websites for visitors.
+						    <li>Movement through our Websites - We keep track of pages you visit to help provide you with a more personalized experience.<br/>
+						    <li>Referral Websites - If you come to our Websites via a link, we collect the location of the link that referred you.
+					    </ul>
+
+
+					<strong>2. Uses of Information</strong><br/><br/>
+					</TD></TR>
+
+					<TR><TD>
+					<strong>2.1 Purpose of Use</strong><br/>
+
+					    We may use your personal and account information to provide products or services that you have requested, to respond to an inquiry you have made (sales or otherwise) and as otherwise described in this policy.<br/><br/>
+					</TD></TR>
+
+					<TR><TD>
+						<strong>2.2 Access to Personal and Account Information</strong>
+						<ul>
+							<li>We do not sell or share your personal information with vendors, marketers or any third parties outside of [Company Name].
+					    	<li>We restrict access to your personal and account information to only the selected employees of [Company Name].
+					    	<li>These employees need access to relevant information in order to provide you with services that include: customer support, accounting, technical support, etc.
+					    </ul>
+						<br/><br/>
+					</TD></TR>
+
+					<TR><TD>
+					<strong>2.3 Special Offers and Updates</strong><br/>
+						<ul>
+							<li>We may occasionally send you promotional notices.  This includes product and service information and special deals. You can sign up to receive these emails from us on our registration page.
+					    	<li>Out of respect for your privacy, we present the option not to receive these types of communications.  Please see the "Choice and Opt-out."
+					    	<li>If you become our customer, we may send you updates on important information about our company, products and services.
+					    </ul>
+					   <br/><br/>
+					</TD></TR>
+
+		    </table>
+			</inp2:m_RenderElement>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: themes/advanced/platform/categories/suggest_confirm.tpl
===================================================================
--- themes/advanced/platform/categories/suggest_confirm.tpl	(revision 0)
+++ themes/advanced/platform/categories/suggest_confirm.tpl	(revision 0)
@@ -0,0 +1,52 @@
+<!--##
+<NAME>Confirmation</NAME>
+<DESC></DESC>
+<SECTION>Platform||Suggest Category</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_phrase name="lu_title_SuggestCategoryConfirm"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/recommend_site.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/mailing_list.elm" design="blue_box"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_SuggestCategoryConfirm" templates="platform/categories/suggest_confirm" show_category="1"/>
+		</div>
+		<div class="movable-element">
+			<!-- suggest category confirm -->
+			<inp2:m_RenderElement design="content_box">
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_title_SuggestCategoryConfirm"/>
+				</inp2:m_Capture>
+
+				<inp2:m_phrase name="lu_text_SuggestCategoryConfirm"/><br /><br />
+				<a href="<inp2:c_CategoryLink template="__default__" cat_id="current" />"><inp2:c_Field name="Name"/></a>
+			</inp2:m_RenderElement>
+			<!-- // suggest category confirm -->
+		</div>
+	</div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: themes/advanced/platform/categories/search_results.tpl
===================================================================
--- themes/advanced/platform/categories/search_results.tpl	(revision 0)
+++ themes/advanced/platform/categories/search_results.tpl	(revision 0)
@@ -0,0 +1,55 @@
+<!--##
+<NAME>Section - Search Results</NAME>
+<DESC>List of Section Search Results</DESC>
+<SECTION>Platform</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_Phrase label="lu_title_CategorySearchResults"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<inp2:m_DefineElement name="content">
+
+<div class="movable-element">
+	<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_CategorySearchResults" templates="platform/categories/search_results"/>
+</div>
+
+<div class="movable-element">
+	<inp2:m_RenderElement design="content_box">
+		<inp2:c_InitList list_name="category_search_results" types="search" parent_cat_id="any" recursive="1"/>
+
+		<inp2:m_Capture to_var="header">
+			<inp2:m_Phrase label="lu_title_CategorySearchResults"/> (<inp2:c_TotalRecords list_name="category_search_results"/>)
+		</inp2:m_Capture>
+
+		<!--##<inp2:m_include template="platform/elements/sorting.elm" list_name="category_search_results"/>##-->
+
+		<inp2:m_include template="platform/elements/categories.elm"/>
+		<inp2:m_include template="platform/elements/search_results.elm"/>
+
+		<table class="fullwidth">
+			<inp2:c_ListCategories list_name="category_search_results" render_as="category_element" columns="2" show_relevance="1" direction="H"/>
+		</table>
+
+		<inp2:m_include template="platform/elements/pagination.elm" prefix="c" list_name="category_search_results"/>
+	</inp2:m_RenderElement>
+</div>
+
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: themes/advanced/platform/categories/suggest_pending_confirm.tpl
===================================================================
--- themes/advanced/platform/categories/suggest_pending_confirm.tpl	(revision 0)
+++ themes/advanced/platform/categories/suggest_pending_confirm.tpl	(revision 0)
@@ -0,0 +1,52 @@
+<!--##
+<NAME>Suggestion Pending</NAME>
+<DESC></DESC>
+<SECTION>Platform||Suggest Category</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_phrase name="lu_title_SuggestCategoryPendingConfirm"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/recommend_site.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/mailing_list.elm" design="blue_box"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_SuggestCategoryPendingConfirm" templates="platform/categories/suggest_pending_confirm" show_category="1"/>
+		</div>
+		<div class="movable-element">
+			<!-- suggest category pending confirm -->
+			<inp2:m_RenderElement design="content_box">
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_title_SuggestCategoryPendingConfirm"/>
+				</inp2:m_Capture>
+
+				<inp2:m_phrase name="lu_text_SuggestCategoryPendingConfirm"/><br /><br />
+				<a href="<inp2:c_CategoryLink template="__default__" cat_id="current" />"><inp2:c_Field name="Name"/></a>
+			</inp2:m_RenderElement>
+			<!-- // suggest category pending confirm -->
+		</div>
+	</div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: themes/advanced/platform/categories/suggest_category.tpl
===================================================================
--- themes/advanced/platform/categories/suggest_category.tpl	(revision 0)
+++ themes/advanced/platform/categories/suggest_category.tpl	(revision 0)
@@ -0,0 +1,75 @@
+<!--##
+<NAME>Suggest Category</NAME>
+<DESC></DESC>
+<SECTION>Platform</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_phrase name="lu_title_SuggestCategory"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/recommend_site.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/mailing_list.elm" design="blue_box"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_SuggestCategory" templates="platform/categories/suggest_category" show_category="1"/>
+		</div>
+		<div class="movable-element">
+			<!-- suggest category -->
+			<inp2:m_RenderElement design="content_box">
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_title_SuggestCategory"/>
+				</inp2:m_Capture>
+
+				<inp2:m_if check="c_HasPermission" permissions="CATEGORY.ADD|CATEGORY.ADD.PENDING">
+					<inp2:c_PresetFormFields/>
+					<span class="field-required">*</span> <inp2:m_phrase name="lu_IndicatesRequired"/><br /><br />
+
+					<inp2:m_if check="c_HasError" field="any">
+						<inp2:m_RenderElement name="error_message" />
+					</inp2:m_if>
+
+					<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/grey_pix.gif" width="100%" height="1" align="absmiddle" alt="" /><br /><br />
+
+					<form method="post" action="<inp2:m_FormAction/>">
+						<table class="form-data fullwidth">
+							<inp2:m_RenderElement name="inp_edit_box" prefix="c" field="Name" title="lu_fld_Name"/>
+							<inp2:m_RenderElement name="inp_edit_textarea" prefix="c" field="Description" cols="30" rows="5" title="lu_fld_Description" is_last="1"/>
+
+							<inp2:m_RenderElement design="inp_edit_buttons">
+								<input type="hidden" name="suggest_confirm_template" value="platform/categories/suggest_confirm"/>
+								<input type="hidden" name="suggest_pending_confirm_template" value="platform/categories/suggest_pending_confirm"/>
+								<input class="button" type="submit" name="events[c][OnCreate]" value="<inp2:m_Phrase label="lu_btn_Create" no_editing="1"/>"/>
+							</inp2:m_RenderElement>
+						</table>
+					</form>
+				<inp2:m_else/>
+					<inp2:m_phrase name="lu_text_NoSuggestCategoryPermission"/>
+				</inp2:m_if>
+			</inp2:m_RenderElement>
+			<!-- // suggest category -->
+		</div>
+	</div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: themes/advanced/platform/login/register_confirm_pending.tpl
===================================================================
--- themes/advanced/platform/login/register_confirm_pending.tpl	(revision 0)
+++ themes/advanced/platform/login/register_confirm_pending.tpl	(revision 0)
@@ -0,0 +1,56 @@
+<!--##
+<NAME>Registration Pending</NAME>
+<DESC></DESC>
+<SECTION>My Account||Login</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_phrase name="lu_title_RegistrationPendingConfirmation"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/recommend_site.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/mailing_list.elm" design="blue_box"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_UserRegistration,lu_title_RegistrationPendingConfirmation" templates="platform/login/register,platform/login/register_confirm_pending"/>
+		</div>
+		<div class="movable-element">
+			<!-- registration pending confirmation -->
+			<inp2:m_RenderElement design="content_box">
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_title_RegistrationPendingConfirmation"/>
+				</inp2:m_Capture>
+
+				<inp2:m_if check="m_GetConfig" name="User_Allow_New" equals_to="4">
+					<inp2:m_Phrase name="lu_text_RegistrationActivationPending"/>
+				<inp2:m_else/>
+					<inp2:m_Phrase name="lu_text_RegistrationPending"/>
+				</inp2:m_if>
+
+			</inp2:m_RenderElement>
+			<!-- // registration pending confirmation -->
+		</div>
+	</div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: themes/advanced/platform/login/forgot_password_reset.tpl
===================================================================
--- themes/advanced/platform/login/forgot_password_reset.tpl	(revision 0)
+++ themes/advanced/platform/login/forgot_password_reset.tpl	(revision 0)
@@ -0,0 +1,72 @@
+<!--##
+<NAME>Reset Password</NAME>
+<DESC></DESC>
+<SECTION>My Account||Login</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_phrase name="lu_title_PasswordRequestConfirm"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/recommend_site.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/mailing_list.elm" design="blue_box"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<!--## MAIN CONTENT ##-->
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_PasswordRequestConfirm" templates="platform/login/forgot_password_reset"/>
+		</div>
+		<div class="movable-element">
+			<!-- forgot password reset -->
+			<inp2:m_RenderElement design="content_box">
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_title_PasswordRequestConfirm"/>
+				</inp2:m_Capture>
+
+				<inp2:m_Phrase label="lu_text_PasswordRequestConfirm"/>
+
+				<br /><br />
+
+				<inp2:m_if check="u_TestCodeIsValid">
+					<form method="POST" action="<inp2:m_FormAction />">
+						<input type="submit" name="events[u][OnResetPasswordConfirmed]" value="<inp2:m_Phrase label="lu_btn_Yes" no_editing="1"/>" class="button" />
+
+						<input type="button" value="<inp2:m_Phrase label="lu_btn_No" no_editing="1"/>" class="button" onclick="redirect('<inp2:m_Link template="index"/>');" />
+
+						<input type="hidden" name="user_key" value="<inp2:m_Get name="user_key"/>"/>
+						<input type="hidden" name="template_success" value="platform/login/forgot_password_reset_confirm" />
+					</form>
+				<inp2:m_else />
+					<span class="error"><inp2:u_Error field="PwResetConfirm"/></span>
+					<br />	<br />
+					<a href="<inp2:m_Link template="index" m_cat_id="0" m_cat_page="1"/>"><inp2:m_Phrase label="lu_ReturnToHome"/></a>
+				</inp2:m_if>
+			</inp2:m_RenderElement>
+			<!-- // forgot password reset -->
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## /MAIN CONTENT ##-->
+
+<!--## DESIGN TEMPLATE ##-->
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
+<!--## /DESIGN TEMPLATE ##-->
\ No newline at end of file
Index: themes/advanced/platform/login/register.tpl
===================================================================
--- themes/advanced/platform/login/register.tpl	(revision 0)
+++ themes/advanced/platform/login/register.tpl	(revision 0)
@@ -0,0 +1,110 @@
+<!--##
+<NAME>User Registration</NAME>
+<DESC></DESC>
+<SECTION>My Account||Login</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_phrase name="lu_title_UserRegistration"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/recommend_site.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/mailing_list.elm" design="blue_box"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<!--## MAIN CONTENT ##-->
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_UserRegistration" templates="platform/login/register"/>
+		</div>
+		<div class="movable-element">
+			<!-- user registration -->
+			<inp2:m_RenderElement design="content_box">
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_title_UserRegistration"/>
+				</inp2:m_Capture>
+
+				<span class="field-required">*</span> <inp2:m_phrase name="lu_IndicatesRequired"/><br /><br />
+
+				<inp2:u_PresetFormFields/>
+				<inp2:m_if check="u_HasError" field="any">
+					<inp2:m_RenderElement name="error_message" />
+				</inp2:m_if>
+
+				<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/grey_pix.gif" width="100%" height="1" align="absmiddle" alt="" /><br /><br />
+
+				<form method="post" action="<inp2:m_FormAction/>">
+					<table class="form-data fullwidth">
+						<inp2:m_if check="u_UseUsernames">
+							<inp2:m_RenderElement name="inp_edit_box" prefix="u" field="Login" title="lu_fld_Login" style="width:155px" />
+						</inp2:m_if>
+
+						<inp2:m_if check="m_ConfigEquals" name="User_Password_Auto" value="0">
+							<inp2:m_RenderElement name="inp_edit_password" prefix="u" field="Password" title="lu_fld_Password" style="width:155px" />
+							<inp2:m_RenderElement name="inp_edit_password" prefix="u" field="VerifyPassword" title="lu_fld_VerifyPassword" style="width:155px" />
+						</inp2:m_if>
+
+						<inp2:m_RenderElement name="inp_edit_box" prefix="u" field="FirstName" title="lu_fld_FirstName" style="width:155px" />
+						<inp2:m_RenderElement name="inp_edit_box" prefix="u" field="LastName" title="lu_fld_LastName" style="width:155px" />
+						<inp2:m_RenderElement name="inp_edit_box" prefix="u" field="Company" title="lu_fld_Company" style="width:155px" />
+						<inp2:m_RenderElement name="inp_edit_box" prefix="u" field="Phone" title="lu_fld_Phone" style="width:155px" />
+						<inp2:m_RenderElement name="inp_edit_box" prefix="u" field="Fax" title="lu_fld_Fax" style="width:155px" />
+						<inp2:m_RenderElement name="inp_edit_box" prefix="u" field="Email" title="lu_fld_Email" style="width:155px" />
+						<inp2:m_RenderElement name="inp_edit_date" prefix="u" field="dob" title="lu_fld_BirthDate" />
+						<inp2:m_RenderElement name="inp_edit_box" prefix="u" field="Street" title="lu_fld_AddressLine1" style="width:155px" />
+						<inp2:m_RenderElement name="inp_edit_box" prefix="u" field="Street2" title="lu_fld_AddressLine2" style="width:155px" />
+						<inp2:m_RenderElement name="inp_edit_box" prefix="u" field="City" title="lu_fld_City" style="width:155px" />
+						<inp2:m_RenderElement name="inp_edit_box" prefix="u" field="State" title="lu_fld_State" style="width:155px" />
+						<inp2:m_RenderElement name="inp_edit_box" prefix="u" field="Zip" title="lu_fld_Zip" style="width:55px" />
+
+						<inp2:m_if check="m_GetConfig" name="AllowSelectGroupOnFront">
+							<inp2:m_RenderElement name="inp_edit_options" prefix="u" field="UserGroup" has_empty="1" title="lu_fld_UserGroup" />
+						</inp2:m_if>
+
+						<inp2:m_RenderElement name="inp_edit_options" prefix="u" field="Country" title="lu_fld_Country" has_empty="1" is_last="1"/>
+
+						<inp2:m_if check="m_ConfigEquals" option="RegistrationCaptcha" value="1">
+							<inp2:m_RenderElement name="inp_edit_field_separator" is_last="0"/>
+							<inp2:m_RenderElement name="inp_edit_captcha" prefix="u" style="width: 170px;" />
+						</inp2:m_if>
+
+						<inp2:m_ModuleInclude template="elements/registration_fields.elm"/>
+
+						<inp2:m_RenderElement design="inp_edit_buttons" no_editing="1">
+							<input type="hidden" name="next_template" value="<inp2:m_get var="next_template"/>" />
+							<input type="hidden" name="registration_confirm_template" value="platform/login/register_confirm" />
+							<input type="hidden" name="registration_confirm_pending_template" value="platform/login/register_confirm_pending" />
+
+							<input class="button" type="submit" name="events[u][OnCreate]" value="<inp2:m_Phrase label="lu_btn_Register" no_editing="1"/>"/>
+							<input type="button" class="button" onclick="history.back();" value="<inp2:m_Phrase label="lu_btn_Cancel" no_editing="1"/>"/>
+						</inp2:m_RenderElement>
+					</table>
+				</form>
+			</inp2:m_RenderElement>
+			<!-- // user registration -->
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## /MAIN CONTENT ##-->
+
+<!--## DESIGN TEMPLATE ##-->
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
+<!--## /DESIGN TEMPLATE ##-->
\ No newline at end of file
Index: themes/advanced/platform/login/forgot_password.tpl
===================================================================
--- themes/advanced/platform/login/forgot_password.tpl	(revision 0)
+++ themes/advanced/platform/login/forgot_password.tpl	(revision 0)
@@ -0,0 +1,109 @@
+<!--##
+<NAME>Forgot Password</NAME>
+<DESC></DESC>
+<SECTION>My Account||Login</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_phrase name="lu_title_ForgotPassword"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/recommend_site.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/mailing_list.elm" design="blue_box"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<!--## MAIN CONTENT ##-->
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_ForgotPassword" templates="platform/login/forgot_password"/>
+		</div>
+		<div class="movable-element">
+			<!-- forgot password -->
+			<inp2:m_RenderElement design="content_box">
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_title_ForgotPassword"/>
+				</inp2:m_Capture>
+
+				<inp2:m_if check="conf_ConfigValue" name="Email_As_Login">
+					<inp2:m_Phrase label="lu_EnterForgotEmail"/>
+				<inp2:m_else/>
+					<inp2:m_Phrase label="lu_EnterForgotUserEmail"/>
+				</inp2:m_if>
+				<br /><br />
+
+				<inp2:m_if check="u_HasError" field="any">
+					<inp2:m_RenderElement name="error_message"/>
+				</inp2:m_if>
+
+				<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/grey_pix.gif" width="100%" height="1" align="absmiddle" alt="" /><br />
+
+				<form method="post" action="<inp2:m_FormAction/>">
+					<table class="form-data fullwidth">
+						<inp2:m_if check="m_ConfigEquals" name="Email_As_Login" value="0">
+							<tr class="<inp2:m_odd_even odd="table_color1" even="table_color2"/>">
+								<inp2:m_RenderElement name="inp_edit_field_caption" prefix="u" field="Login" title="lu_fld_Login"/>
+								<td class="field-value">
+									<inp2:m_if check="u_HasError" field="Login">
+										<span class="field-error"><inp2:u_Error field="Login"/></span><br />
+									</inp2:m_if>
+									<input type="text" class="input-text" name="username" value="<inp2:m_Get name="username"/>" tabindex="<inp2:m_get param="tab_index"/>" style="width: 155px;">
+								</td>
+							</tr>
+							<inp2:m_RenderElement name="inp_edit_field_separator" is_last="0"/>
+
+							<tr class="<inp2:m_odd_even odd="table_color1" even="table_color2"/>">
+								<td class="field-name"></td>
+								<td class="field-value">
+									<inp2:m_Phrase label="lu_Or"/>
+								</td>
+							</tr>
+							<inp2:m_RenderElement name="inp_edit_field_separator" is_last="0"/>
+						</inp2:m_if>
+
+						<tr class="<inp2:m_odd_even odd="table_color1" even="table_color2"/>">
+							<inp2:m_RenderElement name="inp_edit_field_caption" prefix="u" field="Email" title="lu_fld_Email"/>
+							<td class="field-value">
+								<inp2:m_if check="u_HasError" field="Email">
+									<span class="field-error"><inp2:u_Error field="Email"/></span><br />
+								</inp2:m_if>
+								<input type="text" class="input-text" name="email" value="<inp2:m_Get name="email"/>" tabindex="<inp2:m_get param="tab_index"/>" style="width: 155px;">
+							</td>
+						</tr>
+
+						<inp2:m_RenderElement design="inp_edit_buttons">
+							<input type="hidden" name="template_success" value="platform/login/forgot_password_reset_notice"/>
+							<input type="hidden" name="reset_confirm_template" value="platform/login/forgot_password_reset"/>
+
+							<input type="submit" class="button" name="events[u][OnForgotPassword]" value="<inp2:m_Phrase label="lu_btn_SendPassword" no_editing="1"/>" />
+							<input type="button" class="button" onclick="redirect('<inp2:m_Link template="index"/>');" value="<inp2:m_Phrase label="lu_btn_Cancel" no_editing="1"/>">
+						</inp2:m_RenderElement>
+					</table>
+				</form>
+			</inp2:m_RenderElement>
+			<!-- // forgot password -->
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## /MAIN CONTENT ##-->
+
+<!--## DESIGN TEMPLATE ##-->
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
+<!--## /DESIGN TEMPLATE ##-->
\ No newline at end of file
Index: themes/advanced/platform/login/forgot_password_reset_confirm.tpl
===================================================================
--- themes/advanced/platform/login/forgot_password_reset_confirm.tpl	(revision 0)
+++ themes/advanced/platform/login/forgot_password_reset_confirm.tpl	(revision 0)
@@ -0,0 +1,61 @@
+<!--##
+<NAME>Password Reset Confirmed</NAME>
+<DESC></DESC>
+<SECTION>My Account||Login</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_phrase name="lu_title_ForgotPasswordConfirm"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/recommend_site.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/mailing_list.elm" design="blue_box"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<!--## MAIN CONTENT ##-->
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_ForgotPasswordConfirm" templates="platform/login/forgot_password_reset_confirm"/>
+		</div>
+		<div class="movable-element">
+			<!-- forgot password reset confirm -->
+			<inp2:m_RenderElement design="content_box">
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_title_ForgotPasswordConfirm"/>
+				</inp2:m_Capture>
+
+				<form method="POST" action="<inp2:m_FormAction />">
+					<inp2:m_Phrase label="lu_text_ForgotPassHasBeenReset"/>
+
+					<br /><br />
+
+					<input type="button" value="<inp2:m_Phrase label="lu_btn_Ok" no_editing="1"/>" class="button" onclick="redirect('<inp2:m_Link template="platform/login/register" next_template="index"/>');"/>
+				</form>
+			</inp2:m_RenderElement>
+			<!-- // forgot password reset confirm -->
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## /MAIN CONTENT ##-->
+
+<!--## DESIGN TEMPLATE ##-->
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
+<!--## /DESIGN TEMPLATE ##-->
\ No newline at end of file
Index: themes/advanced/platform/login/activate_confirm.tpl
===================================================================
--- themes/advanced/platform/login/activate_confirm.tpl	(revision 0)
+++ themes/advanced/platform/login/activate_confirm.tpl	(revision 0)
@@ -0,0 +1,61 @@
+<!--##
+<NAME>Registration Activation</NAME>
+<DESC></DESC>
+<SECTION>My Account||Login</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_phrase name="lu_title_RegistrationConfirmation"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/recommend_site.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/mailing_list.elm" design="blue_box"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_UserRegistration,lu_title_RegistrationConfirmation" templates="platform/login/register,platform/login/register_confirm_pending"/>
+		</div>
+		<div class="movable-element">
+			<!-- registration confirmation -->
+			<inp2:m_RenderElement design="content_box">
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_title_RegistrationConfirmation"/>
+				</inp2:m_Capture>
+
+				<inp2:m_if check="u_TestCodeIsValid" code_type="activation">
+					<inp2:u_ActivateUser/>
+					<inp2:m_Phrase name="lu_RegistrationCompleted"/>
+
+					<br /><br />
+					<input type="button" value="<inp2:m_Phrase label='lu_btn_Ok'/>" class="button" onclick="redirect('<inp2:m_Link template='index' m_cat_id='0' m_cat_page='1'/>');"/>
+				<inp2:m_else />
+					<span class="field-error"><inp2:u_Error field="PwResetConfirm"/></span>
+					<br /><br />
+					<a href="<inp2:m_Link template='index' m_cat_id='0' m_cat_page='1'/>"><inp2:m_Phrase label="lu_ReturnToHome"/></a>
+				</inp2:m_if>
+			</inp2:m_RenderElement>
+			<!-- // registration confirmation -->
+		</div>
+	</div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: themes/advanced/platform/login/register_confirm.tpl
===================================================================
--- themes/advanced/platform/login/register_confirm.tpl	(revision 0)
+++ themes/advanced/platform/login/register_confirm.tpl	(revision 0)
@@ -0,0 +1,60 @@
+<!--##
+<NAME>Registration Completed</NAME>
+<DESC></DESC>
+<SECTION>My Account||Login</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_phrase name="lu_title_RegistrationConfirmation"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/recommend_site.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/mailing_list.elm" design="blue_box"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_UserRegistration,lu_title_RegistrationConfirmation" templates="platform/login/register,platform/login/register_confirm"/>
+		</div>
+		<div class="movable-element">
+			<!-- registration confirmation -->
+			<inp2:m_RenderElement design="content_box">
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_title_RegistrationConfirmation"/>
+				</inp2:m_Capture>
+
+				<form method="POST" action="<inp2:m_FormAction />">
+					<inp2:m_phrase name="lu_RegistrationCompleted"/>
+
+					<inp2:m_if check="conf_ConfigValue" name="User_Password_Auto">
+						<br /><br /><inp2:m_phrase name="lu_RegistrationEmailed"/>
+					</inp2:m_if>
+
+					<br /><br />
+					<input type="button" value="<inp2:m_Phrase label="lu_btn_Ok" no_editing="1"/>" class="button" onclick="redirect('<inp2:m_Link template="index" />');"/>
+				</form>
+			</inp2:m_RenderElement>
+			<!-- // registration confirmation -->
+		</div>
+	</div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: themes/advanced/platform/login/login_pending_disabled.tpl
===================================================================
--- themes/advanced/platform/login/login_pending_disabled.tpl	(revision 0)
+++ themes/advanced/platform/login/login_pending_disabled.tpl	(revision 0)
@@ -0,0 +1,51 @@
+<!--##
+<NAME>Account Pending or Disabled</NAME>
+<DESC></DESC>
+<SECTION>My Account||Login</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_phrase name="lu_title_DisabledAccountWarning"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/recommend_site.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/mailing_list.elm" design="blue_box"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_DisabledAccountWarning" templates="platform/login/login_pending_disabled"/>
+		</div>
+		<div class="movable-element">
+			<!-- login pending/disabled -->
+			<inp2:m_RenderElement design="content_box">
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_title_DisabledAccountWarning"/>
+				</inp2:m_Capture>
+
+				<inp2:m_Phrase label="lu_text_DisabledAccountWarning"/>: <a href="mailto:<inp2:u_SiteAdminEmail/>"><inp2:u_SiteAdminEmail/></a>
+			</inp2:m_RenderElement>
+			<!-- // login pending/disabled -->
+		</div>
+	</div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: themes/advanced/platform/login/forgot_password_reset_notice.tpl
===================================================================
--- themes/advanced/platform/login/forgot_password_reset_notice.tpl	(revision 0)
+++ themes/advanced/platform/login/forgot_password_reset_notice.tpl	(revision 0)
@@ -0,0 +1,60 @@
+<!--##
+<NAME>Forgot Password Notification</NAME>
+<DESC>Password Sent Confirmation</DESC>
+<SECTION>My Account||Login</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_phrase name="lu_title_ForgotPasswordNotification"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/recommend_site.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/mailing_list.elm" design="blue_box"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<!--## MAIN CONTENT ##-->
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_ForgotPasswordNotification" templates="platform/login/forgot_password_reset_notice"/>
+		</div>
+		<div class="movable-element">
+			<!-- forgot password reset confirm -->
+			<inp2:m_RenderElement design="content_box">
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_title_ForgotPasswordNotification"/>
+				</inp2:m_Capture>
+
+				<form method="POST" action="<inp2:m_FormAction />">
+					<inp2:m_Phrase label="lu_text_ForgotPassResetEmailSent"/>
+					<br /><br />
+
+					<input type="button" value="<inp2:m_Phrase label="lu_btn_Ok" no_editing="1"/>" class="button" onclick="redirect('<inp2:m_Link template="index" />');"/>
+				</form>
+			</inp2:m_RenderElement>
+			<!-- // forgot password reset confirm -->
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## /MAIN CONTENT ##-->
+
+<!--## DESIGN TEMPLATE ##-->
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
+<!--## /DESIGN TEMPLATE ##-->
\ No newline at end of file
Index: themes/advanced/platform/terms.tpl
===================================================================
--- themes/advanced/platform/terms.tpl	(revision 0)
+++ themes/advanced/platform/terms.tpl	(revision 0)
@@ -0,0 +1,88 @@
+<!--##
+<NAME>Terms and Conditions of Use</NAME>
+<DESC></DESC>
+<SECTION>Platform</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_phrase name="lu_title_TermsAndConditions"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/recommend_site.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/mailing_list.elm" design="blue_box"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement design="content_box">
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_title_TermsAndConditions"/>
+				</inp2:m_Capture>
+
+				<table class="form-data fullwidth">
+				<tr>
+					<td>
+				The services that [Company Name] provides to you are to the following Terms of Use.  You should carefully read the following Terms and Conditions. By using any Website in our Network (list your websites) you agree to be bound to the Terms of Use. [Company Name] can modify these Terms at any time without prior notice to you by posting revised Terms on our sites.<br/><br/>
+					</td>
+				</tr>
+
+				<tr>
+					<td>
+				<strong>1. Content</strong><br/>
+
+		[Company Name] provide access to a variety of resources, including developer tools, client information and case studies, communication forums and product information ("content").  Services include any updates, correspondence, enhancements, new features, and/or additions, are subject to Terms of Use.<br/><br/>
+
+				<tr>
+					<td>
+				<strong>2. Services</strong><br/>
+
+		Our Websites may contain e-mail correspondence, Forums, company news, and business related web pages specifically designed to enable you to communicate with the staff here at [Company Name].<br/><br/>
+
+				<tr>
+					<td>
+				<strong>2.1 Use of Services</strong><br/>
+
+		Services may contain e-mail correspondence, forums, company news, and business related web pages.  The customer or viewer agrees to use the Forum only to post messages and material that are appropriate.<br/><br/>
+
+		    * When browsing our Websites or using the Forums, you agree not to upload, post, transmit or make available any Content that is in violation of both U.S. and International Law, Content that is harmful, threatening, abusive, harassing,  defamatory, vulgar, obscene, invasive of another's privacy, hateful, or racially, ethnically or otherwise objectionable.<br/>
+		    * [Company Name] is not by any means obligated to monitor the Forum and will not be held responsible for any content posted onto the Forum. [Company Name] does, however, reserve the right to review, edit, modify or delete messages posted and to remove any messages at any time, without notice, for any reason whatsoever.<br/><br/>
+
+		    	<tr>
+					<td>
+				<strong>2.2 Restrictions</strong><br/>
+
+		    * The Services [Company Name] provides for you are for your personal and non-commercial use only, unless otherwise specified. The Content and Services available on our Websites is copyrighted information owned by [Company Name].<br/>
+		    * You may not: permit other individuals to use the Content and Services except under the terms listed above; duplicate or modify use of the Content and Services.<br/>
+		    * You also may not copy or sell any works or otherwise transfer rights to any of [Company Name]' information, software, products, or Content and Services obtained from our Websites.<br/>
+		    * You promise that you will not use or redistribute the Content and Services for any reason. You have no right to use the Content and Services for productive or commercial use.<br/><br/>
+		    </td>
+				</tr>
+
+		    </table>
+			</inp2:m_RenderElement>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: themes/advanced/platform/my_account/my_preferences.tpl
===================================================================
--- themes/advanced/platform/my_account/my_preferences.tpl	(revision 0)
+++ themes/advanced/platform/my_account/my_preferences.tpl	(revision 0)
@@ -0,0 +1,122 @@
+<!--##
+<NAME>My Preferences</NAME>
+<DESC></DESC>
+<SECTION>My Account</SECTION>
+##-->
+
+<inp2:m_RequireLogin login_template="platform/login/register"/>
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_phrase name="lu_title_MyPreferences"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_MyAccount,lu_title_MyPreferences" templates="platform/my_account/my_account,platform/my_account/my_preferences"/>
+		</div>
+		<div class="movable-element">
+			<!-- my preferences -->
+			<inp2:m_RenderElement design="content_box">
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_title_MyPreferences"/>
+				</inp2:m_Capture>
+
+				<table class="fullwidth tab-bottom-line">
+					<tr>
+						<td class="tab-left-padding">
+
+							<table>
+								<tr>
+									<inp2:m_ModuleInclude template="my_account/preferences_tab.elm" in-portal_template="platform/my_account/preferences_tab.elm"/>
+								</tr>
+							</table>
+
+						</td>
+					</tr>
+				</table>
+				<br/>
+				<strong><inp2:m_Phrase name="lu_Profile"/></strong><br /><br />
+
+				<form method="post" action="<inp2:m_FormAction/>">
+					<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/grey_pix.gif" width="100%" height="1" align="absmiddle" alt="" /><br /><br />
+					<table class="form-data fullwidth">
+						<tr>
+							<td style="width:140px">
+								<inp2:m_phrase name="lu_col_AccountInformation"/>
+							</td>
+							<td style="width:140px">
+								<inp2:m_phrase name="lu_col_CurrentValue"/>
+							</td>
+							<td>
+								<inp2:m_phrase name="lu_col_DisplayToPublic"/>
+							</td>
+						</tr>
+
+						<tr>
+							<td class="field-name"><inp2:m_phrase name="lu_fld_Login"/></td>
+							<td><inp2:u_Field field="Login"/></td>
+							<td class="field-value">&nbsp;</td>
+						</tr>
+
+						<tr>
+							<td colspan="3">
+								<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="3" height="1" alt=""/><br /></div>
+							</td>
+						</tr>
+
+						<inp2:m_include template="platform/elements/preferences.elm"/>
+
+						<inp2:m_RenderElement name="privacy_element" field="pp_firstname" title="lu_fld_FirstName"/>
+						<inp2:m_RenderElement name="privacy_element" field="pp_lastname" title="lu_fld_LastName"/>
+						<inp2:m_RenderElement name="privacy_element" field="pp_dob" title="lu_fld_BirthDate"/>
+						<inp2:m_RenderElement name="privacy_element" field="pp_email" title="lu_fld_Email"/>
+						<inp2:m_RenderElement name="privacy_element" field="pp_phone" title="lu_fld_Phone"/>
+						<inp2:m_RenderElement name="privacy_element" field="pp_street" title="lu_fld_AddressLine1"/>
+						<inp2:m_RenderElement name="privacy_element" field="pp_city" title="lu_fld_City"/>
+						<inp2:m_RenderElement name="privacy_element" field="pp_state" title="lu_fld_State"/>
+						<inp2:m_RenderElement name="privacy_element" field="pp_zip" title="lu_fld_Zip"/>
+						<inp2:m_RenderElement name="privacy_element" field="pp_country" title="lu_fld_Country" is_last="1"/>
+
+						<tr>
+							<td colspan="3">
+								<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/grey_pix.gif" width="100%" height="1" align="absmiddle" alt="" />
+							</td>
+						</tr>
+						<tr>
+							<td>&nbsp;
+
+							</td>
+							<td>
+								<br />
+								<input class="button" type="submit" name="events[user-profile][OnUpdate]" value="<inp2:m_Phrase label="lu_btn_Update" no_editing="1"/>"/>
+								<br /><br />
+							</td>
+							<td class="field-value">
+								<a href="<inp2:u.current_ProfileLink template="platform/my_account/public_profile"/>"><inp2:m_phrase name="lu_btn_ViewYourProfile"/></a>
+							</td>
+						</tr>
+					</table>
+				</form>
+			</inp2:m_RenderElement>
+			<!-- // my preferences -->
+		</div>
+	</div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: themes/advanced/platform/my_account/my_profile.tpl
===================================================================
--- themes/advanced/platform/my_account/my_profile.tpl	(revision 0)
+++ themes/advanced/platform/my_account/my_profile.tpl	(revision 0)
@@ -0,0 +1,81 @@
+<!--##
+<NAME>My Profile</NAME>
+<DESC></DESC>
+<SECTION>My Account</SECTION>
+##-->
+
+<inp2:m_RequireLogin login_template="platform/login/register"/>
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_phrase name="lu_title_MyProfile"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_MyAccount,lu_title_MyProfile" templates="platform/my_account/my_account,platform/my_account/my_profile"/>
+		</div>
+		<div class="movable-element">
+			<!-- my profile -->
+			<inp2:m_RenderElement design="content_box">
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_title_MyProfile"/>
+				</inp2:m_Capture>
+
+				<span class="field-required">*</span> <inp2:m_phrase name="lu_IndicatesRequired"/><br /><br />
+
+				<inp2:m_if check="u_HasError" field="any">
+					<inp2:m_RenderElement name="error_message" />
+				</inp2:m_if>
+
+				<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/grey_pix.gif" width="100%" height="1" align="absmiddle" alt="" /><br /><br />
+
+				<form method="post" enctype="multipart/form-data" action="<inp2:m_FormAction/>">
+					<table class="form-data fullwidth">
+						<inp2:m_RenderElement name="inp_label" prefix="u" field="Login" title="lu_fld_Login"/>
+
+						<inp2:m_RenderElement name="inp_edit_password" prefix="u" field="Password" title="lu_fld_Password" style="width:155px" />
+						<inp2:m_RenderElement name="inp_edit_password" prefix="u" field="VerifyPassword" title="lu_fld_VerifyPassword" style="width:155px" />
+						<inp2:m_RenderElement name="inp_edit_box" prefix="u" field="FirstName" title="lu_fld_FirstName" style="width:155px" />
+						<inp2:m_RenderElement name="inp_edit_box" prefix="u" field="LastName" title="lu_fld_LastName" style="width:155px" />
+						<inp2:m_RenderElement name="inp_edit_box" prefix="u" field="Company" title="lu_fld_Company" style="width:155px" />
+						<inp2:m_RenderElement name="inp_edit_box" prefix="u" field="Phone" title="lu_fld_Phone" style="width:155px" />
+						<inp2:m_RenderElement name="inp_edit_box" prefix="u" field="Fax" title="lu_fld_Fax" style="width:155px" />
+						<inp2:m_RenderElement name="inp_edit_box" prefix="u" field="Email" title="lu_fld_Email" style="width:155px" />
+						<inp2:m_RenderElement name="inp_edit_date" prefix="u" field="dob" title="lu_fld_BirthDate" style="width:155px" />
+						<inp2:m_RenderElement name="inp_edit_box" prefix="u" field="Street" title="lu_fld_AddressLine1" style="width:155px" />
+						<inp2:m_RenderElement name="inp_edit_box" prefix="u" field="Street2" title="lu_fld_AddressLine2" style="width:155px" />
+						<inp2:m_RenderElement name="inp_edit_box" prefix="u" field="City" title="lu_fld_City" style="width:155px" />
+						<inp2:m_RenderElement name="inp_edit_box" prefix="u" field="State" title="lu_fld_State" style="width:155px" />
+						<inp2:m_RenderElement name="inp_edit_box" prefix="u" field="Zip" title="lu_fld_Zip" style="width:55px" />
+						<inp2:m_RenderElement name="inp_edit_options" prefix="u" field="Country" title="lu_fld_Country" has_empty="1"/>
+						<inp2:m_RenderElement name="inp_edit_image_upload" prefix="u" field="PrimaryImage" title="lu_prompt_Avatar" is_last="1"/>
+
+						<inp2:m_RenderElement design="inp_edit_buttons">
+							<input class="button" type="submit" name="events[u][OnUpdate]" value="<inp2:m_Phrase label="lu_btn_Update" no_editing="1"/>"/>
+							<input type="hidden" name="next_template" value="platform/my_account/my_account"/>
+						</inp2:m_RenderElement>
+					</table>
+				</form>
+			</inp2:m_RenderElement>
+			<!-- // my profile -->
+		</div>
+	</div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: themes/advanced/platform/my_account/preferences_tab.elm.tpl
===================================================================
--- themes/advanced/platform/my_account/preferences_tab.elm.tpl	(revision 0)
+++ themes/advanced/platform/my_account/preferences_tab.elm.tpl	(revision 0)
@@ -0,0 +1 @@
+<inp2:m_RenderElement name="tab" title="lu_tab_Privacy" template="platform/my_account/my_preferences"/>
Index: themes/advanced/platform/my_account/my_favorites.tpl
===================================================================
--- themes/advanced/platform/my_account/my_favorites.tpl	(revision 0)
+++ themes/advanced/platform/my_account/my_favorites.tpl	(revision 0)
@@ -0,0 +1,46 @@
+<!--##
+<NAME>My Favorites</NAME>
+<DESC></DESC>
+<SECTION>My Account</SECTION>
+##-->
+
+<inp2:m_RequireLogin login_template="platform/login/register"/>
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_phrase name="lu_title_MyFavorites"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_MyAccount,lu_title_MyFavorites" templates="platform/my_account/my_account,platform/my_account/my_favorites"/>
+		</div>
+		<div class="movable-element">
+			<!-- my favorites -->
+			<inp2:m_Set favorites_found="0"/>
+			<inp2:m_ModuleInclude template="elements/content_boxes/my_favorites.elm"/>
+
+			<inp2:m_if check="m_GetEquals" var="favorites_found" value="0">
+				<inp2:m_include template="platform/elements/content_boxes/no_favorites.elm"/>
+			</inp2:m_if>
+			<!-- // my favorites -->
+		</div>
+	</div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: themes/advanced/platform/my_account/my_account.tpl
===================================================================
--- themes/advanced/platform/my_account/my_account.tpl	(revision 0)
+++ themes/advanced/platform/my_account/my_account.tpl	(revision 0)
@@ -0,0 +1,78 @@
+<!--##
+<NAME>My Account</NAME>
+<DESC>User account page</DESC>
+<SECTION>My Account</SECTION>
+##-->
+
+<inp2:m_RequireLogin login_template="platform/login/register"/>
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_phrase name="lu_title_MyAccount"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<inp2:m_DefineElement name="my_account_element">
+<tr>
+	<td class="directory-icon">
+		<img src="<inp2:m_TemplatesBase />/<inp2:m_param name="icon_image"/>" alt="" /><br />
+	</td>
+	<td class="directory-text">
+		<a href="<inp2:m_Link template="$template" m_cat_id="0" m_cat_page="1"/>" class="text-title"><inp2:m_Phrase name="$title"/></a>
+		<br />
+		<inp2:m_Phrase name="$description"/>
+	</td>
+</tr>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_MyAccount" templates="platform/my_account/my_account"/>
+		</div>
+		<div class="movable-element">
+			<!-- my account -->
+			<inp2:m_RenderElement design="content_box">
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_title_MyAccount"/>
+				</inp2:m_Capture>
+
+				<table>
+					<inp2:m_RenderElement name="my_account_element" template="platform/my_account/my_profile" title="lu_MyProfile" description="lu_description_MyProfile" icon_image="platform/img/ic_myprofile46.gif" />
+					<inp2:m_RenderElement name="my_account_element" template="platform/my_account/my_favorites" title="lu_MyFavorites" description="lu_description_MyFavorites" icon_image="platform/img/ic_myfavorites46.gif"/>
+					<inp2:m_RenderElement name="my_account_element" template="platform/my_account/my_preferences" title="lu_MyPreferences" description="lu_description_MyPreferences" icon_image="platform/img/ic_mypreferences46.gif"/>
+
+					<inp2:m_ModuleInclude template="my_account/my_items.elm" place="contentbox" section="1"/>
+				</table>
+			</inp2:m_RenderElement>
+			<!-- // my account -->
+
+			<!-- my items -->
+			<inp2:m_RenderElement design="content_box">
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_title_MyItems"/>
+				</inp2:m_Capture>
+
+				<table>
+					<inp2:m_ModuleInclude template="my_account/my_items.elm" place="contentbox" section="2"/>
+				</table>
+			</inp2:m_RenderElement>
+			<!-- // my items -->
+		</div>
+	</div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: themes/advanced/platform/my_account/public_profile.tpl
===================================================================
--- themes/advanced/platform/my_account/public_profile.tpl	(revision 0)
+++ themes/advanced/platform/my_account/public_profile.tpl	(revision 0)
@@ -0,0 +1,90 @@
+<!--##
+<NAME>Profile</NAME>
+<DESC></DESC>
+<SECTION>My Account</SECTION>
+##-->
+
+<inp2:m_RequireLogin login_template="platform/login/register"/>
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_phrase name="lu_title_UserProfile"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-element">
+		<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+	</div>
+	<div class="movable-element">
+		<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+	</div>
+	<div class="movable-element">
+		<inp2:m_RenderElement name="platform/elements/side_boxes/recommend_site.elm" design="blue_box"/>
+	</div>
+	<div class="movable-element">
+		<inp2:m_RenderElement name="platform/elements/side_boxes/mailing_list.elm" design="blue_box"/>
+	</div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_UserProfile" templates="platform/my_account/public_profile"/>
+		</div>
+		<div class="movable-element">
+			<!-- public profile -->
+			<inp2:m_RenderElement design="content_box">
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_title_UserProfile"/>
+				</inp2:m_Capture>
+
+				<inp2:u.profile_Image render_as="image_element" primary="1" DefaultImage="platform/img/no_picture.gif" MaxWidth="60"/><br clear="all"/>
+
+				<table class="form-data fullwidth">
+					<tr>
+						<td class="field-name"><inp2:m_phrase name="lu_fld_Login"/></td>
+						<td class="field-value"><inp2:u.profile_Field field="Login"/></td>
+					</tr>
+
+					<inp2:m_if check="user-profile_ProfileFieldCount">
+					<tr>
+						<td colspan="3">
+							<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="3" height="1" alt=""/><br /></div>
+						</td>
+					</tr>
+					</inp2:m_if>
+
+					<inp2:m_include template="platform/elements/preferences.elm"/>
+
+					<inp2:m_RenderElement name="profile_element" field="pp_firstname" title="lu_fld_FirstName"/>
+					<inp2:m_RenderElement name="profile_element" field="pp_lastname" title="lu_fld_LastName"/>
+					<inp2:m_RenderElement name="profile_element" field="pp_dob" title="lu_fld_BirthDate"/>
+					<inp2:m_RenderElement name="profile_element" field="pp_email" title="lu_fld_Email"/>
+					<inp2:m_RenderElement name="profile_element" field="pp_phone" title="lu_fld_Phone"/>
+					<inp2:m_RenderElement name="profile_element" field="pp_street" title="lu_fld_Street"/>
+					<inp2:m_RenderElement name="profile_element" field="pp_city" title="lu_fld_City"/>
+					<inp2:m_RenderElement name="profile_element" field="pp_state" title="lu_fld_State"/>
+					<inp2:m_RenderElement name="profile_element" field="pp_zip" title="lu_fld_Zip"/>
+					<inp2:m_RenderElement name="profile_element" field="pp_country" title="lu_fld_Country"/>
+
+					<tr>
+						<td colspan="3">
+							<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/grey_pix.gif" width="100%" height="1" align="absmiddle" alt="" />
+						</td>
+					</tr>
+
+					<inp2:m_if check="m_ModuleEnabled" module="In-Bulletin">
+						<inp2:m_include template="in-bulletin/elements/content_boxes/contact_user.elm"/>
+					</inp2:m_if>
+
+				</table>
+			</inp2:m_RenderElement>
+			<!-- // public profile -->
+		</div>
+	</div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: themes/advanced/platform/designs/popup_design.des.tpl
===================================================================
--- themes/advanced/platform/designs/popup_design.des.tpl	(revision 0)
+++ themes/advanced/platform/designs/popup_design.des.tpl	(revision 0)
@@ -0,0 +1,24 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<inp2:m_include template="platform/elements/side_boxes.elm"/>
+<inp2:m_include template="platform/elements/content_boxes.elm"/>
+<inp2:m_include template="platform/elements/forms.elm"/>
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+	<head>
+		<title>
+			<inp2:m_GetConfig name="Site_Name"/>
+		</title>
+		<meta http-equiv="Content-Type" content="text/html; charset=<inp2:lang.current_Field name="Charset"/>" />
+		<inp2:m_ModuleInclude template="elements/html_head.elm" in-portal_template="platform/elements/html_head.elm"/>
+	</head>
+	<body>
+		<inp2:m_RenderElement name="content"/>
+		<br />
+		<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="1" alt="" /><br /></div>
+		<br />
+
+		<div style="text-align: center;">
+			<a href="<inp2:m_Link/>" onclick="window.close(); return false;"><inp2:m_Phrase name="lu_btn_CloseWindow"/></a>
+		</div>
+	</body>
+</html>
\ No newline at end of file
Index: themes/advanced/platform/designs/form.tpl
===================================================================
--- themes/advanced/platform/designs/form.tpl	(revision 0)
+++ themes/advanced/platform/designs/form.tpl	(revision 0)
@@ -0,0 +1,70 @@
+<!--##
+<NAME>Forms - Section Template</NAME>
+<DESC>Online Form</DESC>
+<SECTION>Platform</SECTION>
+##-->
+<inp2:m_include template="platform/elements/dynamic_forms.elm"/>
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:st_PageInfo type="title"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement design="content_box">
+				<inp2:m_Capture to_var="header">
+					<inp2:st_PageInfo type="title"/>
+				</inp2:m_Capture>
+
+				<inp2:st_ContentBlock num="1"/>
+				<p>
+					<span class="field-required">*</span> <inp2:m_phrase name="lu_IndicatesRequired"/><br /><br />
+					<inp2:formsubs_PresetFormFields/>
+
+					<inp2:m_if check="formsubs_HasError" field="any">
+						<inp2:m_RenderElement name="error_message" />
+					</inp2:m_if>
+
+					<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/grey_pix.gif" width="100%" height="1" align="absmiddle" alt="" /><br /><br />
+
+					<form method="post" action="<inp2:m_FormAction m_cat_id="0" m_cat_page="1"/>">
+
+						<table class="form-data fullwidth">
+							<inp2:formflds_PrintList render_as="form_field" SourcePrefix="formsubs" per_page="-1"/>
+
+							<inp2:m_RenderElement design="inp_edit_buttons">
+								<input type="submit" class="button" name="events[formsubs][OnCreate]" value="<inp2:m_Phrase label="lu_send" no_editing="1"/>"/>
+
+								<input type="hidden" name="<inp2:formsubs_InputName field="FormId"/>" value="<inp2:m_Get var="form_id"/>"/>
+								<input type="hidden" name="form_id" value="<inp2:m_Get var="form_id"/>"/>
+								<input type="hidden" name="success_template" value="<inp2:st_Field name="FormSubmittedTemplate"/>"/>
+							</inp2:m_RenderElement>
+						</table>
+					</form>
+				</p>
+				<inp2:st_ContentBlock num="2"/>
+			</inp2:m_RenderElement>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: themes/advanced/platform/designs/.smsignore
===================================================================
--- themes/advanced/platform/designs/.smsignore	(revision 0)
+++ themes/advanced/platform/designs/.smsignore	(revision 0)
@@ -0,0 +1 @@
+.*\.tpl
\ No newline at end of file
Index: themes/advanced/platform/designs/general.tpl
===================================================================
--- themes/advanced/platform/designs/general.tpl	(revision 0)
+++ themes/advanced/platform/designs/general.tpl	(revision 0)
@@ -0,0 +1,56 @@
+<!--##
+<NAME>General - Section Template</NAME>
+<DESC>General</DESC>
+<SECTION>Platform</SECTION>
+##-->
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:st_PageInfo type="title"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement design="content_box">
+				<inp2:m_Capture to_var="header">
+					<inp2:st_PageInfo type="title"/>
+				</inp2:m_Capture>
+
+				<inp2:st_ContentBlock num="1"/>
+			</inp2:m_RenderElement>
+		</div>
+	<div class="movable-area">
+	<!--## RELATED TO PAGE ITEMS ##-->
+	<!--##
+	<div class="movable-element">
+		<inp2:m_RenderElement design="content_box" related_to="Category" data_exists="1">
+			<inp2:m_Capture to_var="header">
+				<inp2:m_Phrase label="lu_title_RelatedItems"/>
+			</inp2:m_Capture>
+
+			<inp2:m_ModuleInclude template="elements/content_boxes/related_items" related_to="$related_to" />
+		</inp2:m_RenderElement>
+	</div>
+	##-->
+	<!--## // RELATED TO PAGE ITEMS ##-->
+
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: themes/advanced/platform/designs/default_design_ajax.des.tpl
===================================================================
--- themes/advanced/platform/designs/default_design_ajax.des.tpl	(revision 0)
+++ themes/advanced/platform/designs/default_design_ajax.des.tpl	(revision 0)
@@ -0,0 +1,4 @@
+<inp2:m_include template="platform/elements/content_boxes.elm" strip_nl="1"/>
+<inp2:m_include template="platform/elements/forms.elm" strip_nl="1"/>
+
+<inp2:m_RenderElement name="content"/>
Index: themes/advanced/platform/designs/default_design.des.tpl
===================================================================
--- themes/advanced/platform/designs/default_design.des.tpl	(revision 0)
+++ themes/advanced/platform/designs/default_design.des.tpl	(revision 0)
@@ -0,0 +1,123 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<inp2:m_CheckSSL/>
+<inp2:m_include template="platform/elements/side_boxes.elm" strip_nl="1"/>
+<inp2:m_include template="platform/elements/content_boxes.elm" strip_nl="1"/>
+<inp2:m_include template="platform/elements/forms.elm" strip_nl="1"/>
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+	<head>
+		<inp2:m_DefineElement name="cms_page_title">
+			<inp2:st_PageInfo type="htmlhead_title"/>
+		</inp2:m_DefineElement>
+
+		<title><inp2:m_GetConfig name="Site_Name"/> :: <inp2:m_RenderElement name="page_title" default_element="cms_page_title" no_editing="1"/></title>
+
+		<!--## Include module specific HEADER (META INFORMATION inside) template ##-->
+		<inp2:m_ModuleInclude template="elements/html_head.elm" in-portal_template="platform/elements/html_head.elm"/>
+
+		<inp2:st_EditingScripts/>
+		<!--## /Include module specific HEADER template ##-->
+	</head>
+	<body>
+		<inp2:st_EditPage mode="start"/>
+		<div align="left">
+			<div align="left" style="width:100%">
+				<table class="fullwidth">
+					<tr>
+						<td>
+							<inp2:m_include template="platform/elements/header.elm"/>
+						</td>
+					</tr>
+					<tr>
+						<td>
+							<inp2:m_include template="platform/elements/menu.elm"/>
+						</td>
+					</tr>
+				</table>
+
+				<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="1" alt=""/><br />
+				<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/grey_pix.gif" width="100%" height="1" alt=""/><br />
+				<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="1" alt=""/><br />
+
+				<table class="fullwidth">
+					<tr>
+						<!-- SIDEBAR -->
+						<td style="width: 200px;" valign="top">
+							<inp2:m_DefineElement name="cms_sidebar">
+								<div class="movable-area">
+									<div class="movable-element">
+										<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+									</div>
+									<div class="movable-element">
+										<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+									</div>
+								</div>
+							</inp2:m_DefineElement>
+
+							<inp2:m_RenderElement name="sidebar" default_element="cms_sidebar"/>
+						</td>
+						<!-- /SIDEBAR -->
+
+						<!-- SEPARATOR -->
+						<td width="3" class="vertical-separator" style="width: 3px;">
+							<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="3" height="1" alt=""/><br />
+						</td>
+						<!-- /SEPARATOR -->
+
+						<!-- CONTENT -->
+						<td style="width: auto;" valign="top">
+							<inp2:m_DefineElement name="cms_content">
+								<div class="movable-area">
+									<div class="movable-element">
+										<inp2:m_include template="platform/elements/navigation_bar.elm"/>
+									</div>
+
+									<div class="movable-element">
+										<inp2:m_RenderElement design="content_box">
+											<inp2:m_Capture to_var="header">
+												<inp2:st_PageInfo type="title"/>
+											</inp2:m_Capture>
+
+											<inp2:st_ContentBlock num="1"/>
+										</inp2:m_RenderElement>
+									</div>
+								</div>
+							</inp2:m_DefineElement>
+
+							<inp2:m_RenderElement name="content" default_element="cms_content"/>
+							<br />
+						</td>
+						<!-- /CONTENT -->
+
+						<!--## REMOVE THIS LINE TO UNCOMMENT
+						<!-- SEPARATOR -->
+						<td width="3" class="vertical-separator">
+							<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="3" height="1" alt=""/><br />
+						</td>
+						<!-- /SEPARATOR -->
+
+						<!-- RIGHT-SIDEBAR WITH BANNER -->
+						<td style="width: 200px;" valign="top">
+							<div class="movable-area">
+								<div class="movable-element">
+									<inp2:m_include template="platform/elements/banners/banner_right.elm"/>
+								</div>
+							</div>
+						</td>
+						<!-- /RIGHT-SIDEBAR WITH BANNER -->
+						REMOVE THIS LINE TO UNCOMMENT ##-->
+					</tr>
+				</table>
+
+				<table class="fullwidth">
+					<tr>
+						<td >
+							<inp2:m_include template="platform/elements/footer.elm"/>
+						</td>
+					</tr>
+				</table>
+			</div>
+		</div>
+		<inp2:st_EditPage mode="end"/>
+	</body>
+</html>
\ No newline at end of file
Index: themes/advanced/platform/recommend/recommend.tpl
===================================================================
--- themes/advanced/platform/recommend/recommend.tpl	(revision 0)
+++ themes/advanced/platform/recommend/recommend.tpl	(revision 0)
@@ -0,0 +1,49 @@
+<!--##
+<NAME>Recommend</NAME>
+<DESC></DESC>
+<SECTION>Platform</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_phrase name="lu_title_RecommendConfirm"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/mailing_list.elm" design="blue_box"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_RecommendConfirm" templates="platform/recommend/recommend"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement design="content_box">
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_title_RecommendConfirm"/>
+				</inp2:m_Capture>
+
+				<inp2:m_Phrase label="lu_recommend_confirm_text" />
+				<br /><br />
+
+				<input type="button" class="button" onclick="redirect('<inp2:m_Link template="index" />');" value="<inp2:m_Phrase label="lu_btn_Ok" no_editing="1"/>"/>
+			</inp2:m_RenderElement>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
Index: themes/advanced/platform/thankyou.tpl
===================================================================
--- themes/advanced/platform/thankyou.tpl	(revision 0)
+++ themes/advanced/platform/thankyou.tpl	(revision 0)
@@ -0,0 +1,53 @@
+<!--##
+<NAME>Thank You</NAME>
+<DESC>Thank you for submitting contact form</DESC>
+<SECTION>Platform</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:formsubs_PhraseFromRequest name="thankyou_header" default="lu_title_Thankyou"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/recommend_site.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/mailing_list.elm" design="blue_box"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement design="content_box">
+				<inp2:m_Capture to_var="header">
+					<inp2:formsubs_PhraseFromRequest name="thankyou_header" default="lu_title_Thankyou"/>
+				</inp2:m_Capture>
+
+				<inp2:formsubs_PhraseFromRequest name="thankyou_text" default="lu_text_Thankyou"/>
+
+				<br /><br />
+
+				<input class="button" type="button" value="<inp2:m_Phrase label="lu_btn_Ok" no_editing="1"/>" onClick="window.location.href='<inp2:c_CategoryLink template="__default__"/>'" />&nbsp;
+			</inp2:m_RenderElement>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: themes/advanced/platform/members_list.tpl
===================================================================
--- themes/advanced/platform/members_list.tpl	(revision 0)
+++ themes/advanced/platform/members_list.tpl	(revision 0)
@@ -0,0 +1,74 @@
+<!--##
+<NAME>Members List</NAME>
+<DESC></DESC>
+<SECTION>Platform</SECTION>
+##-->
+
+<!--## LOGIN REQUIRED ##-->
+<inp2:m_RequireLogin login_template="platform/login/register"/>
+<!--## /LOGIN REQUIRED ##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_phrase name="lu_title_Members"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/recommend_site.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/mailing_list.elm" design="blue_box"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_Members" templates="platform/members_list"/>
+		</div>
+		<div class="movable-element">
+			<!--## LIST OF USERS ##-->
+			<inp2:m_RenderElement design="content_box" data_exists="1" block_no_data="no_users">
+				<inp2:u.all_InitList list_name="all_members"/>
+
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_title_Members"/> (<inp2:u.all_TotalRecords list_name="all_members"/>)
+				</inp2:m_Capture>
+
+				<inp2:m_include template="platform/elements/users.elm"/>
+
+				<table class="fullwidth">
+					<tr>
+						<td colspan="4">
+							<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="1" alt="" /></div>
+						</td>
+					</tr>
+					<tr class="sub-section-header">
+						<td><inp2:m_Phrase label="lu_col_Login"/></td>
+						<td><inp2:m_Phrase label="lu_col_LoggedIn"/></td>
+						<td><inp2:m_Phrase label="lu_col_Email"/></td>
+						<td><inp2:m_Phrase label="lu_col_MemberSince"/></td>
+					</tr>
+					<inp2:u.all_PrintList list_name="all_members" render_as="user_element" direction="H"/>
+				</table>
+
+				<inp2:m_include template="platform/elements/pagination.elm" prefix="u.all" list_name="all_members"/>
+			</inp2:m_RenderElement>
+			<!--## //LIST OF USERS ##-->
+		</div>
+	</div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: themes/advanced/platform/elements/content_boxes/sub_categories.elm.tpl
===================================================================
--- themes/advanced/platform/elements/content_boxes/sub_categories.elm.tpl	(revision 0)
+++ themes/advanced/platform/elements/content_boxes/sub_categories.elm.tpl	(revision 0)
@@ -0,0 +1,50 @@
+<!-- categories -->
+<inp2:m_RenderElement design="content_box" data_exists="0">
+	<inp2:m_Capture to_var="header">
+		<strong><inp2:c_Field name="Name"/></strong>
+	</inp2:m_Capture>
+
+	<!--## CATEGORY IMAGE & DESCRIPTION ##-->
+	<table class="fullwidth category-header">
+		<tr>
+			<td valign="top">
+				<inp2:m_if check="c_ImageSrc" MaxWidth="thumbnail">
+					<img src="<inp2:c_ImageSrc Primary="1" MaxWidth="thumbnail" />" class="image_border" align="right" hspace="5" vspace="0" alt="<inp2:c_Field name="Name"/>"/>
+				</inp2:m_if>
+				<inp2:c_Field name="Description"/>
+			</td>
+		</tr>
+	</table>
+	<!--## /CATEGORY IMAGE & DESCRIPTION ##-->
+</inp2:m_RenderElement>
+
+<inp2:m_RenderElement design="content_box_noheader" data_exists="1">
+	<inp2:c_InitList list_name="sub_categories" page_var="m_cat_page"/>
+
+	<inp2:m_Capture to_var="header">
+		<inp2:m_phrase name="lu_title_Categories"/> (<inp2:c_TotalRecords list_name="sub_categories"/>)
+	</inp2:m_Capture>
+
+	<table class="fullwidth">
+		<tr>
+			<td class="category-statistics">
+				<inp2:m_phrase name="lu_TotalCategories"/>: <inp2:c_CategoryCount/>  &nbsp;|&nbsp;  <inp2:m_phrase name="lu_AddedToday"/>: <inp2:c_CategoryCount today="1"/>
+			</td>
+			<td class="category-statistics" align="right">
+				<inp2:m_phrase name="lu_CategoriesUpdated"/>: <inp2:c_LastUpdated format="_regional_DateFormat"/>
+			</td>
+		</tr>
+	</table>
+
+	<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="4" alt="" /><br />
+	<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/grey_pix.gif" width="100%" height="1" alt="" /><br />
+	<br />
+
+	<inp2:m_include template="platform/elements/categories.elm"/>
+
+	<table class="fullwidth">
+		<inp2:c_ListCategories list_name="sub_categories" render_as="category_element" columns="2" direction="H"/>
+	</table>
+	<br /><inp2:m_include template="platform/elements/pagination.elm" prefix="c" list_name="sub_categories"/>
+</inp2:m_RenderElement>
+<!-- // categories -->
\ No newline at end of file
Index: themes/advanced/platform/elements/content_boxes/no_favorites.elm.tpl
===================================================================
--- themes/advanced/platform/elements/content_boxes/no_favorites.elm.tpl	(revision 0)
+++ themes/advanced/platform/elements/content_boxes/no_favorites.elm.tpl	(revision 0)
@@ -0,0 +1,9 @@
+<inp2:m_RenderElement design="content_box">
+	<inp2:m_Capture to_var="header">
+		<inp2:m_Phrase name="lu_title_Favorites"/>
+	</inp2:m_Capture>
+
+	<inp2:m_Phrase label="lu_NoFavorites"/>
+</inp2:m_RenderElement>
+
+<inp2:m_ModuleInclude template="elements/content_boxes/pick_items.elm"/>
\ No newline at end of file
Index: themes/advanced/platform/elements/content_boxes/search_results.elm.tpl
===================================================================
--- themes/advanced/platform/elements/content_boxes/search_results.elm.tpl	(revision 0)
+++ themes/advanced/platform/elements/content_boxes/search_results.elm.tpl	(revision 0)
@@ -0,0 +1,26 @@
+<inp2:m_RenderElement design="content_box" data_exists="1">
+	<inp2:c_InitList list_name="category_search_results" types="search" parent_cat_id="any" per_page="short_list"/>
+
+	<inp2:m_Capture to_var="header">
+			<inp2:m_phrase name="lu_title_CategorySearchResults"/> (<inp2:c_TotalRecords list_name="category_search_results" />)
+	</inp2:m_Capture>
+
+	<inp2:m_include template="platform/elements/categories.elm"/>
+	<inp2:m_include template="platform/elements/search_results.elm"/>
+
+	<table class="fullwidth">
+		<inp2:c_ListCategories list_name="category_search_results" render_as="category_element" columns="2" show_relevance="1" direction="H"/>
+	</table>
+
+	<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="1" alt="" /><br /></div>
+
+	<inp2:m_if check="c_TotalRecords" list_name="category_search_results">
+		<inp2:m_Set items_found="1"/>
+	</inp2:m_if>
+
+	<inp2:m_DefineElement name="more_link">
+		<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="5" alt="" /><br />
+		<a href="<inp2:m_Link template="platform/categories/search_results" />"><inp2:m_Phrase label="lu_More"/>...</a>
+	</inp2:m_DefineElement>
+	<inp2:c_MoreLink list_name="category_search_results" render_as="more_link"/>
+</inp2:m_RenderElement>
\ No newline at end of file
Index: themes/advanced/platform/elements/content_boxes/related_items.elm.tpl
===================================================================
--- themes/advanced/platform/elements/content_boxes/related_items.elm.tpl	(revision 0)
+++ themes/advanced/platform/elements/content_boxes/related_items.elm.tpl	(revision 0)
@@ -0,0 +1,7 @@
+<!--## related category items ##-->
+	<inp2:m_include template="platform/elements/categories.elm"/>
+
+	<ul>
+		<inp2:c_ListCategories render_as="related_category_element" types="related" related_to="$related_to" parent_cat_id="any" no_table="1"/>
+	</ul>
+<!--## // related category items ##-->
\ No newline at end of file
Index: themes/advanced/platform/elements/content_boxes/nothing_found.elm.tpl
===================================================================
--- themes/advanced/platform/elements/content_boxes/nothing_found.elm.tpl	(revision 0)
+++ themes/advanced/platform/elements/content_boxes/nothing_found.elm.tpl	(revision 0)
@@ -0,0 +1,25 @@
+<inp2:m_RenderElement design="content_box">
+	<inp2:m_Capture to_var="header">
+		<inp2:m_Phrase name="lu_title_SearchResults"/>
+	</inp2:m_Capture>
+
+	<table class="warning-message fullwidth">
+		<tr>
+			<td width="30">
+				<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/warning_icon.gif" width="21" height="18" alt=""/>
+			</td>
+			<td>
+				<inp2:m_phrase name="lu_Warning"/><br />
+			</td>
+		</tr>
+	</table>
+	<br />
+
+	<inp2:m_if check="m_Get" var="keywords_too_short">
+		<inp2:m_Phrase label="lu_text_KeywordsTooShort"/>!
+	<inp2:m_else/>
+		<inp2:m_Phrase label="lu_text_NothingFound"/>!
+	</inp2:m_if>
+</inp2:m_RenderElement>
+
+<inp2:m_ModuleInclude template="elements/content_boxes/pick_items.elm"/>
\ No newline at end of file
Index: themes/advanced/platform/elements/preferences.elm.tpl
===================================================================
--- themes/advanced/platform/elements/preferences.elm.tpl	(revision 0)
+++ themes/advanced/platform/elements/preferences.elm.tpl	(revision 0)
@@ -0,0 +1,35 @@
+<inp2:m_DefineElement name="privacy_element">
+	<tr>
+		<td class="field-name"><inp2:m_phrase name="$title"/></td>
+		<td><inp2:user-profile_Field field="$field" profile_field="1"/></td>
+		<td class="field-value">
+			<input type="hidden" id="<inp2:user-profile_InputName field="$field"/>" name="<inp2:user-profile_InputName field="$field"/>" value="<inp2:user-profile_Field field="$field"/>"/>
+			<input type="checkbox" id="_cb_<inp2:user-profile_InputName field="$field"/>" <inp2:user-profile_Field field="$field" checked="checked" db="db"/> onchange="update_checkbox(this, document.getElementById('<inp2:user-profile_InputName field="$field"/>'));"/>
+		</td>
+	</tr>
+	<inp2:m_if check="m_ParamEquals" name="is_last" value="0">
+	<tr>
+		<td colspan="3">
+			<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="3" height="1" alt=""/><br /></div>
+		</td>
+	</tr>
+	</inp2:m_if>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="profile_element">
+	<inp2:m_if check="user-profile_Field" name="$field">
+		<inp2:m_inc param="fields_shown" by="1"/>
+		<tr>
+			<td class="field-name"><inp2:m_phrase name="$title"/></td>
+			<td class="field-value"><inp2:user-profile_Field field="$field" profile_field="1"/></td>
+		</tr>
+
+		<inp2:m_if check="user-profile_NotLastField" counter="fields_shown">
+		<tr>
+			<td colspan="3">
+				<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="3" height="1" alt=""/><br /></div>
+			</td>
+		</tr>
+		</inp2:m_if>
+	</inp2:m_if>
+</inp2:m_DefineElement>
\ No newline at end of file
Index: themes/advanced/platform/elements/content_boxes.elm.tpl
===================================================================
--- themes/advanced/platform/elements/content_boxes.elm.tpl	(revision 0)
+++ themes/advanced/platform/elements/content_boxes.elm.tpl	(revision 0)
@@ -0,0 +1,175 @@
+<!--## MAIN CONTENT BOX ELEMENT DESIGN ##-->
+<inp2:m_DefineElement name="content_box">
+	<table class="fullwidth">
+		<tr>
+			<td colspan="3">
+				<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="20" alt=""/><br />
+			</td>
+		</tr>
+		<tr class="movable-header">
+			<td width="13">
+				<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="13" height="1" alt=""/><br />
+			</td>
+			<td class="content-box-header table-border">
+				<div class="content-box-title"><inp2:m_param name="header"/></div>
+			</td>
+			<td width="13">
+				<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="13" height="1" alt=""/><br />
+			</td>
+		</tr>
+		<tr>
+			<td width="13">
+				<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="13" height="1" alt=""/><br />
+			</td>
+			<td class="content-box-content">
+				<inp2:m_param name="content"/>
+			</td>
+			<td width="13">
+				<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="13" height="1" alt=""/><br />
+			</td>
+		</tr>
+	</table>
+</inp2:m_DefineElement>
+<!--## /MAIN CONTENT BOX ELEMENT DESIGN ##-->
+
+<!--## DESIGN OF CONTENT BOX SUB-SECTION ELEMENT##-->
+<inp2:m_DefineElement name="content_box_subsection">
+	<table class="fullwidth">
+		<tr>
+			<td colspan="3">
+				<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="20" alt=""/><br />
+			</td>
+		</tr>
+		<tr class="movable-header">
+			<td width="13">
+				<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="13" height="1" alt=""/><br />
+			</td>
+			<td class="content-box-header table-border">
+				<div class="content-box-title"><inp2:m_param name="subsection_header"/></div>
+			</td>
+			<td width="13">
+				<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="13" height="1" alt=""/><br />
+			</td>
+		</tr>
+		<tr>
+			<td width="13">
+				<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="13" height="1" alt=""/><br />
+			</td>
+			<td class="content-box-content">
+				<inp2:m_param name="content"/>
+			</td>
+			<td width="13">
+				<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="13" height="1" alt=""/><br />
+			</td>
+		</tr>
+	</table>
+</inp2:m_DefineElement>
+<!--## //DESIGN OF CONTENT BOX SUB-SECTION ELEMENT##-->
+
+<!--## CONTENT BOX NO-HEADER ELEMENT DESIGN ##-->
+<inp2:m_DefineElement name="content_box_noheader">
+	<table class="fullwidth">
+		<tr class="movable-header">
+			<td width="13">
+				<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="13" height="1" alt=""/><br />
+			</td>
+			<td class="content-box-content">
+				<inp2:m_param name="content"/>
+			</td>
+			<td width="13">
+				<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="13" height="1" alt=""/><br />
+			</td>
+		</tr>
+	</table>
+</inp2:m_DefineElement>
+<!--## /CONTENT BOX NO-HEADER ELEMENT DESIGN ##-->
+
+<inp2:m_DefineElement name="menu_element" current="" no_editing="1">
+	<inp2:m_if check="m_Param" name="current">
+		<td>
+			<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/menu_active_border.gif" width="1" height="37" alt=""/><br />
+		</td>
+		<td class="menu-top-active-icon top-menu-padding">
+			<a href="<inp2:m_param name="menu_href" no_editing="1"/>"><inp2:m_if check="m_Param" name="menu_icon_src"><img src="<inp2:m_Param name="menu_icon_src"/>"/><inp2:m_else/><inp2:m_param name="menu_icon" no_editing="1"/></inp2:m_if></a>
+		</td>
+		<td class="menu-top-active-text top-menu-padding">
+			<a href="<inp2:m_param name="menu_href" no_editing="1"/>" class="top-menu-link"><inp2:m_param name="menu_title" no_editing="1"/></a>
+		</td>
+		<td>
+			<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/menu_active_border.gif" width="1" height="37" alt=""/><br />
+		</td>
+	<inp2:m_else/>
+		<td>
+			<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="37" alt=""/><br />
+		</td>
+		<td class="menu-top-noactive-icon top-menu-padding">
+			<a href="<inp2:m_param name="menu_href" no_editing="1"/>"><inp2:m_if check="m_Param" name="menu_icon_src"><img src="<inp2:m_Param name="menu_icon_src"/>"/><inp2:m_else/><inp2:m_param name="menu_icon" no_editing="1"/></inp2:m_if></a>
+		</td>
+		<td class="menu-top-noactive-text top-menu-padding">
+			<a href="<inp2:m_param name="menu_href" no_editing="1"/>" class="top-menu-link"><inp2:m_param name="menu_title" no_editing="1"/></a>
+		</td>
+		<td>
+			<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="37" alt=""/><br />
+		</td>
+	</inp2:m_if>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="box_element" no_editing="1" prefix="">
+	<tr>
+		<td>
+			<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/menu-li-2-level.gif" alt="" width="4" height="4" border="0" /><br />
+		</td>
+		<td>
+			<inp2:m_if check="m_Param" name="prefix">
+				<a href="<inp2:{$prefix}_SuggestItemLink template="$template"/>"><inp2:m_Phrase label="$title"/></a>
+			<inp2:m_else/>
+				<a href="<inp2:m_Link template="$template" m_cat_id="0" m_cat_page="1" />"><inp2:m_Phrase label="$title"/></a>
+			</inp2:m_if>
+		</td>
+	</tr>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="review_element">
+	<tr>
+		<td>
+			<strong><inp2:m_Phrase name="lu_fld_ReviewBy"/>:</strong> <inp2:Field name="ReviewedBy"/> [<inp2:Field name="CreatedOn" format="_regional_DateFormat"/>]<br />
+			<strong><inp2:m_Phrase name="lu_fld_ReviewText"/>:</strong> <inp2:Field name="ReviewText"/>
+			<br /><br />
+		</td>
+	</tr>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="rating_element">
+	<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/star<inp2:m_if check="m_Param" name="active">_rate</inp2:m_if>.gif" width="10" height="11" alt=""/>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="category_path_element">
+	<inp2:m_ifnot check="c_HomeCategory" equals_to="$cat_id">
+		<inp2:m_param name="separator"/>
+	</inp2:m_ifnot>
+	<inp2:m_param name="cat_name"/>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="image_element">
+	<img src="<inp2:m_param name="img_path" />" title="<inp2:m_param name="alt" />" alt="<inp2:m_param name="alt" />" <inp2:m_param name="img_size" /> border="0" align="<inp2:m_param name="align"/>" />
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="tab">
+	<td class="<inp2:m_if check="m_IsActive" template="$template">active-tab<inp2:m_else/>inactive-tab</inp2:m_if>">
+		<a href="<inp2:m_Link template="$template" m_cat_id="0" m_cat_page="1"/>"><inp2:m_phrase name="$title"/></a>
+	</td>
+	<td width="8">&nbsp;
+
+	</td>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="file_element">
+	<tr>
+		<td class="file-list-icon">
+			<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/file_icons/<inp2:FileIcon default="icon_file.gif"/>" alt="<inp2:Field name="FileName"/>" border="0" /><br />
+		</td>
+		<td class="file-list-label">
+			<a href="<inp2:DownloadFileLink />"><inp2:Field name="FileName"/></a>
+		</td>
+	<tr>
+</inp2:m_DefineElement>
\ No newline at end of file
Index: themes/advanced/platform/elements/menu_sections.xml.tpl
===================================================================
--- themes/advanced/platform/elements/menu_sections.xml.tpl	(revision 0)
+++ themes/advanced/platform/elements/menu_sections.xml.tpl	(revision 0)
@@ -0,0 +1,19 @@
+<inp2:m_Random result_to_var="rand"/>
+<inp2:m_DefineElement name="top_menu_item" no_editing="1">
+	<item id="menu<inp2:m_Param name="page_id"/>"
+		url="<inp2:m_Link template="$template" m_cat_id="$cat_id" use_section="$use_section" m_cat_page="1"/>"
+		<inp2:m_if check="m_Param" name="menu_icon">
+			ico="['<inp2:m_TemplatesBase/><inp2:m_Param name="menu_icon"/>']"
+		<inp2:m_else/>
+			ico="['<inp2:m_TemplatesBase module="In-Portal"/>img/menu_inedit.gif']"
+		</inp2:m_if>
+		enb="true" title=""
+		subid="subpages<inp2:m_Param name="page_id"/>"
+		suburl="<inp2:m_link __NO_REWRITE__="1" template="platform/elements/menu_subsections.xml"
+		 m_cat_id="$cat_id"
+		 m_cat_page="1"
+		 page_id="$page_id"
+		 level="0" max_level="4"
+		/>" ><![CDATA[<inp2:m_Param name="title"/>]]></item>
+</inp2:m_DefineElement>
+<inp2:st_CachedMenu level="0" category_id="0" render_as="top_menu_item"/>
\ No newline at end of file
Index: themes/advanced/platform/elements/banners/banner_right.elm.tpl
===================================================================
--- themes/advanced/platform/elements/banners/banner_right.elm.tpl	(revision 0)
+++ themes/advanced/platform/elements/banners/banner_right.elm.tpl	(revision 0)
@@ -0,0 +1,14 @@
+<table style="width: 100%;">
+	<tr class="movable-header">
+		<td class="side-box-header">
+			<span class="side-box-title"><inp2:m_Phrase label="lu_title_Advertisements"/></span>
+		</td>
+	</tr>
+	<tr>
+		<td class="content-box-content">
+		<!-- Right side Banner code goes here	-->
+		Right-side Banner
+		<!-- /Right side Banner code goes here	-->
+		</td>
+	</tr>
+</table>
\ No newline at end of file
Index: themes/advanced/platform/elements/banners/banner_top.elm.tpl
===================================================================
--- themes/advanced/platform/elements/banners/banner_top.elm.tpl	(revision 0)
+++ themes/advanced/platform/elements/banners/banner_top.elm.tpl	(revision 0)
@@ -0,0 +1,2 @@
+<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/top_baner_1.gif" width="500" height="70" alt="" /><br />
+<!--## <img src="<inp2:m_TemplatesBase module="In-Portal"/>img/top_baner_1.gif" width="500" height="70" alt="" /><br /> ##-->
\ No newline at end of file
Index: themes/advanced/platform/elements/forms.elm.tpl
===================================================================
--- themes/advanced/platform/elements/forms.elm.tpl	(revision 0)
+++ themes/advanced/platform/elements/forms.elm.tpl	(revision 0)
@@ -0,0 +1,514 @@
+<inp2:m_DefineElement name="error_message">
+	<table class="warning-message fullwidth">
+		<tr>
+			<td width="30">
+				<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/warning_icon.gif" width="21" height="18" alt=""/>
+			</td>
+			<td>
+				<inp2:m_phrase name="lu_Warning"/>
+			</td>
+		</tr>
+	</table>
+	<br />
+	<inp2:m_phrase name="lu_AProblemInForm"/><br />
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="subsection" break="1">
+	<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="3" height="1" alt=""/><br /></div>
+	<div class="sub-section-header"><inp2:m_Phrase label="$title"/></div>
+	<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="3" height="1" alt=""/><br /></div>
+	<inp2:m_if check="m_Param" name="break">
+		<br/>
+	</inp2:m_if>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="inp_edit_buttons" width="default">
+	<tr>
+		<td colspan="2">
+			<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/grey_pix.gif" width="100%" height="1" align="absmiddle" alt="" />
+		</td>
+	</tr>
+	<tr>
+		<td style="width: <inp2:m_if check="m_ParamEquals" name="width" value="default">140<inp2:m_else/><inp2:m_Param name="width"/></inp2:m_if>px">&nbsp;
+		</td>
+		<td>
+			<br />
+			<inp2:m_Param name="content"/>
+			<br /><br />
+		</td>
+	</tr>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="inp_edit_field_separator" no_editing="1" is_last="0">
+	<inp2:m_if check="m_ParamEquals" name="is_last" value="0">
+	<tr>
+		<td colspan="2">
+			<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="3" height="1" alt=""/><br /></div>
+		</td>
+	</tr>
+	</inp2:m_if>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="inp_edit_field_caption" no_editing="1" additional_render_as="" title="">
+	<inp2:m_inc param="tab_index" by="1"/>
+	<td class="field-name" nowrap>
+		<inp2:m_if check="m_Param" name="title">
+			<label for="<inp2:{$prefix}_InputName field='$field'/>">
+				<span <inp2:m_if check="{$prefix}_HasError" field="$field">class="field-required"</inp2:m_if>>
+				<inp2:m_phrase label="$title"/></span><inp2:m_if check="{$prefix}_IsRequired" field="$field"><span class="field-required"> *</span></inp2:m_if>:
+			</label>
+			<inp2:m_if check="m_Param" name="additional_render_as">
+				<inp2:m_RenderElement name="$additional_render_as" pass_params="1"/>
+			</inp2:m_if>
+		<inp2:m_else/>
+			&nbsp;
+		</inp2:m_if>
+	</td>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="inp_label" as_label="" currency="" no_editing="1" is_last="0">
+	<tr class="<inp2:m_odd_even odd="table_color1" even="table_color2"/>">
+		<inp2:m_RenderElement name="inp_edit_field_caption" prefix="$prefix" field="$field" title="$title"/>
+		<td valign="top" class="field-value">
+			<inp2:{$prefix}_Field field="$field" as_label="$as_label" currency="$currency"/>
+		</td>
+	</tr>
+	<inp2:m_RenderElement name="inp_edit_field_separator" is_last="$is_last"/>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="inp_edit_label" as_label="" currency="" no_editing="1" is_last="0">
+	<tr class="<inp2:m_odd_even odd="table_color1" even="table_color2"/>">
+		<inp2:m_RenderElement name="inp_edit_field_caption" prefix="$prefix" field="$field" title="$title"/>
+		<td valign="top" class="field-value">
+			<inp2:{$prefix}_Field field="$field" as_label="$as_label" currency="$currency"/>
+			<input type="hidden" name="<inp2:{$prefix}_InputName field="$field"/>" value="<inp2:{$prefix}_Field field="$field" db="db"/>" />
+		</td>
+	</tr>
+	<inp2:m_RenderElement name="inp_edit_field_separator" is_last="$is_last"/>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="inp_edit_box" style="" maxlength="" no_editing="1" is_last="0" title="">
+	<tr class="<inp2:m_odd_even odd="table_color1" even="table_color2"/>">
+		<inp2:m_RenderElement name="inp_edit_field_caption" prefix="$prefix" field="$field" title="$title"/>
+		<td class="field-value">
+			<inp2:m_if check="{$prefix}_HasError" field="$field">
+				<span class="field-error"><inp2:{$prefix}_Error field="$field"/></span><br />
+			</inp2:m_if>
+			<input type="text" class="input-text" name="<inp2:{$prefix}_InputName field="$field"/>" value="<inp2:{$prefix}_Field field="$field"/>" tabindex="<inp2:m_get param="tab_index"/>" maxlength="<inp2:m_param name="maxlength"/>" style="<inp2:m_param name="style"/>">
+			<inp2:m_if check="m_Param" name="hint_label"><span class="small"><inp2:m_phrase label="$hint_label"/></span></inp2:m_if>
+		</td>
+	</tr>
+	<inp2:m_RenderElement name="inp_edit_field_separator" is_last="$is_last"/>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="ml_input_element">
+	<inp2:Field name="LanguageId" result_to_var="language_id"/>
+
+	<div id="<inp2:{$prefix}_InputName field="l{$language_id}_{$field}"/>_input"<inp2:m_ifnot check="{$prefix}_LanguageVisible" field="l{$language_id}_{$field}"> style="display: none;"</inp2:m_ifnot>>
+		<inp2:m_if check="{$prefix}_HasError" field="l{$language_id}_{$field}">
+			<span class="field-error"><inp2:{$prefix}_Error field="l{$language_id}_{$field}"/></span><br/>
+		</inp2:m_if>
+
+		<div style="float: left; height: 15px; vertical-align: top; width: auto;">
+			<input type="text" class="input-text" name="<inp2:{$prefix}_InputName field='l{$language_id}_{$field}'/>" id="<inp2:{$prefix}_InputName field='l{$language_id}_{$field}'/>" value="<inp2:{$prefix}_Field field='l{$language_id}_{$field}' format='no_default'/>" tabindex="<inp2:m_get param='tab_index'/>" maxlength="<inp2:m_param name='maxlength'/>" style="<inp2:m_param name='style'/>">
+		</div>
+
+		<div style="float: left; margin-left: 3px; height: 15px; vertical-align: top; width: auto;">
+			<inp2:m_if check="Field" name="IconURL">
+				<img src="<inp2:m_TemplatesBase module='In-Portal'/>img/language_icons/<inp2:Field name='IconURL'/>" alt="<inp2:Field name='LocalName' html_escape='1'/>" border="0"/>
+			<inp2:m_else/>
+				<inp2:Field name="LocalName"/>
+			</inp2:m_if>
+		</div>
+	</div>
+	<div style="clear: both;"></div>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="field_language_element">
+	<inp2:Field name="LanguageId" result_to_var="language_id"/>
+	<a href="#" id="<inp2:{$prefix}_InputName field="l{$language_id}_{$field}"/>_flag">
+		<inp2:m_if check="Field" name="IconURL">
+			<inp2:m_if check='SelectedLanguage'>
+				<img src="<inp2:m_TemplatesBase module='In-Portal'/>img/language_icons/<inp2:Field name='IconDisabledURL'/>" alt="<inp2:Field name='LocalName' html_escape='1'/>" border="0"/>
+			<inp2:m_else/>
+				<img src="<inp2:m_TemplatesBase module='In-Portal'/>img/language_icons/<inp2:Field name='IconURL'/>" alt="<inp2:Field name='LocalName' html_escape='1'/>" border="0"/>
+			</inp2:m_if>
+		<inp2:m_else/>
+			<inp2:Field name="LocalName"/>
+		</inp2:m_if>
+	</a>
+	<inp2:m_ifnot check="m_Param" name="is_last"> </inp2:m_ifnot>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="field_languages_element">
+	<inp2:m_ifnot check="{$prefix}_HasLanguageError" field="$field">
+		<br/>
+		<inp2:lang.enabled_PrintList render_as="field_language_element" pass_params="1" strip_nl="2"/>
+	</inp2:m_ifnot>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="inp_edit_box_ml" style="" maxlength="" no_editing="1" is_last="0" title="">
+	<tr class="<inp2:m_odd_even odd="table_color1" even="table_color2"/>">
+		<inp2:m_RenderElement name="inp_edit_field_caption" prefix="$prefix" additional_render_as="field_languages_element" field="$field" title="$title"/>
+		<td class="field-value">
+			<inp2:lang.enabled_PrintList render_as="ml_input_element" pass_params="1"/>
+
+			<inp2:m_if check="m_Param" name="hint_label"><span class="small"><inp2:m_phrase label="$hint_label"/></span></inp2:m_if>
+		</td>
+	</tr>
+	<script type="text/javascript">
+		<inp2:m_Get name="m_lang" result_to_var="current_language"/>
+		aMultiLanguageSelector.registerControl('<inp2:{$prefix}_InputName field="l{$current_language}_{$field}"/>');
+	</script>
+	<inp2:m_RenderElement name="inp_edit_field_separator" is_last="$is_last"/>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="inp_edit_password" style="" no_editing="1" is_last="0">
+	<tr class="<inp2:m_odd_even odd="table_color1" even="table_color2"/>">
+		<inp2:m_RenderElement name="inp_edit_field_caption" prefix="$prefix" field="$field" title="$title"/>
+		<td class="field-value">
+			<inp2:m_if check="{$prefix}_HasError" field="$field">
+				<span class="field-error"><inp2:{$prefix}_Error field="$field"/></span><br />
+			</inp2:m_if>
+			<input type="password" class="input-text" name="<inp2:{$prefix}_InputName field="$field"/>" id="<inp2:{$prefix}_InputName field="$field"/>" value="" tabindex="<inp2:m_get param="tab_index"/>" style="<inp2:m_param name="style"/>" />
+			<inp2:m_if check="m_Param" name="hint_label"><span class="small"><inp2:m_phrase label="$hint_label"/></span></inp2:m_if>
+		</td>
+	</tr>
+	<inp2:m_RenderElement name="inp_edit_field_separator" is_last="$is_last"/>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="inp_edit_upload" style="" no_editing="1" is_last="0">
+	<tr class="<inp2:m_odd_even odd="table_color1" even="table_color2"/>">
+		<inp2:m_RenderElement name="inp_edit_field_caption" prefix="$prefix" field="$field" title="$title"/>
+		<td class="field-value">
+			<inp2:m_if check="{$prefix}_HasError" field="$field">
+				<span class="field-error"><inp2:{$prefix}_Error field="$field"/></span><br />
+			</inp2:m_if>
+			<input type="file" name="<inp2:{$prefix}_InputName field="$field"/>" tabindex="<inp2:m_get param="tab_index"/>" style="<inp2:m_param name="style"/>">
+			<inp2:m_if check="{$prefix}_FieldEquals" name="$field" value="" inverse="inverse">
+				(<inp2:{$prefix}_Field field="$field"/>)
+			</inp2:m_if>
+			<input type="hidden" name="<inp2:{$prefix}_InputName field="$field"/>[upload]" value="<inp2:{$prefix}_Field field="$field"/>" />
+		</td>
+	</tr>
+	<inp2:m_RenderElement name="inp_edit_field_separator" is_last="$is_last"/>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="inp_edit_image_upload" style="" no_editing="1" is_last="0">
+	<tr class="<inp2:m_odd_even odd="table_color1" even="table_color2"/>">
+		<inp2:m_RenderElement name="inp_edit_field_caption" prefix="$prefix" field="$field" title="$title"/>
+		<td class="field-value">
+			<inp2:m_if check="{$prefix}_HasError" field="$field">
+				<span class="field-error"><inp2:{$prefix}_Error field="$field"/></span><br />
+			</inp2:m_if>
+			<inp2:m_if check="{$prefix}_Field" name="$field">
+				<a href="<inp2:{$prefix}_ImageSrc field="$field" MaxWidth="fullsize"/>" target="_blank">
+					<inp2:{$prefix}_Image field="$field" render_as="image_element" DefaultImage="platform/img/no_picture.gif" MaxWidth="thumbnail" align="absmiddle"/>
+				</a>
+				<br />
+				<table cellpadding="0" cellspacing="0" style="margin-top: 3px; margin-bottom: 3px;">
+					<tr>
+						<td>
+							<input type="hidden" id="<inp2:{$prefix}_InputName field="Delete{$field}"/>" name="<inp2:{$prefix}_InputName field="Delete{$field}"/>" value="0" />
+							<input type="checkbox" id="_cb_<inp2:{$prefix}_InputName field="Delete{$field}"/>" onchange="update_checkbox(this, document.getElementById('<inp2:{$prefix}_InputName field="Delete{$field}"/>'));">
+						</td>
+						<td style="padding-left: 3px;">
+							<label for="_cb_<inp2:{$prefix}_InputName field="Delete{$field}"/>"><inp2:m_phrase name="lu_btn_DeleteImage"/></label>
+						</td>
+					</tr>
+				</table>
+			</inp2:m_if>
+			<input type="file" name="<inp2:{$prefix}_InputName field="$field"/>" tabindex="<inp2:m_get param="tab_index"/>" style="<inp2:m_param name="style"/>">
+			<input type="hidden" name="<inp2:{$prefix}_InputName field="$field"/>[upload]" value="<inp2:{$prefix}_Field field="$field"/>" /><br />
+			<input type="text" name="<inp2:{$prefix}_InputName field="{$field}Alt"/>" value="<inp2:{$prefix}_Field field='{$field}Alt'/>" style="<inp2:m_param name="style"/>">
+		</td>
+	</tr>
+	<inp2:m_RenderElement name="inp_edit_field_separator" is_last="$is_last"/>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="inp_edit_file_upload" style="" no_editing="1" is_last="0">
+	<tr class="<inp2:m_odd_even odd="table_color1" even="table_color2"/>">
+		<inp2:m_RenderElement name="inp_edit_field_caption" prefix="$prefix" field="$field" title="$title"/>
+		<td class="field-value">
+			<inp2:m_if check="{$prefix}_HasError" field="$field">
+				<span class="field-error"><inp2:{$prefix}_Error field="$field"/></span><br />
+			</inp2:m_if>
+			<inp2:m_if check="{$prefix}_Field" name="$field">
+				<a href="<inp2:{$prefix}_DownloadFileLink field="$field"/>">
+					<inp2:{$prefix}_Field name="$field"/>
+				</a>
+				<br />
+				<table cellpadding="0" cellspacing="0">
+					<tr>
+						<td>
+							<input type="hidden" id="<inp2:{$prefix}_InputName field="Delete{$field}"/>" name="<inp2:{$prefix}_InputName field="Delete{$field}"/>" value="0" />
+							<input type="checkbox" id="_cb_<inp2:{$prefix}_InputName field="Delete{$field}"/>" onchange="update_checkbox(this, document.getElementById('<inp2:{$prefix}_InputName field="Delete{$field}"/>'));">
+						</td>
+						<td>
+							<label for="_cb_<inp2:{$prefix}_InputName field="Delete{$field}"/>"><inp2:m_phrase name="lu_btn_DeleteFile"/></label>
+						</td>
+					</tr>
+				</table>
+			</inp2:m_if>
+			<input type="file" name="<inp2:{$prefix}_InputName field="$field"/>" tabindex="<inp2:m_get param="tab_index"/>" style="<inp2:m_param name="style"/>">
+			<input type="hidden" name="<inp2:{$prefix}_InputName field="$field"/>[upload]" value="<inp2:{$prefix}_Field field="$field"/>" />
+		</td>
+	</tr>
+	<inp2:m_RenderElement name="inp_edit_field_separator" is_last="$is_last"/>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="inp_edit_hidden" db="">
+	<input type="hidden" name="<inp2:{$prefix}_InputName field="$field"/>" id="<inp2:{$prefix}_InputName field="$field"/>" value="<inp2:{$prefix}_Field field="$field" db="$db"/>" />
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="inp_edit_date" style="" no_editing="1" is_last="0">
+	<tr class="<inp2:m_odd_even odd="table_color1" even="table_color2"/>">
+		<inp2:m_RenderElement name="inp_edit_field_caption" prefix="$prefix" field="$field" title="$title"/>
+		<td class="field-value">
+			<inp2:m_if check="{$prefix}_HasError" field="$field">
+				<span class="field-error"><inp2:{$prefix}_Error field="{$field}_date"/></span><br />
+			</inp2:m_if>
+			<input type="text" class="input-text" name="<inp2:{$prefix}_InputName field="{$field}_date"/>" id="<inp2:{$prefix}_InputName field="{$field}_date"/>" value="<inp2:{$prefix}_Field field="{$field}_date" format="_regional_InputDateFormat"/>" tabindex="<inp2:m_get param="tab_index"/>" size="<inp2:{$prefix}_Format field="{$field}_date" input_format="1" edit_size="edit_size"/>" style="<inp2:m_param name="style"/>" datepickerIcon="<inp2:m_TemplatesBase module="In-Portal"/>img/calendar_icon.gif">&nbsp;<span class="small">(<inp2:{$prefix}_Format field="{$field}_date" input_format="1" human="true"/>)</span>
+			<script type="text/javascript">
+			initCalendar("<inp2:{$prefix}_InputName field="{$field}_date"/>", "<inp2:{$prefix}_Format field="{$field}_date" input_format="1"/>");
+			</script>
+			<input type="hidden" name="<inp2:{$prefix}_InputName field="{$field}_time"/>" id="<inp2:{$prefix}_InputName field="{$field}_time" input_format="1"/>" value="" />
+		</td>
+	</tr>
+	<inp2:m_RenderElement name="inp_edit_field_separator" is_last="$is_last"/>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="inp_edit_time" style="" no_editing="1" is_last="0">
+	<tr class="<inp2:m_odd_even odd="table-color1" even="table-color2"/>">
+		<inp2:m_RenderElement name="inp_edit_field_caption" prefix="$prefix" field="$field" title="$title"/>
+		<td class="field-value">
+			<inp2:m_if check="{$prefix}_HasError" field="$field">
+				<span class="field-error"><inp2:{$prefix}_Error field="$field"/></span><br />
+			</inp2:m_if>
+			<input type="text" name="<inp2:{$prefix}_InputName field="{$field}_time"/>" id="<inp2:{$prefix}_InputName field="{$field}_time"/>" value="<inp2:{$prefix}_Field field="{$field}_time" format="_regional_InputTimeFormat"/>" tabindex="<inp2:m_get param="tab_index"/>" size="<inp2:{$prefix}_Format field="{$field}_time" input_format="1" edit_size="edit_size"/>" style="<inp2:m_param name="style"/>">&nbsp;
+			<span class="small">(<inp2:{$prefix}_Format field="{$field}_time" input_format="1" human="true"/>)</span>
+
+			<input type="hidden" name="<inp2:{$prefix}_InputName field="{$field}_date"/>" id="<inp2:{$prefix}_InputName field="{$field}_date" input_format="1"/>" value="" />
+		</td>
+	</tr>
+	<inp2:m_RenderElement name="inp_edit_field_separator" is_last="$is_last"/>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="inp_edit_date_time" style="" no_editing="1" is_last="0">
+	<tr class="<inp2:m_odd_even odd="table_color1" even="table_color2"/>">
+		<inp2:m_RenderElement name="inp_edit_field_caption" prefix="$prefix" field="$field" title="$title"/>
+		<td class="field-value">
+			<inp2:m_if check="{$prefix}_HasError" field="$field">
+				<span class="field-error"><inp2:{$prefix}_Error field="$field"/></span><br />
+			</inp2:m_if>
+			<input type="text" name="<inp2:{$prefix}_InputName field="{$field}_date"/>" id="<inp2:{$prefix}_InputName field="{$field}_date"/>" value="<inp2:{$prefix}_Field field="{$field}_date" format="_regional_InputDateFormat"/>" tabindex="<inp2:m_get param="tab_index"/>" size="<inp2:{$prefix}_Format field="{$field}_date" input_format="1" edit_size="edit_size"/>" style="<inp2:m_param name="style"/>" datepickerIcon="<inp2:m_ProjectBase/>core/admin_templates/img/calendar_icon.gif">
+				<span class="small">(<inp2:{$prefix}_Format field="{$field}_date" input_format="1" human="true"/>)</span>
+			<script type="text/javascript">
+			initCalendar("<inp2:{$prefix}_InputName field="{$field}_date"/>", "<inp2:{$prefix}_Format field="{$field}_date" input_format="1"/>");
+			</script>
+			&nbsp;<input type="text" name="<inp2:{$prefix}_InputName field="{$field}_time"/>" id="<inp2:{$prefix}_InputName field="{$field}_time"/>" value="<inp2:{$prefix}_Field field="{$field}_time" format="_regional_InputTimeFormat"/>" tabindex="<inp2:m_get param="tab_index"/>" size="<inp2:{$prefix}_Format field="{$field}_time" input_format="1" edit_size="edit_size"/>" style="<inp2:m_param name="style"/>"><span class="small"> (<inp2:{$prefix}_Format field="{$field}_time" input_format="1" human="true"/>)</span>
+		</td>
+	</tr>
+	<inp2:m_RenderElement name="inp_edit_field_separator" is_last="$is_last"/>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="inp_edit_textarea" style="" no_editing="1" is_last="0">
+	<tr class="<inp2:m_odd_even odd="table_color1" even="table_color2"/>">
+		<inp2:m_RenderElement name="inp_edit_field_caption" prefix="$prefix" field="$field" title="$title"/>
+		<td class="field-value">
+			<inp2:m_if check="{$prefix}_HasError" field="$field">
+				<span class="field-error"><inp2:{$prefix}_Error field="$field"/></span><br />
+			</inp2:m_if>
+			<textarea class="input-textarea" tabindex="<inp2:m_get param="tab_index"/>" name="<inp2:{$prefix}_InputName field="$field"/>" cols="<inp2:m_param name="cols"/>" rows="<inp2:m_param name="rows"/>" style="<inp2:m_param name="style"/>"><inp2:{$prefix}_Field field="$field"/></textarea>
+		</td>
+	</tr>
+	<inp2:m_RenderElement name="inp_edit_field_separator" is_last="$is_last"/>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="ml_textarea_element">
+	<inp2:Field name="LanguageId" result_to_var="language_id"/>
+
+	<div id="<inp2:{$prefix}_InputName field="l{$language_id}_{$field}"/>_input"<inp2:m_ifnot check="{$prefix}_LanguageVisible" field="l{$language_id}_{$field}"> style="display: none;"</inp2:m_ifnot>>
+		<inp2:m_if check="{$prefix}_HasError" field="l{$language_id}_{$field}">
+			<span class="field-error"><inp2:{$prefix}_Error field="l{$language_id}_{$field}"/></span><br/>
+		</inp2:m_if>
+
+		<div style="float: left; vertical-align: top; width: auto;">
+			<textarea class="input-textarea" tabindex="<inp2:m_get param='tab_index'/>" name="<inp2:{$prefix}_InputName field='l{$language_id}_{$field}'/>" id="<inp2:{$prefix}_InputName field='l{$language_id}_{$field}'/>" cols="<inp2:m_param name='cols'/>" rows="<inp2:m_param name='rows'/>" style="<inp2:m_param name='style'/>"><inp2:{$prefix}_Field field="l{$language_id}_{$field}" format="no_default"/></textarea>
+		</div>
+
+		<div style="float: left; margin-left: 3px; vertical-align: top; width: auto;">
+			<inp2:m_if check="Field" name="IconURL">
+				<img src="<inp2:m_TemplatesBase module='In-Portal'/>img/language_icons/<inp2:Field name='IconURL'/>" alt="<inp2:Field name='LocalName' html_escape='1'/>" border="0"/>
+			<inp2:m_else/>
+				<inp2:Field name="LocalName"/>
+			</inp2:m_if>
+		</div>
+	</div>
+	<div style="clear: both;"></div>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="inp_edit_textarea_ml" style="" maxlength="" no_editing="1" is_last="0" title="">
+	<tr class="<inp2:m_odd_even odd="table_color1" even="table_color2"/>">
+		<inp2:m_RenderElement name="inp_edit_field_caption" prefix="$prefix" additional_render_as="field_languages_element" field="$field" title="$title"/>
+		<td class="field-value">
+			<inp2:lang.enabled_PrintList render_as="ml_textarea_element" pass_params="1"/>
+
+			<inp2:m_if check="m_Param" name="hint_label"><span class="small"><inp2:m_phrase label="$hint_label"/></span></inp2:m_if>
+		</td>
+	</tr>
+	<script type="text/javascript">
+		<inp2:m_Get name="m_lang" result_to_var="current_language"/>
+		aMultiLanguageSelector.registerControl('<inp2:{$prefix}_InputName field="l{$current_language}_{$field}"/>');
+	</script>
+	<inp2:m_RenderElement name="inp_edit_field_separator" is_last="$is_last"/>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="inp_option_item">
+	<option value="<inp2:m_param name="key"/>"<inp2:m_param name="selected"/>><inp2:m_param name="option"/></option>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="inp_option_phrase">
+	<option value="<inp2:m_param name="key"/>"<inp2:m_param name="selected"/>><inp2:m_phrase label="$option"/></option>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="inp_edit_options" style="" has_empty="0" empty_value="" no_editing="1" is_last="0">
+	<tr class="<inp2:m_odd_even odd="table_color1" even="table_color2"/>">
+		<inp2:m_RenderElement name="inp_edit_field_caption" prefix="$prefix" field="$field" title="$title"/>
+		<td class="field-value">
+			<inp2:m_if check="{$prefix}_HasError" field="$field">
+				<span class="field-error"><inp2:{$prefix}_Error field="$field"/></span><br />
+			</inp2:m_if>
+			<select class="input-select" tabindex="<inp2:m_get param="tab_index"/>" name="<inp2:{$prefix}_InputName field="$field"/>" style="<inp2:m_param name="style"/>">
+				<inp2:m_if check="m_ParamEquals" name="use_phrases" value="1" >
+					<inp2:{$prefix}_PredefinedOptions field="$field" block="inp_option_phrase" selected="selected" has_empty="$has_empty" empty_value="$empty_value"/>
+				<inp2:m_else/>
+					<inp2:{$prefix}_PredefinedOptions field="$field" block="inp_option_item" selected="selected" has_empty="$has_empty" empty_value="$empty_value"/>
+				</inp2:m_if>
+			</select>
+		</td>
+	</tr>
+	<inp2:m_RenderElement name="inp_edit_field_separator" is_last="$is_last"/>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="inp_radio_item" onclick="">
+	<input type="radio" tabindex="<inp2:m_get param="tab_index"/>" style="<inp2:m_param name="style"/>" <inp2:m_param name="checked"/> name="<inp2:{$prefix}_InputName field="$field"/>" id="<inp2:{$prefix}_InputName field="$field"/>_<inp2:m_param name="key"/>" value="<inp2:m_param name="key"/>"><label for="<inp2:{$prefix}_InputName field="$field"/>_<inp2:m_param name="key"/>"><inp2:m_param name="option"/></label>&nbsp;
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="inp_radio_phrase" onclick="">
+	<input type="radio" tabindex="<inp2:m_get param="tab_index"/>" style="<inp2:m_param name="style"/>" <inp2:m_param name="checked"/> name="<inp2:{$prefix}_InputName field="$field"/>" id="<inp2:{$prefix}_InputName field="$field"/>_<inp2:m_param name="key"/>" value="<inp2:m_param name="key"/>"><label for="<inp2:{$prefix}_InputName field="$field"/>_<inp2:m_param name="key"/>"><inp2:m_phrase label="$option"/></label>&nbsp;
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="inp_edit_radio" style="" pass_tabindex="" onclick="" onchange="" use_phrases="1" no_editing="1" is_last="0">
+	<tr class="<inp2:m_odd_even odd="table_color1" even="table_color2"/>">
+		<inp2:m_RenderElement name="inp_edit_field_caption" prefix="$prefix" field="$field" title="$title"/>
+		<td class="field-value">
+			<inp2:m_if check="{$prefix}_HasError" field="$field">
+				<span class="field-error"><inp2:{$prefix}_Error field="$field"/></span><br />
+			</inp2:m_if>
+			<inp2:m_if check="m_ParamEquals" name="use_phrases" value="1">
+				<inp2:{$prefix}_PredefinedOptions field="$field" block="inp_radio_phrase" selected="checked"/>
+			<inp2:m_else />
+				<inp2:{$prefix}_PredefinedOptions field="$field" block="inp_radio_item" selected="checked"/>
+			</inp2:m_if>
+		</td>
+	</tr>
+	<inp2:m_RenderElement name="inp_edit_field_separator" is_last="$is_last"/>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="inp_edit_captcha" style="" title="lu_fld_Captcha" no_editing="1" is_last="0">
+	<tr class="<inp2:m_odd_even odd="table_color1" even="table_color2"/>">
+		<inp2:m_RenderElement name="inp_edit_field_caption" prefix="$prefix" field="Captcha" title="$title"/>
+		<td class="field-value">
+			<inp2:m_if check="{$prefix}_HasError" field="Captcha">
+				<span class="field-error"><inp2:{$prefix}_Error field="Captcha"/></span><br />
+			</inp2:m_if>
+			<img src="<inp2:m_Link template="platform/inc/captcha_image.elm" var="{$prefix}_captcha_code" w="150" h="30"/>" alt="<inp2:m_Phrase name="$title" no_editing="1"/>"/><br />
+			<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="5" alt=""/><br />
+			<input type="text" class="input-text" name="<inp2:{$prefix}_InputName field="Captcha"/>" value="<inp2:{$prefix}_Field field="Captcha"/>" tabindex="<inp2:m_get param="tab_index"/>" style="<inp2:m_Param name="style"/>">
+		</td>
+	</tr>
+	<inp2:m_RenderElement name="inp_edit_field_separator" is_last="$is_last"/>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="inp_edit_checkbox" style="" no_editing="1" is_last="0">
+	<tr class="<inp2:m_odd_even odd="table_color1" even="table_color2"/>">
+		<inp2:m_RenderElement name="inp_edit_field_caption" prefix="$prefix" field="$field" title="$title"/>
+		<td>
+			<inp2:m_if check="{$prefix}_HasError" field="$field">
+				<span class="field-error"><inp2:{$prefix}_Error field="$field"/></span><br />
+			</inp2:m_if>
+			<input type="hidden" id="<inp2:{$prefix}_InputName field="$field"/>" name="<inp2:{$prefix}_InputName field="$field"/>" value="<inp2:{$prefix}_Field field="$field" db="db"/>" />
+			<input tabindex="<inp2:m_get param="tab_index"/>" type="checkbox" id="_cb_<inp2:{$prefix}_InputName field="$field"/>" name="_cb_<inp2:{$prefix}_InputName field="$field"/>" <inp2:{$prefix}_Field field="$field" checked="checked" db="db"/> style="<inp2:m_param name="style"/>" onchange="update_checkbox(this, document.getElementById('<inp2:{$prefix}_InputName field="$field"/>'));">
+			<inp2:m_if check="m_Param" name="hint_label"><inp2:m_phrase label="$hint_label"/></inp2:m_if>
+		</td>
+	</tr>
+	<inp2:m_RenderElement name="inp_edit_field_separator" is_last="$is_last"/>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="inp_edit_categories" style="" no_editing="1" is_last="0">
+	<inp2:m_include template="platform/elements/categories.elm"/>
+
+	<tr class="<inp2:m_odd_even odd="table_color1" even="table_color2"/>">
+		<inp2:m_RenderElement name="inp_edit_field_caption" prefix="$prefix" field="$field" title="$title"/>
+		<td class="field-value">
+
+			<inp2:m_if check="{$prefix}_HasError" field="$field">
+				<span class="field-error"><inp2:{$prefix}_Error field="$field"/></span><br />
+			</inp2:m_if>
+
+			<select class="input-select" tabindex="<inp2:m_get param="tab_index"/>" id="<inp2:{$prefix}_InputName field="$field"/>_select" style="<inp2:m_param name="style"/>">
+				<option value="0"><inp2:m_Phrase name="lu_opt_SelectCategory"/></option>
+				<inp2:{$prefix}_CategorySelector render_as="selector_category_element" separator="&raquo;&nbsp;"/>
+			</select>
+
+			<input type="button" class="button" value="<inp2:m_Phrase label="lu_Add" no_editing="1"/>" onclick="$ItemCategories.AddCategory('&raquo;&amp;nbsp;', $delete_button, <inp2:m_GetConfig name="{$prefix}_MaxCategories"/>);"/><br />
+
+			<br />
+			<table class="item-categories" id="item_categories">
+				<tbody>
+
+					<tr>
+						<td colspan="2">
+							<strong><inp2:m_Phrase name="lu_subsection_Categories"/>:</strong>
+						</td>
+					</tr>
+
+					<inp2:{$prefix}_PrintMoreCategories render_as="more_category_element" field="$field"/>
+				</tbody>
+			</table>
+			<br/>
+
+			<inp2:m_RenderElement name="inp_edit_hidden" prefix="$prefix" field="$field"/>
+
+			<script type="text/javascript">
+				var $delete_button = '&nbsp;&nbsp;<input type="button" class="delete-button" value="<inp2:m_Phrase label="lu_btn_Delete" no_editing="1"/>" onclick="$ItemCategories.DeleteCategory(#CATEGORY_ID#);"/>';
+				var $phrases = ['<inp2:m_Phrase name="lu_error_CategoryLimitReached" escape="1"/>', '<inp2:m_Phrase name="lu_error_AlreadyAdded"/>'];
+				var $ItemCategories = new ItemCategories('item_categories', '<inp2:{$prefix}_InputName field="$field"/>', <inp2:m_Get name="m_cat_id"/>, $phrases);
+			</script>
+		</td>
+	</tr>
+	<inp2:m_RenderElement name="inp_edit_field_separator" is_last="$is_last"/>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="primary_category">
+	<inp2:m_param name="separator"/> <inp2:m_param name="title"/>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="primary_root_category">
+	<inp2:m_RootCategoryName/>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="inp_pr_category_label" no_editing="1" is_last="0" editing="0">
+	<tr class="<inp2:m_odd_even odd="table_color1" even="table_color2"/>">
+		<inp2:m_RenderElement name="inp_edit_field_caption" prefix="$prefix" field="$field" title="$title"/>
+		<td valign="top" class="field-value">
+		<inp2:m_if check="m_Param" name="editing">
+			<inp2:{$prefix}_CategoryName />
+		<inp2:m_else />
+			<inp2:c_CategoryPath separator="&gt;" render_as="primary_category" root_cat_render_as="primary_root_category" titles="$titles" />
+		</inp2:m_if>
+		</td>
+	</tr>
+	<inp2:m_RenderElement name="inp_edit_field_separator" is_last="$is_last"/>
+</inp2:m_DefineElement>
\ No newline at end of file
Index: themes/advanced/platform/elements/html_head.elm.tpl
===================================================================
--- themes/advanced/platform/elements/html_head.elm.tpl	(revision 0)
+++ themes/advanced/platform/elements/html_head.elm.tpl	(revision 0)
@@ -0,0 +1,37 @@
+
+<!--## Meta Info (Keywords and Description) ##-->
+<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 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_ifnot>
+
+<link rel="stylesheet" rev="stylesheet" href="<inp2:m_TemplatesBase module='In-Portal'/>inc/styles.css" type="text/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>
+
+<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_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#"/>');
+
+	<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"/>);
+</script>
Index: themes/advanced/platform/elements/categories.elm.tpl
===================================================================
--- themes/advanced/platform/elements/categories.elm.tpl	(revision 0)
+++ themes/advanced/platform/elements/categories.elm.tpl	(revision 0)
@@ -0,0 +1,106 @@
+<!--## CATEGORY ELEMENT ##-->
+<inp2:m_DefineElement name="category_element">
+	<td style="width: <inp2:ColumnWidth/>">
+
+		<table>
+			<tr>
+				<td class="directory-icon">
+					<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/directory_icon.gif" width="22" height="17" alt="" /><br />
+				</td>
+				<td class="directory-text">
+					<inp2:m_if check="IsCurrent">
+						<strong><inp2:Field name="Name"/></strong> (<inp2:m_phrase name="lu_SubCats"/>: <inp2:SubCatCount/>)
+					<inp2:m_else/>
+						<!--## CHECK IF CATEGORY IS SYM. LINK POINTING TO OTHER CATEGORY ##-->
+						<inp2:m_if check="IsCategorySymLink">
+							<a href="<inp2:CategoryLink template="__default__" m_cat_page="1"/>" class="text-title"><i><inp2:Field name="Name"/> @</i></a> <span class="item-statistics">(<!--## <inp2:m_phrase name="lu_SubCats"/>: ##--><inp2:SubCatCount/> / <inp2:ItemCount/>)</span>
+						<inp2:m_else/>
+							<a href="<inp2:CategoryLink template="__default__" m_cat_page="1"/>" class="text-title"><inp2:Field name="Name"/></a> <span class="item-statistics">(<!--## <inp2:m_phrase name="lu_SubCats"/>: ##--><inp2:SubCatCount/> / <inp2:ItemCount/>)</span>
+						</inp2:m_if>
+						<!--## /CHECK IF CATEGORY IS SYM. LINK POINTING TO OTHER CATEGORY ##-->
+					</inp2:m_if>
+
+					<inp2:m_if check="Field" name="IsNew"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_new.gif" alt="<inp2:m_Phrase name="lu_New" no_editing="1"/>"/></inp2:m_if>
+					<inp2:m_if check="IsEditorsPick"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_pick.gif" alt="<inp2:m_Phrase name="lu_Pick" no_editing="1"/>"/></inp2:m_if>
+
+					<br />
+					<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="4" alt="" /><br />
+
+					<inp2:Field name="Description" first_chars="200"/>
+
+					<inp2:m_if check="m_Param" name="show_relevance">
+						<br/>
+
+						<inp2:m_if check="Field" name="Description"><br/></inp2:m_if>
+						<inp2:RelevanceIndicator on_color="Red" off_color="White" relevance_normal_render_as="search_relevance_normal" relevance_full_render_as="search_relevance_full" />
+					</inp2:m_if>
+				</td>
+			</tr>
+		</table>
+
+	</td>
+</inp2:m_DefineElement>
+<!--## /CATEGORY ELEMENT ##-->
+
+<!--## NO CATEGORIES ELEMENT ##-->
+<inp2:m_DefineElement name="no_categories">
+	<inp2:m_phrase name="lu_NoCategories"/>
+</inp2:m_DefineElement>
+<!--## /NO CATEGORIES ELEMENT ##-->
+
+<!--## NO CATEGORIES ELEMENT ##-->
+<inp2:m_DefineElement name="related_category_element">
+	<!--## CHECK IF CATEGORY IS SYM. LINK POINTING TO OTHER CATEGORY ##-->
+	<li>
+	<inp2:m_if check="IsCategorySymLink">
+		<a href="<inp2:CategoryLink template="__default__" m_cat_page="1"/>" class="text-title"><i><inp2:Field name="Name"/> @</i></a>
+	<inp2:m_else/>
+		<a href="<inp2:CategoryLink template="__default__" m_cat_page="1"/>" class="text-title"><inp2:Field name="Name"/></a>
+	</inp2:m_if>
+	</li>
+	<!--## /CHECK IF CATEGORY IS SYM. LINK POINTING TO OTHER CATEGORY ##-->
+</inp2:m_DefineElement>
+<!--## /NO CATEGORIES ELEMENT ##-->
+
+<inp2:m_DefineElement name="selector_category_element">
+	<option value="<inp2:m_Param name="category_id"/>">
+		<inp2:m_Param name="separator"/><inp2:m_Param name="category_name"/>
+	</option>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="more_category_element">
+	<tr id="category_<inp2:m_Param name="category_id"/>">
+		<td>
+			<inp2:m_Param name="category_name"/>
+		</td>
+		<td>
+			<input type="button" class="delete-button" value="<inp2:m_Phrase label="lu_btn_Delete" no_editing="1"/>" onclick="$ItemCategories.DeleteCategory(<inp2:m_Param name="category_id"/>);"/>
+		</td>
+	</tr>
+</inp2:m_DefineElement>
+
+
+<!--## SITEMAP ELEMENTS ##-->
+<inp2:m_DefineElement name="more_link_elem">
+	<li>
+		<a href="<inp2:c_CategoryLink template='__default__' m_cat_page='1'/>" class="sub-category"><inp2:m_Phrase label="lu_more"/>...</a>
+	</li>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="sitemap_category_element" level_var="sitemap_level" max_levels="0">
+	<li>
+		<a href="<inp2:CategoryLink template='__default__' m_cat_page='1'/>" class="sub-category"><inp2:Field name="Name" html_escape="1"/></a>
+
+		<inp2:m_ifnot check="m_Get" name="$level_var" equals_to="$max_levels">
+			<inp2:InitList requery="1" per_page="50"/>
+
+			<inp2:m_if check="TotalRecords">
+				<ul>
+					<inp2:m_Inc param="$level_var" by="1"/>
+					<inp2:PrintList render_as="sitemap_category_element" max_levels="$max_levels" more_link_render_as="more_link_elem"/>
+				</ul>
+			</inp2:m_if>
+		</inp2:m_ifnot>
+	</li>
+</inp2:m_DefineElement>
+<!--## //SITEMAP ELEMENTS ##-->
Index: themes/advanced/platform/elements/footer.elm.tpl
===================================================================
--- themes/advanced/platform/elements/footer.elm.tpl	(revision 0)
+++ themes/advanced/platform/elements/footer.elm.tpl	(revision 0)
@@ -0,0 +1,15 @@
+
+
+	<table class="fullwidth footer-table">
+		<tr>
+			<td>
+				Powered by In-portal &#174; 1997-<inp2:lang.current_CurrentDate format="Y"/>, <a href="http://www.intechnic.com" target="_blank">Intechnic Corporation</a>. <inp2:m_Phrase label="lu_AllRightsReserved"/>
+			</td>
+		</tr>
+	</table>
+
+	<div class="footer-links">
+		<a href="<inp2:m_Link template='platform/sitemap' use_section='1'/>"><inp2:m_Phrase label="lu_SiteMap"/></a> | <a href="<inp2:m_Link template='platform/terms' use_section='1'/>"><inp2:m_Phrase label="lu_TermAndCondition"/></a> | <a href="<inp2:m_Link template='platform/privacy' use_section='1'/>"><inp2:m_Phrase label="lu_PrivacyPolicy"/></a>
+	</div>
+
+	<inp2:m_RegisterPageHit/>
\ No newline at end of file
Index: themes/advanced/platform/elements/side_boxes/login.elm.tpl
===================================================================
--- themes/advanced/platform/elements/side_boxes/login.elm.tpl	(revision 0)
+++ themes/advanced/platform/elements/side_boxes/login.elm.tpl	(revision 0)
@@ -0,0 +1,125 @@
+<!-- LOGIN BOX TITLE -->
+<inp2:m_Capture to_var="header">
+	<table class="fullwidth">
+		<tr>
+			<td class="side-box-title" align="left">
+				<inp2:m_phrase name="lu_title_LoginBox"/>
+			</td>
+			<td align="right" class="login-status">
+
+				<!-- IF LOGGED IN SHOW NAME -->
+				<inp2:m_if check="m_LoggedIn">
+					<a href="<inp2:m_Link template="platform/my_account/my_profile" m_cat_id="0" m_cat_page="1"/>"><inp2:u_Field name="FirstName"/> <inp2:u_Field name="LastName"/></a><br />
+				<!-- /IF LOGGED IN SHOW NAME -->
+				<inp2:m_else/>
+
+					<table>
+						<tr>
+							<td width="11">
+								<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/not_logged.gif" alt="" width="11" height="11" border="0" /><br />
+							</td>
+							<td class="login-status">
+								&nbsp;<inp2:m_Phrase label="lu_NotLoggedIn"/>
+							</td>
+						</tr>
+					</table>
+				</inp2:m_if>
+			</td>
+		</tr>
+	</table>
+</inp2:m_Capture>
+<!-- /LOGIN BOX TITLE -->
+
+<!-- IF LOGGED! -->
+<inp2:m_if check="m_LoggedIn">
+	<table width="100%" style="border-width: 0px;">
+		<tr>
+			<td colspan="2"><strong><inp2:m_phrase name="lu_section_MyAccount"/></strong></td>
+		</tr>
+
+		<!-- SHOW MY PROFILE -->
+		<inp2:m_RenderElement name="box_element" template="platform/my_account/my_profile" title="lu_MyProfile"/>
+		<!-- /SHOW MY PROFILE -->
+
+		<!-- SHOW MY FAVORITES -->
+		<inp2:m_RenderElement name="box_element" template="platform/my_account/my_favorites" title="lu_MyFavorites"/>
+		<!-- /SHOW MY FAVORITES -->
+
+		<!-- SHOW MY PREFERENCES -->
+		<inp2:m_RenderElement name="box_element" template="platform/my_account/my_preferences" title="lu_MyPreferences"/>
+		<!-- /SHOW MY PREFERENCES -->
+
+		<!-- INCLUDE "themes/default2007/[MODULE_NAME]/my_account/my_items.elm.tpl" FOR EACH INSTALLED MODULE -->
+		<inp2:m_ModuleInclude template="my_account/my_items.elm" place="sidebox" section="1"/>
+		<!-- /INCLUDE "themes/[MODULE_NAME]/my_account/my_items.elm.tpl" FOR EACH INSTALLED MODULE -->
+
+		<tr>
+			<td>
+				<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/menu-li-2-level.gif" alt="" width="4" height="4" border="0" /><br />
+			</td>
+			<td>
+				<a href="<inp2:u_LogoutLink template="index" />"><inp2:m_Phrase label="lu_logout"/></a>
+			</td>
+		</tr>
+
+		<tr>
+			<td colspan="2">
+		<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" alt="" width="1" height="7" border="0" /><br />
+			</td>
+		</tr>
+
+		<tr>
+			<td colspan="2">
+				<strong><inp2:m_phrase name="lu_section_MyItems"/></strong>
+			</td>
+		</tr>
+
+		<inp2:m_ModuleInclude template="my_account/my_items.elm" place="sidebox" section="2"/>
+	</table>
+
+<!-- /IF LOGGED -->
+<inp2:m_else/>
+<!-- IF NOT LOGGED IN! -->
+
+	<form method="post" action="<inp2:m_FormAction />">
+		<inp2:m_if check="u_UseUsernames">
+			<inp2:m_phrase label="lu_username"/><br />
+			<input class="input-text" type="text" name="login" style="width:155px" /><br />
+		<inp2:m_else/>
+			<inp2:m_phrase label="lu_email"/><br />
+			<input class="input-text" type="text" name="email" style="width:155px" /><br />
+		</inp2:m_if>
+
+		<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="5" alt=""/><br />
+
+		<inp2:m_Phrase label="lu_Password"/><br />
+		<input type="password" class="input-text" name="password" style="width:155px" /><br />
+
+		<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" alt="" width="1" height="10" border="0" /><br />
+
+		<table>
+			<tr>
+				<td width="10">
+					<input class="button" name="events[u][OnLogin]" type="submit" value="<inp2:m_Phrase label='lu_Login' no_editing='1'/>" /><br />
+				</td>
+				<td align="left">
+					<input type="checkbox" name="cb_remember_login" value="1"/> <span class="remember-login"><inp2:m_Phrase label="lu_remember_login"/></span>
+				</td>
+			</tr>
+		</table>
+
+		<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" alt="" width="5" height="5" border="0" /><br />
+		<inp2:m_if check="u_HasError" field="any">
+			<span class="field-error"><inp2:u_Error field="ValidateLogin"/></span><br />
+		</inp2:m_if>
+
+		<inp2:m_if check="u_RegistrationEnabled">
+			<a href="<inp2:m_Link template="platform/login/register" m_cat_id="0" m_cat_page="1"/>" class="more-link" ><inp2:m_Phrase label="lu_Register"/></a> <img src="<inp2:m_TemplatesBase module="In-Portal"/>img/side_link_str.gif" width="6" height="5" alt="" /><br />
+		</inp2:m_if>
+
+		<a href="<inp2:m_Link template="platform/login/forgot_password" m_cat_id="0" m_cat_page="1"/>" class="more-link" ><inp2:m_Phrase label="lu_ForgotPassword"/>?</a>  <img src="<inp2:m_TemplatesBase module="In-Portal"/>img/side_link_str.gif" width="6" height="5" alt="" />
+		<input type="hidden" name="next_template" value="<inp2:m_get var="next_template"/>" />
+		<input type="hidden" name="pending_disabled_template" value="platform/login/login_pending_disabled" />
+	</form>
+</inp2:m_if>
+<!-- /IF NOT LOGGED IN -->
Index: themes/advanced/platform/elements/side_boxes/search.elm.tpl
===================================================================
--- themes/advanced/platform/elements/side_boxes/search.elm.tpl	(revision 0)
+++ themes/advanced/platform/elements/side_boxes/search.elm.tpl	(revision 0)
@@ -0,0 +1,51 @@
+<inp2:m_Capture to_var="header">
+	<inp2:m_phrase name="lu_title_SearchBox"/>
+</inp2:m_Capture>
+
+<form method="post" action="<inp2:m_Link template="platform/search/search_results" pass_category="1"/>">
+	<inp2:m_GetFormHiddens template="platform/search/search_results"/>
+	<table>
+		<tr>
+			<td colspan="2">
+				<input type="text" name="keywords" id="keywords" style="width: 155px;" class="input-text" value="" />
+			</td>
+		</tr>
+		<!--## Show only when not on home ##-->
+		<inp2:m_if check="m_GetEquals" var="m_cat_id" value="0" inverse="1">
+		<tr>
+			<td>
+				<input type="radio" name="search_scope" id="search_scope_any" value="any" checked />
+			</td>
+			<td>
+				<label for="search_scope_any"><inp2:m_Phrase name="lu_AllWebsite"/></label>
+			</td>
+		</tr>
+		<tr>
+			<td>
+				<input type="radio" name="search_scope" id="search_scope_category" value="category"/>
+			</td>
+			<td>
+				<label for="search_scope_category"><inp2:m_Phrase name="lu_ThisCategory"/></label>
+			</td>
+		</tr>
+		</inp2:m_if>
+		<!--## // Show only when not on home ##-->
+	</table>
+
+	<br />
+	<input class="button" type="submit" value="<inp2:m_Phrase label='lu_btn_FindIt' no_editing='1'/>!" />
+
+	<!--##
+	<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" alt="" width="1" height="10" border="0" /><br />
+	<table>
+		<tr>
+			<td width="10">
+				<input class="button" type="submit" style="width: 40px;" value="<inp2:m_Phrase label="lu_comm_Go" no_editing="1"/>!" />
+			</td>
+			<td align="left">
+				<a href="<inp2:m_Link template="platform/search/advanced_search" />" class="more-link"><inp2:m_Phrase label="lu_btn_AdvancedSearch"/></a>  <img src="<inp2:m_TemplatesBase module="In-Portal"/>img/side_link_str.gif" width="6" height="5" alt="" /><br />
+			</td>
+		</tr>
+	</table>
+	##-->
+</form>
\ No newline at end of file
Index: themes/advanced/platform/elements/side_boxes/related_searches.elm.tpl
===================================================================
--- themes/advanced/platform/elements/side_boxes/related_searches.elm.tpl	(revision 0)
+++ themes/advanced/platform/elements/side_boxes/related_searches.elm.tpl	(revision 0)
@@ -0,0 +1,15 @@
+<inp2:m_Capture to_var="header">
+	<inp2:m_phrase name="lu_title_RelatedSearches"/>
+</inp2:m_Capture>
+
+<inp2:m_DefineElement name="related_search_element">
+	<tr>
+		<td>
+			<a href="<inp2:RelatedSearchUrl search_template="platform/search/search_results"/>"><inp2:Field name="Keyword"/></a>
+		</td>
+	</tr>
+</inp2:m_DefineElement>
+
+<table>
+	<inp2:c-search_PrintList render_as="related_search_element"/>
+</table>
\ No newline at end of file
Index: themes/advanced/platform/elements/side_boxes/recommend_site.elm.tpl
===================================================================
--- themes/advanced/platform/elements/side_boxes/recommend_site.elm.tpl	(revision 0)
+++ themes/advanced/platform/elements/side_boxes/recommend_site.elm.tpl	(revision 0)
@@ -0,0 +1,16 @@
+<inp2:m_Capture to_var="header">
+	<inp2:m_phrase name="lu_title_RecommendSite"/>
+</inp2:m_Capture>
+
+<inp2:m_Phrase label="lu_EnterEmailToRecommend"/><br />
+<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" alt="" width="1" height="5" border="0" /><br />
+
+<form method="POST" action="<inp2:m_FormAction />">
+	<input type="text" class="input-text" name="friend_email" value="" style="width: 155px;" /><br />
+	<inp2:m_if check="u_HasError" field="any">
+		<span class="field-error"><inp2:u_Error field="Email"/></span><br />
+	</inp2:m_if>
+	<br />
+	<input class="button" name="events[u][OnRecommend]" type="submit" value="<inp2:m_Phrase label='lu_btn_Recommend' no_editing='1'/>" />
+	<input type="hidden" name="template_success" value="platform/recommend/recommend" />
+</form>
\ No newline at end of file
Index: themes/advanced/platform/elements/side_boxes/mailing_list.elm.tpl
===================================================================
--- themes/advanced/platform/elements/side_boxes/mailing_list.elm.tpl	(revision 0)
+++ themes/advanced/platform/elements/side_boxes/mailing_list.elm.tpl	(revision 0)
@@ -0,0 +1,21 @@
+<inp2:m_Capture to_var="header">
+	<inp2:m_phrase name="lu_title_MailingList"/>
+</inp2:m_Capture>
+
+<inp2:m_Phrase label="lu_EnterEmailToSubscribe"/><br />
+<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" alt="" width="1" height="5" border="0" /><br />
+
+<form method="POST" action="<inp2:m_FormAction />" name="mailing_list_form">
+	<input type="text" name="subscriber_email" class="input-text" style="width: 155px;"/><br />
+	<inp2:m_if check="u_HasError" field="any">
+		<span class="field-error"><inp2:u_Error field="SubscribeEmail"/></span><br />
+	</inp2:m_if>
+
+	<br />
+	<input class="button" name="events[u][OnSubscribeQuery]" type="submit" style="width: 90px;" value="<inp2:m_Phrase label='lu_btn_Subscribe' no_editing='1'/>" />
+	<input class="button" name="events[u][OnSubscribeQuery]" type="submit" style="width: 90px;" value="<inp2:m_Phrase label='lu_btn_Unsubscribe' no_editing='1'/>" />
+	&nbsp;
+	<input type="text" style="display: none" />
+	<input type="hidden" name="subscribe_template" value="platform/mailing_list/subscribe"/>
+	<input type="hidden" name="unsubscribe_template" value="platform/mailing_list/unsubscribe"/>
+</form>
Index: themes/advanced/platform/elements/title_bar.elm.tpl
===================================================================
--- themes/advanced/platform/elements/title_bar.elm.tpl	(revision 0)
+++ themes/advanced/platform/elements/title_bar.elm.tpl	(revision 0)
@@ -0,0 +1,17 @@
+<inp2:m_DefineElement name="pagetitle_category_caption">
+	<inp2:m_if check="m_ParamEquals" name="cat_id" value="0" inverse="inverse">
+		<inp2:m_if check="m_ParamEquals" name="is_module_root" value="0">
+			<inp2:m_param name="separator"/>
+		</inp2:m_if>
+	</inp2:m_if>
+	<inp2:m_param name="cat_name"/>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="pagetitle_root_category">
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="pagetitle_module_root">
+	<inp2:m_param name="cat_name"/>
+</inp2:m_DefineElement>
+
+<inp2:c_CategoryPath separator=" &gt; " render_as="pagetitle_category_caption" root_cat_render_as="pagetitle_root_category" module_root_render_as="pagetitle_module_root" />
\ No newline at end of file
Index: themes/advanced/platform/elements/header.elm.tpl
===================================================================
--- themes/advanced/platform/elements/header.elm.tpl	(revision 0)
+++ themes/advanced/platform/elements/header.elm.tpl	(revision 0)
@@ -0,0 +1,54 @@
+<table class="top-background fullwidth">
+	<tr>
+		<td width="240" nowrap>
+			<a href="<inp2:m_Link template="index" m_cat_id="0" m_cat_page="1"/>"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/globe.gif" alt="<inp2:m_GetConfig name="Site_Name"/>" /><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/logo.gif" alt="<inp2:m_GetConfig name="Site_Name"/>" /></a><br />
+		</td>
+
+		<!-- TOP-BANNER -->
+		<td class="top-baner-cell">
+			<inp2:m_include template="platform/elements/banners/banner_top.elm"/>
+		</td>
+		<!-- /TOP-BANNER -->
+
+		<td width="400" align="right">
+			<table style="width:auto">
+				<tr>
+					<td class="top-select-padding">
+						<form method="post" name="lang_form" id="lang_form" action="<inp2:m_FormAction />">
+							<input type="hidden" name="events[lang][OnChangeLanguage]" value="" />
+							<inp2:m_Phrase label="lu_YourLanguage"/>:
+							<select name="language" class="input-select" onchange="document.getElementById('lang_form').submit()">
+								<inp2:m_DefineElement name="lang_elem" no_editing="1">
+									<option value="<inp2:Field name="LanguageId"/>" <inp2:m_if check="SelectedLanguage">selected="selected"</inp2:m_if> ><inp2:Field name="PackName"/></option>
+								</inp2:m_DefineElement>
+								<inp2:lang_ListLanguages render_as="lang_elem" no_table="1"/>
+							</select>
+						</form>
+					</td>
+
+					<!--## THEME DROP-DOWN ##-->
+					<!--##
+					<td class="top-select-padding">
+						<form method="post" name="theme_form" id="theme_form" action="<inp2:m_FormAction />">
+							<input type="hidden" name="events[theme][OnChangeTheme]" value="" />
+							<inp2:m_Phrase label="lu_CurrentTheme"/>:
+							<select name="theme" class="input-select" onchange="document.getElementById('theme_form').submit()">
+								<inp2:m_DefineElement name="theme_elem">
+									<option value="<inp2:Field name="ThemeId"/>" <inp2:m_if check="SelectedTheme">selected="selected"</inp2:m_if> ><inp2:Field name="Name"/></option>
+								</inp2:m_DefineElement>
+								<inp2:theme_PrintList render_as="theme_elem" no_table="1"/>
+							</select>
+						</form>
+					</td>
+					##-->
+					<!--## /THEME DROP-DOWN ##-->
+
+					<inp2:m_if check="m_ModuleEnabled" module="In-Commerce">
+						<inp2:m_Include t="in-commerce/elements/currency_picker.elm"/>
+					</inp2:m_if>
+				</tr>
+			</table>
+
+		</td>
+	</tr>
+</table>
\ No newline at end of file
Index: themes/advanced/platform/elements/menu.elm.tpl
===================================================================
--- themes/advanced/platform/elements/menu.elm.tpl	(revision 0)
+++ themes/advanced/platform/elements/menu.elm.tpl	(revision 0)
@@ -0,0 +1,105 @@
+<table class="menu-background fullwidth">
+	<tr>
+		<td align="left">
+			<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>
+
+						<link rel="StyleSheet" href="<inp2:m_TemplatesBase module='In-Portal'/>inc/dmenu.css" type="text/css" />
+						<div id="xmlMenuDiv"></div>
+
+				        <script type="text/javascript">
+				        	<inp2:m_DefineElement name="menu_xml" no_editing="1">
+										<menumgr id="mgr" flowoverformelement="false" defaulteffect="aoslide" icpath="">
+										<!--## USE droponclick="false" TO OPEN MENU ONMOUSE-OVER ##-->
+										  <menubar id="menubar" orient="H" showicon="true" showsubicon="false" stlprf="horz_" droponclick="true" >
+										    <items>
+										    	<item id="sub-elem0" url="<inp2:m_Link template="index" m_cat_id="0" m_cat_page="1"/>" ico="['<inp2:m_TemplatesBase module="In-portal"/>img/menu_home.gif']" enb="true" title=""><![CDATA[<inp2:m_RootCategoryName/>]]></item>
+										    	<inp2:m_Include template="platform/elements/menu_sections.xml" />
+										    </items>
+										  </menubar>
+										</menumgr>
+				        	</inp2:m_DefineElement>
+
+				        	<inp2:m_get name="m_cat_id" result_to_var="current_category"/>
+
+				        	$(document).ready(
+				        		function() {
+					        	 	var menu_mgr = NlsMenuUtil.createFromXMLString('<inp2:m_RenderElement name="menu_xml" js_escape="1"/>');
+//						        	menu_mgr.renderMenus();
+						        	menu_mgr.renderMenubar('xmlMenuDiv');
+
+						        	<inp2:m_if check="m_GetConst" name="EDITING_MODE" equals_to="2">
+							        	// make all spans with phrases clickable inside menus, that were just created
+										aTemplateManager.setupEditTranslationButtons('#xmlMenuDiv');
+						        	</inp2:m_if>
+					        	}
+					        );
+				        </script>
+				        <noscript>
+							<inp2:m_DefineElement name="static_top_menu_element">
+								<inp2:m_Link template="$template" m_cat_id="$cat_id" m_cat_page="1" use_section="$use_section" result_to_var="link"/>
+
+								<inp2:m_if check="m_Param" name="menu_icon">
+									<inp2:m_TemplatesBase result_to_var="module_path"/>
+									<inp2:m_RenderElement name="menu_element" menu_href="$link" menu_title="$title" menu_icon_src="{$module_path}{$menu_icon}"/>
+								<inp2:m_else/>
+									<inp2:m_TemplatesBase module="In-Portal" result_to_var="module_path"/>
+									<inp2:m_RenderElement name="menu_element" menu_href="$link" menu_title="$title" menu_icon_src="{$module_path}img/menu_inedit.gif"/>
+								</inp2:m_if>
+							</inp2:m_DefineElement>
+
+							<table>
+								<tr>
+									<inp2:m_Link template="index" m_cat_id="0" m_cat_page="1" result_to_var="link"/>
+									<inp2:m_RootCategoryName result_to_var="title"/>
+									<inp2:m_TemplatesBase module="In-portal" result_to_var="module_path"/>
+									<inp2:m_RenderElement name="menu_element" menu_href="$link" menu_title="$title" menu_icon_src="{$module_path}img/menu_home.gif"/>
+									<inp2:st_CachedMenu level="0" category_id="0" render_as="static_top_menu_element"/>
+								</tr>
+							</table>
+				        </noscript>
+
+				        <inp2:m_Set m_cat_id="$current_category"/>
+						<inp2:c_Field requery="1" name="Name" result_to_var="category_name"/>
+					</td>
+				</tr>
+			</table>
+		</td>
+		<td align="right">
+			<table style="width: auto;">
+				<tr>
+					<!-- menu: My Account -->
+					<inp2:m_RenderElement design="menu_element">
+						<inp2:m_Capture to_var="menu_href">
+							<inp2:m_Link template="platform/my_account/my_account" m_cat_id="0" m_cat_page="1"/>
+						</inp2:m_Capture>
+
+						<inp2:m_Capture to_var="menu_icon">
+							<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/menu_my_account.gif" alt="" /><br />
+						</inp2:m_Capture>
+
+						<inp2:m_Capture to_var="menu_title">
+							<inp2:m_Phrase name="lu_title_MyAccount"/>
+						</inp2:m_Capture>
+
+						<inp2:m_IsActive template=".*/my_account" result_to_var="current"/>
+					</inp2:m_RenderElement>
+					<!-- // menu: My Account -->
+
+
+					<inp2:m_if check="m_ModuleEnabled" module="In-Commerce">
+					<!-- menu: ShoppingCart -->
+						<inp2:m_Include t="in-commerce/elements/menu_element.elm"/>
+					<!-- // menu: ShoppingCart -->
+					</inp2:m_if>
+
+				</tr>
+			</table>
+		</td>
+	</tr>
+</table>
\ No newline at end of file
Index: themes/advanced/platform/elements/pagination.elm.tpl
===================================================================
--- themes/advanced/platform/elements/pagination.elm.tpl	(revision 0)
+++ themes/advanced/platform/elements/pagination.elm.tpl	(revision 0)
@@ -0,0 +1,52 @@
+<inp2:m_DefineElement name="prev_page">
+	<a href="<inp2:PageLink/>"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/pagenation_left.gif" width="5" height="5" alt="" /></a>&nbsp;&nbsp;
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="next_page">
+	&nbsp;<a href="<inp2:PageLink/>"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/pagenation_right.gif" width="5" height="5" alt="" /></a>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="page_current">
+	<span class="current-page"><inp2:m_param name="page"/></span>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="page_separator">
+	<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="1" alt="" />
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="page_link">
+	<a href="<inp2:PageLink/>" class="page-link"><inp2:m_param name="page"/></a>
+</inp2:m_DefineElement>
+
+<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="1" alt="" /><br /></div>
+<br />
+
+<table style="width: 100%; text-align: left;">
+	<tr>
+		<inp2:m_if check="{$prefix}_GridInfo" type="needs_pagination">
+		<td>
+			<inp2:m_Phrase label="lu_comm_Page"/>:&nbsp;
+
+
+			<inp2:{$prefix}_PaginationBar
+					current_render_as="page_current" separator_render_as="page_separator" link_render_as="page_link"
+					prev_page_render_as="prev_page"
+					next_page_render_as="next_page" />
+		</td>
+		</inp2:m_if>
+
+		<td align="right">
+			<inp2:m_phrase name="lu_ItemsPerPage"/>:
+			<form method="post" action="<inp2:m_FormAction />">
+
+				<select class="input-select" name="<inp2:{$prefix}_VarName type="PerPage"/>">
+					<option value="10" <inp2:{$prefix}_PerPageSelected per_page="10" selected='selected="selected"'/>>10</option>
+					<option value="20" <inp2:{$prefix}_PerPageSelected per_page="20" selected='selected="selected"'/>>20</option>
+					<option value="50" <inp2:{$prefix}_PerPageSelected per_page="50" selected='selected="selected"'/>>50</option>
+				</select>
+				<input type="submit" class="button" name="<inp2:{$prefix}_SubmitName event="OnSetPerPage"/>" value="<inp2:m_Phrase label="lu_btn_Set" no_editing="1"/>" />
+			</form>
+		</td>
+	</tr>
+</table>
+
Index: themes/advanced/platform/elements/search_results.elm.tpl
===================================================================
--- themes/advanced/platform/elements/search_results.elm.tpl	(revision 0)
+++ themes/advanced/platform/elements/search_results.elm.tpl	(revision 0)
@@ -0,0 +1,20 @@
+<inp2:m_DefineElement name="search_relevance_normal">
+	<inp2:m_Phrase label="lu_Relevance"/>:<br />
+	<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="5" alt=""><br />
+	<table width="70" style="border: 1px solid <inp2:m_param name="on_color"/>">
+		<tr>
+			<td width="<inp2:m_param name="percent_on" />%" bgcolor="<inp2:m_param name="on_color"/>"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="5" alt=""></td>
+			<td width="<inp2:m_param name="percent_off" />%" bgcolor="<inp2:m_param name="off_color"/>"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="5" alt=""></td>
+		</tr>
+	</table>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="search_relevance_full">
+	<inp2:m_Phrase label="lu_Relevance"/>:<br />
+	<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="5" alt=""><br />
+	<table width="70">
+		<tr>
+			<td width="100%" bgcolor="<inp2:m_param name="on_color" />"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="5" alt=""></td>
+		</tr>
+	</table>
+</inp2:m_DefineElement>
\ No newline at end of file
Index: themes/advanced/platform/elements/menu_subsections.xml.tpl
===================================================================
--- themes/advanced/platform/elements/menu_subsections.xml.tpl	(revision 0)
+++ themes/advanced/platform/elements/menu_subsections.xml.tpl	(revision 0)
@@ -0,0 +1,32 @@
+<inp2:m_XMLTemplate cache="600"/>
+<inp2:m_Get var="page_id" result_to_var="page_id"/>
+<inp2:m_Inc param="level" by="1"/>
+<inp2:m_Get var="level" result_to_var="level"/>
+<inp2:m_Get var="max_level" result_to_var="max_level"/>
+<inp2:m_Random result_to_var="rand"/>
+<inp2:conf_ConfigValue name="CategoriesRebuildSerial" result_to_var="serial"/>
+<menus>
+  <menu id="subpages<inp2:m_Param name="page_id"/>"
+  		orient="V" showicon="true" showsubicon="true" stlprf=""
+  		submenuic="['<inp2:m_TemplatesBase module="In-portal"/>img/arrow_white.gif']">
+    <items>
+    	<inp2:m_DefineElement name="top_sub_menu_elem" no_editing="1">
+				<item id="menu<inp2:m_Param name="page_id"/>" url="<inp2:m_Link template="$template" m_cat_id="$cat_id" use_section="$use_section" m_cat_page="1"/>" enb="true"
+					<inp2:m_if inverse="1" check="m_ParamEquals" name="level" value="$max_level">
+						<inp2:m_if check="m_Param" name="has_sub_menu">
+							subid="subpages<inp2:m_Param name="page_id"/>"
+							suburl="<inp2:m_link __NO_REWRITE__="1" template="platform/elements/menu_subsections.xml"
+								m_cat_id="$cat_id"
+								m_cat_page="1"
+								page_id="$page_id"
+								level="$level" max_level="4"
+								rand="$rand" serial="$serial"/>"
+						</inp2:m_if>
+					</inp2:m_if>
+				><![CDATA[<inp2:m_Param name="title"/>]]></item>
+			</inp2:m_DefineElement>
+
+			<inp2:st_CachedMenu except="index" menu_id="$page_id" category_id="$cat_id" render_as="top_sub_menu_elem"/>
+    </items>
+  </menu>
+</menus>
\ No newline at end of file
Index: themes/advanced/platform/elements/navigation_bar.elm.tpl
===================================================================
--- themes/advanced/platform/elements/navigation_bar.elm.tpl	(revision 0)
+++ themes/advanced/platform/elements/navigation_bar.elm.tpl	(revision 0)
@@ -0,0 +1,38 @@
+<inp2:m_DefaultParam titles="" templates="" show_category="0"/>
+
+<inp2:m_DefineElement name="root_category">
+	<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_home.gif" width="9" height="9" alt=""/> <a href="<inp2:c_CategoryLink template="__default__" />"><inp2:m_RootCategoryName/></a>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="module_root">
+	<inp2:m_param name="separator"/>
+	<a href="<inp2:c_CategoryLink template="$module_index" cat_id="$cat_id"/>"><inp2:m_param name="title"/></a>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="nav_link">
+	<inp2:m_param name="separator"/>
+	<inp2:m_if check="m_Param" name="category">
+		<a href="<inp2:c_CategoryLink template="__default__" m_cat_page="1"/>"><inp2:m_param name="title"/></a>
+	<inp2:m_else/>
+		<a href="<inp2:m_Link template="$template" m_cat_id="0" m_cat_page="1"/>"><inp2:m_param name="title"/></a>
+	</inp2:m_if>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="module_item">
+	<inp2:m_param name="separator"/>
+	<a href="<inp2:{$prefix}_ItemLink template="$template" />"><inp2:m_param name="title"/></a>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="current_item">
+	<inp2:m_param name="separator"/>
+	<span> <inp2:m_param name="title"/></span>
+</inp2:m_DefineElement>
+
+<table class="fullwidth groupItem">
+	<tr class="movable-header">
+		<td class="navigation-bar">
+			<!-- module_root_render_as="module_root" -->
+			<inp2:c_CategoryPath separator="&gt;" render_as="nav_link" current_render_as="current_item" module_item_render_as="module_item" root_cat_render_as="root_category" titles="$titles" templates="$templates" show_category="$show_category"/>
+		</td>
+	</tr>
+</table>
\ No newline at end of file
Index: themes/advanced/platform/elements/dynamic_forms.elm.tpl
===================================================================
--- themes/advanced/platform/elements/dynamic_forms.elm.tpl	(revision 0)
+++ themes/advanced/platform/elements/dynamic_forms.elm.tpl	(revision 0)
@@ -0,0 +1,58 @@
+<inp2:m_DefineElement name="form_field_text">
+	<input type="text" class="input-text" name="<inp2:CustomInputName/>" value="<inp2:SubmissionTag tag="Field"/>" <inp2:m_param name="field_params" />/>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="form_field_password">
+	<input type="password" class="input-text" primarytype="password" name="<inp2:CustomInputName/>" id="<inp2:CustomInputName/>" value="" />
+	<input type="password" class="input-text" name="<inp2:CustomInputName verify="1"/>" id="verify_<inp2:CustomInputName verify="1"/>" value="" />
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="form_field_option">
+		<option value="<inp2:m_param name="key"/>"<inp2:m_param name="selected"/>><inp2:m_param name="option"/></option>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="form_field_select">
+	<select name="<inp2:CustomInputName/>" class="input-select">
+		<inp2:SubmissionTag tag="PredefinedOptions" field="$field" block="form_field_option" selected="selected"/>
+	</select>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="form_field_checkbox">
+	<input type="hidden" id="<inp2:CustomInputName/>" name="<inp2:CustomInputName/>" value="<inp2:SubmissionTag tag="Field" field="$field" db="db"/>">
+	<input type="checkbox" id="_cb_<inp2:m_param name="field"/>" name="_cb_<inp2:m_param name="field"/>" <inp2:SubmissionTag tag="Field" checked="checked" db="db"/> class="<inp2:m_param name="field_class"/>" onclick="document.getElementById('<inp2:CustomInputName/>').value = this.checked ? 1:0">
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="form_field_textarea">
+	<textarea name="<inp2:CustomInputName/>" class="input-textarea" <inp2:m_param name="field_params" />><inp2:SubmissionTag tag="Field" field="$field" /></textarea>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="form_radio_item">
+	<input type="radio" <inp2:m_param name="checked"/> name="<inp2:m_param name="field_name"/>" id="<inp2:m_param name="field_name"/>_<inp2:m_param name="key"/>" value="<inp2:m_param name="key"/>"><label for="<inp2:m_param name="field_name"/>_<inp2:m_param name="key"/>"><inp2:m_param name="option"/></label>&nbsp;
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="form_field_radio">
+	<inp2:SubmissionTag tag="PredefinedOptions" field="$field" block="form_radio_item" selected="checked"/>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="form_field">
+	<tr>
+		<td class="field-name">
+			<strong><inp2:Field name="FieldLabel" plus_or_as_label="1"/><inp2:m_if check="FieldEquals" field="Required" value="1"><span class="field-required">*</span></inp2:m_if>:</strong>&nbsp;&nbsp;
+		</td>
+		<td class="field-value">
+			<inp2:m_if check="SubmissionTag" tag="HasError">
+				<span class="field-error"><inp2:SubmissionTag tag="Error"/></span><br />
+			</inp2:m_if>
+
+			<inp2:ConfigFormElement field="Value" blocks_prefix="form_field_" element_type_field="ElementType" value_list_field="ValueList" /><br/>
+		</td>
+	</tr>
+
+	<inp2:m_if check="m_Param" name="not_last">
+		<tr>
+			<td colspan="2">
+				<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="3" height="1" alt=""/><br /></div>
+			</td>
+		</tr>
+	</inp2:m_if>
+</inp2:m_DefineElement>
\ No newline at end of file
Index: themes/advanced/platform/elements/side_boxes.elm.tpl
===================================================================
--- themes/advanced/platform/elements/side_boxes.elm.tpl	(revision 0)
+++ themes/advanced/platform/elements/side_boxes.elm.tpl	(revision 0)
@@ -0,0 +1,14 @@
+<inp2:m_DefineElement name="blue_box">
+	<table style="width: 100%;">
+		<tr class="movable-header">
+			<td class="side-box-header">
+				<div class="side-box-title"><inp2:m_param name="header"/></div>
+			</td>
+		</tr>
+		<tr>
+			<td class="side-box-content">
+				<inp2:m_param name="content"/>
+			</td>
+		</tr>
+	</table>
+</inp2:m_DefineElement>
\ No newline at end of file
Index: themes/advanced/platform/elements/.smsignore
===================================================================
--- themes/advanced/platform/elements/.smsignore	(revision 0)
+++ themes/advanced/platform/elements/.smsignore	(revision 0)
@@ -0,0 +1 @@
+.*\.xml\.tpl
\ No newline at end of file
Index: themes/advanced/platform/elements/users.elm.tpl
===================================================================
--- themes/advanced/platform/elements/users.elm.tpl	(revision 0)
+++ themes/advanced/platform/elements/users.elm.tpl	(revision 0)
@@ -0,0 +1,35 @@
+<!--## DESIGNS OF LINK ELEMENTS DESCRIBED IN THIS TEMPLATE ##-->
+
+<!--## USER ELEMENT ##-->
+<inp2:m_DefineElement name="user_element">
+	<tr>
+		<td colspan="4">
+			<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="1" alt="" /></div>
+		</td>
+	</tr>
+	<tr class="listing-row">
+		<td valign="top">
+			<a href="<inp2:ProfileLink template="platform/my_account/public_profile"/>"><inp2:Field name="Login"/></a>
+		</td>
+		<td valign="top">
+			<inp2:m_if check="LoggedIn">
+				<inp2:m_Phrase name="lu_Yes"/>
+			<inp2:m_else/>
+				<inp2:m_Phrase name="lu_No"/>
+			</inp2:m_if>
+		</td>
+		<td valign="top">
+			<inp2:Field name="Email"/>
+		</td>
+		<td valign="top">
+			<inp2:Field name="CreatedOn"/>
+		</td>
+	</tr>
+</inp2:m_DefineElement>
+<!--## /USER ELEMENT ##-->
+
+<!--## NO USERS ELEMENT ##-->
+<inp2:m_DefineElement name="no_users">
+	<inp2:m_phrase name="lu_NoMembers"/>
+</inp2:m_DefineElement>
+<!--## /NO USERS ELEMENT ##-->
\ No newline at end of file
Index: themes/advanced/platform/sitemap.tpl
===================================================================
--- themes/advanced/platform/sitemap.tpl	(revision 0)
+++ themes/advanced/platform/sitemap.tpl	(revision 0)
@@ -0,0 +1,56 @@
+<!--##
+<NAME>Sitemap</NAME>
+<DESC>Sitemap of the website</DESC>
+<SECTION>Platform</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_phrase name="lu_title_SiteMap"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/recommend_site.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/mailing_list.elm" design="blue_box"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_SiteMap" templates="platform/sitemap"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement design="content_box">
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_title_SiteMap"/>
+				</inp2:m_Capture>
+
+				<inp2:m_include template="platform/elements/categories.elm"/>
+
+				<div id="sitemap">
+					<ul>
+						<inp2:m_Set sitemap_level="0"/>
+						<inp2:c_PrintList types="menu" render_as="sitemap_category_element" max_levels="3" per_page="100" parent_cat_id="0"/>
+					</ul>
+				</div>
+			</inp2:m_RenderElement>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: themes/advanced/platform/mailing_list/unsubscribe_ok.tpl
===================================================================
--- themes/advanced/platform/mailing_list/unsubscribe_ok.tpl	(revision 0)
+++ themes/advanced/platform/mailing_list/unsubscribe_ok.tpl	(revision 0)
@@ -0,0 +1,49 @@
+<!--##
+<NAME>Unsubscribe Confirmed</NAME>
+<DESC>Unsubscribe from mailing list confirmed</DESC>
+<SECTION>Platform||Mailing</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_phrase name="lu_title_UnsubscribeOk"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/recommend_site.elm" design="blue_box"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_UnsubscribeConfirm,lu_title_UnsubscribeOk" templates="platform/mailing_list/unsubscribe,platform/mailing_list/unsubscribe_ok"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement design="content_box">
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_title_UnsubscribeOk"/>
+				</inp2:m_Capture>
+
+				<inp2:m_Phrase label="lu_TextUnsubscribe"/>
+				<br /><br />
+
+				<input class="button" type="button" value="<inp2:m_Phrase label="lu_btn_Ok" no_editing="1"/>" onClick="window.location.href='<inp2:m_Link template="index"/>'" />&nbsp;
+			</inp2:m_RenderElement>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: themes/advanced/platform/mailing_list/subscribe_ok.tpl
===================================================================
--- themes/advanced/platform/mailing_list/subscribe_ok.tpl	(revision 0)
+++ themes/advanced/platform/mailing_list/subscribe_ok.tpl	(revision 0)
@@ -0,0 +1,49 @@
+<!--##
+<NAME>Subscription Confirmed</NAME>
+<DESC>Subscription confirmed to mailing list</DESC>
+<SECTION>Platform||Mailing</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_phrase name="lu_title_SubscribeOk"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/recommend_site.elm" design="blue_box"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_SubscribeConfirm,lu_title_SubscribeOk" templates="platform/mailing_list/subscribe,platform/mailing_list/subscribe_ok"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement design="content_box">
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_title_SubscribeOk"/>
+				</inp2:m_Capture>
+
+				<inp2:m_Phrase label="lu_ThankForSubscribing"/>
+				<br /><br />
+
+				<input class="button" type="button" value="<inp2:m_Phrase label="lu_btn_Ok" no_editing="1"/>" onClick="window.location.href='<inp2:m_Link template="index"/>'" />&nbsp;
+			</inp2:m_RenderElement>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: themes/advanced/platform/mailing_list/subscribe.tpl
===================================================================
--- themes/advanced/platform/mailing_list/subscribe.tpl	(revision 0)
+++ themes/advanced/platform/mailing_list/subscribe.tpl	(revision 0)
@@ -0,0 +1,53 @@
+<!--##
+<NAME>Subscribe</NAME>
+<DESC></DESC>
+<SECTION>Platform||Mailing</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_phrase name="lu_title_SubscribeConfirm"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/recommend_site.elm" design="blue_box"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_SubscribeConfirm" templates="platform/mailing_list/subscribe"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement design="content_box">
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_title_SubscribeConfirm"/>
+				</inp2:m_Capture>
+
+				<inp2:m_Phrase label="lu_subscribe_confirm_prompt" />
+				<br /><br />
+
+				<form method="POST" action="<inp2:m_FormAction />">
+					<input class="button" name="events[u][OnSubscribeUser]" type="submit" value="<inp2:m_Phrase label="lu_btn_Yes" no_editing="1"/>" />&nbsp;
+					<input class="button" type="button" value="<inp2:m_Phrase label="lu_btn_No" no_editing="1"/>" onclick="redirect('<inp2:m_Link template="index"/>');" />&nbsp;
+					<input type="hidden" name="subscribe_ok_template" value="platform/mailing_list/subscribe_ok"/>
+				</form>
+			</inp2:m_RenderElement>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: themes/advanced/platform/mailing_list/unsubscribe.tpl
===================================================================
--- themes/advanced/platform/mailing_list/unsubscribe.tpl	(revision 0)
+++ themes/advanced/platform/mailing_list/unsubscribe.tpl	(revision 0)
@@ -0,0 +1,53 @@
+<!--##
+<NAME>Unsubscribe</NAME>
+<DESC>Unsubscribe from mailing list</DESC>
+<SECTION>Platform||Mailing</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_phrase name="lu_title_UnsubscribeConfirm"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/recommend_site.elm" design="blue_box"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_UnsubscribeConfirm" templates="platform/mailing_list/unsubscribe"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement design="content_box">
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_title_UnsubscribeConfirm"/>
+				</inp2:m_Capture>
+
+				<inp2:m_Phrase label="lu_unsubscribe_confirm_prompt" />
+				<br /><br />
+
+				<form method="POST" action="<inp2:m_FormAction />">
+					<input class="button" name="events[u][OnSubscribeUser]" type="submit" value="<inp2:m_Phrase label="lu_btn_Yes" no_editing="1"/>" />&nbsp;
+					<input class="button" type="button" value="<inp2:m_Phrase label="lu_btn_No" no_editing="1"/>" onclick="redirect('<inp2:m_Link template="index"/>');" />&nbsp;
+					<input type="hidden" name="unsubscribe_ok_template" value="platform/mailing_list/unsubscribe_ok"/>
+				</form>
+			</inp2:m_RenderElement>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: themes/advanced/platform/search/search_results.tpl
===================================================================
--- themes/advanced/platform/search/search_results.tpl	(revision 0)
+++ themes/advanced/platform/search/search_results.tpl	(revision 0)
@@ -0,0 +1,48 @@
+<!--##
+<NAME>Search Results</NAME>
+<DESC></DESC>
+<SECTION>Platform</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_phrase name="lu_title_SearchResults"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/recommend_site.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/mailing_list.elm" design="blue_box"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_SearchResults" templates="platform/search/search_results"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_Set items_found="0"/>
+			<inp2:m_ModuleInclude template="elements/content_boxes/search_results.elm" in-portal_template="platform/elements/content_boxes/search_results.elm"/>
+
+			<inp2:m_if check="m_GetEquals" var="items_found" value="0">
+				<inp2:m_include template="platform/elements/content_boxes/nothing_found.elm"/>
+			</inp2:m_if>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: themes/advanced/platform/inc/jquery/thickbox/thickbox.css
===================================================================
--- themes/advanced/platform/inc/jquery/thickbox/thickbox.css	(revision 0)
+++ themes/advanced/platform/inc/jquery/thickbox/thickbox.css	(revision 0)
@@ -0,0 +1,164 @@
+/* ----------------------------------------------------------------------------------------------------------------*/
+/* ---------->>> global settings needed for thickbox <<<-----------------------------------------------------------*/
+/* ----------------------------------------------------------------------------------------------------------------*/
+*{padding: 0; margin: 0;}
+
+/* ----------------------------------------------------------------------------------------------------------------*/
+/* ---------->>> thickbox specific link and font settings <<<------------------------------------------------------*/
+/* ----------------------------------------------------------------------------------------------------------------*/
+#TB_window {
+	font: 12px Arial, Helvetica, sans-serif;
+	color: #333333;
+}
+
+#TB_secondLine {
+	font: 10px Arial, Helvetica, sans-serif;
+	color:#666666;
+}
+
+#TB_window a:link {color: #666666;}
+#TB_window a:visited {color: #666666;}
+#TB_window a:hover {color: #000;}
+#TB_window a:active {color: #666666;}
+#TB_window a:focus{color: #666666;}
+
+/* ----------------------------------------------------------------------------------------------------------------*/
+/* ---------->>> thickbox settings <<<-----------------------------------------------------------------------------*/
+/* ----------------------------------------------------------------------------------------------------------------*/
+#TB_overlay {
+	position: fixed;
+	z-index:100;
+	top: 0px;
+	left: 0px;
+	height:100%;
+	width:100%;
+}
+
+.TB_overlayMacFFBGHack {background: url(macFFBgHack.png) repeat;}
+.TB_overlayBG {
+	background-color:#000;
+	filter:alpha(opacity=75);
+	-moz-opacity: 0.75;
+	opacity: 0.75;
+}
+
+* html #TB_overlay { /* ie6 hack */
+     position: absolute;
+     height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
+}
+
+#TB_window {
+	position: fixed;
+	background: #ffffff;
+	z-index: 102;
+	color:#000000;
+	display:none;
+	border: 4px solid #525252;
+	text-align:left;
+	top:50%;
+	left:50%;
+}
+
+* html #TB_window { /* ie6 hack */
+position: absolute;
+margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
+}
+
+#TB_window img#TB_Image {
+	display:block;
+	margin: 15px 0 0 15px;
+	border-right: 1px solid #ccc;
+	border-bottom: 1px solid #ccc;
+	border-top: 1px solid #666;
+	border-left: 1px solid #666;
+}
+
+#TB_caption{
+	height:25px;
+	padding:7px 30px 10px 25px;
+	float:left;
+}
+
+#TB_closeWindow{
+	height:25px;
+	padding:11px 25px 10px 0;
+	float:right;
+}
+
+#TB_closeAjaxWindow{
+	padding:7px 10px 5px 0;
+	margin-bottom:1px;
+	text-align:right;
+	float:right;
+}
+
+#TB_ajaxWindowTitle{
+	float:left;
+	padding:7px 0 5px 10px;
+	margin-bottom:1px;
+	font-weight: bold;
+}
+
+#TB_title{
+	background-color:#e8e8e8;
+	height:27px;
+}
+
+#TB_ajaxContent{
+	clear:both;
+	padding:2px 15px 15px 15px;
+	overflow:auto;
+	text-align:left;
+	line-height:1.4em;
+}
+
+#TB_ajaxContent.TB_modal{
+	padding:15px;
+}
+
+#TB_ajaxContent p{
+	padding:5px 0px 5px 0px;
+}
+
+#TB_load{
+	position: fixed;
+	display:none;
+	height:13px;
+	width:208px;
+	z-index:103;
+	top: 50%;
+	left: 50%;
+	margin: -6px 0 0 -104px; /* -height/2 0 0 -width/2 */
+}
+
+* html #TB_load { /* ie6 hack */
+position: absolute;
+margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
+}
+
+#TB_HideSelect{
+	z-index:99;
+	position:fixed;
+	top: 0;
+	left: 0;
+	background-color:#fff;
+	border:none;
+	filter:alpha(opacity=0);
+	-moz-opacity: 0;
+	opacity: 0;
+	height:100%;
+	width:100%;
+}
+
+* html #TB_HideSelect { /* ie6 hack */
+     position: absolute;
+     height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
+}
+
+#TB_iframeContent{
+	clear:both;
+	border:none;
+	margin-bottom:-1px;
+	margin-top:1px;
+	_margin-bottom:1px;
+}
Index: themes/advanced/platform/inc/jquery/thickbox/thickbox.js
===================================================================
--- themes/advanced/platform/inc/jquery/thickbox/thickbox.js	(revision 0)
+++ themes/advanced/platform/inc/jquery/thickbox/thickbox.js	(revision 0)
@@ -0,0 +1,467 @@
+/*
+ * Thickbox 3.1 - One Box To Rule Them All.
+ * By Cody Lindley (http://www.codylindley.com)
+ * Copyright (c) 2007 cody lindley
+ * Licensed under the MIT License: http://www.opensource.org/licenses/mit-license.php
+*/
+
+// on page load call TB.init
+$(document).ready(
+	function() {
+		// pass where to apply thickbox
+		TB.init('a.thickbox, area.thickbox, input.thickbox');
+
+		// preload image
+		TB.imgLoader = new Image();
+		TB.imgLoader.src = inportalBase + 'inc/jquery/thickbox/loadingAnimation.gif';
+	}
+);
+
+function TB () {
+	this.imgLoader = null;
+	this.pathToImage = inportalBase + 'inc/jquery/thickbox/loadingAnimation.gif';
+
+	this.Width = null;
+	this.Height = null;
+}
+
+//add thickbox to href & area elements that have a class of .thickbox
+TB.init = function (domChunk) {
+	$(domChunk).click(
+		function() {
+			var t = this.title || this.name || null;
+			var a = this.href || this.alt;
+			var g = this.rel || false;
+
+			TB.show( {caption: t, url: a, imageGroup: g} );
+			this.blur();
+			return false;
+		}
+	);
+}
+
+// function called when the user clicks on a thickbox link
+TB.show = function (params) {
+
+//	caption, url, imageGroup, onDataReceived, onAfterShow, postParams
+
+	try {
+		if (typeof document.body.style.maxHeight === 'undefined') {
+			// if IE 6
+			$('body', 'html').css( {height: '100%', width: '100%'} );
+			$('html').css('overflow', 'hidden');
+
+			if (document.getElementById('TB_HideSelect') === null) {
+				// iframe to hide select elements in ie6
+				$('body').append("<iframe id='TB_HideSelect'></iframe><div id='TB_overlay'></div><div id='TB_window'></div>");
+				$('#TB_overlay').click(TB.remove);
+			}
+		} else {
+			// all others
+			if (document.getElementById('TB_overlay') === null) {
+				$('body').append("<div id='TB_overlay'></div><div id='TB_window'></div>");
+				$('#TB_overlay').click(TB.remove);
+			}
+		}
+
+		if (TB.detectMacXFF()) {
+			$('#TB_overlay').addClass('TB_overlayMacFFBGHack'); // use png overlay so hide flash
+		} else {
+			$('#TB_overlay').addClass('TB_overlayBG'); // use background and opacity
+		}
+
+		if (params.caption === null) {
+			params.caption = '';
+		}
+
+		$('body').append("<div id='TB_load'><img src='" + TB.imgLoader.src + "' /></div>"); // add loader to the page
+		$('#TB_load').show(); // show loader
+
+		var baseURL;
+		if (params.url.indexOf('?') !== -1) {
+			// ff there is a query string involved
+			baseURL = params.url.substr(0, params.url.indexOf('?'));
+		} else {
+			baseURL = params.url;
+		}
+
+		var urlString = /\.jpg$|\.jpeg$|\.png$|\.gif$|\.bmp$/;
+		var url_params = {};
+
+		if ( baseURL.toLowerCase().match(urlString) ) {
+			TB.processImages(params, urlString);
+		} else {
+			var queryString = params.url.replace(/^[^\?]+\??/,'');
+			url_params = TB.parseQuery(queryString);
+
+			TB.processDialog(params, url_params);
+		}
+
+		if (url_params['modal'] != 'true') {
+			$(document).bind(
+				'keyup',
+				function(e){
+					if (e.which == 27){
+						// close
+						TB.remove();
+					}
+				}
+			);
+		}
+	} catch(e) {
+		//nothing here
+	}
+}
+
+// helper functions below
+TB.processImages = function (params, urlString) {
+	// code to show images
+	var TB_PrevCaption = '';
+	var TB_PrevURL = '';
+	var TB_PrevHTML = '';
+	var TB_NextCaption = '';
+	var TB_NextURL = '';
+	var TB_NextHTML = '';
+	var TB_imageCount = '';
+	var TB_FoundURL = false;
+
+	if (params.imageGroup) {
+		// scan images in group to create Prev/Next links
+		var TB_TempArray = $('a[rel=' + params.imageGroup + ']').get();
+		for (var TB_Counter = 0; ((TB_Counter < TB_TempArray.length) && (TB_NextHTML === '')); TB_Counter++) {
+			var urlTypeTemp = TB_TempArray[TB_Counter].href.toLowerCase().match(urlString);
+			if (!(TB_TempArray[TB_Counter].href == params.url)) {
+				if (TB_FoundURL) {
+					TB_NextCaption = TB_TempArray[TB_Counter].title;
+					TB_NextURL = TB_TempArray[TB_Counter].href;
+					TB_NextHTML = "<span id='TB_next'>&nbsp;&nbsp;<a href='#'>Next &gt;</a></span>";
+				} else {
+					TB_PrevCaption = TB_TempArray[TB_Counter].title;
+					TB_PrevURL = TB_TempArray[TB_Counter].href;
+					TB_PrevHTML = "<span id='TB_prev'>&nbsp;&nbsp;<a href='#'>&lt; Prev</a></span>";
+				}
+			} else {
+				TB_FoundURL = true;
+				TB_imageCount = 'Image ' + (TB_Counter + 1) + ' of ' + TB_TempArray.length;
+			}
+		}
+	}
+
+	var imgPreloader = new Image();
+	$(imgPreloader).bind(
+		'load',
+		function() {
+			$(this).unbind('load');
+			var $image_size = TB.scaleImage.call(TB, this);
+
+			TB.Width = $image_size.width + 30;
+			TB.Height = $image_size.height + 60;
+			$('#TB_window').append("<a href='' id='TB_ImageOff' title='Close'><img id='TB_Image' src='" + params.url + "' width='" + $image_size.width + "' height='" + $image_size.height + "' alt='" + params.caption + "'/></a>" + "<div id='TB_caption'>" + params.caption + "<div id='TB_secondLine'>" + TB_imageCount + TB_PrevHTML + TB_NextHTML + "</div></div><div id='TB_closeWindow'><a href='#' id='TB_closeWindowButton' title='Close'>close</a> or Esc Key</div>");
+			$('#TB_closeWindowButton').click(TB.remove);
+
+			if (TB_PrevHTML !== '') {
+				function goPrev() {
+					$('#TB_window').remove();
+					$('body').append("<div id='TB_window'></div>");
+					TB.show( {caption: TB_PrevCaption, url: TB_PrevURL, imageGroup: params.imageGroup} );
+					return false;
+				}
+
+				$('#TB_prev').click(goPrev);
+			}
+
+			if (TB_NextHTML !== '') {
+				function goNext() {
+					$('#TB_window').remove();
+					$('body').append("<div id='TB_window'></div>");
+					TB.show( {caption: TB_NextCaption, url: TB_NextURL, imageGroup: params.imageGroup} );
+					return false;
+				}
+
+				$('#TB_next').click(goNext);
+
+			}
+
+			$(document).bind(
+				'keydown',
+				function(e) {
+					var keycode = e.which;
+
+					if (keycode == 27) { // close
+						TB.remove();
+					} else if (keycode == 190) {
+						// display previous image
+						if (TB_NextHTML != '') {
+							$(this).unbind('keydown');
+							goNext();
+						}
+					} else if (keycode == 188) {
+						// display next image
+						if(TB_PrevHTML != ''){
+							$(this).unbind('keydown');
+							goPrev();
+						}
+					}
+				}
+			);
+
+			// show image after it's loaded
+			TB.position();
+			$('#TB_load').remove();
+			$('#TB_ImageOff').click(TB.remove);
+			$('#TB_window').css('display', 'block'); // for safari using css instead of show
+		}
+	);
+
+	imgPreloader.src = params.url;
+}
+
+TB.scaleImage = function ($image) {
+	// resizing large images - orginal by Christian Montoya edited by me
+	var pagesize = TB.getPageSize();
+	var x = pagesize[0] - 150;
+	var y = pagesize[1] - 150;
+
+	var imageWidth = $image.width;
+	var imageHeight = $image.height;
+
+	if (imageWidth > x) {
+		imageHeight = imageHeight * (x / imageWidth);
+		imageWidth = x;
+		if (imageHeight > y) {
+			imageWidth = imageWidth * (y / imageHeight);
+			imageHeight = y;
+		}
+	} else if (imageHeight > y) {
+		imageWidth = imageWidth * (y / imageHeight);
+		imageHeight = y;
+		if (imageWidth > x) {
+			imageHeight = imageHeight * (x / imageWidth);
+			imageWidth = x;
+		}
+	}
+
+	return {width: imageWidth, height: imageHeight};
+}
+
+TB.processDialog = function (params, url_params) {
+	// code to show html
+
+	// window size is global
+	TB.Width = (url_params['width'] * 1) + 30 || 630; // defaults to 630 if no paramaters were added to URL
+	TB.Height = (url_params['height'] * 1) + 40 || 440; // defaults to 440 if no paramaters were added to URL
+
+	var ajaxContentW = TB.Width - 30;
+	var ajaxContentH = TB.Height - 45;
+
+	if (params.url.indexOf('TB_iframe') != -1) {
+		// either iframe or ajax window
+		urlNoQuery = params.url.split('TB_');
+		$('#TB_iframeContent').remove();
+
+		if (url_params['modal'] != 'true') {
+			// iframe no modal
+			$('#TB_window').append("<div id='TB_title'><div id='TB_ajaxWindowTitle'>" + params.caption + "</div><div id='TB_closeAjaxWindow'><a href='#' id='TB_closeWindowButton' title='Close'>close</a> or Esc Key</div></div><iframe frameborder='0' hspace='0' src='" + urlNoQuery[0] + "' id='TB_iframeContent' name='TB_iframeContent" + Math.round(Math.random() * 1000) + "' onload='TB.showIframe()' style='width:" + (ajaxContentW + 29) + "px;height:" + (ajaxContentH + 17) + "px;' > </iframe>");
+		}else{
+			// iframe modal
+			$('#TB_overlay').unbind();
+			$('#TB_window').append("<iframe frameborder='0' hspace='0' src='" + urlNoQuery[0] + "' id='TB_iframeContent' name='TB_iframeContent" + Math.round(Math.random() * 1000) + "' onload='TB.showIframe()' style='width:" + (ajaxContentW + 29) + "px;height:" + (ajaxContentH + 17) + "px;'> </iframe>");
+		}
+	} else {
+		// not an iframe, ajax
+		if ($('#TB_window').css('display') != 'block') {
+			if (url_params['modal'] != 'true') {
+				// ajax no modal
+				$('#TB_window').append("<div id='TB_title'><div id='TB_ajaxWindowTitle'>" + params.caption + "</div><div id='TB_closeAjaxWindow'><a href='#' id='TB_closeWindowButton'>close</a> or Esc Key</div></div><div id='TB_ajaxContent' style='width:" + ajaxContentW + "px;height:" + ajaxContentH + "px'></div>");
+			} else {
+				// ajax modal
+				$('#TB_overlay').unbind();
+				$('#TB_window').append("<div id='TB_ajaxContent' class='TB_modal' style='width:" + ajaxContentW + "px;height:" + ajaxContentH + "px;'></div>");
+			}
+		} else {
+			// this means the window is already up, we are just loading new content via ajax
+			$('#TB_ajaxContent')[0].style.width = ajaxContentW + 'px';
+			$('#TB_ajaxContent')[0].style.height = ajaxContentH + 'px';
+			$('#TB_ajaxContent')[0].scrollTop = 0;
+			$('#TB_ajaxWindowTitle').html(params.caption);
+		}
+	}
+
+	$('#TB_closeWindowButton').click(TB.remove);
+
+	if (params.url.indexOf('TB_inline') != -1) {
+		$('#TB_ajaxContent').html( $('#' + url_params['inlineId']).html() );
+		$('#TB_window').unload(
+			function () {
+				// move elements back when you're finished
+				$('#' + url_params['inlineId']).html( $('#TB_ajaxContent').html() );
+			}
+		);
+
+		TB.position();
+		$('#TB_load').remove();
+		$('#TB_window').css('display', 'block');
+	} else if (params.url.indexOf('TB_iframe') != -1) {
+		TB.position();
+
+		if ($.browser.safari) {
+			// safari needs help because it will not fire iframe onload
+			$('#TB_load').remove();
+			$('#TB_window').css('display', 'block');
+		}
+	} else {
+		var $content_url = params.url + '&random=' + (new Date().getTime());
+
+		if (params.postParams === undefined) {
+			$.get(
+				$content_url,
+				function ($data) {
+					TB.onDataReceived($data, params);
+				}
+			);
+		}
+		else {
+			$.post(
+				$content_url,
+				params.postParams,
+				function ($data) {
+					TB.onDataReceived($data, params);
+				}
+			);
+		}
+
+		/*$('#TB_ajaxContent').load(
+			params.url += '&random=' + (new Date().getTime()),
+			params.postParams,
+			function() {
+				//to do a post change this load method
+				TB.position();
+				$('#TB_load').remove();
+				TB.init('#TB_ajaxContent a.thickbox');
+				$('#TB_window').css('display', 'block');
+
+				if ( $.isFunction(params.showCallback) ) {
+					params.showCallback();
+				}
+			}
+		);*/
+	}
+}
+
+TB.parseRedirect = function ($data) {
+	var $match_redirect = new RegExp('^#redirect#(.*)').exec($data);
+	if ($match_redirect != null) {
+		// redirect to external template requested
+		return $match_redirect[1];
+	}
+
+	return false;
+}
+
+TB.onDataReceived = function ($data, $params) {
+	if ( $.isFunction($params.onDataReceived) ) {
+		$data = $params.onDataReceived($data);
+		if ($data === false) {
+			// this callback even could prevent redirect action
+			// callback requested to stop processing
+			return ;
+		}
+	}
+
+	var $redirect = TB.parseRedirect($data);
+	if ($redirect !== false) {
+		window.location.href = $redirect;
+		return ;
+	}
+
+	$('#TB_ajaxContent').html($data);
+
+	TB.position();
+	$('#TB_load').remove();
+	TB.init('#TB_ajaxContent a.thickbox');
+	$('#TB_window').css('display', 'block');
+
+	if ( $.isFunction($params.onAfterShow) ) {
+		$params.onAfterShow();
+	}
+}
+
+TB.showIframe = function () {
+	$('#TB_load').remove();
+	$('#TB_window').css('display', 'block');
+}
+
+TB.remove = function () {
+ 	$('#TB_imageOff').unbind('click');
+	$('#TB_closeWindowButton').unbind('click');
+
+	$('#TB_window').fadeOut(
+		'fast',
+		function(){
+			$('#TB_window,#TB_overlay,#TB_HideSelect').trigger('unload').unbind().remove();
+		}
+	);
+
+	$('#TB_load').remove();
+	if (typeof document.body.style.maxHeight == 'undefined') {
+		// if IE 6
+		$('body','html').css( {height: 'auto', width: 'auto'} );
+		$('html').css('overflow', '');
+	}
+
+	$(document).unbind('keydown').unbind('keyup');
+
+	return false;
+}
+
+TB.position = function () {
+	$('#TB_window').css( {marginLeft: '-' + parseInt((TB.Width / 2), 10) + 'px', width: TB.Width + 'px'} );
+
+	if ( !(jQuery.browser.msie && jQuery.browser.version < 7)) {
+		// take away IE6
+		$('#TB_window').css( {marginTop: '-' + parseInt((TB.Height / 2), 10) + 'px'} );
+	}
+}
+
+TB.parseQuery = function (query) {
+	var Params = {};
+	if (!query) {
+		// return empty object
+		return Params;
+	}
+
+	var Pairs = query.split(/[;&]/);
+
+	for (var i = 0; i < Pairs.length; i++ ) {
+		var KeyVal = Pairs[i].split('=');
+		if (!KeyVal || KeyVal.length != 2) {
+			continue;
+		}
+
+		var key = unescape( KeyVal[0] );
+		var val = unescape( KeyVal[1] );
+		val = val.replace(/\+/g, ' ');
+		Params[key] = val;
+	}
+
+	return Params;
+}
+
+TB.getPageSize = function () {
+	var de = document.documentElement;
+	var w = window.innerWidth || self.innerWidth || (de && de.clientWidth) || document.body.clientWidth;
+	var h = window.innerHeight || self.innerHeight || (de && de.clientHeight) || document.body.clientHeight;
+
+	return [w, h];
+}
+
+TB.detectMacXFF = function () {
+	var userAgent = navigator.userAgent.toLowerCase();
+	if (userAgent.indexOf('mac') != -1 && userAgent.indexOf('firefox') != -1) {
+		return true;
+	}
+
+	return false;
+}
+
+
Index: themes/advanced/platform/inc/jquery/jquery.pack.js
===================================================================
--- themes/advanced/platform/inc/jquery/jquery.pack.js	(revision 0)
+++ themes/advanced/platform/inc/jquery/jquery.pack.js	(revision 0)
@@ -0,0 +1,19 @@
+/*
+ * jQuery JavaScript Library v1.3.2
+ * http://jquery.com/
+ *
+ * Copyright (c) 2009 John Resig
+ * Dual licensed under the MIT and GPL licenses.
+ * http://docs.jquery.com/License
+ *
+ * Date: 2009-02-19 17:34:21 -0500 (Thu, 19 Feb 2009)
+ * Revision: 6246
+ */
+(function(){var l=this,g,y=l.jQuery,p=l.$,o=l.jQuery=l.$=function(E,F){return new o.fn.init(E,F)},D=/^[^<]*(<(.|\s)+>)[^>]*$|^#([\w-]+)$/,f=/^.[^:#\[\.,]*$/;o.fn=o.prototype={init:function(E,H){E=E||document;if(E.nodeType){this[0]=E;this.length=1;this.context=E;return this}if(typeof E==="string"){var G=D.exec(E);if(G&&(G[1]||!H)){if(G[1]){E=o.clean([G[1]],H)}else{var I=document.getElementById(G[3]);if(I&&I.id!=G[3]){return o().find(E)}var F=o(I||[]);F.context=document;F.selector=E;return F}}else{return o(H).find(E)}}else{if(o.isFunction(E)){return o(document).ready(E)}}if(E.selector&&E.context){this.selector=E.selector;this.context=E.context}return this.setArray(o.isArray(E)?E:o.makeArray(E))},selector:"",jquery:"1.3.2",size:function(){return this.length},get:function(E){return E===g?Array.prototype.slice.call(this):this[E]},pushStack:function(F,H,E){var G=o(F);G.prevObject=this;G.context=this.context;if(H==="find"){G.selector=this.selector+(this.selector?" ":"")+E}else{if(H){G.selector=this.selector+"."+H+"("+E+")"}}return G},setArray:function(E){this.length=0;Array.prototype.push.apply(this,E);return this},each:function(F,E){return o.each(this,F,E)},index:function(E){return o.inArray(E&&E.jquery?E[0]:E,this)},attr:function(F,H,G){var E=F;if(typeof F==="string"){if(H===g){return this[0]&&o[G||"attr"](this[0],F)}else{E={};E[F]=H}}return this.each(function(I){for(F in E){o.attr(G?this.style:this,F,o.prop(this,E[F],G,I,F))}})},css:function(E,F){if((E=="width"||E=="height")&&parseFloat(F)<0){F=g}return this.attr(E,F,"curCSS")},text:function(F){if(typeof F!=="object"&&F!=null){return this.empty().append((this[0]&&this[0].ownerDocument||document).createTextNode(F))}var E="";o.each(F||this,function(){o.each(this.childNodes,function(){if(this.nodeType!=8){E+=this.nodeType!=1?this.nodeValue:o.fn.text([this])}})});return E},wrapAll:function(E){if(this[0]){var F=o(E,this[0].ownerDocument).clone();if(this[0].parentNode){F.insertBefore(this[0])}F.map(function(){var G=this;while(G.firstChild){G=G.firstChild}return G}).append(this)}return this},wrapInner:function(E){return this.each(function(){o(this).contents().wrapAll(E)})},wrap:function(E){return this.each(function(){o(this).wrapAll(E)})},append:function(){return this.domManip(arguments,true,function(E){if(this.nodeType==1){this.appendChild(E)}})},prepend:function(){return this.domManip(arguments,true,function(E){if(this.nodeType==1){this.insertBefore(E,this.firstChild)}})},before:function(){return this.domManip(arguments,false,function(E){this.parentNode.insertBefore(E,this)})},after:function(){return this.domManip(arguments,false,function(E){this.parentNode.insertBefore(E,this.nextSibling)})},end:function(){return this.prevObject||o([])},push:[].push,sort:[].sort,splice:[].splice,find:function(E){if(this.length===1){var F=this.pushStack([],"find",E);F.length=0;o.find(E,this[0],F);return F}else{return this.pushStack(o.unique(o.map(this,function(G){return o.find(E,G)})),"find",E)}},clone:function(G){var E=this.map(function(){if(!o.support.noCloneEvent&&!o.isXMLDoc(this)){var I=this.outerHTML;if(!I){var J=this.ownerDocument.createElement("div");J.appendChild(this.cloneNode(true));I=J.innerHTML}return o.clean([I.replace(/ jQuery\d+="(?:\d+|null)"/g,"").replace(/^\s*/,"")])[0]}else{return this.cloneNode(true)}});if(G===true){var H=this.find("*").andSelf(),F=0;E.find("*").andSelf().each(function(){if(this.nodeName!==H[F].nodeName){return}var I=o.data(H[F],"events");for(var K in I){for(var J in I[K]){o.event.add(this,K,I[K][J],I[K][J].data)}}F++})}return E},filter:function(E){return this.pushStack(o.isFunction(E)&&o.grep(this,function(G,F){return E.call(G,F)})||o.multiFilter(E,o.grep(this,function(F){return F.nodeType===1})),"filter",E)},closest:function(E){var G=o.expr.match.POS.test(E)?o(E):null,F=0;return this.map(function(){var H=this;while(H&&H.ownerDocument){if(G?G.index(H)>-1:o(H).is(E)){o.data(H,"closest",F);return H}H=H.parentNode;F++}})},not:function(E){if(typeof E==="string"){if(f.test(E)){return this.pushStack(o.multiFilter(E,this,true),"not",E)}else{E=o.multiFilter(E,this)}}var F=E.length&&E[E.length-1]!==g&&!E.nodeType;return this.filter(function(){return F?o.inArray(this,E)<0:this!=E})},add:function(E){return this.pushStack(o.unique(o.merge(this.get(),typeof E==="string"?o(E):o.makeArray(E))))},is:function(E){return !!E&&o.multiFilter(E,this).length>0},hasClass:function(E){return !!E&&this.is("."+E)},val:function(K){if(K===g){var E=this[0];if(E){if(o.nodeName(E,"option")){return(E.attributes.value||{}).specified?E.value:E.text}if(o.nodeName(E,"select")){var I=E.selectedIndex,L=[],M=E.options,H=E.type=="select-one";if(I<0){return null}for(var F=H?I:0,J=H?I+1:M.length;F<J;F++){var G=M[F];if(G.selected){K=o(G).val();if(H){return K}L.push(K)}}return L}return(E.value||"").replace(/\r/g,"")}return g}if(typeof K==="number"){K+=""}return this.each(function(){if(this.nodeType!=1){return}if(o.isArray(K)&&/radio|checkbox/.test(this.type)){this.checked=(o.inArray(this.value,K)>=0||o.inArray(this.name,K)>=0)}else{if(o.nodeName(this,"select")){var N=o.makeArray(K);o("option",this).each(function(){this.selected=(o.inArray(this.value,N)>=0||o.inArray(this.text,N)>=0)});if(!N.length){this.selectedIndex=-1}}else{this.value=K}}})},html:function(E){return E===g?(this[0]?this[0].innerHTML.replace(/ jQuery\d+="(?:\d+|null)"/g,""):null):this.empty().append(E)},replaceWith:function(E){return this.after(E).remove()},eq:function(E){return this.slice(E,+E+1)},slice:function(){return this.pushStack(Array.prototype.slice.apply(this,arguments),"slice",Array.prototype.slice.call(arguments).join(","))},map:function(E){return this.pushStack(o.map(this,function(G,F){return E.call(G,F,G)}))},andSelf:function(){return this.add(this.prevObject)},domManip:function(J,M,L){if(this[0]){var I=(this[0].ownerDocument||this[0]).createDocumentFragment(),F=o.clean(J,(this[0].ownerDocument||this[0]),I),H=I.firstChild;if(H){for(var G=0,E=this.length;G<E;G++){L.call(K(this[G],H),this.length>1||G>0?I.cloneNode(true):I)}}if(F){o.each(F,z)}}return this;function K(N,O){return M&&o.nodeName(N,"table")&&o.nodeName(O,"tr")?(N.getElementsByTagName("tbody")[0]||N.appendChild(N.ownerDocument.createElement("tbody"))):N}}};o.fn.init.prototype=o.fn;function z(E,F){if(F.src){o.ajax({url:F.src,async:false,dataType:"script"})}else{o.globalEval(F.text||F.textContent||F.innerHTML||"")}if(F.parentNode){F.parentNode.removeChild(F)}}function e(){return +new Date}o.extend=o.fn.extend=function(){var J=arguments[0]||{},H=1,I=arguments.length,E=false,G;if(typeof J==="boolean"){E=J;J=arguments[1]||{};H=2}if(typeof J!=="object"&&!o.isFunction(J)){J={}}if(I==H){J=this;--H}for(;H<I;H++){if((G=arguments[H])!=null){for(var F in G){var K=J[F],L=G[F];if(J===L){continue}if(E&&L&&typeof L==="object"&&!L.nodeType){J[F]=o.extend(E,K||(L.length!=null?[]:{}),L)}else{if(L!==g){J[F]=L}}}}}return J};var b=/z-?index|font-?weight|opacity|zoom|line-?height/i,q=document.defaultView||{},s=Object.prototype.toString;o.extend({noConflict:function(E){l.$=p;if(E){l.jQuery=y}return o},isFunction:function(E){return s.call(E)==="[object Function]"},isArray:function(E){return s.call(E)==="[object Array]"},isXMLDoc:function(E){return E.nodeType===9&&E.documentElement.nodeName!=="HTML"||!!E.ownerDocument&&o.isXMLDoc(E.ownerDocument)},globalEval:function(G){if(G&&/\S/.test(G)){var F=document.getElementsByTagName("head")[0]||document.documentElement,E=document.createElement("script");E.type="text/javascript";if(o.support.scriptEval){E.appendChild(document.createTextNode(G))}else{E.text=G}F.insertBefore(E,F.firstChild);F.removeChild(E)}},nodeName:function(F,E){return F.nodeName&&F.nodeName.toUpperCase()==E.toUpperCase()},each:function(G,K,F){var E,H=0,I=G.length;if(F){if(I===g){for(E in G){if(K.apply(G[E],F)===false){break}}}else{for(;H<I;){if(K.apply(G[H++],F)===false){break}}}}else{if(I===g){for(E in G){if(K.call(G[E],E,G[E])===false){break}}}else{for(var J=G[0];H<I&&K.call(J,H,J)!==false;J=G[++H]){}}}return G},prop:function(H,I,G,F,E){if(o.isFunction(I)){I=I.call(H,F)}return typeof I==="number"&&G=="curCSS"&&!b.test(E)?I+"px":I},className:{add:function(E,F){o.each((F||"").split(/\s+/),function(G,H){if(E.nodeType==1&&!o.className.has(E.className,H)){E.className+=(E.className?" ":"")+H}})},remove:function(E,F){if(E.nodeType==1){E.className=F!==g?o.grep(E.className.split(/\s+/),function(G){return !o.className.has(F,G)}).join(" "):""}},has:function(F,E){return F&&o.inArray(E,(F.className||F).toString().split(/\s+/))>-1}},swap:function(H,G,I){var E={};for(var F in G){E[F]=H.style[F];H.style[F]=G[F]}I.call(H);for(var F in G){H.style[F]=E[F]}},css:function(H,F,J,E){if(F=="width"||F=="height"){var L,G={position:"absolute",visibility:"hidden",display:"block"},K=F=="width"?["Left","Right"]:["Top","Bottom"];function I(){L=F=="width"?H.offsetWidth:H.offsetHeight;if(E==="border"){return}o.each(K,function(){if(!E){L-=parseFloat(o.curCSS(H,"padding"+this,true))||0}if(E==="margin"){L+=parseFloat(o.curCSS(H,"margin"+this,true))||0}else{L-=parseFloat(o.curCSS(H,"border"+this+"Width",true))||0}})}if(H.offsetWidth!==0){I()}else{o.swap(H,G,I)}return Math.max(0,Math.round(L))}return o.curCSS(H,F,J)},curCSS:function(I,F,G){var L,E=I.style;if(F=="opacity"&&!o.support.opacity){L=o.attr(E,"opacity");return L==""?"1":L}if(F.match(/float/i)){F=w}if(!G&&E&&E[F]){L=E[F]}else{if(q.getComputedStyle){if(F.match(/float/i)){F="float"}F=F.replace(/([A-Z])/g,"-$1").toLowerCase();var M=q.getComputedStyle(I,null);if(M){L=M.getPropertyValue(F)}if(F=="opacity"&&L==""){L="1"}}else{if(I.currentStyle){var J=F.replace(/\-(\w)/g,function(N,O){return O.toUpperCase()});L=I.currentStyle[F]||I.currentStyle[J];if(!/^\d+(px)?$/i.test(L)&&/^\d/.test(L)){var H=E.left,K=I.runtimeStyle.left;I.runtimeStyle.left=I.currentStyle.left;E.left=L||0;L=E.pixelLeft+"px";E.left=H;I.runtimeStyle.left=K}}}}return L},clean:function(F,K,I){K=K||document;if(typeof K.createElement==="undefined"){K=K.ownerDocument||K[0]&&K[0].ownerDocument||document}if(!I&&F.length===1&&typeof F[0]==="string"){var H=/^<(\w+)\s*\/?>$/.exec(F[0]);if(H){return[K.createElement(H[1])]}}var G=[],E=[],L=K.createElement("div");o.each(F,function(P,S){if(typeof S==="number"){S+=""}if(!S){return}if(typeof S==="string"){S=S.replace(/(<(\w+)[^>]*?)\/>/g,function(U,V,T){return T.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i)?U:V+"></"+T+">"});var O=S.replace(/^\s+/,"").substring(0,10).toLowerCase();var Q=!O.indexOf("<opt")&&[1,"<select multiple='multiple'>","</select>"]||!O.indexOf("<leg")&&[1,"<fieldset>","</fieldset>"]||O.match(/^<(thead|tbody|tfoot|colg|cap)/)&&[1,"<table>","</table>"]||!O.indexOf("<tr")&&[2,"<table><tbody>","</tbody></table>"]||(!O.indexOf("<td")||!O.indexOf("<th"))&&[3,"<table><tbody><tr>","</tr></tbody></table>"]||!O.indexOf("<col")&&[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"]||!o.support.htmlSerialize&&[1,"div<div>","</div>"]||[0,"",""];L.innerHTML=Q[1]+S+Q[2];while(Q[0]--){L=L.lastChild}if(!o.support.tbody){var R=/<tbody/i.test(S),N=!O.indexOf("<table")&&!R?L.firstChild&&L.firstChild.childNodes:Q[1]=="<table>"&&!R?L.childNodes:[];for(var M=N.length-1;M>=0;--M){if(o.nodeName(N[M],"tbody")&&!N[M].childNodes.length){N[M].parentNode.removeChild(N[M])}}}if(!o.support.leadingWhitespace&&/^\s/.test(S)){L.insertBefore(K.createTextNode(S.match(/^\s*/)[0]),L.firstChild)}S=o.makeArray(L.childNodes)}if(S.nodeType){G.push(S)}else{G=o.merge(G,S)}});if(I){for(var J=0;G[J];J++){if(o.nodeName(G[J],"script")&&(!G[J].type||G[J].type.toLowerCase()==="text/javascript")){E.push(G[J].parentNode?G[J].parentNode.removeChild(G[J]):G[J])}else{if(G[J].nodeType===1){G.splice.apply(G,[J+1,0].concat(o.makeArray(G[J].getElementsByTagName("script"))))}I.appendChild(G[J])}}return E}return G},attr:function(J,G,K){if(!J||J.nodeType==3||J.nodeType==8){return g}var H=!o.isXMLDoc(J),L=K!==g;G=H&&o.props[G]||G;if(J.tagName){var F=/href|src|style/.test(G);if(G=="selected"&&J.parentNode){J.parentNode.selectedIndex}if(G in J&&H&&!F){if(L){if(G=="type"&&o.nodeName(J,"input")&&J.parentNode){throw"type property can't be changed"}J[G]=K}if(o.nodeName(J,"form")&&J.getAttributeNode(G)){return J.getAttributeNode(G).nodeValue}if(G=="tabIndex"){var I=J.getAttributeNode("tabIndex");return I&&I.specified?I.value:J.nodeName.match(/(button|input|object|select|textarea)/i)?0:J.nodeName.match(/^(a|area)$/i)&&J.href?0:g}return J[G]}if(!o.support.style&&H&&G=="style"){return o.attr(J.style,"cssText",K)}if(L){J.setAttribute(G,""+K)}var E=!o.support.hrefNormalized&&H&&F?J.getAttribute(G,2):J.getAttribute(G);return E===null?g:E}if(!o.support.opacity&&G=="opacity"){if(L){J.zoom=1;J.filter=(J.filter||"").replace(/alpha\([^)]*\)/,"")+(parseInt(K)+""=="NaN"?"":"alpha(opacity="+K*100+")")}return J.filter&&J.filter.indexOf("opacity=")>=0?(parseFloat(J.filter.match(/opacity=([^)]*)/)[1])/100)+"":""}G=G.replace(/-([a-z])/ig,function(M,N){return N.toUpperCase()});if(L){J[G]=K}return J[G]},trim:function(E){return(E||"").replace(/^\s+|\s+$/g,"")},makeArray:function(G){var E=[];if(G!=null){var F=G.length;if(F==null||typeof G==="string"||o.isFunction(G)||G.setInterval){E[0]=G}else{while(F){E[--F]=G[F]}}}return E},inArray:function(G,H){for(var E=0,F=H.length;E<F;E++){if(H[E]===G){return E}}return -1},merge:function(H,E){var F=0,G,I=H.length;if(!o.support.getAll){while((G=E[F++])!=null){if(G.nodeType!=8){H[I++]=G}}}else{while((G=E[F++])!=null){H[I++]=G}}return H},unique:function(K){var F=[],E={};try{for(var G=0,H=K.length;G<H;G++){var J=o.data(K[G]);if(!E[J]){E[J]=true;F.push(K[G])}}}catch(I){F=K}return F},grep:function(F,J,E){var G=[];for(var H=0,I=F.length;H<I;H++){if(!E!=!J(F[H],H)){G.push(F[H])}}return G},map:function(E,J){var F=[];for(var G=0,H=E.length;G<H;G++){var I=J(E[G],G);if(I!=null){F[F.length]=I}}return F.concat.apply([],F)}});var C=navigator.userAgent.toLowerCase();o.browser={version:(C.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[0,"0"])[1],safari:/webkit/.test(C),opera:/opera/.test(C),msie:/msie/.test(C)&&!/opera/.test(C),mozilla:/mozilla/.test(C)&&!/(compatible|webkit)/.test(C)};o.each({parent:function(E){return E.parentNode},parents:function(E){return o.dir(E,"parentNode")},next:function(E){return o.nth(E,2,"nextSibling")},prev:function(E){return o.nth(E,2,"previousSibling")},nextAll:function(E){return o.dir(E,"nextSibling")},prevAll:function(E){return o.dir(E,"previousSibling")},siblings:function(E){return o.sibling(E.parentNode.firstChild,E)},children:function(E){return o.sibling(E.firstChild)},contents:function(E){return o.nodeName(E,"iframe")?E.contentDocument||E.contentWindow.document:o.makeArray(E.childNodes)}},function(E,F){o.fn[E]=function(G){var H=o.map(this,F);if(G&&typeof G=="string"){H=o.multiFilter(G,H)}return this.pushStack(o.unique(H),E,G)}});o.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(E,F){o.fn[E]=function(G){var J=[],L=o(G);for(var K=0,H=L.length;K<H;K++){var I=(K>0?this.clone(true):this).get();o.fn[F].apply(o(L[K]),I);J=J.concat(I)}return this.pushStack(J,E,G)}});o.each({removeAttr:function(E){o.attr(this,E,"");if(this.nodeType==1){this.removeAttribute(E)}},addClass:function(E){o.className.add(this,E)},removeClass:function(E){o.className.remove(this,E)},toggleClass:function(F,E){if(typeof E!=="boolean"){E=!o.className.has(this,F)}o.className[E?"add":"remove"](this,F)},remove:function(E){if(!E||o.filter(E,[this]).length){o("*",this).add([this]).each(function(){o.event.remove(this);o.removeData(this)});if(this.parentNode){this.parentNode.removeChild(this)}}},empty:function(){o(this).children().remove();while(this.firstChild){this.removeChild(this.firstChild)}}},function(E,F){o.fn[E]=function(){return this.each(F,arguments)}});function j(E,F){return E[0]&&parseInt(o.curCSS(E[0],F,true),10)||0}var h="jQuery"+e(),v=0,A={};o.extend({cache:{},data:function(F,E,G){F=F==l?A:F;var H=F[h];if(!H){H=F[h]=++v}if(E&&!o.cache[H]){o.cache[H]={}}if(G!==g){o.cache[H][E]=G}return E?o.cache[H][E]:H},removeData:function(F,E){F=F==l?A:F;var H=F[h];if(E){if(o.cache[H]){delete o.cache[H][E];E="";for(E in o.cache[H]){break}if(!E){o.removeData(F)}}}else{try{delete F[h]}catch(G){if(F.removeAttribute){F.removeAttribute(h)}}delete o.cache[H]}},queue:function(F,E,H){if(F){E=(E||"fx")+"queue";var G=o.data(F,E);if(!G||o.isArray(H)){G=o.data(F,E,o.makeArray(H))}else{if(H){G.push(H)}}}return G},dequeue:function(H,G){var E=o.queue(H,G),F=E.shift();if(!G||G==="fx"){F=E[0]}if(F!==g){F.call(H)}}});o.fn.extend({data:function(E,G){var H=E.split(".");H[1]=H[1]?"."+H[1]:"";if(G===g){var F=this.triggerHandler("getData"+H[1]+"!",[H[0]]);if(F===g&&this.length){F=o.data(this[0],E)}return F===g&&H[1]?this.data(H[0]):F}else{return this.trigger("setData"+H[1]+"!",[H[0],G]).each(function(){o.data(this,E,G)})}},removeData:function(E){return this.each(function(){o.removeData(this,E)})},queue:function(E,F){if(typeof E!=="string"){F=E;E="fx"}if(F===g){return o.queue(this[0],E)}return this.each(function(){var G=o.queue(this,E,F);if(E=="fx"&&G.length==1){G[0].call(this)}})},dequeue:function(E){return this.each(function(){o.dequeue(this,E)})}});
+/*
+ * Sizzle CSS Selector Engine - v0.9.3
+ *  Copyright 2009, The Dojo Foundation
+ *  Released under the MIT, BSD, and GPL Licenses.
+ *  More information: http://sizzlejs.com/
+ */
+(function(){var R=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?/g,L=0,H=Object.prototype.toString;var F=function(Y,U,ab,ac){ab=ab||[];U=U||document;if(U.nodeType!==1&&U.nodeType!==9){return[]}if(!Y||typeof Y!=="string"){return ab}var Z=[],W,af,ai,T,ad,V,X=true;R.lastIndex=0;while((W=R.exec(Y))!==null){Z.push(W[1]);if(W[2]){V=RegExp.rightContext;break}}if(Z.length>1&&M.exec(Y)){if(Z.length===2&&I.relative[Z[0]]){af=J(Z[0]+Z[1],U)}else{af=I.relative[Z[0]]?[U]:F(Z.shift(),U);while(Z.length){Y=Z.shift();if(I.relative[Y]){Y+=Z.shift()}af=J(Y,af)}}}else{var ae=ac?{expr:Z.pop(),set:E(ac)}:F.find(Z.pop(),Z.length===1&&U.parentNode?U.parentNode:U,Q(U));af=F.filter(ae.expr,ae.set);if(Z.length>0){ai=E(af)}else{X=false}while(Z.length){var ah=Z.pop(),ag=ah;if(!I.relative[ah]){ah=""}else{ag=Z.pop()}if(ag==null){ag=U}I.relative[ah](ai,ag,Q(U))}}if(!ai){ai=af}if(!ai){throw"Syntax error, unrecognized expression: "+(ah||Y)}if(H.call(ai)==="[object Array]"){if(!X){ab.push.apply(ab,ai)}else{if(U.nodeType===1){for(var aa=0;ai[aa]!=null;aa++){if(ai[aa]&&(ai[aa]===true||ai[aa].nodeType===1&&K(U,ai[aa]))){ab.push(af[aa])}}}else{for(var aa=0;ai[aa]!=null;aa++){if(ai[aa]&&ai[aa].nodeType===1){ab.push(af[aa])}}}}}else{E(ai,ab)}if(V){F(V,U,ab,ac);if(G){hasDuplicate=false;ab.sort(G);if(hasDuplicate){for(var aa=1;aa<ab.length;aa++){if(ab[aa]===ab[aa-1]){ab.splice(aa--,1)}}}}}return ab};F.matches=function(T,U){return F(T,null,null,U)};F.find=function(aa,T,ab){var Z,X;if(!aa){return[]}for(var W=0,V=I.order.length;W<V;W++){var Y=I.order[W],X;if((X=I.match[Y].exec(aa))){var U=RegExp.leftContext;if(U.substr(U.length-1)!=="\\"){X[1]=(X[1]||"").replace(/\\/g,"");Z=I.find[Y](X,T,ab);if(Z!=null){aa=aa.replace(I.match[Y],"");break}}}}if(!Z){Z=T.getElementsByTagName("*")}return{set:Z,expr:aa}};F.filter=function(ad,ac,ag,W){var V=ad,ai=[],aa=ac,Y,T,Z=ac&&ac[0]&&Q(ac[0]);while(ad&&ac.length){for(var ab in I.filter){if((Y=I.match[ab].exec(ad))!=null){var U=I.filter[ab],ah,af;T=false;if(aa==ai){ai=[]}if(I.preFilter[ab]){Y=I.preFilter[ab](Y,aa,ag,ai,W,Z);if(!Y){T=ah=true}else{if(Y===true){continue}}}if(Y){for(var X=0;(af=aa[X])!=null;X++){if(af){ah=U(af,Y,X,aa);var ae=W^!!ah;if(ag&&ah!=null){if(ae){T=true}else{aa[X]=false}}else{if(ae){ai.push(af);T=true}}}}}if(ah!==g){if(!ag){aa=ai}ad=ad.replace(I.match[ab],"");if(!T){return[]}break}}}if(ad==V){if(T==null){throw"Syntax error, unrecognized expression: "+ad}else{break}}V=ad}return aa};var I=F.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF_-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF_-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF_-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF_-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*_-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\((even|odd|[\dn+-]*)\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF_-]|\\.)+)(?:\((['"]*)((?:\([^\)]+\)|[^\2\(\)]*)+)\2\))?/},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(T){return T.getAttribute("href")}},relative:{"+":function(aa,T,Z){var X=typeof T==="string",ab=X&&!/\W/.test(T),Y=X&&!ab;if(ab&&!Z){T=T.toUpperCase()}for(var W=0,V=aa.length,U;W<V;W++){if((U=aa[W])){while((U=U.previousSibling)&&U.nodeType!==1){}aa[W]=Y||U&&U.nodeName===T?U||false:U===T}}if(Y){F.filter(T,aa,true)}},">":function(Z,U,aa){var X=typeof U==="string";if(X&&!/\W/.test(U)){U=aa?U:U.toUpperCase();for(var V=0,T=Z.length;V<T;V++){var Y=Z[V];if(Y){var W=Y.parentNode;Z[V]=W.nodeName===U?W:false}}}else{for(var V=0,T=Z.length;V<T;V++){var Y=Z[V];if(Y){Z[V]=X?Y.parentNode:Y.parentNode===U}}if(X){F.filter(U,Z,true)}}},"":function(W,U,Y){var V=L++,T=S;if(!U.match(/\W/)){var X=U=Y?U:U.toUpperCase();T=P}T("parentNode",U,V,W,X,Y)},"~":function(W,U,Y){var V=L++,T=S;if(typeof U==="string"&&!U.match(/\W/)){var X=U=Y?U:U.toUpperCase();T=P}T("previousSibling",U,V,W,X,Y)}},find:{ID:function(U,V,W){if(typeof V.getElementById!=="undefined"&&!W){var T=V.getElementById(U[1]);return T?[T]:[]}},NAME:function(V,Y,Z){if(typeof Y.getElementsByName!=="undefined"){var U=[],X=Y.getElementsByName(V[1]);for(var W=0,T=X.length;W<T;W++){if(X[W].getAttribute("name")===V[1]){U.push(X[W])}}return U.length===0?null:U}},TAG:function(T,U){return U.getElementsByTagName(T[1])}},preFilter:{CLASS:function(W,U,V,T,Z,aa){W=" "+W[1].replace(/\\/g,"")+" ";if(aa){return W}for(var X=0,Y;(Y=U[X])!=null;X++){if(Y){if(Z^(Y.className&&(" "+Y.className+" ").indexOf(W)>=0)){if(!V){T.push(Y)}}else{if(V){U[X]=false}}}}return false},ID:function(T){return T[1].replace(/\\/g,"")},TAG:function(U,T){for(var V=0;T[V]===false;V++){}return T[V]&&Q(T[V])?U[1]:U[1].toUpperCase()},CHILD:function(T){if(T[1]=="nth"){var U=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(T[2]=="even"&&"2n"||T[2]=="odd"&&"2n+1"||!/\D/.test(T[2])&&"0n+"+T[2]||T[2]);T[2]=(U[1]+(U[2]||1))-0;T[3]=U[3]-0}T[0]=L++;return T},ATTR:function(X,U,V,T,Y,Z){var W=X[1].replace(/\\/g,"");if(!Z&&I.attrMap[W]){X[1]=I.attrMap[W]}if(X[2]==="~="){X[4]=" "+X[4]+" "}return X},PSEUDO:function(X,U,V,T,Y){if(X[1]==="not"){if(X[3].match(R).length>1||/^\w/.test(X[3])){X[3]=F(X[3],null,null,U)}else{var W=F.filter(X[3],U,V,true^Y);if(!V){T.push.apply(T,W)}return false}}else{if(I.match.POS.test(X[0])||I.match.CHILD.test(X[0])){return true}}return X},POS:function(T){T.unshift(true);return T}},filters:{enabled:function(T){return T.disabled===false&&T.type!=="hidden"},disabled:function(T){return T.disabled===true},checked:function(T){return T.checked===true},selected:function(T){T.parentNode.selectedIndex;return T.selected===true},parent:function(T){return !!T.firstChild},empty:function(T){return !T.firstChild},has:function(V,U,T){return !!F(T[3],V).length},header:function(T){return/h\d/i.test(T.nodeName)},text:function(T){return"text"===T.type},radio:function(T){return"radio"===T.type},checkbox:function(T){return"checkbox"===T.type},file:function(T){return"file"===T.type},password:function(T){return"password"===T.type},submit:function(T){return"submit"===T.type},image:function(T){return"image"===T.type},reset:function(T){return"reset"===T.type},button:function(T){return"button"===T.type||T.nodeName.toUpperCase()==="BUTTON"},input:function(T){return/input|select|textarea|button/i.test(T.nodeName)}},setFilters:{first:function(U,T){return T===0},last:function(V,U,T,W){return U===W.length-1},even:function(U,T){return T%2===0},odd:function(U,T){return T%2===1},lt:function(V,U,T){return U<T[3]-0},gt:function(V,U,T){return U>T[3]-0},nth:function(V,U,T){return T[3]-0==U},eq:function(V,U,T){return T[3]-0==U}},filter:{PSEUDO:function(Z,V,W,aa){var U=V[1],X=I.filters[U];if(X){return X(Z,W,V,aa)}else{if(U==="contains"){return(Z.textContent||Z.innerText||"").indexOf(V[3])>=0}else{if(U==="not"){var Y=V[3];for(var W=0,T=Y.length;W<T;W++){if(Y[W]===Z){return false}}return true}}}},CHILD:function(T,W){var Z=W[1],U=T;switch(Z){case"only":case"first":while(U=U.previousSibling){if(U.nodeType===1){return false}}if(Z=="first"){return true}U=T;case"last":while(U=U.nextSibling){if(U.nodeType===1){return false}}return true;case"nth":var V=W[2],ac=W[3];if(V==1&&ac==0){return true}var Y=W[0],ab=T.parentNode;if(ab&&(ab.sizcache!==Y||!T.nodeIndex)){var X=0;for(U=ab.firstChild;U;U=U.nextSibling){if(U.nodeType===1){U.nodeIndex=++X}}ab.sizcache=Y}var aa=T.nodeIndex-ac;if(V==0){return aa==0}else{return(aa%V==0&&aa/V>=0)}}},ID:function(U,T){return U.nodeType===1&&U.getAttribute("id")===T},TAG:function(U,T){return(T==="*"&&U.nodeType===1)||U.nodeName===T},CLASS:function(U,T){return(" "+(U.className||U.getAttribute("class"))+" ").indexOf(T)>-1},ATTR:function(Y,W){var V=W[1],T=I.attrHandle[V]?I.attrHandle[V](Y):Y[V]!=null?Y[V]:Y.getAttribute(V),Z=T+"",X=W[2],U=W[4];return T==null?X==="!=":X==="="?Z===U:X==="*="?Z.indexOf(U)>=0:X==="~="?(" "+Z+" ").indexOf(U)>=0:!U?Z&&T!==false:X==="!="?Z!=U:X==="^="?Z.indexOf(U)===0:X==="$="?Z.substr(Z.length-U.length)===U:X==="|="?Z===U||Z.substr(0,U.length+1)===U+"-":false},POS:function(X,U,V,Y){var T=U[2],W=I.setFilters[T];if(W){return W(X,V,U,Y)}}}};var M=I.match.POS;for(var O in I.match){I.match[O]=RegExp(I.match[O].source+/(?![^\[]*\])(?![^\(]*\))/.source)}var E=function(U,T){U=Array.prototype.slice.call(U);if(T){T.push.apply(T,U);return T}return U};try{Array.prototype.slice.call(document.documentElement.childNodes)}catch(N){E=function(X,W){var U=W||[];if(H.call(X)==="[object Array]"){Array.prototype.push.apply(U,X)}else{if(typeof X.length==="number"){for(var V=0,T=X.length;V<T;V++){U.push(X[V])}}else{for(var V=0;X[V];V++){U.push(X[V])}}}return U}}var G;if(document.documentElement.compareDocumentPosition){G=function(U,T){var V=U.compareDocumentPosition(T)&4?-1:U===T?0:1;if(V===0){hasDuplicate=true}return V}}else{if("sourceIndex" in document.documentElement){G=function(U,T){var V=U.sourceIndex-T.sourceIndex;if(V===0){hasDuplicate=true}return V}}else{if(document.createRange){G=function(W,U){var V=W.ownerDocument.createRange(),T=U.ownerDocument.createRange();V.selectNode(W);V.collapse(true);T.selectNode(U);T.collapse(true);var X=V.compareBoundaryPoints(Range.START_TO_END,T);if(X===0){hasDuplicate=true}return X}}}}(function(){var U=document.createElement("form"),V="script"+(new Date).getTime();U.innerHTML="<input name='"+V+"'/>";var T=document.documentElement;T.insertBefore(U,T.firstChild);if(!!document.getElementById(V)){I.find.ID=function(X,Y,Z){if(typeof Y.getElementById!=="undefined"&&!Z){var W=Y.getElementById(X[1]);return W?W.id===X[1]||typeof W.getAttributeNode!=="undefined"&&W.getAttributeNode("id").nodeValue===X[1]?[W]:g:[]}};I.filter.ID=function(Y,W){var X=typeof Y.getAttributeNode!=="undefined"&&Y.getAttributeNode("id");return Y.nodeType===1&&X&&X.nodeValue===W}}T.removeChild(U)})();(function(){var T=document.createElement("div");T.appendChild(document.createComment(""));if(T.getElementsByTagName("*").length>0){I.find.TAG=function(U,Y){var X=Y.getElementsByTagName(U[1]);if(U[1]==="*"){var W=[];for(var V=0;X[V];V++){if(X[V].nodeType===1){W.push(X[V])}}X=W}return X}}T.innerHTML="<a href='#'></a>";if(T.firstChild&&typeof T.firstChild.getAttribute!=="undefined"&&T.firstChild.getAttribute("href")!=="#"){I.attrHandle.href=function(U){return U.getAttribute("href",2)}}})();if(document.querySelectorAll){(function(){var T=F,U=document.createElement("div");U.innerHTML="<p class='TEST'></p>";if(U.querySelectorAll&&U.querySelectorAll(".TEST").length===0){return}F=function(Y,X,V,W){X=X||document;if(!W&&X.nodeType===9&&!Q(X)){try{return E(X.querySelectorAll(Y),V)}catch(Z){}}return T(Y,X,V,W)};F.find=T.find;F.filter=T.filter;F.selectors=T.selectors;F.matches=T.matches})()}if(document.getElementsByClassName&&document.documentElement.getElementsByClassName){(function(){var T=document.createElement("div");T.innerHTML="<div class='test e'></div><div class='test'></div>";if(T.getElementsByClassName("e").length===0){return}T.lastChild.className="e";if(T.getElementsByClassName("e").length===1){return}I.order.splice(1,0,"CLASS");I.find.CLASS=function(U,V,W){if(typeof V.getElementsByClassName!=="undefined"&&!W){return V.getElementsByClassName(U[1])}}})()}function P(U,Z,Y,ad,aa,ac){var ab=U=="previousSibling"&&!ac;for(var W=0,V=ad.length;W<V;W++){var T=ad[W];if(T){if(ab&&T.nodeType===1){T.sizcache=Y;T.sizset=W}T=T[U];var X=false;while(T){if(T.sizcache===Y){X=ad[T.sizset];break}if(T.nodeType===1&&!ac){T.sizcache=Y;T.sizset=W}if(T.nodeName===Z){X=T;break}T=T[U]}ad[W]=X}}}function S(U,Z,Y,ad,aa,ac){var ab=U=="previousSibling"&&!ac;for(var W=0,V=ad.length;W<V;W++){var T=ad[W];if(T){if(ab&&T.nodeType===1){T.sizcache=Y;T.sizset=W}T=T[U];var X=false;while(T){if(T.sizcache===Y){X=ad[T.sizset];break}if(T.nodeType===1){if(!ac){T.sizcache=Y;T.sizset=W}if(typeof Z!=="string"){if(T===Z){X=true;break}}else{if(F.filter(Z,[T]).length>0){X=T;break}}}T=T[U]}ad[W]=X}}}var K=document.compareDocumentPosition?function(U,T){return U.compareDocumentPosition(T)&16}:function(U,T){return U!==T&&(U.contains?U.contains(T):true)};var Q=function(T){return T.nodeType===9&&T.documentElement.nodeName!=="HTML"||!!T.ownerDocument&&Q(T.ownerDocument)};var J=function(T,aa){var W=[],X="",Y,V=aa.nodeType?[aa]:aa;while((Y=I.match.PSEUDO.exec(T))){X+=Y[0];T=T.replace(I.match.PSEUDO,"")}T=I.relative[T]?T+"*":T;for(var Z=0,U=V.length;Z<U;Z++){F(T,V[Z],W)}return F.filter(X,W)};o.find=F;o.filter=F.filter;o.expr=F.selectors;o.expr[":"]=o.expr.filters;F.selectors.filters.hidden=function(T){return T.offsetWidth===0||T.offsetHeight===0};F.selectors.filters.visible=function(T){return T.offsetWidth>0||T.offsetHeight>0};F.selectors.filters.animated=function(T){return o.grep(o.timers,function(U){return T===U.elem}).length};o.multiFilter=function(V,T,U){if(U){V=":not("+V+")"}return F.matches(V,T)};o.dir=function(V,U){var T=[],W=V[U];while(W&&W!=document){if(W.nodeType==1){T.push(W)}W=W[U]}return T};o.nth=function(X,T,V,W){T=T||1;var U=0;for(;X;X=X[V]){if(X.nodeType==1&&++U==T){break}}return X};o.sibling=function(V,U){var T=[];for(;V;V=V.nextSibling){if(V.nodeType==1&&V!=U){T.push(V)}}return T};return;l.Sizzle=F})();o.event={add:function(I,F,H,K){if(I.nodeType==3||I.nodeType==8){return}if(I.setInterval&&I!=l){I=l}if(!H.guid){H.guid=this.guid++}if(K!==g){var G=H;H=this.proxy(G);H.data=K}var E=o.data(I,"events")||o.data(I,"events",{}),J=o.data(I,"handle")||o.data(I,"handle",function(){return typeof o!=="undefined"&&!o.event.triggered?o.event.handle.apply(arguments.callee.elem,arguments):g});J.elem=I;o.each(F.split(/\s+/),function(M,N){var O=N.split(".");N=O.shift();H.type=O.slice().sort().join(".");var L=E[N];if(o.event.specialAll[N]){o.event.specialAll[N].setup.call(I,K,O)}if(!L){L=E[N]={};if(!o.event.special[N]||o.event.special[N].setup.call(I,K,O)===false){if(I.addEventListener){I.addEventListener(N,J,false)}else{if(I.attachEvent){I.attachEvent("on"+N,J)}}}}L[H.guid]=H;o.event.global[N]=true});I=null},guid:1,global:{},remove:function(K,H,J){if(K.nodeType==3||K.nodeType==8){return}var G=o.data(K,"events"),F,E;if(G){if(H===g||(typeof H==="string"&&H.charAt(0)==".")){for(var I in G){this.remove(K,I+(H||""))}}else{if(H.type){J=H.handler;H=H.type}o.each(H.split(/\s+/),function(M,O){var Q=O.split(".");O=Q.shift();var N=RegExp("(^|\\.)"+Q.slice().sort().join(".*\\.")+"(\\.|$)");if(G[O]){if(J){delete G[O][J.guid]}else{for(var P in G[O]){if(N.test(G[O][P].type)){delete G[O][P]}}}if(o.event.specialAll[O]){o.event.specialAll[O].teardown.call(K,Q)}for(F in G[O]){break}if(!F){if(!o.event.special[O]||o.event.special[O].teardown.call(K,Q)===false){if(K.removeEventListener){K.removeEventListener(O,o.data(K,"handle"),false)}else{if(K.detachEvent){K.detachEvent("on"+O,o.data(K,"handle"))}}}F=null;delete G[O]}}})}for(F in G){break}if(!F){var L=o.data(K,"handle");if(L){L.elem=null}o.removeData(K,"events");o.removeData(K,"handle")}}},trigger:function(I,K,H,E){var G=I.type||I;if(!E){I=typeof I==="object"?I[h]?I:o.extend(o.Event(G),I):o.Event(G);if(G.indexOf("!")>=0){I.type=G=G.slice(0,-1);I.exclusive=true}if(!H){I.stopPropagation();if(this.global[G]){o.each(o.cache,function(){if(this.events&&this.events[G]){o.event.trigger(I,K,this.handle.elem)}})}}if(!H||H.nodeType==3||H.nodeType==8){return g}I.result=g;I.target=H;K=o.makeArray(K);K.unshift(I)}I.currentTarget=H;var J=o.data(H,"handle");if(J){J.apply(H,K)}if((!H[G]||(o.nodeName(H,"a")&&G=="click"))&&H["on"+G]&&H["on"+G].apply(H,K)===false){I.result=false}if(!E&&H[G]&&!I.isDefaultPrevented()&&!(o.nodeName(H,"a")&&G=="click")){this.triggered=true;try{H[G]()}catch(L){}}this.triggered=false;if(!I.isPropagationStopped()){var F=H.parentNode||H.ownerDocument;if(F){o.event.trigger(I,K,F,true)}}},handle:function(K){var J,E;K=arguments[0]=o.event.fix(K||l.event);K.currentTarget=this;var L=K.type.split(".");K.type=L.shift();J=!L.length&&!K.exclusive;var I=RegExp("(^|\\.)"+L.slice().sort().join(".*\\.")+"(\\.|$)");E=(o.data(this,"events")||{})[K.type];for(var G in E){var H=E[G];if(J||I.test(H.type)){K.handler=H;K.data=H.data;var F=H.apply(this,arguments);if(F!==g){K.result=F;if(F===false){K.preventDefault();K.stopPropagation()}}if(K.isImmediatePropagationStopped()){break}}}},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode metaKey newValue originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),fix:function(H){if(H[h]){return H}var F=H;H=o.Event(F);for(var G=this.props.length,J;G;){J=this.props[--G];H[J]=F[J]}if(!H.target){H.target=H.srcElement||document}if(H.target.nodeType==3){H.target=H.target.parentNode}if(!H.relatedTarget&&H.fromElement){H.relatedTarget=H.fromElement==H.target?H.toElement:H.fromElement}if(H.pageX==null&&H.clientX!=null){var I=document.documentElement,E=document.body;H.pageX=H.clientX+(I&&I.scrollLeft||E&&E.scrollLeft||0)-(I.clientLeft||0);H.pageY=H.clientY+(I&&I.scrollTop||E&&E.scrollTop||0)-(I.clientTop||0)}if(!H.which&&((H.charCode||H.charCode===0)?H.charCode:H.keyCode)){H.which=H.charCode||H.keyCode}if(!H.metaKey&&H.ctrlKey){H.metaKey=H.ctrlKey}if(!H.which&&H.button){H.which=(H.button&1?1:(H.button&2?3:(H.button&4?2:0)))}return H},proxy:function(F,E){E=E||function(){return F.apply(this,arguments)};E.guid=F.guid=F.guid||E.guid||this.guid++;return E},special:{ready:{setup:B,teardown:function(){}}},specialAll:{live:{setup:function(E,F){o.event.add(this,F[0],c)},teardown:function(G){if(G.length){var E=0,F=RegExp("(^|\\.)"+G[0]+"(\\.|$)");o.each((o.data(this,"events").live||{}),function(){if(F.test(this.type)){E++}});if(E<1){o.event.remove(this,G[0],c)}}}}}};o.Event=function(E){if(!this.preventDefault){return new o.Event(E)}if(E&&E.type){this.originalEvent=E;this.type=E.type}else{this.type=E}this.timeStamp=e();this[h]=true};function k(){return false}function u(){return true}o.Event.prototype={preventDefault:function(){this.isDefaultPrevented=u;var E=this.originalEvent;if(!E){return}if(E.preventDefault){E.preventDefault()}E.returnValue=false},stopPropagation:function(){this.isPropagationStopped=u;var E=this.originalEvent;if(!E){return}if(E.stopPropagation){E.stopPropagation()}E.cancelBubble=true},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=u;this.stopPropagation()},isDefaultPrevented:k,isPropagationStopped:k,isImmediatePropagationStopped:k};var a=function(F){var E=F.relatedTarget;while(E&&E!=this){try{E=E.parentNode}catch(G){E=this}}if(E!=this){F.type=F.data;o.event.handle.apply(this,arguments)}};o.each({mouseover:"mouseenter",mouseout:"mouseleave"},function(F,E){o.event.special[E]={setup:function(){o.event.add(this,F,a,E)},teardown:function(){o.event.remove(this,F,a)}}});o.fn.extend({bind:function(F,G,E){return F=="unload"?this.one(F,G,E):this.each(function(){o.event.add(this,F,E||G,E&&G)})},one:function(G,H,F){var E=o.event.proxy(F||H,function(I){o(this).unbind(I,E);return(F||H).apply(this,arguments)});return this.each(function(){o.event.add(this,G,E,F&&H)})},unbind:function(F,E){return this.each(function(){o.event.remove(this,F,E)})},trigger:function(E,F){return this.each(function(){o.event.trigger(E,F,this)})},triggerHandler:function(E,G){if(this[0]){var F=o.Event(E);F.preventDefault();F.stopPropagation();o.event.trigger(F,G,this[0]);return F.result}},toggle:function(G){var E=arguments,F=1;while(F<E.length){o.event.proxy(G,E[F++])}return this.click(o.event.proxy(G,function(H){this.lastToggle=(this.lastToggle||0)%F;H.preventDefault();return E[this.lastToggle++].apply(this,arguments)||false}))},hover:function(E,F){return this.mouseenter(E).mouseleave(F)},ready:function(E){B();if(o.isReady){E.call(document,o)}else{o.readyList.push(E)}return this},live:function(G,F){var E=o.event.proxy(F);E.guid+=this.selector+G;o(document).bind(i(G,this.selector),this.selector,E);return this},die:function(F,E){o(document).unbind(i(F,this.selector),E?{guid:E.guid+this.selector+F}:null);return this}});function c(H){var E=RegExp("(^|\\.)"+H.type+"(\\.|$)"),G=true,F=[];o.each(o.data(this,"events").live||[],function(I,J){if(E.test(J.type)){var K=o(H.target).closest(J.data)[0];if(K){F.push({elem:K,fn:J})}}});F.sort(function(J,I){return o.data(J.elem,"closest")-o.data(I.elem,"closest")});o.each(F,function(){if(this.fn.call(this.elem,H,this.fn.data)===false){return(G=false)}});return G}function i(F,E){return["live",F,E.replace(/\./g,"`").replace(/ /g,"|")].join(".")}o.extend({isReady:false,readyList:[],ready:function(){if(!o.isReady){o.isReady=true;if(o.readyList){o.each(o.readyList,function(){this.call(document,o)});o.readyList=null}o(document).triggerHandler("ready")}}});var x=false;function B(){if(x){return}x=true;if(document.addEventListener){document.addEventListener("DOMContentLoaded",function(){document.removeEventListener("DOMContentLoaded",arguments.callee,false);o.ready()},false)}else{if(document.attachEvent){document.attachEvent("onreadystatechange",function(){if(document.readyState==="complete"){document.detachEvent("onreadystatechange",arguments.callee);o.ready()}});if(document.documentElement.doScroll&&l==l.top){(function(){if(o.isReady){return}try{document.documentElement.doScroll("left")}catch(E){setTimeout(arguments.callee,0);return}o.ready()})()}}}o.event.add(l,"load",o.ready)}o.each(("blur,focus,load,resize,scroll,unload,click,dblclick,mousedown,mouseup,mousemove,mouseover,mouseout,mouseenter,mouseleave,change,select,submit,keydown,keypress,keyup,error").split(","),function(F,E){o.fn[E]=function(G){return G?this.bind(E,G):this.trigger(E)}});o(l).bind("unload",function(){for(var E in o.cache){if(E!=1&&o.cache[E].handle){o.event.remove(o.cache[E].handle.elem)}}});(function(){o.support={};var F=document.documentElement,G=document.createElement("script"),K=document.createElement("div"),J="script"+(new Date).getTime();K.style.display="none";K.innerHTML='   <link/><table></table><a href="/a" style="color:red;float:left;opacity:.5;">a</a><select><option>text</option></select><object><param/></object>';var H=K.getElementsByTagName("*"),E=K.getElementsByTagName("a")[0];if(!H||!H.length||!E){return}o.support={leadingWhitespace:K.firstChild.nodeType==3,tbody:!K.getElementsByTagName("tbody").length,objectAll:!!K.getElementsByTagName("object")[0].getElementsByTagName("*").length,htmlSerialize:!!K.getElementsByTagName("link").length,style:/red/.test(E.getAttribute("style")),hrefNormalized:E.getAttribute("href")==="/a",opacity:E.style.opacity==="0.5",cssFloat:!!E.style.cssFloat,scriptEval:false,noCloneEvent:true,boxModel:null};G.type="text/javascript";try{G.appendChild(document.createTextNode("window."+J+"=1;"))}catch(I){}F.insertBefore(G,F.firstChild);if(l[J]){o.support.scriptEval=true;delete l[J]}F.removeChild(G);if(K.attachEvent&&K.fireEvent){K.attachEvent("onclick",function(){o.support.noCloneEvent=false;K.detachEvent("onclick",arguments.callee)});K.cloneNode(true).fireEvent("onclick")}o(function(){var L=document.createElement("div");L.style.width=L.style.paddingLeft="1px";document.body.appendChild(L);o.boxModel=o.support.boxModel=L.offsetWidth===2;document.body.removeChild(L).style.display="none"})})();var w=o.support.cssFloat?"cssFloat":"styleFloat";o.props={"for":"htmlFor","class":"className","float":w,cssFloat:w,styleFloat:w,readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",tabindex:"tabIndex"};o.fn.extend({_load:o.fn.load,load:function(G,J,K){if(typeof G!=="string"){return this._load(G)}var I=G.indexOf(" ");if(I>=0){var E=G.slice(I,G.length);G=G.slice(0,I)}var H="GET";if(J){if(o.isFunction(J)){K=J;J=null}else{if(typeof J==="object"){J=o.param(J);H="POST"}}}var F=this;o.ajax({url:G,type:H,dataType:"html",data:J,complete:function(M,L){if(L=="success"||L=="notmodified"){F.html(E?o("<div/>").append(M.responseText.replace(/<script(.|\s)*?\/script>/g,"")).find(E):M.responseText)}if(K){F.each(K,[M.responseText,L,M])}}});return this},serialize:function(){return o.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?o.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||/select|textarea/i.test(this.nodeName)||/text|hidden|password|search/i.test(this.type))}).map(function(E,F){var G=o(this).val();return G==null?null:o.isArray(G)?o.map(G,function(I,H){return{name:F.name,value:I}}):{name:F.name,value:G}}).get()}});o.each("ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend".split(","),function(E,F){o.fn[F]=function(G){return this.bind(F,G)}});var r=e();o.extend({get:function(E,G,H,F){if(o.isFunction(G)){H=G;G=null}return o.ajax({type:"GET",url:E,data:G,success:H,dataType:F})},getScript:function(E,F){return o.get(E,null,F,"script")},getJSON:function(E,F,G){return o.get(E,F,G,"json")},post:function(E,G,H,F){if(o.isFunction(G)){H=G;G={}}return o.ajax({type:"POST",url:E,data:G,success:H,dataType:F})},ajaxSetup:function(E){o.extend(o.ajaxSettings,E)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:function(){return l.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):new XMLHttpRequest()},accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},lastModified:{},ajax:function(M){M=o.extend(true,M,o.extend(true,{},o.ajaxSettings,M));var W,F=/=\?(&|$)/g,R,V,G=M.type.toUpperCase();if(M.data&&M.processData&&typeof M.data!=="string"){M.data=o.param(M.data)}if(M.dataType=="jsonp"){if(G=="GET"){if(!M.url.match(F)){M.url+=(M.url.match(/\?/)?"&":"?")+(M.jsonp||"callback")+"=?"}}else{if(!M.data||!M.data.match(F)){M.data=(M.data?M.data+"&":"")+(M.jsonp||"callback")+"=?"}}M.dataType="json"}if(M.dataType=="json"&&(M.data&&M.data.match(F)||M.url.match(F))){W="jsonp"+r++;if(M.data){M.data=(M.data+"").replace(F,"="+W+"$1")}M.url=M.url.replace(F,"="+W+"$1");M.dataType="script";l[W]=function(X){V=X;I();L();l[W]=g;try{delete l[W]}catch(Y){}if(H){H.removeChild(T)}}}if(M.dataType=="script"&&M.cache==null){M.cache=false}if(M.cache===false&&G=="GET"){var E=e();var U=M.url.replace(/(\?|&)_=.*?(&|$)/,"$1_="+E+"$2");M.url=U+((U==M.url)?(M.url.match(/\?/)?"&":"?")+"_="+E:"")}if(M.data&&G=="GET"){M.url+=(M.url.match(/\?/)?"&":"?")+M.data;M.data=null}if(M.global&&!o.active++){o.event.trigger("ajaxStart")}var Q=/^(\w+:)?\/\/([^\/?#]+)/.exec(M.url);if(M.dataType=="script"&&G=="GET"&&Q&&(Q[1]&&Q[1]!=location.protocol||Q[2]!=location.host)){var H=document.getElementsByTagName("head")[0];var T=document.createElement("script");T.src=M.url;if(M.scriptCharset){T.charset=M.scriptCharset}if(!W){var O=false;T.onload=T.onreadystatechange=function(){if(!O&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete")){O=true;I();L();T.onload=T.onreadystatechange=null;H.removeChild(T)}}}H.appendChild(T);return g}var K=false;var J=M.xhr();if(M.username){J.open(G,M.url,M.async,M.username,M.password)}else{J.open(G,M.url,M.async)}try{if(M.data){J.setRequestHeader("Content-Type",M.contentType)}if(M.ifModified){J.setRequestHeader("If-Modified-Since",o.lastModified[M.url]||"Thu, 01 Jan 1970 00:00:00 GMT")}J.setRequestHeader("X-Requested-With","XMLHttpRequest");J.setRequestHeader("Accept",M.dataType&&M.accepts[M.dataType]?M.accepts[M.dataType]+", */*":M.accepts._default)}catch(S){}if(M.beforeSend&&M.beforeSend(J,M)===false){if(M.global&&!--o.active){o.event.trigger("ajaxStop")}J.abort();return false}if(M.global){o.event.trigger("ajaxSend",[J,M])}var N=function(X){if(J.readyState==0){if(P){clearInterval(P);P=null;if(M.global&&!--o.active){o.event.trigger("ajaxStop")}}}else{if(!K&&J&&(J.readyState==4||X=="timeout")){K=true;if(P){clearInterval(P);P=null}R=X=="timeout"?"timeout":!o.httpSuccess(J)?"error":M.ifModified&&o.httpNotModified(J,M.url)?"notmodified":"success";if(R=="success"){try{V=o.httpData(J,M.dataType,M)}catch(Z){R="parsererror"}}if(R=="success"){var Y;try{Y=J.getResponseHeader("Last-Modified")}catch(Z){}if(M.ifModified&&Y){o.lastModified[M.url]=Y}if(!W){I()}}else{o.handleError(M,J,R)}L();if(X){J.abort()}if(M.async){J=null}}}};if(M.async){var P=setInterval(N,13);if(M.timeout>0){setTimeout(function(){if(J&&!K){N("timeout")}},M.timeout)}}try{J.send(M.data)}catch(S){o.handleError(M,J,null,S)}if(!M.async){N()}function I(){if(M.success){M.success(V,R)}if(M.global){o.event.trigger("ajaxSuccess",[J,M])}}function L(){if(M.complete){M.complete(J,R)}if(M.global){o.event.trigger("ajaxComplete",[J,M])}if(M.global&&!--o.active){o.event.trigger("ajaxStop")}}return J},handleError:function(F,H,E,G){if(F.error){F.error(H,E,G)}if(F.global){o.event.trigger("ajaxError",[H,F,G])}},active:0,httpSuccess:function(F){try{return !F.status&&location.protocol=="file:"||(F.status>=200&&F.status<300)||F.status==304||F.status==1223}catch(E){}return false},httpNotModified:function(G,E){try{var H=G.getResponseHeader("Last-Modified");return G.status==304||H==o.lastModified[E]}catch(F){}return false},httpData:function(J,H,G){var F=J.getResponseHeader("content-type"),E=H=="xml"||!H&&F&&F.indexOf("xml")>=0,I=E?J.responseXML:J.responseText;if(E&&I.documentElement.tagName=="parsererror"){throw"parsererror"}if(G&&G.dataFilter){I=G.dataFilter(I,H)}if(typeof I==="string"){if(H=="script"){o.globalEval(I)}if(H=="json"){I=l["eval"]("("+I+")")}}return I},param:function(E){var G=[];function H(I,J){G[G.length]=encodeURIComponent(I)+"="+encodeURIComponent(J)}if(o.isArray(E)||E.jquery){o.each(E,function(){H(this.name,this.value)})}else{for(var F in E){if(o.isArray(E[F])){o.each(E[F],function(){H(F,this)})}else{H(F,o.isFunction(E[F])?E[F]():E[F])}}}return G.join("&").replace(/%20/g,"+")}});var m={},n,d=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];function t(F,E){var G={};o.each(d.concat.apply([],d.slice(0,E)),function(){G[this]=F});return G}o.fn.extend({show:function(J,L){if(J){return this.animate(t("show",3),J,L)}else{for(var H=0,F=this.length;H<F;H++){var E=o.data(this[H],"olddisplay");this[H].style.display=E||"";if(o.css(this[H],"display")==="none"){var G=this[H].tagName,K;if(m[G]){K=m[G]}else{var I=o("<"+G+" />").appendTo("body");K=I.css("display");if(K==="none"){K="block"}I.remove();m[G]=K}o.data(this[H],"olddisplay",K)}}for(var H=0,F=this.length;H<F;H++){this[H].style.display=o.data(this[H],"olddisplay")||""}return this}},hide:function(H,I){if(H){return this.animate(t("hide",3),H,I)}else{for(var G=0,F=this.length;G<F;G++){var E=o.data(this[G],"olddisplay");if(!E&&E!=="none"){o.data(this[G],"olddisplay",o.css(this[G],"display"))}}for(var G=0,F=this.length;G<F;G++){this[G].style.display="none"}return this}},_toggle:o.fn.toggle,toggle:function(G,F){var E=typeof G==="boolean";return o.isFunction(G)&&o.isFunction(F)?this._toggle.apply(this,arguments):G==null||E?this.each(function(){var H=E?G:o(this).is(":hidden");o(this)[H?"show":"hide"]()}):this.animate(t("toggle",3),G,F)},fadeTo:function(E,G,F){return this.animate({opacity:G},E,F)},animate:function(I,F,H,G){var E=o.speed(F,H,G);return this[E.queue===false?"each":"queue"](function(){var K=o.extend({},E),M,L=this.nodeType==1&&o(this).is(":hidden"),J=this;for(M in I){if(I[M]=="hide"&&L||I[M]=="show"&&!L){return K.complete.call(this)}if((M=="height"||M=="width")&&this.style){K.display=o.css(this,"display");K.overflow=this.style.overflow}}if(K.overflow!=null){this.style.overflow="hidden"}K.curAnim=o.extend({},I);o.each(I,function(O,S){var R=new o.fx(J,K,O);if(/toggle|show|hide/.test(S)){R[S=="toggle"?L?"show":"hide":S](I)}else{var Q=S.toString().match(/^([+-]=)?([\d+-.]+)(.*)$/),T=R.cur(true)||0;if(Q){var N=parseFloat(Q[2]),P=Q[3]||"px";if(P!="px"){J.style[O]=(N||1)+P;T=((N||1)/R.cur(true))*T;J.style[O]=T+P}if(Q[1]){N=((Q[1]=="-="?-1:1)*N)+T}R.custom(T,N,P)}else{R.custom(T,S,"")}}});return true})},stop:function(F,E){var G=o.timers;if(F){this.queue([])}this.each(function(){for(var H=G.length-1;H>=0;H--){if(G[H].elem==this){if(E){G[H](true)}G.splice(H,1)}}});if(!E){this.dequeue()}return this}});o.each({slideDown:t("show",1),slideUp:t("hide",1),slideToggle:t("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(E,F){o.fn[E]=function(G,H){return this.animate(F,G,H)}});o.extend({speed:function(G,H,F){var E=typeof G==="object"?G:{complete:F||!F&&H||o.isFunction(G)&&G,duration:G,easing:F&&H||H&&!o.isFunction(H)&&H};E.duration=o.fx.off?0:typeof E.duration==="number"?E.duration:o.fx.speeds[E.duration]||o.fx.speeds._default;E.old=E.complete;E.complete=function(){if(E.queue!==false){o(this).dequeue()}if(o.isFunction(E.old)){E.old.call(this)}};return E},easing:{linear:function(G,H,E,F){return E+F*G},swing:function(G,H,E,F){return((-Math.cos(G*Math.PI)/2)+0.5)*F+E}},timers:[],fx:function(F,E,G){this.options=E;this.elem=F;this.prop=G;if(!E.orig){E.orig={}}}});o.fx.prototype={update:function(){if(this.options.step){this.options.step.call(this.elem,this.now,this)}(o.fx.step[this.prop]||o.fx.step._default)(this);if((this.prop=="height"||this.prop=="width")&&this.elem.style){this.elem.style.display="block"}},cur:function(F){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null)){return this.elem[this.prop]}var E=parseFloat(o.css(this.elem,this.prop,F));return E&&E>-10000?E:parseFloat(o.curCSS(this.elem,this.prop))||0},custom:function(I,H,G){this.startTime=e();this.start=I;this.end=H;this.unit=G||this.unit||"px";this.now=this.start;this.pos=this.state=0;var E=this;function F(J){return E.step(J)}F.elem=this.elem;if(F()&&o.timers.push(F)&&!n){n=setInterval(function(){var K=o.timers;for(var J=0;J<K.length;J++){if(!K[J]()){K.splice(J--,1)}}if(!K.length){clearInterval(n);n=g}},13)}},show:function(){this.options.orig[this.prop]=o.attr(this.elem.style,this.prop);this.options.show=true;this.custom(this.prop=="width"||this.prop=="height"?1:0,this.cur());o(this.elem).show()},hide:function(){this.options.orig[this.prop]=o.attr(this.elem.style,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(H){var G=e();if(H||G>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;var E=true;for(var F in this.options.curAnim){if(this.options.curAnim[F]!==true){E=false}}if(E){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;this.elem.style.display=this.options.display;if(o.css(this.elem,"display")=="none"){this.elem.style.display="block"}}if(this.options.hide){o(this.elem).hide()}if(this.options.hide||this.options.show){for(var I in this.options.curAnim){o.attr(this.elem.style,I,this.options.orig[I])}}this.options.complete.call(this.elem)}return false}else{var J=G-this.startTime;this.state=J/this.options.duration;this.pos=o.easing[this.options.easing||(o.easing.swing?"swing":"linear")](this.state,J,0,1,this.options.duration);this.now=this.start+((this.end-this.start)*this.pos);this.update()}return true}};o.extend(o.fx,{speeds:{slow:600,fast:200,_default:400},step:{opacity:function(E){o.attr(E.elem.style,"opacity",E.now)},_default:function(E){if(E.elem.style&&E.elem.style[E.prop]!=null){E.elem.style[E.prop]=E.now+E.unit}else{E.elem[E.prop]=E.now}}}});if(document.documentElement.getBoundingClientRect){o.fn.offset=function(){if(!this[0]){return{top:0,left:0}}if(this[0]===this[0].ownerDocument.body){return o.offset.bodyOffset(this[0])}var G=this[0].getBoundingClientRect(),J=this[0].ownerDocument,F=J.body,E=J.documentElement,L=E.clientTop||F.clientTop||0,K=E.clientLeft||F.clientLeft||0,I=G.top+(self.pageYOffset||o.boxModel&&E.scrollTop||F.scrollTop)-L,H=G.left+(self.pageXOffset||o.boxModel&&E.scrollLeft||F.scrollLeft)-K;return{top:I,left:H}}}else{o.fn.offset=function(){if(!this[0]){return{top:0,left:0}}if(this[0]===this[0].ownerDocument.body){return o.offset.bodyOffset(this[0])}o.offset.initialized||o.offset.initialize();var J=this[0],G=J.offsetParent,F=J,O=J.ownerDocument,M,H=O.documentElement,K=O.body,L=O.defaultView,E=L.getComputedStyle(J,null),N=J.offsetTop,I=J.offsetLeft;while((J=J.parentNode)&&J!==K&&J!==H){M=L.getComputedStyle(J,null);N-=J.scrollTop,I-=J.scrollLeft;if(J===G){N+=J.offsetTop,I+=J.offsetLeft;if(o.offset.doesNotAddBorder&&!(o.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(J.tagName))){N+=parseInt(M.borderTopWidth,10)||0,I+=parseInt(M.borderLeftWidth,10)||0}F=G,G=J.offsetParent}if(o.offset.subtractsBorderForOverflowNotVisible&&M.overflow!=="visible"){N+=parseInt(M.borderTopWidth,10)||0,I+=parseInt(M.borderLeftWidth,10)||0}E=M}if(E.position==="relative"||E.position==="static"){N+=K.offsetTop,I+=K.offsetLeft}if(E.position==="fixed"){N+=Math.max(H.scrollTop,K.scrollTop),I+=Math.max(H.scrollLeft,K.scrollLeft)}return{top:N,left:I}}}o.offset={initialize:function(){if(this.initialized){return}var L=document.body,F=document.createElement("div"),H,G,N,I,M,E,J=L.style.marginTop,K='<div style="position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;"><div></div></div><table style="position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;" cellpadding="0" cellspacing="0"><tr><td></td></tr></table>';M={position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"};for(E in M){F.style[E]=M[E]}F.innerHTML=K;L.insertBefore(F,L.firstChild);H=F.firstChild,G=H.firstChild,I=H.nextSibling.firstChild.firstChild;this.doesNotAddBorder=(G.offsetTop!==5);this.doesAddBorderForTableAndCells=(I.offsetTop===5);H.style.overflow="hidden",H.style.position="relative";this.subtractsBorderForOverflowNotVisible=(G.offsetTop===-5);L.style.marginTop="1px";this.doesNotIncludeMarginInBodyOffset=(L.offsetTop===0);L.style.marginTop=J;L.removeChild(F);this.initialized=true},bodyOffset:function(E){o.offset.initialized||o.offset.initialize();var G=E.offsetTop,F=E.offsetLeft;if(o.offset.doesNotIncludeMarginInBodyOffset){G+=parseInt(o.curCSS(E,"marginTop",true),10)||0,F+=parseInt(o.curCSS(E,"marginLeft",true),10)||0}return{top:G,left:F}}};o.fn.extend({position:function(){var I=0,H=0,F;if(this[0]){var G=this.offsetParent(),J=this.offset(),E=/^body|html$/i.test(G[0].tagName)?{top:0,left:0}:G.offset();J.top-=j(this,"marginTop");J.left-=j(this,"marginLeft");E.top+=j(G,"borderTopWidth");E.left+=j(G,"borderLeftWidth");F={top:J.top-E.top,left:J.left-E.left}}return F},offsetParent:function(){var E=this[0].offsetParent||document.body;while(E&&(!/^body|html$/i.test(E.tagName)&&o.css(E,"position")=="static")){E=E.offsetParent}return o(E)}});o.each(["Left","Top"],function(F,E){var G="scroll"+E;o.fn[G]=function(H){if(!this[0]){return null}return H!==g?this.each(function(){this==l||this==document?l.scrollTo(!F?H:o(l).scrollLeft(),F?H:o(l).scrollTop()):this[G]=H}):this[0]==l||this[0]==document?self[F?"pageYOffset":"pageXOffset"]||o.boxModel&&document.documentElement[G]||document.body[G]:this[0][G]}});o.each(["Height","Width"],function(I,G){var E=I?"Left":"Top",H=I?"Right":"Bottom",F=G.toLowerCase();o.fn["inner"+G]=function(){return this[0]?o.css(this[0],F,false,"padding"):null};o.fn["outer"+G]=function(K){return this[0]?o.css(this[0],F,false,K?"margin":"border"):null};var J=G.toLowerCase();o.fn[J]=function(K){return this[0]==l?document.compatMode=="CSS1Compat"&&document.documentElement["client"+G]||document.body["client"+G]:this[0]==document?Math.max(document.documentElement["client"+G],document.body["scroll"+G],document.documentElement["scroll"+G],document.body["offset"+G],document.documentElement["offset"+G]):K===g?(this.length?o.css(this[0],J):null):this.css(J,typeof K==="string"?K:K+"px")}})})();
\ No newline at end of file
Index: themes/advanced/platform/inc/nlsmenueffect.js
===================================================================
--- themes/advanced/platform/inc/nlsmenueffect.js	(revision 0)
+++ themes/advanced/platform/inc/nlsmenueffect.js	(revision 0)
@@ -0,0 +1,241 @@
+/**
+* nlsmenueffect.js v.2.0.1
+* Copyright 2005-2007, addobject.com. All Rights Reserved
+* Author Jack Hermanto, www.addobject.com
+*/
+var nlsEffectList={
+  barn:"progid:DXImageTransform.Microsoft.Barn(Duration=0.3,motion=out,orientation=vertical);",
+  blinds:"progid:DXImageTransform.Microsoft.Blinds(Duration=0.3,Bands=8,direction=right);",
+  checkerboard:"progid:DXImageTransform.Microsoft.Checkerboard(Duration=0.3,Direction=right,SquaresX=20,SquaresY=20);",
+  fade:"progid:DXImageTransform.Microsoft.Fade(Duration=0.3,Overlap=1.00);",
+  inset:"progid:DXImageTransform.Microsoft.Inset(Duration=0.3);",
+  iris:"progid:DXImageTransform.Microsoft.Iris(Duration=0.3,irisstyle=CIRCLE,motion=in);",
+  pixelate:"progid:DXImageTransform.Microsoft.Pixelate(Duration=0.3,MaxSquare=10);",
+  radialwipe:"progid:DXImageTransform.Microsoft.RadialWipe(Duration=0.3,wipestyle=WEDGE)",
+  randombars:"progid:DXImageTransform.Microsoft.RandomBars(Duration=0.3,Orientation=horizontal);",
+  randomdissolve:"progid:DXImageTransform.Microsoft.RandomDissolve(duration=0.3);",
+  slide:"progid:DXImageTransform.Microsoft.Slide(Duration=0.3,slidestyle=HIDE,Bands=5);",
+  spiral:"progid:DXImageTransform.Microsoft.Spiral(Duration=0.3,GridSizeX=64,GridSizeY=64);",
+  stretch:"progid:DXImageTransform.Microsoft.Stretch(Duration=0.3,stretchstyle=HIDE);",
+  strips:"progid:DXImageTransform.Microsoft.Strips(Duration=0.3,motion=rightdown);",
+  wheel:"progid:DXImageTransform.Microsoft.Wheel(Duration=0.3,spokes=10);",
+  gradienwipe:"progid:DXImageTransform.Microsoft.GradientWipe(Duration=0.3,GradientSize=0.75,wipestyle=0,motion=forward);",
+  zigzag:"progid:DXImageTransform.Microsoft.Zigzag(Duration=0.3,GridSizeX=8,GridSizeY=8);",
+  itemfade:"progid:DXImageTransform.Microsoft.Fade(Duration=0.2,Overlap=0.75);",
+  itemdissolve:"progid:DXImageTransform.Microsoft.RandomDissolve(duration=0.3);",
+  aoslide:"Duration:2"
+};
+
+function NlsMenuEffect(mId, effName) {
+  this.mId=mId;
+  this.elm=null;
+  this.effName=effName;
+  this.isOut=false;  
+  this.prop=new Object();
+  this.onShow=function() {};
+  this.onHide=function() {};
+  
+  this.start=_defStart;
+  this.run=_defRun;
+  
+  if (effName=="aoslide") {
+    this.start=_slideStart;
+    this.run=_slideRun;
+  }
+  return this;
+};
+
+/*default effect*/
+var _fadeTm=null;
+var _fadesEff=new Object();
+
+function _defStart(isOut) {
+  var mn=NlsMenu.$GE(this.mId);  
+  mn.childNodes[0].style.position="";
+  nlsMenu[this.mId].rt.ready=true;
+  this.elm=NlsMenu.$GE("effwin_"+this.mId); 
+  if (nls_isIE) {
+    this.elm.style.filter=nlsEffectList[this.effName];
+    if (this.elm.filters.length>0) this.elm.filters[0].apply();
+  } else {
+    this.elm=this.elm.parentNode;    
+    this.isOut=(isOut==true);
+    if (!this.prop["init"]) {
+      this.elm.style.MozOpacity=(isOut?1:0);
+      this.elm.style.opacity=(isOut?1:0);
+    }
+    this.prop["init"]=true;
+    this.prop["dur"]=20;
+    this.prop["rng"]=100;
+    this.prop["spd"]=20;
+  }
+};
+
+function _defRun() {
+  if (nls_isIE) {
+    if (this.elm.filters.length>0) this.elm.filters[0].play();
+  } else {
+    var me=this;
+    if (this.elm.style.MozOpacity) this.prop["opa"]="MozOpacity"; else this.prop["opa"]="opacity";
+    var p=new Object();
+    p.x1=this.elm.style[this.prop["opa"]]*this.prop["rng"];
+    if (this.isOut) { p.x2=0; } else { p.x2=this.prop["rng"]-1; }
+    _fc_fade(p);
+    this.prop["pt"]=p;
+    this.prop["sd"]=0;
+    
+    _fadesEff[this.mId]=this;
+    if (!_fadeTm) _fadeTm=setInterval(function() {_fadeAnimate();}, this.prop["spd"]);    
+  }
+};
+
+function _fadeAnimate() {
+  var b=true;
+  for (var it in _fadesEff) {
+    var eff=_fadesEff[it]; 
+    var p=eff.prop["pt"];
+    if (eff.prop["sd"]<eff.prop["dur"]) {
+      eff.prop["sd"]++;
+      eff.elm.style[eff.prop["opa"]]=effect_bezier(eff.prop["sd"]/eff.prop["dur"],p.x1, p.x2, p.c1, p.c2)/eff.prop["rng"];
+    } else {
+      eff.elm.style[eff.prop["opa"]]=p.x2/eff.prop["rng"];
+      if (eff.isOut) {eff.onHide(); eff.elm.style[eff.prop["opa"]]=0;} else {eff.onShow();}
+      delete _fadesEff[eff.mId];
+    }
+    b=false;
+  }
+  if (b) {clearInterval(_fadeTm); _fadeTm=null;}
+};
+
+/*end*/
+
+/*slide effect*/
+var _slideTm=null;
+var _slidesEff=new Object();
+
+function _slideStart(isOut) {
+  var mn=NlsMenu.$GE(this.mId);
+  this.elm=mn.childNodes[0];
+  
+  if (!isOut && this.prop["init"]!=true) {
+    this.elm.style.position="";
+    var w=this.elm.offsetWidth; var h=this.elm.offsetHeight;
+    with (mn.style) { overflow="hidden"; width=w+"px"; height=h+"px";};
+
+    with (this.elm.style) {
+      position=nls_isIE?"absolute":"relative";
+      switch(this.prop["dir"]) {
+        case "right": top="0px";left=-w+"px"; this.prop["st"]="left"; break;
+        case "left": top="0px";left=w+"px"; this.prop["st"]="left"; break;
+        case "down": top=-h+"px";left="0px"; this.prop["st"]="top"; break;
+        case "up": top=h+"px";left="0px"; this.prop["st"]="top"; break;
+      }
+    };
+    this.prop["mw"]=w; this.prop["mh"]=h; 
+    if (!nls_isIE) this.prop["init"]=true;
+  }
+  this.prop["dur"]=parseFloat(nlsEffectList[this.effName].split(":")[1])*10;
+  this.prop["spd"]=15;
+  this.isOut=(isOut==true);
+  nlsMenu[this.mId].rt.ready=false;
+};
+
+function _slideRun() {
+  var me=this;
+  var p=new Object();
+  var l=parseInt(this.elm.style.left);
+  var t=parseInt(this.elm.style.top);
+  var c=this.isOut?1:0;
+  switch(this.prop["dir"]) {
+    case "right": p.x1=l; p.x2=-this.prop["mw"]*c; break;
+    case "left" : p.x1=l; p.x2=this.prop["mw"]*c; break;
+    case "down" : p.x1=t; p.x2=-this.prop["mh"]*c; break;
+    case "up"  : p.x1=t; p.x2=this.prop["mh"]*c; break;
+  };    
+  _fc_slide(p);
+  this.prop["pt"]=p;
+  this.prop["sd"]=0;
+  
+  _slidesEff[this.mId]=this;
+  if (!_slideTm) _slideTm=setInterval(function() {_slideAnimate();}, this.prop["spd"]);  
+};
+
+function _slideAnimate() {
+  var b=true;
+  for (var it in _slidesEff) {
+    var eff=_slidesEff[it];    
+    var p=eff.prop["pt"];
+    if (eff.prop["sd"] < eff.prop["dur"]) {
+      eff.elm.style[eff.prop["st"]]= effect_bezier(eff.prop["sd"]/eff.prop["dur"],p.x1, p.x2, p.c1, p.c2) + "px";
+      eff.prop["sd"]++;
+    } else {
+      eff.elm.style[eff.prop["st"]]=p.x2+"px";
+      if (eff.isOut) {eff.onHide();} else {nlsMenu[eff.mId].rt.ready=true; eff.onShow();}
+      delete _slidesEff[eff.mId];
+    }
+    b=false;
+  }
+  if (b) {clearInterval(_slideTm); _slideTm=null;}
+};
+
+function _fc_fade(p) {p.c1=p.x1+(p.x2-p.x1)*2/3; p.c2=p.x2;};/*for fadding*/
+function _fc_slide(p) {p.c1=p.x1+(p.x2-p.x1)*2/3; p.c2=p.x2;};
+function _f1(t) { return (1-t); };
+function _f2(t) { return (1-t)*(1-t); };
+function _f3(t) { return (1-t)*(1-t)*(1-t); };
+function _f4(t) { return t*t*t; };
+function effect_bezier(t,x1,x2,c1,c2) {
+  return _f3(t)*x1 + 3*t*_f2(t)*c1 + 3*t*t*_f1(t)*c2 + _f4(t)*x2;
+};
+
+/*end*/
+
+/*NlsMenu item effect*/
+function NlsMenuItemEffect(itemId, effName) {
+  this.tmId=null;
+  this.itemId=itemId;
+  this.elm=null;
+  this.effName=effName;
+};
+
+NlsMenuItemEffect.prototype.init=function() {
+  if(!nls_isIE) return;
+  if (this.elm==null) this.elm=NlsMenu.$GE(this.itemId); 
+  if (nlsEffectList[this.effName]) this.elm.style.filter=nlsEffectList[this.effName];
+  if (this.elm.filters.length>0) this.elm.filters[0].apply();
+};
+
+NlsMenuItemEffect.prototype.start=function() {
+  if(!nls_isIE) return;
+  if (this.elm.filters.length>0) this.elm.filters[0].play();
+};
+/*end*/
+
+/*NlsMenuBorder class*/
+function NlsMenuBorder(bTop, bBottom, bLeft, bRight) {
+  var border = "<table cellpadding=0 cellspacing=0>";
+  var sTop="", sBottom="", sLeft="", sRight="";
+  if (bTop) sTop="<td><table width='100%' cellpadding=0 cellspacing=0><tr><td class='@stlprf_mtop'></td></tr></table></td>";
+  if (bBottom) sBottom="<td><table width='100%' cellpadding=0 cellspacing=0><tr><td class='@stlprf_mbottom'></td></tr></table></td>";
+  if (bLeft) {
+    sLeft="<td height='100%' class='@stlprf_mleft' style='font-size:1pt;'>&nbsp;</td>";
+    if (bTop) sTop="<td class='@stlprf_mtopleft'></td>"+sTop;
+    if (bBottom) sBottom="<td class='@stlprf_mbottomleft'></td>"+sBottom;
+  }
+  if (bRight) {
+    sRight="<td height='100%' class='@stlprf_mright' style='font-size:1pt;'>&nbsp;</td>";
+    if (bTop) sTop+="<td class='@stlprf_mtopright'></td>";
+    if (bBottom) sBottom+="<td class='@stlprf_mbottomright'></td>";    
+  }
+  if (sTop!="") sTop="<tr>"+sTop+"</tr>";
+  if (sBottom!="") sBottom="<tr>"+sBottom+"</tr>";  
+  border=border+sTop+"<tr height='100%'>"+sLeft+"<td>@menu</td>"+sRight+"</tr>"+sBottom;
+  border+="</table>";
+  
+  this.applyBorder = function (smenu, stlprf) {
+    var b=border.replace(/@stlprf_/gi, stlprf);
+    return b.replace(/@menu/gi, smenu);
+  };
+  
+  return this;
+};
\ No newline at end of file
Index: themes/advanced/platform/inc/script.js
===================================================================
--- themes/advanced/platform/inc/script.js	(revision 0)
+++ themes/advanced/platform/inc/script.js	(revision 0)
@@ -0,0 +1,223 @@
+String.prototype.trim = function() { return this.replace(/^\s+|\s+$/, ''); };
+
+function update_checkbox(cb, cb_hidden) {
+	cb_hidden.value = cb.checked ? 1 : 0;
+}
+
+function redirect($url) {
+	window.location.href = $url;
+}
+
+function open_window($url, $window_name, $width, $height) {
+	window.open($url, $window_name, 'width='+$width+',height='+$height+',resizable=yes');
+	return false;
+}
+
+function addLoadEvent(func, wnd) {
+	if (!wnd) wnd = window
+	var oldonload = wnd.onload;
+	if (typeof wnd.onload != 'function') {
+		wnd.onload = func;
+	} else {
+		wnd.onload = function() {
+			if (oldonload) {
+				oldonload();
+			}
+			func();
+		}
+	}
+}
+
+function addEvent(el, evname, func, traditional) {
+	if (traditional) {
+		eval('el.on'+evname+'='+func);
+		return;
+	}
+
+	if (document.all) {
+		el.attachEvent("on" + evname, func);
+	} else {
+		el.addEventListener(evname, func, true);
+	}
+};
+
+// ItemCategories class
+function ItemCategories($table_id, $field_id, $primary_category, $phrases) {
+	this.CategoryTable = document.getElementById($table_id);
+	this.CategorySelector = document.getElementById($field_id + '_select');
+	this.MoreCategoriesField = document.getElementById($field_id);
+	this.PrimaryCategory = $primary_category;
+	this.Phrases = $phrases;
+
+	// get additional categories from item
+	if (this.MoreCategoriesField.value.length) {
+		this.MoreCategories = this.MoreCategoriesField.value;
+		this.MoreCategories = this.MoreCategories.substring(1, this.MoreCategories.length - 1).split('|');
+	}
+	else {
+		this.MoreCategories = new Array ();
+	}
+}
+
+ItemCategories.prototype.AddCategory = function($separator, $delete_button, $max_categories) {
+	var $category_id = this.CategorySelector.options[this.CategorySelector.selectedIndex].value;
+	var $category_name = this.CategorySelector.options[this.CategorySelector.selectedIndex].innerHTML.trim();
+
+	if ((this.SearchCategory($category_id) !== false) || ($category_id == this.PrimaryCategory) || ($category_id == 0)) {
+		// don't add same category twice & don't allow to add item's primary category
+		alert(this.Phrases[1]);
+		return ;
+	}
+
+	if ((this.MoreCategories.length + 2) > $max_categories)
+	{
+		// don't add more category - $max_categories limit
+		alert(this.Phrases[0]);
+		return ;
+	}
+
+	// strip trailing HTML spaces & separator
+	var $separator_pos = $category_name.indexOf($separator);
+	if ($separator_pos != -1) {
+		$category_name = $category_name.substring($separator_pos + $separator.length);
+	}
+
+
+	var $row = this.CategoryTable.insertRow(-1);
+	$row.id = 'category_' + $category_id;
+
+	var $cell = $row.insertCell(-1);
+	$cell.innerHTML = $category_name;
+
+	$cell = $row.insertCell(-1);
+	$cell.innerHTML = $delete_button.replace(/#CATEGORY_ID#/g, $category_id);
+
+	this.MoreCategories.push($category_id);
+	this.updateMoreCategoriesField();
+}
+
+ItemCategories.prototype.SearchCategory = function($category_id) {
+	var $i = 0;
+	while ($i < this.CategoryTable.rows.length) {
+		if (this.CategoryTable.rows[$i].id == 'category_' + $category_id) {
+			return $i;
+		}
+		$i++;
+	}
+
+	return false;
+}
+
+ItemCategories.prototype.DeleteCategory = function($category_id) {
+	var $row_index = this.SearchCategory($category_id);
+
+	if ($row_index !== false) {
+		this.CategoryTable.deleteRow($row_index);
+		var $i = 0;
+		while ($i < this.MoreCategories.length) {
+			if (this.MoreCategories[$i] == $category_id) {
+				this.MoreCategories.splice($i, 1);
+				break;
+			}
+			$i++;
+		}
+		this.updateMoreCategoriesField();
+	}
+}
+
+ItemCategories.prototype.updateMoreCategoriesField = function() {
+	this.MoreCategoriesField.value = this.MoreCategories.length ? '|' + this.MoreCategories.join('|') + '|' : '';
+}
+
+function jq($selector) {
+	return $selector.replace(/(\[|\]|\.|:)/g, '\\$1');
+}
+
+function MultiLanguageSelector($language_info, $current_language) {
+	this._languageInfo = $language_info;
+	this._currentLanguage = $current_language;
+	this._controls = new Array ();
+
+	var $me = this;
+
+	$(document).ready(
+		function() {
+			$me.init();
+		}
+	);
+}
+
+MultiLanguageSelector.prototype.init = function () {
+	var $i = 0;
+	var $me = this;
+
+	while ($i < this._controls.length) {
+		// set current language
+		$( jq('#' + this._controls[$i]) ).data('PrevLanguage', this._currentLanguage);
+
+		for (var $language_id in this._languageInfo) {
+			var $id = this.inputForLanguage(this._controls[$i], $language_id);
+
+			$( jq('#' + $id + '_flag') ).each(
+				function() {
+					$(this)
+					.data('MainControl', $me._controls[$i])
+					.data('ThisLanguage', $language_id)
+					.click(
+						function ($event) {
+							var $this_flag = $(this);
+							var $this_language = $this_flag.data('ThisLanguage');
+
+							var $main_control = $('#' + jq($this_flag.data('MainControl')) );
+
+							var $prev_language = $main_control.data('PrevLanguage');
+							var $prev_flag = $( jq('#' + $me.inputForLanguage($main_control.attr('id'), $prev_language) + '_flag') );
+
+							var $language_info;
+
+							if ($this_language != $prev_language) {
+								// hide prev language input + enable it's flag
+								var $prev_image = $prev_flag.children('img:first');
+								if ($prev_image.length) {
+									// found image for given language
+									$language_info = $me._languageInfo[$prev_language];
+									$prev_image.attr('src', $prev_image.attr('src').replace($language_info.off, $language_info.on));
+								}
+								$( jq('#' + $prev_flag.attr('id').replace(/_flag$/, '_input') ) ).hide();
+
+								// show this language input + disable it's flag
+								var $this_image = $this_flag.children('img:first');
+								if ($this_image.length) {
+									// found image for given language
+									$language_info = $me._languageInfo[$this_language];
+									$this_image.attr('src', $this_image.attr('src').replace($language_info.on, $language_info.off));
+								}
+								var $this_container = $( jq('#' + $this_flag.attr('id').replace(/_flag$/, '_input') ) );
+								$this_container.show();
+
+								// focus on shown control
+								$('input:first, textarea:first', $this_container).focus();
+
+								// remember last used language
+								$main_control.data('PrevLanguage', $this_language);
+							}
+
+							$event.preventDefault();
+						}
+					);
+				}
+			);
+		}
+
+		$i++;
+	}
+}
+
+MultiLanguageSelector.prototype.inputForLanguage = function ($control_id, $language_id) {
+	return $control_id.replace('l' + this._currentLanguage + '_', 'l' + $language_id + '_');
+}
+
+MultiLanguageSelector.prototype.registerControl = function ($id) {
+	this._controls.push($id);
+}
+
Index: themes/advanced/platform/inc/nlsmenuext_xml.js
===================================================================
--- themes/advanced/platform/inc/nlsmenuext_xml.js	(revision 0)
+++ themes/advanced/platform/inc/nlsmenuext_xml.js	(revision 0)
@@ -0,0 +1,231 @@
+/**
+* nlsmenuext_xml.js v.1.0
+* Copyright 2005-2007, addobject.com. All Rights Reserved
+* Author Jack Hermanto, www.addobject.com
+*/
+var $nls_ieXML=["MSXML2.DOMDocument.4.0", "MSXML2.DOMDocument.3.0", "MSXML2.DOMDocument", "Microsoft.XmlDom"];
+
+function NlsMenuUtil() {}
+var NLSMNUTIL=NlsMenuUtil.prototype;
+
+function $aonvl(v, c) { if(v)return v; else return c; };
+function $aonevl(v, c) { if(!v || v=="")return c; else return v; };
+
+NlsMenuUtil.createFromXML=function(xml) {
+  var rt=xml.documentElement;
+  var mgr=new NlsMenuManager(rt.getAttribute("id"));
+  mgr.flowOverFormElement=$aonevl(rt.getAttribute("flowoverformelement"), false);
+  mgr.defaultEffect=$aonevl(rt.getAttribute("defaulteffect"), null);
+  mgr.icPath=$aonvl(rt.getAttribute("icpath"), "");
+  mgr.memorizeSel=$aonevl(rt.getAttribute("memorizesel"), false);
+
+  var dm=rt.getElementsByTagName("menubar")[0];
+  NlsMenuUtil.createMenu(dm, mgr);
+
+  var mns=rt.getElementsByTagName("menus")[0];
+  if(mns){
+    for (var i=0;i<mns.childNodes.length;i++){
+      dm=mns.childNodes[i];
+      if(dm.nodeType!=1)continue;
+      if(dm.nodeName=="menu") {
+        NlsMenuUtil.createMenu(dm, mgr);
+      }
+    }
+  }
+  return mgr;
+};
+
+NlsMenuUtil.createMenu=function(dm, mgr, pc) {
+  var id=dm.getAttribute("id"), mn=nlsMenu[id];
+  if(mn) {
+    if(pc!==true) {
+      mn.items=new Object(); mn.srItems=[];
+      mn.useEffect(mgr.defaultEffect);
+    }
+  } else mn=(dm.nodeName=="menubar"?mgr.createMenubar(id):mgr.createMenu(id));
+  var a=dm.attributes, n, v;
+  for(var i=0;i<a.length;i++) {
+    n=a[i].nodeName; v=a[i].nodeValue;
+    switch(n) {
+      case "orient":mn.orient=v;break;
+      case "showicon":mn.showIcon=(v=="true");break;
+      case "showsubicon":mn.showSubIcon=(v=="true");break;
+      case "target":mn.target=v;break;
+      case "stlprf":mn.stlprf=v;break;
+      case "submenuic": if(v && v!="") mn.subMenuIc=eval(v); break;
+      case "icpath":mn.icPath=v;
+      case "itemspc":mn.itemSpc=v;
+      case "droponclick":if(mn.isMenubar) {mn.dropOnClick=(v=="true");}
+    };
+  }
+
+  var its=dm.getElementsByTagName("items")[0].childNodes, ic="", itm;
+  for(var i=0;i<its.length;i++) {
+    a=its[i]; if(a.nodeType!=1) continue;
+    if(a.nodeName=="separator") {mn.addSeparator(); continue;}
+    ic=a.getAttribute("ico");
+    itm=mn.addItem(a.getAttribute("id"),
+      a.childNodes[0].nodeValue,
+      $aonvl(a.getAttribute("url"),null),
+      (!ic || ic==""?null:eval(ic)),
+      (!a.getAttribute("enb")?null:a.getAttribute("enb")=="true"),
+      null, $aonvl(a.getAttribute("title"),null)
+    );
+    itm.stlprf=$aonvl(a.getAttribute("stlprf"), "");
+    itm.target=a.getAttribute("target");
+    if(itm.target=="") itm.target=null;
+    if(a.getAttribute("subid")) {
+      mn.addSubmenu(a.getAttribute("id"),
+        a.getAttribute("subid"),
+        (!a.getAttribute("crsframe")?null:a.getAttribute("crsframe")=="true"),
+        (!a.getAttribute("subframe")?null:eval(a.getAttribute("subframe"))),
+        (!a.getAttribute("subpos")?null:eval(a.getAttribute("subpos"))),
+        (!a.getAttribute("subposadj")?null:eval(a.getAttribute("subposadj"))),
+        (!a.getAttribute("subdir")?null:eval(a.getAttribute("subdir")))
+      );
+
+      if(a.getAttribute("suburl")) {
+        mn.setSubmenuUrl(a.getAttribute("id"), NlsMenuUtil.formatRequest(a.getAttribute('suburl')));
+      }
+    }
+  }
+  return mn;
+};
+
+NlsMenuUtil.createFromXMLString=function(sXml) {;
+  var xml=NlsMenuUtil.createXMLDom(sXml);
+  return NlsMenuUtil.createFromXML(xml);
+};
+
+NlsMenuUtil.createFromXMLFile=function(fName) {
+  var xmlDom=NlsMenuUtil.$createDoc();
+  xmlDom.async=false;
+  xmlDom.load(fName);
+  return NlsMenuUtil.createFromXML(xmlDom);
+};
+
+NlsMenuUtil.formatRequest = function ($url) {
+	return $url += ($url.indexOf('?') ? '&' : '?') + 'ajax=yes';
+}
+/*mCnt: menu container/placeholder*/
+NlsMenuUtil.loadFromXMLFile=function(fName, mCnt) {
+  var req=NlsMenuUtil.createXMLRequest();
+  req.open("get", NlsMenuUtil.formatRequest(fName), true);
+  req.onreadystatechange=function() {
+    if(req.readyState==4) {
+      if(req.status==200 || req.status==304) {
+        var s="";
+        var mgr=NlsMenuUtil.createFromXML(req.responseXML);
+        for (it in mgr.menus) { s+=mgr.menus[it].renderMenu(); }
+        if(s!="") NlsMenuUtil.$createMenuDom(s);
+        if(mgr.menubar) mgr.renderMenubar(mCnt);
+      }
+    }
+  };
+  req.send(null);
+}
+
+NlsMenuUtil.createXMLDom=function(sXml) {
+  var xmlDom=null;
+  if (typeof DOMParser != "undefined") {
+    var parser=new DOMParser(); //gecko browser xml dom
+    xmlDom=parser.parseFromString(sXml, "text/xml");
+  } else {
+    xmlDom=NlsMenuUtil.$createDoc();
+    xmlDom.loadXML(sXml);
+  }
+  return xmlDom;
+};
+
+NlsMenuUtil.$createDoc=function() {
+  var xmlDom=null;
+  if(nls_isIE) {
+    for (var i=0;i<$nls_ieXML.length;i++) {
+      try {
+        xmlDom=new ActiveXObject($nls_ieXML[i]);
+        break;
+      } catch (e) {}
+    }
+  } else {
+    xmlDom=document.implementation.createDocument("","",null);
+  }
+  return xmlDom;
+};
+
+NlsMenuUtil.createXMLRequest=function() {
+  if (typeof XMLHttpRequest != "undefined") { //for mozilla
+    var httpReq=new XMLHttpRequest();
+    return httpReq;
+  } else {
+    var arrObj=["MSXML2.XMLHttp.4.0", "MSXML2.XMLHttp.3.0", "MSXML2.XMLHttp", "Microsoft.XMHttp"];
+    var oXml=null;
+    for (var i=0; i<arrObj.length; i++) {
+      try {
+        oXml=new ActiveXObject(arrObj[i]);
+        return oXml;
+      } catch (e) { }
+    }
+  }
+};
+
+/*AJAX Menu*/
+NlsMnMgr.loadingText="Loading menu, please wait...";
+
+NLSMENU.addAJAXSubmenu=function(key, subId, url, crsFrame, subFrame, subPos, subPosAdj, subDir) {
+  var it=this.addSubmenu(key, subId, crsFrame, subFrame, subPos, subPosAdj, subDir);
+  this.setSubmenuUrl(key, url);
+};
+
+NLSMENU.setSubmenuUrl=function(key, url) {
+  var it=this.items[this.mId+"_"+key];
+  it.rt.subUrl=url;
+  it.rt.loaded=0;
+};
+
+NlsMenuUtil.$createMenuDom=function(s) {
+  var dv=document.createElement("div");
+  dv.innerHTML=s;
+  document.body.insertBefore(dv, document.body.childNodes[0]);
+}
+
+NlsMenuUtil.loadAJAXMenu=function(mn, it) {
+  var mgr=mn.mgr;
+  var req=NlsMenuUtil.createXMLRequest();
+  req.open("get", it.rt.subUrl, true);
+  req.onreadystatechange=function() {
+    if(req.readyState==4) {
+      if(req.status==200 || req.status==304) {
+        var de=req.responseXML.documentElement;
+
+        if(!de||de.childNodes.length==0) { //if no submenu
+        } else {
+          de=de.childNodes; var sub=null, main=null; subs=new Object(), smenu="";
+          for(var i=0;i<de.length;i++){
+            if(de[i].nodeType!=1) continue;
+            sub=NlsMenuUtil.createMenu(de[i], mn.mgr);
+            if(sub.mId==it.subMenuId) { main=sub; } else { subs[sub.mId]=sub;}
+          }
+          for (var x in subs) { smenu+=subs[x].renderMenu(); }
+          if(smenu) {NlsMenuUtil.$createMenuDom(smenu);}
+          if(main) {
+            main.prIt=it.intKey; main.reload(true);
+            if(main.rt.active)NlsMenu.$showMenu(mn, it);
+            it.rt.loaded=2;
+          }
+        }
+      }
+    }
+  };
+  var smn=mgr.createMenu(it.subMenuId); smn.effect=null;
+  smn.addItem("ajaxload", mgr.loadingText);
+  NlsMenuUtil.$createMenuDom(smn.renderMenu());
+  NlsMenu.$showMenu(mn, it);
+  it.rt.loaded=1; //loading
+  req.send(null);
+}
+
+
+
+
+
+
Index: themes/advanced/platform/inc/calendar.js
===================================================================
--- themes/advanced/platform/inc/calendar.js	(revision 0)
+++ themes/advanced/platform/inc/calendar.js	(revision 0)
@@ -0,0 +1,1320 @@
+var cbPath = "";
+             /*
+preloadImage(cbPath);
+preloadImage(cbPathO);
+preloadImage(cbPathA);
+*/
+
+//addScript("core.js");
+//addScript("lang.js");
+
+//addCss("wnd.css");
+//addCss("calendar.css");
+
+function initCalendar(id, dateFormat)
+{
+	var input = document.getElementById(id);
+	if (!input) return;
+	input.dateFormat = dateFormat;
+	var cbPath = input.getAttribute("datepickerIcon");
+	
+	var inputContainer = document.createElement("DIV");
+	inputContainer.className = "dpContainer";
+	inputContainer.noWrap = true;
+	var pNode = input.parentNode;
+	pNode.insertBefore(inputContainer, input.nextSibling);
+//	   inputContainer.appendChild(pNode.removeChild(input));
+
+	var calendarButton = document.createElement("IMG");
+	calendarButton.setAttribute("width", "19");
+	calendarButton.setAttribute("height", "15");
+	calendarButton.setAttribute("align", "absMiddle");
+	calendarButton.style.width=19
+	calendarButton.style.height=15
+	calendarButton.style.cursor = "hand";
+
+	calendarButton.setAttribute("hspace", 2);
+	calendarButton.src = cbPath;
+	calendarButton.style.paddingLeft = '10px';
+	calendarButton.onmouseover = cbMouseOver;
+	calendarButton.onmouseout = cbMouseOut;
+	calendarButton.onmouseup = calendarButton.onmouseout;
+	calendarButton.onmousedown = cbMouseDown;
+	calendarButton.showCalendar = wnd_showCalendar;
+	inputContainer.appendChild(calendarButton);
+	inputContainer.dateInput = input;
+}
+
+var calendar;
+
+function cbMouseOver(e)
+{
+	//   this.src = cbPathO;
+	var evt = (e) ? e : event; if (evt) evt.cancelBubble = true;
+}
+
+function cbMouseOut(e)
+{
+	//   this.src = cbPath;
+	var evt = (e) ? e : event; if (evt) evt.cancelBubble = true;
+}
+
+function cbMouseDown(e)
+{
+	//   this.src = cbPathA;
+	// alert("cbMouseDown");
+	var evt = (e) ? e : event; if (evt) evt.cancelBubble = true;
+	this.showCalendar();
+}
+
+function wnd_showCalendar()
+{
+	var el = this.parentNode.dateInput;
+	if (calendar != null) calendar.hide();
+	else
+	{
+		var calendarObject = new Calendar(false, null, dateSelected, closeHandler);
+		calendar = calendarObject;
+		calendarObject.setRange(1900, 2070);
+		calendarObject.create();
+	}
+	calendar.setDateFormat(el.dateFormat);
+	calendar.parseDate(el.value);
+	calendar.sel = el;
+	calendar.showAtElement(el);
+
+	Calendar.addEvent(document, "mousedown", checkCalendar);
+	return false;
+}
+
+function dateSelected(calendarObject, date)
+{
+	calendarObject.sel.value = date;
+	calendarObject.callCloseHandler();
+}
+
+function closeHandler(calendarObject)
+{
+	calendarObject.hide();
+	Calendar.removeEvent(document, "mousedown", checkCalendar);
+}
+
+function checkCalendar(ev)
+{
+	var el = Calendar.is_ie ? Calendar.getElement(ev) : Calendar.getTargetElement(ev);
+
+	for (; el != null; el = el.parentNode)
+	if (el == calendar.element || el.tagName == "A") break;
+
+	if (el == null)
+	{
+		calendar.callCloseHandler();
+		Calendar.stopEvent(ev);
+	}
+}
+
+function preloadImage(path)
+{
+	var img = new Image();
+	img.src = path;
+	preloadImages.push(img);
+}
+
+function addCss(path)
+{
+	path = cssPath + path;
+	document.write("<link rel='stylesheet' href='" + path + "' type='text/css'/>");
+}
+
+/*<CORE>*/
+/* Copyright Mihai Bazon, 2002
+* http://students.infoiasi.ro/~mishoo
+*
+* Version: 0.9.1
+*
+* Feel free to use this script under the terms of the GNU General Public
+* License, as long as you do not remove or alter this notice.
+*/
+
+/** The Calendar object constructor. */
+Calendar = function (mondayFirst, dateStr, onSelected, onClose) {
+	// member variables
+	this.activeDiv = null;
+	this.currentDateEl = null;
+	this.checkDisabled = null;
+	this.timeout = null;
+	this.onSelected = onSelected || null;
+	this.onClose = onClose || null;
+	this.dragging = false;
+	this.minYear = 1970;
+	this.maxYear = 2050;
+	this.dateFormat = Calendar._TT["DEF_DATE_FORMAT"];
+	this.ttDateFormat = Calendar._TT["TT_DATE_FORMAT"];
+	this.isPopup = true;
+	this.mondayFirst = mondayFirst;
+	this.dateStr = dateStr;
+	// HTML elements
+	this.table = null;
+	this.element = null;
+	this.tbody = null;
+	this.daynames = null;
+	// Combo boxes
+	this.monthsCombo = null;
+	this.yearsCombo = null;
+	this.hilitedMonth = null;
+	this.activeMonth = null;
+	this.hilitedYear = null;
+	this.activeYear = null;
+
+	// one-time initializations
+	if (!Calendar._DN3) {
+		// table of short day names
+		var ar = new Array();
+		for (var i = 8; i > 0;) {
+			ar[--i] = Calendar._DN[i].substr(0, 3);
+		}
+		Calendar._DN3 = ar;
+		// table of short month names
+		ar = new Array();
+		for (var i = 12; i > 0;) {
+			ar[--i] = Calendar._MN[i].substr(0, 3);
+		}
+		Calendar._MN3 = ar;
+	}
+};
+
+// ** constants
+
+/// "static", needed for event handlers.
+Calendar._C = null;
+
+/// detect a special case of "web browser"
+Calendar.is_ie = ( (navigator.userAgent.toLowerCase().indexOf("msie") != -1) &&
+(navigator.userAgent.toLowerCase().indexOf("opera") == -1) );
+
+// short day names array (initialized at first constructor call)
+Calendar._DN3 = null;
+
+// short month names array (initialized at first constructor call)
+Calendar._MN3 = null;
+
+// BEGIN: UTILITY FUNCTIONS; beware that these might be moved into a separate
+//        library, at some point.
+
+Calendar.getAbsolutePos = function(el) {
+	var r = { x: el.offsetLeft, y: el.offsetTop };
+	if (el.offsetParent) {
+		var tmp = Calendar.getAbsolutePos(el.offsetParent);
+		r.x += tmp.x;
+		r.y += tmp.y;
+	}
+	return r;
+};
+
+Calendar.isRelated = function (el, evt) {
+	var related = evt.relatedTarget;
+	if (!related) {
+		var type = evt.type;
+		if (type == "mouseover") {
+			related = evt.fromElement;
+		} else if (type == "mouseout") {
+			related = evt.toElement;
+		}
+	}
+	while (related) {
+		if (related == el) {
+			return true;
+		}
+		related = related.parentNode;
+	}
+	return false;
+};
+
+Calendar.removeClass = function(el, className) {
+	if (!(el && el.className)) {
+		return;
+	}
+	var cls = el.className.split(" ");
+	var ar = new Array();
+	for (var i = cls.length; i > 0;) {
+		if (cls[--i] != className) {
+			ar[ar.length] = cls[i];
+		}
+	}
+	el.className = ar.join(" ");
+};
+
+Calendar.addClass = function(el, className) {
+	el.className += " " + className;
+};
+
+Calendar.getElement = function(ev) {
+	if (Calendar.is_ie) {
+		return window.event.srcElement;
+	} else {
+		return ev.currentTarget;
+	}
+};
+
+Calendar.getTargetElement = function(ev) {
+	if (Calendar.is_ie) {
+		return window.event.srcElement;
+	} else {
+		return ev.target;
+	}
+};
+
+Calendar.stopEvent = function(ev) {
+	if (Calendar.is_ie) {
+		window.event.cancelBubble = true;
+		window.event.returnValue = false;
+	} else {
+		ev.preventDefault();
+		ev.stopPropagation();
+	}
+};
+
+Calendar.addEvent = function(el, evname, func) {
+	if (Calendar.is_ie) {
+		el.attachEvent("on" + evname, func);
+	} else {
+		el.addEventListener(evname, func, true);
+	}
+};
+
+Calendar.removeEvent = function(el, evname, func) {
+	if (Calendar.is_ie) {
+		el.detachEvent("on" + evname, func);
+	} else {
+		el.removeEventListener(evname, func, true);
+	}
+};
+
+Calendar.createElement = function(type, parent) {
+	var el = null;
+	if (document.createElementNS) {
+		// use the XHTML namespace; IE won't normally get here unless
+		// _they_ "fix" the DOM2 implementation.
+		el = document.createElementNS("http://www.w3.org/1999/xhtml", type);
+	} else {
+		el = document.createElement(type);
+	}
+	if (typeof parent != "undefined") {
+		parent.appendChild(el);
+	}
+	return el;
+};
+
+// END: UTILITY FUNCTIONS
+
+// BEGIN: CALENDAR STATIC FUNCTIONS
+
+/** Internal -- adds a set of events to make some element behave like a button. */
+Calendar._add_evs = function(el) {
+	with (Calendar) {
+		addEvent(el, "mouseover", dayMouseOver);
+		addEvent(el, "mousedown", dayMouseDown);
+		addEvent(el, "mouseout", dayMouseOut);
+		if (is_ie) {
+			addEvent(el, "dblclick", dayMouseDblClick);
+			el.setAttribute("unselectable", true);
+		}
+	}
+};
+
+Calendar.findMonth = function(el) {
+	if (typeof el.month != "undefined") {
+		return el;
+	} else if (typeof el.parentNode.month != "undefined") {
+		return el.parentNode;
+	}
+	return null;
+};
+
+Calendar.findYear = function(el) {
+	if (typeof el.year != "undefined") {
+		return el;
+	} else if (typeof el.parentNode.year != "undefined") {
+		return el.parentNode;
+	}
+	return null;
+};
+
+Calendar.showMonthsCombo = function () {
+	var cal = Calendar._C;
+	if (!cal) {
+		return false;
+	}
+	var cal = cal;
+	var cd = cal.activeDiv;
+	var mc = cal.monthsCombo;
+	if (cal.hilitedMonth) {
+		Calendar.removeClass(cal.hilitedMonth, "hilite");
+	}
+	if (cal.activeMonth) {
+		Calendar.removeClass(cal.activeMonth, "active");
+	}
+	var mon = cal.monthsCombo.getElementsByTagName("div")[cal.date.getMonth()];
+	Calendar.addClass(mon, "active");
+	cal.activeMonth = mon;
+	mc.style.left = cd.offsetLeft;
+	mc.style.top = cd.offsetTop + cd.offsetHeight;
+	mc.style.display = "block";
+};
+
+Calendar.showYearsCombo = function (fwd) {
+	var cal = Calendar._C;
+	if (!cal) {
+		return false;
+	}
+	var cal = cal;
+	var cd = cal.activeDiv;
+	var yc = cal.yearsCombo;
+	if (cal.hilitedYear) {
+		Calendar.removeClass(cal.hilitedYear, "hilite");
+	}
+	if (cal.activeYear) {
+		Calendar.removeClass(cal.activeYear, "active");
+	}
+	cal.activeYear = null;
+	var Y = cal.date.getFullYear() + (fwd ? 1 : -1);
+	var yr = yc.firstChild;
+	var show = false;
+	for (var i = 12; i > 0; --i) {
+		if (Y >= cal.minYear && Y <= cal.maxYear) {
+			yr.firstChild.data = Y;
+			yr.year = Y;
+			yr.style.display = "block";
+			show = true;
+		} else {
+			yr.style.display = "none";
+		}
+		yr = yr.nextSibling;
+		Y += fwd ? 2 : -2;
+	}
+	if (show) {
+		yc.style.left = cd.offsetLeft;
+		yc.style.top = cd.offsetTop + cd.offsetHeight;
+		yc.style.display = "block";
+	}
+};
+
+// event handlers
+
+Calendar.tableMouseUp = function(ev) {
+	var cal = Calendar._C;
+	if (!cal) {
+		return false;
+	}
+	if (cal.timeout) {
+		clearTimeout(cal.timeout);
+	}
+	var el = cal.activeDiv;
+	if (!el) {
+		return false;
+	}
+	var target = Calendar.getTargetElement(ev);
+	Calendar.removeClass(el, "active");
+	if (target == el || target.parentNode == el) {
+		Calendar.cellClick(el);
+	}
+	var mon = Calendar.findMonth(target);
+	var date = null;
+	if (mon) {
+		date = new Date(cal.date);
+		if (mon.month != date.getMonth()) {
+			date.setMonth(mon.month);
+			cal.setDate(date);
+		}
+	} else {
+		var year = Calendar.findYear(target);
+		if (year) {
+			date = new Date(cal.date);
+			if (year.year != date.getFullYear()) {
+				date.setFullYear(year.year);
+				cal.setDate(date);
+			}
+		}
+	}
+	with (Calendar) {
+		removeEvent(document, "mouseup", tableMouseUp);
+		removeEvent(document, "mouseover", tableMouseOver);
+		removeEvent(document, "mousemove", tableMouseOver);
+		cal._hideCombos();
+		stopEvent(ev);
+		_C = null;
+	}
+};
+
+Calendar.tableMouseOver = function (ev) {
+	var cal = Calendar._C;
+	if (!cal) {
+		return;
+	}
+	var el = cal.activeDiv;
+	var target = Calendar.getTargetElement(ev);
+	if (target == el || target.parentNode == el) {
+		Calendar.addClass(el, "hilite active");
+	} else {
+		Calendar.removeClass(el, "active");
+		Calendar.removeClass(el, "hilite");
+	}
+	var mon = Calendar.findMonth(target);
+	if (mon) {
+		if (mon.month != cal.date.getMonth()) {
+			if (cal.hilitedMonth) {
+				Calendar.removeClass(cal.hilitedMonth, "hilite");
+			}
+			Calendar.addClass(mon, "hilite");
+			cal.hilitedMonth = mon;
+		} else if (cal.hilitedMonth) {
+			Calendar.removeClass(cal.hilitedMonth, "hilite");
+		}
+	} else {
+		var year = Calendar.findYear(target);
+		if (year) {
+			if (year.year != cal.date.getFullYear()) {
+				if (cal.hilitedYear) {
+					Calendar.removeClass(cal.hilitedYear, "hilite");
+				}
+				Calendar.addClass(year, "hilite");
+				cal.hilitedYear = year;
+			} else if (cal.hilitedYear) {
+				Calendar.removeClass(cal.hilitedYear, "hilite");
+			}
+		}
+	}
+	Calendar.stopEvent(ev);
+};
+
+Calendar.tableMouseDown = function (ev) {
+	if (Calendar.getTargetElement(ev) == Calendar.getElement(ev)) {
+		Calendar.stopEvent(ev);
+	}
+};
+
+Calendar.calDragIt = function (ev) {
+	var cal = Calendar._C;
+	if (!(cal && cal.dragging)) {
+		return false;
+	}
+	var posX;
+	var posY;
+	if (Calendar.is_ie) {
+		posY = window.event.clientY + document.body.scrollTop;
+		posX = window.event.clientX + document.body.scrollLeft;
+	} else {
+		posX = ev.pageX;
+		posY = ev.pageY;
+	}
+	cal.hideShowCovered();
+	var st = cal.element.style;
+	st.left = (posX - cal.xOffs) + "px";
+	st.top = (posY - cal.yOffs) + "px";
+	Calendar.stopEvent(ev);
+};
+
+Calendar.calDragEnd = function (ev) {
+	var cal = Calendar._C;
+	if (!cal) {
+		return false;
+	}
+	cal.dragging = false;
+	with (Calendar) {
+		removeEvent(document, "mousemove", calDragIt);
+		removeEvent(document, "mouseover", stopEvent);
+		removeEvent(document, "mouseup", calDragEnd);
+		tableMouseUp(ev);
+	}
+	cal.hideShowCovered();
+};
+
+Calendar.dayMouseDown = function(ev) {
+	var el = Calendar.getElement(ev);
+	if (el.disabled) {
+		return false;
+	}
+	var cal = el.calendar;
+	cal.activeDiv = el;
+	Calendar._C = cal;
+	if (el.navtype != 300) with (Calendar) {
+		addClass(el, "hilite active");
+		addEvent(document, "mouseover", tableMouseOver);
+		addEvent(document, "mousemove", tableMouseOver);
+		addEvent(document, "mouseup", tableMouseUp);
+	} else if (cal.isPopup) {
+		cal._dragStart(ev);
+	}
+	Calendar.stopEvent(ev);
+	if (el.navtype == -1 || el.navtype == 1) {
+		cal.timeout = setTimeout("Calendar.showMonthsCombo()", 250);
+	} else if (el.navtype == -2 || el.navtype == 2) {
+		cal.timeout = setTimeout((el.navtype > 0) ? "Calendar.showYearsCombo(true)" : "Calendar.showYearsCombo(false)", 250);
+	} else {
+		cal.timeout = null;
+	}
+};
+
+Calendar.dayMouseDblClick = function(ev) {
+	Calendar.cellClick(Calendar.getElement(ev));
+	if (Calendar.is_ie) {
+		document.selection.empty();
+	}
+};
+
+Calendar.dayMouseOver = function(ev) {
+	var el = Calendar.getElement(ev);
+	if (Calendar.isRelated(el, ev) || Calendar._C || el.disabled) {
+		return false;
+	}
+	if (el.ttip) {
+		if (el.ttip.substr(0, 1) == "_") {
+			var date = null;
+			with (el.calendar.date) {
+				date = new Date(getFullYear(), getMonth(), el.caldate);
+			}
+			el.ttip = date.print(el.calendar.ttDateFormat) + el.ttip.substr(1);
+		}
+		el.calendar.tooltips.firstChild.data = el.ttip;
+	}
+	if (el.navtype != 300) {
+		Calendar.addClass(el, "hilite");
+	}
+	Calendar.stopEvent(ev);
+};
+
+Calendar.dayMouseOut = function(ev) {
+	with (Calendar) {
+		var el = getElement(ev);
+		if (isRelated(el, ev) || _C || el.disabled) {
+			return false;
+		}
+		removeClass(el, "hilite");
+		el.calendar.tooltips.firstChild.data = _TT["SEL_DATE"];
+		stopEvent(ev);
+	}
+};
+
+/**
+*  A generic "click" handler :) handles all types of buttons defined in this
+*  calendar.
+*/
+Calendar.cellClick = function(el) {
+	var cal = el.calendar;
+	var closing = false;
+	var newdate = false;
+	var date = null;
+	if (typeof el.navtype == "undefined") {
+		Calendar.removeClass(cal.currentDateEl, "selected");
+		Calendar.addClass(el, "selected");
+		closing = (cal.currentDateEl == el);
+		if (!closing) {
+			cal.currentDateEl = el;
+		}
+		cal.date.setDate(el.caldate);
+		date = cal.date;
+		newdate = true;
+	} else {
+		if (el.navtype == 200) {
+			Calendar.removeClass(el, "hilite");
+			cal.callCloseHandler();
+			return;
+		}
+		date = (el.navtype == 0) ? new Date() : new Date(cal.date);
+		var year = date.getFullYear();
+		var mon = date.getMonth();
+		var setMonth = function (mon) {
+			var day = date.getDate();
+			var max = date.getMonthDays();
+			if (day > max) {
+				date.setDate(max);
+			}
+			date.setMonth(mon);
+		};
+		switch (el.navtype) {
+			case -2:
+			if (year > cal.minYear) {
+				date.setFullYear(year - 1);
+			}
+			break;
+			case -1:
+			if (mon > 0) {
+				setMonth(mon - 1);
+			} else if (year-- > cal.minYear) {
+				date.setFullYear(year);
+				setMonth(11);
+			}
+			break;
+			case 1:
+			if (mon < 11) {
+				setMonth(mon + 1);
+			} else if (year < cal.maxYear) {
+				date.setFullYear(year + 1);
+				setMonth(0);
+			}
+			break;
+			case 2:
+			if (year < cal.maxYear) {
+				date.setFullYear(year + 1);
+			}
+			break;
+			case 100:
+			cal.setMondayFirst(!cal.mondayFirst);
+			return;
+		}
+		if (!date.equalsTo(cal.date)) {
+			cal.setDate(date);
+			newdate = el.navtype == 0;
+		}
+	}
+	if (newdate) {
+		cal.callHandler();
+	}
+	if (closing) {
+		Calendar.removeClass(el, "hilite");
+		cal.callCloseHandler();
+	}
+};
+
+// END: CALENDAR STATIC FUNCTIONS
+
+// BEGIN: CALENDAR OBJECT FUNCTIONS
+
+/**
+*  This function creates the calendar inside the given parent.  If _par is
+*  null than it creates a popup calendar inside the BODY element.  If _par is
+*  an element, be it BODY, then it creates a non-popup calendar (still
+*  hidden).  Some properties need to be set before calling this function.
+*/
+Calendar.prototype.create = function (_par) {
+	var parent = null;
+	if (! _par) {
+		// default parent is the document body, in which case we create
+		// a popup calendar.
+		parent = document.getElementsByTagName("body")[0];
+		this.isPopup = true;
+	} else {
+		parent = _par;
+		this.isPopup = false;
+	}
+	this.date = this.dateStr ? new Date(this.dateStr) : new Date();
+
+	var table = Calendar.createElement("table");
+	this.table = table;
+	table.cellSpacing = 0;
+	table.cellPadding = 0;
+	table.style.width = 'auto';
+	table.calendar = this;
+	Calendar.addEvent(table, "mousedown", Calendar.tableMouseDown);
+
+	var div = Calendar.createElement("div");
+	this.element = div;
+	div.className = "calendar";
+	if (this.isPopup) {
+		div.style.position = "absolute";
+		div.style.display = "none";
+	}
+	div.appendChild(table);
+
+	var thead = Calendar.createElement("thead", table);
+	var cell = null;
+	var row = null;
+
+	var cal = this;
+	var hh = function (text, cs, navtype) {
+		cell = Calendar.createElement("td", row);
+		cell.colSpan = cs;
+		cell.className = "calendar_button";
+		Calendar._add_evs(cell);
+		cell.calendar = cal;
+		cell.navtype = navtype;
+		if (text.substr(0, 1) != "&") {
+			cell.appendChild(document.createTextNode(text));
+		}
+		else {
+			// FIXME: dirty hack for entities
+			cell.innerHTML = text;
+		}
+		return cell;
+	};
+
+	row = Calendar.createElement("tr", thead);
+	row.className = "headrow";
+
+	hh("-", 1, 100).ttip = Calendar._TT["TOGGLE"];
+	this.title = hh("", this.isPopup ? 5 : 6, 300);
+	this.title.className = "title";
+	if (this.isPopup) {
+		this.title.ttip = Calendar._TT["DRAG_TO_MOVE"];
+		this.title.style.cursor = "move";
+		hh("X", 1, 200).ttip = Calendar._TT["CLOSE"];
+	}
+
+	row = Calendar.createElement("tr", thead);
+	row.className = "headrow";
+
+	hh("&#x00ab;", 1, -2).ttip = Calendar._TT["PREV_YEAR"];
+	hh("&#x2039;", 1, -1).ttip = Calendar._TT["PREV_MONTH"];
+	hh(Calendar._TT["TODAY"], 3, 0).ttip = Calendar._TT["GO_TODAY"];
+	hh("&#x203a;", 1, 1).ttip = Calendar._TT["NEXT_MONTH"];
+	hh("&#x00bb;", 1, 2).ttip = Calendar._TT["NEXT_YEAR"];
+
+	// day names
+	row = Calendar.createElement("tr", thead);
+	row.className = "daynames";
+	this.daynames = row;
+	for (var i = 7; i > 0; --i) {
+		cell = Calendar.createElement("td", row);
+		cell.appendChild(document.createTextNode(""));
+		if (!i) {
+			cell.navtype = 100;
+			cell.calendar = this;
+			Calendar._add_evs(cell);
+		}
+	}
+	this._displayWeekdays();
+
+	var tbody = Calendar.createElement("tbody", table);
+	this.tbody = tbody;
+
+	for (i = 6; i > 0; --i) {
+		row = Calendar.createElement("tr", tbody);
+		for (var j = 7; j > 0; --j) {
+			cell = Calendar.createElement("td", row);
+			cell.appendChild(document.createTextNode(""));
+			cell.calendar = this;
+			Calendar._add_evs(cell);
+		}
+	}
+
+	var tfoot = Calendar.createElement("tfoot", table);
+
+	row = Calendar.createElement("tr", tfoot);
+	row.className = "footrow";
+
+	cell = hh(Calendar._TT["SEL_DATE"], 7, 300);
+	cell.className = "title";
+	if (this.isPopup) {
+		cell.ttip = Calendar._TT["DRAG_TO_MOVE"];
+		cell.style.cursor = "move";
+	}
+	this.tooltips = cell;
+
+	div = Calendar.createElement("div", this.element);
+	this.monthsCombo = div;
+	div.className = "combo";
+	for (i = 0; i < Calendar._MN.length; ++i) {
+		var mn = Calendar.createElement("div");
+		mn.className = "label";
+		mn.month = i;
+		mn.appendChild(document.createTextNode(Calendar._MN3[i]));
+		div.appendChild(mn);
+	}
+
+	div = Calendar.createElement("div", this.element);
+	this.yearsCombo = div;
+	div.className = "combo";
+	for (i = 12; i > 0; --i) {
+		var yr = Calendar.createElement("div");
+		yr.className = "label";
+		yr.appendChild(document.createTextNode(""));
+		div.appendChild(yr);
+	}
+
+	this._init(this.mondayFirst, this.date);
+	parent.appendChild(this.element);
+};
+
+/**
+*  (RE)Initializes the calendar to the given date and style (if mondayFirst is
+*  true it makes Monday the first day of week, otherwise the weeks start on
+*  Sunday.
+*/
+Calendar.prototype._init = function (mondayFirst, date) {
+	var today = new Date();
+	var year = date.getFullYear();
+	if (year < this.minYear) {
+		year = this.minYear;
+		date.setFullYear(year);
+	} else if (year > this.maxYear) {
+		year = this.maxYear;
+		date.setFullYear(year);
+	}
+	this.mondayFirst = mondayFirst;
+	this.date = new Date(date);
+	var month = date.getMonth();
+	var mday = date.getDate();
+	var no_days = date.getMonthDays();
+	date.setDate(1);
+	var wday = date.getDay();
+	var MON = mondayFirst ? 1 : 0;
+	var SAT = mondayFirst ? 5 : 6;
+	var SUN = mondayFirst ? 6 : 0;
+	if (mondayFirst) {
+		wday = (wday > 0) ? (wday - 1) : 6;
+	}
+	var iday = 1;
+	var row = this.tbody.firstChild;
+	var MN = Calendar._MN3[month];
+	var hasToday = ((today.getFullYear() == year) && (today.getMonth() == month));
+	var todayDate = today.getDate();
+	for (var i = 0; i < 6; ++i) {
+		if (iday > no_days) {
+			row.className = "emptyrow";
+			row = row.nextSibling;
+			continue;
+		}
+		var cell = row.firstChild;
+		row.className = "daysrow";
+		for (var j = 0; j < 7; ++j) {
+			if ((!i && j < wday) || iday > no_days) {
+				cell.className = "emptycell";
+				cell = cell.nextSibling;
+				continue;
+			}
+			cell.firstChild.data = iday;
+			cell.className = "day";
+			cell.disabled = false;
+			if (typeof this.checkDisabled == "function") {
+				date.setDate(iday);
+				if (this.checkDisabled(date)) {
+					cell.className += " disabled";
+					cell.disabled = true;
+				}
+			}
+			if (!cell.disabled) {
+				cell.caldate = iday;
+				cell.ttip = "_";
+				if (iday == mday) {
+					cell.className += " selected";
+					this.currentDateEl = cell;
+				}
+				if (hasToday && (iday == todayDate)) {
+					cell.className += " today";
+					cell.ttip += Calendar._TT["PART_TODAY"];
+				}
+				if (wday == SAT || wday == SUN) {
+					cell.className += " weekend";
+				}
+			}
+			++iday;
+			((++wday) ^ 7) || (wday = 0);
+			cell = cell.nextSibling;
+		}
+		row = row.nextSibling;
+	}
+	this.title.firstChild.data = Calendar._MN[month] + ", " + year;
+	// PROFILE
+	// this.tooltips.firstChild.data = "Generated in " + ((new Date()) - today) + " ms";
+};
+
+/**
+*  Calls _init function above for going to a certain date (but only if the
+*  date is different than the currently selected one).
+*/
+Calendar.prototype.setDate = function (date) {
+	if (!date.equalsTo(this.date)) {
+		this._init(this.mondayFirst, date);
+	}
+};
+
+/** Modifies the "mondayFirst" parameter (EU/US style). */
+Calendar.prototype.setMondayFirst = function (mondayFirst) {
+	this._init(mondayFirst, this.date);
+	this._displayWeekdays();
+};
+
+/**
+*  Allows customization of what dates are enabled.  The "unaryFunction"
+*  parameter must be a function object that receives the date (as a JS Date
+*  object) and returns a boolean value.  If the returned value is true then
+*  the passed date will be marked as disabled.
+*/
+Calendar.prototype.setDisabledHandler = function (unaryFunction) {
+	this.checkDisabled = unaryFunction;
+};
+
+/** Customization of allowed year range for the calendar. */
+Calendar.prototype.setRange = function (a, z) {
+	this.minYear = a;
+	this.maxYear = z;
+};
+
+/** Calls the first user handler (selectedHandler). */
+Calendar.prototype.callHandler = function () {
+	if (this.onSelected) {
+		this.onSelected(this, this.date.print(this.dateFormat));
+	}
+};
+
+/** Calls the second user handler (closeHandler). */
+Calendar.prototype.callCloseHandler = function () {
+	if (this.onClose) {
+		this.onClose(this);
+	}
+	this.hideShowCovered();
+};
+
+/** Removes the calendar object from the DOM tree and destroys it. */
+Calendar.prototype.destroy = function () {
+	var el = this.element.parentNode;
+	el.removeChild(this.element);
+	Calendar._C = null;
+	delete el;
+};
+
+/**
+*  Moves the calendar element to a different section in the DOM tree (changes
+*  its parent).
+*/
+Calendar.prototype.reparent = function (new_parent) {
+	var el = this.element;
+	el.parentNode.removeChild(el);
+	new_parent.appendChild(el);
+};
+
+/** Shows the calendar. */
+Calendar.prototype.show = function () {
+	this.element.style.display = "block";
+	this.hideShowCovered();
+};
+
+/**
+*  Hides the calendar.  Also removes any "hilite" from the class of any TD
+*  element.
+*/
+Calendar.prototype.hide = function () {
+	var trs = this.table.getElementsByTagName("td");
+	for (var i = trs.length; i > 0; ) {
+		Calendar.removeClass(trs[--i], "hilite");
+	}
+	this.element.style.display = "none";
+};
+
+/**
+*  Shows the calendar at a given absolute position (beware that, depending on
+*  the calendar element style -- position property -- this might be relative
+*  to the parent's containing rectangle).
+*/
+Calendar.prototype.showAt = function (x, y) {
+	var s = this.element.style;
+	s.left = x + "px";
+	s.top = y + "px";
+	this.show();
+};
+
+/** Shows the calendar near a given element. */
+Calendar.prototype.showAtElement = function (el) {
+	var p = Calendar.getAbsolutePos(el);
+
+	var cw = 190;
+	var ch = -200;
+
+	if (Calendar.is_ie)
+	{
+		var posX = getWndX(el) + el.offsetWidth + 18; if (posX + ch > document.body.scrollLeft + document.body.offsetWidth) posX = document.body.scrollLeft + document.body.offsetWidth - ch
+		var posY = p.y + el.offsetHeight; if (posY + cw > document.body.scrollTop + document.body.offsetHeight) posY = getWndY(el) - cw;
+		//document.body.scrollTop + document.body.offsetHeight - cw - el.offsetHeight
+		this.showAt(posX, posY);
+	}
+	else
+	{
+		// for other browsers types
+		this.showAt(getWndX(el) + el.offsetWidth + 30, p.y + el.offsetHeight-200);
+	}
+};
+
+function getWndC(object, c)
+{
+	pos = 0;
+	while (object != null)
+	{
+		pos += (c == "y") ? object.offsetTop : object.offsetLeft;
+		object = object.offsetParent;
+	}
+	return pos;
+}
+
+function getWndX(object) {return getWndC(object, "x")}
+function getWndY(object) {return getWndC(object, "y")}
+
+
+/** Customizes the date format. */
+Calendar.prototype.setDateFormat = function (str) {
+	this.dateFormat = str;
+};
+
+/** Customizes the tooltip date format. */
+Calendar.prototype.setTtDateFormat = function (str) {
+	this.ttDateFormat = str;
+};
+
+/**
+*  Tries to identify the date represented in a string.  If successful it also
+*  calls this.setDate which moves the calendar to the given date.
+*/
+Calendar.prototype.parseDate = function (str, fmt) {
+	var y = 0;
+	var m = -1;
+	var d = 0;
+	var a = str.split(/\W+/);
+	if (!fmt) {
+		fmt = this.dateFormat;
+	}
+	var b = fmt.split(/\W+/);
+	var i = 0, j = 0;
+	for (i = 0; i < a.length; ++i) {
+		if (b[i] == "D" || b[i] == "DD") {
+			continue;
+		}
+		if (b[i] == "j" || b[i] == "d") {
+			d = a[i];
+		}
+		if (b[i] == "n" || b[i] == "m") {
+			m = a[i]-1;
+		}
+		//      if (b[i] == "y") {
+		//         y = a[i];
+		//      }
+		if ((b[i] == "Y")||(b[i] == "y")) {
+			//      if (b[i] == "yy") {
+			if (a[i].length == 4) {
+				y = a[i];
+			}
+			else {
+				if (parseInt(a[i]) < 70) {
+					y = parseInt(a[i]) + 2000;
+				}
+				else {
+					y = parseInt(a[i]) + 1900;
+				}
+			}
+		}
+		if (b[i] == "M" || b[i] == "MM") {
+			for (j = 0; j < 12; ++j) {
+				if (Calendar._MN[j].substr(0, a[i].length).toLowerCase() == a[i].toLowerCase()) { m = j; break; }
+			}
+		}
+	}
+	if (y != 0 && m != -1 && d != 0) {
+		this.setDate(new Date(y, m, d));
+		return;
+	}
+	y = 0; m = -1; d = 0;
+	for (i = 0; i < a.length; ++i) {
+		if (a[i].search(/[a-zA-Z]+/) != -1) {
+			var t = -1;
+			for (j = 0; j < 12; ++j) {
+				if (Calendar._MN[j].substr(0, a[i].length).toLowerCase() == a[i].toLowerCase()) { t = j; break; }
+			}
+			if (t != -1) {
+				if (m != -1) {
+					d = m+1;
+				}
+				m = t;
+			}
+		} else if (parseInt(a[i]) <= 12 && m == -1) {
+			m = a[i]-1;
+		} else if (parseInt(a[i]) > 31 && y == 0) {
+			y = a[i];
+		} else if (d == 0) {
+			d = a[i];
+		}
+	}
+	if (y == 0) {
+		var today = new Date();
+		y = today.getFullYear();
+	}
+	if (m != -1 && d != 0) {
+		this.setDate(new Date(y, m, d));
+	}
+};
+
+Calendar.prototype.hideShowCovered = function () {
+	var tags = new Array("applet", "iframe", "select");
+	var el = this.element;
+
+	var p = Calendar.getAbsolutePos(el);
+	var EX1 = p.x;
+	var EX2 = el.offsetWidth + EX1;
+	var EY1 = p.y;
+	var EY2 = el.offsetHeight + EY1;
+
+	for (var k = tags.length; k > 0; ) {
+		var ar = document.getElementsByTagName(tags[--k]);
+		var cc = null;
+
+		for (var i = ar.length; i > 0;) {
+			cc = ar[--i];
+
+			p = Calendar.getAbsolutePos(cc);
+			var CX1 = p.x;
+			var CX2 = cc.offsetWidth + CX1;
+			var CY1 = p.y;
+			var CY2 = cc.offsetHeight + CY1;
+
+			if ((CX1 > EX2) || (CX2 < EX1) || (CY1 > EY2) || (CY2 < EY1)) {
+				cc.style.visibility = "visible";
+			} else {
+				cc.style.visibility = "hidden";
+			}
+		}
+	}
+};
+
+/** Internal function; it displays the bar with the names of the weekday. */
+Calendar.prototype._displayWeekdays = function () {
+	var MON = this.mondayFirst ? 0 : 1;
+	var SUN = this.mondayFirst ? 6 : 0;
+	var SAT = this.mondayFirst ? 5 : 6;
+	var cell = this.daynames.firstChild;
+	for (var i = 0; i < 7; ++i) {
+		cell.className = "day name";
+		if (!i) {
+			cell.ttip = this.mondayFirst ? Calendar._TT["SUN_FIRST"] : Calendar._TT["MON_FIRST"];
+			cell.navtype = 100;
+			cell.calendar = this;
+			Calendar._add_evs(cell);
+		}
+		if (i == SUN || i == SAT) {
+			Calendar.addClass(cell, "weekend");
+		}
+		cell.firstChild.data = Calendar._DN3[i + 1 - MON];
+		cell = cell.nextSibling;
+	}
+};
+
+/** Internal function.  Hides all combo boxes that might be displayed. */
+Calendar.prototype._hideCombos = function () {
+	this.monthsCombo.style.display = "none";
+	this.yearsCombo.style.display = "none";
+};
+
+/** Internal function.  Starts dragging the element. */
+Calendar.prototype._dragStart = function (ev) {
+	if (this.dragging) {
+		return;
+	}
+	this.dragging = true;
+	var posX;
+	var posY;
+	if (Calendar.is_ie) {
+		posY = window.event.clientY + document.body.scrollTop;
+		posX = window.event.clientX + document.body.scrollLeft;
+	} else {
+		posY = ev.clientY + window.scrollY;
+		posX = ev.clientX + window.scrollX;
+	}
+	var st = this.element.style;
+	this.xOffs = posX - parseInt(st.left);
+	this.yOffs = posY - parseInt(st.top);
+	with (Calendar) {
+		addEvent(document, "mousemove", calDragIt);
+		addEvent(document, "mouseover", stopEvent);
+		addEvent(document, "mouseup", calDragEnd);
+	}
+};
+
+// BEGIN: DATE OBJECT PATCHES
+
+/** Adds the number of days array to the Date object. */
+Date._MD = new Array(31,28,31,30,31,30,31,31,30,31,30,31);
+
+/** Returns the number of days in the current month */
+Date.prototype.getMonthDays = function() {
+	var year = this.getFullYear();
+	var month = this.getMonth();
+	if (((0 == (year%4)) && ( (0 != (year%100)) || (0 == (year%400)))) && month == 1) {
+		return 29;
+	} else {
+		return Date._MD[month];
+	}
+};
+
+/** Checks dates equality (ignores time) */
+Date.prototype.equalsTo = function(date) {
+	return ((this.getFullYear() == date.getFullYear()) &&
+	(this.getMonth() == date.getMonth()) &&
+	(this.getDate() == date.getDate()));
+};
+
+/** Prints the date in a string according to the given format. */
+Date.prototype.print = function (frm) {
+	var str = new String(frm);
+	var m = this.getMonth();
+	var d = this.getDate();
+	var y = this.getFullYear();
+	var w = this.getDay();
+	var s = new Array();
+	s["j"] = d;
+	s["d"] = (d < 10) ? ("0" + d) : d;
+	s["n"] = 1+m;
+	s["m"] = (m < 9) ? ("0" + (1+m)) : (1+m);
+	s["Y"] = y;
+	s["y"] = new String(y).substr(2, 2);
+	with (Calendar) {
+		s["D"] = _DN3[w];
+		s["DD"] = _DN[w];
+		s["M"] = _MN3[m];
+		s["MM"] = _MN[m];
+	}
+	var re = /(.*)(\W|^)(j|d|n|m|y|Y|MM|M|DD|D)(\W|$)(.*)/;
+	while (re.exec(str) != null) {
+		str = RegExp.$1 + RegExp.$2 + s[RegExp.$3] + RegExp.$4 + RegExp.$5;
+	}
+	return str;
+};
+
+// END: DATE OBJECT PATCHES
+/*</CORE>*/
+/*<LANG>*/
+Calendar._DN = new Array
+("Sunday",
+"Monday",
+"Tuesday",
+"Wednesday",
+"Thursday",
+"Friday",
+"Saturday",
+"Sunday");
+Calendar._MN = new Array
+("January",
+"February",
+"March",
+"April",
+"May",
+"June",
+"July",
+"August",
+"September",
+"October",
+"November",
+"December");
+
+// tooltips
+Calendar._TT = {};
+Calendar._TT["TOGGLE"] = "Toggle first day of week";
+Calendar._TT["PREV_YEAR"] = "Prev. year (hold for menu)";
+Calendar._TT["PREV_MONTH"] = "Prev. month (hold for menu)";
+Calendar._TT["GO_TODAY"] = "Go Today";
+Calendar._TT["NEXT_MONTH"] = "Next month (hold for menu)";
+Calendar._TT["NEXT_YEAR"] = "Next year (hold for menu)";
+Calendar._TT["SEL_DATE"] = "Select date";
+Calendar._TT["DRAG_TO_MOVE"] = "Drag to move";
+Calendar._TT["PART_TODAY"] = " (today)";
+Calendar._TT["MON_FIRST"] = "Display Monday first";
+Calendar._TT["SUN_FIRST"] = "Display Sunday first";
+Calendar._TT["CLOSE"] = "Close";
+Calendar._TT["TODAY"] = "Today";
+
+// date formats
+Calendar._TT["DEF_DATE_FORMAT"] = "y-mm-dd";
+Calendar._TT["TT_DATE_FORMAT"] = "D, M d";
+/*</LANG>*/
+/*</CSS>*/
+//document.write("<style type=\"text/css\">")
+//document.write(".calendar { width: 225px; z-Index: 1; position: relative;  display: none;  border-top: 2px solid #fff;  border-right: 2px solid #000;  border-bottom: 2px solid #000;  border-left: 2px solid #fff;  font-size: 11px;  color: #000;  cursor: default;  background: #d4d0c8;  font-family: tahoma,verdana,sans-serif;}.calendar table {  width: auto; border-top: 1px solid #000;  border-right: 1px solid #fff;  border-bottom: 1px solid #fff;  border-left: 1px solid #000;  font-size: 11px;  color: #000;  cursor: default;  background: #d4d0c8;  font-family: tahoma,verdana,sans-serif;}/* Header part -- contains navigation buttons and day names. */.calendar .calendar_button { text-align: center;  padding: 1px;  border-top: 1px solid #fff;  border-right: 1px solid #000;  border-bottom: 1px solid #000;  border-left: 1px solid #fff;}.calendar thead .title { font-weight: bold;  padding: 1px;  border: 1px solid #000;  background: #848078;  color: #fff;  text-align: center;}.calendar thead .headrow { /* Row <TR> containing navigation buttons */}.calendar thead .daynames { /* Row <TR> containing the day names */}.calendar thead .name { /* Cells <TD> containing the day names */  border-bottom: 1px solid #000;  padding: 2px;  text-align: center;  background: #f4f0e8;}.calendar thead .weekend { /* How a weekend day name shows in header */  color: #f00;}.calendar thead .hilite { /* How do the buttons in header appear when hover */  border-top: 2px solid #fff;  border-right: 2px solid #000;  border-bottom: 2px solid #000;  border-left: 2px solid #fff;  padding: 0px;  background: #e4e0d8;}.calendar thead .active { /* Active (pressed) buttons in header */  padding: 2px 0px 0px 2px;  border-top: 1px solid #000;  border-right: 1px solid #fff;  border-bottom: 1px solid #fff;  border-left: 1px solid #000;  background: #c4c0b8;}/* The body part -- contains all the days in month. */.calendar tbody .day { /* Cells <TD> containing month days dates */  width: 2em;  text-align: right;  padding: 2px 4px 2px 2px;}.calendar tbody .hilite { /* Hovered cells <TD> */  padding: 1px 3px 1px 1px;  border-top: 1px solid #fff;  border-right: 1px solid #000;  border-bottom: 1px solid #000;  border-left: 1px solid #fff;}.calendar tbody .active { /* Active (pressed) cells <TD> */  padding: 2px 2px 0px 2px;  border-top: 1px solid #000;  border-right: 1px solid #fff;  border-bottom: 1px solid #fff;  border-left: 1px solid #000;}.calendar tbody .selected { /* Cell showing selected date */  font-weight: bold;  border-top: 1px solid #000;  border-right: 1px solid #fff;  border-bottom: 1px solid #fff;  border-left: 1px solid #000;  padding: 2px 2px 0px 2px;  background: #e4e0d8;}.calendar tbody .weekend { /* Cells showing weekend days */  color: #f00;}.calendar tbody .today { /* Cell showing today date */  font-weight: bold;  color: #00f;}.calendar tbody .disabled { color: #999; }.calendar tbody .emptycell { /* Empty cells (the best is to hide them) */  visibility: hidden;}.calendar tbody .emptyrow { display: none;} .calendar tfoot .footrow { }.calendar tfoot .ttip { /* Tooltip (status bar) cell <TD> */  background: #f4f0e8;  padding: 1px;  border: 1px solid #000;  background: #848078;  color: #fff;  text-align: center;}.calendar tfoot .hilite { /* Hover style for buttons in footer */  border-top: 1px solid #fff;  border-right: 1px solid #000;  border-bottom: 1px solid #000;  border-left: 1px solid #fff;  padding: 1px;  background: #e4e0d8;}.calendar tfoot .active { /* Active (pressed) style for buttons in footer */  padding: 2px 0px 0px 2px;  border-top: 1px solid #000;  border-right: 1px solid #fff;  border-bottom: 1px solid #fff;  border-left: 1px solid #000;}/* Combo boxes (menus that display months/years for direct selection) */.combo {  position: absolute;  display: none;  width: 4em;  top: 0px;  left: 0px;  cursor: default;  border-top: 1px solid #fff;  border-right: 1px solid #000;  border-bottom: 1px solid #000;  border-left: 1px solid #fff;  background: #e4e0d8;  font-size: smaller;  padding: 1px;}.combo .label {  text-align: center;  padding: 1px;}.combo .active {  background: #c4c0b8;  padding: 0px;  border-top: 1px solid #000;  border-right: 1px solid #fff;  border-bottom: 1px solid #fff;  border-left: 1px solid #000;}.combo .hilite {  background: #048;  color: #fea;}");
+//document.write(".dpContainer {display: inline;}");
+//document.write("</style>")
+/* The main calendar widget.  DIV containing a table. */
+
Index: themes/advanced/platform/inc/ajax.js
===================================================================
--- themes/advanced/platform/inc/ajax.js	(revision 0)
+++ themes/advanced/platform/inc/ajax.js	(revision 0)
@@ -0,0 +1,263 @@
+function preg_print_pre(obj, reg)
+{
+	if (!reg) reg = /.*/;
+	var p = ''
+	for (var prop in obj) {
+		if (prop.match(reg) ) {
+			p += prop + ': '+obj[prop] + '\n'
+		}
+	}
+	alert(p)
+}
+
+
+// Main AJAX classs
+function Request() {}
+
+Request.timeout = 60000; //60 seconds
+Request.method = 'GET';
+Request.headers = new Array();
+Request.params = null;
+
+Request.makeRequest = function(p_url, p_busyReq, p_progId, p_successCallBack, p_errorCallBack, p_pass, p_object) {
+	//p_url: the web service url
+	//p_busyReq: is a request for this object currently in progress?
+	//p_progId: element id where progress HTML should be shown
+	//p_successCallBack: callback function for successful response
+	//p_errorCallBack: callback function for erroneous response
+	//p_pass: string of params to pass to callback functions
+	//p_object: object of params to pass to callback functions
+
+	if (p_busyReq) return;
+	var req = Request.getRequest();
+	if (req != null) {
+		p_busyReq = true;
+		Request.showProgress(p_progId);
+		req.onreadystatechange = function() {
+			if (req.readyState == 4) {
+				p_busyReq = false;
+				window.clearTimeout(toId);
+				try {
+					if (req.status == 200) {
+	//					preg_print_pre(req)
+						p_successCallBack(req, p_pass, p_object);
+					} else {
+						p_errorCallBack(req, p_pass, p_object);
+					}
+					Request.hideProgress(p_progId);
+				}
+				catch (e) {
+//					alert('AJAX error')
+				}
+			}
+		}
+		var $ajax_mark = (p_url.indexOf('?') ? '&' : '?') + 'ajax=yes';
+		req.open(Request.method, p_url + $ajax_mark, true);
+
+		if (Request.method == 'POST') {
+			Request.headers['Content-type'] = 'application/x-www-form-urlencoded';
+			Request.headers['referer'] = p_url;
+		}
+		else {
+			Request.headers['If-Modified-Since'] = 'Sat, 1 Jan 2000 00:00:00 GMT';
+		}
+
+		Request.sendHeaders(req);
+		if (Request.method == 'POST') {
+			req.send(Request.params);
+			Request.method = 'GET'; // restore method back to GET
+		}
+		else {
+			req.send(null);
+		}
+
+		var toId = window.setTimeout( function() {if (p_busyReq) req.abort();}, Request.timeout );
+	}
+}
+
+Request.processRedirect = function($request) {
+	var $match_redirect = new RegExp('^#redirect#(.*)').exec($request.responseText);
+	if ($match_redirect != null) {
+		// redirect to external template requested
+		window.location.href = $match_redirect[1];
+		return true;
+	}
+	return false;
+}
+Request.sendHeaders = function($request) {
+	for (var $header_name in Request.headers) {
+		if (typeof Request.headers[$header_name] == 'function') {
+			continue;
+		}
+		$request.setRequestHeader($header_name, Request.headers[$header_name]);
+	}
+	Request.headers = new Array(); // reset header afterwards
+}
+
+Request.getRequest = function() {
+	var xmlHttp;
+	try { xmlHttp = new ActiveXObject('MSXML2.XMLHTTP'); return xmlHttp; } catch (e) {}
+	try { xmlHttp = new ActiveXObject('Microsoft.XMLHTTP'); return xmlHttp; } catch (e) {}
+	try { xmlHttp = new XMLHttpRequest(); return xmlHttp; } catch(e) {}
+	return null;
+}
+
+Request.showProgress = function(p_id) {
+	if (p_id != '') {
+		Request.setOpacity(20, p_id);
+
+		if (!document.getElementById(p_id + '_progress')) {
+			document.body.appendChild(Request.getProgressObject(p_id));
+		}
+		else {
+			var $progress_div = document.getElementById(p_id + '_progress');
+			$progress_div.style.top = getRealTop(p_id) + 'px';
+			$progress_div.style.height = document.getElementById(p_id).clientHeight;
+			$progress_div.style.display = 'block';
+		}
+//		document.getElementById(p_id).innerHTML = Request.getProgressHtml();
+	}
+}
+
+Request.hideProgress = function(p_id) {
+	if (p_id != '') {
+		document.getElementById(p_id + '_progress').style.display = 'none';
+		Request.setOpacity(100, p_id);
+	}
+}
+
+Request.setOpacity = function (opacity, id) {
+	var elem = typeof(id)=='string' ? document.getElementById(id) : id;
+    var object = elem.style;
+    object.opacity = (opacity / 100);
+    object.MozOpacity = (opacity / 100);
+    object.KhtmlOpacity = (opacity / 100);
+    object.filter = "alpha(opacity=" + opacity + ")";
+}
+
+Request.getProgressHtml = function() {
+	return "<p class='progress'>" + Request.progressText + "<br /><img src='img/ajax_progress.gif' align='absmiddle' width='100' height='7' alt='" + Request.progressText + "'/></p>";
+}
+
+Request.getProgressObject = function($id) {
+	var $div = document.createElement('DIV');
+	var $parent_div = document.getElementById($id);
+
+	$div.id = $id + '_progress';
+
+	$div.style.width = $parent_div.clientWidth + 'px';
+	$div.style.height = '150px'; // default height if div is empty (first ajax request for div)
+	$div.style.left = getRealLeft($parent_div) + 'px';
+	$div.style.top = getRealTop($parent_div) + 'px';
+	$div.style.position = 'absolute';
+
+	/*$div.style.border = '1px solid green';
+	$div.style.backgroundColor = '#FF0000';*/
+
+	$div.innerHTML = '<table style="width: 100%; height: 100%;"><tr><td style="text-align: center;">'+Request.progressText+'<br /><img src="img/ajax_progress.gif" align="absmiddle" width="100" height="7" alt="'+escape(Request.progressText)+'" /></td></tr></table>';
+	return $div;
+}
+
+Request.getErrorHtml = function(p_req) {
+	//TODO: implement accepted way to handle request error
+	return '[status: ' + p_req.status + '; status_text: ' + p_req.statusText + '; responce_text: ' + p_req.responseText + ']';
+}
+
+Request.serializeForm = function(theform) {
+	if (typeof(theform) == 'string') {
+		theform = document.getElementById(theform);
+	}
+
+	var els = theform.elements;
+	var len = els.length;
+	var queryString = '';
+
+	Request.addField = function(name, value) {
+		if (queryString.length > 0) queryString += '&';
+		queryString += encodeURIComponent(name) + '=' + encodeURIComponent(value);
+	};
+
+	for (var i = 0; i<len; i++) {
+		var el = els[i];
+    	if (el.disabled) continue;
+
+		switch(el.type) {
+			case 'text':
+			case 'password':
+			case 'hidden':
+			case 'textarea':
+          		Request.addField(el.name, el.value);
+				break;
+
+			case 'select-one':
+				if (el.selectedIndex >= 0) {
+            		Request.addField(el.name, el.options[el.selectedIndex].value);
+          		}
+          		break;
+
+			case 'select-multiple':
+				for (var j = 0; j < el.options.length; j++) {
+            		if (!el.options[j].selected) continue;
+              		Request.addField(el.name, el.options[j].value);
+          		}
+          		break;
+
+			case 'checkbox':
+			case 'radio':
+          		if (!el.checked) continue;
+            	Request.addField(el.name,el.value);
+          		break;
+      	}
+	}
+	return queryString;
+};
+
+function RatingManager ($url) {
+	this.Url = $url;
+	this.BusyRequest = false;
+}
+
+RatingManager.prototype.makeVote = function ($vote, $prefix, $id, $size) {
+	var $url = this.Url.replace('#PREFIX#', $prefix).replace('#VOTE#', $vote).replace('#ID#', $id).replace('#SIZE#', $size);
+
+	Request.makeRequest($url, this.BusyRequest, '', this.successCallback, this.errorCallback, [$vote, $prefix, $id], this);
+}
+
+RatingManager.prototype.successCallback = function ($request, $params, $object) {
+    var response = $request.responseText;
+
+    if (response.substring(0, 5) == '@err:') {
+    	alert(response.substring(5));
+    	return ;
+    }
+
+    document.getElementById('page_rating_' + $params[2]).innerHTML = response;
+}
+
+
+RatingManager.prototype.errorCallback = function($request, $params, $object) {
+	alert('AJAX Error; class: RatingManager; ' + Request.getErrorHtml($request));
+}
+
+function PollManager ($url) {
+	this.Url = $url;
+	this.BusyRequest = false;
+}
+
+PollManager.prototype.makeVote = function ($prefix, $poll_id, $option_id) {
+	var $url = this.Url.replace('#PREFIX#', $prefix).replace('#POLL_ID#', $poll_id).replace('#OPTION_ID#', $option_id);
+	Request.makeRequest($url, this.BusyRequest, '', this.successCallback, this.errorCallback, [$poll_id, $option_id], this);
+}
+
+PollManager.prototype.successCallback = function ($request, $params, $object) {
+    var response = $request.responseText;
+    if (response.substring(0, 5) == '@err:') {
+    	alert(response.substring(5));
+    	return ;
+    }
+    document.getElementById('pollvote_' + $params[0]).innerHTML = response;
+}
+
+PollManager.prototype.errorCallback = function($request, $params, $object) {
+	alert('AJAX Error; class: PollManager; ' + Request.getErrorHtml($request));
+}
\ No newline at end of file
Index: themes/advanced/platform/inc/nlsmenuext_dyn.js
===================================================================
--- themes/advanced/platform/inc/nlsmenuext_dyn.js	(revision 0)
+++ themes/advanced/platform/inc/nlsmenuext_dyn.js	(revision 0)
@@ -0,0 +1,153 @@
+/**
+* nlsmenuext_dyn.js v.1.0
+* Copyright 2005-2007, addobject.com. All Rights Reserved
+* Author Jack Hermanto, www.addobject.com
+*/
+NLSMENU.setItemVisible=function(key, v) {
+  var it=this.getItemById(key);
+  var oIt=NlsMenu.$GE(it.intKey);
+  if(oIt) {
+    if (this.orient=="V") { oIt=oIt.parentNode; }
+    oIt.style.display=(v?"":"none");
+  }
+  nlsMenuMgr[this.mgrId].hideMenus();
+  var it=this.getItemById(key);
+  it.visible=v;
+};
+
+NLSMENU.setItemState=function(itId, s) {
+  var it=this.items[itId], lit=null;
+  if(it.group) {
+    for (var l in this.items) {
+      lit=this.items[l];
+      if(lit.group==it.group && lit.state==2) {
+        setMnStyle(NlsMenu.$GE(lit.intKey), (lit.enable ? "N" : "D"), NlsMenu.getPrf(lit, this));
+        setMnIcon(this, lit, "N");
+        lit.state=1;
+      }
+    }
+  }
+  var oIt=NlsMenu.$GE(itId);
+  setMnStyle(oIt, (it.enable ? (s==1?"N":"S") : "D"), NlsMenu.getPrf(it, this));
+  setMnIcon(this, it, "N");
+  it.state=s;
+};
+
+NLSMENU.setSelection=function(itId, s) {
+  var prf="";
+  var it=this.items[this.rt.lastSel];
+  if(it){
+    prf=it.stlprf; if(prf=="")prf=this.stlprf;
+    setMnStyle(NlsMenu.$GE(it.intKey), (it.enable ?"N":"D"), prf);
+    setMnIcon(this, it, "N");
+    it.selected=false;
+  }
+
+  it=this.items[itId];
+  prf=it.stlprf; if(prf=="")prf=this.stlprf;
+  setMnStyle(NlsMenu.$GE(itId), (it.enable ?"S":"D"), prf);
+  setMnIcon(this, it, "O");
+  this.rt.lastSel=itId;
+  it.selected=true;
+};
+
+NlsMnMgr.savePath=function(vl) {
+  NlsMenuManager.$setCookie(this.mgrId+"_path", String(vl));
+};
+
+NlsMnMgr.loadPath=function() {
+  var p=NlsMenuManager.$getCookie(this.mgrId+"_path");
+  if(p && p!="") {
+    p=p.split("_");
+    this.selectPath(p[0], p[1]);
+  }
+
+}
+
+NlsMnMgr.selectPath=function(mId, id) {
+  this.unselectPath();
+  var mn=nlsMenu[mId], it=mn.items[mId+"_"+id],prf="",pr="";
+  while(mn && it) {
+    prf=it.stlprf; if(prf=="")prf=mn.stlprf;
+    setMnStyle(NlsMenu.$GE(it.intKey), (it.enable ?"S":"D"), prf);
+    setMnIcon(mn, it, "O");
+    mn.rt.lastSel=it.intKey;
+    it.selected=true;
+
+    pr=mn.prIt;
+    if(pr) {
+      mn=nlsMenu[pr.split("_")[0]];
+      it=mn.items[pr];
+    } else {mn=null; it=null}
+  }
+};
+
+NlsMnMgr.unselectPath=function() {
+  var mgr=this,prf="",it=null, mns=[mgr.menubar];
+  for(var i in mgr.menus) { mns[mns.length]=mgr.menus[i]; }
+  for(var i=0;i<mns.length;i++) {
+    for (var j in mns[i].items) {
+      it=mns[i].items[j];
+      if (it.selected) {
+        prf=it.stlprf; if(prf=="")prf=mns[i].stlprf;
+        setMnStyle(NlsMenu.$GE(it.intKey), (it.enable ?"N":"D"), prf);
+        setMnIcon(mns[i], it, "N");
+      }
+    }
+  }
+};
+
+NLSMENU.addToggleItem=function(key, grp, capt, url, ico, enb, xtra, title) {
+  var it=this.addItem(key, capt, url, ico, enb, xtra, null, title);
+  it.toggle=true;
+  it.group=grp;
+  return it;
+};
+
+NLSMENU.deleteItem = function(key) {
+  var intKey = this.mId+"_"+key;
+  if (!this.items[intKey]) return;
+
+  if(this.lsItm) {
+    var lsItm=this.items[this.lsItm.id];
+    if(lsItm.id==key) {this.lsItm=null; }
+  }
+
+  this.items[intKey] = null;
+  delete this.items[intKey];
+  var ovr=-1;
+  for (var i=0; i<this.srItems.length; i++) {
+    if (this.srItems[i].id==key) { ovr=i; }
+    if ( ovr!=-1 && i>=ovr && i<this.srItems.length) {
+      this.srItems[i]=this.srItems[i+1];
+    }
+  }
+  this.srItems.length--;
+};
+
+/*Cookie related*/
+NlsMenuManager.$setCookie=function(key, value, expire) {
+  if (value==null) return;
+  var v = value;
+  if (v!="") v=escape(v);
+  document.cookie = escape(key)+"="+ v + (expire?"; expires="+expire:"");
+};
+
+NlsMenuManager.$getCookie=function(key) {
+  if (document.cookie) {
+    var cp=document.cookie.split(";");
+    var c=null;
+    for (var i=0; i<cp.length; i++) {
+      c=cp[i].split("=");
+      if (unescape(c[0].replace(/\s*/gi,""))==key) { return (c.length>1?unescape(c[1]):""); }
+    }
+  }
+  return "";
+};
+
+NlsMenuManager.$removeCookie=function(key) {
+  NlsMenuManager.$setCookie(key, "-1", "Fri, 31 Dec 1999 23:59:59 GMT;");
+}
+
+
+
Index: themes/advanced/platform/inc/styles.css
===================================================================
--- themes/advanced/platform/inc/styles.css	(revision 0)
+++ themes/advanced/platform/inc/styles.css	(revision 0)
@@ -0,0 +1,642 @@
+/* --- Golbal Usage Styles --- */
+html, body {
+	margin: 0px;
+    padding: 0px;
+    height: 100%;
+    border: none;
+	font: 9pt Arial;
+	color: #000000;
+}
+
+.fullwidth {
+	width: 100%;
+}
+
+table {
+	margin: 0px;
+	padding: 0px;
+	border-collapse: collapse;
+}
+
+td {
+	font: 11px Arial, serif;
+	color: #000000;
+	margin: 0px;
+	padding: 0px;
+}
+
+
+.hidden-element {
+	display: none;
+}
+
+.horizontal-separator {
+	background: url('../img/horizontal_dashed_line.gif') bottom repeat-x;
+}
+
+.vertical-separator {
+	background: url('../img/vertical_dashed_line.gif') top center repeat-y;
+}
+
+img, img A {
+	border: 0px;
+}
+
+form {
+	display: inline;
+}
+
+.top-background {
+	background: url('../img/top_background.gif') right repeat-y;
+}
+
+.top-baner-cell
+	{
+	padding: 10px;
+	text-align:center;
+	}
+
+.menu-background {
+	background: url('../img/menu_background.gif') top repeat-x #1865AC;
+	width: 100%;
+}
+
+.top-select-padding {
+	padding: 0px 15px;
+}
+
+.footer-table td {
+	background: url('../img/footer_blue.gif') top repeat-x;
+	height: 26px;
+	color: #F7EEE4;
+	font-size: 10px;
+	padding: 0px 10px;
+}
+
+.footer-table a {
+	color: #F7EEE4;
+}
+
+/* --- Link Styles --- */
+a {
+	color: #197ACA;
+}
+
+a:hover {
+	color: #FF9900;
+}
+
+a.more-link {
+	font-size: 10px;
+}
+
+a.item-action {
+	font-size: 9px;
+	color: #666666;
+}
+
+a.item-action:hover {
+	color: #000000;
+}
+
+.footer-links {
+	text-align: right;
+	padding: 5px 10px;
+}
+
+.footer-links A {
+	color: #333333;
+	font-size: 10px;
+}
+
+.footer-links A:hover {
+	color: #666666;
+}
+
+/* --- Side Box Styles --- */
+.side-box-header {
+	background: url('../img/side_boxes_background.gif') bottom repeat-x #83AFD6;
+	height: 29px;
+	padding: 0px 8px 0px 20px;
+}
+
+.side-box-title {
+	font-size: 12px;
+	color: #FFFFFF;
+}
+
+.side-box-title A {
+	font-size: 12px;
+	color: #FFFFFF;
+	text-decoration: underline;
+}
+
+.side-box-title A:hover {
+	font-size: 12px;
+	color: #FFDC0E;
+}
+
+.side-box-content {
+	background: url('../img/side_boxes_content.gif') top repeat-x;
+	padding: 20px 20px;
+}
+
+/* --- Content Box Styles --- */
+.content-box-header {
+	background: #F0F5FA;
+	height: 29px;
+	padding: 0px 20px;
+}
+
+.content-box-title {
+	font-size: 15px;
+	font-family: Arial;
+	color: #000000;
+	font-weight: bold;
+}
+
+.content-box-content {
+	background: #FFFFFF;
+	padding: 20px 20px 0px 20px;
+}
+
+/* --- Form Control Styles --- */
+.input-text, .input-textarea {
+	background: url('../img/input_text_background.gif') top repeat-x #FFFFFF;
+	border: 1px solid #7091B9;
+	font-family: Arial, Helvetica, sans-serif;
+	font-size: 11px;
+}
+
+.input-textarea {
+	overflow: auto;
+}
+
+.input-select {
+	color: #333333;
+	font-size: 11px;
+}
+
+.button {
+	background: url('../img/input_button_background.gif') bottom repeat-x #efefef;
+	border: 1px solid #688BAC;
+	padding: 0px;
+	font-size: 11px;
+	padding: 0px 5px;
+}
+
+.delete-button {
+	background: url('../img/delete_button_background.gif') bottom repeat-x #FF6D6D;
+	color: #FFFFFF;
+	border: 1px solid #CC0000;
+	padding: 0px;
+	font-size: 11px;
+	padding: 0px 5px;
+}
+
+/* --- Form Field Styles --- */
+.field-name {
+	padding: 5px 15px;
+
+	color: #2E5679;
+	font-weight: bold;
+	font-size: 11px;
+}
+
+.field-required {
+	color: #FF0000;
+}
+
+.field-hint {
+	color: #000000;
+	font-size: 10px;
+}
+
+.field-error {
+	color: #CC0000;
+	font-size: 10px;
+}
+
+.field-value {
+	padding: 6px 5px;
+}
+
+.warning-message td {
+	padding: 5px;
+	background: #FFE5E6;
+	font-size: 16px;
+}
+
+.item-categories td {
+	padding: 1px;
+}
+/* --- Login Sidebox Styles --- */
+.login-status, .login-status a {
+	font-size: 10px;
+	color: #FFFFFF;
+}
+
+.login-status a:hover {
+	font-size: 10px;
+}
+
+.remember-login {
+	color: #000000;
+	font-size: 9px;
+}
+
+/* --- Navigation Bar Styles --- */
+.navigation-bar {
+	background: url('../img/side_boxes_background.gif') bottom repeat-x #83AFD6;
+	height: 29px;
+	padding: 0px 20px;
+	font-size: 12px;
+	color: #FFFFFF;
+}
+
+.navigation-bar A {
+	color: #FFFFFF;
+}
+
+.navigation-bar A:hover {
+	color: #FFDC0E;
+}
+
+/* --- Top Right Menu Styles --- */
+.menu-top-active-icon, .menu-top-active-text {
+	background: url('../img/top_menu_select.gif');
+}
+
+td.top-menu-padding {
+	height: 37px;
+	white-space: nowrap;
+}
+
+.menu-top-noactive-icon, .menu-top-active-icon {
+	padding: 0px 5px 0px 13px;
+}
+
+.menu-top-noactive-text, .menu-top-active-text {
+	padding: 0px 13px 0px 3px;
+}
+
+a.top-menu-link, a.top-menu-link:hover {
+	font-size: 11px;
+	text-decoration: none;
+}
+
+a.top-menu-link {
+	color: #FFFFFF;
+}
+
+a.top-menu-link:hover {
+	color: #CCCCCC;
+}
+
+/* --- Tab Styles --- */
+.inactive-tab, .active-tab {
+	padding:5px 10px;
+	border: 1px solid #94c0de;
+}
+
+.inactive-tab {
+	background-color: #eff4fa;
+}
+
+.active-tab {
+	background-color: #FFFFFF;
+	border-bottom-color: #FFFFFF;
+}
+
+.tab-bottom-line {
+	background: url('../img/pixel_blue.gif') bottom repeat-x;
+}
+
+.tab-bottom-content {
+border-right:1px solid #94c0de;
+border-left:1px solid #94c0de;
+border-bottom:1px solid #94c0de;
+padding:10px;
+}
+
+.tab-left-padding {
+	padding-left: 40px;
+}
+
+/* --- Category Listing & My Account Styles --- */
+.directory-icon {
+	width: 22px;
+	vertical-align: top;
+	padding: 5px;
+}
+
+.directory-text {
+	padding: 5px 20px 5px 5px;
+	vertical-align: top;
+}
+
+/* --- Item Listing Page & Item Details Page Styles --- */
+.item-listing {
+	background: url('../img/gradient_background.gif') top repeat-x #FFFFFF;
+}
+
+.item-listing-featured {
+	background: url('../img/gradient_background_gr.gif') top repeat-x #FFFFFF;
+}
+
+.item-listing-lead {
+	background: url('../img/gradient_background_red.gif') top repeat-x #FFFFFF;
+}
+
+.item-padding {
+padding: 10px 10px 10px 10px;
+}
+
+
+
+.item-statistics {
+	font-size: 10px;
+	color: #666666;
+}
+
+.listing-field-name {
+	font-weight: bold;
+}
+
+.category-statistics {
+	font-size: 10px;
+}
+
+.category-header td {
+	padding: 5px 20px 5px 5px;
+	vertical-align: top;
+}
+
+.sub-section-header, .sub-section-header td {
+	background-color: #F4F4F4;
+	font-weight: bold;
+	padding: 5px 15px;
+	font-size: 12px;
+}
+
+.listing-row td {
+	padding: 5px 8px;
+}
+
+/* --- Pagination Bar Styles --- */
+.current-page {
+	background: #5B97CB;
+	color: #FFFFFF;
+	padding: 1px 2px;
+}
+
+a.page-link {
+	color: #000000;
+	text-decoration: none;
+}
+
+/* --- Calendar Styles --- */
+.calendar {
+	font-family: tahoma,verdana,sans-serif;
+	color: #000;
+	font-size: 11px;
+	border: 1px solid #83B2C5;
+	width: 225px;
+	position: relative;
+	z-index: 1;
+	display: none;
+	cursor: default;
+
+}
+
+.calendar table {
+	/*font-family: tahoma,verdana,sans-serif;*/
+	color: #000;
+	font-size: 11px;
+	background-color: #fefefe;
+	width: auto;
+	cursor: default;
+	border-collapse: separate;
+
+}
+
+.calendar table td {
+	padding: 2px;
+	text-align: center;
+}
+
+.calendar tbody .disabled {
+	color: #999;
+}
+
+.calendar tbody .emptyrow {
+	display: none;
+
+}
+
+.calendar tbody .today {
+	font-weight: bold;
+	background-color: #eeeeee;
+	border: 1px solid #aaaaaa !important;
+}
+
+.calendar tbody .emptycell {
+	visibility: hidden;
+}
+
+.calendar tbody .active {
+	background-color: red;
+}
+
+.calendar thead .title {
+	font-weight: bold;
+}
+
+.calendar thead .headrow {
+
+}
+
+.calendar thead .active {
+	background-color: #c4c0b8;
+	padding: 2px 0px 0px 2px;
+
+}
+
+.calendar thead .hilite {
+	background-color: #e4e0d8;
+}
+
+.calendar tfoot .title {
+	font-weight: normal;
+}
+
+.combo {  position: absolute;  display: none;  width: 4em;  top: 0px;  left: 0px;  cursor: default;  border-top: 1px solid #fff;  border-right: 1px solid #000;  border-bottom: 1px solid #000;  border-left: 1px solid #fff;  background: #e4e0d8;  font-size: smaller;  padding: 1px;}
+.combo .label {  text-align: center;  padding: 1px;}
+.combo .active {  background: #c4c0b8;  padding: 0px;  border-top: 1px solid #000;  border-right: 1px solid #fff;  border-bottom: 1px solid #fff;  border-left: 1px solid #000;}
+.combo .hilite {  background: #048;  color: #fea;}
+
+.dpContainer {
+	display: inline;
+}
+
+.list-no-squares {
+	padding: 0px;
+	list-style-type: none;
+	margin: 0px;
+}
+
+/* --- Listing Element Styles --- */
+.picture-padding {
+	padding: 20px 5px 20px 20px;
+	vertical-align: top;
+	width: 120px;
+}
+
+.text-padding {
+	padding: 20px 5px;
+}
+
+.file-list-icon
+	{
+	padding: 2px 10px 2px 0px;
+	vertical-align:top;
+	}
+
+.file-list-label
+	{
+	padding: 2px 7px 2px 0px;
+	vertical-align:top;
+	}
+
+/* --- Item Raring Styles --- */
+.ratingblock, .ratingblock div {
+	display: -moz-inline-block;
+}
+
+.voted {
+	color: #999;
+}
+
+.thanks {
+	color: #36AA3D;
+}
+
+.static {
+	color: #5D3126;
+}
+
+.inline-rating {
+	display:-moz-inline-block;
+	display:-moz-inline-box;
+	display:inline-block;
+	vertical-align: middle;
+}
+
+.star-rating,
+.star-rating a:hover,
+.star-rating a:active,
+.star-rating a:focus,
+.star-rating .current-rating{
+	background: url('../img/starrating.gif') left -1000px repeat-x;
+}
+.star-rating {
+	position:relative;
+	width:125px;
+	height:25px;
+	overflow:hidden;
+	list-style:none;
+	margin:0;
+	padding:0;
+	background-position: left top;
+}
+
+.star-rating li {
+	display: inline;
+}
+
+.star-rating a,
+.star-rating .current-rating {
+	position:absolute;
+	top:0;
+	left:0;
+	text-indent:-1000em;
+	height:25px;
+	line-height:25px;
+	outline:none;
+	overflow:hidden;
+	border: none;
+}
+
+.star-rating a:hover,
+.star-rating a:active,
+.star-rating a:focus {
+	background-position: left bottom;
+}
+.star-rating a.r1-unit { width:20%;z-index:6; }
+.star-rating a.r2-unit { width:40%;z-index:5; }
+.star-rating a.r3-unit { width:60%;z-index:4; }
+.star-rating a.r4-unit { width:80%; z-index:3; }
+.star-rating a.r5-unit { width:100%; z-index:2; }
+.star-rating .current-rating { z-index:1; background-position: left center; }
+
+.small-star {
+	width:50px;
+	height:10px;
+}
+.small-star, .small-star a:hover, .small-star a:active,
+.small-star a:focus, .small-star .current-rating {
+	background-image: url('star_small.gif');
+	line-height: 10px;
+	height: 10px;
+}
+
+/* --- Unprocessed Styles --- */
+.text-title {
+	font-size: 12px;
+	font-weight: bold;
+	color: #1769b5;
+}
+
+a.text-title {
+	font-size: 12px;
+	font-weight: bold;
+	color: #1769b5;
+}
+
+a.text-title:hover {
+	color: #005695;
+}
+
+/* ----- Depricated Styles ----- */
+.error {
+	color: magenta;
+}
+
+.static {
+	color: #00CC66;
+}
+
+.image_boder {
+	border: 1px solid #CDCECD;
+}
+
+.table-border {
+	border: 1px solid #EAEAEA;
+}
+
+.information-background {
+	background-color: #F6F6FF;
+}
+
+#sitemap ul {
+	margin:0 0 10px 10px;
+	padding:0 0 0 10px;
+}
+
+#sitemap ul li {
+	color: #0060BB;
+	list-style-image: none;
+	list-style-position: outside;
+	list-style-type: disc;
+	padding: 5px 0 0;
+}
\ No newline at end of file
Index: themes/advanced/platform/inc/captcha_image.elm.tpl
===================================================================
--- themes/advanced/platform/inc/captcha_image.elm.tpl	(revision 0)
+++ themes/advanced/platform/inc/captcha_image.elm.tpl	(revision 0)
@@ -0,0 +1 @@
+<inp2:m_CaptchaImage/>
\ No newline at end of file
Index: themes/advanced/platform/inc/nlsmenu.js
===================================================================
--- themes/advanced/platform/inc/nlsmenu.js	(revision 0)
+++ themes/advanced/platform/inc/nlsmenu.js	(revision 0)
@@ -0,0 +1,860 @@
+/**
+* nlsmenu.js v.2.0
+* Copyright 2005-2007, addobject.com. All Rights Reserved
+* Author Jack Hermanto, www.addobject.com
+*/
+var nlsMenu = new Object();
+var nlsMenuMgr = new Object();
+var nlsWinElmt = [];
+
+var ag0=window.navigator.userAgent;
+var nls_isIE = (ag0.indexOf("MSIE") >=0);
+var nls_isIE5 = (ag0.indexOf("MSIE 5.0") >=0);
+var nls_isSafari = (ag0.indexOf("Safari") >=0);
+var nls_isOpera = (ag0.indexOf("Opera") >=0);
+if (nls_isOpera) {nls_isIE=false; nls_isIE5=false;};
+
+function NlsMenuManager(mgr) {
+  this.mgrId = mgr;
+  this.menus = new Object();
+  this.menubar = null;
+  this.timeout = 1000;
+  this.flowOverFormElement = false;
+  this.assocMenuMgr = [];
+  this.defaultEffect=null;
+  this.icPath="";
+  this.memorizeSel=false;
+  this.rt=new Object();
+
+  this.tmId = null;
+  this.setTimeout=function(a, t) { this.tmId = window.setTimeout(a, t); };
+  this.clearTimeout=function() { if (this.tmId!=null) { window.clearTimeout(this.tmId); this.tmId=null;}};
+
+  nlsMenuMgr[mgr] = this;
+  if(nls_isIE)window.attachEvent("onload", function(){nlsMenuMgr[mgr].init();});
+
+  return this;
+};
+
+var NlsMnMgr = NlsMenuManager.prototype;
+NlsMnMgr.createMenu = function(mId) {
+  var m=new NlsMenu(mId)
+  m.mgr=this; m.mgrId=this.mgrId; m.icPath=this.icPath;
+  m.useEffect(this.defaultEffect);
+  if (this.design) { m.$menuItemClick = NlsMenu.$dsItemClick; }
+  this.menus[mId]=m;
+  return m;
+};
+
+NlsMnMgr.createMenubar = function (mbarId) {
+  if (this.menubar) alert("Menubar already exists!");
+  var m=new NlsMenubar(mbarId);
+  m.mgr=this; m.mgrId=this.mgrId; m.icPath=this.icPath;
+  if (this.design) { m.$menuItemClick = NlsMenu.$dsItemClick; }
+  this.menubar=m;
+  return m;
+};
+
+NlsMnMgr.renderMenus = function (plc) {
+  if (plc && plc!="") {
+    var d=NlsMenu.$GE(plc); var s="";
+    for (it in this.menus) { s+=this.menus[it].renderMenu(); }
+    d.innerHTML=s;
+  } else {
+    for (it in this.menus) { document.write(this.menus[it].renderMenu()); }
+  }
+};
+
+NlsMnMgr.renderMenubar = function (plc) {
+  if (this.menubar) {
+    if (plc && plc!="") {
+      NlsMenu.$GE(plc).innerHTML=this.menubar.renderMenubar();
+    } else {
+      document.write(this.menubar.renderMenubar());
+    }
+  }
+  if(this.memorizeSel) this.loadPath();
+};
+
+NlsMnMgr.hideMenus = function () {
+  for (var it in this.menus) {if (this.menus[it].rt.active) this.menus[it].hideMenu();}
+  if (this.menubar) this.menubar.hideMenu();
+};
+
+NlsMnMgr.addAssocMenuMgr = function(frm, mgrId) {
+  this.assocMenuMgr[this.assocMenuMgr.length] = [frm, mgrId];
+};
+
+NlsMnMgr.getMenu= function(mId) { return this.menus[mId]; };
+
+NlsMnMgr.init=function() {
+  if(this.menubar)this.menubar.init();
+}
+
+function listAllWinElmt() {
+  nlsWinElmt = [];
+  var arrWinEl = document.getElementsByTagName("SELECT");
+  var elm; var tmp; var x; var y;
+  for(var i=0; i<arrWinEl.length; i++) {
+    elm = arrWinEl[i]; tmp=elm; x=0; y=0;
+    while (tmp!=null) {
+      x += tmp.offsetLeft; y+=tmp.offsetTop;
+      tmp = tmp.offsetParent;
+    }
+    nlsWinElmt[nlsWinElmt.length] = {e:elm, eX1:x, eY1:y, eX2:x+elm.offsetWidth, eY2:y+elm.offsetHeight};
+  }
+};
+
+function NlsMenuItem(id, capt, url, ico, enb, xtra, subId, title, crossFrame, subFrame, subPos, subPosAdj, subDir) {
+  this.id = id;
+  this.intKey = "";
+  this.capt = capt;
+  this.url = (url==null? "" : url);
+  this.ico = (ico==null || ico=="" || ico.length==0) ? null: ico;
+  this.enable=(enb==null?true:enb);
+  this.xtra = xtra;
+  this.stlprf="";
+  this.target=null;
+  this.title=title==null?"":title;
+  this.itemEffect=null;
+  this.visible="false";
+  this.state=1;
+  this.selected=false;
+
+  this.subMenuId = (subId?subId:"");
+  this.crsFrame = (crossFrame?crossFrame:false);
+  this.subFrame = (subFrame?subFrame:null);
+  this.subPos = (subPos?subPos:[null,null]);
+  this.subPosAdj = (subPosAdj?subPosAdj:[0,0]);
+  this.subDir = (subDir?subDir:["right","down"]);
+  this.toString=function() {return "NlsMenuItem";};
+
+  this.useItemEffect=function(effName) {
+    this.itemEffect=new NlsMenuItemEffect(this.intKey, effName);
+  };
+
+  this.rt={subUrl:null,loaded:0};
+
+  return this;
+};
+
+function NlsMenuSeparator(cstSeparator) {
+  this.stlprf = "";
+  this.intKey = "";
+  this.seprt = cstSeparator!=null?cstSeparator:"";
+  this.render = function () {
+    if (this.seprt!="") return this.seprt;
+    return ("<table border=0 cellpadding=0 cellspacing=0 width='100%' height='0%'><tr>" +
+            "<td class=\""+this.stlprf+"nlsseparator\"></td>" +
+            "</tr></table>");
+  };
+
+  this.toString=function() {return "NlsMenuSeparator";};
+};
+
+function NlsCustomMenuItem(cst) {
+  this.intKey = "";
+  this.cstMenu = (cst?cst:"&nbsp;");
+  this.toString=function() {return "NlsCustomMenuItem";};
+};
+
+function NlsMenu(mId) {
+  /*private*/
+  this.lsItm=null;
+  this.mgrId = "";
+  this.mgr=null;
+  this.winElmt=null;
+  this.container=null;
+  this.customBorder=null;
+  this.shadow=new NlsMenuShadow("none", "5px", mId);
+  this.count=0;
+  this.isMenubar=false;
+  this.effect=null;
+  this.srItems=[];
+
+  this.rt={ready:true,active:false};
+
+  /*public*/
+  this.mId = mId;
+  this.items = new Object();
+  this.stlprf="";
+  this.subMenuIc=null;
+  this.target="_self";
+  this.icPath="";
+  this.itemSpc="";
+  this.stretchItem=true;
+
+  this.selection=false;
+
+  this.showIcon=false;
+  this.showSubIcon=true;
+
+  this.absWidth="";
+  this.orient="V";
+
+  this.defItmEff=null;
+  this.defPos=[0,0];
+
+  this.maxItemCol=100;
+  this.zIndex = 100;
+
+  this.wnd = window;
+  nlsMenu[mId] = this;
+  return this;
+};
+
+var NLSMENU=NlsMenu.prototype;
+
+NLSMENU.addItem = function(key, capt, url, ico, enb, xtra, subId, title) {
+  var intKey = this.mId+"_"+key;
+  var it = new NlsMenuItem(key, capt, url, ico, enb, xtra, subId, title);
+  it.intKey = intKey;
+  it.mId=this.mId;
+  this.items[intKey]=it;
+  this.srItems[this.srItems.length]=it;
+  if (this.defItmEff!=null && typeof(NlsMenuItemEffect) != "undefined") { it.useItemEffect(this.defItmEff); }
+  this.count++;
+  return it;
+};
+
+NLSMENU.addSeparator = function(separator) {
+  var intKey = "sep_"+this.count;
+  var it = (separator ? separator : new NlsMenuSeparator());
+  it.stlprf = this.stlprf;
+  it.intKey = intKey;
+  this.items[intKey] = it;
+  this.srItems[this.srItems.length]=it;
+  this.count++;
+  return it;
+};
+
+NLSMENU.addSubmenu = function(key, subId, crsFrame, subFrame, subPos, subPosAdj, subDir) {
+  var intKey = this.mId+"_"+key;
+  var it = this.items[intKey];
+  it.subMenuId=subId;
+  it.subFrame=(subFrame?subFrame:null);
+  it.crsFrame=(crsFrame?crsFrame:false);
+  it.subPos = (subPos?subPos:[null,null]);
+  it.subPosAdj = (subPosAdj?subPosAdj:[0,0]);
+  it.subDir = (subDir?subDir:["right","down"]);
+  return it;
+};
+
+NLSMENU.addCustomMenu = function (custom) {
+  var intKey = "cst_"+this.count;
+  var it = new NlsCustomMenuItem(custom);
+  it.intKey = intKey;
+  this.items[intKey] = it;
+  this.srItems[this.srItems.length]=it;
+  this.count++;
+  return it;
+};
+
+NLSMENU.getItemById = function (key) {
+  return this.items[this.mId+"_"+key];
+};
+
+NLSMENU.setItemStyle = function (key, stlprf) {
+  var intKey = this.mId+"_"+key;
+  var mnItem = this.items[intKey];
+  mnItem.stlprf=stlprf;
+};
+
+NLSMENU.setItemText = function (key, tx) {
+  var intKey = this.mId+"_"+key;
+  var mnItem = this.items[intKey];
+  mnItem.capt=tx;
+  var oD=NlsMenu.$GE(intKey+"x2");
+  if (oD) oD.innerHTML=tx;
+}
+
+NLSMENU.enableItem = function (key, b) {
+ var it = this.items[this.mId+"_"+key] ;
+ it.enable=b;
+ setMnStyle(NlsMenu.$GE(it.intKey), (b?(it.selected?"S":"N"):"D"), NlsMenu.getPrf(it, this));
+ setMnIcon(this, it, "N");
+};
+
+NLSMENU.dropShadow = function (pos, offset) {
+  if (this.shadow) { this.shadow.pos=pos; this.shadow.offset=(offset?offset:"5px"); } else
+  { this.shadow=new NlsMenuShadow(pos, offset, this.mId); }
+};
+
+NLSMENU.applyBorder = function (bTop, bBottom, bLeft, bRight) {
+  if (!bTop && !bBottom && !bLeft && !bRight) {
+    this.customBorder=null;
+  } else {
+    this.customBorder=new NlsMenuBorder(bTop, bBottom, bLeft, bRight);
+  }
+};
+
+NLSMENU.useEffect = function (efN) {
+  if(efN!=null && efN!="") {
+    this.effect=new NlsMenuEffect(this.mId, efN);
+  }
+};
+
+NLSMENU.renderMenu = function() {
+  var scPath="", sbIc=null;
+  var allScs = (document.getElementsByTagName ? document.getElementsByTagName("SCRIPT"): document.scripts);
+  for (var i=0;i<allScs.length;i++) {
+    if (allScs[i].src.toLowerCase().indexOf("nlsmenu.js")>=0) { scPath=allScs[i].src.replace(/nlsmenu.js/gi, ""); }
+  }
+  if (!this.subMenuIc) { sbIc=[scPath+"img/submenu.gif", scPath+"img/submenuovr.gif"];}
+  else {sbIc=[this.icPath+this.subMenuIc[0]]; if(this.subMenuIc[1])sbIc[1]=this.icPath+this.subMenuIc[1];}
+
+  var cs="<table cellpadding='0' cellspacing='0' ";
+  var sAbs=(this.absWidth==""?"":"width='"+this.absWidth+"'");
+  var smenu="<table cellpadding='0' cellspacing='"+(this.itemSpc==""?"0":this.itemSpc)+"' width='100%'>";
+  var tmpCnt=0, prf=this.stlprf, it=null, rt=null, menu=null;
+  for (var i=0; i<this.srItems.length; i++) {
+    it=this.srItems[i];
+    menu=nlsMenu[it.subMenuId];
+    if(!it.crsFrame) {
+      if(menu)menu.prIt=it.intKey;
+      if(!menu && it.rt && !it.rt.subUrl) { it.subMenuId=""; }
+    }
+    if (it.toString()=="NlsMenuSeparator") {
+      smenu+=(this.orient=="V"?"<tr>":"");
+      smenu+=("<td class='"+this.stlprf+"nlsseparatorcontainer'>"+it.render()+"</td>");
+      smenu+=(this.orient=="V"?"</tr>":"");
+    } else
+    if (it.toString()=="NlsCustomMenuItem") {
+      smenu+=(this.orient=="V"?"<tr>":"");
+      smenu+=("<td>"+it.cstMenu+"</td>");
+      smenu+=(this.orient=="V"?"</tr>":"");
+    } else {
+      prf=NlsMenu.getPrf(it, this);
+      if (this.orient=="V") { smenu+="<tr>"; }
+      if (this.orient=="H") { if (tmpCnt==0) smenu+="<tr>"; tmpCnt++; }
+      smenu+="<td align='center' id=\""+it.intKey+"\" class=\""+prf+"nlsitemcontainer\" onmouseover=\"nlsMenuItemOver(event, '"+it.intKey+"')\" onclick=\"return nlsMenu['"+this.mId+"'].$menuItemClick(event, '"+it.intKey+"');\">";
+      smenu+=cs+(this.stretchItem?"width='100%'":"")+" height='100%'><tr style=\"cursor:pointer;\" title=\""+it.title+"\">";
+
+      if (this.showIcon) {
+        smenu+="<td id=\""+it.intKey+"x1\" class=\""+prf+"nlsiconcell\" align=\"center\" nowrap>";
+          if(it.ico) {
+            if(it.ico[0]) smenu+="<img id=\"ic_"+it.intKey+"\" "+(it.enable?"":"style='display:none'")+" src=\""+this.icPath+it.ico[0]+"\">";
+            if(it.ico[1]) smenu+="<img id=\"icovr_"+it.intKey+"\" style='display:none' src=\""+this.icPath+it.ico[1]+"\">";
+            if(it.ico[2]) smenu+="<img id=\"icdis_"+it.intKey+"\" "+(!it.enable?"":"style='display:none'")+" src=\""+this.icPath+it.ico[2]+"\">";
+          }
+        smenu+="</td>";
+      }
+
+      smenu+="<td align='left' id=\""+it.intKey+"x2\" class=\""+prf+(it.enable?"nlsitem\"":"nlsitemdisable\"")+" nowrap>"+it.capt+"</td>";
+      if (this.showSubIcon && it.subMenuId!="")  { smenu+="<td id=\""+it.intKey+"x3\" class=\""+prf+"nlssubmenucell\" align=\"center\" nowrap>"+ (it.subMenuId!=""? "<img id='subic_"+it.intKey+"' src=\""+sbIc[0]+"\">" + (sbIc.length>1?"<img id='subicovr_"+it.intKey+"' style='display:none' src=\""+sbIc[1]+"\">":"") :"") +"</td>"; }
+      smenu+="</tr></table>";
+      smenu+="</td>";
+      if (this.orient=="V") { smenu+="</tr>"; }
+      if (this.orient=="H" && tmpCnt==this.maxItemCol) { smenu+="</tr>"; tmpCnt=0; }
+    }
+  }
+
+  if(this.orient=="H" && tmpCnt!=0 ) {
+    if(this.srItems.length>this.maxItemCol)
+      while(++tmpCnt<=this.maxItemCol) smenu+="<td class=\""+prf+"nlsitemcontainer\">&nbsp;</td>";
+    smenu+="</tr>";
+  }
+  smenu += "</table>";
+  smenu = cs+"class='"+this.stlprf+"nlsmenu' "+ sAbs + "><tr><td>"+smenu+"</td></tr></table>";
+
+  if (this.customBorder!=null) smenu = this.customBorder.applyBorder(smenu, this.stlprf);
+  smenu = this.shadow.dropShadow(smenu);
+
+  smenu = "<div " + (nls_isIE && !this.isMenubar?"style='position:absolute;z-index:"+(this.zIndex-1)+";'":"") + ">" + smenu;
+  if (!this.isMenubar &&  nls_isIE && !nls_isIE5 && this.mgr.flowOverFormElement) {
+    smenu += "<iframe id='"+this.mId+"ifrm' scrolling='no' frameborder=0 width='1' height='1' style='position:absolute;top:0px;left:0px;z-index:-1;filter:alpha(opacity=0)' src='"+scPath+"img/blank.gif"+"'></iframe>";
+  }
+  smenu+="</div>";
+
+  if (arguments[0]=="content") return smenu;
+
+  smenu = "<div id='"+this.mId+"' style="+(this.isMenubar?"''":"'position:absolute;z-index:"+this.zIndex+";display:none;'")+" onmouseover=\"_nlsMenuItemOver('"+this.mgrId+"')\" onmouseout=\"nlsMenuItemOut('"+this.mgrId+"')\">" + smenu + "</div>";
+
+  return smenu;
+};
+
+NLSMENU.init=function() {
+  var v=this.rt.vshade; if(!v) v=NlsMenu.$GE("vshade_"+this.mId);
+  var itm=this.rt.actmn; if(!itm) itm=NlsMenu.$GE("actmn_"+this.mId);
+  if(v){
+    var o=itm.childNodes[0].offsetHeight-parseInt(this.shadow.offset);
+    if(o>=0) v.style.height=o+"px";
+  }
+  this.rt.actmn=itm;
+  this.rt.vshade=v;
+};
+
+function NlsMenuShadow(pos, offset, mId) {
+  this.pos=pos;
+  this.offset=offset;
+  this.mId=mId;
+
+  this.dropShadow = function (smenu) {
+    var mn = nlsMenu[this.mId];
+    var cs="<table cellpadding=0 cellspacing=0 ";
+    var shadow = "<div>"+cs+"id='effwin_"+this.mId+"' height='0px'>";
+    var hshadow = "<td style='padding-@@PAD:"+this.offset+";'>"+cs+"width='100%' height='5px' class='"+mn.stlprf+"horzshadow'><tr><td></td></tr></table></td>";
+    var vshadow = "<td style='padding-@@PAD:"+this.offset+";height:100%;'>"+cs+"id='vshade_"+this.mId+"' width='5px' height='100%' class='"+mn.stlprf+"vertshadow'><tr><td></td></tr></table></td>";
+    var menutd = "<td id='actmn_"+this.mId+"'>"+smenu+"</td>";
+    var cornertd = "<td class='"+mn.stlprf+"cornshadow' width='5px' height='5px'></td>";
+    var av=[vshadow.replace(/@@PAD/gi,"top"), vshadow.replace(/@@PAD/gi,"bottom")];
+    var ah=[hshadow.replace(/@@PAD/gi,"left"), hshadow.replace(/@@PAD/gi,"right")];
+    switch (this.pos) {
+      case "none":
+        shadow += "<tr>"+menutd+"</tr>";
+        break;
+      case "bottomright" :
+        shadow += "<tr>"+menutd+av[0]+"</tr>" +
+          "<tr>"+ah[0]+cornertd+"</tr>";
+        break;
+      case "bottomleft" :
+        shadow += "<tr>"+av[0]+menutd+"</tr>" +
+          "<tr>"+cornertd+ah[1]+"</tr>";
+        break;
+      case "topleft" :
+        shadow += "<tr>"+cornertd+ah[1]+"</tr>" +
+          "<tr>"+av[1]+menutd+"</tr>";
+        break;
+      case "topright" :
+        shadow += "<tr>"+ah[0]+cornertd+"</tr>" +
+          "<tr>"+menutd+av[1]+"</tr>";
+        break;
+    }
+    return shadow + "</table></div>";
+  };
+};
+
+NLSMENU.showMenu = function(x1, y1, x2, y2, mnOrient, subDir, subAdj) {
+  this.mgr.clearTimeout();
+
+  if(this.menuOnShow(this.mId)==false)return;
+
+  var ctx = NlsMenu.$GE(this.mId);
+  if (!ctx) {
+    //create menu if not rendered.
+    var dv=document.createElement("div");
+    dv.innerHTML=this.renderMenu();
+    document.body.insertBefore(dv, document.body.childNodes[0]);
+    ctx = NlsMenu.$GE(this.mId);
+  };
+  ctx.style.visibility="hidden";
+  ctx.style.display="";
+  if(nls_isIE)this.init();
+
+  var w=window, d=document.body, de=document.documentElement;
+  var scrOffX = w.scrollX||d.scrollLeft||de.scrollLeft;
+  var scrOffY = w.scrollY||d.scrollTop||de.scrollTop;
+  var cW=w.innerWidth||d.clientWidth;
+  var cH=w.innerHeight||d.clientHeight;
+  var mW=ctx.childNodes[0].offsetWidth;
+  var mH=ctx.childNodes[0].offsetHeight;
+  var sDir=(subDir?[subDir[0], subDir[1]]:["right", "down"]);
+  var adjX=(subAdj?subAdj[0]:this.defPos[0]), adjY=(subAdj?subAdj[1]:this.defPos[1]);
+
+  var dmfrm = NlsMenu.$GE(this.mId+"ifrm");
+  if (dmfrm) {
+    var actMn = NlsMenu.$GE("actmn_"+this.mId).children[0];
+    dmfrm.width = actMn.offsetWidth;
+    dmfrm.height = actMn.offsetHeight;
+  }
+  var mX=0,mY=0;
+  if (mnOrient=="V") {
+    if (sDir[0]=="right") {
+      if(x2+mW>cW){if(x1>=mW){mX=x1-mW+adjX+scrOffX;sDir[0]="left"}else{mX=cW-mW-1+scrOffX;}}else{mX=x2+scrOffX-adjX;}
+    } else {
+      if(x1-mW<0){if(x2+mW<cW){mX=x2-adjX+scrOffX;sDir[0]="right"}else{mX=scrOffX;}}else{mX=x1-mW+adjX+scrOffX;}
+    }
+    if (sDir[1]=="down") {
+      if(y1+mH>cH){if(y2>=mH){mY=y2-mH+scrOffY-adjY;sDir[1]="up"}else{mY=cH-mH-1+scrOffY;}}else{mY=y1+scrOffY+adjY;}
+    } else {
+      if(y1-mH<0){if(y1+mH<cH){mY=y1+scrOffY-adjY;sDir[1]="down"}else{mY=scrOffY;}}else{mY=y2-mH+scrOffY-adjY;}
+    }
+  } else {
+    if (sDir[0] == "right") {
+      if(x1+mW>cW){if(x2>=mW){mX=x2-mW+scrOffX-adjX;sDir[0]="left"}else{mX=cW-mW-1+scrOffX;}}else{mX=x1+scrOffX+adjX;}
+    } else {
+      if(x2-mW<0){if(x1+mW<cW){mX=x1+scrOffX+adjX;sDir[0]="right"}else{mX=scrOffX;}}else{mX=x2-mW+scrOffX-adjX;}
+    }
+    if (sDir[1] == "down") {
+      if(y2+mH>cH){if(y1>=mH){mY=y1-mH+scrOffY+adjY;sDir[1]="up"}else{mY=cH-mH-1+scrOffY;}}else{mY=y2+scrOffY-adjY;}
+    } else {
+      if(y1-mH<0){if(y2+mH<cH){mY=y2+scrOffY-adjY;sDir[1]="down"}else{mY=scrOffY;}}else{mY=y1-mH+scrOffY+adjY;}
+    }
+  }
+
+  if (nls_isIE5 || !this.mgr.flowOverFormElement) {
+    if (this.winElmt==null) hideWinElmt(this, mX, mY, mX+mW, mY+mH);
+    if (this.winElmt==null) this.winElmt=[];
+    for(var i=0;i<this.winElmt.length;i++) {
+      this.winElmt[i].style.visibility="hidden";
+    }
+  }
+  with (ctx.style) {
+    left=mX+"px"; top=mY+"px";
+    zIndex = this.zIndex;
+    if (this.effect) {
+      with (this.effect) {prop["dir"]=sDir[(mnOrient=="V"?0:1)]; start(false); visibility="visible"; run();}
+    } else { visibility="visible"; }
+  }
+  this.rt.active=true;
+};
+
+function hideWinElmt(mn, mX1, mY1, mX2, mY2) {
+  var oe;
+  for (var i=0; i<nlsWinElmt.length; i++) {
+    oe = nlsWinElmt[i];
+    if ((oe.eX1>=mX1 && oe.eX1<=mX2 && oe.eY1>=mY1 && oe.eY1<=mY2) ||
+        (oe.eX1>=mX1 && oe.eX1<=mX2 && oe.eY2>=mY1 && oe.eY2<=mY2) ||
+        (oe.eX2>=mX1 && oe.eX2<=mX2 && oe.eY1>=mY1 && oe.eY1<=mY2) ||
+        (oe.eX2>=mX1 && oe.eX2<=mX2 && oe.eY2>=mY1 && oe.eY2<=mY2) ||
+        (mX1>=oe.eX1 && mX1<=oe.eX2 && mY1>=oe.eY1 && mY1<=oe.eY2) ||
+        (mX1>=oe.eX1 && mX1<=oe.eX2 && mY2>=oe.eY1 && mY2<=oe.eY2) ||
+        (mX2>=oe.eX1 && mX2<=oe.eX2 && mY1>=oe.eY1 && mY1<=oe.eY2) ||
+        (mX2>=oe.eX1 && mX2<=oe.eX2 && mY2>=oe.eY1 && mY2<=oe.eY2) ||
+        (oe.eX1<mX1 && oe.eX2>mX2 && oe.eY1>=mY1 && oe.eY1<=mY2) ||
+        (oe.eX1<mX1 && oe.eX2>mX2 && oe.eY2>=mY1 && oe.eY2<=mY2)
+       ) {
+      if (oe.e.style.visibility!="hidden") {
+        oe.e.style.visibility="hidden";
+        if (mn.winElmt==null) mn.winElmt=[];
+        mn.winElmt[mn.winElmt.length]=oe.e;
+      }
+    }
+  }
+};
+
+NLSMENU.showMenuAbs = function(x, y) {
+  var ctx = NlsMenu.$GE(this.mId);
+  ctx.style.top=y+"px"; ctx.style.left=x+"px";
+  ctx.style.display="";
+  this.rt.active=true;
+};
+
+NLSMENU.hideMenu = function() {
+  var ctx = NlsMenu.$GE(this.mId);
+  if (!ctx) return;
+  if (!this.isMenubar) {
+    this.rt.active=false;
+    if (this.effect) {
+      this.effect.start(true);
+      if ((nls_isIE && this.effect.effName!="aoslide") || nls_isOpera && this.effect.effName!="aoslide") {ctx.style.visibility="hidden";} else { this.effect.onHide=function() {ctx.style.visibility="hidden";}; };
+      this.effect.run();
+    } else { ctx.style.visibility="hidden"; }
+
+    this.menuOnHide(this.mId);
+  } else {
+    this.isMenuOpened = false;
+  }
+
+  if (this.lsItm!=null) {
+    var it=this.items[this.lsItm.id];
+    if(it.state!=2 && !it.selected) {
+      setMnStyle(this.lsItm, (it.enable?"N":"D"), NlsMenu.getPrf(it, this));
+      setMnIcon(this, it, "N");
+    }
+    this.lsItm=null;
+  }
+  if (this.winElmt!=null && this.winElmt.length>0) {
+    for (i=0;i<this.winElmt.length;i++) {
+      this.winElmt[i].style.visibility = "visible";
+    }
+  }
+  if (typeof(window.status)!="undefined") window.status="";
+};
+
+NLSMENU.hasSubmenu=function(key) {
+  var it=this.items[this.mId+"_"+key];
+  if(!it.crsFrame) {return(nlsMenu[it.subMenuId]);} else {
+    return it.subFrame.nlsGetMenu(it.subMenuId);
+  }
+};
+
+function $itemClick(mn, it) {
+  var mnMgr = nlsMenuMgr[mn.mgrId];
+  mnMgr.hideMenus();
+  var assMgr = mnMgr.assocMenuMgr;
+  if ( assMgr && assMgr.length > 0) {
+    for (var i=0;i<assMgr.length;i++) { assMgr[i][0].hideAllNlsMenu(); }
+  }
+
+  var trgt=it.target;
+  if (trgt==null) trgt=mn.target!=null?mn.target:"_self";
+  if (it.url!="") {
+    window.open(it.url, trgt);
+  } else {
+    return mn.menuOnClick(mn.mId, it.id);
+  }
+};
+
+NLSMENU.$menuItemClick = function(e, itemId) {
+  if (!this.items[itemId].enable) return;
+
+  var it=this.items[itemId], prf=NlsMenu.getPrf(it, this);
+  var oIt = NlsMenu.$GE(itemId), mgr=this.mgr;
+
+  // we need to preload AJAX menu here, otherwise hasSubmenu below returns false ~Kostja
+  if (this.isMenubar && this.dropOnClick && it.rt.subUrl && it.rt.loaded==0) {
+    //ajax menu
+    NlsMenuUtil.loadAJAXMenu(this,it);
+  }
+
+  if(this.isMenubar && this.dropOnClick && this.hasSubmenu(it.id) && !this.isMenuOpened) { // Kostja: added !this.isMenuOpened, otherwise there is no way to go to menu item URL ~Kostja
+    if(!this.isMenuOpened) {
+      NlsMenu.showMenu(this, it);
+      this.isMenuOpened = true;
+    } else { // we'll never get here, see above ~Kostja
+      mgr.hideMenus();
+      setMnStyle(oIt, (it.enable ? "O" : "D"), prf);
+      setMnIcon(this, it, "O");
+      this.isMenuOpened = false;
+      return null;
+    }
+  } else {
+    if(it.toggle) {
+      this.setItemState(itemId, (it.state==1?2:1));
+    } else if(this.selection) {
+      this.setSelection(itemId, true);
+    } else if(mgr.memorizeSel) {
+      mgr.selectPath(this.mId, it.id);
+      mgr.savePath(itemId);
+    }
+    $itemClick(this, it);
+  }
+};
+
+NLSMENU.menuOnClick = function (menuId, itemId) {return true;};
+NLSMENU.menuOnShow = function (menuId) {return true;};
+NLSMENU.menuOnHide = function (menuId) {return true;};
+
+NLSMENU.reload = function(dh) {
+  var ef=this.effect;
+  if(ef) { ef.elm=null; ef.prop["init"]=false; }
+  this.lsItm=null;
+  if(dh!=true) this.mgr.hideMenus();
+  var m=NlsMenu.$GE(this.mId);
+  m.innerHTML=this.renderMenu("content");
+};
+
+function setMnIcon(mn, mnItm, f) {
+  var tf=(mnItm.enable?f:"D");
+  if (mn.showIcon && mnItm.ico && mnItm.ico.length>1) {
+    var k=mnItm.intKey;
+    var c=NlsMenu.$GE("ic_"+k), o=NlsMenu.$GE("icovr_"+k), d=NlsMenu.$GE("icdis_"+k);
+
+    c.style.display=(tf=="N"||(tf=="D" && !d)?"":"none");
+    o.style.display=(tf=="O"?"":"none");
+    if(d) d.style.display=(tf=="D"?"":"none");
+  }
+
+  if (mn.showSubIcon && mnItm.subMenuId!="") {
+    var ic=NlsMenu.$GE("subicovr_"+mnItm.intKey);
+    if(ic){
+      ic.style.display=(tf=="O"?"":"none");
+      ic=NlsMenu.$GE("subic_"+mnItm.intKey);
+      if(ic)ic.style.display=(tf=="N"||tf=="D"?"":"none");
+    }
+  }
+};
+
+function setMnStyle(it, s, prefix) {
+  var suff=(s=="O"?"over":(s=="S"?"sel":""));
+  it.className=prefix+"nlsitemcontainer"+suff;
+  var r = it.childNodes[0].rows[0], rc=null;
+  for (var i=0; i<r.cells.length; i++) {
+    rc=r.cells[i];
+    if(rc.id==it.id+"x1") rc.className=prefix+"nlsiconcell"+suff;
+    if(rc.id==it.id+"x2") rc.className=prefix+"nlsitem"+(s=="D"?"disable":suff);
+    if(rc.id==it.id+"x3") rc.className=prefix+"nlssubmenucell"+suff;
+  }
+};
+
+function nlsMenuItemOver(e, itId) {
+  var m=itId.split("_");
+  var prMenu = nlsMenu[m[0]];
+  if(prMenu.mgr.design==true)return;
+  var li = prMenu.lsItm;
+  if (!prMenu.rt.active || !prMenu.rt.ready) return;
+
+  var it=null, st="", nli=null;
+  if (li!=null) {
+    it=prMenu.items[li.id];
+    if(!it) return;
+    if(it.intKey==itId) return;
+    if(it.state!=2 && !it.selected) { /*toggle pressed*/
+      var st=NlsMenu.getPrf(it, prMenu);
+      var ef=(it.itemEffect!=null);
+      if (ef) { it.itemEffect.init(); }
+      setMnStyle(li, (it.enable ? "N" : "D"), st);
+      setMnIcon(prMenu, it, "N");
+      if (ef) { it.itemEffect.start(); }
+    }
+
+    var tmp=(it.crsFrame?it.subFrame.nlsGetMenu(it.subMenuId):nlsGetMenu(it.subMenuId));
+    while(tmp!=null) {
+      nli = null;
+      if (tmp.lsItm) {
+        it=tmp.items[tmp.lsItm.id];
+        nli = (it.crsFrame ? it.subFrame.nlsGetMenu(it.subMenuId) : tmp.wnd.nlsGetMenu(it.subMenuId));
+      }
+      tmp.hideMenu(); tmp=nli;
+    }
+  }
+
+  var oIt = NlsMenu.$GE(itId);
+  it=prMenu.items[itId];
+  if (typeof(window.status)!="undefined") window.status=it.url;
+  if(it.state!=2 && !it.selected) {
+    if (it.itemEffect!=null) { it.itemEffect.init(); }
+    setMnStyle(oIt, (it.enable ? "O" : "D"), NlsMenu.getPrf(it, prMenu));
+    setMnIcon(prMenu, it, "O");
+    if (it.itemEffect!=null) { it.itemEffect.start(); }
+  }
+
+  if (!prMenu.isMenubar ||
+      (prMenu.isMenubar && !prMenu.dropOnClick) ||
+      (prMenu.isMenubar && prMenu.dropOnClick && prMenu.isMenuOpened)) { NlsMenu.showMenu(prMenu, it); }
+
+  prMenu.lsItm=oIt;
+};
+
+function nls_getXY(oIt) {
+  var p=new Object(); p.x=0;p.y=0;p.x2=0;p.y2=0; var tmp=oIt;var d=document;
+  while(tmp) { p.x+=tmp.offsetLeft; p.y+=tmp.offsetTop; tmp=tmp.offsetParent } ;
+  p.x -= (window.scrollX||d.body.scrollLeft||d.documentElement.scrollLeft);
+  p.y -= (window.scrollY||d.body.scrollTop||d.documentElement.scrollTop);
+  if (oIt) { p.x2=p.x+oIt.offsetWidth; p.y2=p.y+oIt.offsetHeight;};
+  return p;
+};
+
+NlsMenu.showMenu=function(mn, it) {
+  if(it.rt.subUrl && it.rt.loaded==0) {
+    //ajax menu
+    NlsMenuUtil.loadAJAXMenu(mn,it);
+  } else {
+    NlsMenu.$showMenu(mn,it);
+  }
+}
+
+NlsMenu.$showMenu=function(prMenu, it) {
+  var oIt = NlsMenu.$GE(it.intKey);
+  if (it.subMenuId!="" && it.enable==true) {
+    var p=nls_getXY(oIt), smn=null;
+    if (it.crsFrame) {
+      var ps=it.subPos;
+      if (ps[0]=="REL") { } else { p.x = ps[0]; p.x2=p.x; }
+      if (ps[1]=="REL") { } else { p.y = ps[1]; p.y2=p.y; }
+      if (!it.subFrame.nlsGetMenu) return;
+      smn = it.subFrame.nlsGetMenu(it.subMenuId);
+      if (!smn) return;
+    } else {
+      smn = nlsGetMenu(it.subMenuId);
+      if (!smn) return;
+      if (smn.zIndex <= prMenu.zIndex) { smn.zIndex = prMenu.zIndex+1 }
+
+    }
+    smn.showMenu(p.x, p.y, p.x2, p.y2, prMenu.orient, it.subDir, it.subPosAdj);
+  }
+};
+
+NlsMenu.getPrf=function(it, mn) {
+  if(!it.stlprf || it.stlprf=="")return mn.stlprf; else return it.stlprf;
+}
+
+function nls_showMenu(mId, oIt, orient, subDir, subPosAdj) {
+  var sMenu = nlsGetMenu(mId);
+  if (!sMenu) { hideAllNlsMenu(); return;}
+  sMenu.mgr.clearTimeout();
+  if (sMenu.rt.active) return;
+  var p=nls_getXY(oIt);
+  sMenu.mgr.hideMenus();
+  sMenu.showMenu(p.x, p.y, p.x2, p.y2, orient, subDir, subPosAdj);
+}
+
+function nls_hideMenu(mId) {
+  var sMenu = nlsGetMenu(mId);
+  if (!sMenu) return;
+  nlsMenuItemOut(sMenu.mgrId);
+}
+
+function _nlsMenuItemOver(mgrId) {
+  var mgr = nlsMenuMgr[mgrId];
+  if(mgr.design==true) return;
+  mgr.clearTimeout();
+
+  var am = mgr.assocMenuMgr;
+  if ( am && am.length > 0) {
+    for (var i=0; i<am.length; i++) {
+      if (!am[i][0].nlsMenuMgr) continue;
+      am[i][0].nlsMenuMgr[am[i][1]].clearTimeout();
+    }
+  }
+  for (var it in nlsMenuMgr) {
+    if (it!=mgrId) {
+      nlsMenuMgr[it].hideMenus();
+    }
+  }
+};
+
+function nlsMenuItemOut(mgrId) {
+  var mnMgr = nlsMenuMgr[mgrId];
+  if(mnMgr.design==true) return;
+  mnMgr.clearTimeout();
+  mnMgr.setTimeout(function() { _nlsMenuItemOut(mgrId) }, mnMgr.timeout);
+
+  var assMgr = mnMgr.assocMenuMgr;
+  if ( assMgr && assMgr.length > 0) {
+    for (var i=0; i<assMgr.length; i++) {
+      var frm = assMgr[i];
+      if (!frm[0].nlsMenuMgr) continue;
+      frm[0].nlsMenuMgr[frm[1]].clearTimeout();
+      frm[0].nlsMenuMgr[frm[1]].setTimeout(function() { frm[0]._nlsMenuItemOut(mgrId); }, mnMgr.timeout);
+    }
+  }
+};
+
+function _nlsMenuItemOut(mgrId) {
+  nlsMenuMgr[mgrId].hideMenus();
+};
+
+function nlsGetMenu(mId) {
+  return nlsMenu[mId];
+};
+
+/*===================================================*/
+/*NlsMenuBar class*/
+/*===================================================*/
+
+NLSMENU.isMenuOpened = false;
+
+NLSMENU.dropOnClick = false;
+
+NLSMENU.renderMenubar = function () {
+  return this.renderMenu();
+};
+
+function NlsMenubar(mId) {
+  var mnBar = new NlsMenu(mId);
+  mnBar.isMenubar=true;
+  mnBar.rt.active=true;
+  return mnBar;
+};
+
+/*===================================================*/
+/*Public general methods*/
+/*===================================================*/
+
+function hideAllNlsMenu() {
+  for (it in nlsMenu) {if (nlsMenu[it].rt.active) nlsMenu[it].hideMenu();}
+};
+
+/**Cross browser related methods*/
+NlsMenu.$GE=function(id) {
+  if (document.all) {
+      return document.all(id);
+  } else
+  if (document.getElementById) {
+      return document.getElementById(id);
+  }
+};
+
+
Index: themes/advanced/platform/inc/dmenu.css
===================================================================
--- themes/advanced/platform/inc/dmenu.css	(revision 0)
+++ themes/advanced/platform/inc/dmenu.css	(revision 0)
@@ -0,0 +1,132 @@
+/* Horizontal (menubar) menu */
+
+.horz_nlsmenu {
+    background-color: inherit;
+    z-index:1;
+    width: auto;
+}
+
+.horz_nlsitemcontainer {
+    height: 37px;
+    color: #ffffff;
+    padding: 0px 13px;
+}
+.horz_nlsiconcell {width:16px;}
+.horz_nlssubmenucell{width:20px;}
+
+.horz_nlsitem {
+    font-size:8pt;
+    color: #ffffff;
+    padding:2px 5px 2px 5px;
+}
+
+.horz_nlsitemcontainerover {
+    height: 37px;
+    background:url(../img/top_menu_select.gif);
+    padding: 0px 13px;
+}
+.horz_nlsiconcellover {width:16px;}
+.horz_nlssubmenucellover {width:20px;}
+
+.horz_nlsitemover {
+    font-size:8pt;
+    color: #FFFFFF;
+    padding:2px 5px 2px 5px;
+}
+
+.horz_nlsitemdisable {
+    font-family:verdana;
+    font-size:8pt;
+    color:#999999;
+    padding:2px 5px 2px 5px;
+}
+
+.horz_nlsseparatorcontainer {padding-left:0px; width:1px;}
+
+.horz_nlsseparator {
+    height:5px;
+    width:1px;
+    background-image:url(img/vseparator.gif);
+    background-position:center center;
+    background-repeat:repeat-x;
+}
+
+.horz_mtopleft {height:0px; width:0px;}
+.horz_mtopright {height:0px; width:0px;}
+.horz_mbottomleft {width:0px; height:0px;}
+.horz_mbottomright {width:0px; height:0px;}
+.horz_mtop {height:0px;}
+.horz_mbottom {height:0px;}
+.horz_mleft {width:0px;}
+.horz_mright {width:0px;}
+
+.horz_horzshadow { -moz-opacity:0.4; background-repeat:no-repeat; background-image:url(img/hshadow.gif);filter:progid:DXImageTransform.Microsoft.Alpha( Opacity=40, FinishOpacity=0, Style=0, StartX=0,  FinishX=100, StartY=0, FinishY=100);}
+.horz_vertshadow { -moz-opacity:0.4; background-repeat:no-repeat; background-image:url(img/vshadow.gif);filter:progid:DXImageTransform.Microsoft.Alpha( Opacity=40, FinishOpacity=0, Style=0, StartX=0,  FinishX=100, StartY=0, FinishY=100);}
+.horz_cornshadow { -moz-opacity:0.4; background-repeat:no-repeat; background-image:url(img/cornershadow.gif);filter:progid:DXImageTransform.Microsoft.Alpha( Opacity=40, FinishOpacity=0, Style=0, StartX=0,  FinishX=100, StartY=0, FinishY=100);}
+
+
+/* Vertical (drop-down) menus */
+
+.nlsmenu {
+    background-color: #105596;
+    z-index:1;
+    width: auto !important;
+    color: #ffffff;
+    padding: 2px 2px;
+    border: 1px solid #6291BB;
+}
+
+.nlsitemcontainer {
+    height:25px;
+    padding:2px 10px 2px 10px;
+    border: 1px solid #6291BB;
+}
+.nlsiconcell {width:22px;}
+.nlssubmenucell{width:20px;}
+.nlsitem {
+    font-size:8pt;
+    color: #ffffff;
+    padding:0px 7px;
+}
+
+.nlsitemcontainerover {
+    height:25px;
+    border: 1px solid #6291BB;
+    background:url(../img/top_menu_select.gif);
+    padding: 2px 10px 2px 10px;
+}
+.nlsiconcellover {width:22px;}
+.nlssubmenucellover {width:20px;}
+.nlsitemover {
+    font-size:8pt;
+    color:#ffffff;
+    padding:0px 7px;
+}
+
+.nlsitemdisable {
+    font-size:8pt;
+    color:#999999;
+    padding:2px 5px 2px 5px;
+}
+
+.nlsseparatorcontainer {padding-left:28px;}
+
+.nlsseparator {
+    height:5px;
+    background-image:url(img/separator.gif);
+    background-position:center center;
+    background-repeat:repeat-x;
+}
+
+.mtopleft {height:0px; width:0px;}
+.mtopright {height:0px; width:0px;}
+.mbottomleft {width:0px; height:0px;}
+.mbottomright {width:0px; height:0px;}
+.mtop {height:0px;}
+.mbottom {height:0px;}
+.mleft {width:0px;}
+.mright {width:0px;}
+
+.horzshadow {  -moz-opacity:0.4;background-repeat:no-repeat; background-image:url(img/hshadow.gif);filter:progid:DXImageTransform.Microsoft.Alpha( Opacity=40, FinishOpacity=0, Style=0, StartX=0,  FinishX=100, StartY=0, FinishY=100);}
+.vertshadow {  -moz-opacity:0.4;background-repeat:no-repeat; background-image:url(img/vshadow.gif);filter:progid:DXImageTransform.Microsoft.Alpha( Opacity=40, FinishOpacity=0, Style=0, StartX=0,  FinishX=100, StartY=0, FinishY=100);}
+.cornshadow {  -moz-opacity:0.4;background-repeat:no-repeat; background-image:url(img/cornershadow.gif);filter:progid:DXImageTransform.Microsoft.Alpha( Opacity=40, FinishOpacity=0, Style=0, StartX=0,  FinishX=100, StartY=0, FinishY=100);}
Index: themes/advanced/redirect.tpl
===================================================================
--- themes/advanced/redirect.tpl	(revision 0)
+++ themes/advanced/redirect.tpl	(revision 0)
@@ -0,0 +1,90 @@
+<!--##
+<NAME>Redirect</NAME>
+<DESC></DESC>
+<SECTION>Platform</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_Phrase name="lu_title_Redirect"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/recommend_site.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/mailing_list.elm" design="blue_box"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<!--## MAIN CONTENT ##-->
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_Redirect" templates="redirect"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement design="content_box">
+				<inp2:m_Capture to_var="header">
+					<inp2:m_Phrase name="lu_title_Redirect"/>
+					<!-- lu_redirecting_title -->
+				</inp2:m_Capture>
+				<br /><br />
+				<inp2:m_phrase name="lu_text_Redirect"/>
+
+				<script type="text/javascript">
+					function exec_refresh() {
+						window.status = 'Redirecting...' + myvar;
+						myvar = myvar + ' .';
+
+						var timerID = setTimeout('exec_refresh();', 100);
+
+						if (timeout > 0) {
+							// prints dots in status bar for timeout * 100 miliseconds (will be 2 seconds)
+							timeout -= 1;
+						}
+						else {
+							clearTimeout(timerID);
+							window.status = '';
+							window.location = '<inp2:m_Get name="redirect_to" js_escape="1"/>';
+						}
+					}
+
+					var myvar = '';
+					var timeout = 20;
+
+					exec_refresh();
+				</script>
+
+				<form action="<inp2:m_FormAction />" method="get">
+					<br />
+					<!-- lu_redirecting_text -->
+					<a href="<inp2:m_Get name='redirect_to'/>"><inp2:m_Phrase label="lu_text_Redirect" /></a><br />
+					<br />
+					<script type="text/javascript">
+						document.write('<input type="submit" class="button" value=" Proceed " accesskey="s" onclick="window.location=\'<inp2:m_Get name="redirect_to" js_escape="1"/>\'; return false" />');
+					</script>
+				</form>
+
+				<br /><br />
+			</inp2:m_RenderElement>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## /MAIN CONTENT ##-->
+
+<!--## DESIGN TEMPLATE ##-->
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
+<!--## /DESIGN TEMPLATE ##-->
\ No newline at end of file
Index: themes/advanced/phrases_edit.tpl
===================================================================
--- themes/advanced/phrases_edit.tpl	(revision 0)
+++ themes/advanced/phrases_edit.tpl	(revision 0)
@@ -0,0 +1,73 @@
+<!--##
+<NAME>Edit Phrases</NAME>
+<DESC></DESC>
+<SECTION>Platform</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_phrase name="lu_title_MissingPhraseAdding"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/recommend_site.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/mailing_list.elm" design="blue_box"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_MissingPhraseAdding" templates="phrases_edit"/>
+		</div>
+		<div class="movable-element">
+			<!-- ADD/EDIT PHRASE -->
+			<inp2:m_RenderElement design="content_box">
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_title_MissingPhraseAdding"/>
+				</inp2:m_Capture>
+
+				<span class="field-required">*</span> <inp2:m_phrase name="lu_IndicatesRequired"/><br /><br />
+
+				<inp2:m_if check="phrases_HasError" field="any">
+					<inp2:m_RenderElement name="error_message" />
+				</inp2:m_if>
+
+				<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/grey_pix.gif" width="100%" height="1" align="absmiddle" alt="" /><br /><br />
+
+				<form method="post" action="<inp2:m_FormAction/>">
+					<table class="form-data fullwidth">
+						<inp2:m_RenderElement name="inp_label" prefix="phrases" field="PrimaryTranslation" title="lu_fld_primary_translation"/>
+						<inp2:m_RenderElement name="inp_edit_box" prefix="phrases" field="Phrase" title="lu_fld_phrase" style="width: 300px;"/>
+						<inp2:m_RenderElement name="inp_edit_box" prefix="phrases" field="Translation" title="lu_fld_translation" style="width: 300px;"/>
+						<inp2:m_RenderElement name="inp_edit_options" prefix="phrases" field="Module" title="lu_fld_module" is_last="1"/>
+
+						<inp2:m_RenderElement design="inp_edit_buttons" width="150">
+							<input type="hidden" id="phrases_label" name="phrases_label" value="<inp2:m_get var="phrases_label"/>" />
+							<input type="hidden" name="<inp2:phrases_InputName field="LanguageId"/>" value="<inp2:phrases_Field name="LanguageId"/>" />
+							<input type="hidden" name="<inp2:phrases_InputName field="PhraseType"/>" value="0" />
+							<input class="button" type="submit" name="events[phrases][<inp2:phrases_SaveEvent/>]" value="<inp2:m_Phrase label='lu_btn_Create' no_editing='1'/>"/>
+						</inp2:m_RenderElement>
+					</table>
+				</form>
+			</inp2:m_RenderElement>
+			<!-- //ADD/EDIT PHRASE -->
+		</div>
+	</div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: themes/advanced/index.tpl
===================================================================
--- themes/advanced/index.tpl	(revision 0)
+++ themes/advanced/index.tpl	(revision 0)
@@ -0,0 +1,58 @@
+<!--##
+<NAME>Home</NAME>
+<DESC>Welcome page</DESC>
+<SECTION></SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+	<inp2:m_phrase name="lu_title_WelcomeTitle" no_editing="1"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/recommend_site.elm" design="blue_box"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement name="platform/elements/side_boxes/mailing_list.elm" design="blue_box"/>
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## /SIDE-BAR ELEMENT ##-->
+
+<!--## MAIN CONTENT ##-->
+<inp2:m_DefineElement name="content">
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_include template="platform/elements/navigation_bar.elm"/>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement design="content_box">
+				<inp2:m_Capture to_var="header">
+					<inp2:m_phrase name="lu_title_WelcomeTitle"/>
+				</inp2:m_Capture>
+
+				<inp2:st_ContentBlock num="1"/>
+			</inp2:m_RenderElement>
+		</div>
+		<div class="movable-element">
+			<!--## INCLUDE HOME PAGE ELEMENTS FOR EACH MODULE ##-->
+			<inp2:m_ModuleInclude template="elements/content_boxes/home_page_items.elm" data_exists="1"/>
+			<!--## /HOME PAGE ELEMENTS ##-->
+		</div>
+	</div>
+</inp2:m_DefineElement>
+<!--## /MAIN CONTENT ##-->
+
+<!--## DESIGN TEMPLATE ##-->
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
+<!--## /DESIGN TEMPLATE ##-->
\ No newline at end of file
Index: themes/simple/terms.tpl
===================================================================
--- themes/simple/terms.tpl	(revision 0)
+++ themes/simple/terms.tpl	(revision 0)
@@ -0,0 +1,26 @@
+<!--##
+<NAME>Terms and Conditions</NAME>
+<DESC></DESC>
+<SECTION></SECTION>
+##-->
+
+<!--## DEFINE MAIN CONTENT ELEMENT ##-->
+<inp2:m_DefineElement name="content">
+
+	<div class="movable-element">
+		<div id="block-latest" class="block">
+			<div class="round-top"></div>
+			<div class="content">
+				<h1 class="movable-header"><inp2:st_PageInfo type="title"/></h1>
+				<inp2:st_ContentBlock num="1"/>
+			</div>
+			<div class="round-bottom"></div>
+		</div>
+	</div>
+
+</inp2:m_DefineElement>
+<!--## /DEFINE MAIN CONTENT ELEMENT ##-->
+
+<!--## INCLUDE MAIN DESIGN TEMPLATE ##-->
+<inp2:m_include template="designs/default_design.des"/>
+<!--## /INCLUDE MAIN DESIGN TEMPLATE ##-->
\ No newline at end of file
Index: themes/simple/no_permission.tpl
===================================================================
--- themes/simple/no_permission.tpl	(revision 0)
+++ themes/simple/no_permission.tpl	(revision 0)
@@ -0,0 +1,24 @@
+<!--##
+<NAME>No Permissions</NAME>
+<DESC></DESC>
+<SECTION></SECTION>
+##-->
+
+<!--## DEFINE MAIN CONTENT ELEMENT ##-->
+<inp2:m_DefineElement name="content">
+	<div class="movable-element">
+
+		<div id="block-latest" class="block">
+			<div class="round-top"></div>
+			<div class="content">
+				<h1 class="movable-header"><inp2:m_Phrase name="lu_title_NoPermission"/></h1>
+				<inp2:m_phrase name="lu_text_NoPermission"/>
+			</div>
+			<div class="round-bottom"></div>
+		</div>
+
+	</div>
+</inp2:m_DefineElement>
+<!--## /DEFINE MAIN CONTENT ELEMENT ##-->
+
+<inp2:m_include template="designs/default_design.des" pass_params="1"/>
Index: themes/simple/search-results.tpl
===================================================================
--- themes/simple/search-results.tpl	(revision 0)
+++ themes/simple/search-results.tpl	(revision 0)
@@ -0,0 +1,43 @@
+<!--##
+<NAME>Search Results</NAME>
+<DESC>Search Results</DESC>
+<SECTION></SECTION>
+##-->
+
+<!--## DEFINE MAIN CONTENT ELEMENT ##-->
+<inp2:m_DefineElement name="content">
+
+	<div class="movable-element">
+		<div id="block-latest" class="block">
+			<div class="round-top"></div>
+			<div class="content">
+				<inp2:c_InitList list_name="search_results" types="search" parent_cat_id="any" recursive="1"/>
+
+				<h1 class="movable-header"><inp2:m_phrase name="lu_title_SearchResults"/> (<inp2:c_TotalRecords list_name="search_results"/>)</h1>
+				<inp2:m_if check="c_TotalRecords" list_name="search_results">
+					<inp2:m_DefineElement name="search_element">					
+    	 				<li>
+    	 					<a href="<inp2:CategoryLink template="__default__" m_cat_page="1"/>" title="<inp2:Field name="Name" html_escape="1"/>"><inp2:Field name="Name" html_escape="1"/></a>
+    	 					<!-- ##
+    	 					<span>(<inp2:SubCatCount/> / <inp2:ItemCount/>)</span>
+    	 					 -->
+    	   				</li>
+	 				</inp2:m_DefineElement>
+
+	 				<ul>
+						<inp2:c_ListCategories list_name="search_results" render_as="search_element" per_page="-1" show_relevance="0" />
+					</ul>				
+				<inp2:m_else/>
+					<inp2:m_Phrase label="lu_text_NothingFound"/>!
+				</inp2:m_if>
+			</div>
+			<div class="round-bottom"></div>
+		</div>
+	</div>
+
+</inp2:m_DefineElement>
+<!--## /DEFINE MAIN CONTENT ELEMENT ##-->
+
+<!--## INCLUDE MAIN DESIGN TEMPLATE ##-->
+<inp2:m_include template="designs/default_design.des"/>
+<!--## /INCLUDE MAIN DESIGN TEMPLATE ##-->
\ No newline at end of file
Index: themes/simple/_install/english.lang
===================================================================
--- themes/simple/_install/english.lang	(revision 0)
+++ themes/simple/_install/english.lang	(revision 0)
@@ -0,0 +1,401 @@
+<LANGUAGES>
+	<LANGUAGE PackName="English" Encoding="base64"><DATEFORMAT>m/d/Y</DATEFORMAT><TIMEFORMAT>g:i A</TIMEFORMAT><INPUTDATEFORMAT>m/d/Y</INPUTDATEFORMAT><INPUTTIMEFORMAT>g:i:s A</INPUTTIMEFORMAT><DECIMAL>.</DECIMAL><THOUSANDS>,</THOUSANDS><CHARSET>utf-8</CHARSET><DOCS_URL>http://docs.in-portal.org/eng/index.php</DOCS_URL><UNITSYSTEM>2</UNITSYSTEM>
+		<PHRASES>
+			<PHRASE Label="lu_add" Module="Core" Type="0">QWRk</PHRASE>
+			<PHRASE Label="lu_added" Module="Core" Type="0">QWRkZWQ=</PHRASE>
+			<PHRASE Label="lu_AddedToday" Module="Core" Type="0">QWRkZWQgdG9kYXk=</PHRASE>
+			<PHRASE Label="lu_address" Module="Core" Type="0">QWRkcmVzcw==</PHRASE>
+			<PHRASE Label="lu_address_line" Module="Core" Type="0">QWRkcmVzcyBMaW5l</PHRASE>
+			<PHRASE Label="lu_AdvancedSearch" Module="Core" Type="0">QWR2YW5jZWQgU2VhcmNo</PHRASE>
+			<PHRASE Label="lu_AllRightsReserved" Module="Core" Type="0">QWxsIHJpZ2h0cyByZXNlcnZlZC4=</PHRASE>
+			<PHRASE Label="lu_AllWebsite" Module="Core" Type="0">RW50aXJlIFdlYnNpdGU=</PHRASE>
+			<PHRASE Label="lu_and" Module="Core" Type="0">QW5k</PHRASE>
+			<PHRASE Label="lu_AProblemInForm" Module="Core" Type="0">VGhlcmUgaXMgYSBwcm9ibGVtIHdpdGggdGhlIGZvcm0sIHBsZWFzZSBjaGVjayB0aGUgZXJyb3IgbWVzc2FnZXMgYmVsb3cu</PHRASE>
+			<PHRASE Label="lu_AProblemWithForm" Module="Core" Type="0">VGhlcmUgaXMgYSBwcm9ibGVtIHdpdGggdGhlIGZvcm0sIHBsZWFzZSBjaGVjayB0aGUgZXJyb3IgbWVzc2FnZXMgYmVsb3c=</PHRASE>
+			<PHRASE Label="lu_ascending" Module="Core" Type="0">QXNjZW5kaW5n</PHRASE>
+			<PHRASE Label="lu_birth_date" Module="Core" Type="0">QmlydGggRGF0ZQ==</PHRASE>
+			<PHRASE Label="lu_btn_AddReview" Module="Core" Type="0">QWRkIENvbW1lbnQ=</PHRASE>
+			<PHRASE Label="lu_btn_AddToFavorites" Module="Core" Type="0">QWRkIFRvIEZhdm9yaXRlcw==</PHRASE>
+			<PHRASE Label="lu_btn_AddToWishList" Module="Core" Type="0">QWRkIFRvIFdpc2ggTGlzdA==</PHRASE>
+			<PHRASE Label="lu_btn_advancedsearch" Module="Core" Type="0">QWR2YW5jZWQgc2VhcmNo</PHRASE>
+			<PHRASE Label="lu_btn_Cancel" Module="Core" Type="0">Q2FuY2Vs</PHRASE>
+			<PHRASE Label="lu_btn_Clear" Module="Core" Type="0">Q2xlYXI=</PHRASE>
+			<PHRASE Label="lu_btn_CloseWindow" Module="Core" Type="0">Q2xvc2UgV2luZG93</PHRASE>
+			<PHRASE Label="lu_btn_Contact" Module="Core" Type="0">Q29udGFjdA==</PHRASE>
+			<PHRASE Label="lu_btn_Create" Module="Core" Type="0">Q3JlYXRl</PHRASE>
+			<PHRASE Label="lu_btn_Delete" Module="Core" Type="0">RGVsZXRl</PHRASE>
+			<PHRASE Label="lu_btn_DeleteFile" Module="Core" Type="0">RGVsZXRlIEZpbGU=</PHRASE>
+			<PHRASE Label="lu_btn_DeleteImage" Module="Core" Type="0">RGVsZXRlIEltYWdl</PHRASE>
+			<PHRASE Label="lu_btn_Details" Module="Core" Type="0">RGV0YWlscw==</PHRASE>
+			<PHRASE Label="lu_btn_Edit" Module="Core" Type="0">RWRpdA==</PHRASE>
+			<PHRASE Label="lu_btn_FindIt" Module="Core" Type="0">RmluZCBpdA==</PHRASE>
+			<PHRASE Label="lu_btn_Modify" Module="Core" Type="0">TW9kaWZ5</PHRASE>
+			<PHRASE Label="lu_btn_MoreImages" Module="Core" Type="0">TW9yZSBJbWFnZXM=</PHRASE>
+			<PHRASE Label="lu_btn_NewLink" Module="Core" Type="0">TmV3IExpbms=</PHRASE>
+			<PHRASE Label="lu_btn_No" Module="Core" Type="0">Tm8=</PHRASE>
+			<PHRASE Label="lu_btn_Ok" Module="Core" Type="0">T0s=</PHRASE>
+			<PHRASE Label="lu_btn_Recommend" Module="Core" Type="0">UmVjb21tZW5k</PHRASE>
+			<PHRASE Label="lu_btn_register" Module="Core" Type="0">UmVnaXN0ZXI=</PHRASE>
+			<PHRASE Label="lu_btn_RemoveFromFavorites" Module="Core" Type="0">UmVtb3ZlIEZyb20gRmF2b3JpdGVz</PHRASE>
+			<PHRASE Label="lu_btn_Reset" Module="Core" Type="0">UmVzZXQ=</PHRASE>
+			<PHRASE Label="lu_btn_Select" Module="Core" Type="0">U2VsZWN0</PHRASE>
+			<PHRASE Label="lu_btn_SendPassword" Module="Core" Type="0">UmVjb3ZlciBQYXNzd29yZA==</PHRASE>
+			<PHRASE Label="lu_btn_Set" Module="Core" Type="0">U2V0</PHRASE>
+			<PHRASE Label="lu_btn_Sort" Module="Core" Type="0">U29ydA==</PHRASE>
+			<PHRASE Label="lu_btn_Subscribe" Module="Core" Type="0">U3Vic2NyaWJl</PHRASE>
+			<PHRASE Label="lu_btn_Unsubscribe" Module="Core" Type="0">VW5zdWJzY3JpYmU=</PHRASE>
+			<PHRASE Label="lu_btn_Update" Module="Core" Type="0">VXBkYXRl</PHRASE>
+			<PHRASE Label="lu_btn_ViewYourProfile" Module="Core" Type="0">VmlldyBZb3VyIFByb2ZpbGU=</PHRASE>
+			<PHRASE Label="lu_btn_Yes" Module="Core" Type="0">WWVz</PHRASE>
+			<PHRASE Label="lu_by" Module="Core" Type="0">Ynk=</PHRASE>
+			<PHRASE Label="lu_cancel" Module="Core" Type="0">Q2FuY2Vs</PHRASE>
+			<PHRASE Label="lu_captcha" Module="Core" Type="0">U2VjdXJpdHkgY29kZQ==</PHRASE>
+			<PHRASE Label="lu_captcha_error" Module="Core" Type="0">U2VjdXJpdHkgY29kZSBlbnRlcmVkIGluY29ycmVjdGx5</PHRASE>
+			<PHRASE Label="lu_captcha_prompt" Module="Core" Type="0">RW50ZXIgU2VjdXJpdHkgQ29kZQ==</PHRASE>
+			<PHRASE Label="lu_CategoriesUpdated" Module="Core" Type="0">TGFzdCB1cGRhdGVkIG9u</PHRASE>
+			<PHRASE Label="lu_city" Module="Core" Type="0">Q2l0eQ==</PHRASE>
+			<PHRASE Label="lu_ClickHere" Module="Core" Type="0">Y2xpY2sgaGVyZQ==</PHRASE>
+			<PHRASE Label="lu_code_expired" Module="Core" Type="0">UGFzc3dvcmQgcmVzZXQgaGFzIGNvZGUgZXhwaXJlZA==</PHRASE>
+			<PHRASE Label="lu_code_is_not_valid" Module="Core" Type="0">UGFzc3dvcmQgcmVzZXQgY29kZSBpcyBub3QgdmFsaWQ=</PHRASE>
+			<PHRASE Label="lu_col_AccountInformation" Module="Core" Type="0">QWNjb3VudCBJbmZvcm1hdGlvbg==</PHRASE>
+			<PHRASE Label="lu_col_CurrentValue" Module="Core" Type="0">Q3VycmVudCBWYWx1ZQ==</PHRASE>
+			<PHRASE Label="lu_col_Date" Module="Core" Type="0">RGF0ZQ==</PHRASE>
+			<PHRASE Label="lu_col_DisplayToPublic" Module="Core" Type="0">RGlzcGxheSB0byBQdWJsaWM=</PHRASE>
+			<PHRASE Label="lu_col_Email" Module="Core" Type="0">RW1haWw=</PHRASE>
+			<PHRASE Label="lu_col_LastUpdate" Module="Core" Type="0">TGFzdCBVcGRhdGU=</PHRASE>
+			<PHRASE Label="lu_col_loggedin" Module="Core" Type="0">T25saW5l</PHRASE>
+			<PHRASE Label="lu_col_login" Module="Core" Type="0">TG9naW4=</PHRASE>
+			<PHRASE Label="lu_col_MemberSince" Module="Core" Type="0">TWVtYmVyIHNpbmNl</PHRASE>
+			<PHRASE Label="lu_col_Message" Module="Core" Type="0">TWVzc2FnZQ==</PHRASE>
+			<PHRASE Label="lu_col_Name" Module="Core" Type="0">TmFtZQ==</PHRASE>
+			<PHRASE Label="lu_col_Price" Module="Core" Type="0">UHJpY2U=</PHRASE>
+			<PHRASE Label="lu_col_Views" Module="Core" Type="0">Vmlld3M=</PHRASE>
+			<PHRASE Label="lu_comm_EmailAddress" Module="Core" Type="0">RW1haWxBZGRyZXNz</PHRASE>
+			<PHRASE Label="lu_comm_Go" Module="Core" Type="0">R28=</PHRASE>
+			<PHRASE Label="lu_comm_NoPermissions" Module="Core" Type="0">Tm8gUGVybWlzc2lvbnM=</PHRASE>
+			<PHRASE Label="lu_comm_Page" Module="Core" Type="0">UGFnZQ==</PHRASE>
+			<PHRASE Label="lu_company" Module="Core" Type="0">Q29tcGFueQ==</PHRASE>
+			<PHRASE Label="lu_ContactUs" Module="Core" Type="0">Q29udGFjdCBVcw==</PHRASE>
+			<PHRASE Label="lu_contact_information" Module="Core" Type="0">Q29udGFjdCBJbmZvcm1hdGlvbg==</PHRASE>
+			<PHRASE Label="lu_country" Module="Core" Type="0">Q291bnRyeQ==</PHRASE>
+			<PHRASE Label="lu_create_password" Module="Core" Type="0">Q3JlYXRlIFBhc3N3b3Jk</PHRASE>
+			<PHRASE Label="lu_CreditCards" Module="Core" Type="0">Q3JlZGl0IENhcmRz</PHRASE>
+			<PHRASE Label="lu_CurrentRating" Module="Core" Type="0">Q3VycmVudCBSYXRpbmc=</PHRASE>
+			<PHRASE Label="lu_CurrentTheme" Module="Core" Type="0">WW91ciBUaGVtZQ==</PHRASE>
+			<PHRASE Label="lu_date" Module="Core" Type="0">RGF0ZQ==</PHRASE>
+			<PHRASE Label="lu_delete" Module="Core" Type="0">RGVsZXRl</PHRASE>
+			<PHRASE Label="lu_descending" Module="Core" Type="0">RGVzY2VuZGluZw==</PHRASE>
+			<PHRASE Label="lu_DescriptionAZ" Module="Core" Type="0">RGVzY3JpcHRpb24gQSB0byBa</PHRASE>
+			<PHRASE Label="lu_DescriptionZA" Module="Core" Type="0">RGVzY3JpcHRpb24gWiB0byBB</PHRASE>
+			<PHRASE Label="lu_description_MyFavorites" Module="Core" Type="0">WW91ciBGYXZvcml0ZSBJdGVtcw==</PHRASE>
+			<PHRASE Label="lu_description_MyPreferences" Module="Core" Type="0">RWRpdCB5b3VyIFByZWZlcmVuY2Vz</PHRASE>
+			<PHRASE Label="lu_description_MyProfile" Module="Core" Type="0">WW91ciBQcm9maWxlIEluZm9ybWF0aW9u</PHRASE>
+			<PHRASE Label="lu_description_PrivateMessages" Module="Core" Type="0">WW91ciBQcml2YXRlIE1lc3NhZ2Vz</PHRASE>
+			<PHRASE Label="lu_details" Module="Core" Type="0">RGV0YWlscw==</PHRASE>
+			<PHRASE Label="lu_edit" Module="Core" Type="0">TW9kaWZ5</PHRASE>
+			<PHRASE Label="LU_EMAIL" Module="Core" Type="0">RS1NYWls</PHRASE>
+			<PHRASE Label="lu_email_already_exist" Module="Core" Type="0">QSB1c2VyIHdpdGggc3VjaCBlLW1haWwgYWxyZWFkeSBleGlzdHMu</PHRASE>
+			<PHRASE Label="lu_email_send_error" Module="Core" Type="0">TWFpbCBzZW5kaW5nIGZhaWxlZA==</PHRASE>
+			<PHRASE Label="lu_EnterEmailToRecommend" Module="Core" Type="0">RnJpZW5kJ3MgZS1tYWlsIGFkZHJlc3M=</PHRASE>
+			<PHRASE Label="lu_EnterEmailToSubscribe" Module="Core" Type="0">WW91ciBlLW1haWwgYWRkcmVzcw==</PHRASE>
+			<PHRASE Label="lu_EnterForgotEmail" Module="Core" Type="0">RW50ZXIgeW91ciBFbWFpbCBBZGRyZXNzIGJlbG93IHRvIGhhdmUgeW91ciBhY2NvdW50IGluZm9ybWF0aW9uIHNlbnQgdG8gdGhlIGVtYWlsIGFkZHJlc3Mgb2YgeW91ciBhY2NvdW50Lg==</PHRASE>
+			<PHRASE Label="lu_EnterForgotUserEmail" Module="Core" Type="0">RW50ZXIgeW91ciBVc2VybmFtZSBvciBFbWFpbCBBZGRyZXNzIGJlbG93IHRvIGhhdmUgeW91ciBhY2NvdW50IGluZm9ybWF0aW9uIHNlbnQgdG8gdGhlIGVtYWlsIGFkZHJlc3Mgb2YgeW91ciBhY2NvdW50Lg==</PHRASE>
+			<PHRASE Label="lu_ErrorAlreadyReviewed" Module="Core" Type="0">WW91IGhhdmUgYWxyZWFkeSBjb21tZW50ZWQgdGhpcyBpdGVtIQ==</PHRASE>
+			<PHRASE Label="lu_error_404_description" Module="Core" Type="0">U29ycnksIHRoZSByZXF1ZXN0ZWQgVVJMIHdhcyBub3QgZm91bmQgb24gb3VyIHNlcnZlci4=</PHRASE>
+			<PHRASE Label="lu_error_404_title" Module="Core" Type="0">RXJyb3IgNDA0IC0gTm90IEZvdW5k</PHRASE>
+			<PHRASE Label="lu_error_ActivationCodeExpired" Module="Core" Type="0">QWN0aXZhdGlvbiBjb2RlIGhhcyBleHBpcmVk</PHRASE>
+			<PHRASE Label="lu_error_ActivationCodeNotValid" Module="Core" Type="0">QWN0aXZhdGlvbiBjb2RlIGlzIG5vdCB2YWxpZA==</PHRASE>
+			<PHRASE Label="lu_error_alreadyadded" Module="Core" Type="0">Q2F0ZWdvcnkgYWxyZWFkeSBhZGRlZCE=</PHRASE>
+			<PHRASE Label="lu_error_AlreadyCommented" Module="Core" Type="0">QWxyZWFkeSBjb21tZW50ZWQ=</PHRASE>
+			<PHRASE Label="lu_error_categorylimitreached" Module="Core" Type="0">Q2F0ZWdvcnkgbGltaXQgcmVhY2hlZCE=</PHRASE>
+			<PHRASE Label="lu_error_Required" Module="Core" Type="0">UmVxdWlyZWQ=</PHRASE>
+			<PHRASE Label="lu_error_UserNotFound" Module="Core" Type="0">VXNlciBOb3QgRm91bmQ=</PHRASE>
+			<PHRASE Label="lu_favorite" Module="Core" Type="0">RmF2b3JpdGU=</PHRASE>
+			<PHRASE Label="lu_ferror_reset_denied" Module="Core" Type="0">Tm90IHJlc2V0</PHRASE>
+			<PHRASE Label="lu_field_archived" Module="Core" Type="0">QXJjaGl2ZSBEYXRl</PHRASE>
+			<PHRASE Label="lu_field_author" Module="Core" Type="0">QXJ0aWNsZSBBdXRob3I=</PHRASE>
+			<PHRASE Label="lu_field_body" Module="Core" Type="0">QXJ0aWNsZSBCb2R5</PHRASE>
+			<PHRASE Label="lu_field_cacheddescendantcatsqty" Module="Core" Type="0">TnVtYmVyIG9mIERlc2NlbmRhbnRz</PHRASE>
+			<PHRASE Label="lu_field_cachednavbar" Module="Core" Type="0">Q2F0ZWdvcnkgUGF0aA==</PHRASE>
+			<PHRASE Label="lu_field_categoryid" Module="Core" Type="0">Q2F0ZWdvcnkgSWQ=</PHRASE>
+			<PHRASE Label="lu_field_city" Module="Core" Type="0">Q2l0eQ==</PHRASE>
+			<PHRASE Label="lu_field_country" Module="Core" Type="0">Q291bnRyeQ==</PHRASE>
+			<PHRASE Label="lu_field_dob" Module="Core" Type="0">RGF0ZSBvZiBCaXJ0aA==</PHRASE>
+			<PHRASE Label="lu_field_editorspick" Module="Core" Type="0">RWRpdG9yJ3MgcGljaw==</PHRASE>
+			<PHRASE Label="lu_field_email" Module="Core" Type="0">RS1tYWls</PHRASE>
+			<PHRASE Label="lu_field_endon" Module="Core" Type="0">RW5kcyBPbg==</PHRASE>
+			<PHRASE Label="lu_field_excerpt" Module="Core" Type="0">QXJ0aWNsZSBFeGNlcnB0</PHRASE>
+			<PHRASE Label="lu_field_firstname" Module="Core" Type="0">Rmlyc3QgTmFtZQ==</PHRASE>
+			<PHRASE Label="lu_field_lastname" Module="Core" Type="0">TGFzdCBOYW1l</PHRASE>
+			<PHRASE Label="lu_field_leadcatstory" Module="Core" Type="0">Q2F0ZWdvcnkgTGVhZCBTdG9yeT8=</PHRASE>
+			<PHRASE Label="lu_field_leadstory" Module="Core" Type="0">TGVhZCBTdG9yeT8=</PHRASE>
+			<PHRASE Label="lu_field_login" Module="Core" Type="0">TG9naW4gKFVzZXIgbmFtZSk=</PHRASE>
+			<PHRASE Label="lu_field_metadescription" Module="Core" Type="0">TWV0YSBEZXNjcmlwdGlvbg==</PHRASE>
+			<PHRASE Label="lu_field_metakeywords" Module="Core" Type="0">TWV0YSBLZXl3b3Jkcw==</PHRASE>
+			<PHRASE Label="lu_field_parentid" Module="Core" Type="0">UGFyZW50IElk</PHRASE>
+			<PHRASE Label="lu_field_parentpath" Module="Core" Type="0">UGFyZW50IENhdGVnb3J5IFBhdGg=</PHRASE>
+			<PHRASE Label="lu_field_password" Module="Core" Type="0">UGFzc3dvcmQ=</PHRASE>
+			<PHRASE Label="lu_field_phone" Module="Core" Type="0">VGVsZXBob25l</PHRASE>
+			<PHRASE Label="lu_field_portaluserid" Module="Core" Type="0">VXNlciBJRA==</PHRASE>
+			<PHRASE Label="lu_field_startdate" Module="Core" Type="0">U3RhcnQgRGF0ZQ==</PHRASE>
+			<PHRASE Label="lu_field_state" Module="Core" Type="0">U3RhdGU=</PHRASE>
+			<PHRASE Label="lu_field_street" Module="Core" Type="0">U3RyZWV0IEFkZHJlc3M=</PHRASE>
+			<PHRASE Label="lu_field_title" Module="Core" Type="0">QXJ0aWNsZSBUaXRsZQ==</PHRASE>
+			<PHRASE Label="lu_field_tz" Module="Core" Type="0">VGltZSBab25l</PHRASE>
+			<PHRASE Label="lu_field_views" Module="Core" Type="0">Vmlld3M=</PHRASE>
+			<PHRASE Label="lu_field_zip" Module="Core" Type="0">WmlwIChQb3N0YWwpIENvZGU=</PHRASE>
+			<PHRASE Label="lu_first_name" Module="Core" Type="0">Rmlyc3QgTmFtZQ==</PHRASE>
+			<PHRASE Label="lu_fld_AddressLine1" Module="Core" Type="0">QWRkcmVzcyBsaW5lIDE=</PHRASE>
+			<PHRASE Label="lu_fld_AddressLine2" Module="Core" Type="0">QWRkcmVzcyBsaW5lIDI=</PHRASE>
+			<PHRASE Label="lu_fld_BirthDate" Module="Core" Type="0">RGF0ZSBvZiBiaXJ0aA==</PHRASE>
+			<PHRASE Label="lu_fld_body" Module="Core" Type="0">Qm9keQ==</PHRASE>
+			<PHRASE Label="lu_fld_Captcha" Module="Core" Type="0">Q2FwdGNoYSBJbWFnZQ==</PHRASE>
+			<PHRASE Label="lu_fld_City" Module="Core" Type="0">Q2l0eQ==</PHRASE>
+			<PHRASE Label="lu_fld_Comment" Module="Core" Type="0">Q29tbWVudA==</PHRASE>
+			<PHRASE Label="lu_fld_Company" Module="Core" Type="0">Q29tcGFueQ==</PHRASE>
+			<PHRASE Label="lu_fld_Country" Module="Core" Type="0">Q291bnRyeQ==</PHRASE>
+			<PHRASE Label="lu_fld_Description" Module="Core" Type="0">RGVzY3JpcHRpb24=</PHRASE>
+			<PHRASE Label="lu_fld_Duration" Module="Core" Type="0">RHVyYXRpb24=</PHRASE>
+			<PHRASE Label="lu_fld_Email" Module="Core" Type="0">RS1NYWls</PHRASE>
+			<PHRASE Label="lu_fld_Fax" Module="Core" Type="0">RmF4</PHRASE>
+			<PHRASE Label="lu_fld_File1" Module="Core" Type="0">UHJpbWFyeSBGaWxl</PHRASE>
+			<PHRASE Label="lu_fld_File2" Module="Core" Type="0">Mm5kIEZpbGU=</PHRASE>
+			<PHRASE Label="lu_fld_File3" Module="Core" Type="0">M3JkIEZpbGU=</PHRASE>
+			<PHRASE Label="lu_fld_FileName" Module="Core" Type="0">RmlsZW5hbWU=</PHRASE>
+			<PHRASE Label="lu_fld_FirstName" Module="Core" Type="0">Rmlyc3QgbmFtZQ==</PHRASE>
+			<PHRASE Label="lu_fld_FullName" Module="Core" Type="0">RnVsbCBuYW1l</PHRASE>
+			<PHRASE Label="lu_fld_Image1" Module="Core" Type="0">Mm5kIEltYWdl</PHRASE>
+			<PHRASE Label="lu_fld_Image2" Module="Core" Type="0">M3JkIEltYWdl</PHRASE>
+			<PHRASE Label="lu_fld_LastName" Module="Core" Type="0">TGFzdCBuYW1l</PHRASE>
+			<PHRASE Label="lu_fld_Login" Module="Core" Type="0">VXNlcm5hbWU=</PHRASE>
+			<PHRASE Label="lu_fld_module" Module="Core" Type="0">TW9kdWxl</PHRASE>
+			<PHRASE Label="lu_fld_MoreCategories" Module="Core" Type="0">QWRkaXRpb25hbCBDYXRlZ29yaWVz</PHRASE>
+			<PHRASE Label="lu_fld_Name" Module="Core" Type="0">TmFtZQ==</PHRASE>
+			<PHRASE Label="lu_fld_Password" Module="Core" Type="0">UGFzc3dvcmQ=</PHRASE>
+			<PHRASE Label="lu_fld_Phone" Module="Core" Type="0">UGhvbmU=</PHRASE>
+			<PHRASE Label="lu_fld_phrase" Module="Core" Type="0">UGhyYXNl</PHRASE>
+			<PHRASE Label="lu_fld_Price" Module="Core" Type="0">UHJpY2U=</PHRASE>
+			<PHRASE Label="lu_fld_PrimaryCategory" Module="Core" Type="0">UHJpbWFyeSBDYXRlZ29yeQ==</PHRASE>
+			<PHRASE Label="lu_fld_PrimaryImage" Module="Core" Type="0">UHJpbWFyeSBJbWFnZQ==</PHRASE>
+			<PHRASE Label="lu_fld_primary_translation" Module="Core" Type="0">UHJpbWFyeSBUcmFuc2xhdGlvbg==</PHRASE>
+			<PHRASE Label="lu_fld_Rating" Module="Core" Type="0">UmF0aW5n</PHRASE>
+			<PHRASE Label="lu_fld_ReviewBy" Module="Core" Type="0">Q29tbWVudCBieQ==</PHRASE>
+			<PHRASE Label="lu_fld_ReviewText" Module="Core" Type="0">Q29tbWVudA==</PHRASE>
+			<PHRASE Label="lu_fld_SelectAddress" Module="Core" Type="0">UGxlYXNlIHNlbGVjdCB5b3VyIGFkZHJlc3M=</PHRASE>
+			<PHRASE Label="lu_fld_size" Module="Core" Type="0">U2l6ZQ==</PHRASE>
+			<PHRASE Label="lu_fld_State" Module="Core" Type="0">U3RhdGU=</PHRASE>
+			<PHRASE Label="lu_fld_street" Module="Core" Type="0">U3RyZWV0</PHRASE>
+			<PHRASE Label="lu_fld_SubmittingTo" Module="Core" Type="0">U3VibWl0dGluZyB0bw==</PHRASE>
+			<PHRASE Label="lu_fld_title" Module="Core" Type="0">VGl0bGU=</PHRASE>
+			<PHRASE Label="lu_fld_translation" Module="Core" Type="0">VHJhbnNsYXRpb24=</PHRASE>
+			<PHRASE Label="lu_fld_UserGroup" Module="Core" Type="0">TWVtYmVyc2hpcCBHcm91cA==</PHRASE>
+			<PHRASE Label="lu_fld_VerifyPassword" Module="Core" Type="0">VmVyaWZ5IFBhc3N3b3Jk</PHRASE>
+			<PHRASE Label="lu_fld_version" Module="Core" Type="0">VmVyc2lvbg==</PHRASE>
+			<PHRASE Label="lu_fld_Zip" Module="Core" Type="0">WmlwIGNvZGU=</PHRASE>
+			<PHRASE Label="lu_fld_ZipCode" Module="Core" Type="0">WmlwIGNvZGU=</PHRASE>
+			<PHRASE Label="lu_folder_Inbox" Module="Core" Type="0">SW5ib3g=</PHRASE>
+			<PHRASE Label="lu_ForgotPassword" Module="Core" Type="0">Rm9yZ290IHBhc3N3b3Jk</PHRASE>
+			<PHRASE Label="lu_guest" Module="Core" Type="0">R3Vlc3Q=</PHRASE>
+			<PHRASE Label="lu_Here" Module="Core" Type="0">SGVyZQ==</PHRASE>
+			<PHRASE Label="lu_hits" Module="Core" Type="0">SGl0cw==</PHRASE>
+			<PHRASE Label="lu_HitsHL" Module="Core" Type="0">SGl0cyBIbyB0byBMb3c=</PHRASE>
+			<PHRASE Label="lu_HitsLH" Module="Core" Type="0">SGl0cyBMb3cgdG8gSGk=</PHRASE>
+			<PHRASE Label="lu_home" Module="Core" Type="0">SG9tZQ==</PHRASE>
+			<PHRASE Label="lu_hot" Module="Core" Type="0">SG90</PHRASE>
+			<PHRASE Label="lu_in" Module="Core" Type="0">aW4=</PHRASE>
+			<PHRASE Label="lu_inbox" Module="Core" Type="0">SW5ib3g=</PHRASE>
+			<PHRASE Label="lu_IndicatesRequired" Module="Core" Type="0">SW5kaWNhdGVzIFJlcXVpcmVkIGZpZWxkcw==</PHRASE>
+			<PHRASE Label="lu_InvalidEmail" Module="Core" Type="0">SW52YWxpZCBlLW1haWwgYWRkcmVzcw==</PHRASE>
+			<PHRASE Label="lu_ItemsPerPage" Module="Core" Type="0">SXRlbXMgUGVyIFBhZ2U=</PHRASE>
+			<PHRASE Label="lu_joined" Module="Core" Type="0">Sm9pbmVk</PHRASE>
+			<PHRASE Label="lu_last_name" Module="Core" Type="0">TGFzdCBOYW1l</PHRASE>
+			<PHRASE Label="lu_location" Module="Core" Type="0">TG9jYXRpb24=</PHRASE>
+			<PHRASE Label="lu_login" Module="Core" Type="0">TG9naW4=</PHRASE>
+			<PHRASE Label="lu_logout" Module="Core" Type="0">TG9nIE91dA==</PHRASE>
+			<PHRASE Label="lu_LogoutText" Module="Core" Type="0">TG9nb3V0IG9mIHlvdXIgYWNjb3VudA==</PHRASE>
+			<PHRASE Label="lu_mailinglist" Module="Core" Type="0">TWFpbGluZyBMaXN0</PHRASE>
+			<PHRASE Label="lu_more" Module="Core" Type="0">TW9yZQ==</PHRASE>
+			<PHRASE Label="lu_MyFavorites" Module="Core" Type="0">TXkgRmF2b3JpdGVz</PHRASE>
+			<PHRASE Label="lu_MyPreferences" Module="Core" Type="0">TXkgUHJlZmVyZW5jZXM=</PHRASE>
+			<PHRASE Label="lu_MyProfile" Module="Core" Type="0">TXkgUHJvZmlsZQ==</PHRASE>
+			<PHRASE Label="lu_Name" Module="Core" Type="0">TmFtZQ==</PHRASE>
+			<PHRASE Label="lu_new" Module="Core" Type="0">TmV3</PHRASE>
+			<PHRASE Label="lu_NewCustomers" Module="Core" Type="0">TmV3IEN1c3RvbWVycw==</PHRASE>
+			<PHRASE Label="lu_newpm_confirm_text" Module="Core" Type="0">WW91ciBwcml2YXRlIG1lc3NhZ2UgaGFzIGJlZW4gc2VudC4=</PHRASE>
+			<PHRASE Label="lu_no" Module="Core" Type="0">Tm8=</PHRASE>
+			<PHRASE Label="lu_NoAccess" Module="Core" Type="0">U29ycnksIHlvdSBoYXZlIG5vIGFjY2VzcyB0byB0aGlzIHBhZ2Uh</PHRASE>
+			<PHRASE Label="lu_NoCategories" Module="Core" Type="0">Tm8gQ2F0ZWdvcmllcw==</PHRASE>
+			<PHRASE Label="lu_NoFavorites" Module="Core" Type="0">Tm8gZmF2b3JpdGUgaXRlbXMgc2F2ZWQ=</PHRASE>
+			<PHRASE Label="lu_NoMembers" Module="Core" Type="0">Tm8gbWVtYmVycyBmb3VuZA==</PHRASE>
+			<PHRASE Label="lu_none" Module="Core" Type="0">Tm9uZQ==</PHRASE>
+			<PHRASE Label="lu_NoReviews" Module="Core" Type="0">QmUgdGhlIGZpcnN0IHRvIGNvbW1lbnQ=</PHRASE>
+			<PHRASE Label="lu_NotLoggedIn" Module="Core" Type="0">bm90IGxvZ2dlZCBpbg==</PHRASE>
+			<PHRASE Label="lu_no_permissions" Module="Core" Type="0">Tm8gUGVybWlzc2lvbnM=</PHRASE>
+			<PHRASE Label="lu_OldToRecent" Module="Core" Type="0">T2xkIHRvIFJlY2VudA==</PHRASE>
+			<PHRASE Label="LU_Opt_SelectCategory" Module="Core" Type="0">U2VsZWN0IENhdGVnb3J5</PHRASE>
+			<PHRASE Label="lu_or" Module="Core" Type="0">b3I=</PHRASE>
+			<PHRASE Label="lu_password" Module="Core" Type="0">UGFzc3dvcmQ=</PHRASE>
+			<PHRASE Label="lu_passwords_do_not_match" Module="Core" Type="0">UGFzc3dvcmRzIGRvIG5vdCBtYXRjaA==</PHRASE>
+			<PHRASE Label="lu_passwords_too_short" Module="Core" Type="0">UGFzc3dvcmQgaXMgdG9vIHNob3J0LCBwbGVhc2UgZW50ZXIgYXQgbGVhc3QgJXMgY2hhcmFjdGVycw==</PHRASE>
+			<PHRASE Label="lu_PendingItem" Module="Core" Type="0">cGVuZGluZyBpdGVt</PHRASE>
+			<PHRASE Label="lu_PermName_Category.AddPending_desc" Module="Core" Type="0">QWRkIFBlbmRpbmcgQ2F0ZWdvcnk=</PHRASE>
+			<PHRASE Label="lu_PermName_Category.Add_desc" Module="Core" Type="0">QWRkIENhdGVnb3J5</PHRASE>
+			<PHRASE Label="lu_PermName_Category.Delete_desc" Module="Core" Type="0">RGVsZXRlIENhdGVnb3J5</PHRASE>
+			<PHRASE Label="lu_PermName_Category.Modify_desc" Module="Core" Type="0">TW9kaWZ5IENhdGVnb3J5</PHRASE>
+			<PHRASE Label="lu_PermName_Category.View_desc" Module="Core" Type="0">VmlldyBDYXRlZ29yeQ==</PHRASE>
+			<PHRASE Label="lu_PermName_Link.Add.Pending_desc" Module="Core" Type="0">UGVuZGluZyBMaW5r</PHRASE>
+			<PHRASE Label="lu_PermName_Link.Add_desc" Module="Core" Type="0">QWRkIExpbms=</PHRASE>
+			<PHRASE Label="lu_PermName_Link.Delete_desc" Module="Core" Type="0">RGVsZXRlIExpbms=</PHRASE>
+			<PHRASE Label="lu_PermName_Link.Modify_desc" Module="Core" Type="0">TW9kaWZ5IExpbms=</PHRASE>
+			<PHRASE Label="lu_PermName_Link.Rate_desc" Module="Core" Type="0">UmF0ZSBMaW5r</PHRASE>
+			<PHRASE Label="lu_PermName_Link.View_desc" Module="Core" Type="0">VmlldyBMaW5r</PHRASE>
+			<PHRASE Label="lu_phone" Module="Core" Type="0">UGhvbmU=</PHRASE>
+			<PHRASE Label="lu_pick" Module="Core" Type="0">UGljaw==</PHRASE>
+			<PHRASE Label="lu_PleaseRegister" Module="Core" Type="0">UGxlYXNlIFJlZ2lzdGVy</PHRASE>
+			<PHRASE Label="lu_Pop" Module="Core" Type="0">UG9wdWxhcg==</PHRASE>
+			<PHRASE Label="lu_PoweredBy" Module="Core" Type="0">UG93ZXJlZCBieQ==</PHRASE>
+			<PHRASE Label="lu_PrivacyPolicy" Module="Core" Type="0">UHJpdmFjeSBQb2xpY3k=</PHRASE>
+			<PHRASE Label="lu_profile" Module="Core" Type="0">UHJvZmlsZQ==</PHRASE>
+			<PHRASE Label="lu_prompt_avatar" Module="Core" Type="0">QXZhdGFyIEltYWdl</PHRASE>
+			<PHRASE Label="lu_QuickSearch" Module="Core" Type="0">UXVpY2sgU2VhcmNo</PHRASE>
+			<PHRASE Label="lu_rating" Module="Core" Type="0">UmF0aW5n</PHRASE>
+			<PHRASE Label="lu_RatingHL" Module="Core" Type="0">UmF0aW5nIEhpIHRvIExvdw==</PHRASE>
+			<PHRASE Label="lu_RatingLH" Module="Core" Type="0">UmF0aW5nIExvdyB0byBIaQ==</PHRASE>
+			<PHRASE Label="lu_rating_1" Module="Core" Type="0">RmFpcg==</PHRASE>
+			<PHRASE Label="lu_rating_2" Module="Core" Type="0">QXZlcmFnZQ==</PHRASE>
+			<PHRASE Label="lu_rating_3" Module="Core" Type="0">R29vZA==</PHRASE>
+			<PHRASE Label="lu_rating_4" Module="Core" Type="0">VmVyeSBHb29k</PHRASE>
+			<PHRASE Label="lu_rating_5" Module="Core" Type="0">RXhjZWxsZW50</PHRASE>
+			<PHRASE Label="lu_RecentToOld" Module="Core" Type="0">UmVjZW50IHRvIE9sZA==</PHRASE>
+			<PHRASE Label="lu_RecommendToFriend" Module="Core" Type="0">UmVjb21tZW5kIHRvIGEgRnJpZW5k</PHRASE>
+			<PHRASE Label="lu_recommend_confirm" Module="Core" Type="0">UmVjb21tZW5kYXRpb24gQ29uZmlybWF0aW9u</PHRASE>
+			<PHRASE Label="lu_recommend_confirm_text" Module="Core" Type="0">VGhhbmtzIGZvciByZWNvbW1lbmRpbmcgb3VyIHNpdGUgdG8geW91ciBmcmllbmQuIFRoZSBlbWFpbCBoYXMgYmVlbiBzZW50IG91dC4=</PHRASE>
+			<PHRASE Label="lu_recommend_title" Module="Core" Type="0">UmVjb21tZW5kIHRvIGEgZnJpZW5k</PHRASE>
+			<PHRASE Label="lu_redirecting_text" Module="Core" Type="0">Q2xpY2sgaGVyZSBpZiB5b3VyIGJyb3dzZXIgZG9lcyBub3QgYXV0b21hdGljYWxseSByZWRpcmVjdCB5b3Uu</PHRASE>
+			<PHRASE Label="lu_redirecting_title" Module="Core" Type="0">UmVkaXJlY3RpbmcgLi4u</PHRASE>
+			<PHRASE Label="lu_register" Module="Core" Type="0">UmVnaXN0ZXI=</PHRASE>
+			<PHRASE Label="lu_RegisterConfirm" Module="Core" Type="0">UmVnaXN0cmF0aW9uIENvbmZpcm1hdGlvbg==</PHRASE>
+			<PHRASE Label="lu_RegistrationCompleted" Module="Core" Type="0">VGhhbmsgWW91LiBSZWdpc3RyYXRpb24gY29tcGxldGVkLg==</PHRASE>
+			<PHRASE Label="lu_RegistrationEmailed" Module="Core" Type="0">WW91ciBsb2dpbiBpbmZvcm1hdGlvbiBoYXMgYmVlbiBlbWFpbGVkIHRvIHlvdS4gUGxlYXNlIGNoZWNrIHlvdXIgZW1haWwu</PHRASE>
+			<PHRASE Label="lu_Relevance" Module="Core" Type="0">UmVsZXZhbmNl</PHRASE>
+			<PHRASE Label="lu_remember_login" Module="Core" Type="0">UmVtZW1iZXIgTG9naW4=</PHRASE>
+			<PHRASE Label="lu_repeat_password" Module="Core" Type="0">UmVwZWF0IFBhc3N3b3Jk</PHRASE>
+			<PHRASE Label="lu_reset" Module="Core" Type="0">UmVzZXQ=</PHRASE>
+			<PHRASE Label="lu_ReturnToHome" Module="Core" Type="0">UmV0dXJuIHRvIGhvbWVwYWdl</PHRASE>
+			<PHRASE Label="lu_Reviews" Module="Core" Type="0">Q29tbWVudHM=</PHRASE>
+			<PHRASE Label="lu_rootcategory_name" Module="Core" Type="0">SG9tZQ==</PHRASE>
+			<PHRASE Label="lu_search" Module="Core" Type="0">U2VhcmNo</PHRASE>
+			<PHRASE Label="lu_section_AdditionalImages" Module="Core" Type="0">QWRkaXRpb25hbCBJbWFnZXM=</PHRASE>
+			<PHRASE Label="lu_section_Images" Module="Core" Type="0">SW1hZ2Vz</PHRASE>
+			<PHRASE Label="lu_section_MyAccount" Module="Core" Type="0">TXlBY2NvdW50</PHRASE>
+			<PHRASE Label="lu_section_MyItems" Module="Core" Type="0">TXkgSXRlbXM=</PHRASE>
+			<PHRASE Label="lu_section_Reviews" Module="Core" Type="0">Q29tbWVudHM=</PHRASE>
+			<PHRASE Label="lu_select_username" Module="Core" Type="0">U2VsZWN0IFVzZXJuYW1l</PHRASE>
+			<PHRASE Label="lu_send" Module="Core" Type="0">U2VuZA==</PHRASE>
+			<PHRASE Label="lu_sent" Module="Core" Type="0">U2VudA==</PHRASE>
+			<PHRASE Label="lu_SiteMap" Module="Core" Type="0">U2l0ZW1hcA==</PHRASE>
+			<PHRASE Label="lu_state" Module="Core" Type="0">U3RhdGU=</PHRASE>
+			<PHRASE Label="lu_Statistics" Module="Core" Type="0">U3RhdGlzdGljcw==</PHRASE>
+			<PHRASE Label="lu_subcats" Module="Core" Type="0">U3ViY2F0ZWdvcmllcw==</PHRASE>
+			<PHRASE Label="lu_subscribe_confirm" Module="Core" Type="0">U3Vic2NyaXB0aW9uIENvbmZpcm1hdGlvbg==</PHRASE>
+			<PHRASE Label="lu_subscribe_confirm_prompt" Module="Core" Type="0">QXJlIHlvdSBzdXJlIHlvdSB3YW50IHRvIHN1YnNjcmliZSB0byBvdXIgbWFpbGluZyBsaXN0PyAoWW91IGNhbiB1bnN1YnNjcmliZSBhbnkgdGltZSBieSBlbnRlcmluZyB5b3VyIGVtYWlsIG9uIHRoZSBmcm9udCBwYWdlKS4=</PHRASE>
+			<PHRASE Label="lu_subscribe_title" Module="Core" Type="0">U3Vic2NyaWJlZA==</PHRASE>
+			<PHRASE Label="lu_subsection_Categories" Module="Core" Type="0">U3VibWl0dGluZyB0byBDYXRlZ29yaWVz</PHRASE>
+			<PHRASE Label="lu_SuggestCategory" Module="Core" Type="0">U3VnZ2VzdCBDYXRlZ29yeQ==</PHRASE>
+			<PHRASE Label="lu_tab_Privacy" Module="Core" Type="0">UHJpdmFjeQ==</PHRASE>
+			<PHRASE Label="lu_TermAndCondition" Module="Core" Type="0">VGVybXMgYW5kIENvbmRpdGlvbnMgb2YgVXNl</PHRASE>
+			<PHRASE Label="lu_TextUnsubscribe" Module="Core" Type="0">IFdlIGFyZSBzb3JyeSB5b3UgaGF2ZSB1bnN1YnNjcmliZWQgZnJvbSBvdXIgbWFpbGluZyBsaXN0</PHRASE>
+			<PHRASE Label="lu_text_DisabledAccountWarning" Module="Core" Type="0">WW91ciB1c2VyIGFjY291bnQgaXMgY3VycmVudGx5IHBlbmRpbmcgb3IgZGlzYWJsZWQuIElmIHlvdSBoYXZlIHJlZ2lzdHJlZCByZWNlbnRseSwgcGxlYXNlIHdhaXQgdW50aWwgeW91ciBhY2NvdW50IHdpbGwgYmUgYXBwcm92ZWQsIG90aGVyd2lzZSBwbGVhc2Ugd3JpdGU=</PHRASE>
+			<PHRASE Label="lu_text_ForgotPassHasBeenReset" Module="Core" Type="0">WW91ciBwYXNzd29yZCBoYXMgYmVlbiByZXNldC4gVGhlIG5ldyBwYXNzd29yZCBoYXMgYmVlbiBzZW50IHRvIHlvdXIgZS1tYWlsIGFkZHJlc3MuIFlvdSBtYXkgbm93IGxvZ2luIHdpdGggdGhlIG5ldyBwYXNzd29yZC4=</PHRASE>
+			<PHRASE Label="lu_text_ForgotPassResetEmailSent" Module="Core" Type="0">WW91IGhhdmUgY2hvc2VuIHRvIHJlc2V0IHlvdXIgcGFzc3dvcmQuPEJSLz48QlIvPg0KQW4gYXV0b21hdGljIGVtYWlsIGhhcyBiZWVuIHNlbnQgdG8geW91ciBlbWFpbCBhZGRyZXNzIG9uIGZpbGUuIFBsZWFzZSBmb2xsb3cgdGhlIGxpbmsgaW4gdGhlIGVtYWlsIGluIG9yZGVyIHRvIHJlY2VpdmUgYSBuZXcgcGFzc3dvcmQu</PHRASE>
+			<PHRASE Label="lu_text_KeywordsTooShort" Module="Core" Type="0">VGhlIGtleXdvcmQgaXMgdG9vIHNob3J0</PHRASE>
+			<PHRASE Label="lu_text_NoComments" Module="Core" Type="0">Tm8gY29tbWVudHMsIGFkZCBmaXJzdA==</PHRASE>
+			<PHRASE Label="lu_text_NoPermission" Module="Core" Type="0">Tm8gcGVybWlzc2lvbnMgdG8gcGVyZm9ybSB0aGlzIG9wZXJhdGlvbg==</PHRASE>
+			<PHRASE Label="lu_text_nosuggestcategorypermission" Module="Core" Type="0">Tm8gcGVybWlzc2lvbnMgdG8gc3VnZ2VzdCBuZXcgY2F0ZWdvcmllcyBpbnRvIGN1cnJlbnQgY2F0ZWdvcnku</PHRASE>
+			<PHRASE Label="lu_text_NothingFound" Module="Core" Type="0">Tm90aGluZyBGb3VuZA==</PHRASE>
+			<PHRASE Label="lu_text_pagenotfound" Module="Core" Type="0">NDA0LiBQYWdlIG5vdCBmb3VuZCBvbiB0aGUgc2VydmVyLg==</PHRASE>
+			<PHRASE Label="lu_text_PasswordRequestConfirm" Module="Core" Type="0">UGxlYXNlIGNvbmZpcm0gdGhhdCB5b3Ugd2FudCB0byByZXNldCB5b3VyIHBhc3N3b3JkLg==</PHRASE>
+			<PHRASE Label="lu_text_RegistrationActivationPending" Module="Core" Type="0">VGhhbmsgeW91IGZvciByZWdpc3RlcmluZyBvbiBvdXIgd2Vic2l0ZS4gWW91IGNhbiBhY3RpdmF0ZSB5b3VyIHJlZ2lzdHJhdGlvbiB1c2luZyBsaW5rIHNlbnQgdG8geW91IGJ5IGVtYWlsLg==</PHRASE>
+			<PHRASE Label="lu_text_registrationpending" Module="Core" Type="0">VGhhbmsgeW91IGZvciByZWdpc3RlcmluZyBvbiBvdXIgd2Vic2l0ZS4gWW91ciByZWdpc3RyYXRpb24gaXMgcGVuZGluZyBhZG1pbmlzdHJhdGl2ZSBhcHByb3ZhbC4gWW91IHdpbGwgZ2V0IGEgc2VwYXJhdGUgZW1haWwgb25jZSBpdCdzIGFjdGl2YXRlZC4=</PHRASE>
+			<PHRASE Label="lu_text_suggestcategoryconfirm" Module="Core" Type="0">VGhhbmsgeW91IGZvciBzdWdnZXN0aW5nIHlvdXIgY2F0ZWdvcnku</PHRASE>
+			<PHRASE Label="lu_text_SuggestCategoryPendingConfirm" Module="Core" Type="0">U3VnZ2VzdGVkIGNhdGVnb3J5IGlzIHBlbmRpbmcgZm9yIEFkbWluaXN0cmF0aXZlIGFwcHJvdmFsIA==</PHRASE>
+			<PHRASE Label="lu_text_ThankYou" Module="Core" Type="0">VGhhbmsgeW91IGZvciBzdWJtaXR0aW5nIHlvdXIgcmVxdWVzdC4=</PHRASE>
+			<PHRASE Label="lu_ThankForSubscribing" Module="Core" Type="0">VGhhbmsgeW91IGZvciBzdWJzY3JpYmluZyB0byBvdXIgbWFpbGluZyBsaXN0</PHRASE>
+			<PHRASE Label="lu_ThanksForVoting" Module="Core" Type="0">VGhhbmtzIGZvciBWb3Rpbmch</PHRASE>
+			<PHRASE Label="lu_ThisCategory" Module="Core" Type="0">Q3VycmVudCBDYXRlZ29yeQ==</PHRASE>
+			<PHRASE Label="lu_title_ActionBox" Module="Core" Type="0">QWN0aW9uIEJveA==</PHRASE>
+			<PHRASE Label="lu_title_AddAddress" Module="Core" Type="0">QWRkaW5nIEFkZHJlc3M=</PHRASE>
+			<PHRASE Label="lu_title_Advertisements" Module="Core" Type="0">QWR2ZXJ0aXNlbWVudHM=</PHRASE>
+			<PHRASE Label="lu_title_BackToTop" Module="Core" Type="0">QmFjayB0byB0b3A=</PHRASE>
+			<PHRASE Label="lu_title_Categories" Module="Core" Type="0">Q2F0ZWdvcmllcw==</PHRASE>
+			<PHRASE Label="lu_title_CategorySearchResults" Module="Core" Type="0">Q2F0ZWdvcnkgU2VhcmNoIFJlc3VsdHM=</PHRASE>
+			<PHRASE Label="lu_title_DisabledAccountWarning" Module="Core" Type="0">UGVuZGluZyBvciBkaXNhYmxlZCB1c2VyIGFjY291bnQgd2FybmluZw==</PHRASE>
+			<PHRASE Label="lu_title_EditAddress" Module="Core" Type="0">RWRpdCBBZGRyZXNz</PHRASE>
+			<PHRASE Label="lu_title_enhancementconfirmation" Module="Core" Type="0">WW91ciBGYXZvcml0ZSBJdGVtcw==</PHRASE>
+			<PHRASE Label="lu_title_Favorites" Module="Core" Type="0">WW91ciBGYXZvcml0ZXM=</PHRASE>
+			<PHRASE Label="lu_title_ForgotPassword" Module="Core" Type="0">Rm9yZ290IFBhc3N3b3Jk</PHRASE>
+			<PHRASE Label="lu_title_forgotpasswordconfirm" Module="Core" Type="0">Rm9yZ290IFBhc3N3b3JkIENvbmZpcm1hdGlvbg==</PHRASE>
+			<PHRASE Label="lu_title_ForgotPasswordNotification" Module="Core" Type="0">Rm9yZ290IFBhc3N3b3JkIE5vdGlmaWNhdGlvbg==</PHRASE>
+			<PHRASE Label="lu_title_LoginBox" Module="Core" Type="0">TG9naW4gQm94</PHRASE>
+			<PHRASE Label="lu_title_mailinglist" Module="Core" Type="0">TWFpbGluZyBMaXN0</PHRASE>
+			<PHRASE Label="lu_title_Members" Module="Core" Type="0">TWVtYmVycw==</PHRASE>
+			<PHRASE Label="lu_title_MissingPhraseAdding" Module="Core" Type="0">TWlzc2luZyBQaHJhc2UgQWRkaW5n</PHRASE>
+			<PHRASE Label="lu_title_MyAccount" Module="Core" Type="0">TXkgQWNjb3VudA==</PHRASE>
+			<PHRASE Label="lu_title_MyAddresses" Module="Core" Type="0">TXkgQWRkcmVzc2Vz</PHRASE>
+			<PHRASE Label="lu_title_MyFavorites" Module="Core" Type="0">TXkgRmF2b3JpdGVz</PHRASE>
+			<PHRASE Label="lu_title_MyItems" Module="Core" Type="0">TXkgSXRlbXM=</PHRASE>
+			<PHRASE Label="lu_title_MyPreferences" Module="Core" Type="0">TXkgUHJlZmVyZW5jZXM=</PHRASE>
+			<PHRASE Label="lu_title_MyProfile" Module="Core" Type="0">TXkgUHJvZmlsZQ==</PHRASE>
+			<PHRASE Label="lu_title_NoPermission" Module="Core" Type="0">Tm8gUGVybWlzc2lvbg==</PHRASE>
+			<PHRASE Label="lu_title_pagenotfound" Module="Core" Type="0">UGFnZSBOb3QgRm91bmQ=</PHRASE>
+			<PHRASE Label="lu_title_PasswordRequestConfirm" Module="Core" Type="0">UGFzc3dvcmQgUmVxdWVzdCBDb25maXJtYXRpb24=</PHRASE>
+			<PHRASE Label="lu_title_PrivacyPolicy" Module="Core" Type="0">UHJpdmFjeSBQb2xpY3k=</PHRASE>
+			<PHRASE Label="lu_title_recommendconfirm" Module="Core" Type="0">UmVjb21tZW5kIENvbmZpcm1hdGlvbg==</PHRASE>
+			<PHRASE Label="lu_title_RecommendSite" Module="Core" Type="0">UmVjb21tZW5kIHRvIGEgRnJpZW5k</PHRASE>
+			<PHRASE Label="lu_title_RegistrationConfirmation" Module="Core" Type="0">VXNlciBSZWdpc3RyYXRpb24gQ29uZmlybWF0aW9u</PHRASE>
+			<PHRASE Label="lu_title_RegistrationPendingConfirmation" Module="Core" Type="0">VXNlciBSZWdpc3RyYXRpb24gUGVuZGluZw==</PHRASE>
+			<PHRASE Label="lu_title_RelatedCategories" Module="Core" Type="0">UmVsYXRlZCBDYXRlZ29yaWVz</PHRASE>
+			<PHRASE Label="lu_title_RelatedItems" Module="Core" Type="0">UmVsYXRlZCBJdGVtcw==</PHRASE>
+			<PHRASE Label="lu_title_RelatedSearches" Module="Core" Type="0">UmVsYXRlZCBTZWFyY2hlcw==</PHRASE>
+			<PHRASE Label="lu_title_SearchBox" Module="Core" Type="0">U2VhcmNoIEJveA==</PHRASE>
+			<PHRASE Label="lu_title_SearchResults" Module="Core" Type="0">U2VhcmNoIFJlc3VsdHM=</PHRASE>
+			<PHRASE Label="lu_title_Sitemap" Module="Core" Type="0">U2l0ZSBtYXA=</PHRASE>
+			<PHRASE Label="lu_title_SubscribeConfirm" Module="Core" Type="0">U3Vic2NyaXB0aW9uIENvbmZpcm1hdGlvbg==</PHRASE>
+			<PHRASE Label="lu_title_SubscribeOk" Module="Core" Type="0">U3Vic2NyaXB0aW9uIENvbmZpcm1lZA==</PHRASE>
+			<PHRASE Label="lu_title_SuggestCategory" Module="Core" Type="0">U3VnZ2VzdCBDYXRlZ29yeQ==</PHRASE>
+			<PHRASE Label="lu_title_SuggestCategoryConfirm" Module="Core" Type="0">Q2F0ZWdvcnkgQWRkZWQ=</PHRASE>
+			<PHRASE Label="lu_title_SuggestCategoryPendingConfirm" Module="Core" Type="0">Q2F0ZWdvcnkgUGVuZGluZw==</PHRASE>
+			<PHRASE Label="lu_title_TermsAndConditions" Module="Core" Type="0">VGVybXMgYW5kIENvbmRpdGlvbnM=</PHRASE>
+			<PHRASE Label="lu_title_ThankYou" Module="Core" Type="0">VGhhbmsgeW91IQ==</PHRASE>
+			<PHRASE Label="lu_title_UnSubscribeConfirm" Module="Core" Type="0">VW5zdWJzY3JpYmUgQ29uZmlybWF0aW9u</PHRASE>
+			<PHRASE Label="lu_title_UnSubscribeOk" Module="Core" Type="0">VW5zdWJzY3JpcHRpb24gQ29uZmlybWVk</PHRASE>
+			<PHRASE Label="lu_title_UserProfile" Module="Core" Type="0">VXNlciBQcm9maWxl</PHRASE>
+			<PHRASE Label="lu_title_UserRegistration" Module="Core" Type="0">VXNlciBSZWdpc3RyYXRpb24=</PHRASE>
+			<PHRASE Label="lu_title_WelcomeTitle" Module="Core" Type="0">V2VsY29tZSB0byBJbi1Qb3J0YWwh</PHRASE>
+			<PHRASE Label="lu_TotalCategories" Module="Core" Type="0">VG90YWwgQ2F0ZWdvcmllcw==</PHRASE>
+			<PHRASE Label="lu_unsubscribe_confirm" Module="Core" Type="0">VW5zdWJzY3JpcHRpb24gQ29uZmlybWF0aW9u</PHRASE>
+			<PHRASE Label="lu_unsubscribe_confirm_prompt" Module="Core" Type="0">QXJlIHlvdSBzdXJlIHlvdSB3YW50IHRvIHVuc3Vic2NyaWJlIGZyb20gb3VyIG1haWxpbmcgbGlzdD8gKFlvdSBjYW4gYWx3YXlzIHN1YnNjcmliZSBhZ2FpbiBieSBlbnRlcmluZyB5b3VyIGVtYWlsIGF0IHRoZSBob21lIHBhZ2Up</PHRASE>
+			<PHRASE Label="lu_unsubscribe_title" Module="Core" Type="0">VW5zdWJzY3JpYmU=</PHRASE>
+			<PHRASE Label="lu_username" Module="Core" Type="0">VXNlcm5hbWU=</PHRASE>
+			<PHRASE Label="lu_user_already_exist" Module="Core" Type="0">QSB1c2VyIHdpdGggc3VjaCB1c2VybmFtZSBhbHJlYWR5IGV4aXN0cy4=</PHRASE>
+			<PHRASE Label="lu_user_and_email_already_exist" Module="Core" Type="0">QSB1c2VyIHdpdGggc3VjaCB1c2VybmFtZS9lLW1haWwgYWxyZWFkeSBleGlzdHMu</PHRASE>
+			<PHRASE Label="lu_user_pending_aproval_text" Module="Core" Type="0">VGhhbmsgeW91IGZvciByZWdpc3RlcmluZy4gWW91ciByZWdpc3RyYXRpb24gaXMgcGVuZGluZyBhZG1pbmlzdHJhdGl2ZSBhcHByb3ZhbC4=</PHRASE>
+			<PHRASE Label="lu_VerifyPassword" Module="Core" Type="0">VmVyaWZ5IHBhc3N3b3Jk</PHRASE>
+			<PHRASE Label="lu_visit_DirectReferer" Module="Core" Type="0">RGlyZWN0IGFjY2VzcyBvciBib29rbWFyaw==</PHRASE>
+			<PHRASE Label="lu_VoteCount" Module="Core" Type="0">TnVtYmVyIG9mIFZvdGVz</PHRASE>
+			<PHRASE Label="lu_votes" Module="Core" Type="0">Vm90ZXM=</PHRASE>
+			<PHRASE Label="lu_VotesHL" Module="Core" Type="0">Vm90ZXMgSGkgdG8gTG93</PHRASE>
+			<PHRASE Label="lu_VotesLH" Module="Core" Type="0">Vm90ZXMgTG93IHRvIEhp</PHRASE>
+			<PHRASE Label="lu_VoteTitle" Module="Core" Type="0">Vm90ZSE=</PHRASE>
+			<PHRASE Label="lu_Warning" Module="Core" Type="0">V2FybmluZw==</PHRASE>
+			<PHRASE Label="lu_WeAcceptCards" Module="Core" Type="0">V2UgYWNjZXB0IGNyZWRpdCBjYXJkcw==</PHRASE>
+			<PHRASE Label="lu_wrote" Module="Core" Type="0">d3JvdGU=</PHRASE>
+			<PHRASE Label="lu_yes" Module="Core" Type="0">WWVz</PHRASE>
+			<PHRASE Label="lu_YourAccount" Module="Core" Type="0">WW91ciBBY2NvdW50</PHRASE>
+			<PHRASE Label="lu_YourLanguage" Module="Core" Type="0">TGFuZ3VhZ2U=</PHRASE>
+			<PHRASE Label="lu_YourWishList" Module="Core" Type="0">WW91ciBXaXNoIExpc3Q=</PHRASE>
+			<PHRASE Label="lu_ZipCode" Module="Core" Type="0">WklQIENvZGU=</PHRASE>
+			<PHRASE Label="lu_zip_code" Module="Core" Type="0">WklQIENvZGU=</PHRASE>
+		</PHRASES>
+	</LANGUAGE>
+</LANGUAGES>
\ No newline at end of file
Index: themes/simple/_install/install_data.sql
===================================================================
--- themes/simple/_install/install_data.sql	(revision 0)
+++ themes/simple/_install/install_data.sql	(revision 0)
@@ -0,0 +1,18 @@
+INSERT INTO Category (CategoryId, Type, SymLinkCategoryId, ParentId, Name, l1_Name, l2_Name, l3_Name, l4_Name, l5_Name, Filename, AutomaticFilename, Description, l1_Description, l2_Description, l3_Description, l4_Description, l5_Description, CreatedOn, EditorsPick, Status, Priority, MetaKeywords, CachedDescendantCatsQty, CachedNavbar, l1_CachedNavbar, l2_CachedNavbar, l3_CachedNavbar, l4_CachedNavbar, l5_CachedNavbar, CreatedById, ResourceId, ParentPath, TreeLeft, TreeRight, NamedParentPath, MetaDescription, HotItem, NewItem, PopItem, Modified, ModifiedById, CachedTemplate, Template, UseExternalUrl, ExternalUrl, UseMenuIconUrl, MenuIconUrl, l1_Title, l2_Title, l3_Title, l4_Title, l5_Title, l1_MenuTitle, l2_MenuTitle, l3_MenuTitle, l4_MenuTitle, l5_MenuTitle, MetaTitle, IndexTools, IsMenu, IsSystem, FormId, FormSubmittedTemplate, FriendlyURL, ThemeId) VALUES(200, 0, NULL, 1, '', 'About', '', '', '', '', 'About', 1, NULL, NULL, NULL, NULL, NULL, NULL, 1257194857, 0, 1, -3, NULL, 0, NULL, 'Content&|&About', 'Content&|&About', 'Content&|&About', 'Content&|&About', 'Content&|&About', -1, 200, '|1|200|', 12, 13, 'Content/About', NULL, 2, 2, 2, 1257194911, 0, '#default_design#', '#default_design#', 0, '', 0, '', 'About', '', '', '', '', 'About', '', '', '', '', NULL, NULL, 1, 0, NULL, NULL, '', 0);
+INSERT INTO Category (CategoryId, Type, SymLinkCategoryId, ParentId, Name, l1_Name, l2_Name, l3_Name, l4_Name, l5_Name, Filename, AutomaticFilename, Description, l1_Description, l2_Description, l3_Description, l4_Description, l5_Description, CreatedOn, EditorsPick, Status, Priority, MetaKeywords, CachedDescendantCatsQty, CachedNavbar, l1_CachedNavbar, l2_CachedNavbar, l3_CachedNavbar, l4_CachedNavbar, l5_CachedNavbar, CreatedById, ResourceId, ParentPath, TreeLeft, TreeRight, NamedParentPath, MetaDescription, HotItem, NewItem, PopItem, Modified, ModifiedById, CachedTemplate, Template, UseExternalUrl, ExternalUrl, UseMenuIconUrl, MenuIconUrl, l1_Title, l2_Title, l3_Title, l4_Title, l5_Title, l1_MenuTitle, l2_MenuTitle, l3_MenuTitle, l4_MenuTitle, l5_MenuTitle, MetaTitle, IndexTools, IsMenu, IsSystem, FormId, FormSubmittedTemplate, FriendlyURL, ThemeId) VALUES(201, 0, NULL, 1, '', 'Products', '', '', '', '', 'Products', 1, NULL, NULL, NULL, NULL, NULL, NULL, 1257194857, 0, 1, -4, NULL, 0, NULL, 'Content&|&Products', 'Content&|&Products', 'Content&|&Products', 'Content&|&Products', 'Content&|&Products', -1, 201, '|1|201|', 14, 15, 'Content/Products', NULL, 2, 2, 2, 1257197984, -1, '#default_design#', '#default_design#', 0, '', 0, '', 'Products', '', '', '', '', 'Products', '', '', '', '', NULL, NULL, 1, 0, NULL, NULL, '', 0);
+INSERT INTO Category (CategoryId, Type, SymLinkCategoryId, ParentId, Name, l1_Name, l2_Name, l3_Name, l4_Name, l5_Name, Filename, AutomaticFilename, Description, l1_Description, l2_Description, l3_Description, l4_Description, l5_Description, CreatedOn, EditorsPick, Status, Priority, MetaKeywords, CachedDescendantCatsQty, CachedNavbar, l1_CachedNavbar, l2_CachedNavbar, l3_CachedNavbar, l4_CachedNavbar, l5_CachedNavbar, CreatedById, ResourceId, ParentPath, TreeLeft, TreeRight, NamedParentPath, MetaDescription, HotItem, NewItem, PopItem, Modified, ModifiedById, CachedTemplate, Template, UseExternalUrl, ExternalUrl, UseMenuIconUrl, MenuIconUrl, l1_Title, l2_Title, l3_Title, l4_Title, l5_Title, l1_MenuTitle, l2_MenuTitle, l3_MenuTitle, l4_MenuTitle, l5_MenuTitle, MetaTitle, IndexTools, IsMenu, IsSystem, FormId, FormSubmittedTemplate, FriendlyURL, ThemeId) VALUES(202, 0, NULL, 1, '', 'Services', '', '', '', '', 'Services', 1, NULL, NULL, NULL, NULL, NULL, NULL, 1257194857, 0, 1, -5, NULL, 0, NULL, 'Content&|&Services', 'Content&|&Services', 'Content&|&Services', 'Content&|&Services', 'Content&|&Services', -1, 202, '|1|202|', 16, 17, 'Content/Services', NULL, 2, 2, 2, 1257200289, -1, '#default_design#', '#default_design#', 0, '', 0, '', 'Services', '', '', '', '', 'Services', '', '', '', '', NULL, NULL, 1, 0, NULL, NULL, '', 0);
+
+UPDATE IdGenerator SET lastid = lastid + 100;
+
+INSERT INTO PageContent VALUES(DEFAULT, 1, (SELECT CategoryId FROM <%TABLE_PREFIX%>Category WHERE Template = 'index'), '<p>Once upon a time, there was a webmaster wanna-be Dwayne Wiener working for a company Techno-funky Gadgets, Inc. Dwayne was in charge of the company&rsquo;s website: responsible for keeping information current, maintaining lists of products and services, posting specials and press releases, and updating the portfolio.</p>\r\n<p>Dwayne was not very happy because every little update to the website had to be done by web designers, who were always late and charged a lot of money. As a result of that, the website was outdated, stagnant and non-performing.</p>\r\n<p><img src="http://demo.in-portal.com/demo_images/dwayne_wiener.png" alt="Dwayne Wiener" style="width: 415px; height: 300px;" /><br />\r\n<br />\r\n&ldquo;There must be another way!&rdquo; Dwayne thought in despair. This is how Dwayne found In-Portal Content Management System that puts companies back in control of their websites. The Content Management System (or CMS) allows companies to maintain and update their websites in-house, allowing for a more efficient delivery of critical information, and reducing operating costs of the website.</p>\r\n<p>Dwayne equipped the company&rsquo;s website with the In-Portal CMS, allowing Dwayne and other personnel at Techno-funky Gadgets to make updates to the website at their convenience. First Dwayne was worried that updating the website is complicated and would require special knowledge of web design and programming. Then Dwayne discovered that the system is very easy to use and is similar to Microsoft&copy; Word&trade;, with all the familiar tools and interfaces. It is completely online-based and can be accessed from any computer connected to the Internet, without any need for special software. The system is also very secure: only authorized personnel can make changes to the website.</p>\r\n<p>The uneasy days were over and Dwayne was happy once again. Techno-funky Gadget&rsquo;a website became one of the best in the industry, the company was saving a lot of money, and clients loved dealing with Techno-funky Gadgets because the website was appealing and easy to use. Dwayne was praised for the technical innovation, became a well known Internet guru around the office, and finally got the well-deserved promotion to the position of a Webmaster.</p>', NULL, NULL, NULL, NULL);
+INSERT INTO PageContent VALUES(DEFAULT, 5, (SELECT CategoryId FROM <%TABLE_PREFIX%>Category WHERE Template = 'index'), '<dt>Dwayne Wiener - Employee of the Month</dt>\r\n<dd style="margin:0;">November 20, 2012 Dwayne Wiener has been voted Techno-funky Gadgets&rsquo;s Employee of the Month for December, 2012. Dwayne oversees performance of the company&rsquo;s new website, and is the mastermind behind its execution. The new website, developed by Intechnic Corporation, has an improved functionality, is easy to maintain, and it didn&rsquo;t break Techno-funky Gadgets&rsquo;s bank! Dwayne Wiener&rsquo;s accomplishment is projected to cut costs by 40%, and to increase revenues by 20% from current levels &ndash; an unprecedented improvement from a single implementation.</dd>\r\n<dt>New Website for Techno-funky Gadgets</dt>\r\n<dd style="margin:0;">October 15, 2012 Techno-funky Gadgets is proud to announce the launch of its new website, dedicated to providing clients with an online resource for innovative and affordable products and services for anyone who needs them. It is intuitively structured, and is easy to navigate. The site is based on Intechnic&rsquo;s state-of-the-art Content Management System. It allows administrators at Techno-funky Gadgets to maintain the contents and the structure of the website in-house, without using any help from web designers. Regularly updated, the new Techno-funky Gadgets website is worthy of bookmarking for regular visits by anyone needing anything!</dd>', NULL, NULL, NULL, NULL);
+INSERT INTO PageContent VALUES(DEFAULT, 6, (SELECT CategoryId FROM <%TABLE_PREFIX%>Category WHERE Template = 'index'), '<dt>ADMINISTRATIVE CONSOLE</dt>\r\n<dd>In-Portal&rsquo;s Administrative Console is Dwayne&rsquo;s little secret. It allows him to update the company&rsquo;s website from any computer with Internet access while he relaxes in his home or office, with a beer in hand, or with a cucumber mask on his face!<br />\r\n<br />\r\n<a href="admin/index.php"> <img src="http://demo.in-portal.com/demo_images/click_here.gif" style="width: 220px; height: 125px;" alt="Administrative Console" /> </a></dd>', NULL, NULL, NULL, NULL);
+INSERT INTO PageContent VALUES(DEFAULT, 1, 200, '<p><img alt="About Techno-funky Gadgets" style="float: right; width: 182px; height: 292px;" src="http://demo.in-portal.com/demo_images/about_company.png" /> Techno-funky Gadgets is a company of tomorrow. We are setting industry standards by utilizing cutting edge technologies and innovations, while opening new frontiers and possibilities for our customers. Dedicated to the design, production, and delivery of innovative giggalmators, agathokakologs, and hundreds of other products and services over the last 25 years, Techno-funky Gadgets is uniquely able to offer its clients expert advice and comprehensive range of products to help them with any aspect of life. The products and services that we develop and make available on the market are used in every day lives of millions of people. Imagine yourself without a giggalmator today, and you will understand exactly what impact Techno-funky Gadgets has on the global community.</p>\r\n<p>Our mission is to fulfill each and every one of our customers&rsquo; needs. We value personal approach, diligence and professionalism, and we place trust at the center of every relationship, always staying committed to our customer. Our Customer Service Representatives are so dedicated to their job &ndash; they give out their personal numbers to clients, maintaining our reputation of a world class service company! All of our products and services come with an unlimited lifetime warranty, as Techno-funky Gadgets takes pride in delivering only the highest quality products and services.</p>\r\n<p>Customers that choose Techno-funky Gadgets can rest assured that they have made a wise decision. Their business will always be safe in the hands of professionals who are not only experts in their respective fields, but who also greatly enjoy doing what they do best.</p>\r\n<br />\r\n<br />\r\n<br />\r\n<br />\r\n<br />\r\n&nbsp;', NULL, NULL, NULL, NULL);
+INSERT INTO PageContent VALUES(DEFAULT, 1, 201, '<p>Products by Techno-funky Gadgets come in a wide variety of shapes, sizes, colors, sounds, resolutions and tastes. Our award-winning products are enjoyed by everyone: from children to great-grandparents; from pre-schoolers to PhD&rsquo;s; from artists to CFO&rsquo;s; from rich to poor, from boring to funny. However you like it &ndash; Techno-funky Gadgets can cater to your needs.</p>\r\n<p><img alt="Giggalmator" style="float: left; width: 129px; height: 140px;" src="http://demo.in-portal.com/demo_images/giggalmator.jpg" /></p>\r\n<h4>Giggalmator</h4>\r\nGiggalmator is the most advanced product in the family of Techno-funky Gadgets&rsquo;s Products. With 500 gigabytes of storage space, 30 miles per gallon and 256 distinct transformation styles, it delivers maximum results in minimum amount of time, while offering superb adaptation functions.  With the best taste bud rating in the industry, and the highest crash test score, you can rely on Giggalmator to deliver scrumptious, stylish, reliable results.&nbsp;\r\n<p><img alt="Agathokakolog" style="float: right; width: 137px; height: 148px;" src="http://demo.in-portal.com/demo_images/agathokakolog.jpg" /></p>\r\n<p>&nbsp;</p>\r\n<h4>Agathokakolog</h4>\r\nAgathokakolog is the most impressive product of its kind on the market today: it can spin at the speed of 867,5309 rev/min, transmit 1.5Gbps of junk email, shoot 3.14 arrows per second, and on top of all that, its bouncing abilities are unsurpassed at .007 Million bounces per second!  You&rsquo;ve got to have it to believe it!<br />\r\n<p>&nbsp;</p>\r\n<p>&nbsp;</p>\r\n<br />\r\n<br />\r\n<br />\r\n<br />\r\n<br />\r\n&nbsp;', NULL, NULL, NULL, NULL);
+INSERT INTO PageContent VALUES(DEFAULT, 1, 202, '<p>Techno-funky Gadgets is committed to excellence in all aspects of business. Just as our products are of the highest quality, our services bring the utmost satisfaction to our clients. We strive to make the world a better place, and our services have been designed with that goal in mind.</p>\r\n<p>The packages described herein are available for general public; however, if you have a special request, please let us know and we will do our best to accommodate you.</p>\r\n<h4>The Performance Boosting Package</h4>\r\n<p><img alt="The Performance Boosting Package" style="float: right; width: 150px; height: 215px;" src="http://demo.in-portal.com/demo_images/services_photo.png" /><br />\r\nIs your office lacking performance? Are you a Manager whose subordinates are unproductive? Nothing gets done around the office? Has your secretary been typing up that memo about doing work on time, for the past four days? If you answered &ldquo;Yes&rdquo; to any of the above questions, this Boosting Package is for you! $copmpany has all of our productivity problems solved: the package consists of one Office Drill Sergeant and two Assistants.</p>\r\n<p>As we always do what&rsquo;s in the best interest of our Client, this is a service we provide for a maximum period of one week at a time, so as not to increase employee turnover in your Company. You will have the Office Drill Sergeant at your workplace from morning and until night, ensuring that no one under your command slacks off. This is our most popular office service, and the only one, according to our clients, that significantly increases productivity in the office.</p>\r\n<h4>The Dust-Bust Package</h4>\r\n<p>Techno-funky Gadgets believes that plants must not be dusty. After a number of extensive and very reliable surveys, Techno-funky Gadgets received <img alt="The Performance Boosting Package" style="float: left; width: 137px; height: 166px;" src="http://demo.in-portal.com/demo_images/service.jpg" />reassurance that many people in the world have the same concern.</p>\r\n<p>This Package includes:<br />\r\n1. Plant-dusting of all plants &ndash; both inside and outside of your house<br />\r\n2. A set of our revolutionary Plant Dusters, engineered and produced by Techno-funky Gadgets<br />\r\n3. Actual planting of 3 new plants of your choice<br />\r\n4. BONUS: A complimentary video of various plant-dusting techniques!</p>\r\n<p>Techno-funky Gadgets only hires the top-of-the-class graduates of the World Plant-Dusting Institute, administer rigorous tests to ensure qualification, and hold mandatory Seminars to ensure that all of our top-notch dusters stay atop the newest industry developments and standards.</p>\r\n<p>This package does not disappoint &ndash; we leave your plants spotless, green, and dust-free!</p>\r\n<br />\r\n<br />\r\n<br />\r\n<br />\r\n<br />\r\n&nbsp;', NULL, NULL, NULL, NULL);
+
+INSERT INTO PermCache VALUES(DEFAULT, 200, 1, '11');
+INSERT INTO PermCache VALUES(DEFAULT, 201, 1, '11');
+INSERT INTO PermCache VALUES(DEFAULT, 202, 1, '11');
+
+UPDATE ConfigurationValues SET VariableValue = 'Simple Website' WHERE VariableName = 'Site_Name';
\ No newline at end of file
Index: themes/simple/_install/theme.xml
===================================================================
--- themes/simple/_install/theme.xml	(revision 0)
+++ themes/simple/_install/theme.xml	(revision 0)
@@ -0,0 +1,5 @@
+<theme>
+	<default_design>designs/general</default_design>
+	<form_design>designs/form</form_design>
+	<form_thankyou>thankyou</form_thankyou>
+</theme>
\ No newline at end of file
Index: themes/simple/recommend.tpl
===================================================================
--- themes/simple/recommend.tpl	(revision 0)
+++ themes/simple/recommend.tpl	(revision 0)
@@ -0,0 +1,26 @@
+<!--##
+<NAME>Recommend to a Friend</NAME>
+<DESC>Recommend to a Friend</DESC>
+<SECTION></SECTION>
+##-->
+
+<!--## DEFINE MAIN CONTENT ELEMENT ##-->
+<inp2:m_DefineElement name="content">
+
+	<div class="movable-element">
+		<div id="block-latest" class="block">
+			<div class="round-top"></div>
+			<div class="content">
+				<h1 class="movable-header"><inp2:m_Phrase label="lu_title_RecommendSite"/></h1>
+				<inp2:st_ContentBlock num="1"/>
+			</div>
+			<div class="round-bottom"></div>
+		</div>
+	</div>
+
+</inp2:m_DefineElement>
+<!--## /DEFINE MAIN CONTENT ELEMENT ##-->
+
+<!--## INCLUDE MAIN DESIGN TEMPLATE ##-->
+<inp2:m_include template="designs/default_design.des"/>
+<!--## /INCLUDE MAIN DESIGN TEMPLATE ##-->
\ No newline at end of file
Index: themes/simple/elements/side_boxes/subscribe.elm.tpl
===================================================================
--- themes/simple/elements/side_boxes/subscribe.elm.tpl	(revision 0)
+++ themes/simple/elements/side_boxes/subscribe.elm.tpl	(revision 0)
@@ -0,0 +1,26 @@
+<inp2:m_Capture to_var="header">
+	<inp2:m_phrase name="lu_title_MailingList"/>
+</inp2:m_Capture>
+	<script type="text/javascript">
+		/*$(document).ready(function(){
+			$("#subscribeform").validate();
+		});*/
+	</script>
+	<form method="post" action="<inp2:m_FormAction />" id="subscribeform">
+	<div>
+		<input type="hidden" name="subscribe_template" value="mailing_list/subscribe"/>
+		<input type="hidden" name="unsubscribe_template" value="mailing_list/unsubscribe"/>
+		<fieldset>
+			<label for="subscribe-email"><inp2:m_Phrase label="lu_EnterEmailToSubscribe"/></label>
+			<inp2:m_if check="u_HasError" field="any">
+				<span id="errormsg"><inp2:u_Error field="SubscribeEmail"/></span><br />
+			</inp2:m_if>
+			<span class="emailfield">
+				<input type="text" name="subscriber_email" class="required email" id="subscribe-email" />
+			</span>
+			<span class="submit"><input type="submit" name="events[u][OnSubscribeQuery]" value="<inp2:m_Phrase label='lu_btn_Subscribe' no_editing='1'/>" /></span>
+		</fieldset>
+	</div>
+	</form>
+
+
Index: themes/simple/elements/side_boxes/sub_menu.elm.tpl
===================================================================
--- themes/simple/elements/side_boxes/sub_menu.elm.tpl	(revision 0)
+++ themes/simple/elements/side_boxes/sub_menu.elm.tpl	(revision 0)
@@ -0,0 +1,11 @@
+<inp2:m_DefineElement name="nav_menu_element" no_editing="1">
+<li class="<inp2:m_if check='m_Param' name='active'>expanded current</inp2:m_if><inp2:m_if check='m_Param' name='is_first'> first-child<inp2:m_elseif check='m_Param' name='is_last'/> last-child</inp2:m_if>">
+	<a href="<inp2:m_Link template='$template' m_cat_id='$cat_id' use_section='$use_section' m_cat_page='1'/>" title="<inp2:m_Param name="title"/>"><inp2:m_Param name="title"/></a>
+</li>
+</inp2:m_DefineElement>
+
+<div id="nav-sub">
+	<ul>
+		<inp2:st_CachedMenu render_as="nav_menu_element" category_id="parent" />
+	</ul>
+</div>
\ No newline at end of file
Index: themes/simple/elements/side_boxes/news.elm.tpl
===================================================================
--- themes/simple/elements/side_boxes/news.elm.tpl	(revision 0)
+++ themes/simple/elements/side_boxes/news.elm.tpl	(revision 0)
@@ -0,0 +1,17 @@
+<div class="movable-element">
+	<div class="block" id="side-box-plain">
+		<div class="round-top"></div>
+		<h3 class="movable-header">Latest <strong>News</strong></h3>
+		<div>
+			<ul>
+				<inp2:st_ContentBlock num="2"/>
+			</ul>
+		</div>
+		<!--##
+		<div class="content">
+			<p class="link"><a href="<inp2:m_Link t="subscribe" />">How to subscribe &gt;</a></p>
+		</div>
+		##-->
+		<div class="round-bottom"></div>
+	</div>
+</div>
\ No newline at end of file
Index: themes/simple/elements/content_tools.elm.tpl
===================================================================
--- themes/simple/elements/content_tools.elm.tpl	(revision 0)
+++ themes/simple/elements/content_tools.elm.tpl	(revision 0)
@@ -0,0 +1,3 @@
+<ul id="content-tools">
+	<li id="send-to-friend"><a href="<inp2:m_Link template="recommend" m_cat_id="0"/>" title="<inp2:m_Phrase label="lu_title_RecommendSite" no_editing="1"/>"><inp2:m_Phrase label="lu_title_RecommendSite" no_editing="1"/></a></li>
+</ul>
Index: themes/simple/elements/footer.elm.tpl
===================================================================
--- themes/simple/elements/footer.elm.tpl	(revision 0)
+++ themes/simple/elements/footer.elm.tpl	(revision 0)
@@ -0,0 +1,9 @@
+<div id="site-info">
+	<ul>
+		<li class="first-child"><a href="<inp2:m_Link template="index" m_cat_id="0"/>"><inp2:m_Phrase name="lu_Home"/></a></li>
+		<li><a href="<inp2:m_Link template='terms' use_section='1'/>"><inp2:m_Phrase name="lu_title_TermsAndConditions"/></a></li>
+		<li><a href="<inp2:m_Link template='privacy' use_section='1'/>"><inp2:m_Phrase name="lu_title_PrivacyPolicy"/></a></li>
+		<li><a href="<inp2:m_Link template='sitemap' use_section='1'/>"><inp2:m_Phrase name="lu_title_Sitemap"/></a></li>
+		<li class="last-child"><a href="#masthead"><inp2:m_Phrase name="lu_title_BackToTop"/></a></li>
+	</ul>
+</div>
\ No newline at end of file
Index: themes/simple/elements/side_boxes.elm.tpl
===================================================================
--- themes/simple/elements/side_boxes.elm.tpl	(revision 0)
+++ themes/simple/elements/side_boxes.elm.tpl	(revision 0)
@@ -0,0 +1,19 @@
+<!--## DESIGN FOR SIDE-BOX ELEMENTS ##-->
+<inp2:m_DefineElement name="side_box">
+	<div class="block" id="side-box">
+		<h3 class="movable-header"><inp2:m_param name="header"/></h3>
+		<div class="content">
+			<inp2:m_param name="content"/>
+		</div>
+		<div class="round-bottom"></div>
+	</div>
+</inp2:m_DefineElement>
+<!--## /DESIGN FOR SIDE-BOX ELEMENTS ##-->
+
+<!--## DEFAULT SIDE-BOX ELEMENT ##-->
+<inp2:m_DefineElement name="default_left_sidebar" no_editing="1">
+	<div class="movable-element">
+		<inp2:m_RenderElement name="elements/side_boxes/subscribe.elm" design="side_box" />
+	</div>
+</inp2:m_DefineElement>
+<!--## /DEFAULT SIDE-BOX ELEMENT ##-->
\ No newline at end of file
Index: themes/simple/elements/navigation_menu.elm.tpl
===================================================================
--- themes/simple/elements/navigation_menu.elm.tpl	(revision 0)
+++ themes/simple/elements/navigation_menu.elm.tpl	(revision 0)
@@ -0,0 +1,24 @@
+<inp2:m_DefineElement name="menu_element" no_editing="1">
+	<li>
+		<a href="<inp2:m_Link template='$template' m_cat_id='$cat_id' use_section='$use_section' m_cat_page='1'/>" title="<inp2:m_Param name="title"/>"><inp2:m_Param name="title"/></a>
+
+		<inp2:m_if check="m_Param" name="has_sub_menu">
+		<ul>
+			<inp2:st_CachedMenu render_as="sub_menu_element" category_id="$cat_id"/>
+		</ul>
+		</inp2:m_if>
+	</li>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="sub_menu_element" no_editing="1">
+	<li>
+		<a href="<inp2:m_Link template='$template' m_cat_id='$cat_id' use_section='$use_section' m_cat_page='1'/>" title="<inp2:m_Param name="title"/>"><inp2:m_Param name="title"/></a>
+	</li>
+</inp2:m_DefineElement>
+
+<ul id="nav">
+	<li>
+		<a href="<inp2:m_Link template='index' m_cat_id='0' m_cat_page='1'/>" title="<inp2:m_RootCategoryName no_editing='1'/>"><inp2:m_RootCategoryName no_editing='1'/></a>
+	</li>
+	<inp2:st_CachedMenu render_as="menu_element" category_id="1"/>
+</ul>
\ No newline at end of file
Index: themes/simple/elements/tracking.elm.tpl
===================================================================
--- themes/simple/elements/tracking.elm.tpl	(revision 0)
+++ themes/simple/elements/tracking.elm.tpl	(revision 0)
@@ -0,0 +1,7 @@
+<!-- Tracking Code Starts-->
+<inp2:m_if check="c.current_Field" name="IndexTools">
+	<inp2:c.current_Field name="IndexTools"/>
+<inp2:m_else/>
+	<inp2:m_GetConfig name="TrackingCode"/>
+</inp2:m_if>
+<!-- Tracking Code Ends -->
\ No newline at end of file
Index: themes/simple/elements/search.elm.tpl
===================================================================
--- themes/simple/elements/search.elm.tpl	(revision 0)
+++ themes/simple/elements/search.elm.tpl	(revision 0)
@@ -0,0 +1,7 @@
+<form method="get" action="<inp2:m_Link template="search-results" m_cat_id="0"/>">
+	<fieldset id="site-search">
+		<inp2:m_GetFormHiddens template="search-results" />		
+		<input type="text" name="keywords" value="" size="5"  class="sq-form-field" id="queries_keywords_query" onfocus="if (this.value == '') { this.value = ''; }" onblur="if (this.value == '') { this.value=''; }" />
+		<span class="submit"><input type="submit" value="<inp2:m_Phrase label="lu_search" no_editing="1"/>" /></span>
+	</fieldset>
+</form>
\ No newline at end of file
Index: themes/simple/elements/navigation_bar.elm.tpl
===================================================================
--- themes/simple/elements/navigation_bar.elm.tpl	(revision 0)
+++ themes/simple/elements/navigation_bar.elm.tpl	(revision 0)
@@ -0,0 +1,33 @@
+<inp2:m_DefaultParam titles="" templates="" show_category="0"/>
+
+<inp2:m_DefineElement name="root_category">
+	<a href="<inp2:c_CategoryLink template="__default__" />"><inp2:m_RootCategoryName/></a>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="module_root">
+	<inp2:m_param name="separator"/>
+	<a href="<inp2:c_CategoryLink template="$module_index" cat_id="$cat_id"/>"><inp2:m_param name="title"/></a>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="nav_link">
+	<inp2:m_param name="separator"/>
+	<inp2:m_if check="m_Param" name="category">
+		<a href="<inp2:c_CategoryLink template="__default__" m_cat_page="1"/>"><inp2:m_param name="title"/></a>
+	<inp2:m_else/>
+		<a href="<inp2:m_Link template="$template" m_cat_id="0" m_cat_page="1"/>"><inp2:m_param name="title"/></a>
+	</inp2:m_if>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="module_item">
+	<inp2:m_param name="separator"/>
+	<a href="<inp2:{$prefix}_ItemLink template="$template" />"><inp2:m_param name="title"/></a>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="current_item">
+	<inp2:m_param name="separator"/>
+	<inp2:m_param name="title"/>
+</inp2:m_DefineElement>
+
+<p id="breadcrumb">
+	<inp2:c_CategoryPath separator="&gt;" render_as="nav_link" current_render_as="current_item" module_item_render_as="module_item" root_cat_render_as="root_category" titles="$titles" templates="$templates" show_category="$show_category"/>
+</p>
Index: themes/simple/elements/html_head.elm.tpl
===================================================================
--- themes/simple/elements/html_head.elm.tpl	(revision 0)
+++ themes/simple/elements/html_head.elm.tpl	(revision 0)
@@ -0,0 +1,30 @@
+<inp2:m_if check="c.current_Field" name="MetaKeywords">
+	<meta name="Keywords" content="<inp2:c.current_Field name='MetaKeywords'/>"/>
+<inp2:m_else/>
+	<meta name="Keywords" content="<inp2:m_GetConfig name='Category_MetaKey'/>"/>
+</inp2:m_if>
+<inp2:m_if check="c.current_Field" name="MetaDescription">
+	<meta name="Description" content="<inp2:c.current_Field name='MetaDescription'/>"/>
+<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 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" />
+<!--[if IE 6]>
+<link rel="stylesheet" type="text/css" href="<inp2:m_TemplatesBase module="In-Portal"/>inc/ie6.css" media="screen" />
+<![endif]-->
+
+<!-- JS -->
+<inp2:st_EditingScripts/>
+
+<inp2:m_ifnot check="m_GetConst" name="EDITING_MODE"> <!--## EXCLUDE JS WHEN IN ADMIN ##-->
+	<script type="text/javascript" src="<inp2:m_TemplatesBase />inc/jquery/jquery.pack.js"></script>
+</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
Index: themes/simple/index.tpl
===================================================================
--- themes/simple/index.tpl	(revision 0)
+++ themes/simple/index.tpl	(revision 0)
@@ -0,0 +1,25 @@
+<!--##
+<NAME>Home</NAME>
+<DESC>Home page</DESC>
+<SECTION></SECTION>
+##-->
+
+<!--## DEFINE MAIN CONTENT ELEMENT ##-->
+<inp2:m_DefineElement name="content">
+
+	<div class="movable-element">
+		<div id="block-latest" class="block">
+			<div class="round-top"></div>
+			<div class="content">
+				<inp2:st_ContentBlock num="1"/>
+			</div>
+			<div class="round-bottom"></div>
+		</div>
+	</div>
+
+</inp2:m_DefineElement>
+<!--## /DEFINE MAIN CONTENT ELEMENT ##-->
+
+<!--## INCLUDE MAIN DESIGN TEMPLATE ##-->
+<inp2:m_include template="designs/default_design.des"/>
+<!--## /INCLUDE MAIN DESIGN TEMPLATE ##-->
\ No newline at end of file
Index: themes/simple/error_notfound.tpl
===================================================================
--- themes/simple/error_notfound.tpl	(revision 0)
+++ themes/simple/error_notfound.tpl	(revision 0)
@@ -0,0 +1,30 @@
+<!--##
+<NAME>Page Not Found</NAME>
+<DESC></DESC>
+<SECTION></SECTION>
+##-->
+
+<!--## SET 404 HEADER FOR RESPONSE ##-->
+<inp2:m_Header data="HTTP/1.0 404 Not Found"/>
+<!--## //SET 404 HEADER FOR RESPONSE ##-->
+
+<!--## MAIN CONTENT ##-->
+<inp2:m_DefineElement name="content">
+	<div class="movable-element">
+
+		<div id="block-latest" class="block">
+			<div class="round-top"></div>
+			<div class="content">
+				<h1 class="movable-header"><inp2:m_Phrase name="lu_title_PageNotFound"/></h1>
+				<inp2:m_phrase name="lu_text_PageNotFound"/>
+			</div>
+			<div class="round-bottom"></div>
+		</div>
+
+	</div>
+</inp2:m_DefineElement>
+<!--## /MAIN CONTENT ##-->
+
+<!--## DESIGN TEMPLATE ##-->
+<inp2:m_include template="designs/default_design.des" pass_params="1"/>
+<!--## /DESIGN TEMPLATE ##-->
Index: themes/simple/inc/reset.css
===================================================================
--- themes/simple/inc/reset.css	(revision 0)
+++ themes/simple/inc/reset.css	(revision 0)
@@ -0,0 +1,32 @@
+html, body, object, iframe,
+h1, h2, h3, h4, h5, h6, p, blockquote, pre,
+a, abbr, acronym, address, code,
+del, dfn, em, img, q, dl, dt, dd, ol, ul, li,
+fieldset, form, label, legend,
+table, caption, tbody, tfoot, thead, tr, th, td {
+  margin: 0;
+  padding: 0;
+  border: 0;
+  font-weight: inherit;
+  font-style: inherit;
+  font-size: 100%;
+  font-family: inherit;
+  vertical-align: baseline;
+}
+
+/* Unordered lists for good not evil */
+ul {
+	list-style: none;
+} 
+
+/* Tables still need 'cellspacing="0"' in the markup. */
+table { border-collapse: separate; border-spacing: 0; }
+caption, th, td { text-align: left; font-weight: normal;}
+
+
+/* Remove possible quote marks (") from <q>, <blockquote>. */
+blockquote:before, blockquote:after, q:before, q:after { content: ""; }
+blockquote, q { quotes: "" ""; }
+
+/* Remove annoying border on linked images. */
+a img { border: none; }
\ No newline at end of file
Index: themes/simple/inc/general.js
===================================================================
--- themes/simple/inc/general.js	(revision 0)
+++ themes/simple/inc/general.js	(revision 0)
@@ -0,0 +1,79 @@
+$(document).ready(function(){
+
+
+	// List item helpers
+	$("ul li:first-child").addClass("first-child");
+	$("ul li:last-child").addClass("last-child");
+
+	// Border on hover of menu items
+	$("#nav li a, #nav-sec li a, #site-info li a").append("<div></div>");
+	// Remove from second level
+	$("#nav li li a div").remove();
+
+	// Javascript Document
+	$("html").addClass("js");
+
+	// Rounded Corners
+//	$('div.block').prepend('<div class="round-top"></div>');
+//	$('div.block').append('<div class="round-bottom"></div>');
+
+	// Menu Hovers for IE6
+	$("#nav li").hover(
+		function() {
+			$(this).addClass("hover");
+		}, function() {
+			$(this).removeClass("hover");
+		}
+	);
+	$("#nav li:first-child").hover(
+		function() {
+			$(this).addClass("first-child-hover");
+		}, function() {
+			$(this).removeClass("first-child-hover");
+		}
+	);
+
+	/* Text Resize
+	--------------------- */
+	// Insert resize links
+	$('ul#content-tools').prepend('<li id="print-version"><a href="#print-version">Click me to print</a></li>');
+	$('ul#content-tools li#print-version a').click(function() {
+		window.print();
+		return false;
+	});
+	$('ul#content-tools').prepend('<li id="text-size"><a href="#" title="Decrease Text Size" id="text-decrease">Decrease Text Size</a> <a href="#" title="Increase Text Size" id="text-increase">Increase Text Size</a></li>');
+
+	// Have we got a cookie?
+	savedFontSize = $.cookie('fontSize');
+	if (savedFontSize != null) {
+		$('body').css('font-size', savedFontSize);
+	}
+	else {
+		$('body').css('font-size', "12px");
+	}
+	// Increase Font Size
+	$("a#text-increase").click(function(){
+	var currentFontSize = $('body').css('font-size');
+	var currentFontSizeNum = parseFloat(currentFontSize, 10);
+	var newFontSize = currentFontSizeNum+1;
+	if (currentFontSizeNum < 18) {
+		$('body').css('font-size', newFontSize);
+		// Set Cookie
+		$.cookie('fontSize', newFontSize+'px');
+	}
+	return false;
+	});
+	// Decrease Font Size
+	$("a#text-decrease").click(function(){
+	var currentFontSize = $('body').css('font-size');
+	var currentFontSizeNum = parseFloat(currentFontSize, 10);
+	var newFontSize = currentFontSizeNum-1;
+	if (currentFontSizeNum > 8) {
+		$('body').css('font-size', newFontSize);
+		// Set Cookie
+		$.cookie('fontSize', newFontSize+'px');
+	}
+	return false;
+	});
+
+});
\ No newline at end of file
Index: themes/simple/inc/layout.css
===================================================================
--- themes/simple/inc/layout.css	(revision 0)
+++ themes/simple/inc/layout.css	(revision 0)
@@ -0,0 +1,528 @@
+html {
+	margin:0;
+	padding:0;
+}
+
+body {
+	margin:0;
+	padding:28px 0 0;
+	background: #f8f8f8 url('../img/bg-body.png') repeat-x left top;
+}
+
+#wrapper {
+	margin:0 auto;
+	width:945px;
+	height:auto;
+}
+
+#content {
+clear:both;
+position:relative;
+}
+
+#content-main {
+	background:#FFF;
+	float:left;
+	margin:0 13px;
+	width:531px;
+}
+
+#content-main.inner {
+	margin:0 0 20px 13px;
+	width:738px;
+}
+
+#content-main {
+	margin:0 13px;
+	width:531px;
+}
+
+#content-ter {
+float:left;
+width:194px;
+}
+
+#content-sec {
+float:left;
+margin:0 0 20px;
+width:194px;
+}
+
+#site-info {
+clear:both;
+}
+
+/* !Layout - Other
+--------------------- */
+#nav-accessibility {
+display:none;
+}
+
+hr {
+display:none;
+}
+
+/* !Masthead
+--------------------- */
+#masthead {
+	background:#a60d03;
+	clear:both;
+	height:138px;
+	position:relative;
+}
+
+.inside #masthead {
+margin-top:-19px;
+padding-top:19px;
+}
+
+/* -- !Branding -- */
+h1#branding {
+position:relative;
+top:-13px;
+left:-4px;
+}
+
+h1#branding a {
+background:url('../img/logo.png') no-repeat left top;
+display:block;
+height:105px;
+text-indent:-999em;
+width:220px;
+}
+
+/* -- !Intro -- */
+#intro {
+position:absolute;
+right:-8px;
+top:-17px;
+}
+
+/* -- !Secondary Navigation -- */
+#nav-sec {
+	clear:both;
+	margin:8px 0 9px 19px;
+}
+
+/* Adjust for border on hover */
+#nav-sec {
+	margin-bottom:9px;
+}
+
+#nav-sec li {
+	background:url('../img/bg-nav-sec-li.png') no-repeat left center;
+float:left;
+margin:0 0 0 15px;
+padding:0 0 0 16px;
+}
+
+#nav-sec li.first-child {
+background:none;
+margin:0;
+padding:0;
+}
+
+#nav-sec a {
+color:#FFF;
+display:block;
+font-weight:700;
+line-height:32px;
+padding:0 0 2px;
+text-decoration:none;
+}
+
+#nav-sec a:hover {
+color:#000;
+text-decoration:underline;
+}
+
+/* Red Border on Hover */
+.js #nav-sec li a:hover {
+text-decoration:none;
+}
+
+#nav-sec li a div {
+padding:0 0 2px;
+margin:0 -5px -2px;
+position:relative;
+top:-9px;
+}
+
+#nav-sec li a:hover div {
+border-bottom:2px solid #c4160b;
+padding:0;
+}
+
+/* -- !Navigation -- */
+ul#nav {
+background:#282828 url('../img/bg-nav.png') repeat-x left top;
+border-top:1px solid #FFF;
+font-size:12px;
+margin:0;
+}
+
+#nav li {
+float:left;
+margin:0;
+}
+
+#nav li a {
+background:url('../img/bg-nav.png') no-repeat left -35px;
+	color:#FFF;
+	display:block;
+	font-weight:700;
+	line-height:32px;
+	padding:0 18px 2px 17px;
+	text-align:center;
+	text-decoration:none;
+}
+
+#nav li:hover a,#nav li.hover a,#nav li a.active {
+	background:url('../img/bg-nav.png') no-repeat left -70px;
+}
+
+#nav li a:hover {
+	text-decoration:underline;
+}
+
+/* Rounded Corner */
+#nav li:first-child a,#nav li.first-child a {
+background:url('../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;
+}
+
+/* Contact Us */
+#nav li.last-child a {
+background:url('../img/bg-nav.png') no-repeat left -315px;
+}
+
+/* Red Border on Hover */
+#nav li a:hover {
+	text-decoration:none;
+}
+
+#nav li a div {
+	padding:0 0 2px;
+	margin:0 -5px -4px;
+	position:relative;
+	top:-8px;
+}
+
+#nav li:hover a div,#nav li.hover a div {
+	border:1px solid #a60d03;
+	padding:0;
+}
+
+/* Second Level */
+#nav li ul {
+	background:#000;
+	display:block;
+	padding:4px 0 1px;
+	position:absolute;
+	left:-999em;
+	width:220px;
+	z-index:100;
+}
+
+#nav li ul li {
+	background:none;
+	clear:both;
+	width:100%;
+}
+
+#wrapper #nav li ul li a {
+	background:none;
+	border:1px solid #313131;
+	border-width:0 0 1px;
+	display:block;
+	font-size:11px;
+	line-height:1.2;
+	padding:5px 17px;
+	text-align:left;
+}
+
+#wrapper #nav li ul li a:hover {
+	background:#282828;
+}
+
+#nav li:hover ul,#nav li.hover ul {
+	left:auto;
+}
+
+
+
+/* -- !Search Form -- */
+#masthead form {
+	background:#282828 url('../img/bg-form-search.png') no-repeat right top;
+	border-top:1px solid #FFF;
+	bottom:0;
+	position:absolute;
+	right:0;
+	height:32px;
+	width:180px;
+}
+
+#masthead form fieldset {
+	padding:6px 6px 0 0;
+	float:right;
+}
+
+#masthead form label {
+	display:none;
+}
+
+#masthead form input.sq-form-field,
+#masthead form .submit input {
+	border:1px solid #e3e4e4;
+	display:block;
+	float:left;
+	font-size:10px;
+	padding:2px 2px 1px;
+	width:109px;
+}
+
+#masthead form .submit input {
+	background:url('../img/bg-form-search-submit.png') no-repeat left top;
+	border:none;
+	color:#FFF;
+	cursor:pointer;
+	cursor:hand;
+	font-weight:700;
+	height:18px;
+	width:53px;
+}
+
+
+
+/* !Breadcrumb
+--------------------- */
+#breadcrumb {
+color:#4790b4;
+float:left;
+font-size:.91em;
+line-height:31px;
+margin:0 0 0 4px;
+}
+
+#breadcrumb a {
+color:#4790b4;
+}
+
+/* !Content Tools
+--------------------- */
+#content-tools {
+float:right;
+margin:10px 23px 0 10px;
+}
+
+#content-tools li {
+display:inline;
+}
+
+#content-tools a {
+background:url('../img/ir-content-tools.png') no-repeat 0 50%;
+display:block;
+float:left;
+height:11px;
+margin:0 0 0 14px;
+outline:none;
+text-indent:-999em;
+}
+
+#content-tools #send-to-friend a {
+width:13px;
+}
+
+#content-tools #text-size #text-decrease {
+background-position:-23px 50%;
+margin:0 0 0 12px;
+width:5px;
+}
+
+#content-tools #text-size #text-increase {
+background-position:-33px 50%;
+margin:0 0 0 5px;
+width:6px;
+}
+
+#content-tools #print-version a {
+background-position:-54px 50%;
+width:12px;
+}
+
+#content-tools #text-version a {
+background-position:-80px 50%;
+width:10px;
+}
+
+/* !Site Information
+--------------------- */
+#site-info {
+	margin:20px 0 0;
+}
+
+#site-info ul {
+	background:url('../img/bg-nav.png') repeat-x 0 -350px;
+}
+
+#site-info ul li {
+	float:left;
+	margin:0;
+}
+
+#site-info ul li a {
+	background:url('../img/bg-nav.png') no-repeat left -35px;
+	color:#FFF;
+	display:block;
+	font-weight:700;
+	line-height:34px;
+	padding:0 21px 0 20px;
+	text-align:center;
+	text-decoration:none;
+}
+
+#site-info ul li a:hover,
+#site-info ul li a.active {
+	background:url('../img/bg-nav.png') no-repeat left -70px;
+}
+
+#site-info ul li a:hover {
+	text-decoration:underline;
+}
+
+/* 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;
+}
+
+#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;
+}
+
+/* Back to top */
+#site-info ul li.last-child {
+	float:right;
+}
+
+#site-info ul li.last-child a {
+	background:url('../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;
+}
+
+/* Red Border on Hover */
+#site-info ul li a:hover {
+	text-decoration:none;
+}
+
+#site-info ul li a div {
+	display:block;
+	padding:0 0 2px;
+	margin:0 -5px -4px;
+	position:relative;
+	top:-8px;
+}
+
+#site-info ul li a:hover div {
+	border-bottom:2px solid #a60d03;
+	padding:0;
+}
+
+/* !Borders
+--------------------- */
+#content-main {
+border:1px solid #e8e9e9;
+border-width:0 1px;
+padding:0 20px;
+}
+
+#content-main.inner .round-top {
+background:url('../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;
+height:21px;
+margin:0 -21px;
+}
+
+/* !Sub Navigation
+--------------------- */
+#nav-sub {
+background:#46474b url('../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;
+list-style:none;
+margin:0;
+padding:15px 0;
+}
+
+#nav-sub ul li {
+display:inline;
+margin:0;
+padding:0;
+}
+
+#nav-sub li a {
+background:url('../img/bg-nav-sub-li.png') no-repeat 12px .65em;
+border-bottom:1px solid #1c1d21;
+color:#FFF;
+display:block;
+margin:0 1px;
+padding:3px 12px 3px 25px;
+}
+
+#nav-sub li.expanded a {
+background:#6a6b6d url('../img/bg-nav-sub-li-expanded.png') no-repeat 10px .65em;
+text-decoration:none;
+}
+
+#nav-sub li a:hover {
+background-color:#6a6b6d;
+text-decoration:none;
+}
+
+#nav-sub li.current a {
+background-color:#6a6d6d;
+}
+
+/* Level 2 */
+#nav-sub ul ul {
+background:none;
+border-bottom:1px solid #1c1d21;
+padding:0;
+}
+
+#nav-sub li.expanded li a {
+background:none;
+border:none;
+margin:0 0 1px;
+padding:3px 12px 3px 34px;
+}
+
+#nav-sub li li a:hover {
+background-color:#6a6b6d;
+}
+
+#nav-sub li.expanded li.current a {
+background-color:#6a6d6d;
+}
+
+/* No margin for last child */
+#nav-sub li.expanded li.last-child a {
+margin:0;
+}
\ No newline at end of file
Index: themes/simple/inc/print.css
===================================================================
--- themes/simple/inc/print.css	(revision 0)
+++ themes/simple/inc/print.css	(revision 0)
@@ -0,0 +1,42 @@
+			@import url(typography.css);
+
+#nav, #nav-sec, #nav-sub, #content-tools, #nav-accessibility, #masthead form, #site-info ul {
+    display: none;
+}
+
+h1#branding {
+    font-size: 1.5em;
+    text-indent: 0;
+}
+
+#site-info {
+    background: #FFF;
+    color: #ccc;
+    font-size: 0.82em;
+}
+
+#site-info p, #site-info p a:link {
+    color: #ccc;
+}
+
+/* !Registration
+--------------------- */
+.important { font-size: 1.3em; padding: 1em 1em 1.5em 1em; }
+
+.registration { width: 490px; }
+
+.registration #registrationresultssummary li {
+  list-style: none;
+  background: none;
+  padding: 0 0 3px 0;
+  margin: 0;
+}
+
+.registration #registrationresultssummary ul, .registration #registrationresultssummary td {
+  padding: 0;
+  margin: 0;
+}
+
+.payment-options .creditcard {
+    border-bottom: 1px solid rgb(51, 51, 51);
+}
Index: themes/simple/inc/typography.css
===================================================================
--- themes/simple/inc/typography.css	(revision 0)
+++ themes/simple/inc/typography.css	(revision 0)
@@ -0,0 +1,153 @@
+/* -- TYPE DEFAULTS -- */
+body {
+color:#2f2d2d;
+font:75%/1.3 Arial, Helvetica, sans-serif;
+}
+
+/* !MARGINS + PADDING DEFAULTS
+-------------------------*/
+#content h1,h2,h3,h4,h5 {
+margin:25px 0 0;
+}
+
+p,
+#content ul,
+.block ul,
+dl,
+ol,
+blockquote {
+	margin:.83em 0 1.33em;
+}
+
+p img {
+margin:0;
+}
+
+td {
+padding:.2em;
+}
+
+/* !HEADINGS
+-------------------------*/
+#content h1 {
+color:#a60d03;
+font-size:1.5em;
+font-weight:400;
+margin:0 0 .77em;
+}
+
+h2 {
+color:#92af1c;
+font-size:1.33em;
+font-weight:700;
+margin:0 0 .625em;
+}
+
+h3 {
+color:#c4160b;
+font-size:1.25em;
+font-weight:700;
+}
+
+h4 {
+color:#757575;
+font-size:1.17em;
+font-weight:700;
+}
+
+h5 {
+color:#000;
+font-size:1.08em;
+font-weight:700;
+margin:0;
+}
+
+/* !OTHER ELEMENTS
+-------------------------*/
+#content-main br.clear {
+clear:both;
+}
+
+.small {
+font-size:.83em;
+}
+
+img.align-right {
+float:right;
+margin:0 0 0 22px;
+}
+
+img.align-left {
+float:left;
+margin:0 22px 0 0;
+}
+
+strong {
+}
+
+/* !LISTS
+-------------------------*/
+li {
+}
+
+#content ul,ol {
+margin-left:0;
+padding-left:0;
+}
+
+#content li {
+background:url('../img/li.png') no-repeat 0 .31em;
+margin:6px 0;
+padding:0 0 0 12px;
+}
+
+#content ol {
+margin-left:2.5em;
+}
+
+#content ol li {
+background:none;
+padding:0;
+}
+
+li ul {
+margin:0;
+}
+
+/* No List */
+ul.plain-list {
+margin:0;
+padding:0;
+list-style:none;
+}
+
+/* Definition Links */
+dt {
+color:#92af1c;
+font-weight:400;
+font-size:1.08em;
+margin:1em 0 .3em;
+}
+
+dd {
+margin:.3em 0 .5em 60px;
+}
+
+/* !LINKS
+-------------------------*/
+a,a:link,a:visited,a:hover,a:active {
+color:#288dbf;
+text-decoration:none;
+}
+
+a:hover {
+text-decoration:underline;
+}
+
+a img {
+border:none;
+}
+
+.breadcrumb a,.breadcrumb a:link,.breadcrumb a:visited,.breadcrumb a:active {
+color:#999;
+}
\ No newline at end of file
Index: themes/simple/inc/ie6.css
===================================================================
--- themes/simple/inc/ie6.css	(revision 0)
+++ themes/simple/inc/ie6.css	(revision 0)
@@ -0,0 +1,117 @@
+/* Disable Border on Hover of Menu Elements */
+#wrapper #nav li a div,#wrapper ul#nav-sec li div,#wrapper #site-info li div {
+display:none;
+}
+
+#wrapper #nav li a:hover,#wrapper ul#nav-sec li a:hover,#wrapper #site-info li a:hover {
+text-decoration:underline;
+}
+
+/* Add height to containers */
+#nav-sec,#nav,#site-info ul,#block-latest .feature,#events .header {
+zoom:1;
+}
+
+/* Double Margin Fix */
+#nav-sec,#nav,#masthead fieldset,#content-tools,ul.event-listing .date {
+display:inline;
+}
+
+/* Wacko Height */
+#masthead#nav-sec {
+margin-bottom:11px;
+}
+
+#masthead #nav li a {
+line-height:30px;
+}
+
+#masthead form {
+bottom:-1px;
+height:32px;
+}
+
+.inside #masthead form {
+bottom:0;
+}
+
+/* You brought this on yourself IE6, you brought it on yourself */
+#masthead {
+width:944px;
+}
+
+#nav {
+width:90%;
+}
+
+#block-become-involved li {
+position:relative;
+}
+
+/* Min Height  */
+#block-become-involved {
+height:245px;
+position:relative;
+padding-top:20px;
+}
+
+#content #block-become-involved div.round-top {
+position:absolute;
+margin:0;
+left:-1px;
+top:-1px;
+width:194px;
+}
+
+/* Snap width into place */
+#site-info ul {
+position:relative;
+}
+
+/* Events */
+#block-events {
+position:relative;
+}
+
+.event-listing li {
+zoom:1;
+}
+
+#events .header ul#select-month {
+display:inline;
+}
+
+/* Featured Items */
+#block-latest .feature {
+/* position:static; */
+}
+
+/* Fix absolutely positioned elements */
+#content {
+float:left;
+width:100%;
+}
+
+/* Transparency */
+h1#branding a {
+background:none;
+filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/logo.png',sizingMethod='crop');
+}
+
+#nav-sec li {
+background:none;
+filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/bg-nav-sec-li.png',sizingMethod='crop');
+}
+
+#nav-sec li.first-child {
+filter:none;
+}
+
+/* Non Collapsing Margin Fix */
+#content-main,#content {
+margin-bottom:0;
+}
+
+#site-info {
+margin-top:0;
+}
\ No newline at end of file
Index: themes/simple/inc/content.css
===================================================================
--- themes/simple/inc/content.css	(revision 0)
+++ themes/simple/inc/content.css	(revision 0)
@@ -0,0 +1,215 @@
+/* -- RSS Feed Icon -- */
+.link-rss a {
+	background:url('../img/icon-rss.png') no-repeat left top;
+	display:block;
+	height:19px;
+	text-indent:-999em;
+	width:19px;
+}
+
+/* !Home Blocks
+--------------------- */
+/* -- !Default -- */
+.block {
+	background:#FFF;
+	border:1px solid #e8e9e9;
+	margin:0 0 16px;
+	padding:16px;
+}
+
+.block p {
+	margin:15px 0 0;
+}
+
+/* Headings */
+.block h3 {
+	border-bottom:2px solid #EFEFEF;
+	color:#757575;
+	font-size:1.5em;
+	font-weight:400;
+	margin:0 0 7px;
+	padding-left:3px;
+}
+
+.block h3 strong {
+	color:#92af1c;
+	font-weight:400;
+}
+
+/* Lists */
+#content .block ul {
+	margin:0;
+}
+
+/* With Rounded Corners */
+#side-box,
+#side-box-plain {
+	border-width:0 1px;
+	padding:0 16px;
+}
+
+#side-box .round-top-red {
+	background:url('../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;
+	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;
+	height:16px;
+	margin:0 -17px;
+}
+
+/* -- !Side Box -- */
+#side-box h3 {
+	background:#960c03 url('../img/bg-side-box-top-red.png') no-repeat left top;
+	border:none;
+	color:#FFF;
+	font-size:1.16em;
+	font-weight:700;
+	margin:0 -11px 12px;
+	padding:7px 10px 6px;
+}
+
+#side-box label {
+background:url('../img/icon-email.png') no-repeat left center;
+	color:#9b9b9b;
+	font-size:12px;
+	display:block;
+	line-height:19px;
+	padding:0 0 0 27px;
+}
+
+#side-box .emailfield input {
+border:1px solid #e3e4e4;
+display:block;
+margin:7px 0 15px;
+padding:3px;
+width:164px;
+}
+
+#side-box .submit input {
+	background:url('../img/bg-form-email-submit.png') no-repeat left top;
+	border:none;
+	color:#666;
+	cursor:pointer;
+	float:right;
+	font-size:11px;
+	margin:0;
+	padding:0;
+	height:22px;
+	width:70px;
+}
+
+#side-box .submit input:hover {
+	background-image:url('../img/bg-form-email-submit-hover.png');
+	color:#FFF;
+}
+
+#side-box span#errormsg {
+	color:red;
+}
+
+/* Remove Top Rounded Corner */
+#side-box .round-top {
+	display:none;
+}
+
+#side-box {
+	padding:0 10px;
+}
+
+#side-box .round-bottom {
+	margin:0 -11px;
+}
+
+#side-box .link-rss,
+#side-box-plain .link-rss {
+	position:absolute;
+	margin:17px;
+	right:0;
+	top:0;
+}
+
+/* validation style */
+#side-box label.error {
+	background:none;
+	padding:0;
+	color:red;
+}
+
+/* -- Main Content -- */
+#content-main {
+background:none;
+border:none;
+padding:0;
+}
+
+#content-main .block {
+background:#FFF;
+border:1px solid #e8e9e9;
+border-width:1px;
+padding:20px;
+}
+
+/* With Rounded Corners */
+#content-main .block {
+	border-width:0 1px;
+	padding:0 20px;
+}
+
+#content-main .round-top {
+	background:url('../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;
+	height:21px;
+	margin:0 -21px;
+}
+
+/* -- !Latest -- */
+#block-latest .feature {
+background:url('../img/bg-block-latest-featured.png') no-repeat 237px top;
+color:#666;
+margin:5px 0 0;
+padding:10px 0 0 194px;
+position:relative;
+}
+
+* html #block-latest .feature {
+height:125px;
+}
+
+#block-latest .feature-1 {
+background:none;
+margin:0;
+padding-top:0;
+}
+
+#block-latest .feature img {
+float:left;
+margin:0 0 0 -194px;
+padding-right:10px;
+}
+
+
+#block-latest .feature h4 {
+margin:0 0 5px;
+}
+
+#block-latest .feature p {
+margin:5px 0 0;
+float: left;
+width: 245px;
+}
Index: themes/simple/inc/screen.css
===================================================================
--- themes/simple/inc/screen.css	(revision 0)
+++ themes/simple/inc/screen.css	(revision 0)
@@ -0,0 +1,42 @@
+@import 'reset.css';        /* Reset */
+			@import url(typography.css);
+					    /* Typography */
+			@import url(layout.css);
+					        /* Structure */
+			@import url(content.css);
+					        /* Content */
+
+
+/* !Hacks
+--------------------- */
+/* Add height to containers */
+#nav-sec, #nav, #site-info ul, ul.event-listing li, #block-latest .feature, #events .header {
+    overflow: hidden;
+}
+
+/* Fix Margins */
+#content {
+    clear: both;
+    float: left;
+    /*width: 100%;*/
+}
+
+/* Nav Fixes */
+#masthead {
+    z-index: 100;
+}
+
+#nav li ul li {
+    position: relative;
+    z-index: 101;
+}
+
+#nav li ul li a {
+    position: relative;
+    z-index: 100;
+}
+
+#content, #content-sub, #content-main {
+    position: relative;
+    z-index: 0;
+}
\ No newline at end of file
Index: themes/simple/inc/override.css
===================================================================
--- themes/simple/inc/override.css	(revision 0)
+++ themes/simple/inc/override.css	(revision 0)
@@ -0,0 +1,11 @@
+#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 div { padding-bottom: 4px; }
+#block-latest .feature div div { padding-bottom: 0; }
+#block-latest .feature-1 { padding: 0; background: none; }
+#block-latest .feature p { float: none; width: auto; margin: 0 0 4px 0; }
+#block-latest .feature img { margin: -10px 0 5px 0; background-color: #fff; }
+#block-latest .feature-1 img { margin: 0; }
+
+#block-podcasts { position: relative; }
+
+*+ html #content-ter { float: right; margin-right: -180px; }
\ No newline at end of file
Index: themes/simple/inc/jquery/jcookie.js
===================================================================
--- themes/simple/inc/jquery/jcookie.js	(revision 0)
+++ themes/simple/inc/jquery/jcookie.js	(revision 0)
@@ -0,0 +1 @@
+eval(function(p,a,c,k,e,d){e=function(c){return(c<a?"":e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('j.5=u(9,a,2){6(h a!=\'v\'){2=2||{};6(a===m){a=\'\';2.3=-1}4 3=\'\';6(2.3&&(h 2.3==\'n\'||2.3.k)){4 7;6(h 2.3==\'n\'){7=w C();7.B(7.z()+(2.3*A*o*o*E))}l{7=2.3}3=\'; 3=\'+7.k()}4 8=2.8?\'; 8=\'+2.8:\'\';4 b=2.b?\'; b=\'+2.b:\'\';4 c=2.c?\'; c\':\'\';d.5=[9,\'=\',q(a),3,8,b,c].t(\'\')}l{4 g=m;6(d.5&&d.5!=\'\'){4 e=d.5.x(\';\');D(4 i=0;i<e.f;i++){4 5=j.r(e[i]);6(5.p(0,9.f+1)==(9+\'=\')){g=y(5.p(9.f+1));s}}}F g}};',42,42,'||options|expires|var|cookie|if|date|path|name|value|domain|secure|document|cookies|length|cookieValue|typeof||jQuery|toUTCString|else|null|number|60|substring|encodeURIComponent|trim|break|join|function|undefined|new|split|decodeURIComponent|getTime|24|setTime|Date|for|1000|return'.split('|'),0,{}))
Index: themes/simple/inc/jquery/jquery.pack.js
===================================================================
--- themes/simple/inc/jquery/jquery.pack.js	(revision 0)
+++ themes/simple/inc/jquery/jquery.pack.js	(revision 0)
@@ -0,0 +1,19 @@
+/*
+ * jQuery JavaScript Library v1.3.2
+ * http://jquery.com/
+ *
+ * Copyright (c) 2009 John Resig
+ * Dual licensed under the MIT and GPL licenses.
+ * http://docs.jquery.com/License
+ *
+ * Date: 2009-02-19 17:34:21 -0500 (Thu, 19 Feb 2009)
+ * Revision: 6246
+ */
+(function(){var l=this,g,y=l.jQuery,p=l.$,o=l.jQuery=l.$=function(E,F){return new o.fn.init(E,F)},D=/^[^<]*(<(.|\s)+>)[^>]*$|^#([\w-]+)$/,f=/^.[^:#\[\.,]*$/;o.fn=o.prototype={init:function(E,H){E=E||document;if(E.nodeType){this[0]=E;this.length=1;this.context=E;return this}if(typeof E==="string"){var G=D.exec(E);if(G&&(G[1]||!H)){if(G[1]){E=o.clean([G[1]],H)}else{var I=document.getElementById(G[3]);if(I&&I.id!=G[3]){return o().find(E)}var F=o(I||[]);F.context=document;F.selector=E;return F}}else{return o(H).find(E)}}else{if(o.isFunction(E)){return o(document).ready(E)}}if(E.selector&&E.context){this.selector=E.selector;this.context=E.context}return this.setArray(o.isArray(E)?E:o.makeArray(E))},selector:"",jquery:"1.3.2",size:function(){return this.length},get:function(E){return E===g?Array.prototype.slice.call(this):this[E]},pushStack:function(F,H,E){var G=o(F);G.prevObject=this;G.context=this.context;if(H==="find"){G.selector=this.selector+(this.selector?" ":"")+E}else{if(H){G.selector=this.selector+"."+H+"("+E+")"}}return G},setArray:function(E){this.length=0;Array.prototype.push.apply(this,E);return this},each:function(F,E){return o.each(this,F,E)},index:function(E){return o.inArray(E&&E.jquery?E[0]:E,this)},attr:function(F,H,G){var E=F;if(typeof F==="string"){if(H===g){return this[0]&&o[G||"attr"](this[0],F)}else{E={};E[F]=H}}return this.each(function(I){for(F in E){o.attr(G?this.style:this,F,o.prop(this,E[F],G,I,F))}})},css:function(E,F){if((E=="width"||E=="height")&&parseFloat(F)<0){F=g}return this.attr(E,F,"curCSS")},text:function(F){if(typeof F!=="object"&&F!=null){return this.empty().append((this[0]&&this[0].ownerDocument||document).createTextNode(F))}var E="";o.each(F||this,function(){o.each(this.childNodes,function(){if(this.nodeType!=8){E+=this.nodeType!=1?this.nodeValue:o.fn.text([this])}})});return E},wrapAll:function(E){if(this[0]){var F=o(E,this[0].ownerDocument).clone();if(this[0].parentNode){F.insertBefore(this[0])}F.map(function(){var G=this;while(G.firstChild){G=G.firstChild}return G}).append(this)}return this},wrapInner:function(E){return this.each(function(){o(this).contents().wrapAll(E)})},wrap:function(E){return this.each(function(){o(this).wrapAll(E)})},append:function(){return this.domManip(arguments,true,function(E){if(this.nodeType==1){this.appendChild(E)}})},prepend:function(){return this.domManip(arguments,true,function(E){if(this.nodeType==1){this.insertBefore(E,this.firstChild)}})},before:function(){return this.domManip(arguments,false,function(E){this.parentNode.insertBefore(E,this)})},after:function(){return this.domManip(arguments,false,function(E){this.parentNode.insertBefore(E,this.nextSibling)})},end:function(){return this.prevObject||o([])},push:[].push,sort:[].sort,splice:[].splice,find:function(E){if(this.length===1){var F=this.pushStack([],"find",E);F.length=0;o.find(E,this[0],F);return F}else{return this.pushStack(o.unique(o.map(this,function(G){return o.find(E,G)})),"find",E)}},clone:function(G){var E=this.map(function(){if(!o.support.noCloneEvent&&!o.isXMLDoc(this)){var I=this.outerHTML;if(!I){var J=this.ownerDocument.createElement("div");J.appendChild(this.cloneNode(true));I=J.innerHTML}return o.clean([I.replace(/ jQuery\d+="(?:\d+|null)"/g,"").replace(/^\s*/,"")])[0]}else{return this.cloneNode(true)}});if(G===true){var H=this.find("*").andSelf(),F=0;E.find("*").andSelf().each(function(){if(this.nodeName!==H[F].nodeName){return}var I=o.data(H[F],"events");for(var K in I){for(var J in I[K]){o.event.add(this,K,I[K][J],I[K][J].data)}}F++})}return E},filter:function(E){return this.pushStack(o.isFunction(E)&&o.grep(this,function(G,F){return E.call(G,F)})||o.multiFilter(E,o.grep(this,function(F){return F.nodeType===1})),"filter",E)},closest:function(E){var G=o.expr.match.POS.test(E)?o(E):null,F=0;return this.map(function(){var H=this;while(H&&H.ownerDocument){if(G?G.index(H)>-1:o(H).is(E)){o.data(H,"closest",F);return H}H=H.parentNode;F++}})},not:function(E){if(typeof E==="string"){if(f.test(E)){return this.pushStack(o.multiFilter(E,this,true),"not",E)}else{E=o.multiFilter(E,this)}}var F=E.length&&E[E.length-1]!==g&&!E.nodeType;return this.filter(function(){return F?o.inArray(this,E)<0:this!=E})},add:function(E){return this.pushStack(o.unique(o.merge(this.get(),typeof E==="string"?o(E):o.makeArray(E))))},is:function(E){return !!E&&o.multiFilter(E,this).length>0},hasClass:function(E){return !!E&&this.is("."+E)},val:function(K){if(K===g){var E=this[0];if(E){if(o.nodeName(E,"option")){return(E.attributes.value||{}).specified?E.value:E.text}if(o.nodeName(E,"select")){var I=E.selectedIndex,L=[],M=E.options,H=E.type=="select-one";if(I<0){return null}for(var F=H?I:0,J=H?I+1:M.length;F<J;F++){var G=M[F];if(G.selected){K=o(G).val();if(H){return K}L.push(K)}}return L}return(E.value||"").replace(/\r/g,"")}return g}if(typeof K==="number"){K+=""}return this.each(function(){if(this.nodeType!=1){return}if(o.isArray(K)&&/radio|checkbox/.test(this.type)){this.checked=(o.inArray(this.value,K)>=0||o.inArray(this.name,K)>=0)}else{if(o.nodeName(this,"select")){var N=o.makeArray(K);o("option",this).each(function(){this.selected=(o.inArray(this.value,N)>=0||o.inArray(this.text,N)>=0)});if(!N.length){this.selectedIndex=-1}}else{this.value=K}}})},html:function(E){return E===g?(this[0]?this[0].innerHTML.replace(/ jQuery\d+="(?:\d+|null)"/g,""):null):this.empty().append(E)},replaceWith:function(E){return this.after(E).remove()},eq:function(E){return this.slice(E,+E+1)},slice:function(){return this.pushStack(Array.prototype.slice.apply(this,arguments),"slice",Array.prototype.slice.call(arguments).join(","))},map:function(E){return this.pushStack(o.map(this,function(G,F){return E.call(G,F,G)}))},andSelf:function(){return this.add(this.prevObject)},domManip:function(J,M,L){if(this[0]){var I=(this[0].ownerDocument||this[0]).createDocumentFragment(),F=o.clean(J,(this[0].ownerDocument||this[0]),I),H=I.firstChild;if(H){for(var G=0,E=this.length;G<E;G++){L.call(K(this[G],H),this.length>1||G>0?I.cloneNode(true):I)}}if(F){o.each(F,z)}}return this;function K(N,O){return M&&o.nodeName(N,"table")&&o.nodeName(O,"tr")?(N.getElementsByTagName("tbody")[0]||N.appendChild(N.ownerDocument.createElement("tbody"))):N}}};o.fn.init.prototype=o.fn;function z(E,F){if(F.src){o.ajax({url:F.src,async:false,dataType:"script"})}else{o.globalEval(F.text||F.textContent||F.innerHTML||"")}if(F.parentNode){F.parentNode.removeChild(F)}}function e(){return +new Date}o.extend=o.fn.extend=function(){var J=arguments[0]||{},H=1,I=arguments.length,E=false,G;if(typeof J==="boolean"){E=J;J=arguments[1]||{};H=2}if(typeof J!=="object"&&!o.isFunction(J)){J={}}if(I==H){J=this;--H}for(;H<I;H++){if((G=arguments[H])!=null){for(var F in G){var K=J[F],L=G[F];if(J===L){continue}if(E&&L&&typeof L==="object"&&!L.nodeType){J[F]=o.extend(E,K||(L.length!=null?[]:{}),L)}else{if(L!==g){J[F]=L}}}}}return J};var b=/z-?index|font-?weight|opacity|zoom|line-?height/i,q=document.defaultView||{},s=Object.prototype.toString;o.extend({noConflict:function(E){l.$=p;if(E){l.jQuery=y}return o},isFunction:function(E){return s.call(E)==="[object Function]"},isArray:function(E){return s.call(E)==="[object Array]"},isXMLDoc:function(E){return E.nodeType===9&&E.documentElement.nodeName!=="HTML"||!!E.ownerDocument&&o.isXMLDoc(E.ownerDocument)},globalEval:function(G){if(G&&/\S/.test(G)){var F=document.getElementsByTagName("head")[0]||document.documentElement,E=document.createElement("script");E.type="text/javascript";if(o.support.scriptEval){E.appendChild(document.createTextNode(G))}else{E.text=G}F.insertBefore(E,F.firstChild);F.removeChild(E)}},nodeName:function(F,E){return F.nodeName&&F.nodeName.toUpperCase()==E.toUpperCase()},each:function(G,K,F){var E,H=0,I=G.length;if(F){if(I===g){for(E in G){if(K.apply(G[E],F)===false){break}}}else{for(;H<I;){if(K.apply(G[H++],F)===false){break}}}}else{if(I===g){for(E in G){if(K.call(G[E],E,G[E])===false){break}}}else{for(var J=G[0];H<I&&K.call(J,H,J)!==false;J=G[++H]){}}}return G},prop:function(H,I,G,F,E){if(o.isFunction(I)){I=I.call(H,F)}return typeof I==="number"&&G=="curCSS"&&!b.test(E)?I+"px":I},className:{add:function(E,F){o.each((F||"").split(/\s+/),function(G,H){if(E.nodeType==1&&!o.className.has(E.className,H)){E.className+=(E.className?" ":"")+H}})},remove:function(E,F){if(E.nodeType==1){E.className=F!==g?o.grep(E.className.split(/\s+/),function(G){return !o.className.has(F,G)}).join(" "):""}},has:function(F,E){return F&&o.inArray(E,(F.className||F).toString().split(/\s+/))>-1}},swap:function(H,G,I){var E={};for(var F in G){E[F]=H.style[F];H.style[F]=G[F]}I.call(H);for(var F in G){H.style[F]=E[F]}},css:function(H,F,J,E){if(F=="width"||F=="height"){var L,G={position:"absolute",visibility:"hidden",display:"block"},K=F=="width"?["Left","Right"]:["Top","Bottom"];function I(){L=F=="width"?H.offsetWidth:H.offsetHeight;if(E==="border"){return}o.each(K,function(){if(!E){L-=parseFloat(o.curCSS(H,"padding"+this,true))||0}if(E==="margin"){L+=parseFloat(o.curCSS(H,"margin"+this,true))||0}else{L-=parseFloat(o.curCSS(H,"border"+this+"Width",true))||0}})}if(H.offsetWidth!==0){I()}else{o.swap(H,G,I)}return Math.max(0,Math.round(L))}return o.curCSS(H,F,J)},curCSS:function(I,F,G){var L,E=I.style;if(F=="opacity"&&!o.support.opacity){L=o.attr(E,"opacity");return L==""?"1":L}if(F.match(/float/i)){F=w}if(!G&&E&&E[F]){L=E[F]}else{if(q.getComputedStyle){if(F.match(/float/i)){F="float"}F=F.replace(/([A-Z])/g,"-$1").toLowerCase();var M=q.getComputedStyle(I,null);if(M){L=M.getPropertyValue(F)}if(F=="opacity"&&L==""){L="1"}}else{if(I.currentStyle){var J=F.replace(/\-(\w)/g,function(N,O){return O.toUpperCase()});L=I.currentStyle[F]||I.currentStyle[J];if(!/^\d+(px)?$/i.test(L)&&/^\d/.test(L)){var H=E.left,K=I.runtimeStyle.left;I.runtimeStyle.left=I.currentStyle.left;E.left=L||0;L=E.pixelLeft+"px";E.left=H;I.runtimeStyle.left=K}}}}return L},clean:function(F,K,I){K=K||document;if(typeof K.createElement==="undefined"){K=K.ownerDocument||K[0]&&K[0].ownerDocument||document}if(!I&&F.length===1&&typeof F[0]==="string"){var H=/^<(\w+)\s*\/?>$/.exec(F[0]);if(H){return[K.createElement(H[1])]}}var G=[],E=[],L=K.createElement("div");o.each(F,function(P,S){if(typeof S==="number"){S+=""}if(!S){return}if(typeof S==="string"){S=S.replace(/(<(\w+)[^>]*?)\/>/g,function(U,V,T){return T.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i)?U:V+"></"+T+">"});var O=S.replace(/^\s+/,"").substring(0,10).toLowerCase();var Q=!O.indexOf("<opt")&&[1,"<select multiple='multiple'>","</select>"]||!O.indexOf("<leg")&&[1,"<fieldset>","</fieldset>"]||O.match(/^<(thead|tbody|tfoot|colg|cap)/)&&[1,"<table>","</table>"]||!O.indexOf("<tr")&&[2,"<table><tbody>","</tbody></table>"]||(!O.indexOf("<td")||!O.indexOf("<th"))&&[3,"<table><tbody><tr>","</tr></tbody></table>"]||!O.indexOf("<col")&&[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"]||!o.support.htmlSerialize&&[1,"div<div>","</div>"]||[0,"",""];L.innerHTML=Q[1]+S+Q[2];while(Q[0]--){L=L.lastChild}if(!o.support.tbody){var R=/<tbody/i.test(S),N=!O.indexOf("<table")&&!R?L.firstChild&&L.firstChild.childNodes:Q[1]=="<table>"&&!R?L.childNodes:[];for(var M=N.length-1;M>=0;--M){if(o.nodeName(N[M],"tbody")&&!N[M].childNodes.length){N[M].parentNode.removeChild(N[M])}}}if(!o.support.leadingWhitespace&&/^\s/.test(S)){L.insertBefore(K.createTextNode(S.match(/^\s*/)[0]),L.firstChild)}S=o.makeArray(L.childNodes)}if(S.nodeType){G.push(S)}else{G=o.merge(G,S)}});if(I){for(var J=0;G[J];J++){if(o.nodeName(G[J],"script")&&(!G[J].type||G[J].type.toLowerCase()==="text/javascript")){E.push(G[J].parentNode?G[J].parentNode.removeChild(G[J]):G[J])}else{if(G[J].nodeType===1){G.splice.apply(G,[J+1,0].concat(o.makeArray(G[J].getElementsByTagName("script"))))}I.appendChild(G[J])}}return E}return G},attr:function(J,G,K){if(!J||J.nodeType==3||J.nodeType==8){return g}var H=!o.isXMLDoc(J),L=K!==g;G=H&&o.props[G]||G;if(J.tagName){var F=/href|src|style/.test(G);if(G=="selected"&&J.parentNode){J.parentNode.selectedIndex}if(G in J&&H&&!F){if(L){if(G=="type"&&o.nodeName(J,"input")&&J.parentNode){throw"type property can't be changed"}J[G]=K}if(o.nodeName(J,"form")&&J.getAttributeNode(G)){return J.getAttributeNode(G).nodeValue}if(G=="tabIndex"){var I=J.getAttributeNode("tabIndex");return I&&I.specified?I.value:J.nodeName.match(/(button|input|object|select|textarea)/i)?0:J.nodeName.match(/^(a|area)$/i)&&J.href?0:g}return J[G]}if(!o.support.style&&H&&G=="style"){return o.attr(J.style,"cssText",K)}if(L){J.setAttribute(G,""+K)}var E=!o.support.hrefNormalized&&H&&F?J.getAttribute(G,2):J.getAttribute(G);return E===null?g:E}if(!o.support.opacity&&G=="opacity"){if(L){J.zoom=1;J.filter=(J.filter||"").replace(/alpha\([^)]*\)/,"")+(parseInt(K)+""=="NaN"?"":"alpha(opacity="+K*100+")")}return J.filter&&J.filter.indexOf("opacity=")>=0?(parseFloat(J.filter.match(/opacity=([^)]*)/)[1])/100)+"":""}G=G.replace(/-([a-z])/ig,function(M,N){return N.toUpperCase()});if(L){J[G]=K}return J[G]},trim:function(E){return(E||"").replace(/^\s+|\s+$/g,"")},makeArray:function(G){var E=[];if(G!=null){var F=G.length;if(F==null||typeof G==="string"||o.isFunction(G)||G.setInterval){E[0]=G}else{while(F){E[--F]=G[F]}}}return E},inArray:function(G,H){for(var E=0,F=H.length;E<F;E++){if(H[E]===G){return E}}return -1},merge:function(H,E){var F=0,G,I=H.length;if(!o.support.getAll){while((G=E[F++])!=null){if(G.nodeType!=8){H[I++]=G}}}else{while((G=E[F++])!=null){H[I++]=G}}return H},unique:function(K){var F=[],E={};try{for(var G=0,H=K.length;G<H;G++){var J=o.data(K[G]);if(!E[J]){E[J]=true;F.push(K[G])}}}catch(I){F=K}return F},grep:function(F,J,E){var G=[];for(var H=0,I=F.length;H<I;H++){if(!E!=!J(F[H],H)){G.push(F[H])}}return G},map:function(E,J){var F=[];for(var G=0,H=E.length;G<H;G++){var I=J(E[G],G);if(I!=null){F[F.length]=I}}return F.concat.apply([],F)}});var C=navigator.userAgent.toLowerCase();o.browser={version:(C.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[0,"0"])[1],safari:/webkit/.test(C),opera:/opera/.test(C),msie:/msie/.test(C)&&!/opera/.test(C),mozilla:/mozilla/.test(C)&&!/(compatible|webkit)/.test(C)};o.each({parent:function(E){return E.parentNode},parents:function(E){return o.dir(E,"parentNode")},next:function(E){return o.nth(E,2,"nextSibling")},prev:function(E){return o.nth(E,2,"previousSibling")},nextAll:function(E){return o.dir(E,"nextSibling")},prevAll:function(E){return o.dir(E,"previousSibling")},siblings:function(E){return o.sibling(E.parentNode.firstChild,E)},children:function(E){return o.sibling(E.firstChild)},contents:function(E){return o.nodeName(E,"iframe")?E.contentDocument||E.contentWindow.document:o.makeArray(E.childNodes)}},function(E,F){o.fn[E]=function(G){var H=o.map(this,F);if(G&&typeof G=="string"){H=o.multiFilter(G,H)}return this.pushStack(o.unique(H),E,G)}});o.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(E,F){o.fn[E]=function(G){var J=[],L=o(G);for(var K=0,H=L.length;K<H;K++){var I=(K>0?this.clone(true):this).get();o.fn[F].apply(o(L[K]),I);J=J.concat(I)}return this.pushStack(J,E,G)}});o.each({removeAttr:function(E){o.attr(this,E,"");if(this.nodeType==1){this.removeAttribute(E)}},addClass:function(E){o.className.add(this,E)},removeClass:function(E){o.className.remove(this,E)},toggleClass:function(F,E){if(typeof E!=="boolean"){E=!o.className.has(this,F)}o.className[E?"add":"remove"](this,F)},remove:function(E){if(!E||o.filter(E,[this]).length){o("*",this).add([this]).each(function(){o.event.remove(this);o.removeData(this)});if(this.parentNode){this.parentNode.removeChild(this)}}},empty:function(){o(this).children().remove();while(this.firstChild){this.removeChild(this.firstChild)}}},function(E,F){o.fn[E]=function(){return this.each(F,arguments)}});function j(E,F){return E[0]&&parseInt(o.curCSS(E[0],F,true),10)||0}var h="jQuery"+e(),v=0,A={};o.extend({cache:{},data:function(F,E,G){F=F==l?A:F;var H=F[h];if(!H){H=F[h]=++v}if(E&&!o.cache[H]){o.cache[H]={}}if(G!==g){o.cache[H][E]=G}return E?o.cache[H][E]:H},removeData:function(F,E){F=F==l?A:F;var H=F[h];if(E){if(o.cache[H]){delete o.cache[H][E];E="";for(E in o.cache[H]){break}if(!E){o.removeData(F)}}}else{try{delete F[h]}catch(G){if(F.removeAttribute){F.removeAttribute(h)}}delete o.cache[H]}},queue:function(F,E,H){if(F){E=(E||"fx")+"queue";var G=o.data(F,E);if(!G||o.isArray(H)){G=o.data(F,E,o.makeArray(H))}else{if(H){G.push(H)}}}return G},dequeue:function(H,G){var E=o.queue(H,G),F=E.shift();if(!G||G==="fx"){F=E[0]}if(F!==g){F.call(H)}}});o.fn.extend({data:function(E,G){var H=E.split(".");H[1]=H[1]?"."+H[1]:"";if(G===g){var F=this.triggerHandler("getData"+H[1]+"!",[H[0]]);if(F===g&&this.length){F=o.data(this[0],E)}return F===g&&H[1]?this.data(H[0]):F}else{return this.trigger("setData"+H[1]+"!",[H[0],G]).each(function(){o.data(this,E,G)})}},removeData:function(E){return this.each(function(){o.removeData(this,E)})},queue:function(E,F){if(typeof E!=="string"){F=E;E="fx"}if(F===g){return o.queue(this[0],E)}return this.each(function(){var G=o.queue(this,E,F);if(E=="fx"&&G.length==1){G[0].call(this)}})},dequeue:function(E){return this.each(function(){o.dequeue(this,E)})}});
+/*
+ * Sizzle CSS Selector Engine - v0.9.3
+ *  Copyright 2009, The Dojo Foundation
+ *  Released under the MIT, BSD, and GPL Licenses.
+ *  More information: http://sizzlejs.com/
+ */
+(function(){var R=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?/g,L=0,H=Object.prototype.toString;var F=function(Y,U,ab,ac){ab=ab||[];U=U||document;if(U.nodeType!==1&&U.nodeType!==9){return[]}if(!Y||typeof Y!=="string"){return ab}var Z=[],W,af,ai,T,ad,V,X=true;R.lastIndex=0;while((W=R.exec(Y))!==null){Z.push(W[1]);if(W[2]){V=RegExp.rightContext;break}}if(Z.length>1&&M.exec(Y)){if(Z.length===2&&I.relative[Z[0]]){af=J(Z[0]+Z[1],U)}else{af=I.relative[Z[0]]?[U]:F(Z.shift(),U);while(Z.length){Y=Z.shift();if(I.relative[Y]){Y+=Z.shift()}af=J(Y,af)}}}else{var ae=ac?{expr:Z.pop(),set:E(ac)}:F.find(Z.pop(),Z.length===1&&U.parentNode?U.parentNode:U,Q(U));af=F.filter(ae.expr,ae.set);if(Z.length>0){ai=E(af)}else{X=false}while(Z.length){var ah=Z.pop(),ag=ah;if(!I.relative[ah]){ah=""}else{ag=Z.pop()}if(ag==null){ag=U}I.relative[ah](ai,ag,Q(U))}}if(!ai){ai=af}if(!ai){throw"Syntax error, unrecognized expression: "+(ah||Y)}if(H.call(ai)==="[object Array]"){if(!X){ab.push.apply(ab,ai)}else{if(U.nodeType===1){for(var aa=0;ai[aa]!=null;aa++){if(ai[aa]&&(ai[aa]===true||ai[aa].nodeType===1&&K(U,ai[aa]))){ab.push(af[aa])}}}else{for(var aa=0;ai[aa]!=null;aa++){if(ai[aa]&&ai[aa].nodeType===1){ab.push(af[aa])}}}}}else{E(ai,ab)}if(V){F(V,U,ab,ac);if(G){hasDuplicate=false;ab.sort(G);if(hasDuplicate){for(var aa=1;aa<ab.length;aa++){if(ab[aa]===ab[aa-1]){ab.splice(aa--,1)}}}}}return ab};F.matches=function(T,U){return F(T,null,null,U)};F.find=function(aa,T,ab){var Z,X;if(!aa){return[]}for(var W=0,V=I.order.length;W<V;W++){var Y=I.order[W],X;if((X=I.match[Y].exec(aa))){var U=RegExp.leftContext;if(U.substr(U.length-1)!=="\\"){X[1]=(X[1]||"").replace(/\\/g,"");Z=I.find[Y](X,T,ab);if(Z!=null){aa=aa.replace(I.match[Y],"");break}}}}if(!Z){Z=T.getElementsByTagName("*")}return{set:Z,expr:aa}};F.filter=function(ad,ac,ag,W){var V=ad,ai=[],aa=ac,Y,T,Z=ac&&ac[0]&&Q(ac[0]);while(ad&&ac.length){for(var ab in I.filter){if((Y=I.match[ab].exec(ad))!=null){var U=I.filter[ab],ah,af;T=false;if(aa==ai){ai=[]}if(I.preFilter[ab]){Y=I.preFilter[ab](Y,aa,ag,ai,W,Z);if(!Y){T=ah=true}else{if(Y===true){continue}}}if(Y){for(var X=0;(af=aa[X])!=null;X++){if(af){ah=U(af,Y,X,aa);var ae=W^!!ah;if(ag&&ah!=null){if(ae){T=true}else{aa[X]=false}}else{if(ae){ai.push(af);T=true}}}}}if(ah!==g){if(!ag){aa=ai}ad=ad.replace(I.match[ab],"");if(!T){return[]}break}}}if(ad==V){if(T==null){throw"Syntax error, unrecognized expression: "+ad}else{break}}V=ad}return aa};var I=F.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF_-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF_-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF_-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF_-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*_-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\((even|odd|[\dn+-]*)\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF_-]|\\.)+)(?:\((['"]*)((?:\([^\)]+\)|[^\2\(\)]*)+)\2\))?/},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(T){return T.getAttribute("href")}},relative:{"+":function(aa,T,Z){var X=typeof T==="string",ab=X&&!/\W/.test(T),Y=X&&!ab;if(ab&&!Z){T=T.toUpperCase()}for(var W=0,V=aa.length,U;W<V;W++){if((U=aa[W])){while((U=U.previousSibling)&&U.nodeType!==1){}aa[W]=Y||U&&U.nodeName===T?U||false:U===T}}if(Y){F.filter(T,aa,true)}},">":function(Z,U,aa){var X=typeof U==="string";if(X&&!/\W/.test(U)){U=aa?U:U.toUpperCase();for(var V=0,T=Z.length;V<T;V++){var Y=Z[V];if(Y){var W=Y.parentNode;Z[V]=W.nodeName===U?W:false}}}else{for(var V=0,T=Z.length;V<T;V++){var Y=Z[V];if(Y){Z[V]=X?Y.parentNode:Y.parentNode===U}}if(X){F.filter(U,Z,true)}}},"":function(W,U,Y){var V=L++,T=S;if(!U.match(/\W/)){var X=U=Y?U:U.toUpperCase();T=P}T("parentNode",U,V,W,X,Y)},"~":function(W,U,Y){var V=L++,T=S;if(typeof U==="string"&&!U.match(/\W/)){var X=U=Y?U:U.toUpperCase();T=P}T("previousSibling",U,V,W,X,Y)}},find:{ID:function(U,V,W){if(typeof V.getElementById!=="undefined"&&!W){var T=V.getElementById(U[1]);return T?[T]:[]}},NAME:function(V,Y,Z){if(typeof Y.getElementsByName!=="undefined"){var U=[],X=Y.getElementsByName(V[1]);for(var W=0,T=X.length;W<T;W++){if(X[W].getAttribute("name")===V[1]){U.push(X[W])}}return U.length===0?null:U}},TAG:function(T,U){return U.getElementsByTagName(T[1])}},preFilter:{CLASS:function(W,U,V,T,Z,aa){W=" "+W[1].replace(/\\/g,"")+" ";if(aa){return W}for(var X=0,Y;(Y=U[X])!=null;X++){if(Y){if(Z^(Y.className&&(" "+Y.className+" ").indexOf(W)>=0)){if(!V){T.push(Y)}}else{if(V){U[X]=false}}}}return false},ID:function(T){return T[1].replace(/\\/g,"")},TAG:function(U,T){for(var V=0;T[V]===false;V++){}return T[V]&&Q(T[V])?U[1]:U[1].toUpperCase()},CHILD:function(T){if(T[1]=="nth"){var U=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(T[2]=="even"&&"2n"||T[2]=="odd"&&"2n+1"||!/\D/.test(T[2])&&"0n+"+T[2]||T[2]);T[2]=(U[1]+(U[2]||1))-0;T[3]=U[3]-0}T[0]=L++;return T},ATTR:function(X,U,V,T,Y,Z){var W=X[1].replace(/\\/g,"");if(!Z&&I.attrMap[W]){X[1]=I.attrMap[W]}if(X[2]==="~="){X[4]=" "+X[4]+" "}return X},PSEUDO:function(X,U,V,T,Y){if(X[1]==="not"){if(X[3].match(R).length>1||/^\w/.test(X[3])){X[3]=F(X[3],null,null,U)}else{var W=F.filter(X[3],U,V,true^Y);if(!V){T.push.apply(T,W)}return false}}else{if(I.match.POS.test(X[0])||I.match.CHILD.test(X[0])){return true}}return X},POS:function(T){T.unshift(true);return T}},filters:{enabled:function(T){return T.disabled===false&&T.type!=="hidden"},disabled:function(T){return T.disabled===true},checked:function(T){return T.checked===true},selected:function(T){T.parentNode.selectedIndex;return T.selected===true},parent:function(T){return !!T.firstChild},empty:function(T){return !T.firstChild},has:function(V,U,T){return !!F(T[3],V).length},header:function(T){return/h\d/i.test(T.nodeName)},text:function(T){return"text"===T.type},radio:function(T){return"radio"===T.type},checkbox:function(T){return"checkbox"===T.type},file:function(T){return"file"===T.type},password:function(T){return"password"===T.type},submit:function(T){return"submit"===T.type},image:function(T){return"image"===T.type},reset:function(T){return"reset"===T.type},button:function(T){return"button"===T.type||T.nodeName.toUpperCase()==="BUTTON"},input:function(T){return/input|select|textarea|button/i.test(T.nodeName)}},setFilters:{first:function(U,T){return T===0},last:function(V,U,T,W){return U===W.length-1},even:function(U,T){return T%2===0},odd:function(U,T){return T%2===1},lt:function(V,U,T){return U<T[3]-0},gt:function(V,U,T){return U>T[3]-0},nth:function(V,U,T){return T[3]-0==U},eq:function(V,U,T){return T[3]-0==U}},filter:{PSEUDO:function(Z,V,W,aa){var U=V[1],X=I.filters[U];if(X){return X(Z,W,V,aa)}else{if(U==="contains"){return(Z.textContent||Z.innerText||"").indexOf(V[3])>=0}else{if(U==="not"){var Y=V[3];for(var W=0,T=Y.length;W<T;W++){if(Y[W]===Z){return false}}return true}}}},CHILD:function(T,W){var Z=W[1],U=T;switch(Z){case"only":case"first":while(U=U.previousSibling){if(U.nodeType===1){return false}}if(Z=="first"){return true}U=T;case"last":while(U=U.nextSibling){if(U.nodeType===1){return false}}return true;case"nth":var V=W[2],ac=W[3];if(V==1&&ac==0){return true}var Y=W[0],ab=T.parentNode;if(ab&&(ab.sizcache!==Y||!T.nodeIndex)){var X=0;for(U=ab.firstChild;U;U=U.nextSibling){if(U.nodeType===1){U.nodeIndex=++X}}ab.sizcache=Y}var aa=T.nodeIndex-ac;if(V==0){return aa==0}else{return(aa%V==0&&aa/V>=0)}}},ID:function(U,T){return U.nodeType===1&&U.getAttribute("id")===T},TAG:function(U,T){return(T==="*"&&U.nodeType===1)||U.nodeName===T},CLASS:function(U,T){return(" "+(U.className||U.getAttribute("class"))+" ").indexOf(T)>-1},ATTR:function(Y,W){var V=W[1],T=I.attrHandle[V]?I.attrHandle[V](Y):Y[V]!=null?Y[V]:Y.getAttribute(V),Z=T+"",X=W[2],U=W[4];return T==null?X==="!=":X==="="?Z===U:X==="*="?Z.indexOf(U)>=0:X==="~="?(" "+Z+" ").indexOf(U)>=0:!U?Z&&T!==false:X==="!="?Z!=U:X==="^="?Z.indexOf(U)===0:X==="$="?Z.substr(Z.length-U.length)===U:X==="|="?Z===U||Z.substr(0,U.length+1)===U+"-":false},POS:function(X,U,V,Y){var T=U[2],W=I.setFilters[T];if(W){return W(X,V,U,Y)}}}};var M=I.match.POS;for(var O in I.match){I.match[O]=RegExp(I.match[O].source+/(?![^\[]*\])(?![^\(]*\))/.source)}var E=function(U,T){U=Array.prototype.slice.call(U);if(T){T.push.apply(T,U);return T}return U};try{Array.prototype.slice.call(document.documentElement.childNodes)}catch(N){E=function(X,W){var U=W||[];if(H.call(X)==="[object Array]"){Array.prototype.push.apply(U,X)}else{if(typeof X.length==="number"){for(var V=0,T=X.length;V<T;V++){U.push(X[V])}}else{for(var V=0;X[V];V++){U.push(X[V])}}}return U}}var G;if(document.documentElement.compareDocumentPosition){G=function(U,T){var V=U.compareDocumentPosition(T)&4?-1:U===T?0:1;if(V===0){hasDuplicate=true}return V}}else{if("sourceIndex" in document.documentElement){G=function(U,T){var V=U.sourceIndex-T.sourceIndex;if(V===0){hasDuplicate=true}return V}}else{if(document.createRange){G=function(W,U){var V=W.ownerDocument.createRange(),T=U.ownerDocument.createRange();V.selectNode(W);V.collapse(true);T.selectNode(U);T.collapse(true);var X=V.compareBoundaryPoints(Range.START_TO_END,T);if(X===0){hasDuplicate=true}return X}}}}(function(){var U=document.createElement("form"),V="script"+(new Date).getTime();U.innerHTML="<input name='"+V+"'/>";var T=document.documentElement;T.insertBefore(U,T.firstChild);if(!!document.getElementById(V)){I.find.ID=function(X,Y,Z){if(typeof Y.getElementById!=="undefined"&&!Z){var W=Y.getElementById(X[1]);return W?W.id===X[1]||typeof W.getAttributeNode!=="undefined"&&W.getAttributeNode("id").nodeValue===X[1]?[W]:g:[]}};I.filter.ID=function(Y,W){var X=typeof Y.getAttributeNode!=="undefined"&&Y.getAttributeNode("id");return Y.nodeType===1&&X&&X.nodeValue===W}}T.removeChild(U)})();(function(){var T=document.createElement("div");T.appendChild(document.createComment(""));if(T.getElementsByTagName("*").length>0){I.find.TAG=function(U,Y){var X=Y.getElementsByTagName(U[1]);if(U[1]==="*"){var W=[];for(var V=0;X[V];V++){if(X[V].nodeType===1){W.push(X[V])}}X=W}return X}}T.innerHTML="<a href='#'></a>";if(T.firstChild&&typeof T.firstChild.getAttribute!=="undefined"&&T.firstChild.getAttribute("href")!=="#"){I.attrHandle.href=function(U){return U.getAttribute("href",2)}}})();if(document.querySelectorAll){(function(){var T=F,U=document.createElement("div");U.innerHTML="<p class='TEST'></p>";if(U.querySelectorAll&&U.querySelectorAll(".TEST").length===0){return}F=function(Y,X,V,W){X=X||document;if(!W&&X.nodeType===9&&!Q(X)){try{return E(X.querySelectorAll(Y),V)}catch(Z){}}return T(Y,X,V,W)};F.find=T.find;F.filter=T.filter;F.selectors=T.selectors;F.matches=T.matches})()}if(document.getElementsByClassName&&document.documentElement.getElementsByClassName){(function(){var T=document.createElement("div");T.innerHTML="<div class='test e'></div><div class='test'></div>";if(T.getElementsByClassName("e").length===0){return}T.lastChild.className="e";if(T.getElementsByClassName("e").length===1){return}I.order.splice(1,0,"CLASS");I.find.CLASS=function(U,V,W){if(typeof V.getElementsByClassName!=="undefined"&&!W){return V.getElementsByClassName(U[1])}}})()}function P(U,Z,Y,ad,aa,ac){var ab=U=="previousSibling"&&!ac;for(var W=0,V=ad.length;W<V;W++){var T=ad[W];if(T){if(ab&&T.nodeType===1){T.sizcache=Y;T.sizset=W}T=T[U];var X=false;while(T){if(T.sizcache===Y){X=ad[T.sizset];break}if(T.nodeType===1&&!ac){T.sizcache=Y;T.sizset=W}if(T.nodeName===Z){X=T;break}T=T[U]}ad[W]=X}}}function S(U,Z,Y,ad,aa,ac){var ab=U=="previousSibling"&&!ac;for(var W=0,V=ad.length;W<V;W++){var T=ad[W];if(T){if(ab&&T.nodeType===1){T.sizcache=Y;T.sizset=W}T=T[U];var X=false;while(T){if(T.sizcache===Y){X=ad[T.sizset];break}if(T.nodeType===1){if(!ac){T.sizcache=Y;T.sizset=W}if(typeof Z!=="string"){if(T===Z){X=true;break}}else{if(F.filter(Z,[T]).length>0){X=T;break}}}T=T[U]}ad[W]=X}}}var K=document.compareDocumentPosition?function(U,T){return U.compareDocumentPosition(T)&16}:function(U,T){return U!==T&&(U.contains?U.contains(T):true)};var Q=function(T){return T.nodeType===9&&T.documentElement.nodeName!=="HTML"||!!T.ownerDocument&&Q(T.ownerDocument)};var J=function(T,aa){var W=[],X="",Y,V=aa.nodeType?[aa]:aa;while((Y=I.match.PSEUDO.exec(T))){X+=Y[0];T=T.replace(I.match.PSEUDO,"")}T=I.relative[T]?T+"*":T;for(var Z=0,U=V.length;Z<U;Z++){F(T,V[Z],W)}return F.filter(X,W)};o.find=F;o.filter=F.filter;o.expr=F.selectors;o.expr[":"]=o.expr.filters;F.selectors.filters.hidden=function(T){return T.offsetWidth===0||T.offsetHeight===0};F.selectors.filters.visible=function(T){return T.offsetWidth>0||T.offsetHeight>0};F.selectors.filters.animated=function(T){return o.grep(o.timers,function(U){return T===U.elem}).length};o.multiFilter=function(V,T,U){if(U){V=":not("+V+")"}return F.matches(V,T)};o.dir=function(V,U){var T=[],W=V[U];while(W&&W!=document){if(W.nodeType==1){T.push(W)}W=W[U]}return T};o.nth=function(X,T,V,W){T=T||1;var U=0;for(;X;X=X[V]){if(X.nodeType==1&&++U==T){break}}return X};o.sibling=function(V,U){var T=[];for(;V;V=V.nextSibling){if(V.nodeType==1&&V!=U){T.push(V)}}return T};return;l.Sizzle=F})();o.event={add:function(I,F,H,K){if(I.nodeType==3||I.nodeType==8){return}if(I.setInterval&&I!=l){I=l}if(!H.guid){H.guid=this.guid++}if(K!==g){var G=H;H=this.proxy(G);H.data=K}var E=o.data(I,"events")||o.data(I,"events",{}),J=o.data(I,"handle")||o.data(I,"handle",function(){return typeof o!=="undefined"&&!o.event.triggered?o.event.handle.apply(arguments.callee.elem,arguments):g});J.elem=I;o.each(F.split(/\s+/),function(M,N){var O=N.split(".");N=O.shift();H.type=O.slice().sort().join(".");var L=E[N];if(o.event.specialAll[N]){o.event.specialAll[N].setup.call(I,K,O)}if(!L){L=E[N]={};if(!o.event.special[N]||o.event.special[N].setup.call(I,K,O)===false){if(I.addEventListener){I.addEventListener(N,J,false)}else{if(I.attachEvent){I.attachEvent("on"+N,J)}}}}L[H.guid]=H;o.event.global[N]=true});I=null},guid:1,global:{},remove:function(K,H,J){if(K.nodeType==3||K.nodeType==8){return}var G=o.data(K,"events"),F,E;if(G){if(H===g||(typeof H==="string"&&H.charAt(0)==".")){for(var I in G){this.remove(K,I+(H||""))}}else{if(H.type){J=H.handler;H=H.type}o.each(H.split(/\s+/),function(M,O){var Q=O.split(".");O=Q.shift();var N=RegExp("(^|\\.)"+Q.slice().sort().join(".*\\.")+"(\\.|$)");if(G[O]){if(J){delete G[O][J.guid]}else{for(var P in G[O]){if(N.test(G[O][P].type)){delete G[O][P]}}}if(o.event.specialAll[O]){o.event.specialAll[O].teardown.call(K,Q)}for(F in G[O]){break}if(!F){if(!o.event.special[O]||o.event.special[O].teardown.call(K,Q)===false){if(K.removeEventListener){K.removeEventListener(O,o.data(K,"handle"),false)}else{if(K.detachEvent){K.detachEvent("on"+O,o.data(K,"handle"))}}}F=null;delete G[O]}}})}for(F in G){break}if(!F){var L=o.data(K,"handle");if(L){L.elem=null}o.removeData(K,"events");o.removeData(K,"handle")}}},trigger:function(I,K,H,E){var G=I.type||I;if(!E){I=typeof I==="object"?I[h]?I:o.extend(o.Event(G),I):o.Event(G);if(G.indexOf("!")>=0){I.type=G=G.slice(0,-1);I.exclusive=true}if(!H){I.stopPropagation();if(this.global[G]){o.each(o.cache,function(){if(this.events&&this.events[G]){o.event.trigger(I,K,this.handle.elem)}})}}if(!H||H.nodeType==3||H.nodeType==8){return g}I.result=g;I.target=H;K=o.makeArray(K);K.unshift(I)}I.currentTarget=H;var J=o.data(H,"handle");if(J){J.apply(H,K)}if((!H[G]||(o.nodeName(H,"a")&&G=="click"))&&H["on"+G]&&H["on"+G].apply(H,K)===false){I.result=false}if(!E&&H[G]&&!I.isDefaultPrevented()&&!(o.nodeName(H,"a")&&G=="click")){this.triggered=true;try{H[G]()}catch(L){}}this.triggered=false;if(!I.isPropagationStopped()){var F=H.parentNode||H.ownerDocument;if(F){o.event.trigger(I,K,F,true)}}},handle:function(K){var J,E;K=arguments[0]=o.event.fix(K||l.event);K.currentTarget=this;var L=K.type.split(".");K.type=L.shift();J=!L.length&&!K.exclusive;var I=RegExp("(^|\\.)"+L.slice().sort().join(".*\\.")+"(\\.|$)");E=(o.data(this,"events")||{})[K.type];for(var G in E){var H=E[G];if(J||I.test(H.type)){K.handler=H;K.data=H.data;var F=H.apply(this,arguments);if(F!==g){K.result=F;if(F===false){K.preventDefault();K.stopPropagation()}}if(K.isImmediatePropagationStopped()){break}}}},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode metaKey newValue originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),fix:function(H){if(H[h]){return H}var F=H;H=o.Event(F);for(var G=this.props.length,J;G;){J=this.props[--G];H[J]=F[J]}if(!H.target){H.target=H.srcElement||document}if(H.target.nodeType==3){H.target=H.target.parentNode}if(!H.relatedTarget&&H.fromElement){H.relatedTarget=H.fromElement==H.target?H.toElement:H.fromElement}if(H.pageX==null&&H.clientX!=null){var I=document.documentElement,E=document.body;H.pageX=H.clientX+(I&&I.scrollLeft||E&&E.scrollLeft||0)-(I.clientLeft||0);H.pageY=H.clientY+(I&&I.scrollTop||E&&E.scrollTop||0)-(I.clientTop||0)}if(!H.which&&((H.charCode||H.charCode===0)?H.charCode:H.keyCode)){H.which=H.charCode||H.keyCode}if(!H.metaKey&&H.ctrlKey){H.metaKey=H.ctrlKey}if(!H.which&&H.button){H.which=(H.button&1?1:(H.button&2?3:(H.button&4?2:0)))}return H},proxy:function(F,E){E=E||function(){return F.apply(this,arguments)};E.guid=F.guid=F.guid||E.guid||this.guid++;return E},special:{ready:{setup:B,teardown:function(){}}},specialAll:{live:{setup:function(E,F){o.event.add(this,F[0],c)},teardown:function(G){if(G.length){var E=0,F=RegExp("(^|\\.)"+G[0]+"(\\.|$)");o.each((o.data(this,"events").live||{}),function(){if(F.test(this.type)){E++}});if(E<1){o.event.remove(this,G[0],c)}}}}}};o.Event=function(E){if(!this.preventDefault){return new o.Event(E)}if(E&&E.type){this.originalEvent=E;this.type=E.type}else{this.type=E}this.timeStamp=e();this[h]=true};function k(){return false}function u(){return true}o.Event.prototype={preventDefault:function(){this.isDefaultPrevented=u;var E=this.originalEvent;if(!E){return}if(E.preventDefault){E.preventDefault()}E.returnValue=false},stopPropagation:function(){this.isPropagationStopped=u;var E=this.originalEvent;if(!E){return}if(E.stopPropagation){E.stopPropagation()}E.cancelBubble=true},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=u;this.stopPropagation()},isDefaultPrevented:k,isPropagationStopped:k,isImmediatePropagationStopped:k};var a=function(F){var E=F.relatedTarget;while(E&&E!=this){try{E=E.parentNode}catch(G){E=this}}if(E!=this){F.type=F.data;o.event.handle.apply(this,arguments)}};o.each({mouseover:"mouseenter",mouseout:"mouseleave"},function(F,E){o.event.special[E]={setup:function(){o.event.add(this,F,a,E)},teardown:function(){o.event.remove(this,F,a)}}});o.fn.extend({bind:function(F,G,E){return F=="unload"?this.one(F,G,E):this.each(function(){o.event.add(this,F,E||G,E&&G)})},one:function(G,H,F){var E=o.event.proxy(F||H,function(I){o(this).unbind(I,E);return(F||H).apply(this,arguments)});return this.each(function(){o.event.add(this,G,E,F&&H)})},unbind:function(F,E){return this.each(function(){o.event.remove(this,F,E)})},trigger:function(E,F){return this.each(function(){o.event.trigger(E,F,this)})},triggerHandler:function(E,G){if(this[0]){var F=o.Event(E);F.preventDefault();F.stopPropagation();o.event.trigger(F,G,this[0]);return F.result}},toggle:function(G){var E=arguments,F=1;while(F<E.length){o.event.proxy(G,E[F++])}return this.click(o.event.proxy(G,function(H){this.lastToggle=(this.lastToggle||0)%F;H.preventDefault();return E[this.lastToggle++].apply(this,arguments)||false}))},hover:function(E,F){return this.mouseenter(E).mouseleave(F)},ready:function(E){B();if(o.isReady){E.call(document,o)}else{o.readyList.push(E)}return this},live:function(G,F){var E=o.event.proxy(F);E.guid+=this.selector+G;o(document).bind(i(G,this.selector),this.selector,E);return this},die:function(F,E){o(document).unbind(i(F,this.selector),E?{guid:E.guid+this.selector+F}:null);return this}});function c(H){var E=RegExp("(^|\\.)"+H.type+"(\\.|$)"),G=true,F=[];o.each(o.data(this,"events").live||[],function(I,J){if(E.test(J.type)){var K=o(H.target).closest(J.data)[0];if(K){F.push({elem:K,fn:J})}}});F.sort(function(J,I){return o.data(J.elem,"closest")-o.data(I.elem,"closest")});o.each(F,function(){if(this.fn.call(this.elem,H,this.fn.data)===false){return(G=false)}});return G}function i(F,E){return["live",F,E.replace(/\./g,"`").replace(/ /g,"|")].join(".")}o.extend({isReady:false,readyList:[],ready:function(){if(!o.isReady){o.isReady=true;if(o.readyList){o.each(o.readyList,function(){this.call(document,o)});o.readyList=null}o(document).triggerHandler("ready")}}});var x=false;function B(){if(x){return}x=true;if(document.addEventListener){document.addEventListener("DOMContentLoaded",function(){document.removeEventListener("DOMContentLoaded",arguments.callee,false);o.ready()},false)}else{if(document.attachEvent){document.attachEvent("onreadystatechange",function(){if(document.readyState==="complete"){document.detachEvent("onreadystatechange",arguments.callee);o.ready()}});if(document.documentElement.doScroll&&l==l.top){(function(){if(o.isReady){return}try{document.documentElement.doScroll("left")}catch(E){setTimeout(arguments.callee,0);return}o.ready()})()}}}o.event.add(l,"load",o.ready)}o.each(("blur,focus,load,resize,scroll,unload,click,dblclick,mousedown,mouseup,mousemove,mouseover,mouseout,mouseenter,mouseleave,change,select,submit,keydown,keypress,keyup,error").split(","),function(F,E){o.fn[E]=function(G){return G?this.bind(E,G):this.trigger(E)}});o(l).bind("unload",function(){for(var E in o.cache){if(E!=1&&o.cache[E].handle){o.event.remove(o.cache[E].handle.elem)}}});(function(){o.support={};var F=document.documentElement,G=document.createElement("script"),K=document.createElement("div"),J="script"+(new Date).getTime();K.style.display="none";K.innerHTML='   <link/><table></table><a href="/a" style="color:red;float:left;opacity:.5;">a</a><select><option>text</option></select><object><param/></object>';var H=K.getElementsByTagName("*"),E=K.getElementsByTagName("a")[0];if(!H||!H.length||!E){return}o.support={leadingWhitespace:K.firstChild.nodeType==3,tbody:!K.getElementsByTagName("tbody").length,objectAll:!!K.getElementsByTagName("object")[0].getElementsByTagName("*").length,htmlSerialize:!!K.getElementsByTagName("link").length,style:/red/.test(E.getAttribute("style")),hrefNormalized:E.getAttribute("href")==="/a",opacity:E.style.opacity==="0.5",cssFloat:!!E.style.cssFloat,scriptEval:false,noCloneEvent:true,boxModel:null};G.type="text/javascript";try{G.appendChild(document.createTextNode("window."+J+"=1;"))}catch(I){}F.insertBefore(G,F.firstChild);if(l[J]){o.support.scriptEval=true;delete l[J]}F.removeChild(G);if(K.attachEvent&&K.fireEvent){K.attachEvent("onclick",function(){o.support.noCloneEvent=false;K.detachEvent("onclick",arguments.callee)});K.cloneNode(true).fireEvent("onclick")}o(function(){var L=document.createElement("div");L.style.width=L.style.paddingLeft="1px";document.body.appendChild(L);o.boxModel=o.support.boxModel=L.offsetWidth===2;document.body.removeChild(L).style.display="none"})})();var w=o.support.cssFloat?"cssFloat":"styleFloat";o.props={"for":"htmlFor","class":"className","float":w,cssFloat:w,styleFloat:w,readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",tabindex:"tabIndex"};o.fn.extend({_load:o.fn.load,load:function(G,J,K){if(typeof G!=="string"){return this._load(G)}var I=G.indexOf(" ");if(I>=0){var E=G.slice(I,G.length);G=G.slice(0,I)}var H="GET";if(J){if(o.isFunction(J)){K=J;J=null}else{if(typeof J==="object"){J=o.param(J);H="POST"}}}var F=this;o.ajax({url:G,type:H,dataType:"html",data:J,complete:function(M,L){if(L=="success"||L=="notmodified"){F.html(E?o("<div/>").append(M.responseText.replace(/<script(.|\s)*?\/script>/g,"")).find(E):M.responseText)}if(K){F.each(K,[M.responseText,L,M])}}});return this},serialize:function(){return o.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?o.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||/select|textarea/i.test(this.nodeName)||/text|hidden|password|search/i.test(this.type))}).map(function(E,F){var G=o(this).val();return G==null?null:o.isArray(G)?o.map(G,function(I,H){return{name:F.name,value:I}}):{name:F.name,value:G}}).get()}});o.each("ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend".split(","),function(E,F){o.fn[F]=function(G){return this.bind(F,G)}});var r=e();o.extend({get:function(E,G,H,F){if(o.isFunction(G)){H=G;G=null}return o.ajax({type:"GET",url:E,data:G,success:H,dataType:F})},getScript:function(E,F){return o.get(E,null,F,"script")},getJSON:function(E,F,G){return o.get(E,F,G,"json")},post:function(E,G,H,F){if(o.isFunction(G)){H=G;G={}}return o.ajax({type:"POST",url:E,data:G,success:H,dataType:F})},ajaxSetup:function(E){o.extend(o.ajaxSettings,E)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:function(){return l.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):new XMLHttpRequest()},accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},lastModified:{},ajax:function(M){M=o.extend(true,M,o.extend(true,{},o.ajaxSettings,M));var W,F=/=\?(&|$)/g,R,V,G=M.type.toUpperCase();if(M.data&&M.processData&&typeof M.data!=="string"){M.data=o.param(M.data)}if(M.dataType=="jsonp"){if(G=="GET"){if(!M.url.match(F)){M.url+=(M.url.match(/\?/)?"&":"?")+(M.jsonp||"callback")+"=?"}}else{if(!M.data||!M.data.match(F)){M.data=(M.data?M.data+"&":"")+(M.jsonp||"callback")+"=?"}}M.dataType="json"}if(M.dataType=="json"&&(M.data&&M.data.match(F)||M.url.match(F))){W="jsonp"+r++;if(M.data){M.data=(M.data+"").replace(F,"="+W+"$1")}M.url=M.url.replace(F,"="+W+"$1");M.dataType="script";l[W]=function(X){V=X;I();L();l[W]=g;try{delete l[W]}catch(Y){}if(H){H.removeChild(T)}}}if(M.dataType=="script"&&M.cache==null){M.cache=false}if(M.cache===false&&G=="GET"){var E=e();var U=M.url.replace(/(\?|&)_=.*?(&|$)/,"$1_="+E+"$2");M.url=U+((U==M.url)?(M.url.match(/\?/)?"&":"?")+"_="+E:"")}if(M.data&&G=="GET"){M.url+=(M.url.match(/\?/)?"&":"?")+M.data;M.data=null}if(M.global&&!o.active++){o.event.trigger("ajaxStart")}var Q=/^(\w+:)?\/\/([^\/?#]+)/.exec(M.url);if(M.dataType=="script"&&G=="GET"&&Q&&(Q[1]&&Q[1]!=location.protocol||Q[2]!=location.host)){var H=document.getElementsByTagName("head")[0];var T=document.createElement("script");T.src=M.url;if(M.scriptCharset){T.charset=M.scriptCharset}if(!W){var O=false;T.onload=T.onreadystatechange=function(){if(!O&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete")){O=true;I();L();T.onload=T.onreadystatechange=null;H.removeChild(T)}}}H.appendChild(T);return g}var K=false;var J=M.xhr();if(M.username){J.open(G,M.url,M.async,M.username,M.password)}else{J.open(G,M.url,M.async)}try{if(M.data){J.setRequestHeader("Content-Type",M.contentType)}if(M.ifModified){J.setRequestHeader("If-Modified-Since",o.lastModified[M.url]||"Thu, 01 Jan 1970 00:00:00 GMT")}J.setRequestHeader("X-Requested-With","XMLHttpRequest");J.setRequestHeader("Accept",M.dataType&&M.accepts[M.dataType]?M.accepts[M.dataType]+", */*":M.accepts._default)}catch(S){}if(M.beforeSend&&M.beforeSend(J,M)===false){if(M.global&&!--o.active){o.event.trigger("ajaxStop")}J.abort();return false}if(M.global){o.event.trigger("ajaxSend",[J,M])}var N=function(X){if(J.readyState==0){if(P){clearInterval(P);P=null;if(M.global&&!--o.active){o.event.trigger("ajaxStop")}}}else{if(!K&&J&&(J.readyState==4||X=="timeout")){K=true;if(P){clearInterval(P);P=null}R=X=="timeout"?"timeout":!o.httpSuccess(J)?"error":M.ifModified&&o.httpNotModified(J,M.url)?"notmodified":"success";if(R=="success"){try{V=o.httpData(J,M.dataType,M)}catch(Z){R="parsererror"}}if(R=="success"){var Y;try{Y=J.getResponseHeader("Last-Modified")}catch(Z){}if(M.ifModified&&Y){o.lastModified[M.url]=Y}if(!W){I()}}else{o.handleError(M,J,R)}L();if(X){J.abort()}if(M.async){J=null}}}};if(M.async){var P=setInterval(N,13);if(M.timeout>0){setTimeout(function(){if(J&&!K){N("timeout")}},M.timeout)}}try{J.send(M.data)}catch(S){o.handleError(M,J,null,S)}if(!M.async){N()}function I(){if(M.success){M.success(V,R)}if(M.global){o.event.trigger("ajaxSuccess",[J,M])}}function L(){if(M.complete){M.complete(J,R)}if(M.global){o.event.trigger("ajaxComplete",[J,M])}if(M.global&&!--o.active){o.event.trigger("ajaxStop")}}return J},handleError:function(F,H,E,G){if(F.error){F.error(H,E,G)}if(F.global){o.event.trigger("ajaxError",[H,F,G])}},active:0,httpSuccess:function(F){try{return !F.status&&location.protocol=="file:"||(F.status>=200&&F.status<300)||F.status==304||F.status==1223}catch(E){}return false},httpNotModified:function(G,E){try{var H=G.getResponseHeader("Last-Modified");return G.status==304||H==o.lastModified[E]}catch(F){}return false},httpData:function(J,H,G){var F=J.getResponseHeader("content-type"),E=H=="xml"||!H&&F&&F.indexOf("xml")>=0,I=E?J.responseXML:J.responseText;if(E&&I.documentElement.tagName=="parsererror"){throw"parsererror"}if(G&&G.dataFilter){I=G.dataFilter(I,H)}if(typeof I==="string"){if(H=="script"){o.globalEval(I)}if(H=="json"){I=l["eval"]("("+I+")")}}return I},param:function(E){var G=[];function H(I,J){G[G.length]=encodeURIComponent(I)+"="+encodeURIComponent(J)}if(o.isArray(E)||E.jquery){o.each(E,function(){H(this.name,this.value)})}else{for(var F in E){if(o.isArray(E[F])){o.each(E[F],function(){H(F,this)})}else{H(F,o.isFunction(E[F])?E[F]():E[F])}}}return G.join("&").replace(/%20/g,"+")}});var m={},n,d=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];function t(F,E){var G={};o.each(d.concat.apply([],d.slice(0,E)),function(){G[this]=F});return G}o.fn.extend({show:function(J,L){if(J){return this.animate(t("show",3),J,L)}else{for(var H=0,F=this.length;H<F;H++){var E=o.data(this[H],"olddisplay");this[H].style.display=E||"";if(o.css(this[H],"display")==="none"){var G=this[H].tagName,K;if(m[G]){K=m[G]}else{var I=o("<"+G+" />").appendTo("body");K=I.css("display");if(K==="none"){K="block"}I.remove();m[G]=K}o.data(this[H],"olddisplay",K)}}for(var H=0,F=this.length;H<F;H++){this[H].style.display=o.data(this[H],"olddisplay")||""}return this}},hide:function(H,I){if(H){return this.animate(t("hide",3),H,I)}else{for(var G=0,F=this.length;G<F;G++){var E=o.data(this[G],"olddisplay");if(!E&&E!=="none"){o.data(this[G],"olddisplay",o.css(this[G],"display"))}}for(var G=0,F=this.length;G<F;G++){this[G].style.display="none"}return this}},_toggle:o.fn.toggle,toggle:function(G,F){var E=typeof G==="boolean";return o.isFunction(G)&&o.isFunction(F)?this._toggle.apply(this,arguments):G==null||E?this.each(function(){var H=E?G:o(this).is(":hidden");o(this)[H?"show":"hide"]()}):this.animate(t("toggle",3),G,F)},fadeTo:function(E,G,F){return this.animate({opacity:G},E,F)},animate:function(I,F,H,G){var E=o.speed(F,H,G);return this[E.queue===false?"each":"queue"](function(){var K=o.extend({},E),M,L=this.nodeType==1&&o(this).is(":hidden"),J=this;for(M in I){if(I[M]=="hide"&&L||I[M]=="show"&&!L){return K.complete.call(this)}if((M=="height"||M=="width")&&this.style){K.display=o.css(this,"display");K.overflow=this.style.overflow}}if(K.overflow!=null){this.style.overflow="hidden"}K.curAnim=o.extend({},I);o.each(I,function(O,S){var R=new o.fx(J,K,O);if(/toggle|show|hide/.test(S)){R[S=="toggle"?L?"show":"hide":S](I)}else{var Q=S.toString().match(/^([+-]=)?([\d+-.]+)(.*)$/),T=R.cur(true)||0;if(Q){var N=parseFloat(Q[2]),P=Q[3]||"px";if(P!="px"){J.style[O]=(N||1)+P;T=((N||1)/R.cur(true))*T;J.style[O]=T+P}if(Q[1]){N=((Q[1]=="-="?-1:1)*N)+T}R.custom(T,N,P)}else{R.custom(T,S,"")}}});return true})},stop:function(F,E){var G=o.timers;if(F){this.queue([])}this.each(function(){for(var H=G.length-1;H>=0;H--){if(G[H].elem==this){if(E){G[H](true)}G.splice(H,1)}}});if(!E){this.dequeue()}return this}});o.each({slideDown:t("show",1),slideUp:t("hide",1),slideToggle:t("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(E,F){o.fn[E]=function(G,H){return this.animate(F,G,H)}});o.extend({speed:function(G,H,F){var E=typeof G==="object"?G:{complete:F||!F&&H||o.isFunction(G)&&G,duration:G,easing:F&&H||H&&!o.isFunction(H)&&H};E.duration=o.fx.off?0:typeof E.duration==="number"?E.duration:o.fx.speeds[E.duration]||o.fx.speeds._default;E.old=E.complete;E.complete=function(){if(E.queue!==false){o(this).dequeue()}if(o.isFunction(E.old)){E.old.call(this)}};return E},easing:{linear:function(G,H,E,F){return E+F*G},swing:function(G,H,E,F){return((-Math.cos(G*Math.PI)/2)+0.5)*F+E}},timers:[],fx:function(F,E,G){this.options=E;this.elem=F;this.prop=G;if(!E.orig){E.orig={}}}});o.fx.prototype={update:function(){if(this.options.step){this.options.step.call(this.elem,this.now,this)}(o.fx.step[this.prop]||o.fx.step._default)(this);if((this.prop=="height"||this.prop=="width")&&this.elem.style){this.elem.style.display="block"}},cur:function(F){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null)){return this.elem[this.prop]}var E=parseFloat(o.css(this.elem,this.prop,F));return E&&E>-10000?E:parseFloat(o.curCSS(this.elem,this.prop))||0},custom:function(I,H,G){this.startTime=e();this.start=I;this.end=H;this.unit=G||this.unit||"px";this.now=this.start;this.pos=this.state=0;var E=this;function F(J){return E.step(J)}F.elem=this.elem;if(F()&&o.timers.push(F)&&!n){n=setInterval(function(){var K=o.timers;for(var J=0;J<K.length;J++){if(!K[J]()){K.splice(J--,1)}}if(!K.length){clearInterval(n);n=g}},13)}},show:function(){this.options.orig[this.prop]=o.attr(this.elem.style,this.prop);this.options.show=true;this.custom(this.prop=="width"||this.prop=="height"?1:0,this.cur());o(this.elem).show()},hide:function(){this.options.orig[this.prop]=o.attr(this.elem.style,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(H){var G=e();if(H||G>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;var E=true;for(var F in this.options.curAnim){if(this.options.curAnim[F]!==true){E=false}}if(E){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;this.elem.style.display=this.options.display;if(o.css(this.elem,"display")=="none"){this.elem.style.display="block"}}if(this.options.hide){o(this.elem).hide()}if(this.options.hide||this.options.show){for(var I in this.options.curAnim){o.attr(this.elem.style,I,this.options.orig[I])}}this.options.complete.call(this.elem)}return false}else{var J=G-this.startTime;this.state=J/this.options.duration;this.pos=o.easing[this.options.easing||(o.easing.swing?"swing":"linear")](this.state,J,0,1,this.options.duration);this.now=this.start+((this.end-this.start)*this.pos);this.update()}return true}};o.extend(o.fx,{speeds:{slow:600,fast:200,_default:400},step:{opacity:function(E){o.attr(E.elem.style,"opacity",E.now)},_default:function(E){if(E.elem.style&&E.elem.style[E.prop]!=null){E.elem.style[E.prop]=E.now+E.unit}else{E.elem[E.prop]=E.now}}}});if(document.documentElement.getBoundingClientRect){o.fn.offset=function(){if(!this[0]){return{top:0,left:0}}if(this[0]===this[0].ownerDocument.body){return o.offset.bodyOffset(this[0])}var G=this[0].getBoundingClientRect(),J=this[0].ownerDocument,F=J.body,E=J.documentElement,L=E.clientTop||F.clientTop||0,K=E.clientLeft||F.clientLeft||0,I=G.top+(self.pageYOffset||o.boxModel&&E.scrollTop||F.scrollTop)-L,H=G.left+(self.pageXOffset||o.boxModel&&E.scrollLeft||F.scrollLeft)-K;return{top:I,left:H}}}else{o.fn.offset=function(){if(!this[0]){return{top:0,left:0}}if(this[0]===this[0].ownerDocument.body){return o.offset.bodyOffset(this[0])}o.offset.initialized||o.offset.initialize();var J=this[0],G=J.offsetParent,F=J,O=J.ownerDocument,M,H=O.documentElement,K=O.body,L=O.defaultView,E=L.getComputedStyle(J,null),N=J.offsetTop,I=J.offsetLeft;while((J=J.parentNode)&&J!==K&&J!==H){M=L.getComputedStyle(J,null);N-=J.scrollTop,I-=J.scrollLeft;if(J===G){N+=J.offsetTop,I+=J.offsetLeft;if(o.offset.doesNotAddBorder&&!(o.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(J.tagName))){N+=parseInt(M.borderTopWidth,10)||0,I+=parseInt(M.borderLeftWidth,10)||0}F=G,G=J.offsetParent}if(o.offset.subtractsBorderForOverflowNotVisible&&M.overflow!=="visible"){N+=parseInt(M.borderTopWidth,10)||0,I+=parseInt(M.borderLeftWidth,10)||0}E=M}if(E.position==="relative"||E.position==="static"){N+=K.offsetTop,I+=K.offsetLeft}if(E.position==="fixed"){N+=Math.max(H.scrollTop,K.scrollTop),I+=Math.max(H.scrollLeft,K.scrollLeft)}return{top:N,left:I}}}o.offset={initialize:function(){if(this.initialized){return}var L=document.body,F=document.createElement("div"),H,G,N,I,M,E,J=L.style.marginTop,K='<div style="position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;"><div></div></div><table style="position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;" cellpadding="0" cellspacing="0"><tr><td></td></tr></table>';M={position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"};for(E in M){F.style[E]=M[E]}F.innerHTML=K;L.insertBefore(F,L.firstChild);H=F.firstChild,G=H.firstChild,I=H.nextSibling.firstChild.firstChild;this.doesNotAddBorder=(G.offsetTop!==5);this.doesAddBorderForTableAndCells=(I.offsetTop===5);H.style.overflow="hidden",H.style.position="relative";this.subtractsBorderForOverflowNotVisible=(G.offsetTop===-5);L.style.marginTop="1px";this.doesNotIncludeMarginInBodyOffset=(L.offsetTop===0);L.style.marginTop=J;L.removeChild(F);this.initialized=true},bodyOffset:function(E){o.offset.initialized||o.offset.initialize();var G=E.offsetTop,F=E.offsetLeft;if(o.offset.doesNotIncludeMarginInBodyOffset){G+=parseInt(o.curCSS(E,"marginTop",true),10)||0,F+=parseInt(o.curCSS(E,"marginLeft",true),10)||0}return{top:G,left:F}}};o.fn.extend({position:function(){var I=0,H=0,F;if(this[0]){var G=this.offsetParent(),J=this.offset(),E=/^body|html$/i.test(G[0].tagName)?{top:0,left:0}:G.offset();J.top-=j(this,"marginTop");J.left-=j(this,"marginLeft");E.top+=j(G,"borderTopWidth");E.left+=j(G,"borderLeftWidth");F={top:J.top-E.top,left:J.left-E.left}}return F},offsetParent:function(){var E=this[0].offsetParent||document.body;while(E&&(!/^body|html$/i.test(E.tagName)&&o.css(E,"position")=="static")){E=E.offsetParent}return o(E)}});o.each(["Left","Top"],function(F,E){var G="scroll"+E;o.fn[G]=function(H){if(!this[0]){return null}return H!==g?this.each(function(){this==l||this==document?l.scrollTo(!F?H:o(l).scrollLeft(),F?H:o(l).scrollTop()):this[G]=H}):this[0]==l||this[0]==document?self[F?"pageYOffset":"pageXOffset"]||o.boxModel&&document.documentElement[G]||document.body[G]:this[0][G]}});o.each(["Height","Width"],function(I,G){var E=I?"Left":"Top",H=I?"Right":"Bottom",F=G.toLowerCase();o.fn["inner"+G]=function(){return this[0]?o.css(this[0],F,false,"padding"):null};o.fn["outer"+G]=function(K){return this[0]?o.css(this[0],F,false,K?"margin":"border"):null};var J=G.toLowerCase();o.fn[J]=function(K){return this[0]==l?document.compatMode=="CSS1Compat"&&document.documentElement["client"+G]||document.body["client"+G]:this[0]==document?Math.max(document.documentElement["client"+G],document.body["scroll"+G],document.documentElement["scroll"+G],document.body["offset"+G],document.documentElement["offset"+G]):K===g?(this.length?o.css(this[0],J):null):this.css(J,typeof K==="string"?K:K+"px")}})})();
\ No newline at end of file
Index: themes/simple/.smsignore
===================================================================
--- themes/simple/.smsignore	(revision 0)
+++ themes/simple/.smsignore	(revision 0)
@@ -0,0 +1,2 @@
+search-results\.tpl
+recommend\.tpl
\ No newline at end of file
Index: themes/simple/privacy.tpl
===================================================================
--- themes/simple/privacy.tpl	(revision 0)
+++ themes/simple/privacy.tpl	(revision 0)
@@ -0,0 +1,28 @@
+<!--##
+<NAME>Privacy Policy</NAME>
+<DESC></DESC>
+<SECTION></SECTION>
+##-->
+
+<!--## DEFINE MAIN CONTENT ELEMENT ##-->
+<inp2:m_DefineElement name="content">
+
+	<div class="movable-element">
+
+		<div id="block-latest" class="block">
+			<div class="round-top"></div>
+			<div class="content">
+				<h1 class="movable-header"><inp2:st_PageInfo type="title"/></h1>
+				<inp2:st_ContentBlock num="1"/>
+			</div>
+			<div class="round-bottom"></div>
+		</div>
+
+	</div>
+
+</inp2:m_DefineElement>
+<!--## /DEFINE MAIN CONTENT ELEMENT ##-->
+
+<!--## INCLUDE MAIN DESIGN TEMPLATE ##-->
+<inp2:m_include template="designs/default_design.des"/>
+<!--## /INCLUDE MAIN DESIGN TEMPLATE ##-->
\ No newline at end of file
Index: themes/simple/sitemap.tpl
===================================================================
--- themes/simple/sitemap.tpl	(revision 0)
+++ themes/simple/sitemap.tpl	(revision 0)
@@ -0,0 +1,54 @@
+<!--##
+<NAME>Sitemap</NAME>
+<DESC>Sitemap of the website</DESC>
+<SECTION></SECTION>
+##-->
+
+<!--## DEFINE MAIN CONTENT ELEMENT ##-->
+<inp2:m_DefineElement name="content">
+
+	<div class="movable-element">
+		<div id="block-latest" class="block">
+			<div class="round-top"></div>
+			<div class="content">
+				<h1 class="movable-header"><inp2:st_PageInfo type="title"/></h1>
+				<inp2:st_ContentBlock num="1"/>
+				                
+                <inp2:m_DefineElement name="more_link_elem">
+                	<li>
+                		<a href="<inp2:c_CategoryLink template='__default__' m_cat_page='1'/>" class="sub-category"><inp2:m_Phrase label="lu_more"/>...</a>
+                	</li>
+                </inp2:m_DefineElement>
+                
+                <inp2:m_DefineElement name="sitemap_category_element" level_var="sitemap_level" max_levels="0">
+                	<li>
+                		<a href="<inp2:CategoryLink template='__default__' m_cat_page='1'/>" class="sub-category"><inp2:Field name="Name" html_escape="1"/></a>
+                
+                		<inp2:m_ifnot check="m_Get" name="$level_var" equals_to="$max_levels">
+                			<inp2:InitList requery="1" per_page="50"/>
+                
+                			<inp2:m_if check="TotalRecords">
+                				<ul>
+                					<inp2:m_Inc param="$level_var" by="1"/>
+                					<inp2:PrintList render_as="sitemap_category_element" max_levels="$max_levels" more_link_render_as="more_link_elem"/>
+                				</ul>
+                			</inp2:m_if>
+                		</inp2:m_ifnot>
+                	</li>
+                </inp2:m_DefineElement>
+              
+				<ul>
+					<inp2:m_Set sitemap_level="0"/>
+					<inp2:c_PrintList types="menu" render_as="sitemap_category_element" max_levels="3" per_page="100" parent_cat_id="0"/>
+				</ul>				
+			</div>
+			<div class="round-bottom"></div>
+		</div>
+	</div>
+
+</inp2:m_DefineElement>
+<!--## /DEFINE MAIN CONTENT ELEMENT ##-->
+
+<!--## INCLUDE MAIN DESIGN TEMPLATE ##-->
+<inp2:m_include template="designs/default_design.des"/>
+<!--## /INCLUDE MAIN DESIGN TEMPLATE ##-->
\ No newline at end of file
Index: themes/simple/designs/.smsignore
===================================================================
--- themes/simple/designs/.smsignore	(revision 0)
+++ themes/simple/designs/.smsignore	(revision 0)
@@ -0,0 +1 @@
+.*\.tpl
\ No newline at end of file
Index: themes/simple/designs/default_design.des.tpl
===================================================================
--- themes/simple/designs/default_design.des.tpl	(revision 0)
+++ themes/simple/designs/default_design.des.tpl	(revision 0)
@@ -0,0 +1,99 @@
+<inp2:m_CheckSSL/>
+<inp2:m_Include template="elements/side_boxes.elm" strip_nl="1"/> <!--## includes system elements ##-->
+
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+
+<head>
+	<title>
+		<inp2:st_PageInfo type="title"/> (<inp2:m_GetConfig name="Site_Name"/>)
+	</title>
+
+
+	<inp2:m_Include template="elements/html_head.elm" />
+</head>
+
+<body>
+	<inp2:st_EditPage mode="start"/><!--## System tag please do not remove ##-->
+
+	<!-- Wrapper -->
+	<div id="wrapper">
+
+		<!-- Accessibility Navigation -->
+		<ol id="nav-accessibility">
+			<li><a href="#nav">Skip to navigation</a></li>
+			<li><a href="#content">Skip to content</a></li>
+		</ol>
+		<!-- /Accessibility Navigation -->
+
+		<!-- Masthead -->
+		<div id="masthead">
+
+			<!-- Branding -->
+			<h1 id="branding">
+				<a href="<inp2:m_Link t="index" />" title="<inp2:m_GetConfig name="Site_Name"/>"><inp2:m_GetConfig name="Site_Name"/></a>
+			</h1>
+			<!-- /Branding -->
+
+			<!-- Navigation -->
+			<inp2:m_include template="elements/navigation_menu.elm" />
+			<!-- /Navigation -->
+
+			<!-- Search -->
+			<inp2:m_include template="elements/search.elm" />
+			<!-- /Search -->
+
+		</div>
+		<!-- /Masthead -->
+
+		<!-- Breadcrumb -->
+		<inp2:m_Include template="elements/navigation_bar.elm" />
+		<!-- /Breadcrumb -->
+
+		<!-- Content Tools -->
+		<inp2:m_Include template="elements/content_tools.elm" />
+		<!-- /Content Tools -->
+
+		<!-- Content -->
+		<div id="content">
+
+			<div id="content-sec">
+
+				<div class="movable-area">
+					<inp2:m_RenderElement name="left_sidebar" default_element="default_left_sidebar" /> <!--## defined in each data template or default one used ##-->
+				</div>
+
+			</div>
+
+			<!-- Main Content -->
+			<div id="content-main">
+
+				<div class="movable-area">
+					<inp2:m_RenderElement name="content"/>
+				</div>
+
+			</div>
+			<!-- /Main Content -->
+
+			<div id="content-ter">
+
+				<div class="movable-area">
+					<inp2:m_Include template="elements/side_boxes/news.elm" />
+				</div>
+
+			</div>
+
+		</div><!-- /Content -->
+
+		<inp2:m_Include template="elements/footer.elm" />
+
+	</div><!-- /Wrapper -->
+
+	<inp2:st_EditPage mode="end"/> <!--## /System tag please do not remove ##-->
+
+	<inp2:m_Include template="elements/tracking.elm" />
+
+</body>
+</html>
\ No newline at end of file
Index: themes/simple/designs/default_design_inner.des.tpl
===================================================================
--- themes/simple/designs/default_design_inner.des.tpl	(revision 0)
+++ themes/simple/designs/default_design_inner.des.tpl	(revision 0)
@@ -0,0 +1,91 @@
+<inp2:m_CheckSSL/>
+<inp2:m_Include template="elements/side_boxes.elm" strip_nl="1"/> <!--## includes system elements ##-->
+
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+
+<head>
+	<title>
+		<inp2:st_PageInfo type="title"/> (<inp2:m_GetConfig name="Site_Name"/>)
+	</title>
+
+
+	<inp2:m_Include template="elements/html_head.elm" />
+</head>
+
+<body>
+	<inp2:st_EditPage mode="start"/><!--## System tag please do not remove ##-->
+
+	<!-- Wrapper -->
+	<div id="wrapper">
+
+		<!-- Accessibility Navigation -->
+		<ol id="nav-accessibility">
+			<li><a href="#nav">Skip to navigation</a></li>
+			<li><a href="#content">Skip to content</a></li>
+		</ol>
+		<!-- /Accessibility Navigation -->
+
+		<!-- Masthead -->
+		<div id="masthead">
+
+			<!-- Branding -->
+			<h1 id="branding">
+				<a href="<inp2:m_Link t="index" />" title="<inp2:m_GetConfig name="Site_Name"/>"><inp2:m_GetConfig name="Site_Name"/></a>
+			</h1>
+			<!-- /Branding -->
+
+			<!-- Navigation -->
+			<inp2:m_include template="elements/navigation_menu.elm" />
+			<!-- /Navigation -->
+
+			<!-- Search -->
+			<inp2:m_include template="elements/search.elm" />
+			<!-- /Search -->
+
+		</div>
+		<!-- /Masthead -->
+
+		<!-- Breadcrumb -->
+		<inp2:m_Include template="elements/navigation_bar.elm" />
+		<!-- /Breadcrumb -->
+
+		<!-- Content Tools -->
+		<inp2:m_Include template="elements/content_tools.elm" />
+		<!-- /Content Tools -->
+
+		<!-- Content -->
+		<div id="content">
+
+			<div id="content-sec">
+
+				<div class="movable-area">
+					<inp2:m_RenderElement name="left_sidebar" default_element="default_left_sidebar" /> <!--## defined in each data template or default one used ##-->
+				</div>
+
+			</div>
+
+			<!-- Main Content -->
+			<div id="content-main" class="inner">
+
+				<div class="movable-area">
+					<inp2:m_RenderElement name="content"/>
+				</div>
+
+			</div>
+			<!-- /Main Content -->
+
+		</div><!-- /Content -->
+
+		<inp2:m_Include template="elements/footer.elm" />
+
+	</div><!-- /Wrapper -->
+
+	<inp2:st_EditPage mode="end"/> <!--## /System tag please do not remove ##-->
+
+	<inp2:m_Include template="elements/tracking.elm" />
+
+</body>
+</html>
\ No newline at end of file
Index: themes/simple/designs/form.tpl
===================================================================
--- themes/simple/designs/form.tpl	(revision 0)
+++ themes/simple/designs/form.tpl	(revision 0)
@@ -0,0 +1,8 @@
+<!--##
+<NAME>Forms - Section Template</NAME>
+<DESC>Online Form</DESC>
+<SECTION>Platform</SECTION>
+##-->
+<inp2:m_include template="elements/dynamic_forms.elm"/>
+
+<inp2:m_include template="designs/default_design.des"/>
\ No newline at end of file
Index: themes/simple/designs/general.tpl
===================================================================
--- themes/simple/designs/general.tpl	(revision 0)
+++ themes/simple/designs/general.tpl	(revision 0)
@@ -0,0 +1,36 @@
+<!--##
+<NAME>General - Section Template</NAME>
+<DESC>General</DESC>
+<SECTION>Platform</SECTION>
+##-->
+
+<!--## DEFINE LEFT SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="left_sidebar">
+
+	<div class="movable-element">
+		<inp2:m_Include template="elements/side_boxes/sub_menu.elm"/>
+	</div>
+
+</inp2:m_DefineElement>
+<!--## /DEFINE LEFT SIDE-BAR ELEMENT ##-->
+
+<!--## DEFINE MAIN CONTENT ELEMENT ##-->
+<inp2:m_DefineElement name="content">
+
+	<div class="movable-element">
+		<div id="block-latest" class="block">
+			<div class="round-top"></div>
+			<div class="content">
+				<h1 class="movable-header"><inp2:st_PageInfo type="title"/></h1>
+				<inp2:st_ContentBlock num="1"/>
+			</div>
+			<div class="round-bottom"></div>
+		</div>
+	</div>
+
+</inp2:m_DefineElement>
+<!--## /DEFINE MAIN CONTENT ELEMENT ##-->
+
+<!--## INCLUDE MAIN DESIGN TEMPLATE ##-->
+<inp2:m_include template="designs/default_design_inner.des"/>
+<!--## /INCLUDE MAIN DESIGN TEMPLATE ##-->
\ No newline at end of file
Index: themes/simple/redirect.tpl
===================================================================
--- themes/simple/redirect.tpl	(revision 0)
+++ themes/simple/redirect.tpl	(revision 0)
@@ -0,0 +1,55 @@
+<!--##
+<NAME>Redirect</NAME>
+<DESC></DESC>
+<SECTION></SECTION>
+##-->
+
+<!--## DEFINE MAIN CONTENT ELEMENT ##-->
+<inp2:m_DefineElement name="content">
+
+	<div class="movable-element">
+
+			<script type="text/javascript">
+					function exec_refresh() {
+						window.status = 'Redirecting...' + myvar;
+						myvar = myvar + ' .';
+
+						var timerID = setTimeout('exec_refresh();', 100);
+
+						if (timeout > 0) {
+							// prints dots in status bar for timeout * 100 miliseconds (will be 2 seconds)
+							timeout -= 1;
+						}
+						else {
+							clearTimeout(timerID);
+							window.status = '';
+							window.location = '<inp2:m_Get name="redirect_to" js_escape="1"/>';
+						}
+					}
+
+					var myvar = '';
+					var timeout = 20;
+
+					exec_refresh();
+				</script>
+
+				<form action="<inp2:m_FormAction />" method="get">
+					<br />
+					<!-- lu_redirecting_text -->
+					<a href="<inp2:m_Get name='redirect_to'/>"><inp2:m_Phrase label="lu_text_Redirect" /></a><br />
+					<br />
+					<script type="text/javascript">
+						document.write('<input type="submit" class="button" value=" Proceed " accesskey="s" onclick="window.location=\'<inp2:m_Get name="redirect_to" js_escape="1"/>\'; return false" />');
+					</script>
+				</form>
+
+				<br /><br />
+
+	</div>
+
+</inp2:m_DefineElement>
+<!--## /DEFINE MAIN CONTENT ELEMENT ##-->
+
+<!--## INCLUDE MAIN DESIGN TEMPLATE ##-->
+<inp2:m_include template="designs/default_design.des"/>
+<!--## /INCLUDE MAIN DESIGN TEMPLATE ##-->
\ No newline at end of file
Index: themes/onlinestore/in-commerce/blocks/categories/manufacturers.tpl
===================================================================
--- themes/onlinestore/in-commerce/blocks/categories/manufacturers.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/blocks/categories/manufacturers.tpl	(revision 0)
@@ -0,0 +1,25 @@
+<inp2:manuf_InitList list_name="manufacturers_in_category" per_page="-1" recursive="true" />
+
+<table class="block">
+	<tr>
+		<td class="block-header"><inp2:m_Phrase label="lu_comm_Manufacturers"/></td>
+	</tr>
+	<tr>
+		<td class="block-data">
+			<ul class="block-data-ul">
+				<inp2:m_DefineElement name="manuf_elem">
+					<li>
+						<a href="<inp2:m_Link template="in-commerce/store/manufacturer_products" pass="all,manuf" />" class="link-product2"><strong><inp2:Field field="Name" /></strong></a>
+					</li>
+				</inp2:m_DefineElement>
+				
+				<inp2:manuf_ListManufacturers list_name="manufacturers_in_category" 
+					columns="1" direction="V" 
+					render_as="manuf_elem" 
+					row_start_render_as="html:" row_end_render_as="html:"
+					empty_cell_render_as="manuf_empty_cell" />
+			</ul>
+			<a href="<inp2:m_Link template="in-commerce/store/manufacturers" />"><inp2:m_Phrase label="lu_comm_MoreLink"/>...</a><br />
+		</td>
+	</tr>
+</table>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/blocks/categories/sub_categories.tpl
===================================================================
--- themes/onlinestore/in-commerce/blocks/categories/sub_categories.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/blocks/categories/sub_categories.tpl	(revision 0)
@@ -0,0 +1,33 @@
+<inp2:m_RequireLogin permissions="CATEGORY.VIEW" login_template="platform/login/login_register"/>
+
+<inp2:m_DefineElement name="more_link_elem">
+	<li><a href="<inp2:CategoryLink template="__default__" m_cat_page="1"/>"><inp2:m_Phrase label="lu_more_products"/>...</a></li>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="subcategory_elem">
+	<li><a href="<inp2:CategoryLink template="__default__" m_cat_page="1"/>"><inp2:field name="Name"/></a></li>
+</inp2:m_DefineElement>
+
+<table class="block">
+	<tr>
+		<td class="block-header"><inp2:m_Phrase label="lu_comm_SubCategories"/></td>
+	</tr>
+	<tr>
+		<td class="block-data-big">
+
+			<table>
+				<inp2:m_DefineElement name="category_elem">
+					<td style="width: <inp2:ColumnWidth/>">
+						<a href="<inp2:CategoryLink template="__default__" m_cat_page="1"/>" class="subcat"><inp2:field name="Name"/></a><br />
+						<ul class="block-data-big-ul">
+							<inp2:ListCategories requery="1" render_as="subcategory_elem" max_items="4" more_link_render_as="more_link_elem" row_start_render_as="html:" row_end_render_as="html:" empty_cell_render_as="html:"/>
+						</ul>
+					</td>
+				</inp2:m_DefineElement>
+
+				<inp2:c_ListCategories requery="1" render_as="category_elem" per_page="-1" columns="3"  page_var="m_cat_page" direction="H"/>
+			</table>
+
+		</td>
+	</tr>
+</table>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/blocks/categories/categories_home_alt.tpl
===================================================================
--- themes/onlinestore/in-commerce/blocks/categories/categories_home_alt.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/blocks/categories/categories_home_alt.tpl	(revision 0)
@@ -0,0 +1,45 @@
+<inp2:m_DefineElement name="more_link_elem">
+	<li><a href="<inp2:CategoryLink template="__default__" m_cat_page="1"/>"><inp2:m_Phrase label="lu_more_products"/>...</a></li>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="subcategory_elem">
+	<inp2:m_if check="IsCurrent">
+		<li><inp2:field name="Name"/></li>
+	<inp2:m_else/>
+		<li><a href="<inp2:CategoryLink template="__default__" m_cat_page="1"/>"><inp2:field name="Name"/></a></li>
+	</inp2:m_if>
+	<inp2:m_if check="IsActive">
+		<inp2:m_if check="SubCatCount">
+			<ul class="block-data-big-ul">
+				<inp2:ListCategories no_table="1" requery="1" per_page="-1" render_as="subcategory_elem" more_link_render_as="more_link_elem" max_items="4" row_start_render_as="html:" row_end_render_as="html:" empty_cell_render_as="html:"/>
+			</ul>
+		</inp2:m_if>
+	</inp2:m_if>
+</inp2:m_DefineElement>
+
+<table class="categories-block">
+	<tr>
+		<td class="categories-block-header"><inp2:m_Phrase label="lu_comm_Categories"/></td>
+	</tr>
+	<tr>
+		<td class="block-data-big">
+			<table>
+				<inp2:m_DefineElement name="category_elem">
+					<td style="width: <inp2:ColumnWidth/>">
+						<inp2:m_if check="IsCurrent">
+							<strong><inp2:field name="Name"/></strong>
+						<inp2:m_else/>
+							<a href="<inp2:CategoryLink template="__default__" m_cat_page="1"/>" class="subcat"><inp2:field name="Name"/></a><br />
+						</inp2:m_if>
+						<inp2:m_if check="IsActive">
+							<ul class="block-data-big-ul">
+							<inp2:ListCategories no_table="1" requery="1" render_as="subcategory_elem" per_page="-1" row_start_render_as="html:" row_end_render_as="html:" empty_cell_render_as="html:"/>
+							</ul>
+						</inp2:m_if>
+					</td>
+				</inp2:m_DefineElement>
+				<inp2:c_ListCategories render_as="category_elem" per_page="-1" columns="1" direction="H" parent_cat_id="Root" module="In-Commerce"/>
+			</table>
+		</td>
+	</tr>
+</table>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/blocks/categories/current_path.tpl
===================================================================
--- themes/onlinestore/in-commerce/blocks/categories/current_path.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/blocks/categories/current_path.tpl	(revision 0)
@@ -0,0 +1,33 @@
+<inp2:m_DefaultParam titles="" templates="" show_category="0"/>
+
+<inp2:m_DefineElement name="root_category">
+	<a class="link-nav-bar" href="<inp2:c_CategoryLink template="__default__" />"><inp2:m_RootCategoryName/></a>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="module_root">
+	<inp2:m_param name="separator"/>
+	<a class="link-nav-bar" href="<inp2:c_CategoryLink template="in-commerce/index" cat_id="0"/>"><inp2:m_param name="title"/></a>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="nav_link">
+	<inp2:m_param name="separator"/>
+	<inp2:m_if check="m_Param" name="category">
+		<a class="link-nav-bar" href="<inp2:c_CategoryLink template="__default__" />"><inp2:m_param name="title"/></a>
+	<inp2:m_else/>
+		<a class="link-nav-bar" href="<inp2:m_Link template="$template" m_cat_id="0"/>"><inp2:m_param name="title"/></a>
+	</inp2:m_if>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="module_item">
+	<inp2:m_param name="separator"/>
+	<a class="link-nav-bar" href="<inp2:{$prefix}_ItemLink template="$template" />"><inp2:m_param name="title"/></a>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="current_item">
+	<inp2:m_param name="separator"/>
+	<span> <inp2:m_param name="title"/></span>
+</inp2:m_DefineElement>
+
+<div class="nav-bar">
+	<inp2:c_CategoryPath separator="&gt;" render_as="nav_link" current_render_as="current_item" module_item_render_as="module_item" root_cat_render_as="root_category" titles="$titles" templates="$templates" show_category="$show_category" module_root_render_as="module_root"/>
+</div>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/blocks/categories/categories_home.tpl
===================================================================
--- themes/onlinestore/in-commerce/blocks/categories/categories_home.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/blocks/categories/categories_home.tpl	(revision 0)
@@ -0,0 +1,37 @@
+<inp2:m_DefineElement name="more_link_elem">
+	<li><a href="<inp2:CategoryLink template="__default__" m_cat_page="1"/>"><inp2:m_Phrase label="lu_more_products"/>...</a></li>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="subcategory_elem">
+	<inp2:m_if check="IsCurrent">
+		<li><inp2:field name="Name"/></li>
+	<inp2:m_else/>
+		<li><a href="<inp2:CategoryLink template="__default__" m_cat_page="1"/>"><inp2:field name="Name"/></a></li>
+	</inp2:m_if>
+</inp2:m_DefineElement>
+
+<table class="categories-block">
+	<tr>
+		<td class="categories-block-header"><inp2:m_Phrase label="lu_comm_Categories"/></td>
+	</tr>
+	<tr>
+		<td class="block-data-big">
+			<table>
+				<inp2:m_DefineElement name="category_elem">
+					<td style="width: <inp2:ColumnWidth/>">
+						<inp2:m_if check="IsCurrent">
+							<strong><inp2:field name="Name"/></strong>
+						<inp2:m_else/>
+							<a href="<inp2:CategoryLink template="__default__" m_cat_page="1"/>" class="subcat"><inp2:field name="Name"/></a><br />
+						</inp2:m_if>
+						<ul class="block-data-big-ul">
+						<inp2:ListCategories requery="1" render_as="subcategory_elem" more_link_render_as="more_link_elem" max_items="4" row_start_render_as="html:" row_end_render_as="html:" empty_cell_render_as="html:"/>
+
+						</ul>
+					</td>
+				</inp2:m_DefineElement>
+				<inp2:c_ListCategories render_as="category_elem" per_page="-1" columns="1" direction="H" parent_cat_id="Root" module="In-Commerce"/>
+			</table>
+		</td>
+	</tr>
+</table>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/blocks/categories/title_path.tpl
===================================================================
--- themes/onlinestore/in-commerce/blocks/categories/title_path.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/blocks/categories/title_path.tpl	(revision 0)
@@ -0,0 +1,15 @@
+<inp2:m_DefineElement name="root_category">
+	<inp2:c_RootCategoryName/>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="title_category">
+	<inp2:m_param name="cat_name"/>
+	<inp2:m_param name="separator"/>
+</inp2:m_DefineElement>
+
+
+<inp2:m_DefineElement name="current_title">
+	<inp2:m_param name="cat_name"/>
+</inp2:m_DefineElement>
+
+<inp2:c_CategoryPath separator="&gt;" render_as="title_category" current_render_as="current_title" module_root_render_as="title_category" root_cat_render_as="html:" />
Index: themes/onlinestore/in-commerce/blocks/orders/orders_recent.tpl
===================================================================
--- themes/onlinestore/in-commerce/blocks/orders/orders_recent.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/blocks/orders/orders_recent.tpl	(revision 0)
@@ -0,0 +1,58 @@
+
+<inp2:ord_InitList list_name="my_recentorders_list" types="myrecentorders" per_page="5" />
+
+<table  class="block-no-border">
+	<tr>
+		<td class="block-header">
+			<inp2:m_Phrase label="lu_comm_RecentOrders"/>
+		</td>
+	</tr>
+</table>
+
+<table class="main-table">
+
+	<inp2:m_DefineElement name="myorder_header">
+		<tr class="cart-header">
+			<td style="width: 30%"><inp2:m_Phrase label="lu_comm_OrderNumberText"/></td>
+			<td style="width: 30%"><inp2:m_Phrase label="lu_comm_Date"/></td>
+			<td style="text-align: center; width: 15%"><inp2:m_Phrase label="lu_comm_Amount"/></td>
+			<td style="text-align: center; width: 25%"><inp2:m_Phrase label="lu_comm_Status"/></td>
+		</tr>
+	</inp2:m_DefineElement>
+
+	<inp2:m_DefineElement name="myorder_item">
+		<tr class="cart-item">
+			<td ><a href="<inp2:m_Link template="in-commerce/my_account/orders_detail" pass="m,ord"/>"><inp2:Field field="OrderNumber"/></a>  <inp2:m_if check="FieldEquals" field="IsRecurringBilling" value="1"><strong>(<inp2:m_Phrase label="lu_Recurring"/>)</strong></inp2:m_if></td>
+			<td ><inp2:Field field="OrderDate" format="_regional_DateFormat"/></td>
+			<td style="text-align: right">
+				<strong><inp2:Field field="TotalAmount" currency="selected"/></strong>
+			</td>
+			<td style="text-align: center;"><inp2:Field field="Status"/></td>
+		</tr>
+	</inp2:m_DefineElement>
+
+	<inp2:m_DefineElement name="myorder_empty">
+		<tr class="block-data">
+			<td>
+				<strong><inp2:m_Phrase label="lu_comm_DontHaveOrders"/></strong>
+			</td>
+		</tr>
+	</inp2:m_DefineElement>
+
+	<inp2:ord_ListOrders list_name="my_recentorders_list" item_render_as="myorder_item" header_render_as="myorder_header" empty_myorders_render_as="myorder_empty" />
+
+</table>
+
+<inp2:m_DefineElement name="more_link">
+	<br />
+	<br />
+	<a href="<inp2:m_Link template="in-commerce/my_account/orders" />"><inp2:m_Phrase label="lu_comm_MoreOrders"/>...</a>
+	<br />
+	<br />
+</inp2:m_DefineElement>
+
+<inp2:ord_MoreLink list_name="my_recentorders_list" render_as="more_link" />
+
+
+
+
Index: themes/onlinestore/in-commerce/blocks/orders/orders_pagination.tpl
===================================================================
--- themes/onlinestore/in-commerce/blocks/orders/orders_pagination.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/blocks/orders/orders_pagination.tpl	(revision 0)
@@ -0,0 +1,40 @@
+<inp2:m_DefineElement name="prev_page">
+		<a class="pagination-bar" href="<inp2:PageLink/>">&lt;&lt;</a>&nbsp;
+	</td>
+	<td>
+</inp2:m_DefineElement >
+
+<inp2:m_DefineElement name="no_prev_page">
+	</td>
+	<td>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="page_current">
+	<strong><inp2:m_param name="page"/></strong>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="page_separator">
+	|
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="page_link">
+	<a class="pagination-bar" href="<inp2:PageLink/>"><inp2:m_param name="page"/></a>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="page_next">
+		<a class="pagination-bar" href="<inp2:PageLink/>">&gt;&gt;</a>
+</inp2:m_DefineElement>
+
+<table style="width: 100%; text-align: left;">
+	<tr>
+		<td style="width: 45%; text-align: right; ">
+			<strong><inp2:m_Phrase label="lu_comm_Page"/>:&nbsp;</strong>
+
+			<inp2:ord_PaginationBar
+					current_render_as="page_current" separator_render_as="page_separator" link_render_as="page_link"
+					prev_page_render_as="prev_page" no_prev_page_render_as="no_prev_page"
+					next_page_render_as="page_next" />
+		</td>
+		<td>&nbsp;</td>
+	</tr>
+</table>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/blocks/orders/orders_all.tpl
===================================================================
--- themes/onlinestore/in-commerce/blocks/orders/orders_all.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/blocks/orders/orders_all.tpl	(revision 0)
@@ -0,0 +1,50 @@
+<inp2:ord_InitList list_name="my_orders_list" types="myorders" per_page="10" />
+
+<table class="block-no-border">
+	<tr>
+		<td class="block-header">
+			<inp2:m_Phrase label="lu_comm_MyOrders"/>
+		</td>
+	</tr>
+</table>
+
+<table>
+	<tr>
+		<td style="text-align: center;">
+			<inp2:m_include template="in-commerce/blocks/orders/orders_pagination" list_name="my_orders_list" data_exists="1"/>
+		</td>
+	</tr>
+</table>
+<br />
+
+<table>
+	<inp2:m_DefineElement name="myorder_header">
+		<tr class="cart-header">
+			<td style="width: 30%"><inp2:m_Phrase label="lu_comm_OrderNumberText"/></td>
+			<td style="width: 30%"><inp2:m_Phrase label="lu_comm_Date"/></td>
+			<td style="text-align: center; width: 15%"><inp2:m_Phrase label="lu_comm_Amount"/></td>
+			<td style="text-align: center; width: 25%"><inp2:m_Phrase label="lu_comm_Status"/></td>
+		</tr>
+	</inp2:m_DefineElement>
+
+	<inp2:m_DefineElement name="myorder_item">
+		<tr class="cart-item">
+			<td ><a href="<inp2:m_Link template="in-commerce/my_account/orders_detail" pass="m,ord"/>"><inp2:Field field="OrderNumber"/></a> <inp2:m_if check="FieldEquals" field="IsRecurringBilling" value="1"><strong>(<inp2:m_Phrase label="lu_Recurring"/>)</strong></inp2:m_if></td>
+			<td ><inp2:Field field="OrderDate" format="_regional_DateFormat"/></td>
+			<td style="text-align: right">
+				<strong><inp2:Field field="TotalAmount" currency="selected"/></strong>
+			</td>
+			<td style="text-align: center;"><inp2:Field field="Status"/></td>
+		</tr>
+	</inp2:m_DefineElement>
+
+	<inp2:m_DefineElement name="myorder_empty">
+		<tr class="block-data">
+			<td>
+				<strong><inp2:m_Phrase label="lu_comm_DontHaveOrders"/></strong>
+			</td>
+		</tr>
+	</inp2:m_DefineElement>
+
+	<inp2:ord_ListOrders list_name="my_orders_list" item_render_as="myorder_item" header_render_as="myorder_header" empty_myorders_render_as="myorder_empty" />
+</table>
Index: themes/onlinestore/in-commerce/blocks/orders/order_details.tpl
===================================================================
--- themes/onlinestore/in-commerce/blocks/orders/order_details.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/blocks/orders/order_details.tpl	(revision 0)
@@ -0,0 +1,334 @@
+<inp2:m_DefineElement name="option_value_element">
+	<inp2:m_param name="value"/> <inp2:m_if check="m_ParamEquals" name="price" value=""><inp2:m_else/> (<inp2:m_param name="sign"/><inp2:m_param name="price"/> <inp2:m_param name="price_type"/>)</inp2:m_if>
+	<inp2:m_if check="m_ParamEquals" name="is_last" value="1"><inp2:m_else/>, </inp2:m_if>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="option_element">
+	<inp2:m_if check="m_ParamEquals" param="type" value="6"> <!-- checkboxes - multiple -->
+		<strong><inp2:m_param name="option"/>:</strong>
+			<inp2:PrintOptionValues render_as="option_value_element"/>
+	<inp2:m_else/>
+			<strong><inp2:m_param name="option"/>:</strong> <inp2:m_param name="value"/>
+				<inp2:m_if check="m_ParamEquals" name="price" value=""><inp2:m_else/> (<inp2:m_param name="sign"/><inp2:m_param name="price"/> <inp2:m_param name="price_type"/>)</inp2:m_if>
+	</inp2:m_if><br/>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="option_value_element_no_price">
+	<inp2:m_param name="value"/>
+	<inp2:m_if check="m_ParamEquals" name="is_last" value="1"><inp2:m_else/>, </inp2:m_if>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="option_element_no_price">
+	<inp2:m_if check="m_ParamEquals" param="type" value="6"> <!-- checkboxes - multiple -->
+		<strong><inp2:m_param name="option"/>:</strong>
+			<inp2:PrintOptionValues render_as="option_value_element_no_price"/>
+	<inp2:m_else/>
+			<strong><inp2:m_param name="option"/>:</strong> <inp2:m_param name="value"/>
+	</inp2:m_if><br/>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="product_image">
+	<img src="<inp2:m_param name="img_path" />" title="<inp2:m_param name="alt" />" alt="<inp2:m_param name="alt" />" <inp2:m_param name="img_size" /> border="0" /><br/>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="orderitem_elem">
+	<tr class="cart-item">
+		<inp2:m_if check="m_GetConfig" name="ShowProductImagesInOrders">
+			<td width="120">
+				<inp2:p_Image render_as="product_image" thumbnail="1" DefaultImage="in-commerce/img/no_picture_list.gif" MaxWidth="120" MaxHeight="120" DefaultWidth="120" />
+			</td>
+		</inp2:m_if>
+
+		<td>
+			<inp2:m_if check="ProductExists">
+				<a href="<inp2:ProductLink template="__default__" />"><inp2:Field field="ProductName"/></a>
+			<inp2:m_else/>
+				<inp2:Field field="ProductName"/>
+			</inp2:m_if>
+			<inp2:m_if check="HasOptions">
+				<br/>
+				<span style="font-size: 8pt">
+				<inp2:m_if check="DisplayOptionsPricing"> <!-- selectable options or overriding combination -->
+					<inp2:PrintOptions render_as="option_element" currency="selected"/>
+				<inp2:m_else/> <!-- listed combinations -->
+					<inp2:PrintOptions render_as="option_element_no_price"/>
+				</inp2:m_if>
+				</span>
+				<br/>
+			</inp2:m_if>
+			<inp2:m_if check="HasDiscount">
+				<br />
+				<inp2:m_Phrase label="lu_comm_RegularPrice" />: <inp2:Field name="FlatPrice" currency="selected"/><br />
+				<inp2:m_Phrase label="lu_comm_Discount" />: <span class="price1">- <inp2:Field name="ItemDiscount" currency="selected" negative="1"/></span>
+			</inp2:m_if>
+		</td>
+		<td><strong><inp2:Field field="Price" currency="selected"/></strong></td>
+		<td><inp2:Field field="Quantity"/></td>
+		<td><strong><inp2:Field field="ExtendedPrice" currency="selected"/></strong></td>
+	</tr>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="order_form_shipping">
+	<!-- shipping -->
+	<table width="100%" cellpadding="0" cellspacing="0">
+		<tr class="cart-header">
+			<td colspan="2"><inp2:m_Phrase label="lu_comm_ShipmentInfo"/></td>
+		</tr>
+		<tr class="block-data2">
+			<td><strong><inp2:m_Phrase label="lu_Name"/></strong>:</td>
+			<td style="text-align: right;"><inp2:Field field="ShippingTo"/></td>
+		</tr>
+		<inp2:m_if check="Field" name="ShippingCompany">
+		<tr class="block-data2">
+			<td><strong><inp2:m_Phrase label="lu_comm_Company"/></strong>:</td>
+			<td style="text-align: right;"><inp2:Field field="ShippingCompany"/></td>
+		</tr>
+		</inp2:m_if>
+		<inp2:m_if check="Field" name="ShippingEmail">
+		<tr class="block-data2">
+			<td><strong><inp2:m_Phrase label="lu_comm_EmailAddress"/></strong>:</td>
+			<td style="text-align: right;"><inp2:Field field="ShippingEmail"/></td>
+		</tr>
+		</inp2:m_if>
+		<tr class="block-data2">
+			<td><strong><inp2:m_Phrase label="lu_comm_PhoneNumber"/></strong>:</td>
+			<td style="text-align: right;"><inp2:Field field="ShippingPhone"/></td>
+		</tr>
+		<tr class="block-data2">
+			<td><strong><inp2:m_Phrase label="lu_comm_FaxNumber"/></strong>:</td>
+			<td style="text-align: right;"><inp2:Field field="ShippingFax"/></td>
+		</tr>
+		<tr class="block-data2">
+			<td style="vertical-align: top;"><strong><inp2:m_Phrase label="lu_comm_Address"/></strong>:</td>
+			<td style="text-align: right;">
+				<inp2:m_if check="FieldEquals" field="ShippingAddress1" value="" inverse="inverse">
+					<inp2:Field field="ShippingAddress1"/><br>
+				</inp2:m_if>
+
+				<inp2:m_if check="FieldEquals" field="ShippingAddress2" value="" inverse="inverse">
+					<inp2:Field field="ShippingAddress2"/><br>
+				</inp2:m_if>
+				<inp2:PrintLocation type="Shipping"/>
+			</td>
+		</tr>
+		<inp2:m_if check="Field" name="ShippingTracking">
+		<tr class="block-data2">
+			<td><strong><inp2:m_Phrase label="lu_comm_ShippingTracking"/></strong>:</td>
+			<td style="text-align: right;"><inp2:Field field="ShippingTracking"/></td>
+		</tr>
+		</inp2:m_if>
+	</table>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="order_form_billing">
+	<!-- billing -->
+	<table width="100%" cellpadding="0" cellspacing="0">
+		<tr class="cart-header">
+			<td colspan="2"><inp2:m_Phrase label="lu_comm_BillingInfo"/></td>
+		</tr>
+		<tr class="block-data2">
+			<td><strong><inp2:m_Phrase label="lu_Name"/></strong>:</td>
+			<td style="text-align: right;"><inp2:Field field="BillingTo"/></td>
+		</tr>
+		<inp2:m_if check="Field" name="BillingCompany">
+		<tr class="block-data2">
+			<td><strong><inp2:m_Phrase label="lu_comm_Company"/></strong>:</td>
+			<td style="text-align: right;"><inp2:Field field="BillingCompany"/></td>
+		</tr>
+		</inp2:m_if>
+		<inp2:m_if check="Field" name="BillingEmail">
+		<tr class="block-data2">
+			<td><strong><inp2:m_Phrase label="lu_comm_EmailAddress"/></strong>:</td>
+			<td style="text-align: right;"><inp2:Field field="BillingEmail"/></td>
+		</tr>
+		</inp2:m_if>
+		<tr class="block-data2">
+			<td><strong><inp2:m_Phrase label="lu_comm_PhoneNumber"/></strong>:</td>
+			<td style="text-align: right;"><inp2:Field field="BillingPhone"/></td>
+		</tr>
+		<tr class="block-data2">
+			<td><strong><inp2:m_Phrase label="lu_comm_FaxNumber"/></strong>:</td>
+			<td style="text-align: right;"><inp2:Field field="BillingFax"/></td>
+		</tr>
+		<tr class="block-data2">
+			<td style="vertical-align: top;"><strong><inp2:m_Phrase label="lu_comm_Address"/></strong>:</td>
+			<td style="text-align: right;">
+				<inp2:m_if check="FieldEquals" field="BillingAddress1" value="" inverse="inverse">
+					<inp2:Field field="BillingAddress1"/><br>
+				</inp2:m_if>
+
+				<inp2:m_if check="FieldEquals" field="BillingAddress2" value="" inverse="inverse">
+					<inp2:Field field="BillingAddress2"/><br>
+				</inp2:m_if>
+				<inp2:PrintLocation type="Billing"/>
+			</td>
+		</tr>
+
+		<tr class="block-data2">
+			<td><strong><inp2:m_Phrase label="lu_comm_PaymentType"/>:</strong></td>
+			<td style="text-align: right;"><inp2:Field name="PaymentType" /></td>
+		</tr>
+
+		<inp2:m_if check="UsingCreditCard">
+			<tr class="block-data2">
+				<td><strong><inp2:m_Phrase label="lu_comm_NameOnCard"/>:</strong></td>
+				<td style="text-align: right;"><inp2:Field name="PaymentNameOnCard"/></td>
+			</tr>
+			<tr class="block-data2">
+				<td><strong><inp2:m_Phrase label="lu_comm_CardType"/>:</strong></td>
+				<td style="text-align: right;"><inp2:Field name="PaymentCardType" /></td>
+			</tr>
+			<tr class="block-data2">
+				<td style="vertical-align: top;"><strong><inp2:m_Phrase label="lu_comm_CardNumber"/>:</strong></td>
+				<td style="text-align: right;"><inp2:Field name="PaymentAccount" masked="masked"/></td>
+			</tr>
+			<tr class="block-data2">
+				<td style="vertical-align: top;"><strong><inp2:m_Phrase label="lu_comm_Exp"/>:</strong></td>
+				<td style="text-align: right;"><inp2:Field name="PaymentCCExpDate"/></td>
+			</tr>
+		</inp2:m_if>
+	</table>
+</inp2:m_DefineElement>
+
+<form method="post" action="<inp2:m_FormAction/>">
+	<inp2:m_DefineElement name="order_form">
+		<table class="block-no-border">
+			<tr>
+				<td class="block-header">
+					<inp2:m_Phrase label="lu_comm_OrderPreview"/>
+				</td>
+			</tr>
+		</table>
+
+		<table>
+			<tr>
+				<td class="block-data">
+					<strong><inp2:m_Phrase label="lu_comm_OrderNumber"/><inp2:Field field="OrderNumber"/></strong>
+				</td>
+			</tr>
+		</table>
+		<inp2:m_if check="FieldEquals" field="IsRecurringBilling" value="1">
+			<table class="notice">
+				<tr>
+					<td valign="top" align="left" class="block-data">
+						<strong><inp2:m_Phrase label="lu_recurring_notice"/></strong> <inp2:m_Phrase label="lu_recurring_next_charge"/> <inp2:Field name="NextCharge" format="_regional_DateFormat"/> <inp2:m_Phrase label="lu_or"/> <inp2:m_GetConfig var="Comm_RecurringChargeInverval"/> <inp2:m_Phrase label="lu_recurring_charge_advance"/><br>
+						<a href="<inp2:m_link template="in-commerce/my_account/cancel_recurring" pass="ord"/>"><inp2:m_Phrase label="lu_recurring_cancel"/></a>
+					</td>
+				</tr>
+			</table>
+		</inp2:m_if>
+
+
+		<inp2:m_if check="OrderHasTangibleItems">
+			<table class="block-no-border">
+				<tr>
+					<td width="49%">
+						<inp2:m_RenderElement name="order_form_shipping" PrefixSpecial="ord"/>
+					</td>
+					<td>&nbsp;</td>
+					<td width="49%">
+						<inp2:m_RenderElement name="order_form_billing" PrefixSpecial="ord"/>
+					</td>
+				</tr>
+			</table>
+		<inp2:m_else />
+			<table class="block-no-border">
+				<tr>
+					<td>
+						<inp2:m_RenderElement name="order_form_billing" PrefixSpecial="ord"/>
+					</td>
+				</tr>
+			</table>
+		</inp2:m_if>
+
+		<table>
+			<tr class="cart-header">
+				<inp2:m_if check="m_GetConfig" name="ShowProductImagesInOrders">
+					<td colspan="2"><inp2:m_Phrase label="lu_comm_ProductDescription"/></td>
+				<inp2:m_else/>
+					<td><inp2:m_Phrase label="lu_comm_ProductDescription"/></td>
+				</inp2:m_if>
+
+				<td><inp2:m_Phrase label="lu_comm_Price"/></td>
+
+				<td><inp2:m_Phrase label="lu_comm_Qty"/>.</td>
+				<td><inp2:m_Phrase label="lu_comm_Total"/></td>
+			</tr>
+
+			<inp2:ord_ListOrderItems render_as="orderitem_elem"/>
+
+			<tr class="cart-subtotal">
+				<td>
+					<inp2:m_if check="ord_HasDiscount">
+						<inp2:m_Phrase label="lu_comm_TotalSavings" />: <span class="price1"><inp2:ord_Field name="DiscountTotal" currency="selected" /></span><br />
+					</inp2:m_if>&nbsp;
+				</td>
+				<td style="text-align: right;" colspan="<inp2:m_if check="m_GetConfig" name="ShowProductImagesInOrders">5<inp2:m_else/>4</inp2:m_if>">
+					<strong><inp2:m_Phrase label="lu_comm_SubTotal"/>: <span class="price1"><inp2:Field field="SubTotal" currency="selected"/></span></strong>
+
+				</td>
+			</tr>
+		</table>
+
+		<table>
+			<tr class="cart-header">
+			    <td>
+					<inp2:m_Phrase label="lu_comm_OrderTotal"/>
+				</td>
+			</tr>
+		</table>
+
+		<table class="block-no-border">
+			<inp2:m_DefineElement name="shipping_total">
+				<tr class="block-data2">
+					<td style="text-align: right;"><inp2:m_Phrase label="lu_comm_ShippingCost"/> (<inp2:ord_ShippingType />):</td>
+					<td style="text-align: right;"><inp2:ord_Field name="ShippingCost" currency="selected"/></td>
+				</tr>
+			</inp2:m_DefineElement>
+
+			<inp2:m_DefineElement name="processing_total">
+				<tr class="block-data2">
+					<td style="text-align: right;"><inp2:m_Phrase label="lu_comm_ProcessingFee"/>: </td>
+					<td style="text-align: right;"><inp2:ord_Field name="ProcessingFee" currency="selected"/></td>
+				</tr>
+			</inp2:m_DefineElement>
+
+			<inp2:m_DefineElement name="sub_total">
+				<tr class="block-data2">
+					<td style="text-align: right;"><inp2:m_Phrase label="lu_comm_SubTotal"/>: </td>
+					<td style="text-align: right;"><inp2:ord_Field name="AmountWithoutVAT" currency="selected"/></td>
+				</tr>
+			</inp2:m_DefineElement>
+
+			<inp2:m_DefineElement name="vat_total">
+				<tr class="block-data2">
+					<td style="text-align: right;"><inp2:m_Phrase label="lu_comm_VAT"/> <inp2:ord_Field name="VATPercent"/>%: </td>
+					<td style="text-align: right;"><inp2:ord_Field name="VAT" currency="selected"/></td>
+				</tr>
+			</inp2:m_DefineElement>
+
+			<inp2:m_DefineElement name="return_total">
+				<tr class="block-data2">
+					<td style="text-align: right;"><inp2:m_Phrase label="lu_fld_ReturnTotal"/>: </td>
+					<td style="text-align: right;"><inp2:ord_Field name="ReturnTotal" currency="selected"/></td>
+				</tr>
+			</inp2:m_DefineElement>
+
+			<inp2:ord_PrintTotals
+				shipping_render_as="shipping_total"
+				processing_render_as="processing_total"
+				sub_total_render_as="sub_total"
+				vat_render_as="vat_total"
+				return_render_as="return_total"/>
+
+			<tr class="block-data2">
+			    <td class="price3" style="text-align: right;"><strong><inp2:m_Phrase label="lu_comm_GrandTotal"/>:</strong></td>
+				<td class="price3" style="text-align: right;"><span class="price1"><inp2:Field name="TotalAmount" currency="selected"/></span></td>
+			</tr>
+		</table>
+
+		<br />
+	</inp2:m_DefineElement>
+
+	<inp2:ord_ShowOrder render_as="order_form" />
+</form>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/blocks/my_account/address_pagination.tpl
===================================================================
--- themes/onlinestore/in-commerce/blocks/my_account/address_pagination.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/blocks/my_account/address_pagination.tpl	(revision 0)
@@ -0,0 +1,40 @@
+<inp2:m_DefineElement name="prev_page">
+		<a class="pagination-bar" href="<inp2:PageLink/>">&lt;&lt;</a>&nbsp;
+	</td>
+	<td>
+</inp2:m_DefineElement >
+
+<inp2:m_DefineElement name="no_prev_page">
+	</td>
+	<td>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="page_current">
+	<strong><inp2:m_param name="page"/></strong>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="page_separator">
+	|
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="page_link">
+	<a class="pagination-bar" href="<inp2:PageLink/>"><inp2:m_param name="page"/></a>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="page_next">
+		<a class="pagination-bar" href="<inp2:PageLink/>">&gt;&gt;</a>
+</inp2:m_DefineElement>
+
+<table style="width: 100%; text-align: left;">
+	<tr>
+		<td style="width: 45%; text-align: right; ">
+			<strong><inp2:m_Phrase label="lu_comm_Page"/>:&nbsp;</strong>
+
+			<inp2:addr_PaginationBar
+					current_render_as="page_current" separator_render_as="page_separator" link_render_as="page_link"
+					prev_page_render_as="prev_page" no_prev_page_render_as="no_prev_page"
+					next_page_render_as="page_next" />
+		</td>
+		<td>&nbsp;</td>
+	</tr>
+</table>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/blocks/my_account/myaccount_navigation.tpl
===================================================================
--- themes/onlinestore/in-commerce/blocks/my_account/myaccount_navigation.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/blocks/my_account/myaccount_navigation.tpl	(revision 0)
@@ -0,0 +1,52 @@
+<table class="block">
+	<tr>
+		<td class="block-header"><inp2:m_Phrase label="lu_YourAccount"/></td>
+	</tr>
+	<tr>
+		<td class="block-data-big">
+			<ul class="list-no-squares">
+				<inp2:m_if check="m_IsActive" template="in-commerce/my_account/profile">
+					<li><strong><inp2:m_phrase label="lu_comm_PersonalInfo" /></strong></li>
+				<inp2:m_else />
+					<li><a href="<inp2:m_Link template="in-commerce/my_account/profile" m_cat_id="0"/>"><inp2:m_phrase label="lu_comm_PersonalInfo" /></a></li>
+				</inp2:m_if>
+
+				<inp2:m_if check="m_IsActive" template="in-commerce/my_account/address">
+					<li><strong><inp2:m_phrase label="lu_comm_AddressList" /></strong></li>
+				<inp2:m_else />
+					<li><a href="<inp2:m_Link template="in-commerce/my_account/address" m_cat_id="0"/>"><inp2:m_phrase label="lu_comm_AddressList" /></a></li>
+				</inp2:m_if>
+
+				<inp2:m_if check="m_IsActive" template="in-commerce/my_account/wishlist">
+					<li><strong><inp2:m_phrase label="lu_comm_WishList" /></strong></li>
+				<inp2:m_else />
+					<li><a href="<inp2:m_Link template="in-commerce/my_account/wishlist" m_cat_id="0"/>"><inp2:m_phrase label="lu_comm_WishList" /></a></li>
+				</inp2:m_if>
+
+				<inp2:m_if check="m_IsActive" template="in-commerce/my_account/orders">
+					<li><a href="<inp2:m_Link template="in-commerce/my_account/orders" m_cat_id="0"/>"><strong><inp2:m_phrase label="lu_comm_Orders" /></strong></a></li>
+				<inp2:m_else />
+					<li><a href="<inp2:m_Link template="in-commerce/my_account/orders" m_cat_id="0"/>"><inp2:m_phrase label="lu_comm_Orders" /></a></li>
+				</inp2:m_if>
+
+				<inp2:m_if check="m_IsActive" template="in-commerce/my_account/downloads">
+					<li><a href="<inp2:m_Link template="in-commerce/my_account/downloads" m_cat_id="0"/>"><strong><inp2:m_phrase label="lu_comm_Downloads" /></strong></a></li>
+				<inp2:m_else />
+					<li><a href="<inp2:m_Link template="in-commerce/my_account/downloads" m_cat_id="0"/>"><inp2:m_phrase label="lu_comm_Downloads" /></a></li>
+				</inp2:m_if>
+
+				<inp2:m_if check="u_IsAffiliateOrRegisterAsAffiliateAllowed">
+					<inp2:m_if check="m_IsActive" template="in-commerce/my_account/affiliate">
+						<li><a href="<inp2:m_Link template="in-commerce/my_account/affiliate" m_cat_id="0"/>"><strong><inp2:m_phrase label="lu_comm_Affiliate" /></strong></a></li>
+					<inp2:m_else />
+						<li><a href="<inp2:m_Link template="in-commerce/my_account/affiliate" m_cat_id="0"/>"><inp2:m_phrase label="lu_comm_Affiliate" /></a></li>
+					</inp2:m_if>
+				</inp2:m_if>
+
+				<inp2:m_if check="m_LoggedIn">
+					<li><a href="<inp2:u_LogoutLink />"><inp2:m_phrase label="lu_Logout" /></a></li>
+				</inp2:m_if>
+			</ul>
+		</td>
+	</tr>
+</table>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/blocks/my_account/affiliate_visitors_pagination.tpl
===================================================================
--- themes/onlinestore/in-commerce/blocks/my_account/affiliate_visitors_pagination.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/blocks/my_account/affiliate_visitors_pagination.tpl	(revision 0)
@@ -0,0 +1,40 @@
+<inp2:m_DefineElement name="prev_page">
+		<a class="pagination-bar" href="<inp2:PageLink/>">&lt;&lt;</a>&nbsp;
+	</td>
+	<td>
+</inp2:m_DefineElement >
+
+<inp2:m_DefineElement name="no_prev_page">
+	</td>
+	<td>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="page_current">
+	<strong><inp2:m_param name="page"/></strong>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="page_separator">
+	|
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="page_link">
+	<a class="pagination-bar" href="<inp2:PageLink/>"><inp2:m_param name="page"/></a>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="page_next">
+		<a class="pagination-bar" href="<inp2:PageLink/>">&gt;&gt;</a>
+</inp2:m_DefineElement>
+
+<table style="width: 100%; text-align: left;">
+	<tr>
+		<td style="width: 45%; text-align: right; ">
+			<strong><inp2:m_Phrase label="lu_comm_Page"/>:&nbsp;</strong>
+
+			<inp2:visits_PaginationBar
+					current_render_as="page_current" separator_render_as="page_separator" link_render_as="page_link"
+					prev_page_render_as="prev_page" no_prev_page_render_as="no_prev_page"
+					next_page_render_as="page_next" />
+		</td>
+		<td>&nbsp;</td>
+	</tr>
+</table>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/blocks/my_account/affiliate_thankyou.tpl
===================================================================
--- themes/onlinestore/in-commerce/blocks/my_account/affiliate_thankyou.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/blocks/my_account/affiliate_thankyou.tpl	(revision 0)
@@ -0,0 +1,8 @@
+<table class="block-no-border">
+	<tr> 
+		<td class="block-header"><inp2:m_Phrase label="lu_comm_AffiliateRegistration"/></td> 
+	</tr>
+	<tr> 
+		<td class="block-data"><inp2:m_Phrase label="lu_comm_ThankYouForBecomingAffiliate"/></td> 
+	</tr>
+</table>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/blocks/my_account/my_downloads.tpl
===================================================================
--- themes/onlinestore/in-commerce/blocks/my_account/my_downloads.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/blocks/my_account/my_downloads.tpl	(revision 0)
@@ -0,0 +1,74 @@
+<inp2:m_DefineElement name="product_image">
+	<img src="<inp2:m_param name="img_path" />" title="<inp2:m_param name="alt" />" alt="<inp2:m_param name="alt" />" <inp2:m_param name="img_size" /> border="0" /><br/>
+</inp2:m_DefineElement>
+
+<inp2:p_InitList list_name="my_downloads" types="my_downloads" parent_cat_id="any" recursive="true" per_page="default" />
+
+<table border="0" cellspacing="0" cellpadding="0" class="block-no-border">
+	<tr>
+		<td class="block-header"><inp2:m_Phrase label="lu_comm_YourDownloads"/> (<inp2:p_TotalRecords list_name="my_downloads" />)</td>
+	</tr>
+	<tr>
+		<td class="block-data">
+			<inp2:m_if check="p_TotalRecords" list_name="my_downloads">				
+				<table>
+					<tr>
+						<td style="width: 300px">
+							<inp2:m_include template="in-commerce/blocks/products/products_sorting" list_name="my_downloads" />
+						</td>
+						<td style="text-align: center;">
+							<inp2:m_include template="in-commerce/blocks/products/products_pagination" list_name="my_downloads" />
+						</td>
+					</tr>
+				</table>
+				<br />
+
+
+				<table>
+					<inp2:m_DefineElement name="product_row_start">
+						<tr>
+					</inp2:m_DefineElement>
+	
+					<inp2:m_DefineElement name="product_elem">
+						<td width="16%" align="center" valign="top" class="block-data">
+							<a href="<inp2:ProductLink template="__default__"/>"><inp2:Image render_as="product_image" thumbnail="1" DefaultImage="in-commerce/img/no_picture_list.gif" MaxWidth="120" MaxHeight="120" DefaultWidth="120" /></a>
+						</td>
+						<td width="84%" class="block-data">
+							<inp2:m_if check="p_HasFiles">
+								<a href="<inp2:ProductLink template="in-commerce/my_account/downloads_more"/>" class="link-product2"><strong><inp2:Field name="Name" /></strong></a><br />
+							<inp2:m_else />
+								<strong><inp2:Field name="Name" /></strong><br />
+							</inp2:m_if>
+							<strong><inp2:m_Phrase label="lu_comm_Description"/>:</strong> <inp2:Field name="DescriptionExcerpt" /><br /><br />
+							<inp2:m_if check="p_HasFiles">
+								<a href="<inp2:ProductFileLink template="in-commerce/my_account/download"/>" class="link-product2"><strong><inp2:m_Phrase label="lu_comm_DownloadNow" /></strong></a><br />
+								<a href="<inp2:ProductLink template="in-commerce/my_account/downloads_more"/>" class="link-product2"><strong><inp2:m_Phrase label="lu_comm_MoreFiles" />...</strong></a><br />
+							<inp2:m_else />
+								<inp2:m_Phrase label="lu_comm_NoFilesForThisProduct" />
+							</inp2:m_if>
+						</td>
+					</inp2:m_DefineElement>
+	
+				 	<inp2:m_DefineElement name="product_row_end">
+						</tr>
+						<inp2:m_if check="NotLastItem">
+							<tr>
+								<td colspan="2" style="background: #CCCCCC; height: 1px; padding: 0px"><img src="img/s.gif" alt="" width="1" height="1" /></td>
+							</tr>
+						</inp2:m_if>
+					</inp2:m_DefineElement>
+					<inp2:p_ListProducts list_name="my_downloads" columns="1" direction="V" render_as="product_elem" row_start_render_as="product_row_start" row_end_render_as="product_row_end" empty_cell_render_as="product_empty_cell" />
+				</table>
+			<inp2:m_else />
+				<tr>
+					<td>	
+						<inp2:m_Phrase label="lu_comm_YourDownloadListEmpty"/><br />
+						<inp2:m_Phrase label="lu_comm_TryRecommendedProducts"/>.
+						<br /><br />
+						<inp2:m_include template="in-commerce/blocks/products/products_picks" />
+					</td>
+				</tr>
+			</inp2:m_if>
+		</td>
+	</tr>
+</table>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/blocks/my_account/affiliate_payment_type.tpl
===================================================================
--- themes/onlinestore/in-commerce/blocks/my_account/affiliate_payment_type.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/blocks/my_account/affiliate_payment_type.tpl	(revision 0)
@@ -0,0 +1,71 @@
+<form method="POST" enctype="multipart/form-data" action="<inp2:m_FormAction />">
+	<table class="block-no-border">
+		<tr>
+			<td class="block-header" colspan="3"><inp2:m_Phrase label="lu_comm_AffiliatePaymentType"/></td>
+		</tr>
+
+		<tr>
+			<td class="block-data">
+				<strong><inp2:m_Phrase label="lu_comm_CurrentAffiliatePaymentType" />:</strong>
+			</td>
+			<td class="block-data" colspan="2">
+				<inp2:u_AffiliateField name="PaymentTypeId" />
+			</td>
+		</tr>
+
+		<tr>
+			<td class="block-data" colspan="3">
+				<inp2:m_Phrase label="lu_comm_ChangeAffiliatePaymentTypeDescription"/>
+			</td>
+		</tr>
+
+		<inp2:m_DefineElement name="affiliate_payment_type_elem">
+			<tr>
+				<td style="padding: 3px">
+					<input type="radio" name="PaymentTypeId" id="PaymentTypeId_<inp2:Field name="PaymentTypeId" />" value="<inp2:Field name="PaymentTypeId" />" <inp2:m_if check="u_AffiliatePaymentTypeChecked">checked</inp2:m_if> />
+				</td>
+				<td style="padding: 3px">
+					<label for="PaymentTypeId_<inp2:Field name="PaymentTypeId" />"><inp2:Field name="Name" /></label>
+				</td>
+			</tr>
+			<inp2:m_if check="Field" name="Description">
+				<tr>
+					<td style="padding: 3px">&nbsp;</td>
+					<td style="padding: 3px"><inp2:Field name="Description" />&nbsp;</td>
+				</tr>
+			</inp2:m_if>
+		</inp2:m_DefineElement>
+
+		<tr>
+			<td style="vertical-align: top;" class="block-data">
+				<strong><inp2:m_phrase label="lu_comm_ChooseAffiliatePaymentType"/>:</strong>
+			</td>
+			<td class="block-data" style="padding-bottom: 0px">
+				<table class="block-no-border">
+					<inp2:u_ListAffiliatesPaymentTypes render_as="affiliate_payment_type_elem" />
+					<tr><td colspan="2" style="padding: 0px">&nbsp;</td></tr>
+				</table>
+			</td>
+			<td class="error">&nbsp;</td>
+		</tr>
+
+		<tr>
+			<td class="block-data">
+				<strong><inp2:m_phrase label="lu_comm_Comments"/>:</strong>
+			</td>
+			<td class="block-data">
+				<textarea name="Comments" id="Comments" cols="35" rows="5"><inp2:u_AffiliateField name="Comments" /></textarea>
+			</td>
+			<td class="error">&nbsp;</td>
+		</tr>
+
+		<tr>
+			<td class="block-data" colspan="2" style="padding-top: 0px">
+				<input type="hidden" name="next_template" value="in-commerce/my_account/affiliate_payment_type_changed" />
+				<input type="submit" class="button" name="events[affil][OnChangePaymentType]" id="events[affil][OnChangePaymentType]" value="<inp2:m_Phrase label="lu_comm_ChangePaymentType" no_editing="1"/>" />
+			</td>
+			<td class="error">&nbsp;</td>
+		</tr>
+
+	</table>
+</form>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/blocks/my_account/affiliate_payment_type_changed.tpl
===================================================================
--- themes/onlinestore/in-commerce/blocks/my_account/affiliate_payment_type_changed.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/blocks/my_account/affiliate_payment_type_changed.tpl	(revision 0)
@@ -0,0 +1,8 @@
+<table class="block-no-border">
+	<tr> 
+		<td class="block-header"><inp2:m_Phrase label="lu_comm_AffiliatePaymentType"/></td> 
+	</tr>
+	<tr> 
+		<td class="block-data"><inp2:m_Phrase label="lu_comm_AffiliatePaymentTypeChangedMessage"/></td> 
+	</tr>
+</table>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/blocks/my_account/my_profile.tpl
===================================================================
--- themes/onlinestore/in-commerce/blocks/my_account/my_profile.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/blocks/my_account/my_profile.tpl	(revision 0)
@@ -0,0 +1,194 @@
+<inp2:m_DefineElement name="destination">
+	<option value="<inp2:m_param name="key"/>"<inp2:m_param name="selected"/>><inp2:m_param name="option"/></option>
+</inp2:m_DefineElement>
+
+<form method="post" action="<inp2:m_FormAction />">
+
+<table class="block-no-border"> 
+	<tr> 
+		<td class="block-header" colspan="2">
+			<inp2:m_Phrase label="lu_comm_PersonalInfo"/>
+			
+		</td> 
+	</tr> 
+	<tr>
+		<td class="block-data">
+			<inp2:m_if check="u_HasError" field="any">
+				<table class="warning">
+					<tr>
+						<td valign="top" align="left" class="block-data">
+							<img src="img/message.gif" alt="" width="19" height="19" />
+							<span class="warning-text"><inp2:m_Phrase label="lu_Warning"/></span><br />
+							<inp2:m_Phrase label="lu_AProblemWithForm"/>
+							
+						</td>
+					</tr>
+				</table>
+			</inp2:m_if>
+			<strong>* <inp2:m_Phrase label="lu_IndicatesRequired"/>.</strong> 	<br /><br />
+	
+			<table class="form-data">
+				<tr> 
+					<td class="block-data">
+						<strong><inp2:m_Phrase label="lu_Password"/>:</strong>
+					</td> 
+					<td class="block-data">
+						<input type="password" name="<inp2:u_InputName field="Password"/>" value="" style="width: 100px;" />
+					</td>
+					<td width="170" class="error"><inp2:u_Error field="Password"/></td>
+				</tr>
+		
+				<tr> 
+					<td class="block-data">
+						<strong><inp2:m_Phrase label="lu_VerifyPassword"/>:</strong>
+					</td> 
+					<td class="block-data">
+						<input type="password" name="<inp2:u_InputName field="VerifyPassword"/>" value="" style="width: 100px;" />
+					</td>
+					<td width="170" class="error"><inp2:u_Error field="VerifyPassword"/></td>
+				</tr>
+
+				<tr>
+					<td class="block-data">
+						<strong><inp2:m_Phrase label="lu_comm_FirstName"/>:</strong>
+					</td>
+					<td class="block-data">
+						<input type="text" name="<inp2:u_InputName field="FirstName"/>" value="<inp2:u_Field name="FirstName"/>" style="width: 200px;" />
+					</td>
+					<td width="170" class="error"><inp2:u_Error field="FirstName"/></td>
+				</tr>
+					
+				<tr>
+					<td class="block-data">
+						<strong><inp2:m_Phrase label="lu_comm_LastName"/>:</strong>
+					</td>
+					<td class="block-data">
+						<input type="text" name="<inp2:u_InputName field="LastName"/>" value="<inp2:u_Field name="LastName"/>" style="width: 200px;" />
+					</td>
+					<td width="170" class="error"><inp2:u_Error field="LastName"/></td>
+				</tr>
+				
+				<tr>
+					<td class="block-data">
+						<strong><inp2:m_Phrase label="lu_company"/>:</strong>
+					</td>
+					<td class="block-data">
+						<input type="text" name="<inp2:u_InputName field="Company"/>" value="<inp2:u_Field name="Company"/>" style="width: 200px;" />
+					</td>
+					<td width="170" class="error"><inp2:u_Error field="Company"/></td>
+				</tr>
+					
+				<tr> 
+					<td class="block-data">
+						<strong><inp2:m_Phrase label="lu_Phone"/>:</strong>
+					</td> 
+					<td class="block-data">
+						<input type="text" name="<inp2:u_InputName field="Phone"/>" value="<inp2:u_Field name="Phone"/>" style="width: 150px;" />
+					</td>
+					<td width="170" class="error"><inp2:u_Error field="Phone"/></td>
+				</tr>
+				
+				<tr> 
+					<td class="block-data">
+						<strong><inp2:m_Phrase label="lu_Fax"/>:</strong>
+					</td> 
+					<td class="block-data">
+						<input type="text" name="<inp2:u_InputName field="Fax"/>" value="<inp2:u_Field name="Fax"/>" style="width: 150px;" />
+					</td>
+					<td width="170" class="error"><inp2:u_Error field="Fax"/></td>
+				</tr>
+
+				<tr> 
+					<td class="block-data">
+						<strong><inp2:m_Phrase label="lu_comm_BirthDate"/> *:</strong><br>
+					</td> 
+					<td class="block-data">
+						<script src="inc/calendar.js"></script>
+						<input type="text" name="<inp2:u_InputName field="dob_date"/>" id="<inp2:u_InputName field="dob_date"/>" value="<inp2:u_Field name="dob_date" format="_regional_InputDateFormat"/>" style="width: 100px;" datepickerIcon="img/calendar.gif"/>
+						<script type="text/javascript">
+							initCalendar('<inp2:u_InputName field="dob_date"/>', "<inp2:u_Format field="dob_date" input_format="1"/>");
+						</script>
+						(<inp2:u_Format field="dob_date" input_format="1" human="true"/>, ex. <inp2:u_Format field="dob_date" sample="true"/>)
+					</td>
+					<td width="170" class="error"><inp2:u_Error field="dob_date"/></td>
+				</tr>
+					
+				<tr> 
+					<td class="block-data">
+						<strong><inp2:m_Phrase label="lu_Email"/> *:</strong>
+					</td> 
+					<td class="block-data">
+						<input type="text" name="<inp2:u_InputName field="Email"/>" value="<inp2:u_Field field="Email"/>" style="width: 200px;" />
+					</td>
+					<td width="170" class="error"><inp2:u_Error field="Email"/></td>
+				</tr>	
+						
+				<tr> 
+					<td class="block-data">
+						<strong><inp2:m_Phrase label="lu_comm_AddressLine"/> 1:</strong>
+					</td> 
+					<td class="block-data">
+						<input type="text" name="<inp2:u_InputName field="Street"/>" value="<inp2:u_Field name="Street"/>" style="width: 300px;" />
+					</td>
+					<td width="170" class="error"><inp2:u_Error field="Street"/></td>
+				</tr>
+				
+				<tr> 
+					<td class="block-data">
+						<strong><inp2:m_Phrase label="lu_comm_AddressLine"/> 2:</strong>
+					</td> 
+					<td class="block-data">
+						<input type="text" name="<inp2:u_InputName field="Street2"/>" value="<inp2:u_Field name="Street2"/>" style="width: 300px;" />
+					</td>
+					<td width="170" class="error"><inp2:u_Error field="Street2"/></td>
+				</tr>
+					
+				<tr> 
+					<td class="block-data">
+						<strong><inp2:m_Phrase label="lu_City"/>:</strong>
+					</td> 
+					<td class="block-data">
+						<input type="text" name="<inp2:u_InputName field="City"/>" value="<inp2:u_Field name="City"/>" style="width: 100px;" />
+					</td>
+					<td width="170" class="error"><inp2:u_Error field="City"/></td>
+				</tr>	
+				<tr>
+					<td>
+						<strong><inp2:m_phrase label="lu_state"/>:</strong></td>
+					<td>
+						<input type="text" name="<inp2:u_InputName field="State"/>" value="<inp2:u_Field name="State"/>" style="width: 200px;" />
+					</td>
+					<td class="error"><inp2:u_Error field="State"/></td>
+				</tr>
+				<tr> 
+					<td class="block-data">
+						<strong><inp2:m_Phrase label="lu_comm_ZipCode"/>:</strong>
+					</td> 
+					<td class="block-data">
+						<input type="text" name="<inp2:u_InputName field="Zip"/>" value="<inp2:u_Field name="Zip"/>" style="width: 60px;" />
+					</td>
+					<td width="170" class="error"><inp2:u_Error field="Zip"/></td>
+				</tr>	
+				<tr>
+					<td>
+						<strong><inp2:m_phrase label="lu_country"/>:</strong></td>
+					<td>
+						<select name="<inp2:u_InputName field="Country"/>" style="width: 300px;">
+							<option value=""></option>
+							<inp2:u_PredefinedOptions field="Country" render_as="destination" selected_param="selected" selected="selected=\"selected\""/>
+						</select>
+					</td>
+					<td class="error"><inp2:u_Error field="Country"/></td>
+				</tr>
+				<tr>
+					<td colspan="3" valign="bottom" height="35">
+						<input class="button" type="submit" id="events[u][OnUpdate]" name="events[u][OnUpdate]" value="<inp2:m_Phrase label="lu_comm_Update" no_editing="1"/>"/>
+						<input type="hidden" name="next_template" value="in-commerce/my_account/account"/>
+					</td>
+				</tr>	
+			</table>
+		</td>
+	</tr>
+	
+</table>
+</form>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/blocks/my_account/affiliate_materials.tpl
===================================================================
--- themes/onlinestore/in-commerce/blocks/my_account/affiliate_materials.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/blocks/my_account/affiliate_materials.tpl	(revision 0)
@@ -0,0 +1,27 @@
+<inp2:m_if check="u_IsAffiliate">
+	<table class="block-no-border">
+		<tr> 
+			<td class="block-header" colspan="2"><inp2:m_Phrase label="lu_comm_AffiliateMaterials"/></td> 
+		</tr>
+		<tr> 
+			<td class="block-data">
+				<inp2:m_Phrase label="lu_comm_AffilliateMaterialsToRefer"/>:
+				<br /><br />
+				 <a href="<inp2:affil_GetUserAffiliateLink template="index"/>"><inp2:affil_GetUserAffiliateLink template="index"/></a>
+			</td> 
+		</tr>
+		<tr> 
+			<td class="block-data">
+				<inp2:m_Phrase label="lu_comm_AffilliateMaterialsCode"/>:
+				<blockquote style="border: 1px dashed #cccccc; background-color: #f3f3f3; padding: 8px">
+				<small>
+				&lt;a href="<inp2:affil_GetUserAffiliateLink template="index"/>"&gt;
+					<inp2:conf_ConfigValue name="Site_Name"/>
+				&lt;/a&gt;
+				</small>
+				</blockquote>
+				<inp2:m_Phrase label="lu_comm_AffilliateMaterialsCopy"/>
+			</td> 
+		</tr>
+	</table>
+</inp2:m_if>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/blocks/my_account/affiliate_stat.tpl
===================================================================
--- themes/onlinestore/in-commerce/blocks/my_account/affiliate_stat.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/blocks/my_account/affiliate_stat.tpl	(revision 0)
@@ -0,0 +1,67 @@
+<inp2:visits_InitList list_name="visitors_list" types="myvisitors" grid="visitsincommerce" per_page="5" />
+<table class="block-no-border">
+	<tr>
+		<td class="block-header">
+			<inp2:m_Phrase label="lu_comm_AffiliateStatistics"/>
+		</td>
+	</tr>
+</table>
+
+
+
+
+<inp2:m_DefineElement name="affiliate_info" >
+
+	<table class="adv-search-form" style="width: 50%">
+		<tr>
+			<td class="block-data">
+				<inp2:m_Phrase label="lu_comm_TotalVisitors"/>
+			</td>
+			<td class="block-data">
+				<inp2:m_param name="TotalVisitors" />
+			</td>
+			<td class="block-data">
+				<a href="<inp2:m_Link template="in-commerce/my_account/affiliate_stat_visits_list"/>"><inp2:m_Phrase label="lu_comm_details"/></a>
+			</td>
+		</tr>
+		<tr>
+			<td class="block-data">
+				<inp2:m_Phrase label="lu_comm_TotalOrders"/>
+			</td>
+			<td class="block-data">
+				<inp2:m_param name="OrderCount" />
+			</td>
+			<td class="block-data">
+				<a href="<inp2:m_Link template="in-commerce/my_account/affiliate_stat_orders_list"/>"><inp2:m_Phrase label="lu_comm_details"/></a>
+			</td>
+		</tr>
+		<tr>
+			<td class="block-data">
+				<inp2:m_Phrase label="lu_comm_TotalOrderAmount"/>
+			</td>
+			<td class="block-data">
+				<inp2:m_param name="OrderTotalAmount" />
+			</td>
+			<td class="block-data">
+				<a href="<inp2:m_Link template="in-commerce/my_account/affiliate_stat_orders_list"/>"><inp2:m_Phrase label="lu_comm_details"/></a>
+			</td>
+		</tr>
+		<tr>
+			<td class="block-data">
+				<inp2:m_Phrase label="lu_comm_TotalCommissionEarned"/>
+			</td>
+			<td class="block-data">
+				<inp2:m_param name="OrderAffiliateCommission" />
+			</td>
+			<td class="block-data">
+				<a href="<inp2:m_Link template="in-commerce/my_account/affiliate_stat_orders_list"/>"><inp2:m_Phrase label="lu_comm_details"/></a>
+			</td>
+		</tr>
+	</table>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="in-commerce/blocks/my_account/affiliate_date_filter" prefix="visits.incommerce" field="VisitDate" grid_name="visitsincommerce"/>
+<br />
+
+<inp2:visits_AffiliateOrderInfo list_name="visitors_list" types="myvisitors" render_as="affiliate_info" currency="selected" />
+
Index: themes/onlinestore/in-commerce/blocks/my_account/affiliate_payments_list.tpl
===================================================================
--- themes/onlinestore/in-commerce/blocks/my_account/affiliate_payments_list.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/blocks/my_account/affiliate_payments_list.tpl	(revision 0)
@@ -0,0 +1,49 @@
+<inp2:ord_InitPaymentsList list_name="my_payments_list" types="my_payments" per_page="10" />
+
+<table class="block-no-border">
+	<tr> 
+		<td class="block-header">
+			<inp2:m_Phrase label="lu_comm_ComissionPayments"/> (<inp2:ord_PaymentsCount list_name="my_payments_list" />)
+		</td> 
+	</tr> 
+</table>
+
+<table>
+	<tr>
+		<td style="text-align: center;">
+			<inp2:m_include template="in-commerce/blocks/my_account/my_payments_pagination" list_name="my_payments_list" data_exists="1"/>
+		</td>
+	</tr>
+</table>
+<br />
+	
+<table style="width: 500px;">
+	<inp2:m_DefineElement name="mypayments_header">
+		<tr class="cart-header">
+			<td><inp2:m_Phrase label="lu_comm_Date"/></td>
+			<td><inp2:m_Phrase label="lu_comm_PaymentReference"/></td>
+			<td style="text-align: center"><inp2:m_Phrase label="lu_comm_PaymentAmount"/></td>
+		</tr>
+	</inp2:m_DefineElement>
+	
+	<inp2:m_DefineElement name="mypayment_item">
+		<tr class="cart-item"> 
+			<td ><inp2:Field field="PaymentDate" /></td> 
+			<td ><inp2:Field field="PaymentReference" /></td>
+			<td style="text-align: right">
+				<strong><inp2:Field field="Amount" currency="selected"/></strong>
+			</td>
+		</tr>
+	</inp2:m_DefineElement>
+	
+	<inp2:m_DefineElement name="mypayments_empty">
+		<tr class="block-data"> 
+			<td>
+				<strong><inp2:m_Phrase label="lu_comm_DontHavePayments"/></strong>
+			</td>
+		</tr>
+	</inp2:m_DefineElement>		
+	
+	<inp2:ord_ListPayments list_name="my_payments_list" item_render_as="mypayment_item" header_render_as="mypayments_header" empty_mypayments_render_as="mypayments_empty" />
+
+</table>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/blocks/my_account/affiliate.tpl
===================================================================
--- themes/onlinestore/in-commerce/blocks/my_account/affiliate.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/blocks/my_account/affiliate.tpl	(revision 0)
@@ -0,0 +1,158 @@
+<script language="JavaScript">
+	function showAffiliateAgreement()
+	{
+		window.open('<inp2:m_Link template="in-commerce/my_account/affiliate_agreement" />', null, 'menubar=no,toolbars=no,width=500,height=300');
+	}
+</script>
+<inp2:m_if check="u_IsAffiliate">
+	<table class="block-no-border">
+		<tr>
+			<td class="block-header" colspan="2"><inp2:m_Phrase label="lu_comm_AffiliateStatistics"/></td>
+		</tr>
+		<inp2:m_if check="u_AffiliateIsNotActive">
+			<tr>
+				<td class="block-data" colspan="2">
+					<table class="warning">
+						<tr>
+							<td valign="top" align="left" class="block-data">
+								<img src="img/message.gif" alt="" width="19" height="19" />
+								<span class="warning-text"><inp2:m_Phrase label="lu_Warning"/></span><br />
+								<inp2:m_Phrase label="lu_comm_AffiliateIsPendingOrDisabled"/>
+							</td>
+						</tr>
+					</table>
+				</td>
+			</tr>
+		</inp2:m_if>
+		<tr>
+			<td class="block-data">
+				<a href="<inp2:m_Link template="in-commerce/my_account/affiliate_stat"/>"><strong><inp2:m_Phrase label="lu_comm_AffiliateStat"/></strong></a><br />
+				<inp2:m_Phrase label="lu_comm_AffiliateStatText"/>
+
+			</td>
+		</tr>
+		<tr>
+			<td class="block-data">
+				<a href="<inp2:m_Link template="in-commerce/my_account/affiliate_payments"/>"><strong><inp2:m_Phrase label="lu_comm_AffiliatePayments"/></strong></a><br />
+				<inp2:m_Phrase label="lu_comm_AffiliatePaymentsText"/>
+
+			</td>
+		</tr>
+		<tr>
+			<td class="block-data">
+				<a href="<inp2:m_Link template="in-commerce/my_account/affiliate_materials"/>"><strong><inp2:m_Phrase label="lu_comm_AffiliateMaterials"/></strong></a><br />
+				<inp2:m_Phrase label="lu_comm_AffiliateMaterialsText"/>
+
+			</td>
+		</tr>
+		<tr>
+			<td class="block-data">
+				<a href="<inp2:m_Link template="in-commerce/my_account/affiliate_payment_type"/>"><strong><inp2:m_Phrase label="lu_comm_ChangeAffiliatePaymentType"/></strong></a><br />
+				<inp2:m_Phrase label="lu_comm_ChangeAffiliatePaymentTypeText"/>
+
+			</td>
+		</tr>
+		<tr>
+			<td class="block-data">
+				<a href="javascript:showAffiliateAgreement()"><strong><inp2:m_Phrase label="lu_comm_TermsAndConditionsLink"/></strong></a><br />
+				<inp2:m_Phrase label="lu_comm_TermsAndConditionsText"/>
+
+			</td>
+		</tr>
+	</table>
+<inp2:m_else />
+	<form method="POST" enctype="multipart/form-data" action="<inp2:m_FormAction />">
+		<table class="block-no-border">
+			<tr>
+				<td class="block-header" colspan="3"><inp2:m_Phrase label="lu_comm_AffiliateRegistration"/></td>
+			</tr>
+
+			<tr>
+				<td class="block-data" colspan="3"><inp2:m_Phrase label="lu_comm_BecomeAnAffiliateDescription"/></td>
+			</tr>
+
+			<tr>
+				<td class="block-data">
+					<strong><inp2:m_phrase label="lu_comm_SSNField"/>*:</strong>
+				</td>
+				<td class="block-data">
+					<input type="text" name="SSN" id="SSN" value="<inp2:m_get var="SSN" />" />
+				</td>
+				<td class="error">
+					<inp2:m_if check="m_getequals" var="SSNRequiredError" value="1">
+						<inp2:m_Phrase label="lu_comm_FieldIsRequired" />
+					</inp2:m_if>&nbsp;
+				</td>
+			</tr>
+
+			<inp2:m_DefineElement name="affiliate_payment_type_elem">
+				<tr>
+					<td style="padding: 3px">
+						<input type="radio" name="PaymentTypeId" id="PaymentTypeId_<inp2:Field name="PaymentTypeId" />" value="<inp2:Field name="PaymentTypeId" />" <inp2:m_if check="u_AffiliatePaymentTypeChecked">checked</inp2:m_if> />
+					</td>
+					<td style="padding: 3px">
+						<label for="PaymentTypeId_<inp2:Field name="PaymentTypeId" />"><inp2:Field name="Name" /></label>
+					</td>
+				</tr>
+				<inp2:m_if check="Field" name="Description">
+					<tr>
+						<td style="padding: 3px">&nbsp;</td>
+						<td style="padding: 3px"><inp2:Field name="Description" />&nbsp;</td>
+					</tr>
+				</inp2:m_if>
+			</inp2:m_DefineElement>
+
+			<tr>
+				<td style="vertical-align: top;" class="block-data">
+					<strong><inp2:m_phrase label="lu_comm_ChooseAffiliatePaymentType"/>:</strong>
+				</td>
+				<td class="block-data">
+					<table class="block-no-border">
+						<inp2:u_ListAffiliatesPaymentTypes render_as="affiliate_payment_type_elem" />
+						<tr><td colspan="2" style="padding: 0px">&nbsp;</td></tr>
+					</table>
+				</td>
+				<td class="error">&nbsp;</td>
+			</tr>
+
+			<tr>
+				<td class="block-data">
+					<strong><inp2:m_phrase label="lu_comm_Comments"/>:</strong>
+				</td>
+				<td class="block-data">
+					<textarea name="Comments" id="Comments" cols="35" rows="5"><inp2:m_get var="Comments" /></textarea>
+				</td>
+				<td class="error">&nbsp;</td>
+			</tr>
+
+			<tr>
+				<td colspan="2" class="block-data">
+					<input type="checkbox" name="AgreeToAffiliateTerms" id="AgreeToAffiliateTerms" />
+					<strong><inp2:m_Phrase label="lu_comm_IAgreeTo" />
+					<a href="javascript:showAffiliateAgreement()"><inp2:m_Phrase label="lu_comm_AffiliateAgreement" /></a>
+					<inp2:m_Phrase label="lu_comm_TermsAndConditions" /></strong>
+					<script type="text/javascript">
+						function showAffiliateAgreement()
+						{
+							window.open('<inp2:m_Link template="in-commerce/my_account/affiliate_agreement" />', null, 'menubar=no,toolbars=no,width=500,height=300');
+						}
+					</script>
+				</td>
+				<td class="error">
+					<inp2:m_if check="m_getequals" var="MustAgreeToTerms" value="1">
+						<inp2:m_Phrase label="lu_comm_MustAgreeAffiliateTermsError" />
+					</inp2:m_if>&nbsp;
+				</td>
+			</tr>
+
+			<tr>
+				<td class="block-data" colspan="2" style="padding-top: 0px">
+					<input type="hidden" name="next_template" value="in-commerce/my_account/affiliate_thankyou" />
+					<input type="submit" class="button" name="events[affil][OnBecomeAffiliate]" id="events[affil][OnBecomeAffiliate]" value="<inp2:m_Phrase label="lu_comm_BecomeAnAffiliate" no_editing="1"/>" />
+				</td>
+				<td class="error">&nbsp;</td>
+			</tr>
+
+		</table>
+	</form>
+</inp2:m_if>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/blocks/my_account/address_edit.tpl
===================================================================
--- themes/onlinestore/in-commerce/blocks/my_account/address_edit.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/blocks/my_account/address_edit.tpl	(revision 0)
@@ -0,0 +1,182 @@
+<inp2:m_DefineElement name="destination">
+	<option value="<inp2:m_param name="key"/>"<inp2:m_param name="selected"/>><inp2:m_param name="option"/></option>
+</inp2:m_DefineElement>
+
+<form method="post" action="<inp2:m_FormAction />">
+
+<table class="block-no-border">
+	<tr>
+		<td class="block-header" colspan="2">
+			<inp2:m_Phrase label="lu_comm_MyAddresses"/>
+
+		</td>
+	</tr>
+	<tr>
+		<td class="block-data">
+			<inp2:m_if check="addr_HasError" field="any">
+				<table class="warning">
+					<tr>
+						<td valign="top" align="left" class="block-data">
+							<img src="img/message.gif" alt="" width="19" height="19" />
+							<span class="warning-text"><inp2:m_Phrase label="lu_Warning"/></span><br />
+							<inp2:m_Phrase label="lu_AProblemWithForm"/>
+
+						</td>
+					</tr>
+				</table>
+			</inp2:m_if>
+			<inp2:m_if check="u.current_Field" name="cust_shipping_addr_block">
+
+				<strong><inp2:m_Phrase label="lu_AddressModificationBlocked"/></strong>
+
+			<inp2:m_else/>
+				<strong>* <inp2:m_Phrase label="lu_IndicatesRequired"/>.</strong> 	<br /><br />
+
+				<table class="form-data">
+					<tr>
+						<td class="block-data">
+							<strong><inp2:m_Phrase label="lu_comm_FullName"/> *:</strong>
+						</td>
+						<td class="block-data">
+							<input type="text" name="<inp2:addr_InputName field="To"/>" value="<inp2:addr_Field name="To"/>" style="width: 200px;" />
+						</td>
+						<td width="170" class="error"><inp2:addr_Error field="To"/></td>
+					</tr>
+
+					<tr>
+						<td class="block-data">
+							<strong><inp2:m_Phrase label="lu_comm_Company"/>:</strong>
+						</td>
+						<td class="block-data">
+							<input type="text" name="<inp2:addr_InputName field="Company"/>" value="<inp2:addr_Field name="Company"/>" style="width: 200px;" />
+						</td>
+						<td width="170" class="error"><inp2:addr_Error field="Company"/></td>
+					</tr>
+
+					<tr>
+						<td class="block-data">
+							<strong><inp2:m_Phrase label="lu_comm_AddressLine"/> 1 *:</strong>
+						</td>
+						<td class="block-data">
+							<input type="text" name="<inp2:addr_InputName field="Address1"/>" value="<inp2:addr_Field name="Address1"/>" style="width: 300px;" />
+						</td>
+						<td width="170" class="error"><inp2:addr_Error field="Address1"/></td>
+					</tr>
+
+					<tr>
+						<td class="block-data">
+							<strong><inp2:m_Phrase label="lu_comm_AddressLine"/> 2:</strong>
+						</td>
+						<td class="block-data">
+							<input type="text" name="<inp2:addr_InputName field="Address2"/>" value="<inp2:addr_Field name="Address2"/>" style="width: 300px;" />
+						</td>
+						<td width="170" class="error"><inp2:addr_Error field="Address2"/></td>
+					</tr>
+
+					<tr>
+						<td class="block-data">
+							<strong><inp2:m_Phrase label="lu_City"/> *:</strong>
+						</td>
+						<td class="block-data">
+							<input type="text" name="<inp2:addr_InputName field="City"/>" value="<inp2:addr_Field name="City"/>" style="width: 100px;" />
+						</td>
+						<td width="170" class="error"><inp2:addr_Error field="City"/></td>
+					</tr>
+
+					<tr>
+						<td>
+							<strong><inp2:m_phrase label="lu_state"/> *:</strong></td>
+						<td>
+							<input type="text" name="<inp2:addr_InputName field="State"/>" value="<inp2:addr_Field name="State"/>" style="width: 200px;" />
+						</td>
+						<td class="error"><inp2:addr_Error field="State"/></td>
+					</tr>
+
+					<tr>
+						<td class="block-data">
+							<strong><inp2:m_Phrase label="lu_comm_ZipCode"/> *:</strong>
+						</td>
+						<td class="block-data">
+							<input type="text" name="<inp2:addr_InputName field="Zip"/>" value="<inp2:addr_Field name="Zip"/>" style="width: 60px;" />
+						</td>
+						<td width="170" class="error"><inp2:addr_Error field="Zip"/></td>
+					</tr>
+
+					<tr>
+						<td>
+							<strong><inp2:m_phrase label="lu_country"/> *:</strong></td>
+						<td>
+							<select name="<inp2:addr_InputName field="Country"/>" style="width: 300px;">
+								<option value=""></option>
+								<inp2:addr_PredefinedOptions field="Country" render_as="destination" selected_param="selected" selected="selected=\"selected\""/>
+							</select>
+						</td>
+						<td class="error"><inp2:addr_Error field="Country"/></td>
+					</tr>
+
+					<tr>
+						<td class="block-data">
+							<strong><inp2:m_Phrase label="lu_Phone"/> *:</strong>
+						</td>
+						<td class="block-data">
+							<input type="text" name="<inp2:addr_InputName field="Phone"/>" value="<inp2:addr_Field name="Phone"/>" style="width: 150px;" />
+						</td>
+						<td width="170" class="error"><inp2:addr_Error field="Phone"/></td>
+					</tr>
+
+					<tr>
+						<td class="block-data">
+							<strong><inp2:m_Phrase label="lu_Fax"/>:</strong>
+						</td>
+						<td class="block-data">
+							<input type="text" name="<inp2:addr_InputName field="Fax"/>" value="<inp2:addr_Field name="Fax"/>" style="width: 150px;" />
+						</td>
+						<td width="170" class="error"><inp2:addr_Error field="Fax"/></td>
+					</tr>
+
+					<tr>
+						<td class="block-data">
+							<strong><inp2:m_Phrase label="lu_Email"/>:</strong>
+						</td>
+						<td class="block-data">
+							<input type="text" name="<inp2:addr_InputName field="Email"/>" value="<inp2:addr_Field field="Email"/>" style="width: 200px;" />
+						</td>
+						<td width="170" class="error"><inp2:addr_Error field="Email"/></td>
+					</tr>
+
+					<tr>
+						<td class="block-data">
+							<strong><inp2:m_Phrase label="lu_LastUsedAsShipping"/>:</strong>
+						</td>
+						<td class="block-data">
+							<input type="checkbox" name="<inp2:addr_InputName field="LastUsedAsShipping"/>" value="1"<inp2:m_if check="addr_Field" field="LastUsedAsShipping" value="1"> checked</inp2:m_if> />
+						</td>
+						<td width="170" class="error"><inp2:addr_Error field="LastUsedAsShipping"/></td>
+					</tr>
+
+					<tr>
+						<td class="block-data">
+							<strong><inp2:m_Phrase label="lu_LastUsedAsBilling"/>:</strong>
+						</td>
+						<td class="block-data">
+							<input type="checkbox" name="<inp2:addr_InputName field="LastUsedAsBilling"/>" value="1"<inp2:m_if check="addr_Field" field="LastUsedAsBilling" value="1"> checked</inp2:m_if> />
+						</td>
+						<td width="170" class="error"><inp2:addr_Error field="LastUsedAsBilling"/></td>
+					</tr>
+
+					<tr>
+						<td colspan="3" valign="bottom" height="35">
+							<input class="button" type="submit" name="events[addr][<inp2:addr_SaveEvent/>]" value="<inp2:m_if check="addr_IsNewMode"><inp2:m_Phrase label="lu_comm_Create"/><inp2:m_else/><inp2:m_Phrase label="lu_comm_Update"/></inp2:m_if>"/>
+							<input type="hidden" name="<inp2:addr_InputName field="PortalUserId"/>" value="<inp2:addr_Field field="PortalUserId"/>" />
+							<input type="hidden" name="next_template" value="in-commerce/my_account/address"/>
+						</td>
+					</tr>
+				</table>
+
+			</inp2:m_if>
+
+		</td>
+	</tr>
+
+</table>
+</form>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/blocks/my_account/affiliate_stat_orders_list.tpl
===================================================================
--- themes/onlinestore/in-commerce/blocks/my_account/affiliate_stat_orders_list.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/blocks/my_account/affiliate_stat_orders_list.tpl	(revision 0)
@@ -0,0 +1,81 @@
+<inp2:visits_InitList list_name="visitors_orders_list" types="myvisitororders" grid="visitsincommerce" per_page="5" />
+
+<table class="block-no-border">
+	<tr>
+		<td class="block-header">
+			<inp2:m_Phrase label="lu_comm_TotalOrders"/>
+		</td>
+	</tr>
+</table>
+
+<inp2:m_include template="in-commerce/blocks/my_account/affiliate_date_filter" prefix="visits.incommerce" field="VisitDate" grid_name="visitsincommerce"/>
+<br />
+
+<table>
+	<tr>
+		<td style="text-align: center;">
+			<inp2:m_include template="in-commerce/blocks/my_account/affiliate_visitors_pagination" list_name="visitors_orders_list" data_exists="1"/>
+		</td>
+	</tr>
+</table>
+<br />
+
+<table>
+	<inp2:m_DefineElement name="myvisitors_header">
+		<tr class="cart-header">
+			<td style="width: 30%"><inp2:m_Phrase label="lu_comm_Date"/></td>
+			<td style="width: 30%"><inp2:m_Phrase label="lu_comm_OrderNumber"/></td>
+
+			<td style="text-align: center; width: 15%"><inp2:m_Phrase label="lu_comm_OrderTotalAmount"/></td>
+			<td style="text-align: center; width: 15%"><inp2:m_Phrase label="lu_comm_OrderCommissionEarned"/></td>
+
+		</tr>
+	</inp2:m_DefineElement>
+
+	<inp2:m_DefineElement name="myvisitors_item">
+		<tr class="cart-item">
+			<td ><inp2:Field field="VisitDate" format="_regional_DateFormat"/></td>
+			<td ><inp2:Field field="OrderNumber"/></td>
+			<td style="text-align: right">
+				<strong><inp2:Field field="OrderTotalAmount" currency="selected"/></strong>
+			</td>
+			<td style="text-align: right">
+				<strong><inp2:Field field="OrderAffiliateCommission" currency="selected"/></strong>
+			</td>
+
+		</tr>
+	</inp2:m_DefineElement>
+
+	<inp2:m_DefineElement name="myvisitors_empty">
+		<tr class="block-data">
+			<td>
+				<strong><inp2:m_Phrase label="lu_comm_DontHaveOrders"/></strong>
+			</td>
+		</tr>
+	</inp2:m_DefineElement>
+
+	<inp2:m_DefineElement name="affiliate_info" >
+		<tr>
+			<td class="block-data">&nbsp;</td>
+			<td class="block-data">&nbsp;</td>
+			<td class="block-data" style="text-align: right">
+				<inp2:m_Phrase label="lu_comm_Total"/>:
+				<inp2:m_param name="OrderTotalAmount" />
+			</td>
+			<td class="block-data" style="text-align: right">
+				<inp2:m_Phrase label="lu_comm_Total"/>:
+				<inp2:m_param name="OrderAffiliateCommission" />
+			</td>
+		</tr>
+	</inp2:m_DefineElement>
+
+	<inp2:m_DefineElement name="myvisitors_footer">
+		<inp2:AffiliateOrderInfo list_name="visitors_orders_list" types="myvisitororders" render_as="affiliate_info" currency="selected" />
+	</inp2:m_DefineElement>
+
+	<inp2:visits_ListVisitors list_name="visitors_orders_list" item_render_as="myvisitors_item" header_render_as="myvisitors_header" footer_render_as="myvisitors_footer" empty_myvisitors_render_as="myvisitors_empty" />
+
+
+
+
+</table>
Index: themes/onlinestore/in-commerce/blocks/my_account/address_list.tpl
===================================================================
--- themes/onlinestore/in-commerce/blocks/my_account/address_list.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/blocks/my_account/address_list.tpl	(revision 0)
@@ -0,0 +1,87 @@
+<inp2:addr_InitList list_name="my_addresses_list" types="myaddresses" per_page="10" />
+
+<table class="block-no-border">
+	<tr>
+		<td class="block-header">
+			<inp2:m_Phrase label="lu_comm_MyAddresses"/>
+		</td>
+	</tr>
+</table>
+
+<table>
+	<tr>
+		<td style="text-align: center;">
+			<inp2:m_include template="in-commerce/blocks/my_account/address_pagination" list_name="my_addresses_list" data_exists="1"/>
+		</td>
+	</tr>
+</table>
+<br />
+	<inp2:m_DefineElement name="myaddress_item_tr">
+		<tr class="cart-item">
+			<td>
+				<strong><inp2:Field field="To"/></strong><br />
+				<inp2:m_if check="Field" name="Company">
+					<inp2:Field field="Company"/><br />
+				</inp2:m_if>
+				<inp2:m_if check="FieldEquals" field="Address1" value="" inverse="inverse">
+					<inp2:Field field="Address1"/><br />
+				</inp2:m_if>
+
+				<inp2:m_if check="FieldEquals" field="Address2" value="" inverse="inverse">
+					<inp2:Field field="Address2"/><br />
+				</inp2:m_if>
+				<inp2:PrintLocation/><br />
+			</td>
+			<td>
+				<inp2:m_if check="Field" name="Email">
+					<inp2:Field field="Email"/><br />
+				</inp2:m_if>
+
+				<inp2:m_if check="Field" name="Phone">
+					<inp2:m_Phrase name="lu_Phone"/>: <inp2:Field field="Phone"/><br />
+				</inp2:m_if>
+
+				<inp2:m_if check="Field" name="Fax">
+					<inp2:m_Phrase name="lu_Fax"/>: <inp2:Field field="Fax"/><br />
+				</inp2:m_if>
+			</td>
+			<td>
+				<inp2:m_if check="Field" field="LastUsedAsShipping" value="1"><inp2:m_Phrase label="lu_LastUsedAsShipping"/><br/></inp2:m_if>
+				<inp2:m_if check="Field" field="LastUsedAsBilling" value="1"><inp2:m_Phrase label="lu_LastUsedAsBilling"/></inp2:m_if>
+				<br />
+			</td>
+			<td>
+				<inp2:m_if check="u.current_Field" name="cust_shipping_addr_block" inverse="1">
+					<inp2:m_if check="IsProfileAddress">
+						<a href="<inp2:m_Link template="in-commerce/my_account/profile"/>"><inp2:m_Phrase label="lu_Edit"/></a>
+					<inp2:m_else />
+					<a href="<inp2:EditLink template="in-commerce/my_account/address_edit"/>"><inp2:m_Phrase label="lu_Edit"/></a>
+					<a href="javascript:if(confirm('<inp2:m_Phrase name="lu_comm_DeleteAddress" escape="1"/> ?')) window.location.href = '<inp2:DeleteLink escape="1"/>';"><inp2:m_Phrase label="lu_Delete"/></a>
+					</inp2:m_if>
+				</inp2:m_if>
+				<br /><br />
+			</td>
+		</tr>
+	</inp2:m_DefineElement>
+
+	<inp2:m_DefineElement name="myaddress_empty">
+		<td>
+			<strong><inp2:m_Phrase label="lu_comm_DontHaveAddresses"/></strong>
+		</td>
+	</inp2:m_DefineElement>
+
+	<inp2:m_if check="ord_AllowAddAddress">
+		<div style="margin: 10px; display: inline;">
+			<a href="<inp2:addr_NewLink template="in-commerce/my_account/address_edit"/>"><inp2:m_Phrase label="lu_Comm_NewAddress"/></a> <br /><br />
+		</div>
+	</inp2:m_if>
+
+	<table>
+		<tr class="cart-header">
+			<td><inp2:m_Phrase label="lu_Address"/></td>
+			<td><inp2:m_Phrase label="lu_ContactInfo"/></td>
+			<td><inp2:m_Phrase label="lu_AddressUsedAs"/></td>
+			<td>&nbsp;</td>
+		</tr>
+		<inp2:addr_ListAddresses list_name="my_addresses_list" columns="1" direction="H" render_as="myaddress_item_tr" empty_myaddresses_render_as="myaddress_empty" row_start_render_as="html:" row_end_render_as="html:"/>
+	</table>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/blocks/my_account/affiliate_stat_visits_list.tpl
===================================================================
--- themes/onlinestore/in-commerce/blocks/my_account/affiliate_stat_visits_list.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/blocks/my_account/affiliate_stat_visits_list.tpl	(revision 0)
@@ -0,0 +1,85 @@
+<inp2:visits_InitList list_name="visitors_list" types="myvisitors" grid="visitsincommerce" per_page="5" />
+
+<table class="block-no-border">
+	<tr>
+		<td class="block-header">
+			<inp2:m_Phrase label="lu_comm_TotalVisitors"/>
+		</td>
+	</tr>
+</table>
+
+<inp2:m_include template="in-commerce/blocks/my_account/affiliate_date_filter" prefix="visits.incommerce" field="VisitDate" grid_name="visitsincommerce"/>
+<br />
+
+<table>
+	<tr>
+		<td style="text-align: center;">
+			<inp2:m_include template="in-commerce/blocks/my_account/affiliate_visitors_pagination" list_name="visitors_list" data_exists="1"/>
+		</td>
+	</tr>
+</table>
+<br />
+
+<table>
+	<inp2:m_DefineElement name="myvisitors_header">
+		<tr class="cart-header">
+			<td style="width: 30%"><inp2:m_Phrase label="lu_comm_Date"/></td>
+			<td style="width: 30%"><inp2:m_Phrase label="lu_comm_Referer"/></td>
+			<td ><inp2:m_Phrase label="lu_comm_OrderCount"/></td>
+			<td style="text-align: center; width: 15%"><inp2:m_Phrase label="lu_comm_OrderTotalAmount"/></td>
+			<td style="text-align: center; width: 15%"><inp2:m_Phrase label="lu_comm_OrderCommissionEarned"/></td>
+
+		</tr>
+	</inp2:m_DefineElement>
+
+	<inp2:m_DefineElement name="affiliate_info" >
+		<tr>
+			<td class="block-data">&nbsp;</td>
+			<td class="block-data">&nbsp;</td>
+			<td class="block-data">&nbsp;</td>
+			<td class="block-data" style="text-align: right">
+				<inp2:m_Phrase label="lu_comm_Total"/>:
+				<inp2:m_param name="OrderTotalAmount" />
+			</td>
+			<td class="block-data" style="text-align: right">
+				<inp2:m_Phrase label="lu_comm_Total"/>:
+				<inp2:m_param name="OrderAffiliateCommission" />
+			</td>
+		</tr>
+	</inp2:m_DefineElement>
+
+	<inp2:m_DefineElement name="myvisitors_footer">
+		<inp2:AffiliateOrderInfo list_name="visitors_list" types="myvisitors" render_as="affiliate_info" currency="selected" />
+	</inp2:m_DefineElement>
+
+	<inp2:m_DefineElement name="myvisitors_item">
+		<tr class="cart-item">
+			<td ><inp2:Field field="VisitDate" format="_regional_DateFormat"/></td>
+			<td >
+			<inp2:m_if check="FieldEquals" field="Referer" value="">
+				<inp2:m_Phrase label="lu_visit_DirectReferer"/>
+			<inp2:m_else/>
+				<div style="overflow: hidden"><a href="<inp2:Field field="Referer"/>"><inp2:Field field="Referer"/></a></div>
+			</inp2:m_if>
+			</td>
+			<td ><inp2:Field field="OrderCountByVisit" /></td>
+			<td style="text-align: right">
+				<strong><inp2:Field field="OrderTotalAmountSum" currency="selected"/> </strong>
+			</td>
+			<td style="text-align: right">
+				<strong><inp2:Field field="OrderAffiliateCommissionSum" currency="selected"/></strong>
+			</td>
+
+		</tr>
+	</inp2:m_DefineElement>
+
+	<inp2:m_DefineElement name="myvisitors_empty">
+		<tr class="block-data">
+			<td>
+				<strong><inp2:m_Phrase label="lu_comm_DontHaveVisitors"/></strong>
+			</td>
+		</tr>
+	</inp2:m_DefineElement>
+
+	<inp2:visits_ListVisitors list_name="visitors_list" item_render_as="myvisitors_item" header_render_as="myvisitors_header" footer_render_as="myvisitors_footer" empty_myvisitors_render_as="myvisitors_empty" />
+</table>
Index: themes/onlinestore/in-commerce/blocks/my_account/my_payments_pagination.tpl
===================================================================
--- themes/onlinestore/in-commerce/blocks/my_account/my_payments_pagination.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/blocks/my_account/my_payments_pagination.tpl	(revision 0)
@@ -0,0 +1,40 @@
+<inp2:m_DefineElement name="prev_page">
+		<a class="pagination-bar" href="<inp2:PageLink/>">&lt;&lt;</a>&nbsp;
+	</td>
+	<td>
+</inp2:m_DefineElement >
+
+<inp2:m_DefineElement name="no_prev_page">
+	</td>
+	<td>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="page_current">
+	<strong><inp2:m_param name="page"/></strong>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="page_separator">
+	|
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="page_link">
+	<a class="pagination-bar" href="<inp2:PageLink/>"><inp2:m_param name="page"/></a>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="page_next">
+	<a class="pagination-bar" href="<inp2:PageLink/>">&gt;&gt;</a>
+</inp2:m_DefineElement>
+
+<table style="width: 500px; text-align: left;">
+	<tr>
+		<td style="width: 45%; text-align: right; ">
+			<strong><inp2:m_Phrase label="lu_comm_Page"/>:&nbsp;</strong>
+
+			<inp2:ord_PaymentsPaginationBar
+					current_render_as="page_current" separator_render_as="page_separator" link_render_as="page_link"
+					prev_page_render_as="prev_page" no_prev_page_render_as="no_prev_page"
+					next_page_render_as="page_next" />
+		</td>
+		<td>&nbsp;</td>
+	</tr>
+</table>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/blocks/my_account/my_account.tpl
===================================================================
--- themes/onlinestore/in-commerce/blocks/my_account/my_account.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/blocks/my_account/my_account.tpl	(revision 0)
@@ -0,0 +1,60 @@
+<table class="block-no-border">
+	<tr>
+		<td class="block-header" colspan="2"><inp2:m_Phrase label="lu_comm_MyAccount"/></td>
+	</tr>
+	<tr>
+		<td class="block-data">
+			<a href="<inp2:m_Link template="in-commerce/my_account/profile"/>"><strong><inp2:m_Phrase label="lu_comm_PersonalInfo"/></strong></a><br />
+			<inp2:m_Phrase label="lu_comm_PersonalInfoText"/>
+
+		</td>
+	</tr>
+	<tr>
+		<td class="block-data">
+			<a href="<inp2:m_Link template="in-commerce/my_account/address"/>"><strong><inp2:m_Phrase label="lu_comm_AddressList"/></strong></a><br />
+			<inp2:m_Phrase label="lu_commAddressListText"/>
+
+		</td>
+	</tr>
+	<tr>
+		<td class="block-data">
+			<a href="<inp2:m_Link template="in-commerce/my_account/wishlist"/>"><strong><inp2:m_Phrase label="lu_comm_WishList"/></strong></a><br />
+			<inp2:m_Phrase label="lu_comm_WishListText"/>
+
+		</td>
+	</tr>
+	<tr>
+		<td class="block-data">
+			<a href="<inp2:m_Link template="in-commerce/my_account/orders"/>"><strong><inp2:m_Phrase label="lu_comm_Orders"/></strong></a><br />
+			<inp2:m_Phrase label="lu_comm_OrdersText"/>
+
+		</td>
+	</tr>
+	<tr>
+		<td class="block-data">
+			<a href="<inp2:m_Link template="in-commerce/my_account/downloads"/>"><strong><inp2:m_Phrase label="lu_comm_Downloads"/></strong></a><br />
+			<inp2:m_Phrase label="lu_comm_DownloadsText"/>
+
+		</td>
+	</tr>
+
+	<inp2:m_if check="u_IsAffiliateOrRegisterAsAffiliateAllowed">
+		<tr>
+			<td class="block-data">
+				<a href="<inp2:m_Link template="in-commerce/my_account/affiliate"/>"><strong><inp2:m_Phrase label="lu_comm_Affiliate"/></strong></a><br />
+				<inp2:m_Phrase label="lu_comm_AffiliateText"/>
+
+			</td>
+		</tr>
+	</inp2:m_if>
+
+	<inp2:m_if check="m_LoggedIn">
+		<tr>
+			<td class="block-data">
+				<a href="<inp2:u_LogoutLink />"><strong><inp2:m_Phrase label="lu_Logout"/></strong></a><br />
+				<inp2:m_Phrase label="lu_LogoutText"/>
+
+			</td>
+		</tr>
+	</inp2:m_if>
+</table>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/blocks/my_account/affiliate_navigation.tpl
===================================================================
--- themes/onlinestore/in-commerce/blocks/my_account/affiliate_navigation.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/blocks/my_account/affiliate_navigation.tpl	(revision 0)
@@ -0,0 +1,45 @@
+<inp2:m_if check="u_IsAffiliate">
+	<table class="block">
+		<tr>
+			<td class="block-header"><inp2:m_Phrase label="lu_comm_Affiliate"/></td>
+		</tr>
+		<tr>
+			<td class="block-data-big">
+				<ul class="list-no-squares">
+					
+					<inp2:m_if check="m_IsActive" template="in-commerce/my_account/affiliate_stat">
+						<li><a href="<inp2:m_Link template="in-commerce/my_account/affiliate_stat"/>"><strong><inp2:m_phrase label="lu_comm_AffiliateStat" /></strong></a></li>
+					<inp2:m_else />
+						<li><a href="<inp2:m_Link template="in-commerce/my_account/affiliate_stat"/>"><inp2:m_phrase label="lu_comm_AffiliateStat" /></a></li>
+					</inp2:m_if>
+					
+					<inp2:m_if check="m_IsActive" template="in-commerce/my_account/affiliate_payments">
+						<li><strong><inp2:m_phrase label="lu_comm_AffiliatePayments" /></strong></li>
+					<inp2:m_else />
+						<li><a href="<inp2:m_Link template="in-commerce/my_account/affiliate_payments"/>"><inp2:m_phrase label="lu_comm_AffiliatePayments" /></a></li>
+					</inp2:m_if>
+					
+					<inp2:m_if check="m_IsActive" template="in-commerce/my_account/affiliate_materials">
+						<li><strong><inp2:m_phrase label="lu_comm_AffiliateMaterials" /></strong></li>
+					<inp2:m_else />
+						<li><a href="<inp2:m_Link template="in-commerce/my_account/affiliate_materials"/>"><inp2:m_phrase label="lu_comm_AffiliateMaterials" /></a></li>
+					</inp2:m_if>
+					
+					<inp2:m_if check="m_IsActive" template="in-commerce/my_account/affiliate_payment_type">
+						<li><strong><inp2:m_phrase label="lu_comm_ChangeAffiliatePaymentType" /></strong></li>
+					<inp2:m_else />
+						<li><a href="<inp2:m_Link template="in-commerce/my_account/affiliate_payment_type"/>"><inp2:m_phrase label="lu_comm_ChangeAffiliatePaymentType" /></a></li>
+					</inp2:m_if>
+					
+					<li><a href="javascript:showAffiliateAgreement()"><inp2:m_phrase label="lu_comm_TermsAndConditionsLink" /></a></li>
+				</ul>
+				<script type="text/javascript">
+					function showAffiliateAgreement()
+					{
+						window.open('<inp2:m_Link template="in-commerce/my_account/affiliate_agreement" />', null, 'menubar=no,toolbars=no,width=500,height=300');
+					}
+				</script>
+			</td>
+		</tr>
+	</table>
+</inp2:m_if>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/blocks/my_account/all_downloads.tpl
===================================================================
--- themes/onlinestore/in-commerce/blocks/my_account/all_downloads.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/blocks/my_account/all_downloads.tpl	(revision 0)
@@ -0,0 +1,70 @@
+<inp2:m_DefineElement name="product_image">
+	<img src="<inp2:m_param name="img_path" />" title="<inp2:m_param name="alt" />" alt="<inp2:m_param name="alt" />" <inp2:m_param name="img_size" /> border="0" /><br/>
+</inp2:m_DefineElement>
+
+<table border="0" cellspacing="0" cellpadding="0" class="block-no-border">
+	<tr>
+		<td class="block-header"><inp2:p_Field name="Name" /> - <inp2:m_Phrase label="lu_comm_ProductFiles"/></td>
+	</tr>
+	<tr>
+		<td class="block-data-single">
+			<table style="vertical-align: top; float: top;">
+				<tr>
+					<td style="text-align: center; width: 200px; padding-right: 10px;">
+						<a href="<inp2:m_Link template="in-commerce/product/picture_fullsize.tpl" pass="all,p" />" target="_blank"><inp2:p_Image render_as="product_image" DefaultImage="in-commerce/img/no_picture.gif" MaxWidth="250" DefaultWidth="250" /></a><br />
+					</td>
+					<td>
+						<a href="<inp2:p_ProductLink template="__default__"/>" class="link-product1"><inp2:p_field name="Name"/></a><br />
+
+						<inp2:m_if check="p_Field" name="ManufacturerId">
+							<strong><inp2:m_Phrase label="lu_comm_Manufacturer"/>:</strong> <inp2:p_field name="ManufacturerId"/> (<inp2:m_Phrase label="lu_comm_OtherProductsBy"/> <a href="<inp2:p_ManufacturerLink template="in-commerce/store/manufacturer_products" />"><inp2:p_Field name="ManufacturerId"/></a> <inp2:m_Phrase label="lu_comm_OtherProducts"/>) <br />
+						</inp2:m_if>
+						<br />
+
+						<strong><inp2:m_Phrase label="lu_comm_Description"/>:</strong> <inp2:p_Field name="Description"/> <br /><br />
+
+						<inp2:m_if check="p_CustomField" name="Features">
+							<strong><inp2:p_CustomFieldLabel field="Features"/>:</strong>
+							<inp2:p_CustomField name="Features"/>
+							<br />
+							<br />
+						</inp2:m_if>
+
+						<strong><inp2:m_Phrase label="lu_comm_Files"/>:</strong><br /><br />
+						<table>
+							<inp2:m_DefineElement name="file_row">
+								<inp2:m_if check="p_UniqueFileName">
+									<tr>
+										<td><inp2:m_Phrase label="lu_comm_Name"/>:</td><td><inp2:Field name="Name"/>&nbsp;</td>
+									</tr>
+								</inp2:m_if>
+								<tr>
+									<td><inp2:m_Phrase label="lu_comm_FileName"/>:</td><td><a href="<inp2:p_ProductFileLink template="in-commerce/my_account/download" />"><inp2:Field name="FilePath"/></a>&nbsp;</td>
+								</tr>
+								<inp2:m_if check="Field" name="Version">
+									<tr>
+										<td><inp2:m_Phrase label="lu_comm_Version"/>:</td><td><inp2:Field name="Version"/>&nbsp;</td>
+									</tr>
+								</inp2:m_if>
+								<tr>
+									<td><inp2:m_Phrase label="lu_comm_Size"/>:</td><td><inp2:Field name="Size" />&nbsp;</td>
+								</tr>
+								<tr>
+									<td><inp2:m_Phrase label="lu_comm_AddedOn"/>:</td><td><inp2:Field name="AddedOn" format="_regional_DateFormat"/>&nbsp;</td>
+								</tr>
+								<tr>
+									<td><inp2:m_Phrase label="lu_comm_DownloadLink"/>:</td><td><strong><a href="<inp2:p_ProductFileLink template="in-commerce/my_account/download" />"><inp2:m_Phrase label="lu_comm_DownloadNow" /></a></strong></td>
+								</tr>
+								<tr>
+									<td colspan="2"><hr /></td>
+								</tr>
+							</inp2:m_DefineElement>
+							<inp2:p_ListFiles render_as="file_row" per_page="-1" main_special="" />
+						</table>
+
+					</td>
+				</tr>
+			</table>
+		</td>
+	</tr>
+</table>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/blocks/my_account/affiliate_date_filter.tpl
===================================================================
--- themes/onlinestore/in-commerce/blocks/my_account/affiliate_date_filter.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/blocks/my_account/affiliate_date_filter.tpl	(revision 0)
@@ -0,0 +1,45 @@
+<form method="POST" action="<inp2:m_FormAction />">
+<table class="adv-search-form">
+	<tr class="<inp2:m_odd_even odd="table-color1" even="table-color2"/>">
+		<inp2:m_inc param="tab_index" by="1"/>
+		<td class="text">
+			<strong><inp2:m_phrase label="la_from_date"/></strong>
+		</td>
+		
+		<td>
+			<script src="inc/calendar.js"></script>				
+			<input type="text" name="<inp2:{$prefix}_SearchInputName field="$field" filter_type="date_range" type="from" grid="$grid_name"/>" id="<inp2:{$prefix}_SearchInputName field="$field" filter_type="date_range" type="from" grid="$grid_name"/>" value="<inp2:{$prefix}_SearchField field="$field" filter_type="date_range" type="from" grid="$grid_name"/>" size="<inp2:{$prefix}_SearchFormat field="{$field}_date" input_format="1" edit_size="1"/>" datepickerIcon="img/calendar.gif"/>
+				<span class="small">(<inp2:{$prefix}_SearchFormat field="{$field}_date" input_format="1" human="true"/>)</span>
+			<script type="text/javascript">
+				initCalendar("<inp2:{$prefix}_SearchInputName field="$field" filter_type="date_range" type="from" grid="$grid_name"/>", "<inp2:{$prefix}_SearchFormat field="{$field}_date" input_format="1"/>");
+			</script>
+			
+		</td>
+		
+		<td class="error"><inp2:{$prefix}_SearchError field="$field"/>&nbsp;</td>
+	</tr>
+	<tr>
+		<td class="text">
+			<strong><inp2:m_phrase label="la_to_date"/></strong>
+		</td>
+		
+		<td>
+			<input type="text" class="input-text" name="<inp2:{$prefix}_SearchInputName field="$field" filter_type="date_range" type="to" grid="$grid_name"/>" id="<inp2:{$prefix}_SearchInputName field="$field" filter_type="date_range" type="to" grid="$grid_name"/>" value="<inp2:{$prefix}_SearchField field="$field" filter_type="date_range" type="to" grid="$grid_name"/>" size="<inp2:{$prefix}_SearchFormat field="{$field}_date" input_format="1" edit_size="1"/>" datepickerIcon="img/calendar.gif"/>
+				<span class="small">(<inp2:{$prefix}_SearchFormat field="{$field}_date" input_format="1" human="true"/>)</span>
+			<script type="text/javascript">
+				initCalendar("<inp2:{$prefix}_SearchInputName field="$field" filter_type="date_range" type="to" grid="$grid_name"/>", "<inp2:{$prefix}_SearchFormat field="{$field}_date" input_format="1"/>");
+			</script>
+			
+		</td>
+		
+		<td class="error"><inp2:{$prefix}_SearchError field="$field"/>&nbsp;</td>
+	</tr>
+	<tr>
+		<td colspan="3" style="text-align: center;">
+			<input class="button" type="submit" name="events[<inp2:m_param name="prefix"/>][OnSearch]" value="<inp2:m_phrase label="lu_search" />">
+			<input class="button" type="submit" name="events[<inp2:m_param name="prefix"/>][OnSearchReset]" value="<inp2:m_phrase label="lu_reset" />">
+		</td>
+	</tr>
+</table>
+<input type="hidden" name="grid_name" value="<inp2:m_param name="grid_name"/>" />
+</form>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/blocks/misc/register_as_affiliate.tpl
===================================================================
--- themes/onlinestore/in-commerce/blocks/misc/register_as_affiliate.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/blocks/misc/register_as_affiliate.tpl	(revision 0)
@@ -0,0 +1,14 @@
+<inp2:m_if check="m_AllowAffiliateRegistration">
+	<inp2:m_if check="m_LoggedIn" inverse="1">
+	<table border="0" cellspacing="0" cellpadding="0" class="block">
+		<tr>
+			<td class="block-header"><inp2:m_Phrase label="lu_comm_Affiliates"/></td>
+		</tr>
+		<tr>
+			<td class="block-data">
+				<a href="<inp2:m_Link template="platform/login/register" RegisterAsAffiliate="on" />"><inp2:m_Phrase label="lu_comm_RegisterAsAffiliate"/></a>
+			</td>
+		</tr>
+	</table>
+	</inp2:m_if>
+</inp2:m_if>
Index: themes/onlinestore/in-commerce/blocks/products/confirm_recommend.tpl
===================================================================
--- themes/onlinestore/in-commerce/blocks/products/confirm_recommend.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/blocks/products/confirm_recommend.tpl	(revision 0)
@@ -0,0 +1,20 @@
+<table border="0" cellspacing="0" cellpadding="0" class="block-no-border">
+	<tr>
+		<td class="block-header"><inp2:m_Phrase label="lu_recommend_title" /></td>
+	</tr>
+	<tr> 
+  		<td class="block-data">
+
+  			<br />
+			<br />
+			<strong><inp2:m_Phrase label="lu_recommend_confirm" /></strong>
+			<br />
+			<br />
+			<inp2:m_Phrase label="lu_recommend_product_confirm_text" />
+			<br />
+			<br />
+			<button onClick="window.location.href='<inp2:p_ProductLink template="__default__" />';" class="button" /><inp2:m_Phrase label="lu_comm_Ok"/></button>
+
+		</td>			
+	</tr>
+</table>
Index: themes/onlinestore/in-commerce/blocks/products/products_editor_picks.tpl
===================================================================
--- themes/onlinestore/in-commerce/blocks/products/products_editor_picks.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/blocks/products/products_editor_picks.tpl	(revision 0)
@@ -0,0 +1,62 @@
+<inp2:p_InitList list_name="list_editors_picks" per_page="default" types="pick" except="displayed" recursive="true" />
+
+<inp2:m_DefineElement name="product_image">
+	<img src="<inp2:m_param name="img_path" />" title="<inp2:m_param name="alt" />" alt="<inp2:m_param name="alt" />" <inp2:m_param name="img_size" /> border="0" /><br/>
+</inp2:m_DefineElement>
+
+<table border="0" cellspacing="0" cellpadding="0" class="block-no-border">
+	<tr>
+		<td class="block-header"><inp2:m_Phrase label="lu_comm_EditorsPicks"/></td>
+	</tr>
+	<tr>
+		<td class="block-data">
+	
+			<table>
+		  		<tr>
+		  			<td style="width: 300px">
+		  				<inp2:m_include template="in-commerce/blocks/products/products_sorting" list_name="list_editors_picks" />
+		  			</td>
+		  			<td style="text-align: center;">
+		  				<inp2:m_include template="in-commerce/blocks/products/products_pagination" list_name="list_editors_picks" />
+		  			</td>
+		  		</tr>
+		  	</table>
+
+		  	<br />
+	
+	  		<table>
+				<inp2:m_DefineElement name="product_row_start">
+					<tr>
+				</inp2:m_DefineElement>
+				
+				<inp2:m_DefineElement name="product_elem">
+					<td width="16%" align="center" valign="top" class="block-data">
+						<a href="<inp2:ProductLink template="__default__"/>"><inp2:Image render_as="product_image" thumbnail="1" DefaultImage="in-commerce/img/no_picture_list.gif" MaxWidth="120" MaxHeight="120" DefaultWidth="120" /></a>
+					</td>
+					<td width="84%" class="block-data">
+						<a href="<inp2:ProductLink template="__default__"/>" class="link-product2"><strong><inp2:Field field="Name" /></strong></a>
+						<inp2:m_if check="Available">
+							<a href="<inp2:AddToCartLink template="in-commerce/checkout/shop_cart" product_template="__default__"/>"><img src="in-commerce/img/buy2.gif" alt="" width="15" height="17" border="0" style="vertical-align:middle" /></a>
+						</inp2:m_if>							
+						<br />
+						<inp2:m_if check="Field" name="MSRP"><strong><inp2:m_Phrase label="lu_comm_MSRP"/>:</strong> <span class="price-msrp"><inp2:Field name="MSRP" currency="selected"/></span> <br /> </inp2:m_if>
+						<strong><inp2:m_Phrase label="lu_comm_OurPrice"/>:</strong> <span class="price1"><inp2:Field name="Price" currency="selected"/></span> <br />
+						<strong><inp2:m_Phrase label="lu_comm_Description"/>:</strong> <inp2:Field name="DescriptionExcerpt"/>
+					</td>
+				</inp2:m_DefineElement>
+					
+				<inp2:m_DefineElement name="product_row_end">
+					</tr>
+					<inp2:m_if check="NotLastItem">
+					  	<tr> 
+							<td colspan="2" style="background: #CCCCCC; height: 1px; padding: 0px"><img src="img/s.gif" alt="" width="1" height="1" /></td> 
+					  	</tr>
+					</inp2:m_if>
+				</inp2:m_DefineElement>
+					
+  				<inp2:p_ListProducts list_name="list_editors_picks" columns="1" direction="V" render_as="product_elem" row_start_render_as="product_row_start" row_end_render_as="product_row_end" empty_cell_render_as="product_empty_cell" />
+			</table>
+
+		</td>
+	</tr>
+</table>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/blocks/products/product_details.tpl
===================================================================
--- themes/onlinestore/in-commerce/blocks/products/product_details.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/blocks/products/product_details.tpl	(revision 0)
@@ -0,0 +1,237 @@
+<inp2:m_DefineElement name="product_edpick_mark">
+	<img src="in-commerce/img/edpick.gif" alt="<inp2:m_Phrase label="lu_comm_EditorsPick" no_editing="1"/>"> <inp2:m_Phrase label="lu_comm_EditorsPick"/>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="product_new_mark">
+	<img src="in-commerce/img/new.gif" alt="<inp2:m_Phrase label="lu_comm_New" no_editing="1"/>"> <inp2:m_Phrase label="lu_comm_New"/>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="product_pop_mark">
+	<img src="in-commerce/img/toprated.gif" alt="<inp2:m_Phrase label="lu_comm_Pop" no_editing="1"/>"> <inp2:m_Phrase label="lu_comm_Pop"/>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="product_topseller_mark">
+	<img src="in-commerce/img/topseller.gif" alt="<inp2:m_Phrase label="lu_comm_TopSeller" no_editing="1"/>"> <inp2:m_Phrase label="lu_comm_TopSeller"/>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="product_star_on">
+	<img src="img/star_rate.gif" alt="">
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="product_star_off">
+	<img src="img/star.gif" alt="" width="11" height="11">
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="product_image">
+	<img src="<inp2:m_param name="img_path" />" title="<inp2:m_param name="alt" />" alt="<inp2:m_param name="alt" />" <inp2:m_param name="img_size" /> border="0" /><br/>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="imageLB"><inp2:m_param name="img_path" /></inp2:m_DefineElement>
+
+<table border="0" cellspacing="0" cellpadding="0" class="block-no-border">
+	<tr>
+		<td class="block-header"><inp2:m_Phrase label="lu_comm_ProductDetails"/></td>
+	</tr>
+	<tr>
+		<td class="block-data-single">
+			<table style="vertical-align: top; float: top;">
+				<tr>
+					<td style="text-align: center; width: 200px; padding-right: 10px;">
+						<inp2:m_if check="p_ImageSrc" MaxWidth="fullsize">
+							<a href="<inp2:p_Image render_as="imageLB" />" rel="lightbox" target="_blank"><inp2:p_Image render_as="product_image" DefaultImage="in-commerce/img/no_picture.gif" MaxWidth="250" DefaultWidth="250" /></a><br /><br />
+							<a href="<inp2:p_Image render_as="imageLB" />" rel="lightbox" target="_blank"><img src="img/zoom.gif" alt="" border="0"></a>
+							<a href="<inp2:p_Image render_as="imageLB" />" rel="lightbox" target="_blank"><inp2:m_Phrase label="lu_comm_ZoomImage"/></a>
+								<!--## Check if image exists ##-->
+						<inp2:m_else/>
+							<inp2:p_Image render_as="product_image" Primary="1" MaxWidth="thumbnail" DefaultWidth="150" DefaultImage="platform/img/no_picture.gif" align="center"/><br />
+						</inp2:m_if>
+						<inp2:m_if check="p_HasAdditionalImages">
+							&nbsp;&nbsp;&nbsp;
+							<a href="<inp2:p_ProductLink template="__default__" />#images"><img src="img/more_images.gif" alt="" border="0"></a>
+							<a href="<inp2:p_ProductLink template="__default__" />#images"><inp2:m_Phrase label="lu_comm_MoreImages"/></a>
+						</inp2:m_if>
+						<br /><br />
+						<span class="price2"><inp2:p_Field name="Price" currency="selected"/></span>
+						<inp2:m_if check="p_Available">
+							<inp2:m_if check="p_ShouldListOptions" required_only="1"><inp2:m_else/>
+								<a href="<inp2:p_AddToCartLink template="in-commerce/checkout/shop_cart" product_template="__default__"/>" class="price2"><inp2:m_Phrase label="lu_comm_BuyNow"/></a>
+								<a href="<inp2:p_AddToCartLink template="in-commerce/checkout/shop_cart" product_template="__default__"/>"><img src="in-commerce/img/buy.gif" alt="<inp2:m_Phrase label="lu_comm_BuyNow" no_editing="1"/>" width="23" height="23" border="0" vspace="4" /></a>
+							</inp2:m_if>
+						<inp2:m_else />
+							<strong><inp2:m_phrase label="lu_comm_outofstock"/></strong>
+						</inp2:m_if>
+					</td>
+					<td>
+						<a href="<inp2:p_ProductLink template="__default__"/>" class="link-product1"><inp2:p_field name="Name"/></a><nobr><inp2:p_Rating star_on_render_as="product_star_on" star_off_render_as="product_star_off"/></nobr><br />
+
+						<inp2:p_EdPickMark render_as="product_edpick_mark"/>&nbsp;
+						<inp2:p_TopSellerMark render_as="product_topseller_mark"/>&nbsp;
+						<inp2:p_NewMark render_as="product_new_mark"/>&nbsp;
+						<inp2:p_PopMark render_as="product_pop_mark"/>&nbsp;
+						<br />
+
+						<inp2:m_if check="p_Field" name="ManufacturerId">
+							<strong><inp2:m_Phrase label="lu_comm_Manufacturer"/>:</strong> <inp2:p_field name="ManufacturerId"/> (<inp2:m_Phrase label="lu_comm_OtherProductsBy"/> <a href="<inp2:p_ManufacturerLink template="in-commerce/store/manufacturer_products" />"><inp2:p_Field name="ManufacturerId"/></a> <inp2:m_Phrase label="lu_comm_OtherProducts"/>) <br />
+						</inp2:m_if>
+						<br />
+						<strong><inp2:m_phrase label="lu_Added"/>:</strong> <inp2:p_field field="CreatedOn_date" format="_regional_DateFormat"/><br />
+						<strong><inp2:m_phrase label="lu_Rating"/>:</strong> <inp2:p_field field="CachedRating"/> (<inp2:p_field field="CachedVotesQty"/> votes) <a href="<inp2:p_ProductLink template="in-commerce/product/rate_product" />"><inp2:m_Phrase label="lu_comm_RateThisProduct"/></a><br />
+						<strong><inp2:m_phrase label="lu_Reviews"/>:</strong> <inp2:p_ReviewCount /> <a href="<inp2:p_ProductLink />#reviews"><inp2:m_Phrase label="lu_comm_ViewReviews"/></a> | <a href="<inp2:p_ProductLink template="in-commerce/product/review_product"/>"><inp2:m_Phrase label="lu_comm_ReviewThisProduct"/></a><br /><br />
+
+						<inp2:m_if check="p_Field" name="MSRP">
+						<strong><inp2:m_Phrase label="lu_comm_MSRP"/>:</strong> <span class="price-msrp"><inp2:p_Field name="MSRP" currency="selected"/></span> <br />
+						</inp2:m_if>
+
+						<strong><inp2:m_Phrase label="lu_comm_OurPrice"/>:</strong> <span class="price1"><inp2:p_Field name="Price" currency="selected"/></span> <br />
+
+						<inp2:m_if check="p_Savings">
+						<span class="listing-field-name">
+						<inp2:m_Phrase label="lu_fld_YouSave"/>: <inp2:p_Savings currency="selected" />  (<inp2:p_Savings type="percent"/>%)
+						</span><br/>
+						</inp2:m_if>
+						<br />
+
+						<inp2:m_if check="p_CustomField" name="Availability">
+							<strong><inp2:p_CustomFieldLabel field="Availability"/>:</strong>
+							<inp2:p_CustomField name="Availability"/>
+							<br />
+							<br />
+						</inp2:m_if>
+
+
+
+						<inp2:m_if check="p_HasQuantityPricing">
+							<inp2:m_if check="p_IsTangible">
+								<table>
+									<tr>
+										<td colspan="2" class="block-header">
+											<inp2:m_Phrase label="lu_comm_QuantityPricing"/>
+										</td>
+									</tr>
+									<tr class="cart-header">
+										<td>
+											<inp2:m_Phrase label="lu_comm_Quantity"/>
+										</td>
+										<td>
+											<inp2:m_Phrase label="lu_comm_Price"/>
+										</td>
+									</tr>
+									<inp2:m_DefineElement name="price_bracket">
+										<tr class="cart-item-small">
+											<td>
+												<inp2:Field name="MinQty"/> - <inp2:Field name="MaxQty"/>
+											</td>
+											<td>
+												<inp2:m_if check="Field" name="Negotiated">
+													<a href="mailto:<inp2:conf_ConfigValue name="Comm_Contacts_Email"/>"><inp2:conf_ConfigValue name="Comm_Contacts_Email"/></a>
+												<inp2:m_else/>
+													<inp2:Field name="Price" currency="selected"/>
+												</inp2:m_if>
+											</td>
+										</tr>
+									</inp2:m_DefineElement>
+									<inp2:p_ListPriceBrackets render_as="price_bracket"/>
+								</table>
+								<br />
+							</inp2:m_if>
+							<inp2:m_if check="p_IsSubscription">
+								<table>
+									<tr>
+										<td colspan="3" class="block-header">
+											<inp2:m_Phrase label="lu_comm_Pricing"/>
+										</td>
+									</tr>
+									<tr class="cart-header">
+										<td>
+											<inp2:m_Phrase label="lu_comm_AccessDuration"/>
+										</td>
+										<td>
+											<inp2:m_Phrase label="lu_comm_Price"/>
+										</td>
+										<td>
+											&nbsp;
+										</td>
+									</tr>
+									<inp2:m_DefineElement name="access_price_bracket">
+										<tr class="cart-item-small">
+											<td>
+												<inp2:Field name="AccessDuration"/> <inp2:Field name="AccessUnit"/>
+												<br />
+												<small><inp2:Field name="Description"/></small>
+											</td>
+											<td>
+												<inp2:Field name="Price" currency="selected"/>
+											</td>
+											<td>
+												<a href="<inp2:AddToCartLink template="in-commerce/checkout/shop_cart" product_template="__default__"/>"><img src="in-commerce/img/buy2.gif" alt="<inp2:m_Phrase label="lu_comm_BuyNow" no_editing="1"/>" width="15" height="17" border="0" /></a>
+											</td>
+										</tr>
+									</inp2:m_DefineElement>
+									<inp2:p_ListPriceBrackets render_as="access_price_bracket"/>
+								</table>
+								<br />
+							</inp2:m_if>
+
+						</inp2:m_if>
+						<br />
+
+						<inp2:m_include template="in-commerce/blocks/products/form_options"/>
+
+						<strong><inp2:m_Phrase label="lu_comm_Description"/>:</strong> <inp2:p_Field name="Description"/> <br />
+						<br />
+						<inp2:m_if check="p_CustomField" name="Features">
+							<strong><inp2:p_CustomFieldLabel field="Features"/>:</strong>
+							<inp2:p_CustomField name="Features"/>
+							<br />
+							<br />
+						</inp2:m_if>
+
+						<inp2:m_if check="p_HasAdditionalImages">
+							<a name="images"></a>
+							<strong><inp2:m_Phrase label="lu_comm_Images"/>:</strong><br />
+							<br />
+							<table>
+								<inp2:m_DefineElement name="image_elem">
+									<td>
+										<a href="<inp2:p_PictureLink template="in-commerce/product/picture_fullsize.tpl" picture_list="1" />" target="_blank"><inp2:p_Image render_as="product_image" thumbnail="1" DefaultImage="in-commerce/img/no_picture_list.gif" MaxWidth="120" MaxHeight="120" DefaultWidth="120" /></a>
+										<inp2:Field name="Name"/>
+									</td>
+								</inp2:m_DefineElement>
+								<inp2:m_DefineElement name="row_start_elem"><tr></inp2:m_DefineElement>
+								<inp2:m_DefineElement name="row_end_elem"></tr></inp2:m_DefineElement>
+								<inp2:m_DefineElement name="empty_cell_elem"><td>&nbsp;</td></inp2:m_DefineElement>
+								<inp2:p_ListImages 	render_as="image_elem" per_page="-1" types="additional"
+													row_start_render_as="row_start_elem"
+													row_end_render_as="row_end_elem"
+													empty_cell_render_as="empty_cell_elem"
+													direction="H" columns="3" main_special="" />
+							</table><br />
+						</inp2:m_if>
+
+						<a name="reviews"></a>
+						<strong><inp2:m_Phrase label="lu_comm_Reviews"/>:</strong><br />
+						<a href="<inp2:p_ProductLink template="in-commerce/product/review_product"/>"><inp2:m_Phrase label="lu_comm_ReviewThisProduct"/></a><br />
+						<br />
+						<table>
+							<inp2:m_DefineElement name="review_row">
+								<tr>
+									<td>
+										<strong><inp2:m_Phrase label="lu_comm_ReviewBy"/> <inp2:Field name="ReviewedBy"/></strong>, <inp2:Field name="CreatedOn" format="_regional_DateFormat"/><br />
+										<br />
+										<inp2:field field="ReviewText"/><br />
+										<hr />
+									</td>
+								</tr>
+							</inp2:m_DefineElement>
+							<inp2:p_ListReviews render_as="review_row" per_page="-1" main_special="" />
+						</table>
+
+						<a name="related"></a>
+						<inp2:m_include template="in-commerce/blocks/products/products_related.tpl" data_exists="1"/>
+
+					</td>
+				</tr>
+			</table>
+		</td>
+	</tr>
+</table>
Index: themes/onlinestore/in-commerce/blocks/products/products_related.tpl
===================================================================
--- themes/onlinestore/in-commerce/blocks/products/products_related.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/blocks/products/products_related.tpl	(revision 0)
@@ -0,0 +1,53 @@
+<inp2:p_InitList list_name="list_related" types="related" except="displayed" parent_cat_id="any" per_page="-1" />
+
+<inp2:m_DefineElement name="product_image">
+	<img src="<inp2:m_param name="img_path" />" title="<inp2:m_param name="alt" />" alt="<inp2:m_param name="alt" />" <inp2:m_param name="img_size" /> border="0" /><br/>
+</inp2:m_DefineElement>
+
+<table border="0" cellspacing="0" cellpadding="0" class="block-no-border">
+	<tr>
+		<td class="block-header"><inp2:m_Phrase label="lu_comm_RelatedProducts"/></td>
+	</tr>
+	<tr>
+		<td class="block-data">
+			<table>
+				<inp2:m_DefineElement name="product_row_start">
+					<tr>
+				</inp2:m_DefineElement>
+
+				<inp2:m_DefineElement name="product_elem">
+					<td width="16%" align="center" valign="top" class="block-data">
+						<a href="<inp2:ProductLink template="__default__"/>"><inp2:Image render_as="product_image" thumbnail="1" DefaultImage="in-commerce/img/no_picture_list.gif" MaxWidth="120" MaxHeight="120" DefaultWidth="120" /></a><br />
+						<inp2:m_if check="Available">
+							<a href="<inp2:AddToCartLink template="in-commerce/checkout/shop_cart" product_template="__default__"/>" class="link-product2"><strong><inp2:m_Phrase label="lu_comm_BuyNow"/></strong></a>
+							<a href="<inp2:AddToCartLink template="in-commerce/checkout/shop_cart" product_template="__default__"/>"><img src="in-commerce/img/buy2.gif" alt="<inp2:m_Phrase label="lu_comm_BuyNow" no_editing="1"/>" width="15" height="17" border="0" vspace="4" style="vertical-align:middle" /></a>
+						<inp2:m_else />
+							<strong><inp2:m_phrase label="lu_comm_outofstock"/></strong>
+						</inp2:m_if>
+					</td>
+					<td width="84%" class="block-data">
+						<a href="<inp2:ProductLink template="__default__"/>" class="link-product2"><strong><inp2:Field field="Name" /></strong></a>
+						<inp2:m_if check="Available">
+							<a href="<inp2:AddToCartLink template="in-commerce/checkout/shop_cart" product_template="__default__"/>"><img src="in-commerce/img/buy2.gif" alt="" width="15" height="17" border="0" style="vertical-align:middle" /></a>
+						</inp2:m_if>
+						<br />
+						<inp2:m_if check="Field" name="MSRP"><strong><inp2:m_Phrase label="lu_comm_MSRP"/>:</strong> <span class="price-msrp"><inp2:Field name="MSRP" currency="selected"/></span> <br /> </inp2:m_if>
+						<strong><inp2:m_Phrase label="lu_comm_OurPrice"/>:</strong> <span class="price1"><inp2:Field name="Price" currency="selected"/></span> <br />
+						<strong><inp2:m_Phrase label="lu_comm_Description"/>:</strong> <inp2:Field name="DescriptionExcerpt"/>
+					</td>
+				</inp2:m_DefineElement>
+
+				<inp2:m_DefineElement name="product_row_end">
+					</tr>
+					<inp2:m_if check="NotLastItem">
+						<tr class="separator">
+							<td colspan="2" ><img src="img/s.gif" alt="" width="1" height="1" /></td>
+						</tr>
+					</inp2:m_if>
+				</inp2:m_DefineElement>
+
+				<inp2:p_ListRelatedProducts list_name="list_related" columns="1" direction="V" render_as="product_elem" row_start_render_as="product_row_start" row_end_render_as="product_row_end" empty_cell_render_as="product_empty_cell" />
+			</table>
+		</td>
+	</tr>
+</table>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/blocks/products/form_options.tpl
===================================================================
--- themes/onlinestore/in-commerce/blocks/products/form_options.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/blocks/products/form_options.tpl	(revision 0)
@@ -0,0 +1,148 @@
+
+
+
+
+<inp2:m_if check="p_ShouldListOptions">
+		<form name="add_to_cart" method="post" id="add_to_cart" action="<inp2:m_link pass="all,p"/>">
+		<input type="hidden" name="events[ord]" id="events[ord]" value="OnAddToCart">
+		<input type="hidden" name="m_t" value="in-commerce/checkout/shop_cart">
+		<input type="hidden" name="p_id" value="<inp2:p_Field name="ProductId"/>">
+		<input type="hidden" name="product_details_template" value="<inp2:m_Get var="t"/>">
+		<input type="hidden" name="shop_cart_template" value="in-commerce/checkout/shop_cart">
+
+	<inp2:m_if check="p_OptionsHaveError">
+		<table class="warning">
+			<tr>
+				<td valign="top" align="left" class="block-data">
+					<img src="img/message.gif" alt="" width="19" height="19" />
+					<span class="warning-text"><inp2:m_Phrase label="lu_Warning"/></span><br />
+					<inp2:p_OptionsError required="lu_comm_OptionsRequired" not_available="lu_comm_OptionsNotAvailable"/>
+				</td>
+			</tr>
+		</table>
+	</inp2:m_if>
+
+	<inp2:m_if check="p_FieldEquals" field="OptionsSelectionMode" value="1"> <!-- Listable options (combinations) -->
+
+		<script type="text/javascript">
+			function BuyCombination(comb_id)
+			{
+				document.getElementById('qty[<inp2:p_Field name="ProductId"/>]['+comb_id+']').value = 1;
+				document.getElementById('add_to_cart').submit();
+			}
+		</script>
+
+		<inp2:m_DefineElement name="combination_option_element">
+			<strong><inp2:m_Param name="option_name" />: </strong>
+			<inp2:m_Param name="option_value" /><inp2:m_if check="m_ParamEquals" param="is_last" value="1"><inp2:m_else/>, </inp2:m_if>
+		</inp2:m_DefineElement>
+
+		<inp2:m_DefineElement name="combination_element">
+			<tr class="cart-item-small">
+				<td>
+					<input type="hidden" id="qty[<inp2:p_Field name="ProductId"/>][<inp2:Field name="CombinationId"/>]" name="qty[<inp2:p_Field name="ProductId"/>][<inp2:Field name="CombinationId"/>]" value="0">
+					<inp2:ShowCombination render_as="combination_option_element"/>
+				</td>
+				<td>
+					<inp2:Field name="FinalPrice" currency="selected"/>
+				</td>
+				<td>
+					<a href="javascript:BuyCombination(<inp2:Field name="CombinationId"/>)"><inp2:m_Phrase label="lu_comm_BuyNow"/></a>
+				</td>
+			</tr>
+		</inp2:m_DefineElement>
+		<table style="margin: 0px;">
+			<tr class="cart-header">
+				<td><inp2:m_Phrase label="lu_comm_OptionsCombination"/></td>
+				<td><inp2:m_Phrase label="lu_comm_Price"/></td>
+				<td>&nbsp;</td>
+			</tr>
+
+			<inp2:poc_PrintList2 per_page="-1" render_as="combination_element" row_start_render_as="html:" row_end_render_as="html:"/>
+		</table>
+		<br/>
+	<inp2:m_else/> <!-- Selectable options -->
+		<script type="text/javascript">
+			function AddToCart()
+			{
+				document.getElementById('add_to_cart').submit();
+			}
+
+			function UpdateOptions()
+			{
+				document.getElementById('events[ord]').value = 'OnUpdateItemOptions';
+				document.getElementById('add_to_cart').submit();
+			}
+
+		</script>
+
+		<strong><inp2:m_Phrase label="lu_comm_SelectOptions"/>:</strong><br/>
+
+		<inp2:m_DefineElement name="option_select_element">
+				<option value="<inp2:m_param name="id"/>" <inp2:m_param name="selected"/>><inp2:m_param name="value"/><inp2:m_if check="m_ParamEquals" name="price" value=""><inp2:m_else/>: (<inp2:m_param name="sign"/><inp2:m_param name="price"/> <inp2:m_param name="price_type"/>)</inp2:m_if></option>
+		</inp2:m_DefineElement>
+
+		<inp2:m_DefineElement name="option_cb_element">
+				<input type="checkbox" <inp2:m_param name="selected"/>
+							name="options[<inp2:p_Field name="ProductId"/>][<inp2:Field name="ProductOptionId"/>][]"
+							id="options[<inp2:p_Field name="ProductId"/>][<inp2:Field name="ProductOptionId"/>]_<inp2:m_param name="id"/>"
+							value="<inp2:m_param name="id"/>" />
+					<label for="options[<inp2:p_Field name="ProductId"/>][<inp2:Field name="ProductOptionId"/>]_<inp2:m_param name="id"/>">
+						<inp2:m_param name="value"/><inp2:m_if check="m_ParamEquals" name="price" value=""><inp2:m_else/>: (<inp2:m_param name="sign"/><inp2:m_param name="price"/> <inp2:m_param name="price_type"/>)</inp2:m_if>&nbsp;&nbsp;
+					</label>
+		</inp2:m_DefineElement>
+
+		<inp2:m_DefineElement name="option_radio_element">
+				<input type="radio" <inp2:m_param name="selected"/>
+							name="options[<inp2:p_Field name="ProductId"/>][<inp2:Field name="ProductOptionId"/>]"
+							id="options[<inp2:p_Field name="ProductId"/>][<inp2:Field name="ProductOptionId"/>]_<inp2:m_param name="id"/>"
+							value="<inp2:m_param name="id"/>" />
+					<label for="options[<inp2:p_Field name="ProductId"/>][<inp2:Field name="ProductOptionId"/>]_<inp2:m_param name="id"/>">
+						<inp2:m_param name="value"/><inp2:m_if check="m_ParamEquals" name="price" value=""><inp2:m_else/>: (<inp2:m_param name="sign"/><inp2:m_param name="price"/> <inp2:m_param name="price_type"/>)</inp2:m_if>&nbsp;&nbsp;
+					</label>
+		</inp2:m_DefineElement>
+
+		<inp2:m_DefineElement name="option_element">
+			<tr>
+				<td style="padding-right: 10px">
+					<inp2:Field name="Name"/><inp2:m_if check="FieldEquals" field="Required" value="1"><span class="error">*</span></inp2:m_if> :
+				</td>
+				<td>
+					<inp2:m_if check="FieldEquals" field="OptionType" value="1"> <!-- drop-down -->
+						<select name="options[<inp2:p_Field name="ProductId"/>][<inp2:Field name="ProductOptionId"/>]">
+							<option value=""></option>
+							<inp2:ShowOptions render_as="option_select_element" currency="selected"/>
+						</select>
+					</inp2:m_if>
+
+					<inp2:m_if check="FieldEquals" field="OptionType" value="5"> <!-- editbox -->
+						<input type="text" name="options[<inp2:p_Field name="ProductId"/>][<inp2:Field name="ProductOptionId"/>]" value="<inp2:OptionData/>"/>
+					</inp2:m_if>
+
+					<inp2:m_if check="FieldEquals" field="OptionType" value="4"> <!-- textarea -->
+						<textarea cols="50" rows="5" name="options[<inp2:p_Field name="ProductId"/>][<inp2:Field name="ProductOptionId"/>]"><inp2:OptionData/></textarea>
+					</inp2:m_if>
+
+					<inp2:m_if check="FieldEquals" field="OptionType" value="6"> <!-- checkboxeS -->
+						<inp2:ShowOptions render_as="option_cb_element" currency="selected"/>
+					</inp2:m_if>
+
+					<inp2:m_if check="FieldEquals" field="OptionType" value="3"> <!-- radio buttons -->
+						<inp2:ShowOptions render_as="option_radio_element" currency="selected"/>
+					</inp2:m_if>
+				</td>
+			</tr>
+		</inp2:m_DefineElement>
+
+		<table class="form-data" style="margin: 0px;" >
+			<inp2:p_ListOptions per_page="-1" render_as="option_element" row_start_render_as="html:" row_end_render_as="html:"/>
+		</table>
+		<inp2:m_if check="p_OptionsUpdateMode">
+			<a href="javascript:UpdateOptions()" class="price2"><inp2:m_Phrase label="lu_comm_UpdateCartItem"/></a><br/>
+		<inp2:m_else/>
+			<a href="javascript:AddToCart()" class="price2"><inp2:m_Phrase label="lu_comm_BuyNow"/></a><br/>
+		</inp2:m_if>
+		<br/>
+	</inp2:m_if>
+	</form>
+</inp2:m_if>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/blocks/products/products_featured_list.tpl
===================================================================
--- themes/onlinestore/in-commerce/blocks/products/products_featured_list.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/blocks/products/products_featured_list.tpl	(revision 0)
@@ -0,0 +1,61 @@
+<inp2:p_InitList list_name="list_featured" per_page="default" types="featured" except="displayed" recursive="true" />
+
+<inp2:m_DefineElement name="product_image">
+	<img src="<inp2:m_param name="img_path" />" title="<inp2:m_param name="alt" />" alt="<inp2:m_param name="alt" />" <inp2:m_param name="img_size" /> border="0" /><br/>
+</inp2:m_DefineElement>
+
+<table border="0" cellspacing="0" cellpadding="0" class="block-no-border">
+	<tr>
+		<td class="block-header"><inp2:m_Phrase label="lu_comm_FeaturedProducts"/></td>
+	</tr>
+	<tr>
+		<td class="block-data">
+
+			<table>
+		  		<tr>
+		  			<td style="width: 300px">
+		  				<inp2:m_include template="in-commerce/blocks/products/products_sorting" list_name="list_featured" />
+		  			</td>
+		  			<td style="text-align: center;">
+		  				<inp2:m_include template="in-commerce/blocks/products/products_pagination" list_name="list_featured" />
+		  			</td>
+		  		</tr>
+		  	</table>
+  	
+  			<br />
+
+	  		<table>
+				<inp2:m_DefineElement name="product_row_start">
+					<tr>
+				</inp2:m_DefineElement>
+				
+				<inp2:m_DefineElement name="product_elem">
+				    <td width="16%" align="center" valign="top" class="block-data">
+				    	<a href="<inp2:ProductLink template="__default__"/>"><inp2:Image render_as="product_image" thumbnail="1" DefaultImage="in-commerce/img/no_picture_list.gif" MaxWidth="120" MaxHeight="120" DefaultWidth="120" /></a>
+				    </td>
+				    <td width="84%" class="block-data"> 
+				    	<a href="<inp2:ProductLink template="__default__"/>" class="link-product2"><strong><inp2:Field field="Name" /></strong></a>
+				    	<inp2:m_if check="Available">
+				    		<a href="<inp2:AddToCartLink template="in-commerce/checkout/shop_cart" product_template="__default__"/>"><img src="in-commerce/img/buy2.gif" alt="" width="15" height="17" border="0" style="vertical-align:middle" /></a><br />
+				    	</inp2:m_if>
+				    	<inp2:m_if check="Field" name="MSRP"><strong><inp2:m_Phrase label="lu_comm_MSRP"/>:</strong> <span class="price-msrp"><inp2:Field name="MSRP" currency="selected"/></span> <br /> </inp2:m_if>
+					    <strong><inp2:m_Phrase label="lu_comm_OurPrice"/>:</strong> <span class="price1"><inp2:Field name="Price" currency="selected"/></span> <br />
+					    <strong><inp2:m_Phrase label="lu_comm_Description"/>:</strong> <inp2:Field name="DescriptionExcerpt"/>
+				    </td>
+				</inp2:m_DefineElement>
+			  
+				<inp2:m_DefineElement name="product_row_end">
+					</tr>
+				  	<inp2:m_if check="NotLastItem">
+						<tr>
+						   	<td colspan="2" style="background: #CCCCCC; height: 1px; padding: 0px"><img src="img/s.gif" alt="" width="1" height="1" /></td>
+						</tr>
+					</inp2:m_if>
+				</inp2:m_DefineElement>
+				
+				<inp2:p_ListProducts list_name="list_featured" columns="1" direction="V" render_as="product_elem" row_start_render_as="product_row_start" row_end_render_as="product_row_end" empty_cell_render_as="product_empty_cell" />
+			</table>
+			
+		</td>
+	</tr>
+</table>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/blocks/products/form_review_product.tpl
===================================================================
--- themes/onlinestore/in-commerce/blocks/products/form_review_product.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/blocks/products/form_review_product.tpl	(revision 0)
@@ -0,0 +1,90 @@
+<inp2:m_DefineElement name="product_star_on">
+	<img src="img/star_rate.gif" alt="">
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="product_image">
+	<img src="<inp2:m_param name="img_path" />" title="<inp2:m_param name="alt" />" alt="<inp2:m_param name="alt" />" <inp2:m_param name="img_size" /> border="0" /><br/>
+</inp2:m_DefineElement>
+
+<table class="block-no-border">
+	<tr>
+		<td class="block-header"><inp2:m_Phrase label="lu_comm_ReviewProduct"/></td>
+	</tr>
+	<tr>
+		<td class="block-data-single">
+
+			<table>
+				<tr>
+					<td width="16%" align="center" valign="top" class="block-data">
+						<a href="<inp2:p_ProductLink template="__default__"/>"><inp2:p_Image render_as="product_image" thumbnail="1" DefaultImage="in-commerce/img/no_picture_list.gif" MaxWidth="120" MaxHeight="120" DefaultWidth="120" /></a>
+						<inp2:m_if check="p_Available">
+							<a href="<inp2:p_AddToCartLink template="in-commerce/checkout/shop_cart" product_template="__default__"/>" class="link-product2"><strong><inp2:m_Phrase label="lu_comm_BuyNow"/></strong></a>
+							<a href="<inp2:p_AddToCartLink template="in-commerce/checkout/shop_cart" product_template="__default__"/>"><img src="in-commerce/img/buy2.gif" alt="<inp2:m_Phrase label="lu_comm_BuyNow" no_editing="1"/>" width="15" height="17" border="0" vspace="4" style="vertical-align:middle" /></a>
+						<inp2:m_else />
+							<strong><inp2:m_phrase label="lu_comm_outofstock"/></strong>
+						</inp2:m_if>
+					</td>
+					<td width="84%" class="block-data">
+						<a href="<inp2:p_ProductLink template="__default__"/>" class="link-product2"><strong><inp2:p_Field field="Name" /></strong></a>
+						<inp2:m_if check="p_Available">
+							<a href="<inp2:p_AddToCartLink template="in-commerce/checkout/shop_cart" product_template="__default__"/>"><img src="in-commerce/img/buy2.gif" alt="" width="15" height="17" border="0" style="vertical-align:middle" /></a>
+						</inp2:m_if>
+						<br />
+						<inp2:m_if check="p_Field" name="MSRP"><strong><inp2:m_Phrase label="lu_comm_MSRP"/>:</strong> <span class="price-msrp"><inp2:p_Field name="MSRP" currency="selected"/></span> <br /> </inp2:m_if>
+						<strong><inp2:m_Phrase label="lu_comm_OurPrice"/>:</strong> <span class="price1"><inp2:p_Field name="Price" currency="selected"/></span> <br />
+						<strong><inp2:m_Phrase label="lu_comm_Description"/>:</strong> <inp2:p_Field name="DescriptionExcerpt"/><br />
+						<br />
+
+						<inp2:m_if check="p_AlreadyReviewed">
+							<table class="warning">
+								<tr>
+									<td valign="top" align="left" class="block-data">
+										<img src="img/message.gif" alt="" width="19" height="19" />
+										<span class="warning-text"><inp2:m_Phrase label="lu_Warning"/></span><br />
+										<inp2:m_Phrase label="lu_comm_ErrorAlreadyReviewed"/>.
+									</td>
+								</tr>
+							</table>
+							<table>
+								<inp2:m_DefineElement name="review_row">
+									<td>
+										<strong><inp2:m_Phrase label="lu_comm_ReviewBy"/> <inp2:Field name="ReviewedBy"/></strong>, <inp2:Field name="CreatedOn" format="_regional_DateFormat"/><br />
+										<br />
+										<inp2:field field="ReviewText"/><br />
+										<hr />
+									</td>
+								</inp2:m_DefineElement>
+								<inp2:p_ListReviews type="current_user" render_as="review_row" per_page="-1" main_special=""/>
+							</table>
+						<inp2:m_else />
+
+							<inp2:m_if check="rev.product_HasError" field="ReviewText">
+								<table class="warning">
+									<tr>
+										<td valign="top" align="left" class="block-data">
+											<img src="img/message.gif" alt="" width="19" height="19" />
+											<span class="warning-text"><inp2:m_Phrase label="lu_Warning"/></span><br />
+											<inp2:rev.product_Error field="ReviewText" />
+										</td>
+									</tr>
+								</table>
+							</inp2:m_if>
+							<form method="POST" action="<inp2:m_FormAction />">
+								<strong><inp2:m_Phrase label="lu_comm_YourReviewText"/>:</strong><br />
+								<textarea name="<inp2:rev.product_InputName field="ReviewText"/>" cols="60" rows="15"><inp2:rev.product_field field="ReviewText"/></textarea><br />
+								<br />
+								<input type="hidden" name="success_template" value="__default__" />
+								<input type="hidden" name="cancel_template" value="__default__" />
+								<input type="submit" name="events[rev.product][OnAddReview]" class="button" value="<inp2:m_Phrase label="lu_add_review" no_editing="1"/>">
+								<input type="submit" name="events[p][OnCancelAction]" class="button" value="<inp2:m_Phrase label="lu_Cancel" no_editing="1"/>">
+							</form>
+						</inp2:m_if>
+					</td>
+				</tr>
+			</table>
+
+			<br />
+
+		</td>
+	</tr>
+</table>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/blocks/products/products_recent.tpl
===================================================================
--- themes/onlinestore/in-commerce/blocks/products/products_recent.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/blocks/products/products_recent.tpl	(revision 0)
@@ -0,0 +1,32 @@
+<inp2:p_InitList list_name="list_recent" types="recent" parent_cat_id="any" recursive="true" per_page="short_list" except="in_cart" />
+
+<table class="block">
+	<tr>
+		<td class="block-header"><inp2:m_Phrase label="lu_comm_RecentlyViewed"/></td>
+	</tr>
+	<tr>
+		<td class="block-data-big">
+			<table>
+				<inp2:m_DefineElement name="recent_product">
+				<td>
+						<a href="<inp2:ProductLink template="__default__"/>"><strong><inp2:Field field="Name" /></strong></a><br />
+						<inp2:Field field="DescriptionExcerpt" first_chars="70" /><br />
+						<span class="price"><strong><inp2:Field name="Price" currency="selected" /></strong></span><br />
+						<br />
+				</td>
+				</inp2:m_DefineElement>
+
+				<inp2:p_ListProducts list_name="list_recent" render_as="recent_product" columns="1" />
+			</table>
+
+			<inp2:m_DefineElement name="more_link">
+				<a href="<inp2:m_Link template="in-commerce/store/recent" />"><inp2:m_Phrase label="lu_comm_MoreLink"/>...</a><br />
+			</inp2:m_DefineElement>
+			<inp2:p_MoreLink list_name="list_recent" render_as="more_link" />
+			<img src="img/s.gif" alt="" width="5" height="10" border="0" /><br />
+			<form method="post" action="<inp2:m_FormAction />">
+				<input class="button" type="submit" name="events[p][OnClearRecent]" value="<inp2:m_Phrase label="lu_comm_Clear" no_editing="1"/>"/>
+			</form>
+		</td>
+	</tr>
+</table>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/blocks/products/products_topsellers_list.tpl
===================================================================
--- themes/onlinestore/in-commerce/blocks/products/products_topsellers_list.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/blocks/products/products_topsellers_list.tpl	(revision 0)
@@ -0,0 +1,62 @@
+<inp2:p_InitList list_name="list_top_sellers" per_page="default" types="hot" except="displayed" recursive="true" />
+
+<inp2:m_DefineElement name="product_image">
+	<img src="<inp2:m_param name="img_path" />" title="<inp2:m_param name="alt" />" alt="<inp2:m_param name="alt" />" <inp2:m_param name="img_size" /> border="0" /><br/>
+</inp2:m_DefineElement>
+
+<table border="0" cellspacing="0" cellpadding="0" class="block-no-border"> 
+	<tr>
+		<td class="block-header"><inp2:m_Phrase label="lu_comm_TopSellers"/></td>
+	</tr>
+	<tr>
+		<td class="block-data">
+	
+			<table>
+				<tr>
+		  			<td style="width: 300px">
+		  				<inp2:m_include template="in-commerce/blocks/products/products_sorting" list_name="list_top_sellers" />
+		  			</td>
+		  			<td style="text-align: center;">
+		  				<inp2:m_include template="in-commerce/blocks/products/products_pagination" list_name="list_top_sellers" />
+		  			</td>
+		  		</tr>
+		  	</table>
+	
+		  	<br />
+	  	
+	  		<table>
+				<inp2:m_DefineElement name="product_row_start">
+					<tr>
+				</inp2:m_DefineElement>
+				
+				<inp2:m_DefineElement name="product_elem">
+					<td width="16%" align="center" valign="top" class="block-data">
+						<a href="<inp2:ProductLink template="__default__"/>"><inp2:Image render_as="product_image" thumbnail="1" DefaultImage="in-commerce/img/no_picture_list.gif" MaxWidth="120" MaxHeight="120" DefaultWidth="120" /></a>
+					</td>
+					<td width="84%" class="block-data">
+						<a href="<inp2:ProductLink template="__default__"/>" class="link-product2"><strong><inp2:Field field="Name" /></strong></a>
+						<inp2:m_if check="Available">
+							<a href="<inp2:AddToCartLink template="in-commerce/checkout/shop_cart" product_template="__default__"/>"><img src="in-commerce/img/buy2.gif" alt="" width="15" height="17" border="0" style="vertical-align:middle" /></a>
+						</inp2:m_if>
+						<br />
+						<inp2:m_if check="Field" name="MSRP"><strong><inp2:m_Phrase label="lu_comm_MSRP"/>:</strong> <span class="price-msrp"><inp2:Field name="MSRP" currency="selected"/></span> <br /> </inp2:m_if>
+						<strong><inp2:m_Phrase label="lu_comm_OurPrice"/>:</strong> <span class="price1"><inp2:Field name="Price" currency="selected"/></span> <br />
+						<strong><inp2:m_Phrase label="lu_comm_Description"/>:</strong> <inp2:Field name="DescriptionExcerpt"/>
+					</td>
+				</inp2:m_DefineElement>
+			  
+				<inp2:m_DefineElement name="product_row_end">
+					</tr>
+				  	<inp2:m_if check="NotLastItem">
+					  	<tr>
+							<td colspan="2" style="background: #CCCCCC; height: 1px; padding: 0px"><img src="img/s.gif" alt="" width="1" height="1" /></td>
+					  	</tr>
+					</inp2:m_if>
+				</inp2:m_DefineElement>
+				
+				<inp2:p_ListProducts list_name="list_top_sellers" columns="1" direction="V" render_as="product_elem" row_start_render_as="product_row_start" row_end_render_as="product_row_end" empty_cell_render_as="product_empty_cell" />
+			</table>
+			
+		</td>
+	</tr>
+</table>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/blocks/products/product_fullsize_image.tpl
===================================================================
--- themes/onlinestore/in-commerce/blocks/products/product_fullsize_image.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/blocks/products/product_fullsize_image.tpl	(revision 0)
@@ -0,0 +1,6 @@
+<inp2:m_DefineElement name="product_image">
+	<img src="<inp2:m_param name="img_path" />" title="<inp2:m_param name="alt" />" alt="<inp2:m_param name="alt" />" <inp2:m_param name="img_size" /> border="0" /><br/>
+	<br /><br />
+</inp2:m_DefineElement>
+
+<div align="center"><inp2:p_Image render_as="product_image" DefaultImage="in-commerce/img/no_product.gif"/></div>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/blocks/products/product_actions.tpl
===================================================================
--- themes/onlinestore/in-commerce/blocks/products/product_actions.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/blocks/products/product_actions.tpl	(revision 0)
@@ -0,0 +1,29 @@
+	<table border="0" cellspacing="0" cellpadding="0" class="actions-block">
+		<tr>
+			<td class="actions-block-header"><inp2:m_Phrase label="lu_comm_Actions"/></td>
+		</tr>
+		<tr>
+			<td class="block-data">
+				<inp2:m_if check="p_Available">
+					<inp2:m_if check="p_ShouldListOptions" required_only="1"><inp2:m_else/>
+						<a href="<inp2:p_AddToCartLink template="in-commerce/checkout/shop_cart" product_template="__default__"/>"><inp2:m_Phrase label="lu_comm_BuyThisProduct"/></a><br />
+					</inp2:m_if>
+				<inp2:m_else />
+					<strong><inp2:m_phrase label="lu_comm_outofstock"/></strong><br />
+				</inp2:m_if>
+				<inp2:m_DefineElement name="add_to_wish_list">
+					<a href="<inp2:m_param name="wish_list_toggle_link" />"><inp2:m_Phrase label="lu_comm_AddToFavourites"/></a><br />
+				</inp2:m_DefineElement>
+				<inp2:m_DefineElement name="remove_from_wish_list">
+					<a href="<inp2:m_param name="wish_list_toggle_link" />"><inp2:m_Phrase label="lu_comm_RemoveFromFav"/></a><br />
+				</inp2:m_DefineElement>
+				<inp2:p_WishListToggleLink add_to_wish_list_render_as="add_to_wish_list" template_on_add="in-commerce/my_account/wishlist.tpl" remove_from_wish_list_render_as="remove_from_wish_list" />
+				<br />
+				<a href="<inp2:p_ProductLink template="__default__" />#reviews"><inp2:m_Phrase label="lu_comm_ViewReviews"/></a><br />
+				<a href="<inp2:p_ProductLink template="__default__" />#related"><inp2:m_Phrase label="lu_comm_ViewRelatedProducts"/></a><br />
+				<a href="<inp2:p_ProductLink template="in-commerce/product/review_product"/>"><inp2:m_Phrase label="lu_comm_ReviewThisProduct"/></a><br />
+				<a href="<inp2:p_ProductLink template="in-commerce/product/rate_product" />"><inp2:m_Phrase label="lu_comm_RateThisProduct"/></a><br />
+				<a href="<inp2:p_ProductLink template="in-commerce/product/recommend_product" />"><inp2:m_Phrase label="lu_comm_RecommendThisProduct"/></a><br />
+			</td>
+		</tr>
+	</table>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/blocks/products/products_picks.tpl
===================================================================
--- themes/onlinestore/in-commerce/blocks/products/products_picks.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/blocks/products/products_picks.tpl	(revision 0)
@@ -0,0 +1,57 @@
+<inp2:p_InitList list_name="list_picks" types="pick" except="displayed" recursive="true" per_page="short_list" />
+
+<inp2:m_DefineElement name="product_image">
+	<img src="<inp2:m_param name="img_path" />" title="<inp2:m_param name="alt" />" alt="<inp2:m_param name="alt" />" <inp2:m_param name="img_size" /> border="0" /><br/>
+</inp2:m_DefineElement>
+
+<table border="0" cellspacing="0" cellpadding="0" class="pick-products-block">
+	<tr>
+		<td class="pick-products-block-header"><inp2:m_Phrase label="lu_comm_EditorsPick"/></td>
+	</tr>
+	<tr>
+		<td class="block-data">
+			<table>
+				<inp2:m_DefineElement name="product_row_start">
+					<tr>
+				</inp2:m_DefineElement>
+
+				<inp2:m_DefineElement name="product_elem">
+					<td width="16%" align="center" valign="top" class="block-data">
+						<a href="<inp2:ProductLink template="__default__"/>"><inp2:Image render_as="product_image" thumbnail="1" DefaultImage="in-commerce/img/no_picture_list.gif" MaxWidth="120" MaxHeight="120" DefaultWidth="120" /></a><br />
+						<inp2:m_if check="Available">
+							<a href="<inp2:AddToCartLink template="in-commerce/checkout/shop_cart" product_template="__default__"/>" class="link-product2"><strong><inp2:m_Phrase label="lu_comm_BuyNow"/></strong></a>
+							<a href="<inp2:AddToCartLink template="in-commerce/checkout/shop_cart" product_template="__default__"/>"><img src="in-commerce/img/buy2.gif" alt="<inp2:m_Phrase label="lu_comm_BuyNow" no_editing="1"/>" width="15" height="17" border="0" vspace="4" style="vertical-align:middle" /></a>
+						<inp2:m_else />
+							<strong><inp2:m_phrase label="lu_comm_outofstock"/></strong>
+						</inp2:m_if>
+					</td>
+					<td width="84%" class="block-data"> 
+						<a href="<inp2:ProductLink template="__default__"/>" class="link-product2"><strong><inp2:Field field="Name" /></strong></a>
+						<inp2:m_if check="Available">
+							<a href="<inp2:AddToCartLink template="in-commerce/checkout/shop_cart" product_template="__default__"/>"><img src="in-commerce/img/buy2.gif" alt="" width="15" height="17" border="0" style="vertical-align:middle" /></a>
+						</inp2:m_if>
+						<br />
+						<inp2:m_if check="Field" name="MSRP"><strong><inp2:m_Phrase label="lu_comm_MSRP"/>:</strong> <span class="price-msrp"><inp2:Field name="MSRP" currency="selected"/></span> <br /> </inp2:m_if>
+						<strong><inp2:m_Phrase label="lu_comm_OurPrice"/>:</strong> <span class="price1"><inp2:Field name="Price" currency="selected"/></span> <br />
+						<strong><inp2:m_Phrase label="lu_comm_Description"/>:</strong> <inp2:Field name="DescriptionExcerpt"/>
+					</td>
+				</inp2:m_DefineElement>
+
+				<inp2:m_DefineElement name="product_row_end">
+					</tr>
+					<inp2:m_if check="NotLastItem">
+						<tr class="separator">
+							<td colspan="2" ><img src="img/s.gif" alt="" width="1" height="1" /></td>
+						</tr>
+					</inp2:m_if>
+				</inp2:m_DefineElement>
+
+				<inp2:p_ListProducts list_name="list_picks" columns="1" direction="V" render_as="product_elem" row_start_render_as="product_row_start" row_end_render_as="product_row_end" empty_cell_render_as="product_empty_cell" />
+			</table>
+			<inp2:m_DefineElement name="more_link">
+				<a href="<inp2:m_Link template="in-commerce/store/editor_pick_products" />"><inp2:m_Phrase label="lu_comm_MoreLink"/>...</a>
+			</inp2:m_DefineElement>
+			<inp2:p_MoreLink list_name="list_picks"	render_as="more_link"/>
+		</td>
+	</tr>
+</table>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/blocks/products/form_rate_product.tpl
===================================================================
--- themes/onlinestore/in-commerce/blocks/products/form_rate_product.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/blocks/products/form_rate_product.tpl	(revision 0)
@@ -0,0 +1,77 @@
+<inp2:m_DefineElement name="product_image">
+	<img src="<inp2:m_param name="img_path" />" title="<inp2:m_param name="alt" />" alt="<inp2:m_param name="alt" />" <inp2:m_param name="img_size" /> border="0" /><br/>
+</inp2:m_DefineElement>
+
+<table class="block-no-border">
+	<tr>
+		<td class="block-header"><inp2:m_Phrase label="lu_comm_RateProduct"/></td>
+	</tr>
+	<tr>
+		<td class="block-data-single">
+
+			<table>
+				<tr>
+					<td width="16%" align="center" valign="top" class="block-data">
+						<a href="<inp2:p_ProductLink template="__default__"/>"><inp2:p_Image render_as="product_image" thumbnail="1" DefaultImage="in-commerce/img/no_picture_list.gif" MaxWidth="120" MaxHeight="120" DefaultWidth="120" /></a>
+						<inp2:m_if check="p_Available">
+							<a href="<inp2:p_AddToCartLink template="in-commerce/checkout/shop_cart" product_template="__default__"/>" class="link-product2"><strong><inp2:m_Phrase label="lu_comm_BuyNow"/></strong></a>
+							<a href="<inp2:p_AddToCartLink template="in-commerce/checkout/shop_cart" product_template="__default__"/>"><img src="in-commerce/img/buy2.gif" alt="<inp2:m_Phrase label="lu_comm_BuyNow" no_editing="1"/>" width="15" height="17" border="0" vspace="4" style="vertical-align:middle" /></a>
+						<inp2:m_else />
+							<strong><inp2:m_phrase label="lu_comm_outofstock"/></strong>
+						</inp2:m_if>
+					</td>
+					<td width="84%" class="block-data">
+						<a href="<inp2:p_ProductLink template="__default__"/>" class="link-product2"><strong><inp2:p_Field field="Name" /></strong></a>
+						<inp2:m_if check="p_Available">
+							<a href="<inp2:p_AddToCartLink template="in-commerce/checkout/shop_cart" product_template="__default__"/>"><img src="in-commerce/img/buy2.gif" alt="" width="15" height="17" border="0" style="vertical-align:middle" /></a>
+						</inp2:m_if>
+						<br />
+						<inp2:m_if check="p_Field" name="MSRP"><strong><inp2:m_Phrase label="lu_comm_MSRP"/>:</strong> <span class="price-msrp"><inp2:p_Field name="MSRP" currency="selected"/></span> <br /> </inp2:m_if>
+						<strong><inp2:m_Phrase label="lu_comm_OurPrice"/>:</strong> <span class="price1"><inp2:p_Field name="Price" currency="selected"/></span> <br />
+						<strong><inp2:m_Phrase label="lu_comm_Description"/>:</strong> <inp2:p_Field name="DescriptionExcerpt"/><br />
+						<br />
+
+						<inp2:m_if check="p_HasError" field="CachedRating">
+							<table class="warning">
+								<tr>
+									<td valign="top" align="left" class="block-data">
+										<img src="img/message.gif" alt="" width="19" height="19" />
+										<span class="warning-text"><inp2:m_Phrase label="lu_Warning"/></span><br />
+										<inp2:p_Error field="CachedRating" />
+									</td>
+								</tr>
+							</table>
+						</inp2:m_if>
+
+						<strong><inp2:m_Phrase label="lu_comm_RateThisProduct"/></strong>
+						<form method="POST" action="<inp2:m_FormAction />">
+							<table style="width: 60%;">
+								<inp2:m_DefineElement name="product_star_on">
+									<img src="img/star_rate.gif" alt="" width="11" height="11">
+								</inp2:m_DefineElement>
+
+								<inp2:m_DefineElement name="product_rate_row">
+									<tr>
+										<td>&nbsp;</td>
+										<td>
+											<input type="radio" name="rating" value="<inp2:m_param name="rating"/>">
+											<inp2:m_param name="stars"/>
+										</td>
+										<td><inp2:m_param name="label"/></td>
+									</tr>
+								</inp2:m_DefineElement>
+								<inp2:p_RateForm render_as="product_rate_row" labels="lu_comm_RateExcellent,lu_comm_RateVeryGood,lu_comm_RateGood,lu_comm_RateAverage,lu_comm_RateFair,lu_comm_RatePoor" star_render_as="product_star_on"/>
+							</table>
+							<br />
+							<input type="hidden" name="success_template" value="__default__" />
+							<input type="hidden" name="cancel_template" value="__default__" />
+							<input type="submit" name="events[p][OnRateProduct]" class="button" value="<inp2:m_Phrase label="lu_btn_RateProduct" no_editing="1"/>">
+							<input type="submit" name="events[p][OnCancelAction]" class="button" value="<inp2:m_Phrase label="lu_Cancel" no_editing="1"/>">
+						</form>
+
+					</td>
+				</tr>
+			</table>
+		</td>
+	</tr>
+</table>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/blocks/products/products_wish_list.tpl
===================================================================
--- themes/onlinestore/in-commerce/blocks/products/products_wish_list.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/blocks/products/products_wish_list.tpl	(revision 0)
@@ -0,0 +1,75 @@
+<inp2:m_DefineElement name="product_image">
+	<img src="<inp2:m_param name="img_path" />" title="<inp2:m_param name="alt" />" alt="<inp2:m_param name="alt" />" <inp2:m_param name="img_size" /> border="0" /><br/>
+</inp2:m_DefineElement>
+
+<inp2:p_InitList list_name="wish_list" types="wish_list" parent_cat_id="any" recursive="true" per_page="default" />
+
+<table border="0" cellspacing="0" cellpadding="0" class="block-no-border">
+	<tr>
+		<td class="block-header"><inp2:m_Phrase label="lu_comm_YourWishList"/> (<inp2:p_TotalRecords list_name="wish_list" />)</td>
+	</tr>
+	<tr>
+		<td class="block-data">
+			<inp2:m_if check="p_TotalRecords" list_name="wish_list">
+				<table>
+					<tr>
+						<td style="width: 300px">
+							<inp2:m_include template="in-commerce/blocks/products/products_sorting" list_name="wish_list" />
+						</td>
+						<td style="text-align: center;">
+							<inp2:m_include template="in-commerce/blocks/products/products_pagination" list_name="wish_list" />
+						</td>
+					</tr>
+				</table>
+				<br />
+
+
+				<table>
+					<inp2:m_DefineElement name="product_row_start">
+						<tr>
+					</inp2:m_DefineElement>
+
+					<inp2:m_DefineElement name="product_elem">
+						<td width="16%" align="center" valign="top" class="block-data">
+							<a href="<inp2:ProductLink template="__default__"/>"><inp2:Image render_as="product_image" thumbnail="1" DefaultImage="in-commerce/img/no_picture_list.gif" MaxWidth="120" MaxHeight="120" DefaultWidth="120" /></a>
+						</td>
+						<td width="84%" class="block-data"> <a href="<inp2:ProductLink template="__default__"/>" class="link-product2"><strong><inp2:Field name="Name" /></strong></a>
+							<inp2:m_if check="p_Available">
+								<a href="<inp2:AddToCartLink template="in-commerce/checkout/shop_cart" product_template="__default__"/>"><img src="in-commerce/img/buy2.gif" alt="" width="15" height="17" border="0" style="vertical-align:middle" /></a><br />
+							</inp2:m_if>
+							<inp2:m_if check="Field" name="MSRP"><strong><inp2:m_Phrase label="lu_comm_MSRP"/>:</strong> <span class="price-msrp"><inp2:Field name="MSRP" currency="selected"/></span> <br /> </inp2:m_if>
+							<strong><inp2:m_Phrase label="lu_comm_OurPrice"/>:</strong> <span class="price1"><inp2:Field name="Price" currency="selected"/></span> <br />
+							<inp2:m_DefineElement name="add_to_wish_list">
+								<a href="<inp2:m_param name="wish_list_toggle_link" />"><inp2:m_Phrase label="lu_comm_AddToFav"/></a><br />
+							</inp2:m_DefineElement>
+							<inp2:m_DefineElement name="remove_from_wish_list">
+								<a href="<inp2:m_param name="wish_list_toggle_link" />"><inp2:m_Phrase label="lu_comm_RemoveFromFav"/></a><br />
+							</inp2:m_DefineElement>
+							<inp2:WishListToggleLink add_to_wish_list_render_as="add_to_wish_list" remove_from_wish_list_render_as="remove_from_wish_list" /><br />
+							<strong><inp2:m_Phrase label="lu_comm_Description"/>:</strong> <inp2:Field name="DescriptionExcerpt" />
+						</td>
+					</inp2:m_DefineElement>
+
+				 	<inp2:m_DefineElement name="product_row_end">
+						</tr>
+						<inp2:m_if check="NotLastItem">
+							<tr>
+								<td colspan="2" style="background: #CCCCCC; height: 1px; padding: 0px"><img src="img/s.gif" alt="" width="1" height="1" /></td>
+							</tr>
+						</inp2:m_if>
+					</inp2:m_DefineElement>
+					<inp2:p_ListProducts list_name="wish_list" columns="1" direction="V" render_as="product_elem" row_start_render_as="product_row_start" row_end_render_as="product_row_end" empty_cell_render_as="product_empty_cell" />
+				</table>
+			<inp2:m_else />
+				<tr>
+					<td>
+						<inp2:m_Phrase label="lu_comm_YourWishListEmpty"/><br />
+						<inp2:m_Phrase label="lu_comm_TryRecomendedProductd"/>.
+						<br /><br />
+						<inp2:m_include template="in-commerce/blocks/products/products_picks" />
+					</td>
+				</tr>
+			</inp2:m_if>
+		</td>
+	</tr>
+</table>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/blocks/products/products_pagination.tpl
===================================================================
--- themes/onlinestore/in-commerce/blocks/products/products_pagination.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/blocks/products/products_pagination.tpl	(revision 0)
@@ -0,0 +1,40 @@
+<inp2:m_DefineElement name="prev_page">
+		<a class="pagination-bar" href="<inp2:PageLink/>">&lt;&lt;</a>&nbsp;
+	</td>
+	<td>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="no_prev_page">
+	</td>
+	<td>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="page_current">
+	<strong><inp2:m_param name="page"/></strong>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="page_separator">
+	|
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="page_link">
+	<a class="pagination-bar" href="<inp2:PageLink/>"><inp2:m_param name="page"/></a>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="page_next">
+	<a class="pagination-bar" href="<inp2:PageLink/>">&gt;&gt;</a>
+</inp2:m_DefineElement>
+
+<table style="width: 100%; text-align: left;">
+	<tr>
+		<td style="width: 45%; text-align: right; ">
+			<strong><inp2:m_Phrase label="lu_comm_Page"/>:&nbsp;</strong>
+
+			<inp2:p_PaginationBar
+					current_render_as="page_current" separator_render_as="page_separator" link_render_as="page_link"
+					prev_page_render_as="prev_page" no_prev_page_render_as="no_prev_page"
+					next_page_render_as="page_next" />
+		</td>
+		<td>&nbsp;</td>
+	</tr>
+</table>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/blocks/products/products_current_cat.tpl
===================================================================
--- themes/onlinestore/in-commerce/blocks/products/products_current_cat.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/blocks/products/products_current_cat.tpl	(revision 0)
@@ -0,0 +1,62 @@
+<inp2:m_DefineElement name="product_image">
+	<img src="<inp2:m_param name="img_path" />" title="<inp2:m_param name="alt" />" alt="<inp2:m_param name="alt" />" <inp2:m_param name="img_size" /> border="0" /><br/>
+</inp2:m_DefineElement>
+
+<inp2:p_InitList list_name="products_in_current_cat" per_page="default" except="displayed"	/>
+
+<table class="block-no-border">
+	<tr>
+		<td class="block-header"><inp2:m_Phrase label="lu_comm_Products"/></td>
+	</tr>
+	<tr>
+		<td class="block-data">
+			<table>
+				<tr>
+					<td style="width: 50%">
+			 			<inp2:m_include template="in-commerce/blocks/products/products_sorting" list_name="products_in_current_cat" />
+					</td>
+					<td style="text-align: center;">
+						<inp2:m_include template="in-commerce/blocks/products/products_pagination" list_name="products_in_current_cat" />
+					</td>
+				</tr>
+			</table>
+
+			<table>
+				<inp2:m_DefineElement name="product_row_start">
+					<tr>
+				</inp2:m_DefineElement>
+
+				<inp2:m_DefineElement name="product_elem">
+					<td width="16%" align="center" valign="top" class="block-data">
+						<a href="<inp2:ProductLink template="__default__"/>"><inp2:Image render_as="product_image" Thumbnail="1" DefaultImage="in-commerce/img/no_picture_list.gif" MaxWidth="120" MaxHeight="120" DefaultWidth="120" /></a>
+					</td>
+					<td width="84%" class="block-data">
+						<a href="<inp2:ProductLink template="__default__"/>" class="link-product2"><strong><inp2:Field field="Name" /></strong></a>
+						<inp2:m_if check="Available">
+							<a href="<inp2:AddToCartLink template="in-commerce/checkout/shop_cart" product_template="__default__"/>"><img src="in-commerce/img/buy2.gif" alt="" width="15" height="17" border="0" style="vertical-align:middle" /></a>
+						</inp2:m_if>
+						<br />
+						<inp2:m_if check="Field" name="MSRP"><strong><inp2:m_Phrase label="lu_comm_MSRP"/>:</strong> <span class="price-msrp"><inp2:Field name="MSRP" currency="selected"/></span> <br /> </inp2:m_if>
+						<strong><inp2:m_Phrase label="lu_comm_OurPrice"/>:</strong> <span class="price1"><inp2:Field name="Price" currency="selected"/></span><br />
+						<strong><inp2:m_Phrase label="lu_comm_Description"/>:</strong> <inp2:Field name="DescriptionExcerpt"/>
+					</td>
+				</inp2:m_DefineElement>
+
+				<inp2:m_DefineElement name="product_row_end">
+						</tr>
+						<inp2:m_if check="NotLastItem">
+							<tr>
+								<td colspan="2" style="background: #CCCCCC; height: 1px; padding: 0px"><img src="img/s.gif" alt="" width="1" height="1" /></td>
+							</tr>
+						</inp2:m_if>
+				</inp2:m_DefineElement>
+
+				<inp2:p_ListProducts list_name="products_in_current_cat"
+						render_as="product_elem" row_start_render_as="product_row_start"
+						row_end_render_as="product_row_end" empty_cell_render_as="product_empty_cell"
+						columns="1" direction="V" />
+			</table>
+			<inp2:m_include template="in-commerce/blocks/products/products_pagination" list_name="products_in_current_cat" />
+		</td>
+	</tr>
+</table>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/blocks/products/products_search_results.tpl
===================================================================
--- themes/onlinestore/in-commerce/blocks/products/products_search_results.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/blocks/products/products_search_results.tpl	(revision 0)
@@ -0,0 +1,143 @@
+<inp2:m_DefineElement name="product_image">
+	<img src="<inp2:m_param name="img_path" />" title="<inp2:m_param name="alt" />" alt="<inp2:m_param name="alt" />" <inp2:m_param name="img_size" /> border="0" style="margin: 2px;"/><br/>
+</inp2:m_DefineElement>
+
+<inp2:p_InitList list_name="search_results" types="search" parent_cat_id="any" recursive="true" per_page="default" />
+
+<table border="0" cellspacing="0" cellpadding="0" class="block-no-border">
+	<tr>
+		<td class="block-header"><inp2:m_Phrase label="lu_comm_SearchResults"/> (<inp2:p_TotalRecords list_name="search_results" />)</td>
+	</tr>
+	<tr>
+		<td class="block-data">
+				<span style="text-align: center">
+					<form name="subsearch_form" id="subsearch_form" method="POST" action="<inp2:m_link template="in-commerce/store/search_results" />">
+						<input type="text" name="keywords" id="keywords" style="width: 300px" value="<inp2:p_SearchKeywords />" />&nbsp;
+						<input type="hidden" name="search_type" value="subsearch" />
+						<input class="button" type="submit" value="<inp2:m_Phrase label="lu_comm_SearchInResults" no_editing="1"/>" />
+					</form>
+				</span>
+				<br/>
+				<inp2:m_if check="m_ModuleEnabled" module="In-Edit">
+					<inp2:m_include template="in-edit/blocks/search_short_results"/>
+				</inp2:m_if>
+			<inp2:m_if check="p_TotalRecords" list_name="search_results">
+				<br />
+				<table>
+					<tr>
+						<td style="width: 300px">
+							<inp2:m_include template="in-commerce/blocks/products/products_sorting" list_name="search_results" />
+						</td>
+						<td style="text-align: center;">
+							<inp2:m_include template="in-commerce/blocks/products/products_pagination" list_name="search_results" />
+						</td>
+					</tr>
+				</table>
+				<br />
+
+				<table>
+					<inp2:m_DefineElement name="product_row_start">
+						<tr>
+					</inp2:m_DefineElement>
+
+					<inp2:m_DefineElement name="product_search_relevance_normal">
+						<small><inp2:m_Phrase label="lu_comm_Relevance"/>:</small><br/>
+						<table class="relevance-bar" width="70" height="5" align="right">
+							<tr>
+								<td width="<inp2:m_param name="percent_on" />%" bgcolor="<inp2:m_param name="on_color" />"><img src="img/s.gif"></td>
+								<td width="<inp2:m_param name="percent_off" />%" bgcolor="<inp2:m_param name="off_color" />"><img src="img/s.gif"></td>
+							</tr>
+						</table>
+					</inp2:m_DefineElement>
+
+					<inp2:m_DefineElement name="product_search_relevance_full">
+						<small>Relevance:</small><br/>
+						<table class="relevance-bar" width="70" height="5" align="right">
+							<tr>
+								<td width="100%" bgcolor="<inp2:m_param name="on_color" />"><img src="img/s.gif"></td>
+							</tr>
+						</table>
+					</inp2:m_DefineElement>
+
+					<inp2:m_DefineElement name="product_search_highlight_opening"><span style="background: yellow"></inp2:m_DefineElement>
+
+					<inp2:m_DefineElement name="product_search_highlight_closing"></span></inp2:m_DefineElement>
+
+					<inp2:m_DefineElement name="product_elem">
+						<td width="16%" align="center" valign="top" class="block-data">
+							<inp2:RelevanceIndicator on_color="Red" off_color="White" relevance_normal_render_as="product_search_relevance_normal" relevance_full_render_as="product_search_relevance_full" /><br/>
+							<a href="<inp2:ProductLink template="__default__"/>"><inp2:Image render_as="product_image" thumbnail="1" DefaultImage="in-commerce/img/no_picture_list.gif" MaxWidth="120" MaxHeight="120" DefaultWidth="120" /></a>
+						</td>
+						<td width="84%" class="block-data">
+							<a href="<inp2:ProductLink template="__default__"/>" class="link-product2"><strong><inp2:SearchResultField field="Name" highlight_opening_render_as="product_search_highlight_opening" highlight_closing_render_as="product_search_highlight_closing" /></strong></a>
+							<inp2:m_if check="Available">
+								<a href="<inp2:AddToCartLink template="in-commerce/checkout/shop_cart" product_template="__default__"/>"><img src="in-commerce/img/buy2.gif" alt="" width="15" height="17" border="0" style="vertical-align:middle" /></a>
+							</inp2:m_if>
+							<br />
+							<inp2:m_if check="Field" name="MSRP"><strong><inp2:m_Phrase label="lu_comm_MSRP"/>:</strong> <span class="price-msrp"><inp2:Field name="MSRP" currency="selected"/></span> <br /> </inp2:m_if>
+							<strong><inp2:m_Phrase label="lu_comm_OurPrice"/>:</strong> <span class="price1"><inp2:Field name="Price" currency="selected"/></span> <br />
+							<strong><inp2:m_Phrase label="lu_comm_Description"/>:</strong> <inp2:SearchResultField field="DescriptionExcerpt" highlight_opening_render_as="product_search_highlight_opening" highlight_closing_render_as="product_search_highlight_closing" />
+						</td>
+					</inp2:m_DefineElement>
+
+				 	<inp2:m_DefineElement name="product_row_end">
+						</tr>
+						<inp2:m_if check="NotLastItem">
+							<tr>
+								<td colspan="2" style="background: #CCCCCC; height: 1px; padding: 0px"><img src="img/s.gif" alt="" width="1" height="1" /></td>
+							</tr>
+						</inp2:m_if>
+					</inp2:m_DefineElement>
+					<inp2:p_ListProducts list_name="search_results" columns="1" direction="V" render_as="product_elem" row_start_render_as="product_row_start" row_end_render_as="product_row_end" empty_cell_render_as="product_empty_cell" />
+				</table>
+			<inp2:m_else />
+
+				<inp2:m_DefineElement name="product_keywords_too_short">
+					<table class="warning">
+						<tr>
+							<td valign="top" align="left" class="block-data">
+								<img src="img/message.gif" alt="" width="19" height="19" />
+								<span class="warning-text"><inp2:m_Phrase label="lu_Warning"/></span><br />
+								<inp2:m_Phrase label="lu_comm_KeywordsTooShort"/>!!!
+							</td>
+						</tr>
+					</table>
+				</inp2:m_DefineElement>
+
+				<inp2:m_DefineElement name="product_no_found">
+					<table class="warning">
+						<tr>
+							<td valign="top" align="left" class="block-data">
+								<img src="img/message.gif" alt="" width="19" height="19" />
+								<span class="warning-text"><inp2:m_Phrase label="lu_Warning"/></span><br />
+								<inp2:m_Phrase label="lu_comm_NoProductsFound"/>!
+
+							</td>
+						</tr>
+					</table>
+				</inp2:m_DefineElement>
+
+				<inp2:m_DefineElement name="adv_search_error">
+					<table class="warning">
+						<tr>
+							<td valign="top" align="left" class="block-data">
+								<img src="img/message.gif" alt="" width="19" height="19" />
+								<span class="warning-text"><inp2:m_Phrase label="lu_Warning"/></span><br />
+								<inp2:m_Phrase label="lu_comm_NoCriteriaEntered"/>
+
+							</td>
+						</tr>
+					</table>
+				</inp2:m_DefineElement>
+				<tr>
+					<td>
+						<inp2:p_ErrorMessage keywords_too_short_render_as="product_keywords_too_short" adv_search_error_render_as="adv_search_error" no_found_render_as="product_no_found" /><br />
+						<inp2:m_Phrase label="lu_comm_TryRecomendedProductd"/>.
+						<br /><br />
+						<inp2:m_include template="in-commerce/blocks/products/products_picks" />
+					</td>
+				</tr>
+			</inp2:m_if>
+		</td>
+	</tr>
+</table>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/blocks/products/products_new_list.tpl
===================================================================
--- themes/onlinestore/in-commerce/blocks/products/products_new_list.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/blocks/products/products_new_list.tpl	(revision 0)
@@ -0,0 +1,62 @@
+<inp2:p_InitList list_name="list_new" per_page="default" types="new" except="displayed" recursive="true" />
+
+<inp2:m_DefineElement name="product_image">
+	<img src="<inp2:m_param name="img_path" />" title="<inp2:m_param name="alt" />" alt="<inp2:m_param name="alt" />" <inp2:m_param name="img_size" /> border="0" /><br/>
+</inp2:m_DefineElement>
+
+<table border="0" cellspacing="0" cellpadding="0" class="block-no-border">
+	<tr>
+		<td class="block-header"><inp2:m_Phrase label="lu_comm_NewProducts"/></td>
+	</tr>
+	<tr>
+		<td class="block-data">
+
+			<table>
+		  		<tr>
+		  			<td style="width: 300px">
+		  				<inp2:m_include template="in-commerce/blocks/products/products_sorting" list_name="list_new" />
+		  			</td>
+		  			<td style="text-align: center;">
+		  				<inp2:m_include template="in-commerce/blocks/products/products_pagination" list_name="list_new" />
+		  			</td>
+		  		</tr>
+		  	</table>
+
+		  	<br />
+
+	  		<table>
+				<inp2:m_DefineElement name="product_row_start">
+					<tr>
+				</inp2:m_DefineElement>
+
+				<inp2:m_DefineElement name="product_elem">
+				    <td style="width: 16%; text-align: center" class="block-data">
+				    	<a href="<inp2:ProductLink template="__default__"/>"><inp2:Image render_as="product_image" thumbnail="1" DefaultImage="in-commerce/img/no_picture_list.gif" MaxWidth="120" MaxHeight="120" DefaultWidth="120" /></a>
+				    </td>
+				    <td style="width: 84%;" class="block-data">
+				    <a href="<inp2:ProductLink template="__default__"/>" class="link-product2"><strong><inp2:Field field="Name" /></strong></a>
+			    	<inp2:m_if check="Available">
+					    <a href="<inp2:AddToCartLink template="in-commerce/checkout/shop_cart" product_template="__default__"/>"><img src="in-commerce/img/buy2.gif" alt="" width="15" height="17" border="0" style="vertical-align:middle" /></a>
+			    	</inp2:m_if>
+				    <br />
+				    	<inp2:m_if check="Field" name="MSRP"><strong><inp2:m_Phrase label="lu_comm_MSRP"/>:</strong> <span class="price-msrp"><inp2:Field name="MSRP" currency="selected"/></span> <br /> </inp2:m_if>
+				    	<strong><inp2:m_Phrase label="lu_comm_OurPrice"/>:</strong> <span class="price1"><inp2:Field name="Price" currency="selected"/></span> <br />
+				    	<strong><inp2:m_Phrase label="lu_comm_Description"/>:</strong> <inp2:Field name="DescriptionExcerpt"/>
+				    </td>
+				</inp2:m_DefineElement>
+
+				<inp2:m_DefineElement name="product_row_end">
+			  		</tr>
+			  		<inp2:m_if check="NotLastItem">
+					  	<tr>
+					    	<td colspan="2" style="background: #CCCCCC; height: 1px; padding: 0px"><img src="img/s.gif" alt="" width="1" height="1" /></td>
+					  	</tr>
+				  	</inp2:m_if>
+				</inp2:m_DefineElement>
+
+				<inp2:p_ListProducts list_name="list_new" columns="1" direction="V" render_as="product_elem" row_start_render_as="product_row_start" row_end_render_as="product_row_end" empty_cell_render_as="product_empty_cell" />
+			</table>
+
+		</td>
+	</tr>
+</table>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/blocks/products/products_top_sellers.tpl
===================================================================
--- themes/onlinestore/in-commerce/blocks/products/products_top_sellers.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/blocks/products/products_top_sellers.tpl	(revision 0)
@@ -0,0 +1,33 @@
+<inp2:m_DefineElement name="more_link">
+	<a href="<inp2:m_Link template="in-commerce/store/top_seller_products" />"><inp2:m_Phrase label="lu_comm_MoreLink"/>...</a>
+</inp2:m_DefineElement>
+
+<inp2:p_InitList list_name="list_hot" types="pick" types="hot" except="displayed" recursive="1" per_page="short_list" />
+
+<table border="0" cellspacing="0" cellpadding="0" class="block">
+	<tr>
+		<td class="block-header"><inp2:m_Phrase label="lu_comm_TopSellers"/></td>
+	</tr>
+	<tr>
+		<td class="block-data-big">
+
+			<inp2:m_DefineElement name="top_seller">
+				<td>
+					<a href="<inp2:ProductLink template="__default__"/>"><strong><inp2:Field field="Name" /></strong></a><br />
+				 	<inp2:Field field="DescriptionExcerpt" first_chars="70"/><br />
+					<span class="price"><strong><inp2:Field name="Price" currency="selected"/></strong></span><br />
+					<br />
+				</td>
+			</inp2:m_DefineElement>
+
+			<table>
+				<inp2:p_ListProducts list_name="list_hot" render_as="top_seller" columns="1" />
+			</table>
+
+			<inp2:m_DefineElement name="more_link">
+				<a href="<inp2:m_Link template="in-commerce/store/top_seller_products" />"><inp2:m_Phrase label="lu_comm_MoreLink"/>...</a>
+			</inp2:m_DefineElement>
+			<inp2:p_MoreLink list_name="list_hot" render_as="more_link" />
+		</td>
+	</tr>
+</table>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/blocks/products/products_featured.tpl
===================================================================
--- themes/onlinestore/in-commerce/blocks/products/products_featured.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/blocks/products/products_featured.tpl	(revision 0)
@@ -0,0 +1,60 @@
+
+<inp2:p_InitList list_name="list_featured" types="featured" except="displayed" recursive="1" per_page="1" sort_by="random"/>
+
+<inp2:m_DefineElement name="product_image">
+	<img src="<inp2:m_param name="img_path" />" title="<inp2:m_param name="alt" />" alt="<inp2:m_param name="alt" />" <inp2:m_param name="img_size" /> border="0" /><br/>
+</inp2:m_DefineElement>
+
+<table border="0" cellspacing="0" cellpadding="0" class="featured-block">
+	<tr>
+		<td class="featured-block-header"><inp2:m_Phrase label="lu_comm_Featured"/></td>
+	</tr>
+	<tr>
+		<td>
+			<table class="featured-block-data">
+				<inp2:m_DefineElement name="featured_item">
+					<td width="30%" align="center" valign="top" class="block-data">
+						<a href="<inp2:ProductLink template="__default__"/>"><inp2:Image render_as="product_image" DefaultImage="in-commerce/img/no_picture.gif" MaxWidth="250" DefaultWidth="250" /></a><br />
+						<span class="price2"><inp2:Field name="Price" currency="selected"/></span>
+						<inp2:m_if check="Available">
+							<a href="<inp2:AddToCartLink template="in-commerce/checkout/shop_cart" product_template="__default__"/>" class="price2"><inp2:m_Phrase label="lu_comm_BuyNow"/></a>
+							<a href="<inp2:AddToCartLink template="in-commerce/checkout/shop_cart" product_template="__default__"/>"><img src="in-commerce/img/buy.gif" alt="<inp2:m_Phrase label="lu_comm_BuyNow" no_editing="1"/>" width="23" height="23" border="0" vspace="4" /></a>
+						<inp2:m_else />
+							<strong><inp2:m_phrase label="lu_comm_outofstock"/></strong>
+						</inp2:m_if>
+					</td>
+					<td width="70%" class="block-data">
+						<a href="<inp2:ProductLink template="__default__"/>" class="link-product1"><inp2:field name="Name"/></a><br />
+
+						<inp2:m_if check="Field" name="ManufacturerId">
+							<strong><inp2:m_Phrase label="lu_comm_Manufacturer"/>:</strong> <inp2:field name="ManufacturerId"/> (<inp2:m_Phrase label="lu_comm_OtherProductsBy"/> <a href="<inp2:ManufacturerLink template="in-commerce/store/manufacturer_products" />"><inp2:Field name="ManufacturerId"/></a> <inp2:m_Phrase label="lu_comm_OtherProducts"/>) <br />
+						</inp2:m_if>
+						<br />
+						<inp2:m_if check="Field" name="MSRP"><strong><inp2:m_Phrase label="lu_comm_MSRP"/>:</strong> <span class="price-msrp"><strong><inp2:Field name="MSRP" currency="selected"/></strong></span><br /></inp2:m_if>
+						<strong><inp2:m_Phrase label="lu_comm_OurPrice"/>:</strong> <span class="price1"><inp2:Field name="Price" currency="selected"/></span> <br />
+						<strong><inp2:m_Phrase label="lu_comm_Description"/>:</strong> <inp2:Field name="DescriptionExcerpt"/> <br />
+						<br />
+						<inp2:m_if check="CustomField" name="Availability">
+							<strong><inp2:CustomFieldLabel field="Availability"/>:</strong>
+							<inp2:CustomField name="Availability"/>
+							<br />
+							<br />
+						</inp2:m_if>
+						<inp2:m_if check="CustomField" name="Features">
+							<strong><inp2:CustomFieldLabel field="Features"/>:</strong>
+							<inp2:CustomField name="Features"/>
+							<br />
+							<br />
+						</inp2:m_if>
+					</td>
+				</inp2:m_DefineElement>
+
+				<inp2:p_ListProducts list_name="list_featured" render_as="featured_item" columns="1" />
+			</table>
+			<inp2:m_DefineElement name="more_link">
+				<a href="<inp2:m_Link template="in-commerce/store/featured_products" />"><inp2:m_Phrase label="lu_comm_MoreLink"/>...</a><br />
+			</inp2:m_DefineElement>
+			<inp2:p_MoreLink list_name="list_featured" render_as="more_link" />
+		</td>
+	</tr>
+</table>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/blocks/products/form_recommend_product.tpl
===================================================================
--- themes/onlinestore/in-commerce/blocks/products/form_recommend_product.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/blocks/products/form_recommend_product.tpl	(revision 0)
@@ -0,0 +1,93 @@
+
+
+<inp2:m_DefineElement name="product_image">
+	<img src="<inp2:m_param name="img_path" />" title="<inp2:m_param name="alt" />" alt="<inp2:m_param name="alt" />" <inp2:m_param name="img_size" /> border="0" /><br/>
+</inp2:m_DefineElement>
+
+<table class="block-no-border">
+	<tr>
+		<td class="block-header"><inp2:m_Phrase label="lu_comm_RecommendThisProduct"/></td>
+	</tr>
+	<tr>
+		<td class="block-data-single">
+
+			<table>
+				<tr>
+					<td width="16%" align="center" valign="top" class="block-data">
+					<a href="<inp2:p_ProductLink template="__default__"/>"><inp2:p_Image render_as="product_image" thumbnail="1" DefaultImage="in-commerce/img/no_picture_list.gif" MaxWidth="120" MaxHeight="120" DefaultWidth="120" /></a>
+					<inp2:m_if check="p_Available">
+						<a href="<inp2:p_AddToCartLink template="in-commerce/checkout/shop_cart" product_template="__default__"/>" class="link-product2"><strong><inp2:m_Phrase label="lu_comm_BuyNow"/></strong></a>
+						<a href="<inp2:p_AddToCartLink template="in-commerce/checkout/shop_cart" product_template="__default__"/>"><img src="in-commerce/img/buy2.gif" alt="<inp2:m_Phrase label="lu_comm_BuyNow" no_editing="1"/>" width="15" height="17" border="0" vspace="4" style="vertical-align:middle" /></a>
+					<inp2:m_else />
+						<strong><inp2:m_phrase label="lu_comm_outofstock"/></strong>
+					</inp2:m_if>
+					</td>
+					<td width="84%" class="block-data">
+						<a href="<inp2:p_ProductLink template="__default__"/>" class="link-product2"><strong><inp2:p_Field field="Name" /></strong></a>
+						<inp2:m_if check="p_Available">
+							<a href="<inp2:p_AddToCartLink template="in-commerce/checkout/shop_cart" product_template="__default__"/>"><img src="in-commerce/img/buy2.gif" alt="" width="15" height="17" border="0" style="vertical-align:middle" /></a>
+						</inp2:m_if>
+						<br />
+						<inp2:m_if check="p_Field" name="MSRP"><strong><inp2:m_Phrase label="lu_comm_MSRP"/>:</strong> <span class="price-msrp"><inp2:p_Field name="MSRP" currency="selected"/></span> <br /> </inp2:m_if>
+						<strong><inp2:m_Phrase label="lu_comm_OurPrice"/>:</strong> <span class="price1"><inp2:p_Field name="Price" currency="selected"/></span> <br />
+						<strong><inp2:m_Phrase label="lu_comm_Description"/>:</strong> <inp2:p_Field name="DescriptionExcerpt"/><br />
+						<br />
+						
+						
+
+
+			<form method="POST" action="<inp2:m_FormAction />">
+				<table class="form-data">
+					<tr>
+						<td><strong><inp2:m_Phrase label="lu_comm_FriendName"/>:</strong></td>
+						<td><input type="text" name="friend_name"/></td>
+						<td>&nbsp;</td>
+					</tr>
+					<tr>
+						<td><strong><inp2:m_Phrase label="lu_comm_FriendEmail"/> *:</strong></td>
+						<td><input type="text" name="friend_email"/></td>
+						<td>
+							<inp2:m_if check="u_HasError" field="any">
+								<br />	
+								<span class="error"><inp2:u_Error field="Email" /></span>
+							</inp2:m_if>	
+						</td>
+					</tr>
+					<tr>
+						<td><strong><inp2:m_Phrase label="lu_comm_YourName"/>: </strong></td>
+						<td><input type="text" name="your_name" value="<inp2:u_Field name="FirstName" /> <inp2:u_Field name="LastName" />"/></td>
+						<td>&nbsp;</td>
+					</tr>
+					<tr>
+						<td><strong><inp2:m_Phrase label="lu_comm_YourEmail"/>:</strong></td>
+						<td><input type="text" name="your_email" value="<inp2:u_Field name="Email" />"/></td>
+						<td>&nbsp;</td>
+					</tr>
+					<tr>
+						<td><strong><inp2:m_Phrase label="lu_comm_Message"/>:</strong></td>
+						<td><textarea name="your_message" style="width: 300px; height: 150px"><inp2:m_Phrase label="lu_recommend_default_text" /></textarea></td>
+						<td>&nbsp;</td>
+					</tr>
+					<tr>
+						<td>&nbsp;</td>
+						<td><input type="submit" value="<inp2:m_Phrase label="lu_RecommendToFriend" />" name="events[p][OnRecommendProduct]" class="button" /> <input type="button" class="button" onclick="history.go(-1)" value="<inp2:m_phrase label="lu_Cancel" no_editing="1"/>"></td>
+						<td>&nbsp;</td>
+					</tr>
+					
+				</table>
+			<input type="hidden" name="template_success" value="in-commerce/product/confirm_recommend.tpl" />
+			</form>							
+							
+							
+							
+
+					</td>
+				</tr>
+			</table>
+
+			<br />
+
+		</td>
+	</tr>
+</table>
+
Index: themes/onlinestore/in-commerce/blocks/products/form_advanced_search.tpl
===================================================================
--- themes/onlinestore/in-commerce/blocks/products/form_advanced_search.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/blocks/products/form_advanced_search.tpl	(revision 0)
@@ -0,0 +1,107 @@
+<table border="0" cellspacing="0" cellpadding="0" class="block-no-border">
+	<tr>
+		<td class="block-header"><inp2:m_Phrase label="lu_comm_AdvancedSearch"/></td>
+	</tr>
+	<tr> 
+  		<td class="block-data">
+			<form method="POST" enctype="multipart/form-data" action="<inp2:m_link template="in-commerce/store/search_results" search_type="advanced" />">
+				<table class="adv-search-form">
+					<inp2:m_DefineElement name="adv_search_text">
+						<tr>
+							<td>
+								<strong><inp2:m_param name="caption" /></strong>
+							</td>
+							<td style="text-align: center">
+					  	  	<nobr>
+					  	  		<select name="verb[<inp2:m_param name="field" />]">
+											<option value="contains"><inp2:m_Phrase label="lu_comm_Contains"/></option>
+											<option value="notcontains"><inp2:m_Phrase label="lu_comm_DoesntContain"/></option>
+						  	  				<option value="is"><inp2:m_Phrase label="lu_comm_ExactlyIs"/></option>
+											<option value="isnot"><inp2:m_Phrase label="lu_comm_IsNot"/></option>
+										</select>
+										&nbsp;&nbsp;
+										<input type="text" name="value[<inp2:m_param name="field" />]">
+								</nobr>
+							</td>
+							<td style="text-align: right">
+								&nbsp;<inp2:m_param name="andor" />&nbsp;
+							</td>
+						</tr>
+					</inp2:m_DefineElement>
+					<inp2:m_DefineElement name="adv_search_boolean">
+						<tr>
+							<td>
+								<strong><inp2:m_param name="caption" /></strong>
+							</td>
+							<td style="text-align: center">
+								<input type="radio" name="value[<inp2:m_param name="field" />]" id="value[<inp2:m_param name="field" />]_true" value="1">
+								<label for="value[<inp2:m_param name="field" />]_true"><inp2:m_Phrase label="lu_comm_Yes"/></label>
+								&nbsp;
+								<input type="radio" name="value[<inp2:m_param name="field" />]" id="value[<inp2:m_param name="field" />]_false" value="0">
+								<label for="value[<inp2:m_param name="field" />]_false"><inp2:m_Phrase label="lu_comm_No"/></label>
+								&nbsp;
+								<input type="radio" name="value[<inp2:m_param name="field" />]" id="value[<inp2:m_param name="field" />]_any" value="-1" checked>
+								<label for="value[<inp2:m_param name="field" />]_any"><inp2:m_Phrase label="lu_comm_Both"/></label>	  	  	
+							</td>
+							<td style="text-align: right">
+								&nbsp;<inp2:m_param name="andor" />&nbsp;
+							</td>
+						</tr>
+					</inp2:m_DefineElement>
+					<inp2:m_DefineElement name="adv_search_range">
+						<tr>
+							<td>
+								<strong><inp2:m_param name="caption" /></strong>
+							</td>
+							<td style="text-align: center">
+								<nobr><inp2:m_Phrase label="lu_comm_From"/>: <input type="text" name="value[<inp2:m_param name="field" />_from]" style="width:60px">&nbsp;&nbsp;
+								<inp2:m_Phrase label="lu_comm_To"/>: <input type="text" name="value[<inp2:m_param name="field" />_to]" style="width:60px"></nobr>  	
+							</td>
+							<td style="text-align: right">
+								&nbsp;<inp2:m_param name="andor" />&nbsp;
+							</td>
+						</tr>
+					</inp2:m_DefineElement>
+					<inp2:m_DefineElement name="adv_search_date">
+						<tr>
+							<td>
+								<strong><inp2:m_param name="caption" /></strong>
+							</td>
+							<td style="text-align: center">
+								<select name="value[<inp2:m_param name="field" />]">
+									<option value="0" selected><inp2:m_Phrase label="lu_comm_Any"/></option>
+									<option value="today"><inp2:m_Phrase label="lu_comm_Today"/></option>
+									<option value="yesterday"><inp2:m_Phrase label="lu_comm_Yesterday"/></option>
+									<option value="last_week"><inp2:m_Phrase label="lu_comm_LastWeek"/></option>
+									<option value="last_month"><inp2:m_Phrase label="lu_comm_LastMonth"/></option>
+									<option value="last_3_months"><inp2:m_Phrase label="lu_comm_Last3Months"/></option>
+									<option value="last_6_months"><inp2:m_Phrase label="lu_comm_Last6Months"/></option>
+									<option value="last_year"><inp2:m_Phrase label="lu_comm_LastYear"/></option>
+								</select>
+							</td>
+							<td style="text-align: right">
+								&nbsp;<inp2:m_param name="andor" />&nbsp;
+							</td>
+						</tr>
+					</inp2:m_DefineElement>
+					<inp2:m_DefineElement name="adv_search_andor">
+						<span style="color: #555">
+						<nobr><input type="radio" id="andor[<inp2:m_param name="field" />]_1" name="andor[<inp2:m_param name="field" />]" value="1" checked>
+						<label for="andor[<inp2:m_param name="field" />]_1"><inp2:m_Phrase label="lu_comm_And"/></label>
+						&nbsp;
+						<input type="radio" id="andor[<inp2:m_param name="field" />]_0" name="andor[<inp2:m_param name="field" />]" value="0">
+						<label for="andor[<inp2:m_param name="field" />]_0"><inp2:m_Phrase label="lu_comm_Or"/></label></nobr>
+						</span>
+					</inp2:m_DefineElement>
+					<inp2:p_AdvancedSearchForm text_render_as="adv_search_text" boolean_render_as="adv_search_boolean" range_render_as="adv_search_range" date_render_as="adv_search_date" and_or_render_as="adv_search_andor" />
+					<tr>
+						<td colspan="3" style="text-align: center">
+							<input type="submit" value="<inp2:m_Phrase label="lu_comm_Go" no_editing="1"/>!" class="button"><br />
+							<br />
+						</td>
+					</tr>
+				</table>
+			</form>
+		</td>
+	</tr>
+</table>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/blocks/products/products_sorting.tpl
===================================================================
--- themes/onlinestore/in-commerce/blocks/products/products_sorting.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/blocks/products/products_sorting.tpl	(revision 0)
@@ -0,0 +1,16 @@
+<form method="post" action="<inp2:m_FormAction />">
+	<strong><inp2:m_Phrase label="lu_comm_SortBy"/></strong>
+
+	<select name="<inp2:p_CombinedSortingDropDownName/>">
+		<option value="Name|asc" <inp2:p_SortingSelected sorting="l1_Name|asc" selected='selected="selected"'/>> <inp2:m_Phrase label="lu_comm_NameAZ"/></option>
+		<option value="Name|desc" <inp2:p_SortingSelected sorting="l1_Name|desc" selected='selected="selected"'/>> <inp2:m_Phrase label="lu_comm_NameZA"/></option>
+		<option value="Manufacturer|asc" <inp2:p_SortingSelected sorting="Manufacturer|asc" selected='selected="selected"'/>> <inp2:m_Phrase label="lu_comm_ManufAZ"/></option>
+		<option value="Manufacturer|desc" <inp2:p_SortingSelected sorting="Manufacturer|desc" selected='selected="selected"'/>> <inp2:m_Phrase label="lu_comm_ManufZA"/></option>
+		<option value="Price|asc" <inp2:p_SortingSelected sorting="Price|asc" selected='selected="selected"'/>> <inp2:m_Phrase label="lu_comm_PriceLH"/></option>
+		<option value="Price|desc" <inp2:p_SortingSelected sorting="Price|desc" selected='selected="selected"'/>> <inp2:m_Phrase label="lu_comm_PriceHL"/></option>
+		<option value="CreatedOn|asc" <inp2:p_SortingSelected sorting="CreatedOn|asc" selected='selected="selected"'/>> <inp2:m_Phrase label="lu_comm_RecentToOld"/></option>
+		<option value="CreatedOn|desc" <inp2:p_SortingSelected sorting="CreatedOn|desc" selected='selected="selected"'/>> <inp2:m_Phrase label="lu_comm_OldToRecent"/></option>
+	</select>
+
+	<input type="submit" class="button" name="<inp2:p_SubmitName event="OnSetSortingDirect"/>" value="<inp2:m_Phrase label="lu_comm_Sort" no_editing="1"/>" />
+</form>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/blocks/products/products_new.tpl
===================================================================
--- themes/onlinestore/in-commerce/blocks/products/products_new.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/blocks/products/products_new.tpl	(revision 0)
@@ -0,0 +1,39 @@
+<inp2:p_InitList list_name="list_new" types="new" except="displayed" recursive="1" per_page="short_list"/>
+
+<inp2:m_DefineElement name="new_product_image">
+	<img src="<inp2:m_param name="img_path" />" title="<inp2:m_param name="alt" />" alt="<inp2:m_param name="alt" />" <inp2:m_param name="img_size" /> style="margin-top: 10px" border="0" /><br/>
+</inp2:m_DefineElement>
+
+<table border="0" cellspacing="0" cellpadding="0" class="new-products-block">
+	<tr>
+		<td class="new-products-block-header"><inp2:m_Phrase label="lu_comm_NewProducts"/></td>
+	</tr>
+	<tr>
+		<td class="block-data">
+			<table>
+				<inp2:m_DefineElement name="new_item">
+					<td width="33%" align="center" valign="top" class="block-data">
+						<a href="<inp2:ProductLink template="__default__"/>" class="link-product2"><strong><inp2:Field field="Name" /></strong></a><br />
+						<a href="<inp2:ProductLink template="__default__"/>"><inp2:Image render_as="new_product_image" Thumbnail="1" DefaultImage="in-commerce/img/no_picture_list.gif" MaxWidth="120" MaxHeight="120" DefaultWidth="120" /></a> <br />
+
+						<inp2:m_if check="Field" name="MSRP"><strong><inp2:m_Phrase label="lu_comm_MSRP"/>: </strong><span class="price-msrp"><inp2:Field name="MSRP" currency="selected" /></span><br /></inp2:m_if>
+						<strong><inp2:m_Phrase label="lu_comm_OurPrice"/>:</strong> <span class="price1"><inp2:Field name="Price" currency="selected"/></span><br />
+						<strong><inp2:m_Phrase label="lu_comm_Added"/>:</strong> <inp2:Field name="CreatedOn" format="_regional_DateFormat"/><br />
+						<inp2:m_if check="Available">
+							<a href="<inp2:AddToCartLink template="in-commerce/checkout/shop_cart" product_template="__default__"/>" class="link-product2"><strong><inp2:m_Phrase label="lu_comm_BuyNow"/></strong></a>
+							<a href="<inp2:AddToCartLink template="in-commerce/checkout/shop_cart" product_template="__default__"/>"><img src="in-commerce/img/buy2.gif" alt="<inp2:m_Phrase label="lu_comm_BuyNow" no_editing="1"/>" width="15" height="17" border="0" vspace="4" style="vertical-align:middle" /></a>
+						<inp2:m_else />
+							<strong><inp2:m_phrase label="lu_comm_outofstock"/></strong>
+						</inp2:m_if>
+					</td>
+				</inp2:m_DefineElement>
+
+				<inp2:p_ListProducts list_name="list_new" render_as="new_item" columns="3" />
+			</table>
+			<inp2:m_DefineElement name="more_link">
+				<a href="<inp2:m_Link template="in-commerce/store/new_products" />"><inp2:m_Phrase label="lu_comm_MoreLink"/>...</a>
+			</inp2:m_DefineElement>
+			<inp2:p_MoreLink list_name="list_new" render_as="more_link" />
+		</td>
+	</tr>
+</table>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/blocks/products/products_recent_list.tpl
===================================================================
--- themes/onlinestore/in-commerce/blocks/products/products_recent_list.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/blocks/products/products_recent_list.tpl	(revision 0)
@@ -0,0 +1,62 @@
+<inp2:p_InitList list_name="list_recent" types="recent" parent_cat_id="any" recursive="true" per_page="default" except="in_cart" />
+
+<inp2:m_DefineElement name="product_image">
+	<img src="<inp2:m_param name="img_path" />" title="<inp2:m_param name="alt" />" alt="<inp2:m_param name="alt" />" <inp2:m_param name="img_size" /> border="0" /><br/>
+</inp2:m_DefineElement>
+
+<table border="0" cellspacing="0" cellpadding="0" class="block-no-border">
+	<tr>
+		<td class="block-header"><inp2:m_Phrase label="lu_comm_RecentlyViewed"/></td>
+	</tr>
+	<tr>
+		<td class="block-data">
+
+			<table>
+		  		<tr>
+		  			<td style="width: 300px">
+		  				<inp2:m_include template="in-commerce/blocks/products/products_sorting" list_name="list_recent" />
+		  			</td>
+		  			<td style="text-align: center;">
+		  				<inp2:m_include template="in-commerce/blocks/products/products_pagination" list_name="list_recent" />
+		  			</td>
+		  		</tr>
+		  	</table>
+
+		  	<br />
+
+	  		<table>
+				<inp2:m_DefineElement name="product_row_start">
+					<tr>
+				</inp2:m_DefineElement>
+
+				<inp2:m_DefineElement name="product_elem">
+				    <td style="width: 16%; text-align: center" class="block-data">
+				    	<a href="<inp2:ProductLink template="__default__"/>"><inp2:Image render_as="product_image" thumbnail="1" DefaultImage="in-commerce/img/no_picture_list.gif" MaxWidth="120" MaxHeight="120" DefaultWidth="120" /></a>
+				    </td>
+				    <td style="width: 84%;" class="block-data">
+				    <a href="<inp2:ProductLink template="__default__"/>" class="link-product2"><strong><inp2:Field field="Name" /></strong></a>
+			    	<inp2:m_if check="Available">
+					    <a href="<inp2:AddToCartLink template="in-commerce/checkout/shop_cart" product_template="__default__"/>"><img src="in-commerce/img/buy2.gif" alt="" width="15" height="17" border="0" style="vertical-align:middle" /></a>
+			    	</inp2:m_if>
+				    <br />
+				    	<inp2:m_if check="Field" name="MSRP"><strong><inp2:m_Phrase label="lu_comm_MSRP"/>:</strong> <span class="price-msrp"><inp2:Field name="MSRP" currency="selected"/></span> <br /> </inp2:m_if>
+				    	<strong><inp2:m_Phrase label="lu_comm_OurPrice"/>:</strong> <span class="price1"><inp2:Field name="Price" currency="selected"/></span> <br />
+				    	<strong><inp2:m_Phrase label="lu_comm_Description"/>:</strong> <inp2:Field name="DescriptionExcerpt"/>
+				    </td>
+				</inp2:m_DefineElement>
+
+				<inp2:m_DefineElement name="product_row_end">
+			  		</tr>
+			  		<inp2:m_if check="NotLastItem">
+					  	<tr>
+					    	<td colspan="2" style="background: #CCCCCC; height: 1px; padding: 0px"><img src="img/s.gif" alt="" width="1" height="1" /></td>
+					  	</tr>
+				  	</inp2:m_if>
+				</inp2:m_DefineElement>
+
+				<inp2:p_ListProducts list_name="list_recent" columns="1" direction="V" render_as="product_elem" row_start_render_as="product_row_start" row_end_render_as="product_row_end" empty_cell_render_as="product_empty_cell" />
+			</table>
+
+		</td>
+	</tr>
+</table>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/blocks/manufacturers/manufacturers_dropdown.tpl
===================================================================
--- themes/onlinestore/in-commerce/blocks/manufacturers/manufacturers_dropdown.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/blocks/manufacturers/manufacturers_dropdown.tpl	(revision 0)
@@ -0,0 +1,26 @@
+<inp2:m_Get var="manuf_id" result_to_var="curr_manuf_id"/>
+
+<inp2:m_DefineElement name="manuf_elem_dropdown">
+<option value="<inp2:p_ManufacturerLink template="in-commerce/store/manufacturer_products" />" <inp2:m_if check="FieldEquals" name="ManufacturerId" value="$curr_manuf_id">selected="selected"</inp2:m_if> >
+<inp2:Field field="Name" /></option></inp2:m_DefineElement>
+
+<table border="0" cellspacing="0" cellpadding="0" class="block">
+	<tr>
+		<td class="block-header"><inp2:m_Phrase label="lu_comm_Manufacturers"/></td>
+	</tr>
+	<tr>
+		<td class="block-data-big">
+			
+				<form id="manufacturers" method="post" action="<inp2:m_FormAction />">
+					<select name="Manufacturer" onchange="window.location.href=this.value">
+					<inp2:manuf.custom_ListManufacturers list_name="manufacturers" render_as="manuf_elem_dropdown" per_page="-1" row_start_render_as="html:" row_end_render_as="html:" empty_cell_render_as="html:" parent_cat_id="any" />
+					</select>
+				</form>
+				
+		</td>
+	</tr>
+</table>
+				
+				
+				
+				
Index: themes/onlinestore/in-commerce/blocks/manufacturers/manuf_pagination.tpl
===================================================================
--- themes/onlinestore/in-commerce/blocks/manufacturers/manuf_pagination.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/blocks/manufacturers/manuf_pagination.tpl	(revision 0)
@@ -0,0 +1,40 @@
+<inp2:m_DefineElement name="prev_page">
+		<a class="pagination-bar" href="<inp2:PageLink/>">&lt;&lt;</a>&nbsp;
+	</td>
+	<td>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="no_prev_page">
+	</td>
+	<td>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="page_current">
+	<strong><inp2:m_param name="page"/></strong>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="page_separator">
+	|
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="page_link">
+	<a class="pagination-bar" href="<inp2:PageLink/>"><inp2:m_param name="page"/></a>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="page_next">
+	<a class="pagination-bar" href="<inp2:PageLink/>">&gt;&gt;</a>
+</inp2:m_DefineElement>
+
+<table style="width: 100%; text-align: left;">
+	<tr>
+		<td style="width: 45%; text-align: right; ">
+			<strong><inp2:m_Phrase label="lu_comm_Page"/>:&nbsp;</strong>
+
+			<inp2:manuf_PaginationBar 
+				current_render_as="page_current" separator_render_as="page_separator" link_render_as="page_link" 
+				prev_page_render_as="prev_page" no_prev_page_render_as="no_prev_page"
+				next_page_render_as="page_next" />
+		</td>
+		<td>&nbsp;</td>
+	</tr>
+</table>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/blocks/manufacturers/manufacturers.tpl
===================================================================
--- themes/onlinestore/in-commerce/blocks/manufacturers/manufacturers.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/blocks/manufacturers/manufacturers.tpl	(revision 0)
@@ -0,0 +1,81 @@
+<table border="0" cellspacing="0" cellpadding="0" class="block-no-border">
+	<tr>
+		<td class="block-header"><inp2:m_Phrase label="lu_comm_Manufacturers"/></td>
+	</tr>
+	<tr>
+		<td class="block-data">
+
+			<inp2:manuf_InitList list_name="manufacturers" per_page="default" recursive="true" />
+			
+			<inp2:m_DefineElement name="manuf_image">
+				<img src="<inp2:m_param name="img_path" />" title="<inp2:m_param name="alt" />" alt="<inp2:m_param name="alt" />" <inp2:m_param name="img_size" /> border="0" /><br/>
+			</inp2:m_DefineElement>
+			
+			<inp2:m_DefineElement name="product_image">
+				<img src="<inp2:m_param name="img_path" />" title="<inp2:m_param name="alt" />" alt="<inp2:m_param name="alt" />" <inp2:m_param name="img_size" /> style="margin-top: 10px" border="0" /><br/>
+			</inp2:m_DefineElement>
+			
+			<table>
+				<tr>
+					<td style="text-align: center;">
+						<inp2:m_include template="in-commerce/blocks/manufacturers/manuf_pagination" list_name="manufacturers" />
+					</td>
+				</tr>
+			</table>
+			
+			<table>
+				<inp2:m_DefineElement name="manuf_row_start">
+					<tr>
+				</inp2:m_DefineElement>
+				
+				<inp2:m_DefineElement name="product_elem">
+					<td width="33%" align="center" valign="top" class="block-data"> 
+						<a href="<inp2:ProductLink template="__default__"/>" class="link-product2"><strong><inp2:Field field="Name" /></strong></a><br />
+						<a href="<inp2:ProductLink template="__default__"/>"><inp2:Image render_as="product_image" Thumbnail="1" DefaultImage="in-commerce/img/no_picture_list.gif" MaxWidth="120" MaxHeight="120" DefaultWidth="120"/></a> <br />
+						<strong><inp2:m_Phrase label="lu_comm_MSRP"/>: </strong><span class="price-msrp"><inp2:Field name="MSRP" currency="selected" /></span><br />
+						<strong><inp2:m_Phrase label="lu_comm_OurPrice"/>:</strong> <span class="price1"><inp2:Field name="Price" currency="selected"/></span><br />
+						<strong><inp2:m_Phrase label="lu_comm_Added"/>:</strong><inp2:Field name="CreatedOn_date" /><br />
+						<inp2:m_if check="Available">
+							<a href="<inp2:AddToCartLink template="in-commerce/checkout/shop_cart" product_template="__default__"/>" class="link-product2"><strong><inp2:m_Phrase label="lu_comm_BuyNow"/></strong></a> 
+							<a href="<inp2:AddToCartLink template="in-commerce/checkout/shop_cart" product_template="__default__"/>"><img src="in-commerce/img/buy2.gif" alt="<inp2:m_Phrase label="lu_comm_BuyNow" no_editing="1"/>" width="15" height="17" border="0" vspace="4" style="vertical-align:middle" /></a>
+						<inp2:m_else />
+							<strong><inp2:m_phrase label="lu_comm_outofstock"/></strong>
+						</inp2:m_if>
+					</td>
+				</inp2:m_DefineElement>
+				
+				<inp2:m_DefineElement name="manuf_elem">
+					<td class="block-data">
+						<table>
+							<tr class="cart-header">
+								<td>
+									<a href="<inp2:p_ManufacturerLink template="in-commerce/store/manufacturer_products" />" class="link-product1"><strong><inp2:Field field="Name" /></strong></a><br />
+								</td>
+							</tr>
+						</table>
+						<table>
+							<inp2:p_ListProducts list_name="products_by_manuf" requery="1" types="manufacturer" recursive="1"
+									columns="3"
+									render_as="product_elem" per_page="3" />
+						</table>
+						<inp2:m_DefineElement name="more_link">
+							<a href="<inp2:p_ManufacturerLink template="in-commerce/store/manufacturer_products" />"><inp2:m_Phrase label="lu_comm_MoreLink"/>...</a>
+						</inp2:m_DefineElement>
+						<inp2:p_MoreLink list_name="products_by_manuf" render_as="more_link" />
+					</td> 
+				</inp2:m_DefineElement>
+				
+				<inp2:m_DefineElement name="manuf_row_end">
+					</tr>
+				</inp2:m_DefineElement>
+				
+				<inp2:manuf_ListManufacturers list_name="manufacturers"
+						columns="1" direction="V"
+						render_as="manuf_elem" 
+						row_start_render_as="manuf_row_start" row_end_render_as="manuf_row_end"
+						empty_cell_render_as="manuf_empty_cell" />
+			</table>
+			
+		</td>
+	</tr>
+</table>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/blocks/manufacturers/manufacturer_products.tpl
===================================================================
--- themes/onlinestore/in-commerce/blocks/manufacturers/manufacturer_products.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/blocks/manufacturers/manufacturer_products.tpl	(revision 0)
@@ -0,0 +1,62 @@
+<table border="0" cellspacing="0" cellpadding="0" class="block-no-border"> 
+	<tr> 
+		<td class="block-header"><inp2:m_Phrase label="lu_comm_ProductsBy"/> <inp2:manuf_Field name="Name" /></td> 
+	</tr> 
+	<tr> 
+	  	<td class="block-data">
+
+			<inp2:p_InitList types="manufacturer" list_name="list_by_manufacturer" per_page="default" recursive="true" parent_cat_id="any" />
+			
+			<inp2:m_DefineElement name="product_image">
+				<img src="<inp2:m_param name="img_path" />" title="<inp2:m_param name="alt" />" alt="<inp2:m_param name="alt" />" <inp2:m_param name="img_size" /> border="0" /><br/>
+			</inp2:m_DefineElement>
+			
+			<table>
+				<tr>
+					<td style="width: 300px">
+						<inp2:m_include template="in-commerce/blocks/products/products_sorting" list_name="list_by_manufacturer" />
+					</td>
+					<td style="text-align: center;">
+						<inp2:m_include template="in-commerce/blocks/products/products_pagination" list_name="list_by_manufacturer" />
+					</td>
+				</tr>
+			</table>
+			
+			<br />
+		
+			<table>
+				<inp2:m_DefineElement name="product_row_start">
+					<tr>
+				</inp2:m_DefineElement>
+				
+				<inp2:m_DefineElement name="product_elem">
+					<td width="16%" align="center" valign="top" class="block-data">
+						<a href="<inp2:ProductLink template="__default__"/>"><inp2:Image render_as="product_image" thumbnail="1" DefaultImage="in-commerce/img/no_picture_list.gif" MaxWidth="120" MaxHeight="120" DefaultWidth="120" /></a>
+					</td>
+					<td width="84%" class="block-data">
+						<a href="<inp2:ProductLink template="__default__"/>" class="link-product2"><strong><inp2:Field field="Name" /></strong></a>
+						<inp2:m_if check="Available">
+							<a href="<inp2:AddToCartLink template="in-commerce/checkout/shop_cart" product_template="__default__"/>"><img src="in-commerce/img/buy2.gif" alt="" width="15" height="17" border="0" style="vertical-align:middle" /></a>
+						</inp2:m_if>
+						<br />
+						<inp2:m_if check="Field" name="MSRP"><strong><inp2:m_Phrase label="lu_comm_MSRP"/>:</strong> <span class="price-msrp"><inp2:Field name="MSRP" currency="selected"/></span> <br /> </inp2:m_if>
+						<strong><inp2:m_Phrase label="lu_comm_OurPrice"/>:</strong> <span class="price1"><inp2:Field name="Price" currency="selected"/></span> <br />
+						<strong><inp2:m_Phrase label="lu_comm_Description"/>:</strong> <inp2:Field name="DescriptionExcerpt"/>
+					</td>
+				</inp2:m_DefineElement>
+			  
+				<inp2:m_DefineElement name="product_row_end">
+					</tr>
+				  	<inp2:m_if check="NotLastItem">
+					  	<tr>
+							<td colspan="2" style="background: #CCCCCC; height: 1px; padding: 0px"><img src="img/s.gif" alt="" width="1" height="1" /></td>
+					  	</tr>
+					</inp2:m_if>
+				</inp2:m_DefineElement>
+				
+				<inp2:p_ListProducts list_name="list_by_manufacturer" columns="1" direction="V" render_as="product_elem" row_start_render_as="product_row_start" row_end_render_as="product_row_end" empty_cell_render_as="product_empty_cell" />
+			</table>
+			
+		</td>
+	</tr>
+</table>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/blocks/checkout/register.tpl
===================================================================
--- themes/onlinestore/in-commerce/blocks/checkout/register.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/blocks/checkout/register.tpl	(revision 0)
@@ -0,0 +1,75 @@
+
+<form method="post" action="<inp2:m_FormAction />">
+<table class="block-no-border">
+	<tr>
+		<td class="block-header">
+			<inp2:m_Phrase label="lu_comm_NewCustomers"/>
+		</td>
+	</tr>
+	<tr>
+		<td class="block-data">
+				<inp2:m_if check="u_HasError" field="any">
+					<table class="warning">
+						<tr>
+							<td valign="top" align="left" class="block-data">
+								<img src="img/message.gif" alt="" width="19" height="19" />
+								<span class="warning-text"><inp2:m_Phrase label="lu_Warning"/></span><br />
+								<inp2:m_Phrase label="lu_AProblemWithForm"/>
+								
+							</td>
+						</tr>
+					</table>
+				</inp2:m_if>
+				<inp2:m_Phrase label="lu_comm_PleaseRegister"/>... <br />
+				<inp2:m_Phrase label="lu_comm_PleaseEnterFollowing"/>:<br />
+				<br />
+				<strong>* <inp2:m_Phrase label="lu_IndicatesRequired"/>.</strong> 	<br /><br />
+				<table class="form-data">
+					<inp2:m_if check="u_UseUsernames">
+					<tr>
+						<td>
+							<strong><inp2:m_phrase label="lu_select_username"/>*:</strong>
+						</td>
+						<td>
+							<input type="text" name="<inp2:u_InputName field="Login"/>" value="<inp2:u_Field name="Login"/>" style="width: 300px;" />
+						</td>
+						<td width="170" class="error"><inp2:u_Error field="Login"/></td>
+					</tr>
+					</inp2:m_if>
+					<tr>
+						<td>
+							<strong><inp2:m_phrase label="lu_your_email"/>*:</strong>
+						</td>
+						<td>
+							<input type="text" name="<inp2:u_InputName field="Email"/>" value="<inp2:u_Field name="Email"/>" style="width: 300px;" />
+						</td>
+						<td width="170" class="error"><inp2:u_Error field="Email"/></td>
+					</tr>
+					<tr>
+						<td>
+							<strong><inp2:m_phrase label="lu_create_password"/>*:</strong>
+						</td>
+						<td>
+							<input type="password" name="<inp2:u_InputName field="Password"/>" value="" style="width: 300px;" />
+						</td>
+						<td class="error"><inp2:u_Error field="Password"/></td>
+					</tr>
+					<tr>
+						<td>
+							<strong><inp2:m_phrase label="lu_repeat_password"/>*:</strong>
+						</td>
+						<td>
+							<input type="password" name="<inp2:u_InputName field="VerifyPassword"/>" value="" style="width: 300px;" />
+						</td>
+						<td class="error"><inp2:u_Error field="VerifyPassword"/></td>
+					</tr>
+					<tr>
+						<td colspan="3" valign="bottom" height="35">
+							<input class="button" type="submit" id="events[u][OnCreate]" name="events[u][OnCreate]" value="<inp2:m_Phrase label="lu_Register" no_editing="1"/>"/>
+						</td>
+					</tr>
+				</table>
+		</td>
+	</tr>
+</table>
+</form>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/blocks/checkout/billing_address.tpl
===================================================================
--- themes/onlinestore/in-commerce/blocks/checkout/billing_address.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/blocks/checkout/billing_address.tpl	(revision 0)
@@ -0,0 +1,251 @@
+<inp2:m_DefineElement name="destination">
+	<option value="<inp2:m_param name="key"/>"<inp2:m_param name="selected"/>><inp2:m_param name="option"/></option>
+</inp2:m_DefineElement>
+
+<inp2:ord_ShowDefaultAddress type="billing"/>
+<table class="block-no-border">
+	<tr>
+		<td class="block-header">
+			<inp2:m_Phrase label="lu_comm_BillingInfo"/>
+		</td>
+	</tr>
+	<tr>
+		<td class="block-data">
+			<inp2:m_if check="ord_HasError" field="any">
+				<table class="warning">
+					<tr>
+						<td valign="top" align="left" class="block-data">
+							<img src="img/message.gif" alt="" width="19" height="19" />
+							<span class="warning-text"><inp2:m_Phrase label="lu_Warning"/></span><br />
+							<inp2:m_Phrase label="lu_AProblemInForm"/>
+
+						</td>
+					</tr>
+				</table>
+			</inp2:m_if>
+			<inp2:m_Phrase label="lu_comm_PleaseEnterBillingAddress"/>
+
+			<br />
+			<strong>* <inp2:m_Phrase label="lu_IndicatesRequired"/>.</strong> 	<br /><br />
+
+			<inp2:m_if check="m_LoggedIn">
+				<!-- address selector: begin -->
+				<inp2:m_Phrase label="lu_comm_SelectAddress"/>:
+
+				<inp2:m_DefineElement name="address_elem">
+					<option value="<inp2:m_param name="key"/>"<inp2:m_param name="selected"/>><inp2:m_param name="value"/></option>
+				</inp2:m_DefineElement>
+
+				<select name="billing_address_id" onchange="document.getElementById('events[ord][OnSelectAddress]').click();">
+					<inp2:m_if check="ord_AllowAddAddress">
+						<option value="-1"><inp2:m_phrase name="lu_comm_NewAddress"/></option>
+					</inp2:m_if>
+					<inp2:ord_PrintAddresses render_as="address_elem" type="billing" />
+				</select>
+				&nbsp;
+				<input class="button" type="submit" id="events[ord][OnSelectAddress]" name="events[ord][OnSelectAddress]" value="<inp2:m_Phrase label="lu_comm_Select" no_editing="1"/>"/>
+				<a href="<inp2:m_Link template="in-commerce/my_account/address"/>"><inp2:m_Phrase name="lu_comm_ManageAddresses"/></a>
+				<br />
+				<inp2:m_Phrase label="lu_comm_OrEnterAddress"/>:<br />
+
+				<inp2:m_if check="ord_IsProfileAddress" type="billing">
+					<inp2:m_Phrase label="lu_comm_ProfileAddressWarning"/><br />
+				</inp2:m_if>
+				<!-- address selector: end -->
+			</inp2:m_if>
+
+			<table class="form-data">
+				<inp2:m_if check="ord_OrderHasTangibleItems">
+					<inp2:m_if check="m_LoggedIn"><inp2:m_else/>
+						<tr>
+							<td><strong><inp2:m_Phrase label="lu_SameAsShipping"/>:</strong></td>
+							<td>
+								<input type="checkbox" name="same_address" onclick="document.getElementById('events[ord][OnUpdate]').click();" value="1"<inp2:m_if check="m_GetEquals" name="same_address" value="1"> checked</inp2:m_if>" />
+							</td>
+							<td class="error"></td>
+						</tr>
+					</inp2:m_if>
+				</inp2:m_if>
+
+				<inp2:m_if check="u.current_Field" name="cust_shipping_addr_block" inverse="1">
+
+					<tr>
+						<td><strong><inp2:m_Phrase label="lu_comm_FullName"/>*:</strong></td>
+						<td>
+							<input type="text" name="<inp2:ord_InputName field="BillingTo"/>" value="<inp2:ord_Field name="BillingTo"/>" style="width: 300px;" />
+						</td>
+						<td width="170" class="error"><inp2:ord_Error field="BillingTo" /></td>
+					</tr>
+					<tr>
+						<td><strong><inp2:m_Phrase label="lu_comm_Company"/>:</strong></td>
+						<td>
+							<input type="text" name="<inp2:ord_InputName field="BillingCompany"/>" value="<inp2:ord_Field name="BillingCompany"/>" style="width: 300px;" />
+						</td>
+						<td width="170" class="error"><inp2:ord_Error field="BillingCompany" /></td>
+					</tr>
+					<tr>
+						<td>
+							<strong><inp2:m_Phrase label="lu_comm_AddressLine"/> 1*:</strong></td>
+						<td>
+							<input type="text" name="<inp2:ord_InputName field="BillingAddress1"/>" value="<inp2:ord_Field name="BillingAddress1"/>" style="width: 300px;" />
+						</td>
+						<td class="error"><inp2:ord_Error field="BillingAddress1" /></td>
+					</tr>
+					<tr>
+						<td>
+							<strong><inp2:m_Phrase label="lu_comm_AddressLine"/> 2:</strong></td>
+						<td>
+							<input type="text" name="<inp2:ord_InputName field="BillingAddress2"/>" value="<inp2:ord_Field name="BillingAddress2"/>" style="width: 300px;" />
+						</td>
+						<td class="error"><inp2:ord_Error field="BillingAddress2" /></td>
+					</tr>
+					<tr>
+						<td>
+							<strong><inp2:m_Phrase label="lu_comm_City"/> *:</strong></td>
+						<td>
+							<input type="text" name="<inp2:ord_InputName field="BillingCity"/>" value="<inp2:ord_Field name="BillingCity"/>" style="width: 200px;" />
+						</td>
+						<td class="error"><inp2:ord_Error field="BillingCity" /></td>
+					</tr>
+					<tr>
+						<td>
+							<strong><inp2:m_Phrase label="lu_State"/> *:</strong></td>
+						<td>
+							<input type="text" name="<inp2:ord_InputName field="BillingState"/>" value="<inp2:ord_Field name="BillingState"/>" style="width: 200px;" />
+						</td>
+						<td class="error"><inp2:ord_Error field="BillingState"/></td>
+					</tr>
+					<tr>
+						<td>
+							<strong><inp2:m_Phrase label="lu_ZipCode"/> *:</strong></td>
+						<td>
+							<input type="text" name="<inp2:ord_InputName field="BillingZip"/>" value="<inp2:ord_Field name="BillingZip"/>" style="width: 100px;" />
+						</td>
+						<td class="error"><inp2:ord_Error field="BillingZip" /></td>
+					</tr>
+					<tr>
+						<td>
+							<strong><inp2:m_Phrase label="lu_Country"/> *:</strong></td>
+						<td>
+							<select name="<inp2:ord_InputName field="BillingCountry"/>" style="width: 300px;">
+									<option value="0"></option>
+									<inp2:ord_PredefinedOptions field="BillingCountry" render_as="destination" selected_param="selected" selected="selected=\"selected\""/>
+							</select>
+						</td>
+						<td class="error"><inp2:ord_Error field="BillingCountry" /></td>
+					</tr>
+					<tr>
+						<td><strong><inp2:m_Phrase label="lu_Phone"/> *:</strong></td>
+						<td>
+							<input type="text" name="<inp2:ord_InputName field="BillingPhone"/>" value="<inp2:ord_Field name="BillingPhone"/>" style="width: 150px;" />
+						</td>
+						<td class="error"><inp2:ord_Error field="BillingPhone"/></td>
+					</tr>
+					<tr>
+						<td><strong><inp2:m_Phrase label="lu_Email"/> :</strong></td>
+						<td>
+							<input type="text" name="<inp2:ord_InputName field="BillingEmail"/>" value="<inp2:ord_Field name="BillingEmail"/>" style="width: 150px;" />
+						</td>
+						<td class="error"><inp2:ord_Error field="BillingEmail"/></td>
+					</tr>
+
+				<inp2:m_else/>
+					<tr>
+						<td><strong><inp2:m_Phrase label="lu_comm_FullName"/>*:</strong></td>
+						<td>
+							<inp2:ord_Field name="BillingTo"/>
+							<input type="hidden" name="<inp2:ord_InputName field="BillingTo"/>" value="<inp2:ord_Field name="BillingTo"/>" style="width: 300px;" />
+						</td>
+						<td width="170" class="error"><inp2:ord_Error field="BillingTo"/></td>
+					</tr>
+					<tr>
+						<td><strong><inp2:m_Phrase label="lu_comm_Company"/>:</strong></td>
+						<td>
+							<inp2:ord_Field name="BillingCompany"/>
+							<input type="hidden" name="<inp2:ord_InputName field="BillingCompany"/>" value="<inp2:ord_Field name="BillingCompany"/>" style="width: 300px;" />
+						</td>
+						<td width="170" class="error"><inp2:ord_Error field="BillingCompany"/></td>
+					</tr>
+					<tr>
+						<td>
+							<strong><inp2:m_Phrase label="lu_comm_AddressLine"/> 1*:</strong></td>
+						<td>
+							<inp2:ord_Field name="BillingAddress1"/>
+							<input type="hidden" name="<inp2:ord_InputName field="BillingAddress1"/>" value="<inp2:ord_Field name="BillingAddress1"/>" style="width: 300px;" />
+						</td>
+						<td class="error"><inp2:ord_Error field="BillingAddress1"/></td>
+					</tr>
+					<tr>
+						<td>
+							<strong><inp2:m_Phrase label="lu_comm_AddressLine"/> 2:</strong></td>
+						<td>
+							<inp2:ord_Field name="BillingAddress2"/>
+							<input type="hidden" name="<inp2:ord_InputName field="BillingAddress2"/>" value="<inp2:ord_Field name="BillingAddress2"/>" style="width: 300px;" />
+						</td>
+						<td class="error"><inp2:ord_Error field="BillingAddress2"/></td>
+					</tr>
+					<tr>
+						<td>
+							<strong><inp2:m_Phrase label="lu_comm_City"/> *:</strong></td>
+						<td>
+							<inp2:ord_Field name="BillingCity"/>
+							<input type="hidden" name="<inp2:ord_InputName field="BillingCity"/>" value="<inp2:ord_Field name="BillingCity"/>" style="width: 200px;" />
+						</td>
+						<td class="error"><inp2:ord_Error field="BillingCity"/></td>
+					</tr>
+					<tr>
+						<td>
+							<strong><inp2:m_Phrase label="lu_State"/>*:</strong></td>
+						<td>
+							<inp2:ord_Field name="BillingState"/>
+							<input type="hidden" name="<inp2:ord_InputName field="BillingState"/>" value="<inp2:ord_Field name="BillingState"/>" style="width: 200px;" />
+						</td>
+						<td class="error"><inp2:ord_Error field="BillingState"/></td>
+					</tr>
+					<tr>
+						<td>
+							<strong><inp2:m_Phrase label="lu_comm_ZipCode"/> *:</strong></td>
+						<td>
+							<inp2:ord_Field name="BillingZip"/>
+							<input type="hidden" name="<inp2:ord_InputName field="BillingZip"/>" value="<inp2:ord_Field name="BillingZip"/>" style="width: 100px;" />
+						</td>
+						<td class="error"><inp2:ord_Error field="BillingZip"/></td>
+					</tr>
+					<tr>
+						<td>
+							<strong><inp2:m_Phrase label="lu_Country"/> *:</strong></td>
+						<td>
+							<inp2:ord_Field name="BillingCountry"/>
+							<input type="hidden" name="<inp2:ord_InputName field="BillingCountry"/>" value="<inp2:ord_Field name="BillingCountry"/>" style="width: 100px;" />
+						</td>
+						<td class="error"><inp2:ord_Error field="BillingCountry"/></td>
+					</tr>
+					<tr>
+						<td><strong><inp2:m_Phrase label="lu_Phone"/>*:</strong></td>
+						<td>
+							<inp2:ord_Field name="BillingPhone"/>
+							<input type="hidden" name="<inp2:ord_InputName field="BillingPhone"/>" value="<inp2:ord_Field name="BillingPhone"/>" style="width: 150px;" />
+						</td>
+						<td class="error"><inp2:ord_Error field="BillingPhone"/></td>
+					</tr>
+					<tr>
+						<td><strong><inp2:m_Phrase label="lu_Email"/>:</strong></td>
+						<td>
+							<inp2:ord_Field name="BillingEmail"/>
+							<input type="hidden" name="<inp2:ord_InputName field="BillingEmail"/>" value="<inp2:ord_Field name="BillingEmail"/>" style="width: 150px;" />
+						</td>
+						<td class="error"><inp2:ord_Error field="BillingEmail"/></td>
+					</tr>
+				</inp2:m_if>
+
+				<tr>
+					<td colspan="2" valign="bottom">
+						<br/>
+						<input type="hidden" name="check_billing_address" value="true"/>
+						<input class="button" type="submit" id="events[ord][OnUpdate]" name="events[ord][OnUpdate]" value="<inp2:m_Phrase label="lu_comm_UpdateAddress" no_editing="1"/>"/>
+					</td>
+				</tr>
+			</table>
+		</td>
+	</tr>
+</table>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/blocks/checkout/thank_you.tpl
===================================================================
--- themes/onlinestore/in-commerce/blocks/checkout/thank_you.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/blocks/checkout/thank_you.tpl	(revision 0)
@@ -0,0 +1,14 @@
+<table class="block-no-border">
+	<tr>
+		<td class="block-header">
+			<inp2:m_Phrase label="lu_comm_OrderCompleted"/>
+		</td>
+	</tr>
+	<tr>
+		<td class="block-data">
+			<inp2:m_Phrase label="lu_comm_ThankYou"/>!<br/>
+			<br/>
+			<inp2:m_Phrase label="lu_comm_OrderSuccessfullyPlaced"/>
+		</td>
+	</tr>
+</table>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/blocks/checkout/shop_cart.tpl
===================================================================
--- themes/onlinestore/in-commerce/blocks/checkout/shop_cart.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/blocks/checkout/shop_cart.tpl	(revision 0)
@@ -0,0 +1,199 @@
+<table border="0" cellspacing="0" cellpadding="0" class="block-no-border">
+	<tr>
+    	<td class="block-header"><inp2:m_Phrase label="lu_comm_YourCart"/></td>
+	</tr>
+	<tr>
+		<td class="block-data">
+  			<form method="post" action="<inp2:m_FormAction />">
+
+  				<inp2:m_if check="ord_CartHasError">
+					<table class="warning">
+						<tr>
+							<td valign="top" align="left" class="block-data">
+								<img src="img/message.gif" alt="" width="19" height="19" />
+								<span class="warning-text"><inp2:m_Phrase label="lu_Warning"/></span><br />
+								<inp2:ord_CheckoutError state_changed="lu_comm_msg_state_changed" qty_unavailable="lu_comm_msg_qty_unavailable" outofstock="lu_comm_msg_outofstock"
+														coupon_applied="lu_comm_CouponApplied"
+														invalid_code="lu_comm_invalid_code" code_expired="lu_comm_code_expired"
+														min_qty="lu_min_qty_error" code_removed="lu_comm_CouponRemoved"
+														code_removed_automatically="lu_comm_CouponIsNotEffective"
+														changed_after_login="lu_comm_CartChangedAfterLogin" />
+							</td>
+						</tr>
+					</table>
+				</inp2:m_if>
+
+				<table>
+
+					<inp2:m_DefineElement name="shop_cart_header">
+						<tr class="cart-header">
+							<inp2:m_if check="m_GetConfig" name="ShowProductImagesInOrders">
+								<td colspan="2"><inp2:m_Phrase label="lu_comm_ProductDescription"/></td>
+							<inp2:m_else/>
+								<td><inp2:m_Phrase label="lu_comm_ProductDescription"/></td>
+							</inp2:m_if>
+
+							<td><inp2:m_Phrase label="lu_comm_YourPrice"/></td>
+							<td><inp2:m_Phrase label="lu_comm_Qty"/>.</td>
+							<td><inp2:m_Phrase label="lu_comm_Total"/></td>
+							<td>&nbsp;</td>
+						</tr>
+					</inp2:m_DefineElement>
+
+					<inp2:m_include template="in-commerce/blocks/checkout/options"/>
+
+					<inp2:m_DefineElement name="product_image">
+						<img src="<inp2:m_param name="img_path" />" title="<inp2:m_param name="alt" />" alt="<inp2:m_param name="alt" />" <inp2:m_param name="img_size" /> border="0" /><br/>
+					</inp2:m_DefineElement>
+
+					<inp2:m_DefineElement name="shop_cart_item">
+						<tr class="cart-item">
+							<inp2:m_if check="m_GetConfig" name="ShowProductImagesInOrders">
+								<td width="120">
+									<inp2:p_Image render_as="product_image" thumbnail="1" DefaultImage="in-commerce/img/no_picture_list.gif" MaxWidth="120" MaxHeight="120" DefaultWidth="120" />
+								</td>
+							</inp2:m_if>
+
+							<td>
+								<a href="<inp2:ProductLink template="__default__"/>"><inp2:Field name="Name" /></a> <inp2:m_if check="ord_BackorderFlag"> <span class="error"><inp2:m_phrase label="lu_cart_BackorderFlag" /></span></inp2:m_if>
+								<inp2:m_if check="HasOptions">
+									<br/>
+									<span style="font-size: 8pt">
+									<inp2:m_if check="DisplayOptionsPricing"> <!-- selectable options or overriding combination -->
+										<inp2:PrintOptions render_as="option_element" currency="selected"/>
+									<inp2:m_else/> <!-- listed combinations -->
+										<inp2:PrintOptions render_as="option_element_no_price" currency="selected"/>
+									</inp2:m_if>
+									<inp2:m_if check="FieldEquals" field="OptionsSelectionMode" value="0"> <!-- selectable options -->
+										<a href="<inp2:m_link template="__default__" pass="m,p,orditems"/>"><inp2:m_Phrase label="lu_comm_edit_options"/></a>
+									</inp2:m_if>
+									</span>
+								</inp2:m_if>
+								<inp2:m_if check="p_CustomField" name="Availability">
+									<br />
+									<inp2:p_CustomField name="Availability"/>
+								</inp2:m_if>
+								<inp2:m_if check="HasDiscount">
+									<br />
+									<inp2:m_Phrase label="lu_comm_RegularPrice" />: <inp2:Field name="FlatPrice" currency="selected"/><br />
+									<inp2:m_Phrase label="lu_comm_Discount" />: <span class="price1"><inp2:Field name="ItemDiscount" currency="selected" negative="1" /></span>
+									<a href="javascript:showDiscountInfo('<inp2:ord_DiscountHelpLink template="in-commerce/checkout/discount_info" />')">[?]</a>
+								</inp2:m_if>
+							</td>
+							<td><strong><inp2:Field name="Price" currency="selected"/></strong></td>
+							<td>
+									<inp2:m_if check="IsTangible" >
+										<input value="<inp2:Field field="Quantity"/>" size="5" name="<inp2:InputName field="Quantity"/>" />
+										<!--<inp2:m_if check="ProductsInStock">
+											<inp2:m_Phrase name="lu_of"/> <inp2:ProductsInStock/>
+										</inp2:m_if>-->
+									<inp2:m_else />
+										1
+								</inp2:m_if>
+							</td>
+							<td><strong><inp2:Field name="ExtendedPrice" currency="selected"/></strong></td>
+							<td><a href="<inp2:LinkRemoveFromCart/>"><img src="in-commerce/img/delete.gif" title="Delete" alt="Delete" width="15" height="14" border="0" /></a></td>
+						</tr>
+					</inp2:m_DefineElement>
+
+					<inp2:m_DefineElement name="shop_cart_footer">
+
+						<tr class="cart-subtotal">
+							<td colspan="<inp2:m_if check="m_GetConfig" name="ShowProductImagesInOrders">4<inp2:m_else/>3</inp2:m_if>">
+								<inp2:m_if check="ord_HasDiscount">
+									<inp2:m_Phrase label="lu_comm_TotalSavings" />: <span class="price1"><inp2:ord_Field name="DiscountTotal" currency="selected" /></span><br />
+								</inp2:m_if>
+								<inp2:m_if check="ord_Field" name="CouponId">
+									<inp2:m_Phrase label="lu_comm_CouponHasBeenApplied" />:
+									<inp2:ord_Field field="CouponName" />
+									<input class="button" type="submit" name="events[ord][OnRemoveCoupon]" value="<inp2:m_Phrase label="lu_comm_RemoveCoupon" no_editing="1"/>">
+								<inp2:m_else />
+									<inp2:m_Phrase label="lu_comm_EnterCouponCode" />:
+									<input size="10" name="coupon_code" />
+								</inp2:m_if>
+							</td>
+							<td colspan="2">
+								<strong><inp2:m_Phrase label="lu_comm_Subtotal"/>: <span class="price1"><inp2:ord_Field field="SubtotalWithDiscount" currency="selected"/></span></strong>
+							</td>
+						</tr>
+
+<!--						<inp2:m_if check="ord_HasPayPalSubscription"/>
+							<input type="hidden" name="next_step_template" value="in-commerce/checkout/paypal">
+						<inp2:m_else/> -->
+							<input type="hidden" name="next_step_template" value="<inp2:m_if check="ord_OrderHasTangibleItems">in-commerce/checkout/shipping<inp2:m_else/>in-commerce/checkout/billing</inp2:m_if>" />
+<!--						</inp2:m_if> -->
+
+
+
+						<input type="hidden" name="login_template" value="in-commerce/checkout/login_register" />
+
+						<tr class="cart-subtotal">
+							<td colspan="<inp2:m_if check="m_GetConfig" name="ShowProductImagesInOrders">4<inp2:m_else/>3</inp2:m_if>">
+								<input class="button" type="submit" name="events[ord][OnUpdateCart]" value="<inp2:m_Phrase label="lu_comm_UpdateCart" no_editing="1"/>" />
+								&nbsp;
+								<input class="button" type="submit" name="events[ord][OnCleanupCart]" onclick="return confirm('<inp2:m_Phrase label="lu_comm_ClearCartConfirmation" />')" value="<inp2:m_Phrase label="lu_comm_CleanupCart" no_editing="1"/>" />
+							</td>
+							<td align="right" colspan="2">
+								<input class="button" type="submit" name="events[ord][OnCheckout]" value="<inp2:m_Phrase label="lu_comm_ProceedCheckout" no_editing="1"/>" />
+							</td>
+						</tr>
+					</inp2:m_DefineElement>
+
+					<inp2:m_DefineElement name="shop_cart_empty">
+						<tr>
+							<td>
+								<strong><inp2:m_Phrase label="lu_comm_YourCartIsEmpty"/></strong>
+							</td>
+						</tr>
+					</inp2:m_DefineElement>
+
+					<script language="JavaScript">
+						function showDiscountInfo(url)
+						{
+							window.open(url, null, 'scrollbars=no,menubar=no,toolbars=no,width=300,height=150');
+						}
+					</script>
+
+					<inp2:ord_PrintCart item_render_as="shop_cart_item" header_render_as="shop_cart_header" footer_render_as="shop_cart_footer" empty_cart_render_as="shop_cart_empty" per_page="-1"/>
+
+				</table>
+
+				<hr/>
+				<input type="hidden" name="continue_shopping_template" value="__default__"/>
+				<input class="button" type="submit" name="events[ord][OnContinueShopping]" value="<inp2:m_Phrase label="lu_comm_Continue_Shopping" no_editing="1"/>">
+
+			</form>
+
+			<inp2:m_if check="ord_CartNotEmpty">
+				<inp2:m_if check="ord_HasPaymentGateway" name="Google Checkout">
+					<inp2:m_DefineElement name="google_checkout_button">
+						<form method="POST" target="_blank" action="<inp2:ord_GetFormAction payment_type_id="$payment_type_id"/>">
+							<inp2:ord_GetFormHiddenFields return_template="in-commerce/checkout/checkout_success"
+														  cancel_template="in-commerce/checkout/billing"
+														  payment_type_id="$payment_type_id"/>
+
+							<inp2:m_if check="m_Param" name="submit_url" equals_to="https://checkout.google.com/api/checkout/v2">
+								<input type="image" name="Google Checkout" alt="Fast checkout through Google"
+						        	src="https://checkout.google.com/buttons/checkout.gif?merchant_id=<inp2:m_Param name="merchant_id"/>
+						              &w=180&h=46&style=white&variant=text&loc=en_US" height="46" width="180">
+							<inp2:m_else/>
+								<input type="image" name="Google Checkout" alt="Fast checkout through Google"
+						        src="http://sandbox.google.com/checkout/buttons/checkout.gif?merchant_id=<inp2:m_Param name="merchant_id"/>
+						              &w=180&h=46&style=white&variant=text&loc=en_US" height="46" width="180">
+							</inp2:m_if>
+						</form>
+					</inp2:m_DefineElement>
+
+					<inp2:ord_DisplayPaymentGateway name="Google Checkout" render_as="google_checkout_button"/>
+				</inp2:m_if>
+			</inp2:m_if>
+
+		</td>
+	</tr>
+</table>
+
+<inp2:m_if check="ord_CartIsEmpty">
+
+	<inp2:m_include template="in-commerce/blocks/products/products_picks" data_exists="1"/>
+
+</inp2:m_if>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/blocks/checkout/form_register.tpl
===================================================================
--- themes/onlinestore/in-commerce/blocks/checkout/form_register.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/blocks/checkout/form_register.tpl	(revision 0)
@@ -0,0 +1,214 @@
+<inp2:m_DefineElement name="destination">
+	<option value="<inp2:m_param name="key"/>"<inp2:m_param name="selected"/>><inp2:m_param name="option"/></option>
+</inp2:m_DefineElement>
+
+<inp2:m_if check="u_SuggestRegister">
+	<form method="post" action="<inp2:m_FormAction />">
+	
+	<table class="block-no-border">
+		<tr>
+			<td class="block-header">
+				<inp2:m_Phrase label="lu_comm_Registration"/>
+			</td>
+		</tr>
+		<tr>
+			<td class="block-data">
+					<inp2:m_if check="u_HasError" field="any">
+						<table class="warning">
+							<tr>
+								<td valign="top" align="left" class="block-data">
+									<img src="img/message.gif" alt="" width="19" height="19" />
+									<span class="warning-text"><inp2:m_Phrase label="lu_Warning"/></span><br />
+									<inp2:m_Phrase label="lu_AProblemInForm"/>
+								</td>
+							</tr>
+						</table>
+					</inp2:m_if>
+					<inp2:m_Phrase label="lu_SuggestRegister"/>
+					<br>
+					<br>
+					<strong>* <inp2:m_Phrase label="lu_IndicatesRequired"/>.</strong> 	<br /><br />
+					<inp2:ord_PrefillRegistrationFields type="billing"/>
+					<table class="form-data">
+						<inp2:m_if check="u_UseUsernames">
+						<tr>
+							<td>
+								<strong><inp2:m_phrase label="lu_select_username"/>*:</strong>
+							</td>
+							<td>
+								<input type="text" name="<inp2:u_InputName field="Login"/>" value="<inp2:u_Field name="Login"/>" style="width: 300px;" />
+							</td>
+							<td class="error"><inp2:u_Error field="Login"/></td>
+						</tr>
+						</inp2:m_if>
+						<tr>
+							<td>
+								<strong><inp2:m_phrase label="lu_email"/>*:</strong>
+							</td>
+							<td>
+								<input type="text" name="<inp2:u_InputName field="Email"/>" value="<inp2:u_Field name="Email" />" style="width: 300px;" />
+							</td>
+							<td class="error"><inp2:u_Error field="Email"/></td>
+						</tr>
+						<tr>
+							<td>
+								<strong><inp2:m_phrase label="lu_create_password"/>*:</strong>
+							</td>
+							<td>
+								<input type="password" name="<inp2:u_InputName field="Password"/>" value="" style="width: 300px;" />
+							</td>
+							<td class="error"><inp2:u_Error field="Password"/></td>
+						</tr>
+						<tr>
+							<td>
+								<strong><inp2:m_phrase label="lu_repeat_password"/>*:</strong>
+							</td>
+							<td>
+								<input type="password" name="<inp2:u_InputName field="VerifyPassword"/>" value="" style="width: 300px;" />
+							</td>
+							<td class="error"><inp2:u_Error field="VerifyPassword"/></td>
+						</tr>
+					
+						<tr> 
+							<td class="block-data">
+								<strong><inp2:m_phrase label="lu_birth_date"/>*:</strong><br>
+							</td> 
+							<td class="block-data">
+								<script src="inc/calendar.js"></script>
+								<input type="text" name="<inp2:u_InputName field="dob_date"/>" id="<inp2:u_InputName field="dob_date"/>" value="<inp2:u_Field name="dob_date" format="_regional_InputDateFormat"/>" style="width: 100px;" datepickerIcon="img/calendar.gif"/>
+								<script type="text/javascript">
+									initCalendar('<inp2:u_InputName field="dob_date"/>', "<inp2:u_Format input_format="1" field="dob_date"/>");
+								</script>
+								(<inp2:u_Format field="dob_date" input_format="1" human="true"/>, ex. <inp2:u_Format field="dob_date" sample="true"/>)
+							</td>
+							<td class="error"><inp2:u_Error field="dob_date"/></td>
+						</tr>	
+						
+						<tr>
+							<td>
+								<strong><inp2:m_phrase label="lu_first_name"/>:</strong>
+							</td>
+							<td>
+								<input type="text" name="<inp2:u_InputName field="FirstName"/>" value="<inp2:u_Field name="FirstName"/>" style="width: 300px;" />
+							</td>
+							<td class="error"><inp2:u_Error field="FirstName"/></td>
+						</tr>
+						
+						<tr>
+							<td>
+								<strong><inp2:m_phrase label="lu_last_name"/>:</strong>
+							</td>
+							<td>
+								<input type="text" name="<inp2:u_InputName field="LastName"/>" value="<inp2:u_Field name="LastName"/>" style="width: 300px;" />
+							</td>
+							<td class="error"><inp2:u_Error field="LastName"/></td>
+						</tr>
+						
+						<tr>
+							<td>
+								<strong><inp2:m_phrase label="lu_company"/>:</strong>
+							</td>
+							<td>
+								<input type="text" name="<inp2:u_InputName field="Company"/>" value="<inp2:u_Field name="Company"/>" style="width: 300px;" />
+							</td>
+							<td class="error"><inp2:u_Error field="Company"/></td>
+						</tr>
+						
+						<tr>
+							<td>
+								<strong><inp2:m_phrase label="lu_address_line"/> 1:</strong>
+							</td>
+							<td>
+								<input type="text" name="<inp2:u_InputName field="Street"/>" value="<inp2:u_Field name="Street"/>" style="width: 300px;" />
+							</td>
+							<td class="error"><inp2:u_Error field="Street"/></td>
+						</tr>
+						
+						<tr>
+							<td>
+								<strong><inp2:m_phrase label="lu_address_line"/> 2:</strong>
+							</td>
+							<td>
+								<input type="text" name="<inp2:u_InputName field="Street2"/>" value="<inp2:u_Field name="Street2"/>" style="width: 300px;" />
+							</td>
+							<td class="error"><inp2:u_Error field="Street2"/></td>
+						</tr>
+						
+						<tr>
+							<td>
+								<strong><inp2:m_phrase label="lu_city"/>:</strong>
+							</td>
+							<td>
+								<input type="text" name="<inp2:u_InputName field="City"/>" value="<inp2:u_Field name="City"/>" style="width: 200px;" />
+							</td>
+							<td class="error"><inp2:u_Error field="City"/></td>
+						</tr>
+						<tr>
+							<td>
+								<strong><inp2:m_phrase label="lu_state"/>:</strong>
+							</td>
+							<td>
+								<input type="text" name="<inp2:u_InputName field="State"/>" value="<inp2:u_Field name="State"/>" style="width: 200px;" />
+							</td>
+							<td class="error"><inp2:u_Error field="State"/></td>
+						</tr>						
+						<tr>
+							<td>
+								<strong><inp2:m_phrase label="lu_ZipCode"/>:</strong>
+							</td>
+							<td>
+								<input type="text" name="<inp2:u_InputName field="Zip"/>" value="<inp2:u_Field name="Zip"/>" style="width: 100px;" />
+							</td>
+							<td class="error"><inp2:u_Error field="Zip"/></td>
+						</tr>
+						<tr>
+							<td>
+								<strong><inp2:m_phrase label="lu_country"/>:</strong>
+							</td>
+							<td>
+								<select name="<inp2:u_InputName field="Country"/>" style="width: 300px;">
+									<option value=""></option>
+									<inp2:u_PredefinedOptions field="Country" render_as="destination" selected_param="selected" selected="selected=\"selected\""/>
+								</select>
+							</td>
+							<td class="error"><inp2:u_Error field="Country"/></td>
+						</tr>
+						
+						<tr>
+							<td>
+								<strong><inp2:m_phrase label="lu_phone"/>:</strong>
+							</td>
+							<td>
+								<input type="text" name="<inp2:u_InputName field="Phone"/>" value="<inp2:u_Field name="Phone"/>" style="width: 150px;" />
+							</td>
+							<td class="error"><inp2:u_Error field="Phone"/></td>
+						</tr>
+						
+						<tr>
+							<td>
+								<strong><inp2:m_phrase label="lu_fax"/>:</strong>
+							</td>
+							<td>
+								<input type="text" name="<inp2:u_InputName field="Fax"/>" value="<inp2:u_Field name="Fax"/>" style="width: 150px;" />
+							</td>
+							<td class="error"><inp2:u_Error field="Fax"/></td>
+						</tr>
+						
+						<tr>
+							<td colspan="3" valign="bottom" height="35">
+								<input type="hidden" name="next_template" value="<inp2:m_get var="next_template"/>">
+								<input type="hidden" name="registration_confirm_template" value="platform/login/register_confirm">
+								<input type="hidden" name="registration_confirm_pending_template" value="platform/login/register_confirm_pending">
+								
+								<input type="hidden" name="fields_prefilled" value="1" />
+								
+								<input class="button" type="submit" id="events[u][OnCreate]" name="events[u][OnCreate]" value="<inp2:m_Phrase label="lu_Register" no_editing="1"/>"/>
+							</td>
+						</tr>
+					</table>
+			</td>
+		</tr>
+	</table>
+	
+	</form>
+</inp2:m_if>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/blocks/checkout/shipping_address.tpl
===================================================================
--- themes/onlinestore/in-commerce/blocks/checkout/shipping_address.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/blocks/checkout/shipping_address.tpl	(revision 0)
@@ -0,0 +1,235 @@
+<inp2:m_DefineElement name="destination">
+	<option value="<inp2:m_param name="key"/>"<inp2:m_param name="selected"/>><inp2:m_param name="option"/></option>
+</inp2:m_DefineElement>
+
+<inp2:ord_ShowDefaultAddress type="shipping"/>
+<table class="block-no-border">
+	<tr>
+		<td class="block-header">
+			<inp2:m_Phrase label="lu_comm_ShippingInfo"/>
+		</td>
+	</tr>
+	<tr>
+		<td class="block-data">
+				<inp2:m_if check="ord_HasError" field="any">
+					<table class="warning">
+						<tr>
+							<td valign="top" align="left" class="block-data">
+								<img src="img/message.gif" alt="" width="19" height="19" />
+								<span class="warning-text"><inp2:m_Phrase label="lu_Warning"/></span><br />
+								<inp2:m_Phrase label="lu_AProblemInForm"/>
+							</td>
+						</tr>
+					</table>
+				</inp2:m_if>
+				<inp2:m_Phrase label="lu_comm_EnterShippingAddress"/>
+				<br />
+				<strong>* <inp2:m_Phrase label="lu_IndicatesRequired"/>.</strong> 	<br /><br />
+
+				<inp2:m_if check="m_LoggedIn">
+					<!-- address selector: begin -->
+					<inp2:m_Phrase label="lu_comm_SelectAddress"/>:
+
+					<inp2:m_DefineElement name="address_elem">
+						<option value="<inp2:m_param name="key"/>"<inp2:m_param name="selected"/>><inp2:m_param name="value"/></option>
+					</inp2:m_DefineElement>
+
+					<select name="shipping_address_id" onchange="document.getElementById('events[ord][OnSelectAddress]').click();">
+						<inp2:m_if check="ord_AllowAddAddress">
+							<option value="-1"><inp2:m_phrase name="lu_comm_NewAddress"/></option>
+						</inp2:m_if>
+						<inp2:ord_PrintAddresses render_as="address_elem" type="shipping" />
+					</select>
+					&nbsp;
+					<input class="button" type="submit" id="events[ord][OnSelectAddress]" name="events[ord][OnSelectAddress]" value="<inp2:m_Phrase label="lu_comm_Select" no_editing="1"/>"/>
+					<a href="<inp2:m_Link template="in-commerce/my_account/address"/>"><inp2:m_Phrase name="lu_comm_ManageAddresses"/></a>
+					<br />
+					<inp2:m_Phrase label="lu_comm_OrEnterAddress"/>:<br />
+
+					<inp2:m_if check="ord_IsProfileAddress" type="billing">
+						<inp2:m_Phrase label="lu_comm_ProfileAddressWarning"/><br />
+					</inp2:m_if>
+					<!-- address selector: end -->
+				</inp2:m_if>
+				<table class="form-data">
+
+					<inp2:m_if check="u.current_Field" name="cust_shipping_addr_block" inverse="1">
+
+						<tr>
+							<td><strong><inp2:m_Phrase label="lu_comm_FullName"/>*:</strong></td>
+							<td>
+								<input type="text" name="<inp2:ord_InputName field="ShippingTo"/>" value="<inp2:ord_Field name="ShippingTo"/>" style="width: 300px;" />
+							</td>
+							<td width="170" class="error"><inp2:ord_Error field="ShippingTo"/></td>
+						</tr>
+						<tr>
+							<td><strong><inp2:m_Phrase label="lu_comm_Company"/>:</strong></td>
+							<td>
+								<input type="text" name="<inp2:ord_InputName field="ShippingCompany"/>" value="<inp2:ord_Field name="ShippingCompany"/>" style="width: 300px;" />
+							</td>
+							<td width="170" class="error"><inp2:ord_Error field="ShippingCompany"/></td>
+						</tr>
+						<tr>
+							<td>
+								<strong><inp2:m_Phrase label="lu_comm_AddressLine"/> 1*:</strong></td>
+							<td>
+								<input type="text" name="<inp2:ord_InputName field="ShippingAddress1"/>" value="<inp2:ord_Field name="ShippingAddress1"/>" style="width: 300px;" />
+							</td>
+							<td class="error"><inp2:ord_Error field="ShippingAddress1"/></td>
+						</tr>
+						<tr>
+							<td>
+								<strong><inp2:m_Phrase label="lu_comm_AddressLine"/> 2:</strong></td>
+							<td>
+								<input type="text" name="<inp2:ord_InputName field="ShippingAddress2"/>" value="<inp2:ord_Field name="ShippingAddress2"/>" style="width: 300px;" />
+							</td>
+							<td class="error"><inp2:ord_Error field="ShippingAddress2"/></td>
+						</tr>
+						<tr>
+							<td>
+								<strong><inp2:m_Phrase label="lu_comm_City"/> *:</strong></td>
+							<td>
+								<input type="text" name="<inp2:ord_InputName field="ShippingCity"/>" value="<inp2:ord_Field name="ShippingCity"/>" style="width: 200px;" />
+							</td>
+							<td class="error"><inp2:ord_Error field="ShippingCity"/></td>
+						</tr>
+						<tr>
+							<td>
+								<strong><inp2:m_Phrase label="lu_State"/>*:</strong></td>
+							<td>
+								<input type="text" name="<inp2:ord_InputName field="ShippingState"/>" value="<inp2:ord_Field name="ShippingState"/>" style="width: 200px;" />
+							</td>
+							<td class="error"><inp2:ord_Error field="ShippingState"/></td>
+						</tr>
+						<tr>
+							<td>
+								<strong><inp2:m_Phrase label="lu_comm_ZipCode"/> *:</strong></td>
+							<td>
+								<input type="text" name="<inp2:ord_InputName field="ShippingZip"/>" value="<inp2:ord_Field name="ShippingZip"/>" style="width: 100px;" />
+							</td>
+							<td class="error"><inp2:ord_Error field="ShippingZip"/></td>
+						</tr>
+						<tr>
+							<td>
+								<strong><inp2:m_Phrase label="lu_Country"/> *:</strong></td>
+							<td>
+								<select name="<inp2:ord_InputName field="ShippingCountry"/>" style="width: 300px;">
+										<option value=""></option>
+										<inp2:ord_PredefinedOptions field="ShippingCountry" render_as="destination" selected_param="selected" selected="selected=\"selected\""/>
+								</select>
+							</td>
+							<td class="error"><inp2:ord_Error field="ShippingCountry"/></td>
+						</tr>
+						<tr>
+							<td><strong><inp2:m_Phrase label="lu_Phone"/>*:</strong></td>
+							<td>
+								<input type="text" name="<inp2:ord_InputName field="ShippingPhone"/>" value="<inp2:ord_Field name="ShippingPhone"/>" style="width: 150px;" />
+							</td>
+							<td class="error"><inp2:ord_Error field="ShippingPhone"/></td>
+						</tr>
+						<tr>
+							<td><strong><inp2:m_Phrase label="lu_Email"/>:</strong></td>
+							<td>
+								<input type="text" name="<inp2:ord_InputName field="ShippingEmail"/>" value="<inp2:ord_Field name="ShippingEmail"/>" style="width: 150px;" />
+							</td>
+							<td class="error"><inp2:ord_Error field="ShippingEmail"/></td>
+						</tr>
+					<inp2:m_else/>
+						<tr>
+							<td><strong><inp2:m_Phrase label="lu_comm_FullName"/>*:</strong></td>
+							<td>
+								<inp2:ord_Field name="ShippingTo"/>
+								<input type="hidden" name="<inp2:ord_InputName field="ShippingTo"/>" value="<inp2:ord_Field name="ShippingTo"/>" style="width: 300px;" />
+							</td>
+							<td width="170" class="error"><inp2:ord_Error field="ShippingTo"/></td>
+						</tr>
+						<tr>
+							<td><strong><inp2:m_Phrase label="lu_comm_Company"/>:</strong></td>
+							<td>
+								<inp2:ord_Field name="ShippingCompany"/>
+								<input type="hidden" name="<inp2:ord_InputName field="ShippingCompany"/>" value="<inp2:ord_Field name="ShippingCompany"/>" style="width: 300px;" />
+							</td>
+							<td width="170" class="error"><inp2:ord_Error field="ShippingCompany"/></td>
+						</tr>
+						<tr>
+							<td>
+								<strong><inp2:m_Phrase label="lu_comm_AddressLine"/> 1*:</strong></td>
+							<td>
+								<inp2:ord_Field name="ShippingAddress1"/>
+								<input type="hidden" name="<inp2:ord_InputName field="ShippingAddress1"/>" value="<inp2:ord_Field name="ShippingAddress1"/>" style="width: 300px;" />
+							</td>
+							<td class="error"><inp2:ord_Error field="ShippingAddress1"/></td>
+						</tr>
+						<tr>
+							<td>
+								<strong><inp2:m_Phrase label="lu_comm_AddressLine"/> 2:</strong></td>
+							<td>
+								<inp2:ord_Field name="ShippingAddress2"/>
+								<input type="hidden" name="<inp2:ord_InputName field="ShippingAddress2"/>" value="<inp2:ord_Field name="ShippingAddress2"/>" style="width: 300px;" />
+							</td>
+							<td class="error"><inp2:ord_Error field="ShippingAddress2"/></td>
+						</tr>
+						<tr>
+							<td>
+								<strong><inp2:m_Phrase label="lu_comm_City"/> *:</strong></td>
+							<td>
+								<inp2:ord_Field name="ShippingCity"/>
+								<input type="hidden" name="<inp2:ord_InputName field="ShippingCity"/>" value="<inp2:ord_Field name="ShippingCity"/>" style="width: 200px;" />
+							</td>
+							<td class="error"><inp2:ord_Error field="ShippingCity"/></td>
+						</tr>
+						<tr>
+							<td>
+								<strong><inp2:m_Phrase label="lu_State"/>*:</strong></td>
+							<td>
+								<inp2:ord_Field name="ShippingState"/>
+								<input type="hidden" name="<inp2:ord_InputName field="ShippingState"/>" value="<inp2:ord_Field name="ShippingState"/>" style="width: 200px;" />
+							</td>
+							<td class="error"><inp2:ord_Error field="ShippingState"/></td>
+						</tr>
+						<tr>
+							<td>
+								<strong><inp2:m_Phrase label="lu_comm_ZipCode"/> *:</strong></td>
+							<td>
+								<inp2:ord_Field name="ShippingZip"/>
+								<input type="hidden" name="<inp2:ord_InputName field="ShippingZip"/>" value="<inp2:ord_Field name="ShippingZip"/>" style="width: 100px;" />
+							</td>
+							<td class="error"><inp2:ord_Error field="ShippingZip"/></td>
+						</tr>
+						<tr>
+							<td>
+								<strong><inp2:m_Phrase label="lu_Country"/> *:</strong></td>
+							<td>
+								<inp2:ord_Field name="ShippingCountry"/>
+								<input type="hidden" name="<inp2:ord_InputName field="ShippingCountry"/>" value="<inp2:ord_Field name="ShippingCountry"/>" style="width: 100px;" />
+							</td>
+							<td class="error"><inp2:ord_Error field="ShippingCountry"/></td>
+						</tr>
+						<tr>
+							<td><strong><inp2:m_Phrase label="lu_Phone"/>*:</strong></td>
+							<td>
+								<inp2:ord_Field name="ShippingPhone"/>
+								<input type="hidden" name="<inp2:ord_InputName field="ShippingPhone"/>" value="<inp2:ord_Field name="ShippingPhone"/>" style="width: 150px;" />
+							</td>
+							<td class="error"><inp2:ord_Error field="ShippingPhone"/></td>
+						</tr>
+						<tr>
+							<td><strong><inp2:m_Phrase label="lu_Email"/>:</strong></td>
+							<td>
+								<inp2:ord_Field name="ShippingEmail"/>
+								<input type="hidden" name="<inp2:ord_InputName field="ShippingEmail"/>" value="<inp2:ord_Field name="ShippingEmail"/>" style="width: 150px;" />
+							</td>
+							<td class="error"><inp2:ord_Error field="ShippingEmail"/></td>
+						</tr>
+					</inp2:m_if>
+
+					<tr>
+						<td colspan="2" valign="bottom" height="35">
+							<input type="hidden" name="check_shipping_address" value="true"/>
+							<input class="button" type="submit" id="events[ord][OnUpdate]" name="events[ord][OnUpdate]" value="<inp2:m_Phrase label="lu_comm_UpdateAddress" no_editing="1"/>"/>
+						</td>
+					</tr>
+				</table>
+		</td>
+	</tr>
+</table>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/blocks/checkout/order_preview.tpl
===================================================================
--- themes/onlinestore/in-commerce/blocks/checkout/order_preview.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/blocks/checkout/order_preview.tpl	(revision 0)
@@ -0,0 +1,296 @@
+<inp2:m_include template="in-commerce/blocks/checkout/options"/>
+
+<inp2:m_DefineElement name="product_image">
+	<img src="<inp2:m_param name="img_path" />" title="<inp2:m_param name="alt" />" alt="<inp2:m_param name="alt" />" <inp2:m_param name="img_size" /> border="0" /><br/>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="orderitem_elem">
+	<tr class="cart-item">
+		<inp2:m_if check="m_GetConfig" name="ShowProductImagesInOrders">
+			<td width="120">
+				<inp2:p_Image render_as="product_image" thumbnail="1" DefaultImage="in-commerce/img/no_picture_list.gif" MaxWidth="120" MaxHeight="120" DefaultWidth="120" />
+			</td>
+		</inp2:m_if>
+
+		<td>
+			<strong><inp2:Field name="ProductName"/></strong><inp2:m_if check="ord_BackorderFlag"> <span class="error"><inp2:m_phrase label="lu_cart_BackorderFlag" /></span></inp2:m_if>
+			<inp2:m_if check="HasOptions">
+				<br/>
+				<span style="font-size: 8pt">
+				<inp2:m_if check="DisplayOptionsPricing"> <!-- selectable options or overriding combination -->
+					<inp2:PrintOptions render_as="option_element" currency="selected"/>
+				<inp2:m_else/> <!-- listed combinations -->
+					<inp2:PrintOptions render_as="option_element_no_price"/>
+				</inp2:m_if>
+				</span>
+				<br/>
+			</inp2:m_if>
+			<inp2:m_if check="HasDiscount">
+				<br />
+				<inp2:m_Phrase label="lu_comm_RegularPrice" />: <inp2:Field name="FlatPrice" currency="selected"/><br />
+				<inp2:m_Phrase label="lu_comm_Discount" />: <span class="price1"><inp2:Field name="ItemDiscount" currency="selected" negative="1"/></span>
+			</inp2:m_if>
+		</td>
+		<td>
+			<strong><inp2:Field name="Price" currency="selected"/></strong>
+		</td>
+		<td><inp2:Field name="Quantity"/></td>
+		<td><strong><inp2:Field name="ExtendedPrice" currency="selected"/></strong></td>
+	</tr>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="order_form_shipping">
+	<!-- shipping -->
+	<table width="100%" cellpadding="0" cellspacing="0">
+		<tr class="cart-header">
+			<td colspan="2"><inp2:m_Phrase label="lu_comm_ShipmentInfo"/></td>
+		</tr>
+		<tr class="block-data2">
+			<td><strong><inp2:m_Phrase label="lu_Name"/></strong>:</td>
+			<td style="text-align: right;"><inp2:Field field="ShippingTo"/></td>
+		</tr>
+		<inp2:m_if check="Field" name="ShippingCompany">
+		<tr class="block-data2">
+			<td><strong><inp2:m_Phrase label="lu_comm_Company"/></strong>:</td>
+			<td style="text-align: right;"><inp2:Field field="ShippingCompany"/></td>
+		</tr>
+		</inp2:m_if>
+		<inp2:m_if check="Field" name="ShippingEmail">
+		<tr class="block-data2">
+			<td><strong><inp2:m_Phrase label="lu_comm_EmailAddress"/></strong>:</td>
+			<td style="text-align: right;"><inp2:Field field="ShippingEmail"/></td>
+		</tr>
+		</inp2:m_if>
+		<tr class="block-data2">
+			<td><strong><inp2:m_Phrase label="lu_comm_PhoneNumber"/></strong>:</td>
+			<td style="text-align: right;"><inp2:Field field="ShippingPhone"/></td>
+		</tr>
+		<tr class="block-data2">
+			<td><strong><inp2:m_Phrase label="lu_comm_FaxNumber"/></strong>:</td>
+			<td style="text-align: right;"><inp2:Field field="ShippingFax"/></td>
+		</tr>
+		<tr class="block-data2">
+			<td style="vertical-align: top;"><strong><inp2:m_Phrase label="lu_comm_Address"/></strong>:</td>
+			<td style="text-align: right;">
+				<inp2:m_if check="FieldEquals" field="ShippingAddress1" value="" inverse="inverse">
+					<inp2:Field field="ShippingAddress1"/><br>
+				</inp2:m_if>
+
+				<inp2:m_if check="FieldEquals" field="ShippingAddress2" value="" inverse="inverse">
+					<inp2:Field field="ShippingAddress2"/><br>
+				</inp2:m_if>
+				<inp2:PrintLocation type="Shipping"/>
+			</td>
+		</tr>
+	</table>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="order_form_billing">
+	<!-- billing -->
+	<table width="100%" cellpadding="0" cellspacing="0">
+		<tr class="cart-header">
+			<td colspan="2"><inp2:m_Phrase label="lu_comm_BillingInfo"/></td>
+		</tr>
+		<tr class="block-data2">
+			<td><strong><inp2:m_Phrase label="lu_Name"/></strong>:</td>
+			<td style="text-align: right;"><inp2:Field field="BillingTo"/></td>
+		</tr>
+		<inp2:m_if check="Field" name="BillingCompany">
+		<tr class="block-data2">
+			<td><strong><inp2:m_Phrase label="lu_comm_Company"/></strong>:</td>
+			<td style="text-align: right;"><inp2:Field field="BillingCompany"/></td>
+		</tr>
+		</inp2:m_if>
+		<inp2:m_if check="Field" name="BillingEmail">
+		<tr class="block-data2">
+			<td><strong><inp2:m_Phrase label="lu_comm_EmailAddress"/></strong>:</td>
+			<td style="text-align: right;"><inp2:Field field="BillingEmail"/></td>
+		</tr>
+		</inp2:m_if>
+		<tr class="block-data2">
+			<td><strong><inp2:m_Phrase label="lu_comm_PhoneNumber"/></strong>:</td>
+			<td style="text-align: right;"><inp2:Field field="BillingPhone"/></td>
+		</tr>
+		<tr class="block-data2">
+			<td><strong><inp2:m_Phrase label="lu_comm_FaxNumber"/></strong>:</td>
+			<td style="text-align: right;"><inp2:Field field="BillingFax"/></td>
+		</tr>
+		<tr class="block-data2">
+			<td><strong><inp2:m_Phrase label="lu_comm_Company"/></strong>:</td>
+			<td style="text-align: right;"><inp2:Field field="BillingCompany"/></td>
+		</tr>
+		<tr class="block-data2">
+			<td style="vertical-align: top;"><strong><inp2:m_Phrase label="lu_comm_Address"/></strong>:</td>
+			<td style="text-align: right;">
+				<inp2:m_if check="FieldEquals" field="BillingAddress1" value="" inverse="inverse">
+					<inp2:Field field="BillingAddress1"/><br>
+				</inp2:m_if>
+
+				<inp2:m_if check="FieldEquals" field="BillingAddress2" value="" inverse="inverse">
+					<inp2:Field field="BillingAddress2"/><br>
+				</inp2:m_if>
+				<inp2:PrintLocation type="Billing"/>
+			</td>
+		</tr>
+
+		<tr class="block-data2">
+			<td><strong><inp2:m_Phrase label="lu_comm_PaymentType"/>:</strong></td>
+			<td style="text-align: right;"><inp2:Field name="PaymentType" /></td>
+		</tr>
+
+		<inp2:m_if check="UsingCreditCard">
+			<tr class="block-data2">
+				<td><strong><inp2:m_Phrase label="lu_comm_NameOnCard"/>:</strong></td>
+				<td style="text-align: right;"><inp2:Field name="PaymentNameOnCard"/></td>
+			</tr>
+			<tr class="block-data2">
+				<td><strong><inp2:m_Phrase label="lu_comm_CardType"/>:</strong></td>
+				<td style="text-align: right;"><inp2:Field name="PaymentCardType" /></td>
+			</tr>
+			<tr class="block-data2">
+				<td style="vertical-align: top;"><strong><inp2:m_Phrase label="lu_comm_CardNumber"/>:</strong></td>
+				<td style="text-align: right;"><inp2:Field name="PaymentAccount" masked="masked"/></td>
+			</tr>
+			<tr class="block-data2">
+				<td style="vertical-align: top;"><strong><inp2:m_Phrase label="lu_comm_Exp"/>:</strong></td>
+				<td style="text-align: right;"><inp2:Field name="PaymentCCExpDate"/></td>
+			</tr>
+		</inp2:m_if>
+	</table>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="order_form">
+	<table class="block-no-border">
+		<tr>
+			<td class="block-header">
+				<inp2:m_Phrase label="lu_comm_OrderPreview"/>
+			</td>
+		</tr>
+	</table>
+
+	<table class="block-no-border">
+		<tr>
+			<td class="block-data">
+				<strong><inp2:m_Phrase label="lu_comm_OrderNumber"/><inp2:Field name="OrderNumber"/></strong>
+			</td>
+		</tr>
+	</table>
+
+	<inp2:m_if check="OrderHasTangibleItems">
+		<table class="block-no-border">
+			<tr>
+				<td width="49%">
+					<inp2:m_RenderElement name="order_form_shipping" PrefixSpecial="ord"/>
+				</td>
+				<td>&nbsp;</td>
+				<td width="49%">
+					<inp2:m_RenderElement name="order_form_billing" PrefixSpecial="ord"/>
+				</td>
+			</tr>
+		</table>
+	<inp2:m_else />
+		<table class="block-no-border">
+			<tr>
+				<td>
+					<inp2:m_RenderElement name="order_form_billing" PrefixSpecial="ord"/>
+				</td>
+			</tr>
+		</table>
+	</inp2:m_if>
+
+	<table>
+		<tr class="cart-header">
+			<inp2:m_if check="m_GetConfig" name="ShowProductImagesInOrders">
+				<td colspan="2"><inp2:m_Phrase label="lu_comm_ProductDescription"/></td>
+			<inp2:m_else/>
+				<td><inp2:m_Phrase label="lu_comm_ProductDescription"/></td>
+			</inp2:m_if>
+
+			<td><inp2:m_Phrase label="lu_comm_YourPrice"/></td>
+
+			<td><inp2:m_Phrase label="lu_comm_Qty"/>.</td>
+			<td><inp2:m_Phrase label="lu_comm_Total"/></td>
+		</tr>
+
+		<inp2:ord_ListOrderItems render_as="orderitem_elem"/>
+
+		<tr class="cart-subtotal">
+			<td>
+				<inp2:m_if check="ord_HasDiscount">
+					<inp2:m_Phrase label="lu_comm_TotalSavings" />: <span class="price1"><inp2:ord_Field name="DiscountTotal" currency="selected" /></span><br />
+				</inp2:m_if>&nbsp;
+			</td>
+			<td style="text-align: right;" colspan="<inp2:m_if check="m_GetConfig" name="ShowProductImagesInOrders">5<inp2:m_else/>4</inp2:m_if>">
+				<strong><inp2:m_Phrase label="lu_comm_Subtotal"/>: <span class="price1"><inp2:Field name="SubTotal" currency="selected"/></span></strong>
+			</td>
+		</tr>
+	</table>
+
+	<table>
+		<tr class="cart-header">
+		    <td>
+				<inp2:m_Phrase label="lu_comm_OrderTotal"/>
+			</td>
+		</tr>
+	</table>
+
+	<table class="block-no-border">
+
+		<inp2:m_DefineElement name="shipping_total">
+			<tr class="block-data2">
+				<td style="text-align: right;"><inp2:m_Phrase label="lu_comm_ShippingCost"/> (<inp2:ord_ShippingType />):</td>
+				<td style="text-align: right;"><inp2:ord_Field name="ShippingCost" currency="selected"/></td>
+			</tr>
+		</inp2:m_DefineElement>
+
+		<inp2:m_DefineElement name="processing_total">
+			<tr class="block-data2">
+				<td style="text-align: right;"><inp2:m_Phrase label="lu_comm_ProcessingFee"/>: </td>
+				<td style="text-align: right;"><inp2:ord_Field name="ProcessingFee" currency="selected"/></td>
+			</tr>
+		</inp2:m_DefineElement>
+
+		<inp2:m_DefineElement name="sub_total">
+			<tr class="block-data2">
+				<td style="text-align: right;"><inp2:m_Phrase label="lu_comm_SubTotal"/>: </td>
+				<td style="text-align: right;"><inp2:ord_Field name="AmountWithoutVAT" currency="selected"/></td>
+			</tr>
+		</inp2:m_DefineElement>
+
+		<inp2:m_DefineElement name="vat_total">
+			<tr class="block-data2">
+				<td style="text-align: right;"><inp2:m_Phrase label="lu_comm_VAT"/> <inp2:ord_Field name="VATPercent"/>%: </td>
+				<td style="text-align: right;"><inp2:ord_Field name="VAT" currency="selected"/></td>
+			</tr>
+		</inp2:m_DefineElement>
+
+		<inp2:ord_PrintTotals
+			shipping_render_as="shipping_total"
+			processing_render_as="processing_total"
+			sub_total_render_as="sub_total"
+			vat_render_as="vat_total"/>
+
+		<tr class="block-data2">
+		  <td class="price3" style="text-align: right;"><strong><inp2:m_Phrase label="lu_comm_GrandTotal"/>:</strong></td>
+			<td class="price3" style="text-align: right;"><span class="price1"><inp2:Field name="TotalAmount" currency="selected"/></span></td>
+		</tr>
+	</table>
+
+	<br />
+</inp2:m_DefineElement>
+
+<inp2:ord_ShowOrder render_as="order_form" />
+
+<table class="block-no-border">
+	<tr class="block-data2">
+		<td class="price3" style="text-align: right;">
+			<form method="POST" action="<inp2:ord_GetFormAction/>">
+				<inp2:ord_GetFormHiddenFields return_template="in-commerce/checkout/checkout_success"
+											  cancel_template="in-commerce/checkout/billing" />
+				<inp2:m_if check="ord_NeedsPlaceButton">
+					<input type="submit" value="<inp2:m_Phrase label="lu_order_CompleteOrder" />" class="button">
+				</inp2:m_if>
+			</form>
+		</td>
+	</tr>
+</table>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/blocks/checkout/shipping_options.tpl
===================================================================
--- themes/onlinestore/in-commerce/blocks/checkout/shipping_options.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/blocks/checkout/shipping_options.tpl	(revision 0)
@@ -0,0 +1,204 @@
+<inp2:m_DefineElement name="order_shipping_type">
+	<option <inp2:m_param name="selected"/> value="<inp2:m_param name="ShippingId"/>"><inp2:m_param name="ShippingName"/> (<inp2:m_param name="TotalCost"/>)
+</inp2:m_DefineElement>
+
+<table class="block-no-border">
+	<tr>
+		<td class="block-header"><inp2:m_Phrase label="lu_comm_ShippingOptions"/></td>
+	</tr>
+	<tr>
+		<td class="block-data">
+
+				<inp2:m_DefineElement name="shippings_table_header">
+					<table>
+						<tr class="cart-header">
+							<td><inp2:m_Phrase label="lu_ship_Shipment" /></td>
+							<td><inp2:m_Phrase label="lu_ship_ItemsNumber" /></td>
+							<td><inp2:m_Phrase label="lu_ship_ShippingWeight" /></td>
+							<td><inp2:m_Phrase label="lu_ship_ShippingType" /></td>
+						</tr>
+
+						<inp2:m_if check="ord_CartHasBackorders">
+							<strong><inp2:m_Phrase label="lu_comm_Note"/>:</strong>
+							<inp2:m_Phrase label="lu_comm_YouHaveBackorderedItems"/>
+
+							<br />
+							<inp2:m_DefineElement name="order_option">
+								<input onclick="document.getElementById('events[ord][OnUpdate]').click();" type="radio"
+									<inp2:m_param name="checked"/>
+									name="<inp2:m_param name="field_name"/>"
+									id="<inp2:m_param name="field_name"/>_<inp2:m_param name="key"/>" value="<inp2:m_param name="key"/>">
+									<label for="<inp2:m_param name="field_name"/>_<inp2:m_param name="key"/>">
+										<inp2:m_phrase label="$option"/>
+									</label>&nbsp;<br />
+							</inp2:m_DefineElement>
+							<inp2:ord_PredefinedOptions field="ShippingOption" render_as="order_option" selected_param="checked" selected="checked=\"checked\""/>
+							<br />
+						</inp2:m_if>
+
+						<inp2:m_if check="m_GetEquals" var="shipping_limitations_apply" value="0"><inp2:m_else/>
+							<strong><inp2:m_Phrase label="lu_comm_Note"/>:</strong>
+							<inp2:m_if check="m_GetEquals" var="shipping_limitations_apply" value="1">
+								<inp2:m_Phrase label="lu_comm_ShippingTypesLimitationApply"/><br/>
+								<input type="hidden" name="<inp2:ord_InputName field="ShippingGroupOption"/>" id="<inp2:ord_InputName field="ShippingGroupOption"/>" value="<inp2:ord_Field name="ShippingGroupOption" db="1"/>" />
+								<input onclick="document.getElementById('<inp2:ord_InputName field="ShippingGroupOption"/>').value = this.checked ? 1:0; document.getElementById('events[ord][OnUpdate]').click();" type="checkbox"
+										<inp2:m_param name="checked"/>
+										name="cb_<inp2:ord_InputName field="ShippingGroupOption"/>"
+										id="cb_<inp2:ord_InputName field="ShippingGroupOption"/>" value="1" <inp2:ord_Field name="ShippingGroupOption" db="1" checked="checked"/> />
+										<label for="cb_<inp2:ord_InputName field="ShippingGroupOption"/>">
+											<inp2:m_phrase label="lu_AdjustShippingManually"/>
+										</label>&nbsp;<br />
+							<inp2:m_else/> <!-- Order canNOT be shipped with single shipping type -->
+								<inp2:m_Phrase label="lu_comm_ShippingTypesLimitationApply_CantSingleShip"/><br/>
+								<input type="hidden" name="<inp2:ord_InputName field="ShippingGroupOption"/>" value="1" />
+							</inp2:m_if>
+						</inp2:m_if>
+				</inp2:m_DefineElement>
+
+				<inp2:m_DefineElement name="shippings_table_footer">
+						<tr class="cart-item">
+							<td>
+								<input class="button" type="submit" name="events[ord][OnUpdate]" value="<inp2:m_Phrase label="lu_comm_UpdateShipping" no_editing="1"/>"/><br/>
+							</td>
+							<td>&nbsp;</td>
+							<td style="text-align: right">
+								<strong><inp2:m_Phrase label="lu_comm_ShippingTotal" />:</strong>
+							</td>
+							<td>
+								<inp2:ord_Field name="ShippingCost" currency="selected"/>
+							</td>
+						</tr>
+
+						<inp2:m_DefineElement name="products_total">
+							<tr class="cart-subtotal">
+								<td>&nbsp;</td>
+								<td>&nbsp;</td>
+								<td style="text-align: right">
+									<strong><inp2:m_Phrase label="lu_comm_ProductsTotal"/>:</strong>
+								</td>
+								<td>
+									<inp2:ord_Field name="SubTotal" currency="selected"/>
+								</td>
+							</tr>
+						</inp2:m_DefineElement>
+
+						<inp2:m_DefineElement name="processing_total">
+							<tr class="cart-subtotal">
+								<td>&nbsp;</td>
+								<td>&nbsp;</td>
+								<td style="text-align: right">
+									<strong><inp2:m_Phrase label="lu_comm_ProcessingFee"/>:</strong>
+								</td>
+								<td>
+									<inp2:ord_Field name="ProcessingFee" currency="selected"/>
+								</td>
+							</tr>
+						</inp2:m_DefineElement>
+
+						<inp2:m_DefineElement name="sub_total">
+							<tr class="cart-subtotal">
+								<td>&nbsp;</td>
+								<td>&nbsp;</td>
+								<td style="text-align: right">
+									<strong><inp2:m_Phrase label="lu_comm_SubTotal"/>:</strong>
+								</td>
+								<td>
+									<span class="price1"><inp2:ord_Field name="AmountWithoutVAT" currency="selected"/></span>
+								</td>
+							</tr>
+						</inp2:m_DefineElement>
+
+						<inp2:m_DefineElement name="vat_total">
+							<tr class="cart-subtotal">
+								<td>&nbsp;</td>
+								<td>&nbsp;</td>
+								<td style="text-align: right">
+									<strong><inp2:m_Phrase label="lu_comm_VAT"/> <inp2:ord_Field name="VATPercent"/>%:</strong>
+								</td>
+								<td>
+									<span class="price1"><inp2:ord_Field name="VAT" currency="selected"/></span>
+								</td>
+							</tr>
+						</inp2:m_DefineElement>
+
+						<inp2:ord_PrintTotals
+							products_render_as="products_total"
+							processing_render_as="processing_total"
+							sub_total_render_as="sub_total"
+							vat_render_as="vat_total"/>
+
+						<tr class="cart-subtotal">
+							<td>&nbsp;</td>
+							<td>&nbsp;</td>
+							<td style="text-align: right">
+								<strong><inp2:m_Phrase label="lu_comm_GrandTotal"/>:</strong>
+							</td>
+							<td>
+								<span class="price1"><inp2:ord_Field name="TotalAmount" currency="selected"/></span>
+							</td>
+						</tr>
+					</table>
+
+					<table>
+						<tr>
+							<td style="text-align: right">
+								<input type="hidden" name="next_step_template" value="in-commerce/checkout/billing">
+								<input type="submit" name="events[ord][OnProceedToBilling]" value="<inp2:m_Phrase label="lu_comm_ProceedToBilling" no_editing="1"/>" class="button">
+							</td>
+						</tr>
+					</table>
+				</inp2:m_DefineElement>
+
+				<inp2:m_include template="in-commerce/blocks/checkout/options"/>
+
+				<inp2:m_DefineElement name="shipping_group_item">
+					<li><inp2:Field name="Name"/><inp2:m_if check="ord_BackorderFlag"> <span class="error"><inp2:m_phrase label="lu_cart_BackorderFlag" /></span></inp2:m_if>
+					<inp2:m_if check="HasOptions">
+						<br/>
+						<span style="font-size: 8pt">
+						<inp2:m_if check="DisplayOptionsPricing"> <!-- selectable options or overriding combination -->
+							<inp2:PrintOptions render_as="option_element" currency="selected"/>
+						<inp2:m_else/> <!-- listed combinations -->
+							<inp2:PrintOptions render_as="option_element_no_price"/>
+						</inp2:m_if>
+						<inp2:m_if check="FieldEquals" field="OptionsSelectionMode" value="0"> <!-- selectable options -->
+							<a href="<inp2:m_link template="__default__" pass="m,p,orditems"/>"><inp2:m_Phrase label="lu_comm_edit_options"/></a><br />
+						</inp2:m_if>
+						</span>
+					</inp2:m_if>
+					</li>
+				</inp2:m_DefineElement>
+
+				<inp2:m_DefineElement name="order_shipment">
+					<tr class="cart-item">
+						<td><inp2:m_param name="shipment"/><br/>
+							<b><inp2:m_Phrase label="lu_Items"/>:</b><br/>
+							<ul>
+								<inp2:ord_PrintCart item_render_as="shipping_group_item" requery="1" package_num="$package_num" product_type="1" header_render_as="html:" footer_render_as="html:"/>
+							</ul>
+						</td>
+						<td><inp2:m_param name="items"/></td>
+						<td><inp2:m_param name="weight"/></td>
+						<td>
+							<select name="<inp2:m_param name="field_name"/>">
+								<inp2:ord_PrintShippingTypes render_as="order_shipping_type" currency="selected" />
+							</select>
+						</td>
+					</tr>
+				</inp2:m_DefineElement>
+
+				<inp2:m_DefineElement name="no_shipments">
+					<div class="error"><inp2:m_Recall name="usps_errors" /></div>
+					<inp2:m_Phrase label="lu_comm_ErrorNoShippingTypes"/> (<a href="mailto:<inp2:conf_ConfigValue name="Comm_Contacts_Email"/>"><inp2:conf_ConfigValue name="Comm_Contacts_Email"/></a>).
+				</inp2:m_DefineElement>
+
+				<inp2:m_DefineElement name="invalid_address">
+					<inp2:m_Phrase label="lu_comm_ErrorInvalidShippingAddress"/>.
+				</inp2:m_DefineElement>
+
+				<inp2:ord_PrintShippings render_as="order_shipment" currency="selected" no_shipments_render_as="no_shipments" invalid_address_render_as="invalid_address" table_header_render_as="shippings_table_header" table_footer_render_as="shippings_table_footer" />
+
+				<br />
+		</td>
+	</tr>
+</table>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/blocks/checkout/checkout_steps.tpl
===================================================================
--- themes/onlinestore/in-commerce/blocks/checkout/checkout_steps.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/blocks/checkout/checkout_steps.tpl	(revision 0)
@@ -0,0 +1,43 @@
+<table border="0" cellspacing="0" cellpadding="0" class="block">
+	<tr>
+		<td class="block-header"><inp2:m_Phrase label="lu_comm_CheckoutSteps"/></td>
+	</tr>
+	<tr>
+		<td class="block-data">
+				<inp2:m_DefineElement name="passed_checkout_step">
+					<inp2:m_param name="number"/>. <a href="<inp2:m_param name="template_link"/>"><inp2:m_param name="title"/></a><br/>
+				</inp2:m_DefineElement>
+
+				<inp2:m_DefineElement name="current_checkout_step">
+					<span class="nav-bar-current"><inp2:m_param name="number"/>. <inp2:m_param name="title"/></span><br/>
+				</inp2:m_DefineElement>
+
+				<inp2:m_DefineElement name="checkout_step">
+					<inp2:m_param name="number"/>. <inp2:m_param name="title"/><br/>
+				</inp2:m_DefineElement>
+
+				<inp2:m_if check="ord_OrderHasTangibleItems">
+
+					<inp2:ord_CheckoutSteps render_as="checkout_step" passed_step_render_as="passed_checkout_step"
+							 current_step_render_as="current_checkout_step"
+							 steps="lu_ShoppingCart,lu_comm_ShippingInfo,lu_comm_BillingInfo,lu_comm_OrderPreview,lu_comm_Confirmation"
+							 templates="in-commerce/checkout/shop_cart,
+							 			in-commerce/checkout/shipping,
+							 			in-commerce/checkout/billing,
+							 			in-commerce/checkout/preview,
+							 			in-commerce/checkout/confirmation" />
+
+				<inp2:m_else/>
+
+					<inp2:ord_CheckoutSteps render_as="checkout_step" passed_step_render_as="passed_checkout_step"
+							 current_step_render_as="current_checkout_step"
+							 steps="lu_ShoppingCart,lu_comm_BillingInfo,lu_comm_OrderPreview,lu_comm_Confirmation"
+							 templates="in-commerce/checkout/shop_cart,
+							 			in-commerce/checkout/billing,
+							 			in-commerce/checkout/preview,
+							 			in-commerce/checkout/confirmation" />
+
+				</inp2:m_if>
+		</td>
+	</tr>
+</table>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/blocks/checkout/options.tpl
===================================================================
--- themes/onlinestore/in-commerce/blocks/checkout/options.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/blocks/checkout/options.tpl	(revision 0)
@@ -0,0 +1,28 @@
+<inp2:m_DefineElement name="option_value_element">
+	<inp2:m_param name="value"/> <inp2:m_if check="m_ParamEquals" name="price" value=""><inp2:m_else/> (<inp2:m_param name="sign"/><inp2:m_param name="price"/> <inp2:m_param name="price_type"/>)</inp2:m_if>
+	<inp2:m_if check="m_ParamEquals" name="is_last" value="1"><inp2:m_else/>, </inp2:m_if>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="option_element">
+	<inp2:m_if check="m_ParamEquals" param="type" value="6"> <!-- checkboxes - multiple -->
+		<strong><inp2:m_param name="option"/>:</strong>
+			<inp2:PrintOptionValues render_as="option_value_element" currency="selected"/>
+	<inp2:m_else/>
+			<strong><inp2:m_param name="option"/>:</strong> <inp2:m_param name="value"/>
+				<inp2:m_if check="m_ParamEquals" name="price" value=""><inp2:m_else/> (<inp2:m_param name="sign"/><inp2:m_param name="price"/> <inp2:m_param name="price_type"/>)</inp2:m_if>
+	</inp2:m_if><br/>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="option_value_element_no_price">
+	<inp2:m_param name="value"/>
+	<inp2:m_if check="m_ParamEquals" name="is_last" value="1"><inp2:m_else/>, </inp2:m_if>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="option_element_no_price">
+	<inp2:m_if check="m_ParamEquals" param="type" value="6"> <!-- checkboxes - multiple -->
+		<strong><inp2:m_param name="option"/>:</strong>
+			<inp2:PrintOptionValues render_as="option_value_element_no_price"/>
+	<inp2:m_else/>
+			<strong><inp2:m_param name="option"/>:</strong> <inp2:m_param name="value"/>
+	</inp2:m_if><br/>
+</inp2:m_DefineElement>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/blocks/checkout/cart_indicator.tpl
===================================================================
--- themes/onlinestore/in-commerce/blocks/checkout/cart_indicator.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/blocks/checkout/cart_indicator.tpl	(revision 0)
@@ -0,0 +1,22 @@
+<inp2:m_if check="ord_CartNotEmpty">
+	<table border="0" cellspacing="0" cellpadding="0" class="block">
+		<tr>
+			<td class="block-header"><inp2:m_Phrase label="lu_YourCart"/></td>
+		</tr>
+		<tr>
+			<td class="block-data">
+				<form method="post" action="<inp2:m_FormAction />">
+					<strong><inp2:m_Phrase label="lu_cart_TotalItems" />: </strong><inp2:ord_ItemsInCart/><br />
+
+					<strong><inp2:m_Phrase label="lu_cart_OrderTotal" />: </strong><inp2:ord_Field field="SubTotal" currency="selected"/><br />
+					<img src="img/s.gif" alt="" width="5" height="10" border="0" /><br />
+					<input type="hidden" name="viewcart_template" value="in-commerce/checkout/shop_cart">
+					<input class="button" type="submit" name="events[ord][OnViewCart]" value="<inp2:m_Phrase label="lu_cart_ViewCart" />">
+					<input type="hidden" name="next_step_template" value="<inp2:m_if check="ord_OrderHasTangibleItems">in-commerce/checkout/shipping<inp2:m_else/>in-commerce/checkout/billing</inp2:m_if>" />
+					<input class="button" type="submit" name="events[ord][OnCheckout]" value="<inp2:m_Phrase label="lu_cart_Checkout" />">
+
+				</form>
+			</td>
+		</tr>
+	</table>
+</inp2:m_if>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/blocks/checkout/billing_options.tpl
===================================================================
--- themes/onlinestore/in-commerce/blocks/checkout/billing_options.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/blocks/checkout/billing_options.tpl	(revision 0)
@@ -0,0 +1,220 @@
+<inp2:m_DefineElement name="order_payment_type">
+	<option <inp2:m_param name="selected"/> value="<inp2:m_param name="key"/>"><inp2:m_param name="option"/></option>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="order_option_item">
+	<option value="<inp2:m_param name="key"/>"<inp2:m_param name="selected"/>><inp2:m_param name="option"/></option>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="order_payment_credit_card">
+	<table class="block-no-border">
+		<tr class="cart-header">
+			<td>
+				<inp2:ord_PaymentTypeDescription/>
+			</td>
+		</tr>
+		<tr class="block-data">
+			<td>
+				<br/>
+				<inp2:m_if check="ord_HasGatewayError">
+					<table class="warning">
+						<tr>
+							<td valign="top" align="left" class="block-data">
+								<img src="img/message.gif" alt="" width="19" height="19" />
+								<span class="warning-text"><inp2:m_Phrase label="lu_Warning"/></span><br />
+								<inp2:ord_ShowGatewayError/>
+
+							</td>
+						</tr>
+					</table>
+				</inp2:m_if>
+				<inp2:ord_PaymentTypeInstructions/>
+				<br/>
+			</td>
+		</tr>
+
+		<tr class="form-data">
+			<td>
+				<table class="form-data">
+					<tr>
+						<td>
+							<strong><inp2:m_Phrase label="lu_billing_CardType" />:</strong>
+						</td>
+						<td>
+							<select name="<inp2:ord_InputName field="PaymentCardType"/>" style="width:150px;">
+								<inp2:ord_PredefinedOptions field="PaymentCardType" render_as="order_option_item" selected="selected"/>
+							</select>
+						</td>
+						<td class="error"><inp2:ord_Error field="PaymentCardType"/></td>
+					</tr>
+					<tr>
+						<td>
+							<strong><inp2:m_Phrase label="lu_billing_CreditCardNumber" />:</strong>
+						</td>
+						<td>
+							<input type="text" name="<inp2:ord_InputName field="PaymentAccount"/>" value="<inp2:ord_Field field="PaymentAccount"/>" style="width: 200px;">
+						</td>
+						<td class="error"><inp2:ord_Error field="PaymentAccount"/></td>
+					</tr>
+					<tr>
+						<td>
+							<strong><inp2:m_Phrase label="lu_billing_NameOnCard" />:</strong>
+						</td>
+						<td>
+							<input type="text" name="<inp2:ord_InputName field="PaymentNameOnCard"/>" value="<inp2:ord_Field field="PaymentNameOnCard"/>" style="width: 260px;">
+						</td>
+						<td class="error"><inp2:ord_Error field="PaymentNameOnCard"/></td>
+					</tr>
+					<tr>
+						<td>
+							<strong><inp2:m_Phrase label="lu_billing_CardExpiration" />:</strong>
+						</td>
+						<td>
+							<select name="<inp2:ord_InputName field="PaymentCCExpMonth"/>">
+								<inp2:ord_PredefinedOptions field="PaymentCCExpMonth" render_as="order_option_item" selected="selected"/>
+							</select>
+							/
+							<select name="<inp2:ord_InputName field="PaymentCCExpYear"/>">
+								<option value=''></option>
+								<inp2:ord_PrintYearOptions field="PaymentCCExpYear" render_as="order_option_item" selected="selected"/>
+							</select>
+						</td>
+						<td class="error"><inp2:ord_Error field="PaymentCCExpDate"/></td>
+					</tr>
+					<tr>
+						<td>
+							<strong><inp2:m_Phrase label="lu_billing_CVV2" />:</strong>
+						</td>
+						<td>
+							<input type="text" name="<inp2:ord_InputName field="PaymentCVV2"/>" style="width: 50px;">
+							&nbsp;&nbsp;<a href="javascript:showCVV2Help()"><inp2:m_Phrase label="lu_WhatIsThis" /></a>
+						</td>
+						<td class="error"><inp2:ord_Error field="PaymentCVV2"/></td>
+					</tr>
+				</table>
+			</td>
+		</tr>
+	</table>
+	<script language="JavaScript">
+	function showCVV2Help(){
+		window.open('<inp2:m_Link template="in-commerce/checkout/cvv2help" />', null, 'scrollbars=no,menubar=no,toolbars=no,width=300,height=150');
+	}
+	</script>
+	<br />
+	<input type="hidden" name="check_credit_card" value="true"/>
+	<input type="hidden" name="preview_template" value="in-commerce/checkout/preview">
+	<div style="text-align: right; width: 100%">
+		<input class="button" type="submit" name="events[ord][OnProceedToPreview]" value="<inp2:m_Phrase label="lu_btn_ProceedToPreview" no_editing="1"/>">
+	</div>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="order_payment_type_default">
+	<table>
+		<tr class="cart-header">
+			<td>
+				<inp2:ord_PaymentTypeDescription/>
+			</td>
+		</tr>
+		<tr class="form-data">
+			<td>
+				<inp2:m_if check="ord_HasGatewayError">
+					<table class="warning">
+						<tr>
+							<td valign="top" align="left" class="block-data">
+								<img src="img/message.gif" alt="" width="19" height="19" />
+								<span class="warning-text"><inp2:m_Phrase label="lu_Warning"/></span><br />
+								<inp2:ord_ShowGatewayError/>
+							</td>
+						</tr>
+					</table>
+				</inp2:m_if>
+				<br/>
+				<inp2:ord_PaymentTypeInstructions/>
+				<br/>
+			</td>
+		</tr>
+	</table>
+	<br/>
+	<input type="hidden" name="preview_template" value="in-commerce/checkout/preview">
+	<div style="text-align: right; width: 100%">
+		<input class="button" type="submit" name="events[ord][OnProceedToPreview]" value="<inp2:m_Phrase label="lu_btn_ProceedToPreview" no_editing="1"/>">
+	</div>
+</inp2:m_DefineElement>
+
+<table border="0" cellspacing="0" cellpadding="0" class="block-no-border">
+	<tr>
+		<td class="block-header"><inp2:m_Phrase label="lu_comm_BillingOptions"/></td>
+	</tr>
+	<tr>
+		<td class="block-data">
+
+			<table class="">
+				<tr class="cart-header">
+					<td>
+						Cost Summary
+					</td>
+				</tr>
+			</table>
+
+			<table class="form-data">
+				<inp2:m_DefineElement name="products_total">
+						<tr>
+							<td><inp2:m_Phrase label="lu_comm_ProductsTotal"/>:</td>
+							<td><inp2:ord_Field name="SubTotal" currency="selected"/></td>
+						</tr>
+				</inp2:m_DefineElement>
+
+				<inp2:m_DefineElement name="shipping_total">
+						<tr>
+							<td><inp2:m_Phrase label="lu_comm_ShippingCost"/> (<inp2:ord_ShippingType />):</td>
+							<td><inp2:ord_Field name="ShippingCost" currency="selected"/></td>
+						</tr>
+				</inp2:m_DefineElement>
+
+				<inp2:m_DefineElement name="processing_total">
+						<tr>
+							<td><inp2:m_Phrase label="lu_comm_ProcessingFee"/>: </td>
+							<td><inp2:ord_Field name="ProcessingFee" currency="selected"/></td>
+						</tr>
+				</inp2:m_DefineElement>
+
+				<inp2:m_DefineElement name="sub_total">
+					<tr>
+						<td><inp2:m_Phrase label="lu_comm_SubTotal"/>: </td>
+						<td><inp2:ord_Field name="AmountWithoutVAT" currency="selected"/></td>
+					</tr>
+				</inp2:m_DefineElement>
+
+				<inp2:m_DefineElement name="vat_total">
+						<tr>
+							<td><inp2:m_Phrase label="lu_comm_VAT"/> <inp2:ord_Field name="VATPercent"/>%: </td>
+							<td><inp2:ord_Field name="VAT" currency="selected"/></td>
+						</tr>
+				</inp2:m_DefineElement>
+
+				<inp2:ord_PrintTotals
+					products_render_as="products_total"
+					shipping_render_as="shipping_total"
+					processing_render_as="processing_total"
+					sub_total_render_as="sub_total"
+					vat_render_as="vat_total"/>
+
+				<tr>
+				  <td class="price3" ><strong><inp2:m_Phrase label="lu_comm_GrandTotal"/>:</strong></td>
+					<td class="price3" ><span class="price1"><inp2:ord_Field name="TotalAmount" currency="selected"/></span></td>
+				</tr>
+			</table>
+
+			<hr/>
+
+			<br />
+			<strong><inp2:m_Phrase label="lu_comm_PaymentType"/>:</strong>
+			<select name="<inp2:ord_InputName field="PaymentType"/>" onchange="document.getElementById('events[ord][OnUpdate]').click();">
+				<inp2:ord_PredefinedOptions render_as="order_payment_type" field="PaymentType" selected="selected"/>
+			</select>
+			&nbsp;<input class="button" type="submit" value="<inp2:m_Phrase label="lu_comm_Select" no_editing="1"/>" name="events[ord][OnUpdate]" id="events[ord][OnUpdate]">
+			<br/><br/>
+			<inp2:ord_PaymentTypeForm cc_render_as="order_payment_credit_card" default_render_as="order_payment_type_default"/>
+		</td>
+	</tr>
+</table>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/checkout/checkout_success.tpl
===================================================================
--- themes/onlinestore/in-commerce/checkout/checkout_success.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/checkout/checkout_success.tpl	(revision 0)
@@ -0,0 +1,36 @@
+<inp2:m_CheckSSL mode="required" condition="Require_SSL" />
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_Phrase label="lu_cart_Checkout"/> :: <inp2:m_Phrase label="lu_comm_OrderCompleted"/> </title>
+<inp2:m_include template="platform/blocks/common/html_head" />
+</head>
+<body>
+
+<inp2:m_include template="platform/blocks/common/header" />
+
+<inp2:m_include template="platform/blocks/common/toolbar" />
+
+<table class="main-table">
+	<tr>
+		<td class="main-column-center">
+
+			<inp2:m_include template="in-commerce/blocks/checkout/thank_you"/>
+
+			<inp2:m_include template="in-commerce/blocks/checkout/form_register"/>
+
+		</td>
+		<td class="main-column-right">
+
+			<inp2:m_include template="in-commerce/blocks/products/products_recent" data_exists="1"/>
+
+		</td>
+  </tr>
+</table>
+
+<inp2:m_include template="platform/blocks/common/footer" />
+
+<inp2:m_include template="platform/blocks/common/copyright" />
+
+</body>
+</html>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/checkout/cvv2help.tpl
===================================================================
--- themes/onlinestore/in-commerce/checkout/cvv2help.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/checkout/cvv2help.tpl	(revision 0)
@@ -0,0 +1,16 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title><inp2:conf_ConfigValue name="Site_Name"/></title>
+<inp2:m_include template="platform/blocks/common/html_head" />
+</head>
+<body> 
+
+<div style="padding: 10px;">
+<p>
+<inp2:m_Phrase label="lu_cvv2_help" />
+</p>
+</div>
+
+</body>
+</html>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/checkout/discount_info.tpl
===================================================================
--- themes/onlinestore/in-commerce/checkout/discount_info.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/checkout/discount_info.tpl	(revision 0)
@@ -0,0 +1,22 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title><inp2:m_Phrase label="lu_comm_DiscountInfo" /></title>
+<inp2:m_include template="platform/blocks/common/html_head" />
+</head>
+<body> 
+
+<div style="padding: 10px;">
+<p>
+<inp2:m_if check="ord_ItemFieldEquals" field="DiscountType" value="discount">
+	<inp2:m_Phrase label="lu_comm_ItemIsEligibleForDiscount" />:
+<inp2:m_else />
+	<inp2:m_Phrase label="lu_comm_CouponHasBeenApplied" />:
+</inp2:m_if>
+<br />
+<span class="price1"><inp2:ord_DiscountField name="Name" /></span>
+</p>
+</div>
+
+</body>
+</html>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/checkout/billing.tpl
===================================================================
--- themes/onlinestore/in-commerce/checkout/billing.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/checkout/billing.tpl	(revision 0)
@@ -0,0 +1,57 @@
+<inp2:m_RequireLogin condition="Comm_RequireLoginBeforeCheckout" login_template="platform/login/login_register"/>
+<inp2:m_CheckSSL mode="required" condition="Require_SSL" />
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_Phrase label="lu_cart_Checkout"/> :: <inp2:m_Phrase label="lu_comm_BillingInfo"/> </title>
+<inp2:m_include template="platform/blocks/common/html_head" />
+</head>
+<body>
+
+<inp2:m_include template="platform/blocks/common/header" />
+
+<inp2:m_include template="platform/blocks/common/toolbar" />
+
+<table width="100%" border="0" cellspacing="0" cellpadding="0">
+	<tr>
+		<td class="main-column-center">
+			<script type="text/javascript">
+				function catchFormEnter(e, id)
+				{
+					if (typeof(e) == 'undefined')	e = window.event;
+					if (!e) return;
+
+				 	if (e.keyCode == 13) { //enter
+				 		if (typeof(document.all) == 'undefined') e.preventDefault();
+				 		e.cancelBubble = true;
+						e.returnValue = false;
+
+				 		document.getElementById(id).focus();
+				 		document.getElementById(id).click();
+						return false;
+				 	}
+				}
+			</script>
+
+			<form id="billing_info" method="post" onkeypress="catchFormEnter(event, 'events[ord][OnUpdate]')" action="<inp2:m_FormAction />">
+				<inp2:m_include template="in-commerce/blocks/checkout/billing_address"/>
+
+				<inp2:m_include template="in-commerce/blocks/checkout/billing_options"/>
+			</form>
+		</td>
+		<td class="main-column-right">
+
+			<inp2:m_include template="in-commerce/blocks/checkout/checkout_steps"/>
+
+			<inp2:m_include template="in-commerce/blocks/products/products_recent" data_exists="1"/>
+
+		</td>
+	</tr>
+</table>
+
+<inp2:m_include template="platform/blocks/common/footer" />
+
+<inp2:m_include template="platform/blocks/common/copyright" />
+
+</body>
+</html>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/checkout/preview.tpl
===================================================================
--- themes/onlinestore/in-commerce/checkout/preview.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/checkout/preview.tpl	(revision 0)
@@ -0,0 +1,36 @@
+<inp2:m_CheckSSL mode="required" condition="Require_SSL" />
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_Phrase label="lu_cart_Checkout"/> :: <inp2:m_Phrase label="lu_comm_OrderPreview"/> </title>
+<inp2:m_include template="platform/blocks/common/html_head" />
+</head>
+<body>
+
+<inp2:m_include template="platform/blocks/common/header" />
+
+<inp2:m_include template="platform/blocks/common/toolbar" />
+
+<table width="100%" border="0" cellspacing="0" cellpadding="0">
+	<tr>
+		<td class="main-column-center">
+
+			<inp2:m_include template="in-commerce/blocks/checkout/order_preview"/>
+
+		</td>
+		<td class="main-column-right">
+
+			<inp2:m_include template="in-commerce/blocks/checkout/checkout_steps"/>
+
+			<inp2:m_include template="in-commerce/blocks/products/products_recent" data_exists="1"/>
+
+		</td>
+	</tr>
+</table>
+
+<inp2:m_include template="platform/blocks/common/footer" />
+
+<inp2:m_include template="platform/blocks/common/copyright" />
+
+</body>
+</html>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/checkout/login_register.tpl
===================================================================
--- themes/onlinestore/in-commerce/checkout/login_register.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/checkout/login_register.tpl	(revision 0)
@@ -0,0 +1,38 @@
+<inp2:m_CheckSSL mode="required" condition="Require_SSL" />
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_Phrase label="LU_COMM_REGISTRATION"/></title>
+<inp2:m_include template="platform/blocks/common/html_head" />
+</head>
+<body>
+
+<inp2:m_include template="platform/blocks/common/header" />
+
+<inp2:m_include template="platform/blocks/common/toolbar" />
+
+<table class="main-table">
+	<tr>
+		<td class="main-column-center">
+			<form method="post" action="<inp2:m_FormAction />">
+
+				<inp2:m_include template="in-commerce/blocks/checkout/thank_you"/>
+
+				<inp2:m_include template="in-commerce/blocks/checkout/form_register"/>
+
+			</form>
+		</td>
+		<td class="main-column-right">
+
+			<inp2:m_include template="in-commerce/blocks/products/products_recent" data_exists="1"/>
+
+		</td>
+	</tr>
+</table>
+
+<inp2:m_include template="platform/blocks/common/footer" />
+
+<inp2:m_include template="platform/blocks/common/copyright" />
+
+</body>
+</html>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/checkout/shipping.tpl
===================================================================
--- themes/onlinestore/in-commerce/checkout/shipping.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/checkout/shipping.tpl	(revision 0)
@@ -0,0 +1,56 @@
+<inp2:m_RequireLogin condition="Comm_RequireLoginBeforeCheckout" login_template="platform/login/login_register"/>
+<inp2:m_CheckSSL mode="required" condition="Require_SSL" />
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_Phrase label="lu_cart_Checkout"/> :: <inp2:m_Phrase label="lu_comm_ShippingInfo"/></title>
+<inp2:m_include template="platform/blocks/common/html_head" />
+</head>
+<body>
+
+<inp2:m_include template="platform/blocks/common/header" />
+
+<inp2:m_include template="platform/blocks/common/toolbar" />
+
+<table class="main-table">
+	<tr>
+		<td class="main-column-center">
+			<script type="text/javascript">
+				function catchFormEnter(e, id)
+				{
+					if (typeof(e) == 'undefined')	e = window.event;
+					if (!e) return;
+
+				 	if (e.keyCode == 13) { //enter
+				 		if (typeof(document.all) == 'undefined') e.preventDefault();
+				 		e.cancelBubble = true;
+						e.returnValue = false;
+
+				 		document.getElementById(id).focus();
+				 		document.getElementById(id).click();
+						return false;
+				 	}
+				}
+			</script>
+			<form method="post" onkeypress="catchFormEnter(event, 'events[ord][OnUpdate]')" action="<inp2:m_FormAction />">
+				<inp2:m_include template="in-commerce/blocks/checkout/shipping_address"/>
+
+				<inp2:m_include template="in-commerce/blocks/checkout/shipping_options"/>
+			</form>
+		</td>
+		<td class="main-column-right">
+
+			<inp2:m_include template="in-commerce/blocks/checkout/checkout_steps"/>
+
+			<inp2:m_include template="in-commerce/blocks/products/products_recent" data_exists="1"/>
+
+		</td>
+	</tr>
+</table>
+
+<inp2:m_include template="platform/blocks/common/footer" />
+
+<inp2:m_include template="platform/blocks/common/copyright" />
+
+</body>
+</html>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/checkout/shop_cart.tpl
===================================================================
--- themes/onlinestore/in-commerce/checkout/shop_cart.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/checkout/shop_cart.tpl	(revision 0)
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_Phrase label="lu_comm_YourCart"/></title>
+<inp2:m_include template="platform/blocks/common/html_head" />
+</head>
+<body>
+
+<inp2:m_include template="platform/blocks/common/header" />
+
+<inp2:m_include template="platform/blocks/common/toolbar" />
+
+<table width="100%" border="0" cellspacing="0" cellpadding="0">
+	<tr>
+		<td class="main-column-center">
+	
+			<inp2:m_include template="in-commerce/blocks/checkout/shop_cart"/>	
+	
+		</td>
+		<td class="main-column-right">
+	
+			<inp2:m_include template="in-commerce/blocks/checkout/checkout_steps"/>
+	
+			<inp2:m_include template="in-commerce/blocks/products/products_recent" data_exists="1"/>
+			
+		</td>
+	</tr>
+</table>
+
+<inp2:m_include template="platform/blocks/common/footer" />
+
+<inp2:m_include template="platform/blocks/common/copyright" />
+
+</body>
+</html>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/index.tpl
===================================================================
--- themes/onlinestore/in-commerce/index.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/index.tpl	(revision 0)
@@ -0,0 +1,53 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title><inp2:conf_ConfigValue name="Site_Name"/></title>
+<inp2:m_include template="platform/blocks/common/html_head" />
+</head>
+<body>
+
+<inp2:m_include template="platform/blocks/common/header" />
+
+<inp2:m_include template="platform/blocks/common/toolbar" />
+
+<table class="main-table">
+  <tr>
+    <td class="main-column-left" valign="top">
+
+    	<inp2:m_include template="in-commerce/blocks/categories/categories_home" data_exists="1"/>
+
+
+      <inp2:m_include template="platform/blocks/common/credit_cards" />
+
+    </td>
+    <td class="main-column-center" valign="top">
+
+    	<inp2:m_include template="in-commerce/blocks/products/products_featured" data_exists="1"/>
+
+    	<inp2:m_include template="in-commerce/blocks/products/products_new" data_exists="1"/>
+
+    	<inp2:m_include template="in-commerce/blocks/products/products_picks" data_exists="1"/>
+
+    </td>
+    <td class="main-column-right" valign="top">
+
+    	<inp2:m_include template="in-commerce/blocks/checkout/cart_indicator" />
+
+    	<inp2:m_include template="platform/blocks/common/login" />
+
+    	<inp2:m_include template="in-commerce/blocks/products/products_top_sellers" data_exists="1"/>
+
+		<inp2:m_include template="platform/blocks/common/recommend_site"/>
+
+		<inp2:m_include template="platform/blocks/common/mailing_list"/>
+
+    </td>
+  </tr>
+</table>
+
+<inp2:m_include template="platform/blocks/common/footer" />
+
+<inp2:m_include template="platform/blocks/common/copyright" />
+
+</body>
+</html>
Index: themes/onlinestore/in-commerce/my_account/wishlist.tpl
===================================================================
--- themes/onlinestore/in-commerce/my_account/wishlist.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/my_account/wishlist.tpl	(revision 0)
@@ -0,0 +1,41 @@
+<inp2:m_RequireLogin login_template="platform/login/login_register" />
+<inp2:m_CheckSSL mode="required" condition="Require_SSL" />
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_Phrase label="lu_comm_YourWishList"/></title>
+<inp2:m_include template="platform/blocks/common/html_head" />
+</head>
+<body>
+
+<inp2:m_include template="platform/blocks/common/header" />
+
+<inp2:m_include template="platform/blocks/common/toolbar" />
+
+<table class="main-table">
+	<tr>
+		<td class="main-column-center" valign="top">
+
+			<inp2:m_include template="in-commerce/blocks/products/products_wish_list.tpl"/>
+
+		</td>
+		<td class="main-column-right" valign="top">
+
+			<inp2:m_include template="in-commerce/blocks/checkout/cart_indicator.tpl"/>
+
+			<inp2:m_include template="in-commerce/blocks/my_account/myaccount_navigation" />
+			
+			<inp2:m_include template="in-commerce/blocks/products/products_top_sellers.tpl" data_exists="1" />
+
+			<inp2:m_include template="in-commerce/blocks/products/products_recent.tpl" data_exists="1" />
+
+		</td>
+	</tr>
+</table>
+
+<inp2:m_include template="platform/blocks/common/footer" />
+
+<inp2:m_include template="platform/blocks/common/copyright" />
+
+</body>
+</html>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/my_account/affiliate_materials.tpl
===================================================================
--- themes/onlinestore/in-commerce/my_account/affiliate_materials.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/my_account/affiliate_materials.tpl	(revision 0)
@@ -0,0 +1,42 @@
+<inp2:m_RequireLogin login_template="platform/login/login_register" />
+<inp2:m_RequireAffiliate registration_template="in-commerce/my_account/affiliate" />
+<inp2:m_CheckSSL mode="required" condition="Require_SSL" />
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_Phrase label="lu_comm_MyAccount"/></title>
+<inp2:m_include template="platform/blocks/common/html_head" />
+</head>
+<body>
+
+<inp2:m_include template="platform/blocks/common/header" />
+
+<inp2:m_include template="platform/blocks/common/toolbar" />
+
+<table class="main-table">
+	<tr>
+		<td class="main-column-center" valign="top">
+
+			<inp2:m_include template="in-commerce/blocks/my_account/affiliate_materials"/>
+
+		</td>
+		<td class="main-column-right" valign="top">
+
+			<inp2:m_include template="in-commerce/blocks/checkout/cart_indicator" data_exists="1"/>
+
+			<inp2:m_include template="in-commerce/blocks/my_account/myaccount_navigation" />
+			
+			<inp2:m_include template="in-commerce/blocks/my_account/affiliate_navigation" />
+			
+			<inp2:m_include template="in-commerce/blocks/products/products_recent" data_exists="1"/>
+
+		</td>
+	</tr>
+</table>
+
+<inp2:m_include template="platform/blocks/common/footer" />
+
+<inp2:m_include template="platform/blocks/common/copyright" />
+
+</body>
+</html>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/my_account/profile.tpl
===================================================================
--- themes/onlinestore/in-commerce/my_account/profile.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/my_account/profile.tpl	(revision 0)
@@ -0,0 +1,39 @@
+<inp2:m_RequireLogin login_template="platform/login/login_register" />
+<inp2:m_CheckSSL mode="required" condition="Require_SSL" />
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_Phrase label="lu_comm_PersonalInfo"/></title>
+<inp2:m_include template="platform/blocks/common/html_head" />
+</head>
+<body>
+
+<inp2:m_include template="platform/blocks/common/header" />
+
+<inp2:m_include template="platform/blocks/common/toolbar" />
+
+<table class="main-table">
+	<tr>
+		<td class="main-column-center" valign="top">
+
+			<inp2:m_include template="in-commerce/blocks/my_account/my_profile"/>
+
+		</td>
+		<td class="main-column-right" valign="top">
+
+			<inp2:m_include template="in-commerce/blocks/checkout/cart_indicator" data_exists="1"/>
+
+			<inp2:m_include template="in-commerce/blocks/my_account/myaccount_navigation" />
+			
+			<inp2:m_include template="in-commerce/blocks/products/products_recent" data_exists="1"/>
+
+		</td>
+	</tr>
+</table>
+
+<inp2:m_include template="platform/blocks/common/footer" />
+
+<inp2:m_include template="platform/blocks/common/copyright" />
+
+</body>
+</html>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/my_account/downloads_more.tpl
===================================================================
--- themes/onlinestore/in-commerce/my_account/downloads_more.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/my_account/downloads_more.tpl	(revision 0)
@@ -0,0 +1,43 @@
+<inp2:m_RequireLogin login_template="platform/login/login_register" />
+<inp2:m_CheckSSL mode="required" condition="Require_SSL" />
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+<head>
+<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:p_Field name="Name"/> <inp2:m_Phrase label="lu_comm_downloads" /></title>
+<inp2:m_include template="platform/blocks/common/html_head" />
+</head>
+
+<body>
+
+<inp2:m_include template="platform/blocks/common/header" />
+
+<inp2:m_include template="platform/blocks/common/toolbar" />
+
+<table class="main-table">
+	<tr>
+		<td class="main-column-center">
+
+			<inp2:m_include template="in-commerce/blocks/my_account/all_downloads.tpl"/>
+
+		</td>
+		<td class="main-column-right">
+
+			<inp2:m_include template="in-commerce/blocks/checkout/cart_indicator.tpl"/>
+
+			<inp2:m_include template="in-commerce/blocks/my_account/myaccount_navigation" />
+			
+			<inp2:m_include template="in-commerce/blocks/products/products_top_sellers.tpl" data_exists="1" />
+
+			<inp2:m_include template="in-commerce/blocks/products/products_recent.tpl" data_exists="1" />
+
+		</td>
+	</tr>
+</table>
+
+<inp2:m_include template="platform/blocks/common/footer" />
+
+<inp2:m_include template="platform/blocks/common/copyright" />
+
+</body>
+</html>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/my_account/downloads.tpl
===================================================================
--- themes/onlinestore/in-commerce/my_account/downloads.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/my_account/downloads.tpl	(revision 0)
@@ -0,0 +1,41 @@
+<inp2:m_RequireLogin login_template="platform/login/login_register" />
+<inp2:m_CheckSSL mode="required" condition="Require_SSL" />
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_Phrase label="lu_comm_YourDownloads"/></title>
+<inp2:m_include template="platform/blocks/common/html_head" />
+</head>
+<body>
+
+<inp2:m_include template="platform/blocks/common/header" />
+
+<inp2:m_include template="platform/blocks/common/toolbar" />
+
+<table class="main-table">
+	<tr>
+		<td class="main-column-center" valign="top">
+
+			<inp2:m_include template="in-commerce/blocks/my_account/my_downloads.tpl"/>
+
+		</td>
+		<td class="main-column-right" valign="top">
+
+			<inp2:m_include template="in-commerce/blocks/checkout/cart_indicator.tpl"/>
+
+			<inp2:m_include template="in-commerce/blocks/my_account/myaccount_navigation" />
+			
+			<inp2:m_include template="in-commerce/blocks/products/products_top_sellers.tpl" data_exists="1" />
+
+			<inp2:m_include template="in-commerce/blocks/products/products_recent.tpl" data_exists="1" />
+
+		</td>
+	</tr>
+</table>
+
+<inp2:m_include template="platform/blocks/common/footer" />
+
+<inp2:m_include template="platform/blocks/common/copyright" />
+
+</body>
+</html>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/my_account/address_edit.tpl
===================================================================
--- themes/onlinestore/in-commerce/my_account/address_edit.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/my_account/address_edit.tpl	(revision 0)
@@ -0,0 +1,39 @@
+<inp2:m_RequireLogin login_template="platform/login/login_register" />
+<inp2:m_CheckSSL mode="required" condition="Require_SSL" />
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_Phrase label="lu_comm_MyAddresses"/></title>
+<inp2:m_include template="platform/blocks/common/html_head" />
+</head>
+<body>
+
+<inp2:m_include template="platform/blocks/common/header" />
+
+<inp2:m_include template="platform/blocks/common/toolbar" />
+
+<table class="main-table">
+	<tr>
+		<td class="main-column-center" valign="top">
+
+			<inp2:m_include template="in-commerce/blocks/my_account/address_edit"/>
+
+		</td>
+		<td class="main-column-right" valign="top">
+
+			<inp2:m_include template="in-commerce/blocks/checkout/cart_indicator" data_exists="1"/>
+
+			<inp2:m_include template="in-commerce/blocks/my_account/myaccount_navigation" />
+
+			<inp2:m_include template="in-commerce/blocks/products/products_recent" data_exists="1"/>
+
+		</td>
+	</tr>
+</table>
+
+<inp2:m_include template="platform/blocks/common/footer" />
+
+<inp2:m_include template="platform/blocks/common/copyright" />
+
+</body>
+</html>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/my_account/affiliate_payment_type.tpl
===================================================================
--- themes/onlinestore/in-commerce/my_account/affiliate_payment_type.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/my_account/affiliate_payment_type.tpl	(revision 0)
@@ -0,0 +1,41 @@
+<inp2:m_RequireLogin login_template="platform/login/login_register" />
+<inp2:m_RequireAffiliate registration_template="in-commerce/my_account/affiliate" />
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_Phrase label="lu_comm_MyAccount"/></title>
+<inp2:m_include template="platform/blocks/common/html_head" />
+</head>
+<body>
+
+<inp2:m_include template="platform/blocks/common/header" />
+
+<inp2:m_include template="platform/blocks/common/toolbar" />
+
+<table class="main-table">
+	<tr>
+		<td class="main-column-center" valign="top">
+
+			<inp2:m_include template="in-commerce/blocks/my_account/affiliate_payment_type"/>
+		
+		</td>
+		<td class="main-column-right" valign="top">
+			
+			<inp2:m_include template="in-commerce/blocks/checkout/cart_indicator" data_exists="1"/>
+			
+			<inp2:m_include template="in-commerce/blocks/my_account/myaccount_navigation" />
+			
+			<inp2:m_include template="in-commerce/blocks/my_account/affiliate_navigation" />
+			
+			<inp2:m_include template="in-commerce/blocks/products/products_recent" data_exists="1"/>
+		  
+		</td>
+	</tr>
+</table>
+
+<inp2:m_include template="platform/blocks/common/footer" />
+
+<inp2:m_include template="platform/blocks/common/copyright" />
+
+</body>
+</html>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/my_account/affiliate_payment_type_changed.tpl
===================================================================
--- themes/onlinestore/in-commerce/my_account/affiliate_payment_type_changed.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/my_account/affiliate_payment_type_changed.tpl	(revision 0)
@@ -0,0 +1,36 @@
+<inp2:m_RequireLogin login_template="platform/login/login_register" />
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_Phrase label="lu_comm_MyAccount"/></title>
+<inp2:m_include template="platform/blocks/common/html_head" />
+</head>
+<body>
+
+<inp2:m_include template="platform/blocks/common/header" />
+
+<inp2:m_include template="platform/blocks/common/toolbar" />
+
+<table class="main-table">
+	<tr>
+		<td class="main-column-center" valign="top">
+
+			<inp2:m_include template="in-commerce/blocks/my_account/affiliate_payment_type_changed"/>
+		
+		</td>
+		<td class="main-column-right" valign="top">
+			
+			<inp2:m_include template="in-commerce/blocks/checkout/cart_indicator" data_exists="1"/>
+			
+			<inp2:m_include template="in-commerce/blocks/products/products_recent" data_exists="1"/>
+		  
+		</td>
+	</tr>
+</table>
+
+<inp2:m_include template="platform/blocks/common/footer" />
+
+<inp2:m_include template="platform/blocks/common/copyright" />
+
+</body>
+</html>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/my_account/affiliate.tpl
===================================================================
--- themes/onlinestore/in-commerce/my_account/affiliate.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/my_account/affiliate.tpl	(revision 0)
@@ -0,0 +1,41 @@
+<inp2:m_RequireLogin login_template="platform/login/login_register" />
+<inp2:m_CheckSSL mode="required" condition="Require_SSL" />
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_Phrase label="lu_comm_MyAccount"/></title>
+<inp2:m_include template="platform/blocks/common/html_head" />
+</head>
+<body>
+
+<inp2:m_include template="platform/blocks/common/header" />
+
+<inp2:m_include template="platform/blocks/common/toolbar" />
+
+<table class="main-table">
+	<tr>
+		<td class="main-column-center" valign="top">
+
+			<inp2:m_include template="in-commerce/blocks/my_account/affiliate"/>
+
+		</td>
+		<td class="main-column-right" valign="top">
+
+			<inp2:m_include template="in-commerce/blocks/checkout/cart_indicator" data_exists="1"/>
+
+			<inp2:m_include template="in-commerce/blocks/my_account/myaccount_navigation" />
+			
+			<inp2:m_include template="in-commerce/blocks/my_account/affiliate_navigation" />
+			
+			<inp2:m_include template="in-commerce/blocks/products/products_recent" data_exists="1"/>
+
+		</td>
+	</tr>
+</table>
+
+<inp2:m_include template="platform/blocks/common/footer" />
+
+<inp2:m_include template="platform/blocks/common/copyright" />
+
+</body>
+</html>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/my_account/account.tpl
===================================================================
--- themes/onlinestore/in-commerce/my_account/account.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/my_account/account.tpl	(revision 0)
@@ -0,0 +1,40 @@
+<inp2:m_CheckSSL mode="required" condition="Require_SSL" />
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_Phrase label="lu_comm_MyAccount"/></title>
+<inp2:m_include template="platform/blocks/common/html_head" />
+</head>
+<body>
+
+<inp2:m_include template="platform/blocks/common/header" />
+
+<inp2:m_include template="platform/blocks/common/toolbar" />
+
+<table class="main-table">
+	<tr>
+		<td class="main-column-center" valign="top">
+
+			<inp2:m_include template="in-commerce/blocks/my_account/my_account"/>
+
+			<inp2:m_include template="in-commerce/blocks/orders/orders_recent"/>
+
+		</td>
+		<td class="main-column-right" valign="top">
+
+			<inp2:m_include template="in-commerce/blocks/checkout/cart_indicator" data_exists="1"/>
+
+			<inp2:m_include template="in-commerce/blocks/my_account/myaccount_navigation" />
+			
+			<inp2:m_include template="in-commerce/blocks/products/products_recent" data_exists="1"/>
+
+		</td>
+	</tr>
+</table>
+
+<inp2:m_include template="platform/blocks/common/footer" />
+
+<inp2:m_include template="platform/blocks/common/copyright" />
+
+</body>
+</html>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/my_account/orders_detail.tpl
===================================================================
--- themes/onlinestore/in-commerce/my_account/orders_detail.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/my_account/orders_detail.tpl	(revision 0)
@@ -0,0 +1,39 @@
+<inp2:m_RequireLogin login_template="platform/login/login_register" />
+<inp2:m_CheckSSL mode="required" condition="Require_SSL" />
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_Phrase label="lu_comm_OrderPreview"/></title>
+<inp2:m_include template="platform/blocks/common/html_head" />
+</head>
+<body>
+
+<inp2:m_include template="platform/blocks/common/header" />
+
+<inp2:m_include template="platform/blocks/common/toolbar" />
+
+<table class="main-table">
+	<tr>
+		<td class="main-column-center" valign="top">
+
+			<inp2:m_include template="in-commerce/blocks/orders/order_details" data_exists="1"/>
+
+		</td>
+		<td class="main-column-right" valign="top">
+
+			<inp2:m_include template="in-commerce/blocks/checkout/cart_indicator" data_exists="1"/>
+
+			<inp2:m_include template="in-commerce/blocks/my_account/myaccount_navigation" />
+			
+			<inp2:m_include template="in-commerce/blocks/products/products_recent" data_exists="1"/>
+
+		</td>
+	</tr>
+</table>
+
+<inp2:m_include template="platform/blocks/common/footer" />
+
+<inp2:m_include template="platform/blocks/common/copyright" />
+
+</body>
+</html>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/my_account/affiliate_payments.tpl
===================================================================
--- themes/onlinestore/in-commerce/my_account/affiliate_payments.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/my_account/affiliate_payments.tpl	(revision 0)
@@ -0,0 +1,42 @@
+<inp2:m_RequireLogin login_template="platform/login/login_register" />
+<inp2:m_RequireAffiliate registration_template="in-commerce/my_account/affiliate" />
+<inp2:m_CheckSSL mode="required" condition="Require_SSL" />
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_Phrase label="lu_comm_MyAccount"/></title>
+<inp2:m_include template="platform/blocks/common/html_head" />
+</head>
+<body>
+
+<inp2:m_include template="platform/blocks/common/header" />
+
+<inp2:m_include template="platform/blocks/common/toolbar" />
+
+<table class="main-table">
+	<tr>
+		<td class="main-column-center" valign="top">
+
+			<inp2:m_include template="in-commerce/blocks/my_account/affiliate_payments_list"/>
+
+		</td>
+		<td class="main-column-right" valign="top">
+
+			<inp2:m_include template="in-commerce/blocks/checkout/cart_indicator" data_exists="1"/>
+
+			<inp2:m_include template="in-commerce/blocks/my_account/myaccount_navigation" />
+			
+			<inp2:m_include template="in-commerce/blocks/my_account/affiliate_navigation" />
+			
+			<inp2:m_include template="in-commerce/blocks/products/products_recent" data_exists="1"/>
+
+		</td>
+	</tr>
+</table>
+
+<inp2:m_include template="platform/blocks/common/footer" />
+
+<inp2:m_include template="platform/blocks/common/copyright" />
+
+</body>
+</html>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/my_account/cancel_recurring_ok.tpl
===================================================================
--- themes/onlinestore/in-commerce/my_account/cancel_recurring_ok.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/my_account/cancel_recurring_ok.tpl	(revision 0)
@@ -0,0 +1,46 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_Phrase label="lu_comm_MyAccount"/></title>
+<inp2:m_include template="platform/blocks/common/html_head" />
+</head>
+<body>
+
+<inp2:m_include template="platform/blocks/common/header" />
+
+<inp2:m_include template="platform/blocks/common/toolbar" />
+
+<table class="main-table">
+	<tr>
+		<td class="main-column-center" valign="top">
+
+			<table border="0" cellspacing="0" cellpadding="0" class="block-no-border">
+				<tr>
+					<td class="block-header"><inp2:m_Phrase label="lu_CancelRecurring_title" /></td>
+				</tr>
+				<tr>
+			  		<td class="block-data">
+
+						<br />
+						<strong><inp2:m_Phrase label="lu_CancelRecurring_confirm" /></strong>
+						<br />
+						<br />
+
+						<inp2:m_Phrase label="lu_CancelRecurring_ok" />
+
+					</td>
+				</tr>
+			</table>
+		</td>
+		<td class="main-column-right" valign="top">
+
+		</td>
+	</tr>
+</table>
+
+<inp2:m_include template="platform/blocks/common/footer" />
+
+<inp2:m_include template="platform/blocks/common/copyright" />
+
+</body>
+</html>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/my_account/affiliate_agreement.tpl
===================================================================
--- themes/onlinestore/in-commerce/my_account/affiliate_agreement.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/my_account/affiliate_agreement.tpl	(revision 0)
@@ -0,0 +1,16 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title><inp2:conf_ConfigValue name="Site_Name"/></title>
+<inp2:m_include template="platform/blocks/common/html_head" />
+</head>
+<body> 
+
+<div style="padding: 10px;">
+<p>
+Place your affiliate terms & conditions here
+</p>
+</div>
+
+</body>
+</html>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/my_account/affiliate_stat_visits_list.tpl
===================================================================
--- themes/onlinestore/in-commerce/my_account/affiliate_stat_visits_list.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/my_account/affiliate_stat_visits_list.tpl	(revision 0)
@@ -0,0 +1,42 @@
+<inp2:m_RequireLogin login_template="platform/login/login_register" />
+<inp2:m_RequireAffiliate registration_template="in-commerce/my_account/affiliate" />
+<inp2:m_CheckSSL mode="required" condition="Require_SSL" />
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_Phrase label="lu_comm_MyAccount"/></title>
+<inp2:m_include template="platform/blocks/common/html_head" />
+</head>
+<body>
+
+<inp2:m_include template="platform/blocks/common/header" />
+
+<inp2:m_include template="platform/blocks/common/toolbar" />
+
+<table class="main-table">
+	<tr>
+		<td class="main-column-center" valign="top">
+
+			<inp2:m_include template="in-commerce/blocks/my_account/affiliate_stat_visits_list"/>
+
+		</td>
+		<td class="main-column-right" valign="top">
+
+			<inp2:m_include template="in-commerce/blocks/checkout/cart_indicator" data_exists="1"/>
+			
+			<inp2:m_include template="in-commerce/blocks/my_account/myaccount_navigation" />
+			
+			<inp2:m_include template="in-commerce/blocks/my_account/affiliate_navigation" />
+			
+			<inp2:m_include template="in-commerce/blocks/products/products_recent" data_exists="1"/>
+
+		</td>
+	</tr>
+</table>
+
+<inp2:m_include template="platform/blocks/common/footer" />
+
+<inp2:m_include template="platform/blocks/common/copyright" />
+
+</body>
+</html>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/my_account/orders.tpl
===================================================================
--- themes/onlinestore/in-commerce/my_account/orders.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/my_account/orders.tpl	(revision 0)
@@ -0,0 +1,39 @@
+<inp2:m_RequireLogin login_template="platform/login/login_register" />
+<inp2:m_CheckSSL mode="required" condition="Require_SSL" />
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_Phrase label="lu_comm_MyOrders"/></title>
+<inp2:m_include template="platform/blocks/common/html_head" />
+</head>
+<body>
+
+<inp2:m_include template="platform/blocks/common/header" />
+
+<inp2:m_include template="platform/blocks/common/toolbar" />
+
+<table class="main-table">
+	<tr>
+		<td class="main-column-center" valign="top">
+
+			<inp2:m_include template="in-commerce/blocks/orders/orders_all"/>
+
+		</td>
+		<td class="main-column-right" valign="top">
+
+			<inp2:m_include template="in-commerce/blocks/checkout/cart_indicator" data_exists="1"/>
+
+			<inp2:m_include template="in-commerce/blocks/my_account/myaccount_navigation" />
+
+			<inp2:m_include template="in-commerce/blocks/products/products_recent" data_exists="1"/>
+
+		</td>
+	</tr>
+</table>
+
+<inp2:m_include template="platform/blocks/common/footer" />
+
+<inp2:m_include template="platform/blocks/common/copyright" />
+
+</body>
+</html>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/my_account/affiliate_thankyou.tpl
===================================================================
--- themes/onlinestore/in-commerce/my_account/affiliate_thankyou.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/my_account/affiliate_thankyou.tpl	(revision 0)
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_Phrase label="lu_comm_MyAccount"/></title>
+<inp2:m_include template="platform/blocks/common/html_head" />
+</head>
+<body>
+
+<inp2:m_include template="platform/blocks/common/header" />
+
+<inp2:m_include template="platform/blocks/common/toolbar" />
+
+<table class="main-table">
+	<tr>
+		<td class="main-column-center" valign="top">
+
+			<inp2:m_include template="in-commerce/blocks/my_account/affiliate_thankyou"/>
+		
+		</td>
+		<td class="main-column-right" valign="top">
+			
+			<inp2:m_include template="in-commerce/blocks/checkout/cart_indicator" data_exists="1"/>
+			
+			<inp2:m_include template="in-commerce/blocks/products/products_recent" data_exists="1"/>
+		  
+		</td>
+	</tr>
+</table>
+
+<inp2:m_include template="platform/blocks/common/footer" />
+
+<inp2:m_include template="platform/blocks/common/copyright" />
+
+</body>
+</html>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/my_account/download.tpl
===================================================================
--- themes/onlinestore/in-commerce/my_account/download.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/my_account/download.tpl	(revision 0)
@@ -0,0 +1 @@
+<inp2:p_FileDownload />
\ No newline at end of file
Index: themes/onlinestore/in-commerce/my_account/affiliate_stat.tpl
===================================================================
--- themes/onlinestore/in-commerce/my_account/affiliate_stat.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/my_account/affiliate_stat.tpl	(revision 0)
@@ -0,0 +1,42 @@
+<inp2:m_RequireLogin login_template="platform/login/login_register" />
+<inp2:m_RequireAffiliate registration_template="in-commerce/my_account/affiliate" />
+<inp2:m_CheckSSL mode="required" condition="Require_SSL" />
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_Phrase label="lu_comm_MyAccount"/></title>
+<inp2:m_include template="platform/blocks/common/html_head" />
+</head>
+<body>
+
+<inp2:m_include template="platform/blocks/common/header" />
+
+<inp2:m_include template="platform/blocks/common/toolbar" />
+
+<table class="main-table">
+	<tr>
+		<td class="main-column-center" valign="top">
+
+			<inp2:m_include template="in-commerce/blocks/my_account/affiliate_stat"/>
+
+		</td>
+		<td class="main-column-right" valign="top">
+
+			<inp2:m_include template="in-commerce/blocks/checkout/cart_indicator" data_exists="1"/>
+
+			<inp2:m_include template="in-commerce/blocks/my_account/myaccount_navigation" />
+			
+			<inp2:m_include template="in-commerce/blocks/my_account/affiliate_navigation" />
+			
+			<inp2:m_include template="in-commerce/blocks/products/products_recent" data_exists="1"/>
+
+		</td>
+	</tr>
+</table>
+
+<inp2:m_include template="platform/blocks/common/footer" />
+
+<inp2:m_include template="platform/blocks/common/copyright" />
+
+</body>
+</html>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/my_account/address.tpl
===================================================================
--- themes/onlinestore/in-commerce/my_account/address.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/my_account/address.tpl	(revision 0)
@@ -0,0 +1,39 @@
+<inp2:m_RequireLogin login_template="platform/login/login_register" />
+<inp2:m_CheckSSL mode="required" condition="Require_SSL" />
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_Phrase label="lu_comm_MyAddresses"/></title>
+<inp2:m_include template="platform/blocks/common/html_head" />
+</head>
+<body>
+
+<inp2:m_include template="platform/blocks/common/header" />
+
+<inp2:m_include template="platform/blocks/common/toolbar" />
+
+<table class="main-table">
+	<tr>
+		<td class="main-column-center" valign="top">
+
+			<inp2:m_include template="in-commerce/blocks/my_account/address_list"/>
+
+		</td>
+		<td class="main-column-right" valign="top">
+
+			<inp2:m_include template="in-commerce/blocks/checkout/cart_indicator" data_exists="1"/>
+
+			<inp2:m_include template="in-commerce/blocks/my_account/myaccount_navigation" />
+
+			<inp2:m_include template="in-commerce/blocks/products/products_recent" data_exists="1"/>
+
+		</td>
+	</tr>
+</table>
+
+<inp2:m_include template="platform/blocks/common/footer" />
+
+<inp2:m_include template="platform/blocks/common/copyright" />
+
+</body>
+</html>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/my_account/affiliate_stat_orders_list.tpl
===================================================================
--- themes/onlinestore/in-commerce/my_account/affiliate_stat_orders_list.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/my_account/affiliate_stat_orders_list.tpl	(revision 0)
@@ -0,0 +1,42 @@
+<inp2:m_RequireLogin login_template="platform/login/login_register" />
+<inp2:m_RequireAffiliate registration_template="in-commerce/my_account/affiliate" />
+<inp2:m_CheckSSL mode="required" condition="Require_SSL" />
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_Phrase label="lu_comm_MyAccount"/></title>
+<inp2:m_include template="platform/blocks/common/html_head" />
+</head>
+<body>
+
+<inp2:m_include template="platform/blocks/common/header" />
+
+<inp2:m_include template="platform/blocks/common/toolbar" />
+
+<table class="main-table">
+	<tr>
+		<td class="main-column-center" valign="top">
+
+			<inp2:m_include template="in-commerce/blocks/my_account/affiliate_stat_orders_list"/>
+
+		</td>
+		<td class="main-column-right" valign="top">
+
+			<inp2:m_include template="in-commerce/blocks/checkout/cart_indicator" data_exists="1"/>
+
+			<inp2:m_include template="in-commerce/blocks/my_account/myaccount_navigation" />
+			
+			<inp2:m_include template="in-commerce/blocks/my_account/affiliate_navigation" />
+			
+			<inp2:m_include template="in-commerce/blocks/products/products_recent" data_exists="1"/>
+
+		</td>
+	</tr>
+</table>
+
+<inp2:m_include template="platform/blocks/common/footer" />
+
+<inp2:m_include template="platform/blocks/common/copyright" />
+
+</body>
+</html>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/my_account/cancel_recurring.tpl
===================================================================
--- themes/onlinestore/in-commerce/my_account/cancel_recurring.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/my_account/cancel_recurring.tpl	(revision 0)
@@ -0,0 +1,53 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_Phrase label="lu_comm_MyAccount"/></title>
+<inp2:m_include template="platform/blocks/common/html_head" />
+</head>
+<body>
+
+<inp2:m_include template="platform/blocks/common/header" />
+
+<inp2:m_include template="platform/blocks/common/toolbar" />
+
+<table class="main-table">
+	<tr>
+		<td class="main-column-center" valign="top">
+
+			<table border="0" cellspacing="0" cellpadding="0" class="block-no-border">
+				<tr>
+					<td class="block-header"><inp2:m_Phrase label="lu_CancelRecurring_title" /></td>
+				</tr>
+				<tr>
+			  		<td class="block-data">
+
+						<br />
+						<strong><inp2:m_Phrase label="lu_CancelRecurring_confirm" /></strong>
+						<br />
+						<br />
+
+						<inp2:m_Phrase label="lu_CancelRecurring_confirm_prompt" />
+
+						<br />
+						<br />
+						<form method="POST" action="<inp2:m_FormAction />">
+							<input class="button" name="events[ord][OnCancelRecurring]" type="submit" value="<inp2:m_Phrase label="lu_comm_Yes" no_editing="1"/>" />&nbsp;
+							<input class="button" type="button" value="<inp2:m_Phrase label="lu_No" no_editing="1"/>" onClick="window.location.href='<inp2:m_Link template="in-commerce/my_account/account"/>'" />&nbsp;
+							<input type="hidden" name="cancelrecurring_ok_template" value="in-commerce/my_account/cancel_recurring_ok"/>
+						</form>
+					</td>
+				</tr>
+			</table>
+		</td>
+		<td class="main-column-right" valign="top">
+
+		</td>
+	</tr>
+</table>
+
+<inp2:m_include template="platform/blocks/common/footer" />
+
+<inp2:m_include template="platform/blocks/common/copyright" />
+
+</body>
+</html>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/product/recommend_product.tpl
===================================================================
--- themes/onlinestore/in-commerce/product/recommend_product.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/product/recommend_product.tpl	(revision 0)
@@ -0,0 +1,37 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_include template="in-commerce/blocks/categories/title_path"/> <inp2:p_Field name="Name"/> :: <inp2:m_Phrase label="lu_comm_RecommendThisProduct"/></title>
+<inp2:m_include template="platform/blocks/common/html_head" />
+</head>
+<body>
+
+<inp2:m_include template="platform/blocks/common/header" />
+
+<inp2:m_include template="platform/blocks/common/toolbar" />
+
+<table class="main-table">
+	<tr>
+		<td class="main-column-center" valign="top">
+
+			<inp2:m_include template="in-commerce/blocks/products/form_recommend_product" />
+	
+		</td>
+		<td class="main-column-right" valign="top">
+
+			<inp2:m_include template="in-commerce/blocks/checkout/cart_indicator.tpl"/>
+			
+			<inp2:m_include template="in-commerce/blocks/products/product_actions.tpl"/>
+			
+			<inp2:m_include template="in-commerce/blocks/products/products_recent.tpl"/>
+		  
+		</td>
+  </tr>
+</table>
+
+<inp2:m_include template="platform/blocks/common/footer" />
+
+<inp2:m_include template="platform/blocks/common/copyright" />
+
+</body>
+</html>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/product/review_product.tpl
===================================================================
--- themes/onlinestore/in-commerce/product/review_product.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/product/review_product.tpl	(revision 0)
@@ -0,0 +1,40 @@
+<inp2:m_RequireLogin permissions="CATEGORY.VIEW,PRODUCT.REVIEW|CATEGORY.VIEW,PRODUCT.REVIEW.PENDING" login_template="platform/login/login_register"/>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_include template="in-commerce/blocks/categories/title_path"/> <inp2:p_Field name="Name"/></title>
+<inp2:m_include template="platform/blocks/common/html_head" />
+</head>
+<body>
+
+<inp2:p_AddToRecent />
+
+<inp2:m_include template="platform/blocks/common/header" />
+
+<inp2:m_include template="platform/blocks/common/toolbar" />
+
+<table class="main-table">
+	<tr>
+	    <td class="main-column-center">
+	    
+	    	<inp2:m_include template="in-commerce/blocks/products/form_review_product.tpl"/>
+	    	
+		</td>
+	    <td class="main-column-right">
+	    
+	    	<inp2:m_include template="in-commerce/blocks/checkout/cart_indicator.tpl"/>
+	    	
+	    	<inp2:m_include template="in-commerce/blocks/products/product_actions.tpl"/>
+	    	
+	    	<inp2:m_include template="in-commerce/blocks/products/products_recent.tpl"/>
+	    	
+	    </td>
+	</tr>
+</table>
+
+<inp2:m_include template="platform/blocks/common/footer" />
+
+<inp2:m_include template="platform/blocks/common/copyright" />
+
+</body>
+</html>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/product/rate_product.tpl
===================================================================
--- themes/onlinestore/in-commerce/product/rate_product.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/product/rate_product.tpl	(revision 0)
@@ -0,0 +1,40 @@
+<inp2:m_RequireLogin permissions="PRODUCT.RATE,CATEGORY.VIEW" login_template="platform/login/login_register"/>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_include template="in-commerce/blocks/categories/title_path"/> <inp2:p_Field name="Name"/></title>
+<inp2:m_include template="platform/blocks/common/html_head" />
+</head>
+<body>
+
+<inp2:p_AddToRecent />
+
+<inp2:m_include template="platform/blocks/common/header" />
+
+<inp2:m_include template="platform/blocks/common/toolbar" />
+
+<table class="main-table">
+	<tr>
+		<td class="main-column-center">
+		
+			<inp2:m_include template="in-commerce/blocks/products/form_rate_product.tpl"/>
+		
+		</td>
+		<td class="main-column-right">
+		
+			<inp2:m_include template="in-commerce/blocks/checkout/cart_indicator.tpl"/>
+			
+			<inp2:m_include template="in-commerce/blocks/products/product_actions.tpl"/>
+			
+			<inp2:m_include template="in-commerce/blocks/products/products_recent.tpl"/>
+			
+		</td>
+	</tr>
+</table>
+
+<inp2:m_include template="platform/blocks/common/footer" />
+
+<inp2:m_include template="platform/blocks/common/copyright" />
+
+</body>
+</html>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/product/details.tpl
===================================================================
--- themes/onlinestore/in-commerce/product/details.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/product/details.tpl	(revision 0)
@@ -0,0 +1,41 @@
+<inp2:m_RequireLogin permissions="CATEGORY.VIEW" login_template="platform/login/login_register"/>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+<head>
+<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_include template="in-commerce/blocks/categories/title_path"/> <inp2:p_Field name="Name"/></title>
+<inp2:m_include template="platform/blocks/common/html_head" />
+</head>
+
+<body>
+
+<inp2:p_AddToRecent />
+
+<inp2:m_include template="platform/blocks/common/header" />
+
+<inp2:m_include template="platform/blocks/common/toolbar" />
+
+<inp2:m_include template="in-commerce/blocks/categories/current_path" />
+
+<table class="main-table">
+	<tr>
+		<td class="main-column-center">
+			<inp2:m_include template="in-commerce/blocks/products/product_details.tpl"/>
+		</td>
+		<td class="main-column-right">
+			<inp2:m_include template="in-commerce/blocks/checkout/cart_indicator.tpl"/>
+			
+			<inp2:m_include template="in-commerce/blocks/products/product_actions.tpl"/>
+			
+			<inp2:m_include template="in-commerce/blocks/products/products_recent.tpl"/>
+			
+		</td>
+	</tr>
+</table>
+
+<inp2:m_include template="platform/blocks/common/footer" />
+
+<inp2:m_include template="platform/blocks/common/copyright" />
+
+</body>
+</html>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/product/picture_fullsize.tpl
===================================================================
--- themes/onlinestore/in-commerce/product/picture_fullsize.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/product/picture_fullsize.tpl	(revision 0)
@@ -0,0 +1,15 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_include template="in-commerce/blocks/categories/title_path"/> <inp2:p_Field name="Name"/></title>
+<inp2:m_include template="platform/blocks/common/html_head" />
+
+</head>
+<body>
+
+<inp2:m_include template="in-commerce/blocks/products/product_fullsize_image" />
+
+<inp2:m_include template="platform/blocks/common/copyright" />
+
+</body>
+</html>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/product/confirm_recommend.tpl
===================================================================
--- themes/onlinestore/in-commerce/product/confirm_recommend.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/product/confirm_recommend.tpl	(revision 0)
@@ -0,0 +1,39 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_Phrase label="lu_recommend_confirm"/></title>
+<inp2:m_include template="platform/blocks/common/html_head" />
+</head>
+<body>
+
+<inp2:m_include template="platform/blocks/common/header" />
+
+<inp2:m_include template="platform/blocks/common/toolbar" />
+
+<table class="main-table">
+	<tr>
+	    <td class="main-column-center" valign="top">
+
+	    	<inp2:m_include template="in-commerce/blocks/products/confirm_recommend" />
+	    	
+	    </td>
+	    <td class="main-column-right" valign="top">
+
+	    	<inp2:m_include template="in-commerce/blocks/checkout/cart_indicator" />
+
+	    	<inp2:m_include template="platform/blocks/common/login" />
+	    	
+	    	<inp2:m_include template="in-commerce/blocks/products/products_top_sellers" data_exists="1"/>
+
+	      	<inp2:m_include template="platform/blocks/common/mailing_list"/>
+	      	
+	    </td>
+	</tr>
+</table>
+
+<inp2:m_include template="platform/blocks/common/footer" />
+
+<inp2:m_include template="platform/blocks/common/copyright" />
+
+</body>
+</html>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/store/manufacturers.tpl
===================================================================
--- themes/onlinestore/in-commerce/store/manufacturers.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/store/manufacturers.tpl	(revision 0)
@@ -0,0 +1,42 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_include template="in-commerce/blocks/categories/title_path"/> :: <inp2:m_Phrase label="lu_comm_Manufacturers"/></title>
+<inp2:m_include template="platform/blocks/common/html_head" />
+
+</head>
+<body> 
+
+<inp2:m_include template="platform/blocks/common/header" />
+
+<inp2:m_include template="platform/blocks/common/toolbar" />
+
+<inp2:m_include template="in-commerce/blocks/categories/current_path" />	
+
+<table class="main-table"> 
+	<tr> 
+		<td class="main-column-center"> 
+
+			<inp2:m_include template="in-commerce/blocks/manufacturers/manufacturers" />	 
+			
+		</td> 
+		<td class="main-column-right"> 
+			
+			<inp2:m_include template="in-commerce/blocks/checkout/cart_indicator" />	
+			
+			<inp2:m_include template="platform/blocks/common/login" />
+			
+			<inp2:m_include template="in-commerce/blocks/products/products_top_sellers" data_exists="1"/>	
+			
+			<inp2:m_include template="in-commerce/blocks/products/products_recent" data_exists="1"/>
+		  
+		</td> 
+	</tr>
+</table>
+
+<inp2:m_include template="platform/blocks/common/footer" />
+
+<inp2:m_include template="platform/blocks/common/copyright" />
+
+</body>
+</html>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/store/advanced_search.tpl
===================================================================
--- themes/onlinestore/in-commerce/store/advanced_search.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/store/advanced_search.tpl	(revision 0)
@@ -0,0 +1,39 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_Phrase label="lu_comm_AdvancedSearch"/></title>
+<inp2:m_include template="platform/blocks/common/html_head" />
+</head>
+<body>
+
+<inp2:m_include template="platform/blocks/common/header" />
+
+<inp2:m_include template="platform/blocks/common/toolbar" />
+
+<table class="main-table">
+	<tr>
+		<td class="main-column-center">
+		
+			<inp2:m_include template="in-commerce/blocks/products/form_advanced_search" />
+	   		
+		</td>
+		<td class="main-column-right">
+			
+			<inp2:m_include template="in-commerce/blocks/checkout/cart_indicator" />
+			
+			<inp2:m_include template="platform/blocks/common/login" />
+			
+			<inp2:m_include template="in-commerce/blocks/products/products_top_sellers" data_exists="1"/>
+			
+			<inp2:m_include template="in-commerce/blocks/products/products_recent" data_exists="1"/>
+			
+		</td>
+	</tr>
+</table>
+
+<inp2:m_include template="platform/blocks/common/footer" />
+
+<inp2:m_include template="platform/blocks/common/copyright" />
+
+</body>
+</html>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/store/recent.tpl
===================================================================
--- themes/onlinestore/in-commerce/store/recent.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/store/recent.tpl	(revision 0)
@@ -0,0 +1,39 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_include template="in-commerce/blocks/categories/title_path"/> :: <inp2:m_Phrase label="lu_comm_RecentlyViewed"/></title>
+<inp2:m_include template="platform/blocks/common/html_head" />
+</head>
+<body>
+
+<inp2:m_include template="platform/blocks/common/header" />
+
+<inp2:m_include template="platform/blocks/common/toolbar" />
+
+<inp2:m_include template="in-commerce/blocks/categories/current_path" />
+
+<table class="main-table">
+	<tr>
+	    <td class="main-column-center">
+	
+			<inp2:m_include template="in-commerce/blocks/products/products_recent_list" />
+			
+	    </td>
+	    <td class="main-column-right">
+	    	
+	    	<inp2:m_include template="in-commerce/blocks/checkout/cart_indicator" />
+	    	
+	    	<inp2:m_include template="platform/blocks/common/login" />
+	    	
+	    	<inp2:m_include template="in-commerce/blocks/products/products_top_sellers" data_exists="1"/>
+	    	
+	    </td>
+	</tr>
+</table>
+
+<inp2:m_include template="platform/blocks/common/footer" />
+
+<inp2:m_include template="platform/blocks/common/copyright" />
+
+</body>
+</html>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/store/new_products.tpl
===================================================================
--- themes/onlinestore/in-commerce/store/new_products.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/store/new_products.tpl	(revision 0)
@@ -0,0 +1,41 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_include template="in-commerce/blocks/categories/title_path"/> :: <inp2:m_Phrase label="lu_comm_NewProducts"/></title>
+<inp2:m_include template="platform/blocks/common/html_head" />
+</head>
+<body>
+
+<inp2:m_include template="platform/blocks/common/header" />
+
+<inp2:m_include template="platform/blocks/common/toolbar" />
+
+<inp2:m_include template="in-commerce/blocks/categories/current_path" />
+
+<table class="main-table">
+	<tr>
+	    <td class="main-column-center">
+	
+			<inp2:m_include template="in-commerce/blocks/products/products_new_list" />
+			
+	    </td>
+	    <td class="main-column-right">
+	    	
+	    	<inp2:m_include template="in-commerce/blocks/checkout/cart_indicator" />
+	    	
+	    	<inp2:m_include template="platform/blocks/common/login" />
+	    	
+	    	<inp2:m_include template="in-commerce/blocks/products/products_top_sellers" data_exists="1"/>
+	    	
+	    	<inp2:m_include template="in-commerce/blocks/products/products_recent" data_exists="1"/>
+	      
+	    </td>
+	</tr>
+</table>
+
+<inp2:m_include template="platform/blocks/common/footer" />
+
+<inp2:m_include template="platform/blocks/common/copyright" />
+
+</body>
+</html>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/store/search_results.tpl
===================================================================
--- themes/onlinestore/in-commerce/store/search_results.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/store/search_results.tpl	(revision 0)
@@ -0,0 +1,37 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_Phrase label="lu_comm_SearchResults"/></title>
+<inp2:m_include template="platform/blocks/common/html_head" />
+</head>
+<body> 
+
+<inp2:m_include template="platform/blocks/common/header" />
+
+<inp2:m_include template="platform/blocks/common/toolbar" />
+
+<table class="main-table">
+  <tr> 
+    <td class="main-column-center">
+	    <inp2:m_include template="in-commerce/blocks/products/products_search_results" />
+    </td> 
+    <td class="main-column-right"> 
+    	
+    	<inp2:m_include template="in-commerce/blocks/checkout/cart_indicator" />	
+    	
+    	<inp2:m_include template="platform/blocks/common/login" />
+    	
+    	<inp2:m_include template="in-commerce/blocks/products/products_top_sellers" data_exists="1"/>	
+    	
+    	<inp2:m_include template="in-commerce/blocks/products/products_recent" data_exists="1"/>
+      
+    </td> 
+  </tr> 
+</table> 
+
+<inp2:m_include template="platform/blocks/common/footer" />
+
+<inp2:m_include template="platform/blocks/common/copyright" />
+
+</body>
+</html>
Index: themes/onlinestore/in-commerce/store/category.tpl
===================================================================
--- themes/onlinestore/in-commerce/store/category.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/store/category.tpl	(revision 0)
@@ -0,0 +1,62 @@
+<inp2:m_RequireLogin permissions="CATEGORY.VIEW" login_template="platform/login/login_register"/>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_include template="in-commerce/blocks/categories/title_path"/></title>
+<inp2:m_include template="platform/blocks/common/html_head" />
+
+</head>
+<body>
+
+<inp2:c_CheckModuleRoot module="In-Commerce" home_template="in-commerce/index"/>
+
+<inp2:m_include template="platform/blocks/common/header" />
+
+<inp2:m_include template="platform/blocks/common/toolbar" />
+
+<inp2:m_include template="in-commerce/blocks/categories/current_path" />
+
+<table class="main-table">
+	<tr>
+		<td class="main-column-left" valign="top">
+
+    	<inp2:m_include template="in-commerce/blocks/categories/categories_home" data_exists="1"/>
+
+      <inp2:m_include template="platform/blocks/common/credit_cards" />
+
+    </td>
+		<td class="main-column-center">
+
+			<inp2:m_include template="in-commerce/blocks/categories/sub_categories" data_exists="1"/>
+
+			<inp2:m_include template="in-commerce/blocks/products/products_featured" data_exists="1"/>
+
+			<inp2:m_include template="in-commerce/blocks/products/products_picks" data_exists="1"/>
+
+			<inp2:m_include template="in-commerce/blocks/products/products_new" data_exists="1"/>
+
+			<inp2:m_include template="in-commerce/blocks/products/products_current_cat" data_exists="1"/>
+
+		</td>
+		<td class="main-column-right">
+
+			<inp2:m_include template="in-commerce/blocks/checkout/cart_indicator" />
+
+			<inp2:m_include template="platform/blocks/common/login" />
+
+			<inp2:m_include template="in-commerce/blocks/categories/manufacturers" data_exists="1"/>
+
+			<inp2:m_include template="in-commerce/blocks/products/products_top_sellers" data_exists="1"/>
+
+			<inp2:m_include template="in-commerce/blocks/products/products_recent" data_exists="1"/>
+
+		</td>
+	</tr>
+</table>
+
+<inp2:m_include template="platform/blocks/common/footer" />
+
+<inp2:m_include template="platform/blocks/common/copyright" />
+
+</body>
+</html>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/store/featured_products.tpl
===================================================================
--- themes/onlinestore/in-commerce/store/featured_products.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/store/featured_products.tpl	(revision 0)
@@ -0,0 +1,41 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_include template="in-commerce/blocks/categories/title_path"/> :: <inp2:m_Phrase label="lu_comm_FeaturedProducts"/></title>
+<inp2:m_include template="platform/blocks/common/html_head" />
+</head>
+<body>
+
+<inp2:m_include template="platform/blocks/common/header" />
+
+<inp2:m_include template="platform/blocks/common/toolbar" />
+
+<inp2:m_include template="in-commerce/blocks/categories/current_path" />	
+
+<table class="main-table">
+	<tr>
+		<td class="main-column-center">
+	
+			<inp2:m_include template="in-commerce/blocks/products/products_featured_list" />	
+			
+		</td>
+		<td class="main-column-right">
+			
+			<inp2:m_include template="in-commerce/blocks/checkout/cart_indicator" />	
+			
+			<inp2:m_include template="platform/blocks/common/login" />
+			
+			<inp2:m_include template="in-commerce/blocks/products/products_top_sellers" data_exists="1" />	
+			
+			<inp2:m_include template="in-commerce/blocks/products/products_recent" data_exists="1" />
+		  
+		</td>
+	</tr>
+</table>
+
+<inp2:m_include template="platform/blocks/common/footer" />
+
+<inp2:m_include template="platform/blocks/common/copyright" />
+
+</body>
+</html>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/store/editor_pick_products.tpl
===================================================================
--- themes/onlinestore/in-commerce/store/editor_pick_products.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/store/editor_pick_products.tpl	(revision 0)
@@ -0,0 +1,41 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_include template="in-commerce/blocks/categories/title_path"/> :: <inp2:m_Phrase label="lu_comm_EditorsPicks"/></title>
+<inp2:m_include template="platform/blocks/common/html_head" />
+</head>
+<body>
+
+<inp2:m_include template="platform/blocks/common/header" />
+
+<inp2:m_include template="platform/blocks/common/toolbar" />
+
+<inp2:m_include template="in-commerce/blocks/categories/current_path" />
+
+<table class="main-table"> 
+  <tr> 
+    <td class="main-column-center"> 
+
+		<inp2:m_include template="in-commerce/blocks/products/products_editor_picks" />	
+		
+    </td>
+    <td class="main-column-right">
+    	
+    	<inp2:m_include template="in-commerce/blocks/checkout/cart_indicator" />	
+    	
+    	<inp2:m_include template="platform/blocks/common/login" />
+    	
+    	<inp2:m_include template="in-commerce/blocks/products/products_top_sellers" data_exists="1" />	
+    	
+    	<inp2:m_include template="in-commerce/blocks/products/products_recent" data_exists="1"/>
+      
+    </td>
+  </tr>
+</table>
+
+<inp2:m_include template="platform/blocks/common/footer" />
+
+<inp2:m_include template="platform/blocks/common/copyright" />
+
+</body>
+</html>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/store/manufacturer_products.tpl
===================================================================
--- themes/onlinestore/in-commerce/store/manufacturer_products.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/store/manufacturer_products.tpl	(revision 0)
@@ -0,0 +1,42 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_include template="in-commerce/blocks/categories/title_path"/> :: <inp2:m_Phrase label="lu_comm_ProductsBy"/> <inp2:manuf_Field name="Name" /> </title>
+<inp2:m_include template="platform/blocks/common/html_head" />
+
+</head>
+<body>
+
+<inp2:m_include template="platform/blocks/common/header" />
+
+<inp2:m_include template="platform/blocks/common/toolbar" />
+
+<inp2:m_include template="in-commerce/blocks/categories/current_path" />
+
+<table class="main-table">
+	<tr>
+	    <td class="main-column-center">
+	
+			<inp2:m_include template="in-commerce/blocks/manufacturers/manufacturer_products" />
+	
+	    </td>
+	    <td class="main-column-right">
+	    	
+	    	<inp2:m_include template="in-commerce/blocks/checkout/cart_indicator" />
+	    	
+	    	<inp2:m_include template="platform/blocks/common/login" />
+	    	
+	    	<inp2:m_include template="in-commerce/blocks/products/products_top_sellers" data_exists="1"/>	
+	    	
+	    	<inp2:m_include template="in-commerce/blocks/products/products_recent" data_exists="1"/>
+	      
+	    </td>
+	</tr>
+</table>
+
+<inp2:m_include template="platform/blocks/common/footer" />
+
+<inp2:m_include template="platform/blocks/common/copyright" />
+
+</body>
+</html>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/store/top_seller_products.tpl
===================================================================
--- themes/onlinestore/in-commerce/store/top_seller_products.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/store/top_seller_products.tpl	(revision 0)
@@ -0,0 +1,39 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_include template="in-commerce/blocks/categories/title_path"/> :: <inp2:m_Phrase label="lu_comm_TopSellers"/></title>
+<inp2:m_include template="platform/blocks/common/html_head" />
+</head>
+<body>
+
+<inp2:m_include template="platform/blocks/common/header" />
+
+<inp2:m_include template="platform/blocks/common/toolbar" />
+
+<inp2:m_include template="in-commerce/blocks/categories/current_path" />
+
+<table class="main-table">
+	<tr>
+		<td class="main-column-center">
+	
+			<inp2:m_include template="in-commerce/blocks/products/products_topsellers_list" />
+			
+		</td>
+		<td class="main-column-right">
+			
+			<inp2:m_include template="in-commerce/blocks/checkout/cart_indicator" />
+			
+			<inp2:m_include template="platform/blocks/common/login" />
+			
+			<inp2:m_include template="in-commerce/blocks/products/products_recent" data_exists="1" />
+		  
+		</td>
+	</tr>
+</table>
+
+<inp2:m_include template="platform/blocks/common/footer" />
+
+<inp2:m_include template="platform/blocks/common/copyright" />
+
+</body>
+</html>
\ No newline at end of file
Index: themes/onlinestore/in-commerce/store/contact_info.tpl
===================================================================
--- themes/onlinestore/in-commerce/store/contact_info.tpl	(revision 0)
+++ themes/onlinestore/in-commerce/store/contact_info.tpl	(revision 0)
@@ -0,0 +1,37 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+<head>
+<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_Phrase label="lu_ContactInformation"/></title>
+<inp2:m_include template="platform/blocks/common/html_head" />
+</head>
+<body>
+
+<inp2:m_include template="platform/blocks/common/header" />
+
+<inp2:m_include template="platform/blocks/common/toolbar" />
+
+<table class="main-table">
+  <tr>
+    <td class="main-column-center">
+    	<form method="post" action="<inp2:m_FormAction />">
+
+    		<inp2:m_include template="platform/blocks/common/contact_info"/>
+
+		</form>
+	</td>
+    <td class="main-column-right">
+
+
+
+
+	</td>
+  </tr>
+</table>
+
+<inp2:m_include template="platform/blocks/common/footer" />
+
+<inp2:m_include template="platform/blocks/common/copyright" />
+
+</body>
+</html>
Index: themes/onlinestore/redirect.tpl
===================================================================
--- themes/onlinestore/redirect.tpl	(revision 0)
+++ themes/onlinestore/redirect.tpl	(revision 0)
@@ -0,0 +1,74 @@
+<inp2:m_SetDefaultCategory module="In-Commerce"/>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+	<title><inp2:conf_ConfigValue name="Site_Name"/></title>
+	<inp2:m_include template="platform/blocks/common/html_head" />
+	<script type="text/javascript">
+		function exec_refresh()
+		{
+			window.status = "Redirecting..." + myvar;
+			myvar = myvar + " .";
+			var timerID = setTimeout("exec_refresh();", 100);
+			if (timeout > 0)
+			{
+				timeout -= 1;
+			}
+			else
+			{
+				clearTimeout(timerID);
+				window.status = "";
+				window.location = "<inp2:m_get name="redirect_to_js"/>";
+			}
+		}
+
+		var myvar = "";
+		var timeout = 20;
+		exec_refresh();
+	</script>
+</head>
+
+<body>
+
+<inp2:m_include template="platform/blocks/common/header" />
+
+<inp2:m_include template="platform/blocks/common/toolbar" />
+
+<table class="main-table">
+  <tr>
+    <td class="main-column-left" valign="top">
+
+		<inp2:m_include template="in-commerce/blocks/categories/categories_home" data_exists="1" />
+
+		<inp2:m_include template="platform/blocks/common/credit_cards" />
+
+    </td>
+    <td class="main-column-center" valign="top">
+
+    	<inp2:m_include template="platform/blocks/common/redirect" />
+
+    </td>
+    <td class="main-column-right" valign="top">
+
+    	<inp2:m_include template="in-commerce/blocks/checkout/cart_indicator" />
+
+    	<inp2:m_include template="platform/blocks/common/login" />
+
+    	<inp2:m_include template="in-commerce/blocks/misc/register_as_affiliate" />
+
+    	<inp2:m_include template="in-commerce/blocks/products/products_top_sellers" data_exists="1"/>
+
+		<inp2:m_include template="platform/blocks/common/recommend_site"/>
+
+		<inp2:m_include template="platform/blocks/common/mailing_list"/>
+
+    </td>
+  </tr>
+</table>
+
+<inp2:m_include template="platform/blocks/common/footer" />
+
+<inp2:m_include template="platform/blocks/common/copyright" />
+
+</body>
+</html>
\ No newline at end of file
Index: themes/onlinestore/phrases_edit.tpl
===================================================================
--- themes/onlinestore/phrases_edit.tpl	(revision 0)
+++ themes/onlinestore/phrases_edit.tpl	(revision 0)
@@ -0,0 +1,37 @@
+<inp2:m_if check="m_ConstOn" const="DBG_PHRASES">
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+<head>
+<title><inp2:conf_ConfigValue name="Site_Name"/> :: </title>
+<inp2:m_include template="platform/blocks/common/html_head" />
+</head>
+<body> 
+
+<inp2:m_include template="platform/blocks/common/header" />
+
+<inp2:m_include template="platform/blocks/common/toolbar" />
+
+<table class="main-table"> 
+  <tr> 
+    <td class="main-column-center"> 
+    		
+    	<inp2:m_include template="platform/blocks/common/form_phrase"/>
+		
+	</td>
+    <td class="main-column-right">
+
+    	
+    	
+    		
+	</td> 
+  </tr> 
+</table> 
+
+<inp2:m_include template="platform/blocks/common/footer" />
+
+<inp2:m_include template="platform/blocks/common/copyright" />
+
+</body>
+</html>
+</inp2:m_if>
\ No newline at end of file
Index: themes/onlinestore/index.tpl
===================================================================
--- themes/onlinestore/index.tpl	(revision 0)
+++ themes/onlinestore/index.tpl	(revision 0)
@@ -0,0 +1,55 @@
+<inp2:m_SetDefaultCategory module="In-Commerce"/>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title><inp2:conf_ConfigValue name="Site_Name"/></title>
+<inp2:m_include template="platform/blocks/common/html_head" />
+</head>
+<body>
+
+<inp2:m_include template="platform/blocks/common/header" />
+
+<inp2:m_include template="platform/blocks/common/toolbar" />
+
+<table class="main-table">
+  <tr>
+    <td class="main-column-left" valign="top">
+
+		<inp2:m_include template="in-commerce/blocks/categories/categories_home" data_exists="1" />
+
+		<inp2:m_include template="platform/blocks/common/credit_cards" />
+
+    </td>
+    <td class="main-column-center" valign="top">
+
+    	<inp2:m_include template="in-commerce/blocks/products/products_featured" data_exists="1"/>
+
+    	<inp2:m_include template="in-commerce/blocks/products/products_new" data_exists="1"/>
+
+    	<inp2:m_include template="in-commerce/blocks/products/products_picks" data_exists="1"/>
+
+    </td>
+    <td class="main-column-right" valign="top">
+
+    	<inp2:m_include template="in-commerce/blocks/checkout/cart_indicator" />
+
+    	<inp2:m_include template="platform/blocks/common/login" />
+
+    	<inp2:m_include template="in-commerce/blocks/misc/register_as_affiliate" />
+
+    	<inp2:m_include template="in-commerce/blocks/products/products_top_sellers" data_exists="1"/>
+
+		<inp2:m_include template="platform/blocks/common/recommend_site"/>
+
+		<inp2:m_include template="platform/blocks/common/mailing_list"/>
+
+    </td>
+  </tr>
+</table>
+
+<inp2:m_include template="platform/blocks/common/footer" />
+
+<inp2:m_include template="platform/blocks/common/copyright" />
+
+</body>
+</html>
Index: themes/onlinestore/platform/my_account/unsubscribe.tpl
===================================================================
--- themes/onlinestore/platform/my_account/unsubscribe.tpl	(revision 0)
+++ themes/onlinestore/platform/my_account/unsubscribe.tpl	(revision 0)
@@ -0,0 +1,39 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_Phrase label="lu_unsubscribe_title"/></title>
+<inp2:m_include template="platform/blocks/common/html_head" />
+</head>
+<body>
+
+<inp2:m_include template="platform/blocks/common/header" />
+
+<inp2:m_include template="platform/blocks/common/toolbar" />
+
+<table class="main-table">
+	<tr> 
+		<td class="main-column-center" valign="top">
+			
+			<inp2:m_include template="platform/blocks/common/unsubscribe_confirmation" />	
+		
+		</td>
+		<td class="main-column-right" valign="top">
+			
+			<inp2:m_include template="in-commerce/blocks/checkout/cart_indicator" />
+		
+			<inp2:m_include template="platform/blocks/common/login" />	
+			
+			<inp2:m_include template="in-commerce/blocks/products/products_top_sellers" data_exists="1"/>	
+		  
+			<inp2:m_include template="platform/blocks/common/recommend_site"/>
+
+		</td>
+	</tr>
+</table>
+
+<inp2:m_include template="platform/blocks/common/footer" />
+
+<inp2:m_include template="platform/blocks/common/copyright" />
+
+</body>
+</html>
\ No newline at end of file
Index: themes/onlinestore/platform/my_account/subscribe_ok.tpl
===================================================================
--- themes/onlinestore/platform/my_account/subscribe_ok.tpl	(revision 0)
+++ themes/onlinestore/platform/my_account/subscribe_ok.tpl	(revision 0)
@@ -0,0 +1,39 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_Phrase label="lu_subscribe_title"/></title>
+<inp2:m_include template="platform/blocks/common/html_head" />
+</head>
+<body>
+
+<inp2:m_include template="platform/blocks/common/header" />
+
+<inp2:m_include template="platform/blocks/common/toolbar" />
+
+<table class="main-table">
+	<tr>
+		<td class="main-column-center" valign="top">
+			
+			<inp2:m_include template="platform/blocks/common/subscribe_ok" />
+		
+		</td>
+		<td class="main-column-right" valign="top">
+			
+			<inp2:m_include template="in-commerce/blocks/checkout/cart_indicator" />
+		
+			<inp2:m_include template="platform/blocks/common/login" />
+			
+			<inp2:m_include template="in-commerce/blocks/products/products_top_sellers" data_exists="1"/>
+		  
+			<inp2:m_include template="platform/blocks/common/recommend_site"/>
+	
+		</td>
+	</tr>
+</table>
+
+<inp2:m_include template="platform/blocks/common/footer" />
+
+<inp2:m_include template="platform/blocks/common/copyright" />
+
+</body>
+</html>
\ No newline at end of file
Index: themes/onlinestore/platform/my_account/recommend.tpl
===================================================================
--- themes/onlinestore/platform/my_account/recommend.tpl	(revision 0)
+++ themes/onlinestore/platform/my_account/recommend.tpl	(revision 0)
@@ -0,0 +1,48 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_Phrase label="lu_recommend_title"/></title>
+<inp2:m_include template="platform/blocks/common/html_head" />
+</head>
+<body> 
+
+<inp2:m_include template="platform/blocks/common/header" />
+
+<inp2:m_include template="platform/blocks/common/toolbar" />
+
+<table class="main-table"> 
+	<tr> 
+		<td class="main-column-left" valign="top">
+		
+			<inp2:m_include template="in-commerce/blocks/categories/categories_home" data_exists="1"/>
+			
+			<inp2:m_include template="platform/blocks/common/adv_search" />
+			
+			<inp2:m_include template="platform/blocks/common/credit_cards" />
+	  
+		</td>
+		<td class="main-column-center" valign="top">
+			
+			<inp2:m_include template="platform/blocks/common/recommend_send" />
+	
+		</td>
+		<td class="main-column-right" valign="top">
+			
+			<inp2:m_include template="in-commerce/blocks/checkout/cart_indicator" />
+	
+			<inp2:m_include template="platform/blocks/common/login" />
+	
+			<inp2:m_include template="in-commerce/blocks/products/products_top_sellers" data_exists="1"/>
+	
+			<inp2:m_include template="platform/blocks/common/mailing_list"/>
+		  
+		</td>
+	</tr>
+</table>
+
+<inp2:m_include template="platform/blocks/common/footer" />
+
+<inp2:m_include template="platform/blocks/common/copyright" />
+
+</body>
+</html>
\ No newline at end of file
Index: themes/onlinestore/platform/my_account/subscribe.tpl
===================================================================
--- themes/onlinestore/platform/my_account/subscribe.tpl	(revision 0)
+++ themes/onlinestore/platform/my_account/subscribe.tpl	(revision 0)
@@ -0,0 +1,39 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_Phrase label="lu_subscribe_title"/></title>
+<inp2:m_include template="platform/blocks/common/html_head" />
+</head>
+<body>
+
+<inp2:m_include template="platform/blocks/common/header" />
+
+<inp2:m_include template="platform/blocks/common/toolbar" />
+
+<table class="main-table">
+	<tr>
+		<td class="main-column-center" valign="top">
+
+			<inp2:m_include template="platform/blocks/common/subscribe_confirmation" />
+		
+		</td>
+		<td class="main-column-right" valign="top">
+
+			<inp2:m_include template="in-commerce/blocks/checkout/cart_indicator" />
+
+			<inp2:m_include template="platform/blocks/common/login" />
+
+			<inp2:m_include template="in-commerce/blocks/products/products_top_sellers" data_exists="1"/>
+
+			<inp2:m_include template="platform/blocks/common/recommend_site"/>
+	
+		</td> 
+	</tr> 
+</table> 
+
+<inp2:m_include template="platform/blocks/common/footer" />
+
+<inp2:m_include template="platform/blocks/common/copyright" />
+
+</body>
+</html>
\ No newline at end of file
Index: themes/onlinestore/platform/my_account/unsubscribe_ok.tpl
===================================================================
--- themes/onlinestore/platform/my_account/unsubscribe_ok.tpl	(revision 0)
+++ themes/onlinestore/platform/my_account/unsubscribe_ok.tpl	(revision 0)
@@ -0,0 +1,39 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_Phrase label="lu_unsubscribe_title"/></title>
+<inp2:m_include template="platform/blocks/common/html_head" />
+</head>
+<body>
+
+<inp2:m_include template="platform/blocks/common/header" />
+
+<inp2:m_include template="platform/blocks/common/toolbar" />
+
+<table class="main-table"> 
+	<tr> 
+		<td class="main-column-center" valign="top"> 
+			
+			<inp2:m_include template="platform/blocks/common/unsubscribe_ok" />	
+		
+		</td> 
+		<td class="main-column-right" valign="top"> 
+			
+			<inp2:m_include template="in-commerce/blocks/checkout/cart_indicator" />
+		
+			<inp2:m_include template="platform/blocks/common/login" />	
+			
+			<inp2:m_include template="in-commerce/blocks/products/products_top_sellers" data_exists="1"/>	
+		  
+			<inp2:m_include template="platform/blocks/common/recommend_site"/>
+	
+		</td> 
+	</tr> 
+</table> 
+
+<inp2:m_include template="platform/blocks/common/footer" />
+
+<inp2:m_include template="platform/blocks/common/copyright" />
+
+</body>
+</html>
Index: themes/onlinestore/platform/login/register_disabled.tpl
===================================================================
--- themes/onlinestore/platform/login/register_disabled.tpl	(revision 0)
+++ themes/onlinestore/platform/login/register_disabled.tpl	(revision 0)
@@ -0,0 +1,37 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+<head>
+<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_Phrase label="LU_TITLE_REGISTRATIONDISABLED"/></title>
+<inp2:m_include template="platform/blocks/common/html_head" />
+</head>
+<body>
+
+<inp2:m_include template="platform/blocks/common/header" />
+
+<inp2:m_include template="platform/blocks/common/toolbar" />
+
+<table class="main-table">
+  <tr>
+    <td class="main-column-center">
+    	<form method="post" action="<inp2:m_FormAction />">
+
+    		<inp2:m_include template="platform/blocks/login/register_disabled"/>
+
+		</form>
+	</td>
+    <td class="main-column-right">
+
+
+
+
+		</td>
+  </tr>
+</table>
+
+<inp2:m_include template="platform/blocks/common/footer" />
+
+<inp2:m_include template="platform/blocks/common/copyright" />
+
+</body>
+</html>
Index: themes/onlinestore/platform/login/register_confirm.tpl
===================================================================
--- themes/onlinestore/platform/login/register_confirm.tpl	(revision 0)
+++ themes/onlinestore/platform/login/register_confirm.tpl	(revision 0)
@@ -0,0 +1,37 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+<head>
+<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_Phrase label="lu_RegisterConfirm "/></title>
+<inp2:m_include template="platform/blocks/common/html_head" />
+</head>
+<body>
+
+<inp2:m_include template="platform/blocks/common/header" />
+
+<inp2:m_include template="platform/blocks/common/toolbar" />
+
+<table class="main-table">
+  <tr>
+    <td class="main-column-center">
+    	<form method="post" action="<inp2:m_FormAction />" >
+
+    		<inp2:m_include template="platform/blocks/login/register_confirm"/>
+
+		</form>
+	</td>
+    <td class="main-column-right">
+
+
+
+
+		</td>
+  </tr>
+</table>
+
+<inp2:m_include template="platform/blocks/common/footer" />
+
+<inp2:m_include template="platform/blocks/common/copyright" />
+
+</body>
+</html>
Index: themes/onlinestore/platform/login/forgotpass_reset_ok.tpl
===================================================================
--- themes/onlinestore/platform/login/forgotpass_reset_ok.tpl	(revision 0)
+++ themes/onlinestore/platform/login/forgotpass_reset_ok.tpl	(revision 0)
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_Phrase label="lu_ForgotPassword"/></title>
+<inp2:m_include template="platform/blocks/common/html_head" />
+</head>
+<body> 
+
+<inp2:m_include template="platform/blocks/common/header" />
+
+<inp2:m_include template="platform/blocks/common/toolbar" />
+
+<table class="main-table"> 
+  <tr> 
+    <td class="main-column-center" valign="top"> 
+    	
+    	<inp2:m_include template="platform/blocks/common/forgotpass_reset_ok" />	
+    
+    </td> 
+    <td class="main-column-right" valign="top"> 
+    	
+    	<inp2:m_include template="in-commerce/blocks/checkout/cart_indicator.tpl" data_exists="1"/>
+    	
+    	<inp2:m_include template="in-commerce/blocks/products/products_recent.tpl" data_exists="1"/>
+      
+    </td> 
+  </tr> 
+</table> 
+
+<inp2:m_include template="platform/blocks/common/footer" />
+
+<inp2:m_include template="platform/blocks/common/copyright" />
+
+</body>
+</html>
Index: themes/onlinestore/platform/login/register_confirm_pending.tpl
===================================================================
--- themes/onlinestore/platform/login/register_confirm_pending.tpl	(revision 0)
+++ themes/onlinestore/platform/login/register_confirm_pending.tpl	(revision 0)
@@ -0,0 +1,37 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+<head>
+<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_Phrase label="lu_RegisterConfirmPending"/></title>
+<inp2:m_include template="platform/blocks/common/html_head" />
+</head>
+<body>
+
+<inp2:m_include template="platform/blocks/common/header" />
+
+<inp2:m_include template="platform/blocks/common/toolbar" />
+
+<table class="main-table">
+  <tr>
+    <td class="main-column-center">
+    	<form method="post" action="<inp2:m_FormAction />">
+
+    		<inp2:m_include template="platform/blocks/login/register_confirm_pending"/>
+
+		</form>
+	</td>
+    <td class="main-column-right">
+
+
+
+
+		</td>
+  </tr>
+</table>
+
+<inp2:m_include template="platform/blocks/common/footer" />
+
+<inp2:m_include template="platform/blocks/common/copyright" />
+
+</body>
+</html>
Index: themes/onlinestore/platform/login/forgotpass_reset.tpl
===================================================================
--- themes/onlinestore/platform/login/forgotpass_reset.tpl	(revision 0)
+++ themes/onlinestore/platform/login/forgotpass_reset.tpl	(revision 0)
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_Phrase label="lu_ForgotPassword"/></title>
+<inp2:m_include template="platform/blocks/common/html_head" />
+</head>
+<body> 
+
+<inp2:m_include template="platform/blocks/common/header" />
+
+<inp2:m_include template="platform/blocks/common/toolbar" />
+
+<table class="main-table"> 
+  <tr> 
+    <td class="main-column-center" valign="top"> 
+    	
+    	<inp2:m_include template="platform/blocks/common/forgotpass_reset" />	
+    
+    </td> 
+    <td class="main-column-right" valign="top"> 
+    	
+    	<inp2:m_include template="in-commerce/blocks/checkout/cart_indicator.tpl" data_exists="1"/>
+    	
+    	<inp2:m_include template="in-commerce/blocks/products/products_recent.tpl" data_exists="1"/>
+      
+    </td> 
+  </tr> 
+</table> 
+
+<inp2:m_include template="platform/blocks/common/footer" />
+
+<inp2:m_include template="platform/blocks/common/copyright" />
+
+</body>
+</html>
Index: themes/onlinestore/platform/login/register.tpl
===================================================================
--- themes/onlinestore/platform/login/register.tpl	(revision 0)
+++ themes/onlinestore/platform/login/register.tpl	(revision 0)
@@ -0,0 +1,35 @@
+<inp2:m_CheckSSL mode="required" condition="Require_SSL" />
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+<head>
+<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_Phrase label="lu_PleaseRegister"/></title>
+<inp2:m_include template="platform/blocks/common/html_head" />
+</head>
+<body>
+
+<inp2:m_include template="platform/blocks/common/header" />
+
+<inp2:m_include template="platform/blocks/common/toolbar" />
+
+<table class="main-table">
+  <tr>
+    <td class="main-column-center">
+
+   		<inp2:m_include template="platform/blocks/login/form_register"/>
+
+	</td>
+    <td class="main-column-right">
+
+    	&nbsp;
+
+	</td>
+  </tr>
+</table>
+
+<inp2:m_include template="platform/blocks/common/footer" />
+
+<inp2:m_include template="platform/blocks/common/copyright" />
+
+</body>
+</html>
Index: themes/onlinestore/platform/login/login_register.tpl
===================================================================
--- themes/onlinestore/platform/login/login_register.tpl	(revision 0)
+++ themes/onlinestore/platform/login/login_register.tpl	(revision 0)
@@ -0,0 +1,36 @@
+<inp2:m_CheckSSL mode="required" condition="Require_SSL" />
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_Phrase label="lu_PleaseLogin"/></title>
+<inp2:m_include template="platform/blocks/common/html_head" />
+</head>
+<body>
+
+<inp2:m_include template="platform/blocks/common/header" />
+
+<inp2:m_include template="platform/blocks/common/toolbar" />
+
+<table class="main-table">
+  <tr>
+    <td class="main-column-center" valign="top">
+
+		<inp2:m_include template="platform/blocks/common/login_existing" />
+
+    <inp2:m_include template="platform/blocks/login/form_register"/>
+
+    </td>
+    <td class="main-column-right" valign="top">
+
+
+
+    </td>
+  </tr>
+</table>
+
+<inp2:m_include template="platform/blocks/common/footer" />
+
+<inp2:m_include template="platform/blocks/common/copyright" />
+
+</body>
+</html>
\ No newline at end of file
Index: themes/onlinestore/platform/login/login_pending_disabled.tpl
===================================================================
--- themes/onlinestore/platform/login/login_pending_disabled.tpl	(revision 0)
+++ themes/onlinestore/platform/login/login_pending_disabled.tpl	(revision 0)
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+<head>
+<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_Phrase label="lu_title_DisabledAccountWarning"/></title>
+<inp2:m_include template="platform/blocks/common/html_head" />
+</head>
+<body>
+
+<inp2:m_include template="platform/blocks/common/header" />
+
+<inp2:m_include template="platform/blocks/common/toolbar" />
+
+<table class="main-table">
+  <tr>
+    <td class="main-column-center">
+    	<form method="post" action="<inp2:m_FormAction />">
+
+    		<inp2:m_include template="platform/blocks/login/login_pending_disabled"/>
+
+		</form>
+	</td>
+    <td class="main-column-right">
+
+
+	</td>
+  </tr>
+</table>
+
+<inp2:m_include template="platform/blocks/common/footer" />
+
+<inp2:m_include template="platform/blocks/common/copyright" />
+
+</body>
+</html>
Index: themes/onlinestore/platform/login/forgotpass.tpl
===================================================================
--- themes/onlinestore/platform/login/forgotpass.tpl	(revision 0)
+++ themes/onlinestore/platform/login/forgotpass.tpl	(revision 0)
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_Phrase label="lu_ForgotPassword"/></title>
+<inp2:m_include template="platform/blocks/common/html_head" />
+</head>
+<body> 
+
+<inp2:m_include template="platform/blocks/common/header" />
+
+<inp2:m_include template="platform/blocks/common/toolbar" />
+
+<table class="main-table"> 
+  <tr> 
+    <td class="main-column-center" valign="top"> 
+    	
+    	<inp2:m_include template="platform/blocks/common/forgotpass_form" />	
+    
+    </td> 
+    <td class="main-column-right" valign="top"> 
+    	
+    	<inp2:m_include template="in-commerce/blocks/checkout/cart_indicator.tpl" data_exists="1"/>
+    	
+    	<inp2:m_include template="in-commerce/blocks/products/products_recent.tpl" data_exists="1"/>
+      
+    </td> 
+  </tr> 
+</table> 
+
+<inp2:m_include template="platform/blocks/common/footer" />
+
+<inp2:m_include template="platform/blocks/common/copyright" />
+
+</body>
+</html>
Index: themes/onlinestore/platform/blocks/login/form_register.tpl
===================================================================
--- themes/onlinestore/platform/blocks/login/form_register.tpl	(revision 0)
+++ themes/onlinestore/platform/blocks/login/form_register.tpl	(revision 0)
@@ -0,0 +1,335 @@
+<inp2:m_DefineElement name="destination">
+	<option value="<inp2:m_param name="key"/>"<inp2:m_param name="selected"/>><inp2:m_param name="option"/></option>
+</inp2:m_DefineElement>
+
+<inp2:m_if check="u_RegistrationEnabled">
+	<form method="post" action="<inp2:m_FormAction />" id="registration_form">
+
+	<table class="block-no-border">
+		<tr>
+			<td class="block-header">
+				<inp2:m_Phrase label="lu_NewCustomers"/>
+			</td>
+		</tr>
+		<tr>
+			<td class="block-data">
+					<inp2:m_Phrase label="lu_PleaseRegister"/><br/>
+					<br/>
+					<inp2:m_if check="u_HasError" field="any" except="ValidateLogin">
+						<table class="warning">
+							<tr>
+								<td valign="top" align="left" class="block-data">
+									<img src="img/message.gif" alt="" width="19" height="19" />
+									<span class="warning-text"><inp2:m_Phrase label="lu_Warning"/></span><br />
+									<inp2:m_Phrase label="lu_AProblemInForm"/>
+
+								</td>
+							</tr>
+						</table>
+					</inp2:m_if>
+
+					<strong>* <inp2:m_Phrase label="lu_IndicatesRequired"/>.</strong> <br /><br />
+					<table class="form-data">
+						<inp2:m_if check="u_UseUsernames">
+						<tr>
+							<td>
+								<strong><inp2:m_phrase label="lu_username"/>*:</strong>
+							</td>
+							<td>
+								<input type="text" name="<inp2:u_InputName field="Login"/>" value="<inp2:u_Field name="Login"/>" style="width: 300px;" />
+							</td>
+							<td width="170" class="error"><inp2:u_Error field="Login"/></td>
+						</tr>
+						</inp2:m_if>
+						<tr>
+							<td>
+								<strong><inp2:m_phrase label="lu_email"/>*:</strong>
+							</td>
+							<td>
+								<input type="text" name="<inp2:u_InputName field="Email"/>" value="<inp2:u_Field name="Email"/>" style="width: 300px;" />
+							</td>
+							<td width="170" class="error"><inp2:u_Error field="Email"/></td>
+						</tr>
+
+						<inp2:m_if check="m_ConfigEquals" name="User_Password_Auto" value="0">
+							<tr>
+								<td>
+									<strong><inp2:m_phrase label="lu_password"/>*:</strong>
+								</td>
+								<td>
+									<input type="password" name="<inp2:u_InputName field="Password"/>" value="" style="width: 300px;" />
+								</td>
+								<td class="error"><inp2:u_Error field="Password"/></td>
+							</tr>
+							<tr>
+								<td>
+									<strong><inp2:m_phrase label="lu_repeat_password"/>*:</strong>
+								</td>
+								<td>
+									<input type="password" name="<inp2:u_InputName field="VerifyPassword"/>" value="" style="width: 300px;" />
+								</td>
+								<td class="error"><inp2:u_Error field="VerifyPassword"/></td>
+							</tr>
+						</inp2:m_if>
+
+						<tr>
+							<td class="block-data">
+								<strong><inp2:m_phrase label="lu_birth_date"/>*:</strong><br>
+							</td>
+							<td class="block-data" style="white-space: nowrap">
+								<script src="inc/calendar.js"></script>
+								<input type="text" name="<inp2:u_InputName field="dob_date"/>" id="<inp2:u_InputName field="dob_date"/>" value="<inp2:u_Field name="dob_date" format="_regional_InputDateFormat"/>" style="width: 100px;" datepickerIcon="img/calendar.gif"/>
+								<script type="text/javascript">
+									initCalendar('<inp2:u_InputName field="dob_date"/>', "<inp2:u_Format input_format="1" field="dob_date"/>");
+								</script>
+								(<inp2:u_Format field="dob_date" input_format="1" human="true"/>, ex. <inp2:u_Format field="dob_date" sample="true"/>)
+								<input type="hidden" name="<inp2:u_InputName field="dob_time"/>" value="" />
+							</td>
+							<td width="170" class="error"><inp2:u_Error field="dob_date"/></td>
+						</tr>
+
+						<tr>
+							<td>
+								<strong><inp2:m_phrase label="lu_first_name"/>:</strong>
+							</td>
+							<td>
+								<input type="text" name="<inp2:u_InputName field="FirstName"/>" value="<inp2:u_Field name="FirstName"/>" style="width: 300px;" />
+							</td>
+							<td width="170" class="error"><inp2:u_Error field="FirstName"/></td>
+						</tr>
+
+						<tr>
+							<td>
+								<strong><inp2:m_phrase label="lu_last_name"/>:</strong>
+							</td>
+							<td>
+								<input type="text" name="<inp2:u_InputName field="LastName"/>" value="<inp2:u_Field name="LastName"/>" style="width: 300px;" />
+							</td>
+							<td width="170" class="error"><inp2:u_Error field="LastName"/></td>
+						</tr>
+
+						<tr>
+							<td>
+								<strong><inp2:m_phrase label="lu_company"/>:</strong>
+							</td>
+							<td>
+								<input type="text" name="<inp2:u_InputName field="Company"/>" value="<inp2:u_Field name="Company"/>" style="width: 300px;" />
+							</td>
+							<td width="170" class="error"><inp2:u_Error field="Company"/></td>
+						</tr>
+
+						<tr>
+							<td>
+								<strong><inp2:m_phrase label="lu_address_line"/> 1:</strong>
+							</td>
+							<td>
+								<input type="text" name="<inp2:u_InputName field="Street"/>" value="<inp2:u_Field name="Street"/>" style="width: 300px;" />
+							</td>
+							<td class="error"><inp2:u_Error field="Street"/></td>
+						</tr>
+
+						<tr>
+							<td>
+								<strong><inp2:m_phrase label="lu_address_line"/> 2:</strong>
+							</td>
+							<td>
+								<input type="text" name="<inp2:u_InputName field="Street2"/>" value="<inp2:u_Field name="Street2"/>" style="width: 300px;" />
+							</td>
+							<td class="error"><inp2:u_Error field="Street2"/></td>
+						</tr>
+
+						<tr>
+							<td>
+								<strong><inp2:m_phrase label="lu_city"/>:</strong>
+							</td>
+							<td>
+								<input type="text" name="<inp2:u_InputName field="City"/>" value="<inp2:u_Field name="City"/>" style="width: 200px;" />
+							</td>
+							<td class="error"><inp2:u_Error field="City"/></td>
+						</tr>
+						<tr>
+							<td>
+								<strong><inp2:m_phrase label="lu_state"/>:</strong>
+							</td>
+							<td>
+								<input type="text" name="<inp2:u_InputName field="State"/>" value="<inp2:u_Field name="State"/>" style="width: 200px;" />
+							</td>
+							<td class="error"><inp2:u_Error field="State"/></td>
+						</tr>
+						<tr>
+							<td>
+								<strong><inp2:m_phrase label="lu_ZipCode"/>:</strong>
+							</td>
+							<td>
+								<input type="text" name="<inp2:u_InputName field="Zip"/>" value="<inp2:u_Field name="Zip"/>" style="width: 100px;" />
+							</td>
+							<td class="error"><inp2:u_Error field="Zip"/></td>
+						</tr>
+						<tr>
+							<td>
+								<strong><inp2:m_phrase label="lu_country"/>:</strong>
+							</td>
+							<td>
+								<select name="<inp2:u_InputName field="Country"/>" style="width: 300px;">
+										<option value=""></option>
+										<inp2:u_PredefinedOptions field="Country" render_as="destination" selected_param="selected" selected="selected=\"selected\""/>
+								</select>
+							</td>
+							<td class="error"><inp2:u_Error field="Country"/></td>
+						</tr>
+
+						<tr>
+							<td>
+								<strong><inp2:m_phrase label="lu_phone"/>:</strong>
+							</td>
+							<td>
+								<input type="text" name="<inp2:u_InputName field="Phone"/>" value="<inp2:u_Field name="Phone"/>" style="width: 150px;" />
+							</td>
+							<td class="error"><inp2:u_Error field="Phone"/></td>
+						</tr>
+
+						<tr>
+							<td>
+								<strong><inp2:m_phrase label="lu_fax"/>:</strong>
+							</td>
+							<td>
+								<input type="text" name="<inp2:u_InputName field="Fax"/>" value="<inp2:u_Field name="Fax"/>" style="width: 150px;" />
+							</td>
+							<td class="error"><inp2:u_Error field="Fax"/></td>
+						</tr>
+
+						<inp2:m_if check="m_AllowAffiliateRegistration">
+							<tr>
+								<td>
+									<strong><inp2:m_phrase label="lu_comm_RegisterAsAffiliate"/>:</strong>
+								</td>
+								<td>
+									<input type="checkbox" name="RegisterAsAffiliate" id="RegisterAsAffiliate" onchange="toggle_affiliate()" <inp2:m_if check="m_GetEquals" name="RegisterAsAffiliate" value="on">checked</inp2:m_if>/>
+								</td>
+								<td class="error">&nbsp;</td>
+							</tr>
+						</inp2:m_if>
+						<inp2:m_if check="m_GetEquals" name="RegisterAsAffiliate" value="on">
+
+							<tr>
+								<td>
+									<strong><inp2:m_phrase label="lu_comm_SSNField"/>*:</strong>
+								</td>
+								<td>
+									<input type="text" name="SSN" id="SSN" value="<inp2:m_get var="SSN" />" />
+								</td>
+								<td class="error">
+									<inp2:m_if check="m_getequals" var="SSNRequiredError" value="1">
+										<inp2:m_Phrase label="lu_comm_FieldIsRequired" />
+									</inp2:m_if>&nbsp;
+								</td>
+							</tr>
+
+							<inp2:m_DefineElement name="affiliate_payment_type_elem">
+								<tr>
+									<td>
+										<input type="radio" name="PaymentTypeId" id="PaymentTypeId_<inp2:Field name="PaymentTypeId" />" value="<inp2:Field name="PaymentTypeId" />" <inp2:m_if check="u_AffiliatePaymentTypeChecked">checked</inp2:m_if> />
+									</td>
+									<td>
+										<label for="PaymentTypeId_<inp2:Field name="PaymentTypeId" />"><inp2:Field name="Name" /></label>
+									</td>
+								</tr>
+								<inp2:m_if check="Field" name="Description">
+									<tr>
+										<td>&nbsp;</td>
+										<td><inp2:Field name="Description" />&nbsp;</td>
+									</tr>
+								</inp2:m_if>
+							</inp2:m_DefineElement>
+
+							<tr>
+								<td style="vertical-align: top;">
+									<strong><inp2:m_phrase label="lu_comm_ChooseAffiliatePaymentType"/>:</strong>
+								</td>
+								<td colspan="2">
+									<table class="block-no-border">
+										<inp2:u_ListAffiliatesPaymentTypes render_as="affiliate_payment_type_elem" />
+										<tr><td colspan="2">&nbsp;</td></tr>
+									</table>
+								</td>
+							</tr>
+
+							<tr>
+								<td>
+									<strong><inp2:m_phrase label="lu_comm_Comments"/>:</strong>
+								</td>
+								<td>
+									<textarea name="Comments" id="Comments" cols="35" rows="5"><inp2:m_get var="Comments" /></textarea>
+								</td>
+								<td class="error">&nbsp;</td>
+							</tr>
+
+							<tr>
+								<td colspan="2">
+									<input type="checkbox" name="AgreeToAffiliateTerms" id="AgreeToAffiliateTerms" />
+									<strong><inp2:m_Phrase label="lu_comm_IAgreeTo" />
+									<a href="javascript:showAffiliateAgreement()"><inp2:m_Phrase label="lu_comm_AffiliateAgreement" /></a>
+									<inp2:m_Phrase label="lu_comm_TermsAndConditions" /></strong>
+									<script type="text/javascript">
+										function showAffiliateAgreement()
+										{
+											window.open('<inp2:m_Link template="in-commerce/my_account/affiliate_agreement" />', null, 'menubar=no,toolbars=no,width=500,height=300');
+										}
+									</script>
+								</td>
+								<td class="error">
+									<inp2:m_if check="m_getequals" var="MustAgreeToTerms" value="1">
+										<inp2:m_Phrase label="lu_comm_MustAgreeAffiliateTermsError"/>
+									</inp2:m_if>&nbsp;
+								</td>
+							</tr>
+						</inp2:m_if>
+
+						<inp2:m_if check="m_ConfigEquals" option="RegistrationCaptcha" value="1">
+							<tr>
+								<td>
+									<strong><inp2:m_phrase label="lu_captcha"/>:</strong>
+								</td>
+								<td>
+									<img src="<inp2:m_t pass="m" template="inc/captcha_image" var="u_captcha_code" w="150" h="30"/>" /><br/>
+								</td>
+								<td width="170" class="error">&nbsp;</td>
+							</tr>
+
+							<tr>
+								<td>
+									&nbsp;
+								</td>
+								<td>
+									<inp2:m_phrase label="lu_captcha_prompt"/><br/>
+									<input type="text" name="<inp2:u_InputName field="Captcha"/>" value="" style="width: 80px;" />
+								</td>
+								<td width="170" class="error"><inp2:u_Error field="Captcha"/></td>
+							</tr>
+						</inp2:m_if>
+
+						<tr>
+							<td colspan="3" valign="bottom" height="35">
+								<input type="hidden" name="shop_cart_template" value="in-commerce/checkout/shop_cart" />
+								<input type="hidden" name="next_template" value="<inp2:m_get var="next_template"/>" />
+								<input type="hidden" name="registration_confirm_template" value="platform/login/register_confirm" />
+								<input type="hidden" name="registration_confirm_pending_template" value="platform/login/register_confirm_pending" />
+
+								<input class="button" type="submit" id="events[u][OnCreate]" name="events[u][OnCreate]" value="<inp2:m_Phrase label="lu_Register" no_editing="1"/>" />
+								<input class="hidden" type="submit" id="events[u][OnRefreshForm]" name="events[u][OnRefreshForm]" />
+							</td>
+						</tr>
+					</table>
+			</td>
+		</tr>
+	</table>
+
+	</form>
+
+	<script type="text/javascript">
+		function toggle_affiliate()
+		{
+			document.getElementById('events[u][OnRefreshForm]').click();
+		}
+	</script>
+</inp2:m_if>
\ No newline at end of file
Index: themes/onlinestore/platform/blocks/login/register_disabled.tpl
===================================================================
--- themes/onlinestore/platform/blocks/login/register_disabled.tpl	(revision 0)
+++ themes/onlinestore/platform/blocks/login/register_disabled.tpl	(revision 0)
@@ -0,0 +1,17 @@
+
+
+<table class="block-no-border">
+	<tr>
+		<td class="block-header">
+			<inp2:m_Phrase label="lu_title_RegistrationDisabled"/>
+			
+		</td>
+	</tr>
+	<tr>
+		<td class="block-data">
+			<inp2:m_Phrase label="lu_title_RegistrationCompleted"/>	
+			
+		</td>
+	</tr>
+</table>
+
Index: themes/onlinestore/platform/blocks/login/no_permission_warning.tpl
===================================================================
--- themes/onlinestore/platform/blocks/login/no_permission_warning.tpl	(revision 0)
+++ themes/onlinestore/platform/blocks/login/no_permission_warning.tpl	(revision 0)
@@ -0,0 +1,22 @@
+<table class="block-no-border">
+	<tr>
+		<td class="block-header">
+			<inp2:m_Phrase label="lu_comm_NoPermissions"/>
+		</td>
+	</tr>
+	<tr>
+		<td class="block-data">
+
+			<table class="warning">
+				<tr>
+					<td valign="top" align="left" class="block-data">
+						<img src="img/message.gif" alt="" width="19" height="19" />
+						<span class="warning-text"><inp2:m_Phrase label="lu_Warning"/></span><br />
+						<inp2:m_Phrase label="lu_NoAccess"/>			
+					</td>
+				</tr>
+			</table>
+			
+		</td>
+	</tr>
+</table>
\ No newline at end of file
Index: themes/onlinestore/platform/blocks/login/register_confirm.tpl
===================================================================
--- themes/onlinestore/platform/blocks/login/register_confirm.tpl	(revision 0)
+++ themes/onlinestore/platform/blocks/login/register_confirm.tpl	(revision 0)
@@ -0,0 +1,16 @@
+
+
+<table class="block-no-border">
+	<tr>
+		<td class="block-header">
+			<inp2:m_Phrase label="lu_RegisterConfirm"/>
+		</td>
+	</tr>
+	<tr>
+		<td class="block-data">
+			<inp2:m_Phrase label="lu_RegistrationCompleted"/>
+				
+		</td>
+	</tr>
+</table>
+
Index: themes/onlinestore/platform/blocks/login/login_pending_disabled.tpl
===================================================================
--- themes/onlinestore/platform/blocks/login/login_pending_disabled.tpl	(revision 0)
+++ themes/onlinestore/platform/blocks/login/login_pending_disabled.tpl	(revision 0)
@@ -0,0 +1,18 @@
+
+
+<table class="block-no-border">
+	<tr>
+		<td class="block-header">
+			<inp2:m_Phrase label="lu_title_DisabledAccountWarning"/>
+
+		</td>
+	</tr>
+	<tr>
+		<td class="block-data">
+		
+			<inp2:m_Phrase label="lu_text_DisabledAccountWarning"/>: <a href="mailto:<inp2:u_SiteAdminEmail/>"><inp2:u_SiteAdminEmail/></a>
+				
+		</td>
+	</tr>
+</table>
+
Index: themes/onlinestore/platform/blocks/login/register_confirm_pending.tpl
===================================================================
--- themes/onlinestore/platform/blocks/login/register_confirm_pending.tpl	(revision 0)
+++ themes/onlinestore/platform/blocks/login/register_confirm_pending.tpl	(revision 0)
@@ -0,0 +1,17 @@
+
+
+<table class="block-no-border">
+	<tr>
+		<td class="block-header">
+			<inp2:m_Phrase label="lu_RegisterConfirmPending"/>
+			
+		</td>
+	</tr>
+	<tr>
+		<td class="block-data">
+			<inp2:m_Phrase label="lu_user_pending_aproval_text"/>	
+				
+		</td>
+	</tr>
+</table>
+
Index: themes/onlinestore/platform/blocks/common/copyright.tpl
===================================================================
--- themes/onlinestore/platform/blocks/common/copyright.tpl	(revision 0)
+++ themes/onlinestore/platform/blocks/common/copyright.tpl	(revision 0)
@@ -0,0 +1,7 @@
+<table style="text-align: center">
+	<tr>
+		<td>
+			<inp2:m_Phrase label="lu_PoweredBy"/> <a href="http://www.in-commerce.net" target="_blank">In-Commerce</a> &reg; 1997-2007, <a href="http://www.intechnic.com" target="_blank">Intechnic Corporation</a>. <inp2:m_Phrase label="lu_AllRightsReserved"/><br/>
+		</td>
+	</tr>
+</table>
\ No newline at end of file
Index: themes/onlinestore/platform/blocks/common/login.tpl
===================================================================
--- themes/onlinestore/platform/blocks/common/login.tpl	(revision 0)
+++ themes/onlinestore/platform/blocks/common/login.tpl	(revision 0)
@@ -0,0 +1,43 @@
+<table border="0" cellspacing="0" cellpadding="0" class="block">
+	<tr>
+		<td class="block-header"><inp2:m_Phrase label="lu_comm_Login"/></td>
+	</tr>
+	<tr>
+		<td class="block-data-big">
+			<inp2:m_if check="m_LoggedIn">
+				<inp2:m_Phrase label="lu_comm_Welcome"/>, <inp2:u_Field name="FirstName"/> <inp2:u_Field name="LastName"/><br/>
+				<img src="img/s.gif" alt="" width="5" height="5" border="0" /><br />
+				<a href="<inp2:u_LogoutLink/>"><inp2:m_Phrase label="lu_comm_Logout"/></a>
+			<inp2:m_else/>
+				<form method="POST" action="<inp2:m_FormAction />">
+					<inp2:m_if check="u_UseUsernames">
+						<inp2:m_phrase label="lu_username"/><br />
+						<input type="text" name="login" />
+					<inp2:m_else/>
+						<inp2:m_phrase label="lu_email"/><br />
+						<input type="text" name="email" />
+					</inp2:m_if>
+
+					<br />
+					<inp2:m_Phrase label="lu_Password"/><br />
+					<input type="password" name="password" />
+					<br /><img src="img/s.gif" alt="" width="5" height="10" border="0" /><br />
+					<input class="button" name="events[u][OnLogin]" type="submit" style="width: 70px;" value="<inp2:m_Phrase label="lu_comm_Login" no_editing="1"/>" /><br />
+					<img src="img/s.gif" alt="" width="5" height="5" border="0" /><br />
+					<inp2:m_if check="u_HasError" field="any">
+						<span class="error"><inp2:u_Error field="ValidateLogin"/></span><br />
+					</inp2:m_if>
+
+					<inp2:m_if check="u_RegistrationEnabled">
+						<a href="<inp2:m_Link template="platform/login/register"/>"><inp2:m_Phrase label="lu_Register"/></a><br />
+					</inp2:m_if>
+
+					<a href="<inp2:m_Link template="platform/login/forgotpass" />"><inp2:m_Phrase label="lu_ForgotPassword"/>?</a>
+					<input type="hidden" name="shop_cart_template" value="in-commerce/checkout/shop_cart" />
+					<input type="hidden" name="next_template" value="<inp2:m_get var="next_template"/>">
+					<input type="hidden" name="pending_disabled_template" value="platform/login/login_pending_disabled" />
+				</form>
+			</inp2:m_if>
+		</td>
+	</tr>
+</table>
\ No newline at end of file
Index: themes/onlinestore/platform/blocks/common/footer.tpl
===================================================================
--- themes/onlinestore/platform/blocks/common/footer.tpl	(revision 0)
+++ themes/onlinestore/platform/blocks/common/footer.tpl	(revision 0)
@@ -0,0 +1,18 @@
+<table border="0" cellspacing="0" cellpadding="0">
+	<tr>
+		<td class="toolbar" style="text-align: center">
+			<a href="<inp2:c_CategoryLink template="index" module="In-Commerce" cat_id="Root"/>" class="toolbar"><inp2:m_Phrase label="lu_Home"/></a> |
+			<a href="<inp2:m_Link template="in-commerce/my_account/account"/>" class="toolbar"><inp2:m_Phrase label="lu_YourAccount"/></a> |
+			<a href="<inp2:m_Link template="in-commerce/my_account/wishlist"/>" class="toolbar"><inp2:m_Phrase label="lu_YourWishList"/></a> |
+			<a href="<inp2:m_Link template="in-commerce/checkout/shop_cart"/>" class="toolbar"><inp2:m_Phrase label="lu_ShoppingCart"/></a> |
+			<a href="<inp2:m_Link template="in-commerce/store/contact_info" />" class="toolbar"><inp2:m_Phrase label="lu_ContactUs"/></a>
+			<inp2:m_if check="m_LoggedIn">
+				 | <a href="<inp2:u_LogoutLink />" class="toolbar"><inp2:m_Phrase label="lu_Logout"/></a>
+			</inp2:m_if>
+
+
+		</td>
+	</tr>
+</table>
+
+<inp2:m_RegisterPageHit/>
\ No newline at end of file
Index: themes/onlinestore/platform/blocks/common/subscribe_ok.tpl
===================================================================
--- themes/onlinestore/platform/blocks/common/subscribe_ok.tpl	(revision 0)
+++ themes/onlinestore/platform/blocks/common/subscribe_ok.tpl	(revision 0)
@@ -0,0 +1,22 @@
+<table border="0" cellspacing="0" cellpadding="0" class="block-no-border">
+	<tr>
+		<td class="block-header"><inp2:m_Phrase label="lu_subscribe_title" /></td>
+	</tr>
+	<tr> 
+  		<td class="block-data">
+
+  			<br />
+			<br />
+			<strong><inp2:m_Phrase label="lu_subscribe_confirm" /></strong>
+			<br />
+			<br />
+			
+			 <inp2:m_Phrase label="lu_ThankForSubscribing"/>!
+			<br />
+			<br />
+			
+			<input class="button" type="button" value="<inp2:m_Phrase label="lu_comm_Ok" no_editing="1"/>" onClick="window.location.href='<inp2:m_Link template="index"/>'" />&nbsp;
+			
+		</td>			
+	</tr>
+</table>
Index: themes/onlinestore/platform/blocks/common/forgotpass_reset.tpl
===================================================================
--- themes/onlinestore/platform/blocks/common/forgotpass_reset.tpl	(revision 0)
+++ themes/onlinestore/platform/blocks/common/forgotpass_reset.tpl	(revision 0)
@@ -0,0 +1,44 @@
+
+
+<table class="block-no-border">
+	<tr>
+		<td class="block-header"><inp2:m_Phrase label="lu_ForgotPassword"/></td>
+	</tr>
+	<tr>
+		<td class="block-data-single">
+
+			<form method="POST" action="<inp2:m_FormAction />">
+			
+			<strong><inp2:m_Phrase label="lu_title_PasswordRequestConfirm"/></strong>
+			
+			<br/><br/>
+			
+			<inp2:m_Phrase label="lu_text_PasswordRequestConfirm"/>
+			
+			<br /><br />
+			
+			<inp2:m_if check="u_TestCodeIsValid" >
+			
+				<input type="submit" name="events[u][OnResetPasswordConfirmed]" value="<inp2:m_Phrase label="lu_comm_Yes" no_editing="1"/>" class="button" />
+				
+				<input type="button" name="ResetPasswordCancelled" value="<inp2:m_Phrase label="lu_comm_No" no_editing="1"/>" class="button" onClick="window.location.href='<inp2:c_CategoryLink template="index" module="In-Commerce" cat_id="Root"/>'" />
+				
+				<input type="hidden" name="user_key" value="<inp2:m_get name='user_key' />" />
+				<input type="hidden" name="template_success" value="platform/login/forgotpass_reset_ok" />
+				</form>
+				
+			<inp2:m_else />
+				<span class="error"><inp2:u_Error field="PwResetConfirm"/></span>
+				<br />	<br />	
+				<a href="<inp2:c_CategoryLink template="index" module="In-Commerce" cat_id="Root"/>"><inp2:m_Phrase label="lu_ReturnToHome"/></a>
+			</inp2:m_if>
+
+			
+			
+						
+
+
+		</td>
+	</tr>
+</table>
+
Index: themes/onlinestore/platform/blocks/common/contact_info.tpl
===================================================================
--- themes/onlinestore/platform/blocks/common/contact_info.tpl	(revision 0)
+++ themes/onlinestore/platform/blocks/common/contact_info.tpl	(revision 0)
@@ -0,0 +1,52 @@
+<table class="block-no-border">
+	<tr>
+		<td class="block-header"><inp2:m_Phrase label="lu_ContactInformation"/></td>
+	</tr>
+	<tr>
+		<td class="block-data-single">
+			<h1><inp2:conf_ConfigValue name="Comm_CompanyName"/></h1>
+			<table class="block-no-border">
+				<tr class="form-data">
+					<td><strong><inp2:m_Phrase label="lu_Email"/>:</strong></td>
+					<td><a href="mailto:<inp2:conf_ConfigValue name="Comm_Contacts_Email"/>"><inp2:conf_ConfigValue name="Comm_Contacts_Email"/></a> </td>
+				</tr>
+				<tr class="form-data">
+					<td width="200"><strong><inp2:m_Phrase label="lu_Phone"/>:</strong></td>
+					<td><inp2:conf_ConfigValue name="Comm_Contacts_Phone"/> </td>
+				</tr>
+				<tr class="form-data">
+					<td><strong><inp2:m_Phrase label="lu_Fax"/>:</strong></td>
+					<td><inp2:conf_ConfigValue name="Comm_Contacts_Fax"/> </td>
+				</tr>
+				<tr class="form-data">
+					<td width="200"><strong><inp2:m_Phrase label="lu_Address"/>:</strong></td>
+					<td><inp2:conf_ConfigValue name="Comm_AddressLine1"/> </td>
+				</tr>
+				<tr class="form-data">
+					<td>&nbsp;</td>
+					<td><inp2:conf_ConfigValue name="Comm_AddressLine2"/> </td>
+				</tr>
+				<tr class="form-data">
+					<td><strong><inp2:m_Phrase label="lu_City"/>:</strong></td>
+					<td><inp2:conf_ConfigValue name="Comm_City"/> </td>
+				</tr>
+				<tr class="form-data">
+					<td><strong><inp2:m_Phrase label="lu_State"/>:</strong></td>
+					<td><inp2:conf_ConfigValue name="Comm_State"/> </td>
+				</tr>
+				<tr class="form-data">
+					<td><strong><inp2:m_Phrase label="lu_ZipCode"/>:</strong></td>
+					<td><inp2:conf_ConfigValue name="Comm_ZIP"/> </td>
+				</tr>
+				<tr class="form-data">
+					<td><strong><inp2:m_Phrase label="lu_Country"/>:</strong></td>
+					<td><inp2:conf_ConfigValue name="Comm_Country"/> </td>
+				</tr>
+				<tr class="form-data">
+					<td><strong><inp2:m_Phrase label="lu_AdditionalInfo"/>:</strong></td>
+					<td><inp2:conf_ConfigValue name="Comm_Contacts_Additional"/> </td>
+				</tr>
+			</table>			
+		</td>
+	</tr>
+</table>
Index: themes/onlinestore/platform/blocks/common/html_head.tpl
===================================================================
--- themes/onlinestore/platform/blocks/common/html_head.tpl	(revision 0)
+++ themes/onlinestore/platform/blocks/common/html_head.tpl	(revision 0)
@@ -0,0 +1,23 @@
+<inp2:m_CheckSSL/>
+<meta http-equiv="Content-Type" content="text/html; charset=<inp2:lang.current_Field name="Charset"/>" />
+<inp2:m_if check="m_ModuleEnabled" module="In-Edit">
+	<!--## if In-edit purchase! ##-->
+	<inp2:m_Include t="in-edit/blocks/header"/>
+	<!--## /if In-edit purchase! ##-->
+<inp2:m_else/>
+	<meta name="description" content="<inp2:c_Meta name="Description"/>" />
+	<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="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" />
+<inp2:theme.current_StylesheetFile/>
\ No newline at end of file
Index: themes/onlinestore/platform/blocks/common/forgotpass_confirm.tpl
===================================================================
--- themes/onlinestore/platform/blocks/common/forgotpass_confirm.tpl	(revision 0)
+++ themes/onlinestore/platform/blocks/common/forgotpass_confirm.tpl	(revision 0)
@@ -0,0 +1,27 @@
+
+
+<table class="block-no-border">
+	<tr>
+		<td class="block-header"><inp2:m_Phrase label="lu_ForgotPassword"/></td>
+	</tr>
+	<tr>
+		<td class="block-data-single">
+
+			<form method="POST" action="<inp2:m_FormAction />">
+			
+			<strong><inp2:m_Phrase label="lu_title_ConfirmPasswordReset"/></strong>
+			<br/><br/>
+			<inp2:m_Phrase label="lu_text_ConfirmPasswordReset"/>
+			
+			<br /><br />
+			
+			<input type="submit" name="events[u][OnResetPassword]" value="<inp2:m_Phrase label="lu_comm_Ok" no_editing="1"/>" class="button" />
+
+			<input type="hidden" name="template_success" value="index" />
+			</form>							
+
+
+		</td>
+	</tr>
+</table>
+
Index: themes/onlinestore/platform/blocks/common/header.tpl
===================================================================
--- themes/onlinestore/platform/blocks/common/header.tpl	(revision 0)
+++ themes/onlinestore/platform/blocks/common/header.tpl	(revision 0)
@@ -0,0 +1,52 @@
+<inp2:m_if check="m_ModuleEnabled" module="In-Edit">
+	<inp2:cms_EditPage />
+</inp2:m_if>
+<table class="header">
+	<tr>
+		<td>
+			<a href="<inp2:c_CategoryLink template="index" module="In-Commerce" cat_id="Root"/>"><img src="img/logo.gif" alt="In-commerce Online Store" border="0" /></a>
+		</td>
+		<td style="text-align: right">
+			<inp2:m_if check="m_LoggedIn">
+				<strong><inp2:m_Phrase label="lu_comm_Welcome"/>, <inp2:u_Field name="FirstName"/> <inp2:u_Field name="LastName"/>!</strong>
+				<br>
+			</inp2:m_if>
+			<form method="post" name="lang_form" id="lang_form" action="<inp2:m_FormAction />">
+			<input type="hidden" name="events[lang][OnChangeLanguage]" value="">
+			<inp2:m_Phrase label="lu_YourLanguage"/>:
+			<select name="language" onchange="document.getElementById('lang_form').submit()">
+				<inp2:m_DefineElement name="lang_elem">
+					<option value="<inp2:Field name="LanguageId"/>" <inp2:m_if check="SelectedLanguage">selected="selected"</inp2:m_if> ><inp2:Field name="PackName"/></option>
+				</inp2:m_DefineElement>
+				<inp2:lang_ListLanguages render_as="lang_elem" row_start_render_as="html:" row_end_render_as="html:"/>
+			</select>
+			</form>
+
+			<!--## THEME DROP-DOWN ##-->
+			<!--##
+			<form method="post" name="theme_form" id="theme_form" action="<inp2:m_FormAction />">
+				<input type="hidden" name="events[theme][OnChangeTheme]" value="" />
+				<inp2:m_Phrase label="lu_CurrentTheme"/>:
+				<select name="theme" class="input-select" onchange="document.getElementById('theme_form').submit()">
+					<inp2:m_DefineElement name="theme_elem">
+						<option value="<inp2:Field name="ThemeId"/>" <inp2:m_if check="SelectedTheme">selected="selected"</inp2:m_if> ><inp2:Field name="Name"/></option>
+					</inp2:m_DefineElement>
+				<inp2:theme_PrintList render_as="theme_elem" no_table="1"/>
+				</select>
+			</form>
+			##-->
+			<!--## /THEME DROP-DOWN ##-->
+
+			<form method="post" name="cur_form" id="cur_form" action="<inp2:m_FormAction />">
+				&nbsp; <inp2:m_Phrase label="lu_YourCurrency"/>:
+				<input type="hidden" name="events[curr][OnChangeCurrency]" value="">
+				<select name="curr_iso" onchange="document.getElementById('cur_form').submit()">
+					<inp2:m_DefineElement name="currency">
+						<option value="<inp2:Field name="ISO"/>" <inp2:m_if check="SelectedCurrency">selected="selected"</inp2:m_if> ><inp2:Field name="ISO"/></option>
+					</inp2:m_DefineElement>
+					<inp2:curr_ListCurrencies render_as="currency" row_start_render_as="html:" row_end_render_as="html:"/>
+				</select>
+			</form>
+		</td>
+	</tr>
+</table>
\ No newline at end of file
Index: themes/onlinestore/platform/blocks/common/unsubscribe_ok.tpl
===================================================================
--- themes/onlinestore/platform/blocks/common/unsubscribe_ok.tpl	(revision 0)
+++ themes/onlinestore/platform/blocks/common/unsubscribe_ok.tpl	(revision 0)
@@ -0,0 +1,22 @@
+<table border="0" cellspacing="0" cellpadding="0" class="block-no-border">
+	<tr>
+		<td class="block-header"><inp2:m_Phrase label="lu_unsubscribe_title" /></td>
+	</tr>
+	<tr> 
+  		<td class="block-data">
+
+  			<br />
+			<br />
+			<strong><inp2:m_Phrase label="lu_unsubscribe_confirm" /></strong>
+			<br />
+			<br />
+			<inp2:m_Phrase label="lu_TextUnsubscribe"/>
+			
+			<br />
+			<br />
+			
+			<input class="button" type="button" value="<inp2:m_Phrase label="lu_comm_Ok" no_editing="1"/>" onClick="window.location.href='<inp2:m_Link template="index"/>'" />&nbsp;
+			
+		</td>			
+	</tr>
+</table>
Index: themes/onlinestore/platform/blocks/common/forgotpass_form.tpl
===================================================================
--- themes/onlinestore/platform/blocks/common/forgotpass_form.tpl	(revision 0)
+++ themes/onlinestore/platform/blocks/common/forgotpass_form.tpl	(revision 0)
@@ -0,0 +1,66 @@
+
+
+<table class="block-no-border">
+	<tr>
+		<td class="block-header"><inp2:m_Phrase label="lu_ForgotPassword"/></td>
+	</tr>
+	<tr>
+		<td class="block-data-single">
+
+
+			<form method="POST" action="<inp2:m_FormAction />">
+
+				<table class="form-data">
+
+					<inp2:m_if check="conf_ConfigValue" name="Email_As_Login">
+						<tr>
+							<td colspan="3"><inp2:m_Phrase label="lu_EnterForgotEmail"/><br/><br/></td>
+						</tr>
+					<inp2:m_else/>
+						<tr>
+							<td colspan="3"><inp2:m_Phrase label="lu_EnterForgotUserEmail"/></td>
+						</tr>
+						<tr>
+							<td><strong><inp2:m_Phrase label="lu_Username"/>:</strong></td>
+							<td><input type="text" name="username"/></td>
+							<td>
+								<inp2:m_if check="u_HasError" field="any">
+									<br />
+									<span class="error"><inp2:u_Error field="Login"/></span>
+								</inp2:m_if>
+							</td>
+						</tr>
+							<td><strong><inp2:m_Phrase label="lu_Or"/></strong></td>
+							<td>&nbsp;</td>
+							<td>&nbsp;</td>
+						</tr>
+					</inp2:m_if>
+
+					<tr>
+						<td><strong><inp2:m_Phrase label="lu_Email"/>:</strong></td>
+						<td><input type="text" name="email"/></td>
+						<td>
+							<inp2:m_if check="u_HasError" field="any">
+								<br />
+								<span class="error"><inp2:u_Error field="Email"/></span>
+							</inp2:m_if>
+						</td>
+					</tr>
+					<tr>
+						<td>&nbsp;</td>
+						<td><input type="submit" value="<inp2:m_Phrase label="lu_comm_SendPassword" no_editing="1"/>" name="events[u][OnForgotPassword]" class="button" /> <input type="button" class="button" onclick="window.location.href = '<inp2:m_Link template="index"/>';" value="<inp2:m_phrase label="lu_Cancel"/>"></td>
+						<td>&nbsp;</td>
+					</tr>
+
+				</table>
+			<input type="hidden" name="template_success" value="index" />
+			<input type="hidden" name="reset_confirm_template" value="platform/login/forgotpass_reset" />
+
+			</form>
+
+
+
+		</td>
+	</tr>
+</table>
+
Index: themes/onlinestore/platform/blocks/common/recommend_site.tpl
===================================================================
--- themes/onlinestore/platform/blocks/common/recommend_site.tpl	(revision 0)
+++ themes/onlinestore/platform/blocks/common/recommend_site.tpl	(revision 0)
@@ -0,0 +1,18 @@
+<table border="0" cellspacing="0" cellpadding="0" class="block">
+	<tr>
+		<td class="block-header"><inp2:m_Phrase label="lu_RecommendToFriend"/></td>
+	</tr>
+	<tr>
+		<td class="block-data-big"><inp2:m_Phrase label="lu_EnterEmailToRecommend"/><br />
+		<form method="POST" action="<inp2:m_FormAction />">
+			<input type="text" name="friend_email" value="" />
+			<br /><img src="img/s.gif" alt="" width="5" height="10" border="0" /><br />
+			<inp2:m_if check="u_HasError" field="any">
+				<span class="error"><inp2:u_Error field="Email"/></span><br />
+			</inp2:m_if>
+			<input class="button" name="events[u][OnRecommend]" type="submit" value="<inp2:m_Phrase label="lu_comm_Recommend" no_editing="1"/>" />
+			<input type="hidden" name="template_success" value="platform/my_account/recommend.tpl" />
+		</form>
+		</td>
+	</tr>
+</table>
\ No newline at end of file
Index: themes/onlinestore/platform/blocks/common/toolbar.tpl
===================================================================
--- themes/onlinestore/platform/blocks/common/toolbar.tpl	(revision 0)
+++ themes/onlinestore/platform/blocks/common/toolbar.tpl	(revision 0)
@@ -0,0 +1,24 @@
+<table class="toolbar-block">
+	<tr>
+		<td class="toolbar"> <strong><inp2:m_Phrase label="lu_QuickSearch"/>:</strong>
+				<form method="get" action="<inp2:m_link template="in-commerce/store/search_results" />">
+					<inp2:m_GetFormHiddens template="in-commerce/store/search_results"/>
+					<input type="text" name="keywords" id="keywords" style="width: 150px" value="" />&nbsp;
+					<input class="button" type="submit" style="width: 40px;" value="<inp2:m_Phrase label="lu_comm_Go" no_editing="1"/>!" />
+				</form>
+				<strong>&nbsp;&nbsp;<a href="<inp2:m_Link template="in-commerce/store/advanced_search" />" class="toolbar"><inp2:m_Phrase label="lu_AdvancedSearch"/></a></strong>
+		</td>
+		<td align="right" class="toolbar">
+			<strong>
+				<a href="<inp2:c_CategoryLink template="index" module="In-Commerce" cat_id="Root"/>" class="toolbar"><inp2:m_Phrase label="lu_Home"/></a> |
+				<a href="<inp2:m_Link template="in-commerce/my_account/account"/>" class="toolbar"><inp2:m_Phrase label="lu_YourAccount"/></a> |
+				<a href="<inp2:m_Link template="in-commerce/my_account/wishlist"/>" class="toolbar"><inp2:m_Phrase label="lu_YourWishList"/></a> |
+				<a href="<inp2:m_Link template="in-commerce/checkout/shop_cart"/>" class="toolbar"><inp2:m_Phrase label="lu_ShoppingCart"/></a> |
+				<a href="<inp2:m_Link template="in-commerce/store/contact_info" />" class="toolbar"><inp2:m_Phrase label="lu_ContactUs"/></a>
+				<inp2:m_if check="m_ModuleEnabled" module="In-Edit">
+					<inp2:m_include template="in-edit/blocks/dmenu"/>
+				</inp2:m_if>
+			</strong>
+		</td>
+	</tr>
+</table>
Index: themes/onlinestore/platform/blocks/common/form_phrase.tpl
===================================================================
--- themes/onlinestore/platform/blocks/common/form_phrase.tpl	(revision 0)
+++ themes/onlinestore/platform/blocks/common/form_phrase.tpl	(revision 0)
@@ -0,0 +1,87 @@
+<inp2:m_DefineElement name="option_element">
+	<option value="<inp2:m_param name="key"/>"<inp2:m_param name="selected"/>><inp2:m_param name="option"/></option>
+</inp2:m_DefineElement>
+
+<form method="post" action="<inp2:m_FormAction/>">
+
+<table class="block-no-border">
+	<tr>
+		<td class="block-header">
+			Missing phrase adding
+		</td>
+	</tr>
+	<tr>
+		<td class="block-data">
+				<br/>
+				<inp2:m_if check="phrases_HasError" field="any">
+					<table class="warning">
+						<tr>
+							<td valign="top" align="left" class="block-data">
+								<img src="img/message.gif" alt="" width="19" height="19" />
+								<span class="warning-text">Warning</span><br />
+								There is a problem with the form, please check the error messages below.
+							</td>
+						</tr>
+					</table>
+				</inp2:m_if>
+
+				<strong>* Indicates Required fields.</strong> 	<br /><br />
+				<table class="form-data">
+
+					<tr>
+						<td>
+							<strong><inp2:m_phrase label="lu_fld_primary_translation"/>:</strong>
+						</td>
+						<td>
+							<inp2:phrases_Field name="PrimaryTranslation"/>
+						</td>
+						<td width="170" class="error">&nbsp;</td>
+					</tr>
+
+					<tr>
+						<td>
+							<strong><inp2:m_phrase label="lu_fld_phrase"/>:</strong>
+						</td>
+						<td>
+							<input type="text" name="<inp2:phrases_InputName field="Phrase"/>" value="<inp2:phrases_Field name="Phrase"/>" style="width: 300px;" />
+						</td>
+						<td width="170" class="error"><inp2:phrases_Error field="Phrase"/></td>
+					</tr>
+
+					<tr>
+						<td>
+							<strong><inp2:m_phrase label="lu_fld_translation"/>:</strong>
+						</td>
+						<td>
+							<input type="text" name="<inp2:phrases_InputName field="Translation"/>" value="<inp2:phrases_Field name="Translation"/>" style="width: 300px;" />
+						</td>
+						<td width="170" class="error"><inp2:phrases_Error field="Translation"/></td>
+					</tr>
+
+					<tr>
+						<td>
+							<strong><inp2:m_phrase label="lu_fld_module"/>:</strong>
+						</td>
+						<td>
+							<select name="<inp2:phrases_InputName field="Module"/>" style="width: 300px;">
+								<inp2:phrases_PredefinedOptions field="Module" render_as="option_element" selected_param="selected" selected="selected=\"selected\""/>
+							</select>
+						</td>
+						<td class="error"><inp2:phrases_Error field="Module"/></td>
+					</tr>
+
+					<tr>
+						<td colspan="3" valign="bottom" height="35">
+							<input type="hidden" id="phrases_label" name="phrases_label" value="<inp2:m_get var="phrases_label"/>" />
+							<input type="hidden" name="<inp2:phrases_InputName field="LanguageId"/>" value="<inp2:phrases_Field name="LanguageId"/>" />
+							<input type="hidden" name="<inp2:phrases_InputName field="PhraseType"/>" value="0" />
+
+							<input class="button" type="submit" id="events[phrases][OnCreate]" name="events[phrases][OnCreate]" value="<inp2:m_Phrase label="lu_comm_Create" no_editing="1"/>"/>
+						</td>
+					</tr>
+				</table>
+		</td>
+	</tr>
+</table>
+
+</form>
\ No newline at end of file
Index: themes/onlinestore/platform/blocks/common/subscribe_confirmation.tpl
===================================================================
--- themes/onlinestore/platform/blocks/common/subscribe_confirmation.tpl	(revision 0)
+++ themes/onlinestore/platform/blocks/common/subscribe_confirmation.tpl	(revision 0)
@@ -0,0 +1,26 @@
+<table border="0" cellspacing="0" cellpadding="0" class="block-no-border">
+	<tr>
+		<td class="block-header"><inp2:m_Phrase label="lu_subscribe_title" /></td>
+	</tr>
+	<tr> 
+  		<td class="block-data">
+
+  			<br />
+			<br />
+			<strong><inp2:m_Phrase label="lu_subscribe_confirm" /></strong>
+			<br />
+			<br />
+			
+			<inp2:m_Phrase label="lu_subscribe_confirm_prompt" />
+			
+			<br />
+			<br />
+			<form method="POST" action="<inp2:m_FormAction />">
+				<input class="button" name="events[u][OnSubscribeUser]" type="submit" style="width: 80px;" value="<inp2:m_Phrase label="lu_comm_Yes" no_editing="1"/>" />&nbsp;
+				<input class="button" type="button" value="<inp2:m_Phrase label="lu_Cancel" no_editing="1"/>" onClick="window.location.href='<inp2:m_Link template="index"/>'" />&nbsp;
+				<input type="hidden" name="subscribe_ok_template" value="platform/my_account/subscribe_ok"/>
+				<input type="hidden" name="subscribe_fail_template" value="platform/my_account/subscribe_error"/>
+			</form>
+		</td>			
+	</tr>
+</table>
Index: themes/onlinestore/platform/blocks/common/redirect.tpl
===================================================================
--- themes/onlinestore/platform/blocks/common/redirect.tpl	(revision 0)
+++ themes/onlinestore/platform/blocks/common/redirect.tpl	(revision 0)
@@ -0,0 +1,18 @@
+	<table border="0" cellspacing="0" cellpadding="0" class="block-no-border">
+		<tr>
+			<td class="block-header"><inp2:m_Phrase label="lu_title_Redirecting" /></td>
+		</tr>
+		<tr> 
+	  		<td class="block-data">
+				<form action="<inp2:m_FormAction />" method="get">
+		  			
+					<br />
+					<a href="<inp2:m_get name="redirect_to"/>"><inp2:m_Phrase label="lu_text_Redirecting" /></a><br />
+					<br />
+					<script type="text/javascript">
+						document.write('<input type="submit" class="button" value=" Proceed " accesskey="s" onclick="window.location=\'<inp2:m_get name="redirect_to_js"/>\'; return false" />');
+					</script>
+				</form>
+			</td>			
+		</tr>
+	</table>
\ No newline at end of file
Index: themes/onlinestore/platform/blocks/common/mailing_list.tpl
===================================================================
--- themes/onlinestore/platform/blocks/common/mailing_list.tpl	(revision 0)
+++ themes/onlinestore/platform/blocks/common/mailing_list.tpl	(revision 0)
@@ -0,0 +1,24 @@
+<table class="block">
+	<tr>
+		<td class="block-header"><inp2:m_Phrase label="lu_MailingList"/></td>
+	</tr>
+	<tr>
+		<td class="block-data-big"> 
+			<form method="POST" action="<inp2:m_FormAction />" name="mailing_list_form">
+				<inp2:m_Phrase label="lu_EnterEmailToSubscribe"/><br />
+				<input type="text" name="subscriber_email" />
+				<br /><img src="img/s.gif" alt="" width="5" height="10" border="0" /><br />
+				<inp2:m_if check="u_HasError" field="any">
+					<span class="error"><inp2:u_Error field="SubscribeEmail"/></span><br />
+				</inp2:m_if>
+				<input class="button" name="events[u][OnSubscribeQuery]" type="submit" value="<inp2:m_Phrase label="lu_comm_Subscribe" no_editing="1"/>" /> 
+				<input class="button" name="events[u][OnSubscribeQuery]" type="submit" value="<inp2:m_Phrase label="lu_comm_Unsubscribe" />" />
+				&nbsp;
+				<input type="text" style="display: none" />
+				<input type="hidden" name="subscribe_template" value="platform/my_account/subscribe"/>
+				<input type="hidden" name="unsubscribe_template" value="platform/my_account/unsubscribe"/>
+
+			</form>
+		</td>
+	</tr>
+</table>
Index: themes/onlinestore/platform/blocks/common/recommend_send.tpl
===================================================================
--- themes/onlinestore/platform/blocks/common/recommend_send.tpl	(revision 0)
+++ themes/onlinestore/platform/blocks/common/recommend_send.tpl	(revision 0)
@@ -0,0 +1,20 @@
+<table border="0" cellspacing="0" cellpadding="0" class="block-no-border">
+	<tr>
+		<td class="block-header"><inp2:m_Phrase label="lu_recommend_title" /></td>
+	</tr>
+	<tr> 
+  		<td class="block-data">
+
+  			<br />
+			<br />
+			<strong><inp2:m_Phrase label="lu_recommend_confirm" /></strong>
+			<br />
+			<br />
+			<inp2:m_Phrase label="lu_recommend_confirm_text" />
+			<br />
+			<br />
+			<button onClick="window.location.href='<inp2:m_Link template="index" />';" class="button" /><inp2:m_Phrase label="lu_comm_Ok"/></button>
+
+		</td>			
+	</tr>
+</table>
Index: themes/onlinestore/platform/blocks/common/forgotpass_reset_ok.tpl
===================================================================
--- themes/onlinestore/platform/blocks/common/forgotpass_reset_ok.tpl	(revision 0)
+++ themes/onlinestore/platform/blocks/common/forgotpass_reset_ok.tpl	(revision 0)
@@ -0,0 +1,27 @@
+
+
+<table class="block-no-border">
+	<tr>
+		<td class="block-header"><inp2:m_Phrase label="lu_ForgotPassword"/></td>
+	</tr>
+	<tr>
+		<td class="block-data-single">
+
+			<form method="POST" action="<inp2:m_FormAction />">
+			
+			<inp2:m_Phrase label="lu_text_ForgotPassHasBeenReset"/>
+			
+			<br /><br />
+			
+			<input type="button" name="ResetPasswordOk" value="<inp2:m_Phrase label="lu_comm_Ok" no_editing="1"/>" class="button" onClick="window.location.href='<inp2:c_CategoryLink template="platform/login/login_register" module="In-Commerce" cat_id="Root"/>&next_template=index'" />
+			
+			</form>							
+
+			<br /><br />
+			<br /><br />
+			<br /><br />
+			
+		</td>
+	</tr>
+</table>
+
Index: themes/onlinestore/platform/blocks/common/adv_search.tpl
===================================================================
--- themes/onlinestore/platform/blocks/common/adv_search.tpl	(revision 0)
+++ themes/onlinestore/platform/blocks/common/adv_search.tpl	(revision 0)
@@ -0,0 +1,11 @@
+<table border="0" cellspacing="0" cellpadding="0" class="block">
+	<tr>
+		<td class="block-header" colspan="2">
+			<inp2:m_Phrase label="lu_AdvancedSearch"/>
+		</td>
+	</tr>
+	<tr>
+		<td class="block-data-big"> <a href="<inp2:m_link template="in-commerce/store/advanced_search" />"><inp2:m_Phrase label="lu_AdvancedSearch"/></a> </td>
+		<td align="right" class="block-data-big"> <a href="<inp2:m_link template="in-commerce/store/advanced_search" />"><img src="img/adv_search.gif" alt="Advanced Search" width="27" height="27" border="0" /></a> </td>
+	</tr>
+</table>
\ No newline at end of file
Index: themes/onlinestore/platform/blocks/common/login_existing.tpl
===================================================================
--- themes/onlinestore/platform/blocks/common/login_existing.tpl	(revision 0)
+++ themes/onlinestore/platform/blocks/common/login_existing.tpl	(revision 0)
@@ -0,0 +1,71 @@
+<form method="post" action="<inp2:m_FormAction />">
+
+<table class="block-no-border">
+	<tr>
+		<td class="block-header">
+			<inp2:m_Phrase label="lu_ReturningCustomers"/>
+		</td>
+	</tr>
+	<tr>
+		<td class="block-data">
+			<inp2:m_if check="u_HasError" field="ValidateLogin">
+				<table class="warning">
+					<tr>
+						<td valign="top" align="left" class="block-data">
+							<img src="img/message.gif" alt="" width="19" height="19" />
+							<span class="warning-text"><inp2:m_Phrase label="lu_Warning"/></span><br />
+							<inp2:m_Phrase label="lu_AProblemWithForm"/>
+							
+						</td>
+					</tr>
+				</table>
+			</inp2:m_if><inp2:m_Phrase label="lu_PleaseLogin"/>
+			<br />
+			<br />
+			<table class="form-data">
+				<inp2:m_if check="u_UseUsernames">
+				<tr>
+					<td>
+						<strong><inp2:m_phrase label="lu_username"/>*:</strong>
+					</td>
+					<td>
+						<input type="text" name="login" value="" style="width: 300px;" />
+					</td>
+					<td width="170" class="error">&nbsp;</td>
+				</tr>
+				<inp2:m_else/>
+				<tr>
+					<td>
+						<strong><inp2:m_phrase label="lu_email"/>*:</strong>
+					</td>
+					<td>
+						<input type="text" name="email" value="" style="width: 300px;" />
+					</td>
+					<td width="170" class="error">&nbsp;</td>
+				</tr>
+				</inp2:m_if>
+
+				<tr>
+					<td>
+						<strong><inp2:m_phrase label="lu_password"/>*:</strong>
+					</td>
+					<td>
+						<input type="password" name="password" value="" style="width: 300px;" />
+					</td>
+					<td class="error"><inp2:u_Error field="ValidateLogin"/></td>
+				</tr>
+				<tr>
+					<td colspan="3" valign="bottom" height="35">
+						<input class="button" name="events[u][OnLogin]" type="submit" style="width: 70px;" value="<inp2:m_Phrase label="lu_comm_Login" no_editing="1"/>" /><br /><br />
+						<inp2:m_Phrase label="lu_IfForgotPass"/>
+						 <a href="<inp2:m_Link template="platform/login/forgotpass"/>"><inp2:m_Phrase label="lu_Here"/></a> <br />
+					</td>
+				</tr>
+			</table>
+		</td>
+	</tr>
+</table>
+	<input type="hidden" name="shop_cart_template" value="in-commerce/checkout/shop_cart" />
+	<input type="hidden" name="next_template" value="<inp2:m_get var="next_template"/>">
+	<input type="hidden" name="pending_disabled_template" value="platform/login/login_pending_disabled" />
+</form>
\ No newline at end of file
Index: themes/onlinestore/platform/blocks/common/not_found_warning.tpl
===================================================================
--- themes/onlinestore/platform/blocks/common/not_found_warning.tpl	(revision 0)
+++ themes/onlinestore/platform/blocks/common/not_found_warning.tpl	(revision 0)
@@ -0,0 +1,22 @@
+<table class="block-no-border">
+	<tr>
+		<td class="block-header">
+			<inp2:m_Phrase label="lu_error_404_title"/>
+		</td>
+	</tr>
+	<tr>
+		<td class="block-data">
+
+			<table class="warning">
+				<tr>
+					<td valign="top" align="left" class="block-data">
+						<img src="img/message.gif" alt="" width="19" height="19" />
+						<span class="warning-text"><inp2:m_Phrase label="lu_Warning"/></span><br />
+						<inp2:m_Phrase label="lu_error_404_description"/>			
+					</td>
+				</tr>
+			</table>
+			
+		</td>
+	</tr>
+</table>
\ No newline at end of file
Index: themes/onlinestore/platform/blocks/common/unsubscribe_confirmation.tpl
===================================================================
--- themes/onlinestore/platform/blocks/common/unsubscribe_confirmation.tpl	(revision 0)
+++ themes/onlinestore/platform/blocks/common/unsubscribe_confirmation.tpl	(revision 0)
@@ -0,0 +1,26 @@
+<table border="0" cellspacing="0" cellpadding="0" class="block-no-border">
+	<tr>
+		<td class="block-header"><inp2:m_Phrase label="lu_unsubscribe_title" /></td>
+	</tr>
+	<tr> 
+  		<td class="block-data">
+
+  			<br />
+			<br />
+			<strong><inp2:m_Phrase label="lu_unsubscribe_confirm" /></strong>
+			<br />
+			<br />
+			
+			<inp2:m_Phrase label="lu_unsubscribe_confirm_prompt" />
+			
+			<br />
+			<br />
+			<form method="POST" action="<inp2:m_FormAction />">
+				<input class="button" name="events[u][OnSubscribeUser]" type="submit" style="width: 80px;" value="<inp2:m_Phrase label="lu_comm_Yes" no_editing="1"/>" />&nbsp;
+				<input class="button" type="button" value="<inp2:m_Phrase label="lu_Cancel" no_editing="1"/>" onClick="window.location.href='<inp2:m_Link template="index"/>'" />&nbsp;
+				<input type="hidden" name="unsubscribe_ok_template" value="platform/my_account/unsubscribe_ok"/>
+				<input type="hidden" name="unsubscribe_fail_template" value="platform/my_account/unsubscribe_fail"/>
+			</form>
+		</td>			
+	</tr>
+</table>
Index: themes/onlinestore/platform/blocks/common/test.tpl
===================================================================
--- themes/onlinestore/platform/blocks/common/test.tpl	(revision 0)
+++ themes/onlinestore/platform/blocks/common/test.tpl	(revision 0)
@@ -0,0 +1,3 @@
+<inp2:m_if check="m_LoggedIn">
+	<a href="<inp2:m_Link template="in-commerce/my_account/wishlist"/>" class="toolbar">Your Wish List</a> |
+</inp2:m_if>
Index: themes/onlinestore/platform/blocks/common/credit_cards.tpl
===================================================================
--- themes/onlinestore/platform/blocks/common/credit_cards.tpl	(revision 0)
+++ themes/onlinestore/platform/blocks/common/credit_cards.tpl	(revision 0)
@@ -0,0 +1,18 @@
+<table border="0" cellspacing="0" cellpadding="0" class="block">
+	<tr>
+		<td class="block-header"><inp2:m_Phrase label="lu_CreditCards"/></td>
+	</tr>
+	<tr>
+		<td class="block-data-big"> <strong><inp2:m_Phrase label="lu_WeAcceptCards"/></strong><br />
+			<br />
+			<table style="text-align: center">
+				<tr>
+					<td>
+						<img alt="" src="in-commerce/img/visa.gif" /> <img alt="" src="in-commerce/img/american_express.gif" /> <img alt="" src="in-commerce/img/master_card.gif" /> <img alt="" src="in-commerce/img/novus.gif" />
+						<br />
+					</td>
+				</tr>
+			</table>
+		</td>
+	</tr>
+</table>
\ No newline at end of file
Index: themes/onlinestore/error_notfound.tpl
===================================================================
--- themes/onlinestore/error_notfound.tpl	(revision 0)
+++ themes/onlinestore/error_notfound.tpl	(revision 0)
@@ -0,0 +1,39 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_Phrase label="lu_error_404_title"/></title>
+<inp2:m_include template="platform/blocks/common/html_head" />
+</head>
+<body> 
+
+<inp2:m_include template="platform/blocks/common/header" />
+
+<inp2:m_include template="platform/blocks/common/toolbar" />
+
+<table class="main-table"> 
+	<tr> 
+		<td class="main-column-center" valign="top">
+			
+			<inp2:m_include template="platform/blocks/common/not_found_warning" />
+	
+		</td>
+		<td class="main-column-right" valign="top">
+			
+			<inp2:m_include template="in-commerce/blocks/checkout/cart_indicator" />
+	
+			<inp2:m_include template="platform/blocks/common/login" />
+	
+			<inp2:m_include template="in-commerce/blocks/products/products_top_sellers" data_exists="1"/>
+	
+			<inp2:m_include template="platform/blocks/common/mailing_list"/>
+		  
+		</td>
+	</tr>
+</table>
+
+<inp2:m_include template="platform/blocks/common/footer" />
+
+<inp2:m_include template="platform/blocks/common/copyright" />
+
+</body>
+</html>
\ No newline at end of file
Index: themes/onlinestore/inc/ajax.js
===================================================================
--- themes/onlinestore/inc/ajax.js	(revision 0)
+++ themes/onlinestore/inc/ajax.js	(revision 0)
@@ -0,0 +1,240 @@
+function preg_print_pre(obj, reg)
+{
+	if (!reg) reg = /.*/;
+	var p = ''
+	for (var prop in obj) {
+		if (prop.match(reg) ) {
+			p += prop + ': '+obj[prop] + '\n'
+		}
+	}
+	alert(p)
+}
+
+
+// Main AJAX classs
+function Request() {}
+
+Request.timeout = 60000; //60 seconds
+Request.method = 'GET';
+Request.headers = new Array();
+Request.params = null;
+
+Request.makeRequest = function(p_url, p_busyReq, p_progId, p_successCallBack, p_errorCallBack, p_pass, p_object) {
+	//p_url: the web service url
+	//p_busyReq: is a request for this object currently in progress?
+	//p_progId: element id where progress HTML should be shown
+	//p_successCallBack: callback function for successful response
+	//p_errorCallBack: callback function for erroneous response
+	//p_pass: string of params to pass to callback functions
+	//p_object: object of params to pass to callback functions
+
+	if (p_busyReq) return;
+	var req = Request.getRequest();
+	if (req != null) {
+		p_busyReq = true;
+		Request.showProgress(p_progId);
+		req.onreadystatechange = function() {
+			if (req.readyState == 4) {
+				p_busyReq = false;
+				window.clearTimeout(toId);
+				try {
+					if (req.status == 200) {
+	//					preg_print_pre(req)
+						p_successCallBack(req, p_pass, p_object);
+					} else {
+						p_errorCallBack(req, p_pass, p_object);
+					}
+					Request.hideProgress(p_progId);
+				}
+				catch (e) {
+//					alert('AJAX error')
+				}
+			}
+		}
+		var $ajax_mark = (p_url.indexOf('?') ? '&' : '?') + 'ajax=yes';
+		req.open(Request.method, p_url + $ajax_mark, true);
+
+		if (Request.method == 'POST') {
+			Request.headers['Content-type'] = 'application/x-www-form-urlencoded';
+			Request.headers['referer'] = p_url;
+		}
+		else {
+			Request.headers['If-Modified-Since'] = 'Sat, 1 Jan 2000 00:00:00 GMT';
+		}
+
+		Request.sendHeaders(req);
+		if (Request.method == 'POST') {
+			req.send(Request.params);
+			Request.method = 'GET'; // restore method back to GET
+		}
+		else {
+			req.send(null);
+		}
+
+		var toId = window.setTimeout( function() {if (p_busyReq) req.abort();}, Request.timeout );
+	}
+}
+
+Request.processRedirect = function($request) {
+	var $match_redirect = new RegExp('^#redirect#(.*)').exec($request.responseText);
+	if ($match_redirect != null) {
+		// redirect to external template requested
+		window.location.href = $match_redirect[1];
+		return true;
+	}
+	return false;
+}
+Request.sendHeaders = function($request) {
+	for (var $header_name in Request.headers) {
+		if (typeof Request.headers[$header_name] == 'function') {
+			continue;
+		}
+		$request.setRequestHeader($header_name, Request.headers[$header_name]);
+	}
+	Request.headers = new Array(); // reset header afterwards
+}
+
+Request.getRequest = function() {
+	var xmlHttp;
+	try { xmlHttp = new ActiveXObject('MSXML2.XMLHTTP'); return xmlHttp; } catch (e) {}
+	try { xmlHttp = new ActiveXObject('Microsoft.XMLHTTP'); return xmlHttp; } catch (e) {}
+	try { xmlHttp = new XMLHttpRequest(); return xmlHttp; } catch(e) {}
+	return null;
+}
+
+Request.showProgress = function(p_id) {
+	if (p_id != '') {
+		Request.setOpacity(20, p_id);
+
+		if (!document.getElementById(p_id + '_progress')) {
+			document.body.appendChild(Request.getProgressObject(p_id));
+		}
+		else {
+			var $progress_div = document.getElementById(p_id + '_progress');
+			$progress_div.style.top = getRealTop(p_id) + 'px';
+			$progress_div.style.height = document.getElementById(p_id).clientHeight;
+			$progress_div.style.display = 'block';
+		}
+//		document.getElementById(p_id).innerHTML = Request.getProgressHtml();
+	}
+}
+
+Request.hideProgress = function(p_id) {
+	if (p_id != '') {
+		document.getElementById(p_id + '_progress').style.display = 'none';
+		Request.setOpacity(100, p_id);
+	}
+}
+
+Request.setOpacity = function (opacity, id) {
+	var elem = typeof(id)=='string' ? document.getElementById(id) : id;
+    var object = elem.style;
+    object.opacity = (opacity / 100);
+    object.MozOpacity = (opacity / 100);
+    object.KhtmlOpacity = (opacity / 100);
+    object.filter = "alpha(opacity=" + opacity + ")";
+}
+
+Request.getProgressHtml = function() {
+	return "<p class='progress'>" + Request.progressText + "<br /><img src='img/ajax_progress.gif' align='absmiddle' width='100' height='7' alt='" + Request.progressText + "'/></p>";
+}
+
+Request.getProgressObject = function($id) {
+	var $div = document.createElement('DIV');
+	var $parent_div = document.getElementById($id);
+
+	$div.id = $id + '_progress';
+
+	$div.style.width = $parent_div.clientWidth + 'px';
+	$div.style.height = '150px'; // default height if div is empty (first ajax request for div)
+	$div.style.left = getRealLeft($parent_div) + 'px';
+	$div.style.top = getRealTop($parent_div) + 'px';
+	$div.style.position = 'absolute';
+
+	/*$div.style.border = '1px solid green';
+	$div.style.backgroundColor = '#FF0000';*/
+
+	$div.innerHTML = '<table style="width: 100%; height: 100%;"><tr><td style="text-align: center;">'+Request.progressText+'<br /><img src="img/ajax_progress.gif" align="absmiddle" width="100" height="7" alt="'+escape(Request.progressText)+'" /></td></tr></table>';
+	return $div;
+}
+
+Request.getErrorHtml = function(p_req) {
+	//TODO: implement accepted way to handle request error
+	return '[status: ' + p_req.status + '; status_text: ' + p_req.statusText + '; responce_text: ' + p_req.responseText + ']';
+}
+
+Request.serializeForm = function(theform) {
+	if (typeof(theform) == 'string') {
+		theform = document.getElementById(theform);
+	}
+
+	var els = theform.elements;
+	var len = els.length;
+	var queryString = '';
+
+	Request.addField = function(name, value) {
+		if (queryString.length > 0) queryString += '&';
+		queryString += encodeURIComponent(name) + '=' + encodeURIComponent(value);
+	};
+
+	for (var i = 0; i<len; i++) {
+		var el = els[i];
+    	if (el.disabled) continue;
+
+		switch(el.type) {
+			case 'text':
+			case 'password':
+			case 'hidden':
+			case 'textarea':
+          		Request.addField(el.name, el.value);
+				break;
+
+			case 'select-one':
+				if (el.selectedIndex >= 0) {
+            		Request.addField(el.name, el.options[el.selectedIndex].value);
+          		}
+          		break;
+
+			case 'select-multiple':
+				for (var j = 0; j < el.options.length; j++) {
+            		if (!el.options[j].selected) continue;
+              		Request.addField(el.name, el.options[j].value);
+          		}
+          		break;
+
+			case 'checkbox':
+			case 'radio':
+          		if (!el.checked) continue;
+            	Request.addField(el.name,el.value);
+          		break;
+      	}
+	}
+	return queryString;
+};
+
+function RatingManager ($url) {
+	this.Url = $url;
+	this.BusyRequest = false;
+}
+
+RatingManager.prototype.makeVote = function ($vote, $prefix, $id, $size) {
+	var $url = this.Url.replace('#PREFIX#', $prefix).replace('#VOTE#', $vote).replace('#ID#', $id).replace('#SIZE#', $size);
+
+	Request.makeRequest($url, this.BusyRequest, '', this.successCallback, this.errorCallback, [$vote, $prefix, $id], this);
+}
+
+RatingManager.prototype.successCallback = function ($request, $params, $object) {
+    var response = $request.responseText;
+
+    if (response.substring(0, 5) == '@err:') {
+    	alert(response.substring(5));
+    	return ;
+    }
+
+    document.getElementById('page_rating_' + $params[2]).innerHTML = response;
+}
+
+
+RatingManager.prototype.errorCallback = function($request, $params, $object) {
+	alert('AJAX Error; class: RatingManager; ' + Request.getErrorHtml($request));
+}
\ No newline at end of file
Index: themes/onlinestore/inc/captcha_image.tpl
===================================================================
--- themes/onlinestore/inc/captcha_image.tpl	(revision 0)
+++ themes/onlinestore/inc/captcha_image.tpl	(revision 0)
@@ -0,0 +1 @@
+<inp2:m_NoDebug/><inp2:m_CaptchaImage />
\ No newline at end of file
Index: themes/onlinestore/inc/lbox/lightbox.css
===================================================================
--- themes/onlinestore/inc/lbox/lightbox.css	(revision 0)
+++ themes/onlinestore/inc/lbox/lightbox.css	(revision 0)
@@ -0,0 +1,79 @@
+#lightbox{
+	position: absolute;
+	left: 0;
+	width: 100%;
+	z-index: 100;
+	text-align: center;
+	line-height: 0;
+	}
+
+#lightbox a img{ border: none; }
+
+#outerImageContainer{
+	position: relative;
+	background-color: #fff;
+	width: 250px;
+	height: 250px;
+	margin: 0 auto;
+	}
+
+#imageContainer{
+	padding: 10px;
+	}
+
+#loading{
+	position: absolute;
+	top: 40%;
+	left: 0%;
+	height: 25%;
+	width: 100%;
+	text-align: center;
+	line-height: 0;
+	}
+#hoverNav{
+	position: absolute;
+	top: 0;
+	left: 0;
+	height: 100%;
+	width: 100%;
+	z-index: 10;
+	}
+#imageContainer>#hoverNav{ left: 0;}
+#hoverNav a{ outline: none;}
+
+#prevLink, #nextLink{
+	width: 49%;
+	height: 100%;
+	background: transparent url(../../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; }
+
+
+#imageDataContainer{
+	font: 10px Verdana, Helvetica, sans-serif;
+	background-color: #fff;
+	margin: 0 auto;
+	line-height: 1.4em;
+	overflow: auto;
+	width: 100%	
+	}
+
+#imageData{	padding:0 10px; color: #666; }
+#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;	}	
+		
+#overlay{
+	position: absolute;
+	top: 0;
+	left: 0;
+	z-index: 90;
+	width: 100%;
+	height: 500px;
+	background-color: #000;
+	}
\ No newline at end of file
Index: themes/onlinestore/inc/lbox/lightbox.js
===================================================================
--- themes/onlinestore/inc/lbox/lightbox.js	(revision 0)
+++ themes/onlinestore/inc/lbox/lightbox.js	(revision 0)
@@ -0,0 +1,817 @@
+// -----------------------------------------------------------------------------------
+//
+//	Lightbox v2.03.3
+//	by Lokesh Dhakar - http://www.huddletogether.com
+//	5/21/06
+//
+//	For more information on this script, visit:
+//	http://huddletogether.com/projects/lightbox2/
+//
+//	Licensed under the Creative Commons Attribution 2.5 License - http://creativecommons.org/licenses/by/2.5/
+//	
+//	Credit also due to those who have helped, inspired, and made their code available to the public.
+//	Including: Scott Upton(uptonic.com), Peter-Paul Koch(quirksmode.com), Thomas Fuchs(mir.aculo.us), and others.
+//
+//
+// -----------------------------------------------------------------------------------
+/*
+
+	Table of Contents
+	-----------------
+	Configuration
+	Global Variables
+
+	Extending Built-in Objects	
+	- Object.extend(Element)
+	- Array.prototype.removeDuplicates()
+	- Array.prototype.empty()
+
+	Lightbox Class Declaration
+	- initialize()
+	- updateImageList()
+	- start()
+	- changeImage()
+	- resizeImageContainer()
+	- showImage()
+	- updateDetails()
+	- updateNav()
+	- enableKeyboardNav()
+	- disableKeyboardNav()
+	- keyboardAction()
+	- preloadNeighborImages()
+	- end()
+	
+	Miscellaneous Functions
+	- getPageScroll()
+	- getPageSize()
+	- getKey()
+	- listenKey()
+	- showSelectBoxes()
+	- hideSelectBoxes()
+	- showFlash()
+	- hideFlash()
+	- pause()
+	- initLightbox()
+	
+	Function Calls
+	- addLoadEvent(initLightbox)
+	
+*/
+// -----------------------------------------------------------------------------------
+
+//
+//	Configuration
+//
+var fileLoadingImage = inportalBase+'img/lbox/loading.gif';		
+var fileBottomNavCloseImage = inportalBase+'img/lbox/closelabel.gif';
+
+var overlayOpacity = 0.2;	// controls transparency of shadow overlay
+
+var animate = true;			// toggles resizing animations
+var resizeSpeed = 7;		// controls the speed of the image resizing animations (1=slowest and 10=fastest)
+
+var borderSize = 10;		//if you adjust the padding in the CSS, you will need to update this variable
+
+// -----------------------------------------------------------------------------------
+
+//
+//	Global Variables
+//
+var imageArray = new Array;
+var activeImage;
+
+if(animate == true){
+	overlayDuration = 0.2;	// shadow fade in/out duration
+	if(resizeSpeed > 10){ resizeSpeed = 10;}
+	if(resizeSpeed < 1){ resizeSpeed = 1;}
+	resizeDuration = (11 - resizeSpeed) * 0.15;
+} else { 
+	overlayDuration = 0;
+	resizeDuration = 0;
+}
+
+// -----------------------------------------------------------------------------------
+
+//
+//	Additional methods for Element added by SU, Couloir
+//	- further additions by Lokesh Dhakar (huddletogether.com)
+//
+Object.extend(Element, {
+	getWidth: function(element) {
+	   	element = $(element);
+	   	return element.offsetWidth; 
+	},
+	setWidth: function(element,w) {
+	   	element = $(element);
+    	element.style.width = w +"px";
+	},
+	setHeight: function(element,h) {
+   		element = $(element);
+    	element.style.height = h +"px";
+	},
+	setTop: function(element,t) {
+	   	element = $(element);
+    	element.style.top = t +"px";
+	},
+	setLeft: function(element,l) {
+	   	element = $(element);
+    	element.style.left = l +"px";
+	},
+	setSrc: function(element,src) {
+    	element = $(element);
+    	element.src = src; 
+	},
+	setHref: function(element,href) {
+    	element = $(element);
+    	element.href = href; 
+	},
+	setInnerHTML: function(element,content) {
+		element = $(element);
+		element.innerHTML = content;
+	}
+});
+
+// -----------------------------------------------------------------------------------
+
+//
+//	Extending built-in Array object
+//	- array.removeDuplicates()
+//	- array.empty()
+//
+Array.prototype.removeDuplicates = function () {
+    for(i = 0; i < this.length; i++){
+        for(j = this.length-1; j>i; j--){        
+            if(this[i][0] == this[j][0]){
+                this.splice(j,1);
+            }
+        }
+    }
+}
+
+// -----------------------------------------------------------------------------------
+
+Array.prototype.empty = function () {
+	for(i = 0; i <= this.length; i++){
+		this.shift();
+	}
+}
+
+// -----------------------------------------------------------------------------------
+
+//
+//	Lightbox Class Declaration
+//	- initialize()
+//	- start()
+//	- changeImage()
+//	- resizeImageContainer()
+//	- showImage()
+//	- updateDetails()
+//	- updateNav()
+//	- enableKeyboardNav()
+//	- disableKeyboardNav()
+//	- keyboardNavAction()
+//	- preloadNeighborImages()
+//	- end()
+//
+//	Structuring of code inspired by Scott Upton (http://www.uptonic.com/)
+//
+var Lightbox = Class.create();
+
+Lightbox.prototype = {
+	
+	// initialize()
+	// Constructor runs on completion of the DOM loading. Calls updateImageList and then
+	// the function inserts html at the bottom of the page which is used to display the shadow 
+	// overlay and the image container.
+	//
+	initialize: function() {	
+		
+		this.updateImageList();
+
+		// Code inserts html at the bottom of the page that looks similar to this:
+		//
+		//	<div id="overlay"></div>
+		//	<div id="lightbox">
+		//		<div id="outerImageContainer">
+		//			<div id="imageContainer">
+		//				<img id="lightboxImage">
+		//				<div style="" id="hoverNav">
+		//					<a href="#" id="prevLink"></a>
+		//					<a href="#" id="nextLink"></a>
+		//				</div>
+		//				<div id="loading">
+		//					<a href="#" id="loadingLink">
+		//						<img src="images/loading.gif">
+		//					</a>
+		//				</div>
+		//			</div>
+		//		</div>
+		//		<div id="imageDataContainer">
+		//			<div id="imageData">
+		//				<div id="imageDetails">
+		//					<span id="caption"></span>
+		//					<span id="numberDisplay"></span>
+		//				</div>
+		//				<div id="bottomNav">
+		//					<a href="#" id="bottomNavClose">
+		//						<img src="images/close.gif">
+		//					</a>
+		//				</div>
+		//			</div>
+		//		</div>
+		//	</div>
+
+
+		var objBody = document.getElementsByTagName("body").item(0);
+		
+		var objOverlay = document.createElement("div");
+		objOverlay.setAttribute('id','overlay');
+		objOverlay.style.display = 'none';
+		objOverlay.onclick = function() { myLightbox.end(); }
+		objBody.appendChild(objOverlay);
+		
+		var objLightbox = document.createElement("div");
+		objLightbox.setAttribute('id','lightbox');
+		objLightbox.style.display = 'none';
+		objLightbox.onclick = function(e) {	// close Lightbox is user clicks shadow overlay
+			if (!e) var e = window.event;
+			var clickObj = Event.element(e).id;
+			if ( clickObj == 'lightbox') {
+				myLightbox.end();
+			}
+		};
+		objBody.appendChild(objLightbox);
+			
+		var objOuterImageContainer = document.createElement("div");
+		objOuterImageContainer.setAttribute('id','outerImageContainer');
+		objLightbox.appendChild(objOuterImageContainer);
+
+		// When Lightbox starts it will resize itself from 250 by 250 to the current image dimension.
+		// If animations are turned off, it will be hidden as to prevent a flicker of a
+		// white 250 by 250 box.
+		if(animate){
+			Element.setWidth('outerImageContainer', 250);
+			Element.setHeight('outerImageContainer', 250);			
+		} else {
+			Element.setWidth('outerImageContainer', 1);
+			Element.setHeight('outerImageContainer', 1);			
+		}
+
+		var objImageContainer = document.createElement("div");
+		objImageContainer.setAttribute('id','imageContainer');
+		objOuterImageContainer.appendChild(objImageContainer);
+	
+		var objLightboxImage = document.createElement("img");
+		objLightboxImage.setAttribute('id','lightboxImage');
+		objImageContainer.appendChild(objLightboxImage);
+	
+		var objHoverNav = document.createElement("div");
+		objHoverNav.setAttribute('id','hoverNav');
+		objImageContainer.appendChild(objHoverNav);
+	
+		var objPrevLink = document.createElement("a");
+		objPrevLink.setAttribute('id','prevLink');
+		objPrevLink.setAttribute('href','#');
+		objHoverNav.appendChild(objPrevLink);
+		
+		var objNextLink = document.createElement("a");
+		objNextLink.setAttribute('id','nextLink');
+		objNextLink.setAttribute('href','#');
+		objHoverNav.appendChild(objNextLink);
+	
+		var objLoading = document.createElement("div");
+		objLoading.setAttribute('id','loading');
+		objImageContainer.appendChild(objLoading);
+	
+		var objLoadingLink = document.createElement("a");
+		objLoadingLink.setAttribute('id','loadingLink');
+		objLoadingLink.setAttribute('href','#');
+		objLoadingLink.onclick = function() { myLightbox.end(); return false; }
+		objLoading.appendChild(objLoadingLink);
+	
+		var objLoadingImage = document.createElement("img");
+		objLoadingImage.setAttribute('src', fileLoadingImage);
+		objLoadingLink.appendChild(objLoadingImage);
+
+		var objImageDataContainer = document.createElement("div");
+		objImageDataContainer.setAttribute('id','imageDataContainer');
+		objLightbox.appendChild(objImageDataContainer);
+
+		var objImageData = document.createElement("div");
+		objImageData.setAttribute('id','imageData');
+		objImageDataContainer.appendChild(objImageData);
+	
+		var objImageDetails = document.createElement("div");
+		objImageDetails.setAttribute('id','imageDetails');
+		objImageData.appendChild(objImageDetails);
+	
+		var objCaption = document.createElement("span");
+		objCaption.setAttribute('id','caption');
+		objImageDetails.appendChild(objCaption);
+	
+		var objNumberDisplay = document.createElement("span");
+		objNumberDisplay.setAttribute('id','numberDisplay');
+		objImageDetails.appendChild(objNumberDisplay);
+		
+		var objBottomNav = document.createElement("div");
+		objBottomNav.setAttribute('id','bottomNav');
+		objImageData.appendChild(objBottomNav);
+	
+		var objBottomNavCloseLink = document.createElement("a");
+		objBottomNavCloseLink.setAttribute('id','bottomNavClose');
+		objBottomNavCloseLink.setAttribute('href','#');
+		objBottomNavCloseLink.onclick = function() { myLightbox.end(); return false; }
+		objBottomNav.appendChild(objBottomNavCloseLink);
+	
+		var objBottomNavCloseImage = document.createElement("img");
+		objBottomNavCloseImage.setAttribute('src', fileBottomNavCloseImage);
+		objBottomNavCloseLink.appendChild(objBottomNavCloseImage);
+	},
+
+
+	//
+	// updateImageList()
+	// Loops through anchor tags looking for 'lightbox' references and applies onclick
+	// events to appropriate links. You can rerun after dynamically adding images w/ajax.
+	//
+	updateImageList: function() {	
+		if (!document.getElementsByTagName){ return; }
+		var anchors = document.getElementsByTagName('a');
+		var areas = document.getElementsByTagName('area');
+
+		// loop through all anchor tags
+		for (var i=0; i<anchors.length; i++){
+			var anchor = anchors[i];
+			
+			var relAttribute = String(anchor.getAttribute('rel'));
+			
+			// use the string.match() method to catch 'lightbox' references in the rel attribute
+			if (anchor.getAttribute('href') && (relAttribute.toLowerCase().match('lightbox'))){
+				anchor.onclick = function () {myLightbox.start(this); return false;}
+			}
+		}
+
+		// loop through all area tags
+		// todo: combine anchor & area tag loops
+		for (var i=0; i< areas.length; i++){
+			var area = areas[i];
+			
+			var relAttribute = String(area.getAttribute('rel'));
+			
+			// use the string.match() method to catch 'lightbox' references in the rel attribute
+			if (area.getAttribute('href') && (relAttribute.toLowerCase().match('lightbox'))){
+				area.onclick = function () {myLightbox.start(this); return false;}
+			}
+		}
+	},
+	
+	
+	//
+	//	start()
+	//	Display overlay and lightbox. If image is part of a set, add siblings to imageArray.
+	//
+	start: function(imageLink) {	
+
+		hideSelectBoxes();
+		hideFlash();
+
+		// stretch overlay to fill page and fade in
+		var arrayPageSize = getPageSize();
+		Element.setWidth('overlay', arrayPageSize[0]);
+		Element.setHeight('overlay', arrayPageSize[1]);
+
+		new Effect.Appear('overlay', { duration: overlayDuration, from: 0.0, to: overlayOpacity });
+
+		imageArray = [];
+		imageNum = 0;		
+
+		if (!document.getElementsByTagName){ return; }
+		var anchors = document.getElementsByTagName( imageLink.tagName);
+
+		// if image is NOT part of a set..
+		if((imageLink.getAttribute('rel') == 'lightbox')){
+			// add single image to imageArray
+			imageArray.push(new Array(imageLink.getAttribute('href'), imageLink.getAttribute('title')));			
+		} else {
+		// if image is part of a set..
+
+			// loop through anchors, find other images in set, and add them to imageArray
+			for (var i=0; i<anchors.length; i++){
+				var anchor = anchors[i];
+				if (anchor.getAttribute('href') && (anchor.getAttribute('rel') == imageLink.getAttribute('rel'))){
+					imageArray.push(new Array(anchor.getAttribute('href'), anchor.getAttribute('title')));
+				}
+			}
+			imageArray.removeDuplicates();
+			while(imageArray[imageNum][0] != imageLink.getAttribute('href')) { imageNum++;}
+		}
+
+		// calculate top and left offset for the lightbox 
+		var arrayPageScroll = getPageScroll();
+		var lightboxTop = arrayPageScroll[1] + (arrayPageSize[3] / 10);
+		var lightboxLeft = arrayPageScroll[0];
+		Element.setTop('lightbox', lightboxTop);
+		Element.setLeft('lightbox', lightboxLeft);
+		
+		Element.show('lightbox');
+		
+		this.changeImage(imageNum);
+	},
+
+	//
+	//	changeImage()
+	//	Hide most elements and preload image in preparation for resizing image container.
+	//
+	changeImage: function(imageNum) {	
+		
+		activeImage = imageNum;	// update global var
+
+		// hide elements during transition
+		if(animate){ Element.show('loading');}
+		Element.hide('lightboxImage');
+		Element.hide('hoverNav');
+		Element.hide('prevLink');
+		Element.hide('nextLink');
+		Element.hide('imageDataContainer');
+		Element.hide('numberDisplay');		
+		
+		imgPreloader = new Image();
+		
+		// once image is preloaded, resize image container
+		imgPreloader.onload=function(){
+			Element.setSrc('lightboxImage', imageArray[activeImage][0]);
+			myLightbox.resizeImageContainer(imgPreloader.width, imgPreloader.height);
+			
+			imgPreloader.onload=function(){};	//	clear onLoad, IE behaves irratically with animated gifs otherwise 
+		}
+		imgPreloader.src = imageArray[activeImage][0];
+	},
+
+	//
+	//	resizeImageContainer()
+	//
+	resizeImageContainer: function( imgWidth, imgHeight) {
+
+		// get curren width and height
+		this.widthCurrent = Element.getWidth('outerImageContainer');
+		this.heightCurrent = Element.getHeight('outerImageContainer');
+
+		// get new width and height
+		var widthNew = (imgWidth  + (borderSize * 2));
+		var heightNew = (imgHeight  + (borderSize * 2));
+
+		// scalars based on change from old to new
+		this.xScale = ( widthNew / this.widthCurrent) * 100;
+		this.yScale = ( heightNew / this.heightCurrent) * 100;
+
+		// calculate size difference between new and old image, and resize if necessary
+		wDiff = this.widthCurrent - widthNew;
+		hDiff = this.heightCurrent - heightNew;
+
+		if(!( hDiff == 0)){ new Effect.Scale('outerImageContainer', this.yScale, {scaleX: false, duration: resizeDuration, queue: 'front'}); }
+		if(!( wDiff == 0)){ new Effect.Scale('outerImageContainer', this.xScale, {scaleY: false, delay: resizeDuration, duration: resizeDuration}); }
+
+		// if new and old image are same size and no scaling transition is necessary, 
+		// do a quick pause to prevent image flicker.
+		if((hDiff == 0) && (wDiff == 0)){
+			if (navigator.appVersion.indexOf("MSIE")!=-1){ pause(250); } else { pause(100);} 
+		}
+
+		Element.setHeight('prevLink', imgHeight);
+		Element.setHeight('nextLink', imgHeight);
+		Element.setWidth( 'imageDataContainer', widthNew);
+
+		this.showImage();
+	},
+	
+	//
+	//	showImage()
+	//	Display image and begin preloading neighbors.
+	//
+	showImage: function(){
+		Element.hide('loading');
+		new Effect.Appear('lightboxImage', { duration: resizeDuration, queue: 'end', afterFinish: function(){	myLightbox.updateDetails(); } });
+		this.preloadNeighborImages();
+	},
+
+	//
+	//	updateDetails()
+	//	Display caption, image number, and bottom nav.
+	//
+	updateDetails: function() {
+	
+		// if caption is not null
+		if(imageArray[activeImage][1]){
+			Element.show('caption');
+			Element.setInnerHTML( 'caption', imageArray[activeImage][1]);
+		}
+		
+		// if image is part of set display 'Image x of x' 
+		if(imageArray.length > 1){
+			Element.show('numberDisplay');
+			Element.setInnerHTML( 'numberDisplay', "Image " + eval(activeImage + 1) + " of " + imageArray.length);
+		}
+
+		new Effect.Parallel(
+			[ new Effect.SlideDown( 'imageDataContainer', { sync: true, duration: resizeDuration, from: 0.0, to: 1.0 }), 
+			  new Effect.Appear('imageDataContainer', { sync: true, duration: resizeDuration }) ], 
+			{ duration: resizeDuration, afterFinish: function() {
+				// update overlay size and update nav
+				var arrayPageSize = getPageSize();
+				Element.setHeight('overlay', arrayPageSize[1]);
+				myLightbox.updateNav();
+				}
+			} 
+		);
+	},
+
+	//
+	//	updateNav()
+	//	Display appropriate previous and next hover navigation.
+	//
+	updateNav: function() {
+
+		Element.show('hoverNav');				
+
+		// if not first image in set, display prev image button
+		if(activeImage != 0){
+			Element.show('prevLink');
+			document.getElementById('prevLink').onclick = function() {
+				myLightbox.changeImage(activeImage - 1); return false;
+			}
+		}
+
+		// if not last image in set, display next image button
+		if(activeImage != (imageArray.length - 1)){
+			Element.show('nextLink');
+			document.getElementById('nextLink').onclick = function() {
+				myLightbox.changeImage(activeImage + 1); return false;
+			}
+		}
+		
+		this.enableKeyboardNav();
+	},
+
+	//
+	//	enableKeyboardNav()
+	//
+	enableKeyboardNav: function() {
+		document.onkeydown = this.keyboardAction; 
+	},
+
+	//
+	//	disableKeyboardNav()
+	//
+	disableKeyboardNav: function() {
+		document.onkeydown = '';
+	},
+
+	//
+	//	keyboardAction()
+	//
+	keyboardAction: function(e) {
+		if (e == null) { // ie
+			keycode = event.keyCode;
+			escapeKey = 27;
+		} else { // mozilla
+			keycode = e.keyCode;
+			escapeKey = e.DOM_VK_ESCAPE;
+		}
+
+		key = String.fromCharCode(keycode).toLowerCase();
+		
+		if((key == 'x') || (key == 'o') || (key == 'c') || (keycode == escapeKey)){	// close lightbox
+			myLightbox.end();
+		} else if((key == 'p') || (keycode == 37)){	// display previous image
+			if(activeImage != 0){
+				myLightbox.disableKeyboardNav();
+				myLightbox.changeImage(activeImage - 1);
+			}
+		} else if((key == 'n') || (keycode == 39)){	// display next image
+			if(activeImage != (imageArray.length - 1)){
+				myLightbox.disableKeyboardNav();
+				myLightbox.changeImage(activeImage + 1);
+			}
+		}
+
+	},
+
+	//
+	//	preloadNeighborImages()
+	//	Preload previous and next images.
+	//
+	preloadNeighborImages: function(){
+
+		if((imageArray.length - 1) > activeImage){
+			preloadNextImage = new Image();
+			preloadNextImage.src = imageArray[activeImage + 1][0];
+		}
+		if(activeImage > 0){
+			preloadPrevImage = new Image();
+			preloadPrevImage.src = imageArray[activeImage - 1][0];
+		}
+	
+	},
+
+	//
+	//	end()
+	//
+	end: function() {
+		this.disableKeyboardNav();
+		Element.hide('lightbox');
+		new Effect.Fade('overlay', { duration: overlayDuration});
+		showSelectBoxes();
+		showFlash();
+	}
+}
+
+// -----------------------------------------------------------------------------------
+
+//
+// getPageScroll()
+// Returns array with x,y page scroll values.
+// Core code from - quirksmode.com
+//
+function getPageScroll(){
+
+	var xScroll, yScroll;
+
+	if (self.pageYOffset) {
+		yScroll = self.pageYOffset;
+		xScroll = self.pageXOffset;
+	} else if (document.documentElement && document.documentElement.scrollTop){	 // Explorer 6 Strict
+		yScroll = document.documentElement.scrollTop;
+		xScroll = document.documentElement.scrollLeft;
+	} else if (document.body) {// all other Explorers
+		yScroll = document.body.scrollTop;
+		xScroll = document.body.scrollLeft;	
+	}
+
+	arrayPageScroll = new Array(xScroll,yScroll) 
+	return arrayPageScroll;
+}
+
+// -----------------------------------------------------------------------------------
+
+//
+// getPageSize()
+// Returns array with page width, height and window width, height
+// Core code from - quirksmode.com
+// Edit for Firefox by pHaez
+//
+function getPageSize(){
+	
+	var xScroll, yScroll;
+	
+	if (window.innerHeight && window.scrollMaxY) {	
+		xScroll = window.innerWidth + window.scrollMaxX;
+		yScroll = window.innerHeight + window.scrollMaxY;
+	} else if (document.body.scrollHeight > document.body.offsetHeight){ // all but Explorer Mac
+		xScroll = document.body.scrollWidth;
+		yScroll = document.body.scrollHeight;
+	} else { // Explorer Mac...would also work in Explorer 6 Strict, Mozilla and Safari
+		xScroll = document.body.offsetWidth;
+		yScroll = document.body.offsetHeight;
+	}
+	
+	var windowWidth, windowHeight;
+	
+//	console.log(self.innerWidth);
+//	console.log(document.documentElement.clientWidth);
+
+	if (self.innerHeight) {	// all except Explorer
+		if(document.documentElement.clientWidth){
+			windowWidth = document.documentElement.clientWidth; 
+		} else {
+			windowWidth = self.innerWidth;
+		}
+		windowHeight = self.innerHeight;
+	} else if (document.documentElement && document.documentElement.clientHeight) { // Explorer 6 Strict Mode
+		windowWidth = document.documentElement.clientWidth;
+		windowHeight = document.documentElement.clientHeight;
+	} else if (document.body) { // other Explorers
+		windowWidth = document.body.clientWidth;
+		windowHeight = document.body.clientHeight;
+	}	
+	
+	// for small pages with total height less then height of the viewport
+	if(yScroll < windowHeight){
+		pageHeight = windowHeight;
+	} else { 
+		pageHeight = yScroll;
+	}
+
+//	console.log("xScroll " + xScroll)
+//	console.log("windowWidth " + windowWidth)
+
+	// for small pages with total width less then width of the viewport
+	if(xScroll < windowWidth){	
+		pageWidth = xScroll;		
+	} else {
+		pageWidth = windowWidth;
+	}
+//	console.log("pageWidth " + pageWidth)
+
+	arrayPageSize = new Array(pageWidth,pageHeight,windowWidth,windowHeight) 
+	return arrayPageSize;
+}
+
+// -----------------------------------------------------------------------------------
+
+//
+// getKey(key)
+// Gets keycode. If 'x' is pressed then it hides the lightbox.
+//
+function getKey(e){
+	if (e == null) { // ie
+		keycode = event.keyCode;
+	} else { // mozilla
+		keycode = e.which;
+	}
+	key = String.fromCharCode(keycode).toLowerCase();
+	
+	if(key == 'x'){
+	}
+}
+
+// -----------------------------------------------------------------------------------
+
+//
+// listenKey()
+//
+function listenKey () {	document.onkeypress = getKey; }
+	
+// ---------------------------------------------------
+
+function showSelectBoxes(){
+	var selects = document.getElementsByTagName("select");
+	for (i = 0; i != selects.length; i++) {
+		selects[i].style.visibility = "visible";
+	}
+}
+
+// ---------------------------------------------------
+
+function hideSelectBoxes(){
+	var selects = document.getElementsByTagName("select");
+	for (i = 0; i != selects.length; i++) {
+		selects[i].style.visibility = "hidden";
+	}
+}
+
+// ---------------------------------------------------
+
+function showFlash(){
+	var flashObjects = document.getElementsByTagName("object");
+	for (i = 0; i < flashObjects.length; i++) {
+		flashObjects[i].style.visibility = "visible";
+	}
+
+	var flashEmbeds = document.getElementsByTagName("embed");
+	for (i = 0; i < flashEmbeds.length; i++) {
+		flashEmbeds[i].style.visibility = "visible";
+	}
+}
+
+// ---------------------------------------------------
+
+function hideFlash(){
+	var flashObjects = document.getElementsByTagName("object");
+	for (i = 0; i < flashObjects.length; i++) {
+		flashObjects[i].style.visibility = "hidden";
+	}
+
+	var flashEmbeds = document.getElementsByTagName("embed");
+	for (i = 0; i < flashEmbeds.length; i++) {
+		flashEmbeds[i].style.visibility = "hidden";
+	}
+
+}
+
+
+// ---------------------------------------------------
+
+//
+// pause(numberMillis)
+// Pauses code execution for specified time. Uses busy code, not good.
+// Help from Ran Bar-On [ran2103@gmail.com]
+//
+
+function pause(ms){
+	var date = new Date();
+	curDate = null;
+	do{var curDate = new Date();}
+	while( curDate - date < ms);
+}
+/*
+function pause(numberMillis) {
+	var curently = new Date().getTime() + sender;
+	while (new Date().getTime();	
+}
+*/
+// ---------------------------------------------------
+
+
+
+function initLightbox() { myLightbox = new Lightbox(); }
+Event.observe(window, 'load', initLightbox, false);
\ No newline at end of file
Index: themes/onlinestore/inc/lbox/effects.js
===================================================================
--- themes/onlinestore/inc/lbox/effects.js	(revision 0)
+++ themes/onlinestore/inc/lbox/effects.js	(revision 0)
@@ -0,0 +1,903 @@
+// Copyright (c) 2005 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)
+// Contributors:
+//  Justin Palmer (http://encytemedia.com/)
+//  Mark Pilgrim (http://diveintomark.org/)
+//  Martin Bialasinki
+// 
+// See scriptaculous.js for full license.  
+
+/* ------------- element ext -------------- */  
+ 
+// converts rgb() and #xxx to #xxxxxx format,  
+// returns self (or first argument) if not convertable  
+String.prototype.parseColor = function() {  
+  var color = '#';  
+  if(this.slice(0,4) == 'rgb(') {  
+    var cols = this.slice(4,this.length-1).split(',');  
+    var i=0; do { color += parseInt(cols[i]).toColorPart() } while (++i<3);  
+  } else {  
+    if(this.slice(0,1) == '#') {  
+      if(this.length==4) for(var i=1;i<4;i++) color += (this.charAt(i) + this.charAt(i)).toLowerCase();  
+      if(this.length==7) color = this.toLowerCase();  
+    }  
+  }  
+  return(color.length==7 ? color : (arguments[0] || this));  
+}
+
+Element.collectTextNodes = function(element) {  
+  return $A($(element).childNodes).collect( function(node) {
+    return (node.nodeType==3 ? node.nodeValue : 
+      (node.hasChildNodes() ? Element.collectTextNodes(node) : ''));
+  }).flatten().join('');
+}
+
+Element.collectTextNodesIgnoreClass = function(element, className) {  
+  return $A($(element).childNodes).collect( function(node) {
+    return (node.nodeType==3 ? node.nodeValue : 
+      ((node.hasChildNodes() && !Element.hasClassName(node,className)) ? 
+        Element.collectTextNodes(node) : ''));
+  }).flatten().join('');
+}
+
+Element.setStyle = function(element, style) {
+  element = $(element);
+  for(k in style) element.style[k.camelize()] = style[k];
+}
+
+Element.setContentZoom = function(element, percent) {  
+  Element.setStyle(element, {fontSize: (percent/100) + 'em'});   
+  if(navigator.appVersion.indexOf('AppleWebKit')>0) window.scrollBy(0,0);  
+}
+
+Element.getOpacity = function(element){  
+  var opacity;
+  if (opacity = Element.getStyle(element, 'opacity'))  
+    return parseFloat(opacity);  
+  if (opacity = (Element.getStyle(element, 'filter') || '').match(/alpha\(opacity=(.*)\)/))  
+    if(opacity[1]) return parseFloat(opacity[1]) / 100;  
+  return 1.0;  
+}
+
+Element.setOpacity = function(element, value){  
+  element= $(element);  
+  if (value == 1){
+    Element.setStyle(element, { opacity: 
+      (/Gecko/.test(navigator.userAgent) && !/Konqueror|Safari|KHTML/.test(navigator.userAgent)) ? 
+      0.999999 : null });
+    if(/MSIE/.test(navigator.userAgent))  
+      Element.setStyle(element, {filter: Element.getStyle(element,'filter').replace(/alpha\([^\)]*\)/gi,'')});  
+  } else {  
+    if(value < 0.00001) value = 0;  
+    Element.setStyle(element, {opacity: value});
+    if(/MSIE/.test(navigator.userAgent))  
+     Element.setStyle(element, 
+       { filter: Element.getStyle(element,'filter').replace(/alpha\([^\)]*\)/gi,'') +
+                 'alpha(opacity='+value*100+')' });  
+  }   
+}  
+ 
+Element.getInlineOpacity = function(element){  
+  return $(element).style.opacity || '';
+}  
+
+Element.childrenWithClassName = function(element, className) {  
+  return $A($(element).getElementsByTagName('*')).select(
+    function(c) { return Element.hasClassName(c, className) });
+}
+
+Array.prototype.call = function() {
+  var args = arguments;
+  this.each(function(f){ f.apply(this, args) });
+}
+
+/*--------------------------------------------------------------------------*/
+
+var Effect = {
+  tagifyText: function(element) {
+    var tagifyStyle = 'position:relative';
+    if(/MSIE/.test(navigator.userAgent)) tagifyStyle += ';zoom:1';
+    element = $(element);
+    $A(element.childNodes).each( function(child) {
+      if(child.nodeType==3) {
+        child.nodeValue.toArray().each( function(character) {
+          element.insertBefore(
+            Builder.node('span',{style: tagifyStyle},
+              character == ' ' ? String.fromCharCode(160) : character), 
+              child);
+        });
+        Element.remove(child);
+      }
+    });
+  },
+  multiple: function(element, effect) {
+    var elements;
+    if(((typeof element == 'object') || 
+        (typeof element == 'function')) && 
+       (element.length))
+      elements = element;
+    else
+      elements = $(element).childNodes;
+      
+    var options = Object.extend({
+      speed: 0.1,
+      delay: 0.0
+    }, arguments[2] || {});
+    var masterDelay = options.delay;
+
+    $A(elements).each( function(element, index) {
+      new effect(element, Object.extend(options, { delay: index * options.speed + masterDelay }));
+    });
+  },
+  PAIRS: {
+    'slide':  ['SlideDown','SlideUp'],
+    'blind':  ['BlindDown','BlindUp'],
+    'appear': ['Appear','Fade']
+  },
+  toggle: function(element, effect) {
+    element = $(element);
+    effect = (effect || 'appear').toLowerCase();
+    var options = Object.extend({
+      queue: { position:'end', scope:(element.id || 'global') }
+    }, arguments[2] || {});
+    Effect[Element.visible(element) ? 
+      Effect.PAIRS[effect][1] : Effect.PAIRS[effect][0]](element, options);
+  }
+};
+
+var Effect2 = Effect; // deprecated
+
+/* ------------- transitions ------------- */
+
+Effect.Transitions = {}
+
+Effect.Transitions.linear = function(pos) {
+  return pos;
+}
+Effect.Transitions.sinoidal = function(pos) {
+  return (-Math.cos(pos*Math.PI)/2) + 0.5;
+}
+Effect.Transitions.reverse  = function(pos) {
+  return 1-pos;
+}
+Effect.Transitions.flicker = function(pos) {
+  return ((-Math.cos(pos*Math.PI)/4) + 0.75) + Math.random()/4;
+}
+Effect.Transitions.wobble = function(pos) {
+  return (-Math.cos(pos*Math.PI*(9*pos))/2) + 0.5;
+}
+Effect.Transitions.pulse = function(pos) {
+  return (Math.floor(pos*10) % 2 == 0 ? 
+    (pos*10-Math.floor(pos*10)) : 1-(pos*10-Math.floor(pos*10)));
+}
+Effect.Transitions.none = function(pos) {
+  return 0;
+}
+Effect.Transitions.full = function(pos) {
+  return 1;
+}
+
+/* ------------- core effects ------------- */
+
+Effect.ScopedQueue = Class.create();
+Object.extend(Object.extend(Effect.ScopedQueue.prototype, Enumerable), {
+  initialize: function() {
+    this.effects  = [];
+    this.interval = null;
+  },
+  _each: function(iterator) {
+    this.effects._each(iterator);
+  },
+  add: function(effect) {
+    var timestamp = new Date().getTime();
+    
+    var position = (typeof effect.options.queue == 'string') ? 
+      effect.options.queue : effect.options.queue.position;
+    
+    switch(position) {
+      case 'front':
+        // move unstarted effects after this effect  
+        this.effects.findAll(function(e){ return e.state=='idle' }).each( function(e) {
+            e.startOn  += effect.finishOn;
+            e.finishOn += effect.finishOn;
+          });
+        break;
+      case 'end':
+        // start effect after last queued effect has finished
+        timestamp = this.effects.pluck('finishOn').max() || timestamp;
+        break;
+    }
+    
+    effect.startOn  += timestamp;
+    effect.finishOn += timestamp;
+    this.effects.push(effect);
+    if(!this.interval) 
+      this.interval = setInterval(this.loop.bind(this), 40);
+  },
+  remove: function(effect) {
+    this.effects = this.effects.reject(function(e) { return e==effect });
+    if(this.effects.length == 0) {
+      clearInterval(this.interval);
+      this.interval = null;
+    }
+  },
+  loop: function() {
+    var timePos = new Date().getTime();
+    this.effects.invoke('loop', timePos);
+  }
+});
+
+Effect.Queues = {
+  instances: $H(),
+  get: function(queueName) {
+    if(typeof queueName != 'string') return queueName;
+    
+    if(!this.instances[queueName])
+      this.instances[queueName] = new Effect.ScopedQueue();
+      
+    return this.instances[queueName];
+  }
+}
+Effect.Queue = Effect.Queues.get('global');
+
+Effect.DefaultOptions = {
+  transition: Effect.Transitions.sinoidal,
+  duration:   1.0,   // seconds
+  fps:        25.0,  // max. 25fps due to Effect.Queue implementation
+  sync:       false, // true for combining
+  from:       0.0,
+  to:         1.0,
+  delay:      0.0,
+  queue:      'parallel'
+}
+
+Effect.Base = function() {};
+Effect.Base.prototype = {
+  position: null,
+  start: function(options) {
+    this.options      = Object.extend(Object.extend({},Effect.DefaultOptions), options || {});
+    this.currentFrame = 0;
+    this.state        = 'idle';
+    this.startOn      = this.options.delay*1000;
+    this.finishOn     = this.startOn + (this.options.duration*1000);
+    this.event('beforeStart');
+    if(!this.options.sync)
+      Effect.Queues.get(typeof this.options.queue == 'string' ? 
+        'global' : this.options.queue.scope).add(this);
+  },
+  loop: function(timePos) {
+    if(timePos >= this.startOn) {
+      if(timePos >= this.finishOn) {
+        this.render(1.0);
+        this.cancel();
+        this.event('beforeFinish');
+        if(this.finish) this.finish(); 
+        this.event('afterFinish');
+        return;  
+      }
+      var pos   = (timePos - this.startOn) / (this.finishOn - this.startOn);
+      var frame = Math.round(pos * this.options.fps * this.options.duration);
+      if(frame > this.currentFrame) {
+        this.render(pos);
+        this.currentFrame = frame;
+      }
+    }
+  },
+  render: function(pos) {
+    if(this.state == 'idle') {
+      this.state = 'running';
+      this.event('beforeSetup');
+      if(this.setup) this.setup();
+      this.event('afterSetup');
+    }
+    if(this.state == 'running') {
+      if(this.options.transition) pos = this.options.transition(pos);
+      pos *= (this.options.to-this.options.from);
+      pos += this.options.from;
+      this.position = pos;
+      this.event('beforeUpdate');
+      if(this.update) this.update(pos);
+      this.event('afterUpdate');
+    }
+  },
+  cancel: function() {
+    if(!this.options.sync)
+      Effect.Queues.get(typeof this.options.queue == 'string' ? 
+        'global' : this.options.queue.scope).remove(this);
+    this.state = 'finished';
+  },
+  event: function(eventName) {
+    if(this.options[eventName + 'Internal']) this.options[eventName + 'Internal'](this);
+    if(this.options[eventName]) this.options[eventName](this);
+  },
+  inspect: function() {
+    return '#<Effect:' + $H(this).inspect() + ',options:' + $H(this.options).inspect() + '>';
+  }
+}
+
+Effect.Parallel = Class.create();
+Object.extend(Object.extend(Effect.Parallel.prototype, Effect.Base.prototype), {
+  initialize: function(effects) {
+    this.effects = effects || [];
+    this.start(arguments[1]);
+  },
+  update: function(position) {
+    this.effects.invoke('render', position);
+  },
+  finish: function(position) {
+    this.effects.each( function(effect) {
+      effect.render(1.0);
+      effect.cancel();
+      effect.event('beforeFinish');
+      if(effect.finish) effect.finish(position);
+      effect.event('afterFinish');
+    });
+  }
+});
+
+Effect.Opacity = Class.create();
+Object.extend(Object.extend(Effect.Opacity.prototype, Effect.Base.prototype), {
+  initialize: function(element) {
+    this.element = $(element);
+    // make this work on IE on elements without 'layout'
+    if(/MSIE/.test(navigator.userAgent) && (!this.element.hasLayout))
+      Element.setStyle(this.element, {zoom: 1});
+    var options = Object.extend({
+      from: Element.getOpacity(this.element) || 0.0,
+      to:   1.0
+    }, arguments[1] || {});
+    this.start(options);
+  },
+  update: function(position) {
+    Element.setOpacity(this.element, position);
+  }
+});
+
+Effect.Move = Class.create();
+Object.extend(Object.extend(Effect.Move.prototype, Effect.Base.prototype), {
+  initialize: function(element) {
+    this.element = $(element);
+    var options = Object.extend({
+      x:    0,
+      y:    0,
+      mode: 'relative'
+    }, arguments[1] || {});
+    this.start(options);
+  },
+  setup: function() {
+    // Bug in Opera: Opera returns the "real" position of a static element or
+    // relative element that does not have top/left explicitly set.
+    // ==> Always set top and left for position relative elements in your stylesheets 
+    // (to 0 if you do not need them) 
+    Element.makePositioned(this.element);
+    this.originalLeft = parseFloat(Element.getStyle(this.element,'left') || '0');
+    this.originalTop  = parseFloat(Element.getStyle(this.element,'top')  || '0');
+    if(this.options.mode == 'absolute') {
+      // absolute movement, so we need to calc deltaX and deltaY
+      this.options.x = this.options.x - this.originalLeft;
+      this.options.y = this.options.y - this.originalTop;
+    }
+  },
+  update: function(position) {
+    Element.setStyle(this.element, {
+      left: this.options.x  * position + this.originalLeft + 'px',
+      top:  this.options.y  * position + this.originalTop  + 'px'
+    });
+  }
+});
+
+// for backwards compatibility
+Effect.MoveBy = function(element, toTop, toLeft) {
+  return new Effect.Move(element, 
+    Object.extend({ x: toLeft, y: toTop }, arguments[3] || {}));
+};
+
+Effect.Scale = Class.create();
+Object.extend(Object.extend(Effect.Scale.prototype, Effect.Base.prototype), {
+  initialize: function(element, percent) {
+    this.element = $(element)
+    var options = Object.extend({
+      scaleX: true,
+      scaleY: true,
+      scaleContent: true,
+      scaleFromCenter: false,
+      scaleMode: 'box',        // 'box' or 'contents' or {} with provided values
+      scaleFrom: 100.0,
+      scaleTo:   percent
+    }, arguments[2] || {});
+    this.start(options);
+  },
+  setup: function() {
+    this.restoreAfterFinish = this.options.restoreAfterFinish || false;
+    this.elementPositioning = Element.getStyle(this.element,'position');
+    
+    this.originalStyle = {};
+    ['top','left','width','height','fontSize'].each( function(k) {
+      this.originalStyle[k] = this.element.style[k];
+    }.bind(this));
+      
+    this.originalTop  = this.element.offsetTop;
+    this.originalLeft = this.element.offsetLeft;
+    
+    var fontSize = Element.getStyle(this.element,'font-size') || '100%';
+    ['em','px','%'].each( function(fontSizeType) {
+      if(fontSize.indexOf(fontSizeType)>0) {
+        this.fontSize     = parseFloat(fontSize);
+        this.fontSizeType = fontSizeType;
+      }
+    }.bind(this));
+    
+    this.factor = (this.options.scaleTo - this.options.scaleFrom)/100;
+    
+    this.dims = null;
+    if(this.options.scaleMode=='box')
+      this.dims = [this.element.offsetHeight, this.element.offsetWidth];
+    if(/^content/.test(this.options.scaleMode))
+      this.dims = [this.element.scrollHeight, this.element.scrollWidth];
+    if(!this.dims)
+      this.dims = [this.options.scaleMode.originalHeight,
+                   this.options.scaleMode.originalWidth];
+  },
+  update: function(position) {
+    var currentScale = (this.options.scaleFrom/100.0) + (this.factor * position);
+    if(this.options.scaleContent && this.fontSize)
+      Element.setStyle(this.element, {fontSize: this.fontSize * currentScale + this.fontSizeType });
+    this.setDimensions(this.dims[0] * currentScale, this.dims[1] * currentScale);
+  },
+  finish: function(position) {
+    if (this.restoreAfterFinish) Element.setStyle(this.element, this.originalStyle);
+  },
+  setDimensions: function(height, width) {
+    var d = {};
+    if(this.options.scaleX) d.width = width + 'px';
+    if(this.options.scaleY) d.height = height + 'px';
+    if(this.options.scaleFromCenter) {
+      var topd  = (height - this.dims[0])/2;
+      var leftd = (width  - this.dims[1])/2;
+      if(this.elementPositioning == 'absolute') {
+        if(this.options.scaleY) d.top = this.originalTop-topd + 'px';
+        if(this.options.scaleX) d.left = this.originalLeft-leftd + 'px';
+      } else {
+        if(this.options.scaleY) d.top = -topd + 'px';
+        if(this.options.scaleX) d.left = -leftd + 'px';
+      }
+    }
+    Element.setStyle(this.element, d);
+  }
+});
+
+Effect.Highlight = Class.create();
+Object.extend(Object.extend(Effect.Highlight.prototype, Effect.Base.prototype), {
+  initialize: function(element) {
+    this.element = $(element);
+    var options = Object.extend({ startcolor: '#ffff99' }, arguments[1] || {});
+    this.start(options);
+  },
+  setup: function() {
+    // Prevent executing on elements not in the layout flow
+    if(Element.getStyle(this.element, 'display')=='none') { this.cancel(); return; }
+    // Disable background image during the effect
+    this.oldStyle = {
+      backgroundImage: Element.getStyle(this.element, 'background-image') };
+    Element.setStyle(this.element, {backgroundImage: 'none'});
+    if(!this.options.endcolor)
+      this.options.endcolor = Element.getStyle(this.element, 'background-color').parseColor('#ffffff');
+    if(!this.options.restorecolor)
+      this.options.restorecolor = Element.getStyle(this.element, 'background-color');
+    // init color calculations
+    this._base  = $R(0,2).map(function(i){ return parseInt(this.options.startcolor.slice(i*2+1,i*2+3),16) }.bind(this));
+    this._delta = $R(0,2).map(function(i){ return parseInt(this.options.endcolor.slice(i*2+1,i*2+3),16)-this._base[i] }.bind(this));
+  },
+  update: function(position) {
+    Element.setStyle(this.element,{backgroundColor: $R(0,2).inject('#',function(m,v,i){
+      return m+(Math.round(this._base[i]+(this._delta[i]*position)).toColorPart()); }.bind(this)) });
+  },
+  finish: function() {
+    Element.setStyle(this.element, Object.extend(this.oldStyle, {
+      backgroundColor: this.options.restorecolor
+    }));
+  }
+});
+
+Effect.ScrollTo = Class.create();
+Object.extend(Object.extend(Effect.ScrollTo.prototype, Effect.Base.prototype), {
+  initialize: function(element) {
+    this.element = $(element);
+    this.start(arguments[1] || {});
+  },
+  setup: function() {
+    Position.prepare();
+    var offsets = Position.cumulativeOffset(this.element);
+    if(this.options.offset) offsets[1] += this.options.offset;
+    var max = window.innerHeight ? 
+      window.height - window.innerHeight :
+      document.body.scrollHeight - 
+        (document.documentElement.clientHeight ? 
+          document.documentElement.clientHeight : document.body.clientHeight);
+    this.scrollStart = Position.deltaY;
+    this.delta = (offsets[1] > max ? max : offsets[1]) - this.scrollStart;
+  },
+  update: function(position) {
+    Position.prepare();
+    window.scrollTo(Position.deltaX, 
+      this.scrollStart + (position*this.delta));
+  }
+});
+
+/* ------------- combination effects ------------- */
+
+Effect.Fade = function(element) {
+  var oldOpacity = Element.getInlineOpacity(element);
+  var options = Object.extend({
+  from: Element.getOpacity(element) || 1.0,
+  to:   0.0,
+  afterFinishInternal: function(effect) { with(Element) { 
+    if(effect.options.to!=0) return;
+    hide(effect.element);
+    setStyle(effect.element, {opacity: oldOpacity}); }}
+  }, arguments[1] || {});
+  return new Effect.Opacity(element,options);
+}
+
+Effect.Appear = function(element) {
+  var options = Object.extend({
+  from: (Element.getStyle(element, 'display') == 'none' ? 0.0 : Element.getOpacity(element) || 0.0),
+  to:   1.0,
+  beforeSetup: function(effect) { with(Element) {
+    setOpacity(effect.element, effect.options.from);
+    show(effect.element); }}
+  }, arguments[1] || {});
+  return new Effect.Opacity(element,options);
+}
+
+Effect.Puff = function(element) {
+  element = $(element);
+  var oldStyle = { opacity: Element.getInlineOpacity(element), position: Element.getStyle(element, 'position') };
+  return new Effect.Parallel(
+   [ new Effect.Scale(element, 200, 
+      { sync: true, scaleFromCenter: true, scaleContent: true, restoreAfterFinish: true }), 
+     new Effect.Opacity(element, { sync: true, to: 0.0 } ) ], 
+     Object.extend({ duration: 1.0, 
+      beforeSetupInternal: function(effect) { with(Element) {
+        setStyle(effect.effects[0].element, {position: 'absolute'}); }},
+      afterFinishInternal: function(effect) { with(Element) {
+         hide(effect.effects[0].element);
+         setStyle(effect.effects[0].element, oldStyle); }}
+     }, arguments[1] || {})
+   );
+}
+
+Effect.BlindUp = function(element) {
+  element = $(element);
+  Element.makeClipping(element);
+  return new Effect.Scale(element, 0, 
+    Object.extend({ scaleContent: false, 
+      scaleX: false, 
+      restoreAfterFinish: true,
+      afterFinishInternal: function(effect) { with(Element) {
+        [hide, undoClipping].call(effect.element); }} 
+    }, arguments[1] || {})
+  );
+}
+
+Effect.BlindDown = function(element) {
+  element = $(element);
+  var oldHeight = Element.getStyle(element, 'height');
+  var elementDimensions = Element.getDimensions(element);
+  return new Effect.Scale(element, 100, 
+    Object.extend({ scaleContent: false, 
+      scaleX: false,
+      scaleFrom: 0,
+      scaleMode: {originalHeight: elementDimensions.height, originalWidth: elementDimensions.width},
+      restoreAfterFinish: true,
+      afterSetup: function(effect) { with(Element) {
+        makeClipping(effect.element);
+        setStyle(effect.element, {height: '0px'});
+        show(effect.element); 
+      }},  
+      afterFinishInternal: function(effect) { with(Element) {
+        undoClipping(effect.element);
+        setStyle(effect.element, {height: oldHeight});
+      }}
+    }, arguments[1] || {})
+  );
+}
+
+Effect.SwitchOff = function(element) {
+  element = $(element);
+  var oldOpacity = Element.getInlineOpacity(element);
+  return new Effect.Appear(element, { 
+    duration: 0.4,
+    from: 0,
+    transition: Effect.Transitions.flicker,
+    afterFinishInternal: function(effect) {
+      new Effect.Scale(effect.element, 1, { 
+        duration: 0.3, scaleFromCenter: true,
+        scaleX: false, scaleContent: false, restoreAfterFinish: true,
+        beforeSetup: function(effect) { with(Element) {
+          [makePositioned,makeClipping].call(effect.element);
+        }},
+        afterFinishInternal: function(effect) { with(Element) {
+          [hide,undoClipping,undoPositioned].call(effect.element);
+          setStyle(effect.element, {opacity: oldOpacity});
+        }}
+      })
+    }
+  });
+}
+
+Effect.DropOut = function(element) {
+  element = $(element);
+  var oldStyle = {
+    top: Element.getStyle(element, 'top'),
+    left: Element.getStyle(element, 'left'),
+    opacity: Element.getInlineOpacity(element) };
+  return new Effect.Parallel(
+    [ new Effect.Move(element, {x: 0, y: 100, sync: true }), 
+      new Effect.Opacity(element, { sync: true, to: 0.0 }) ],
+    Object.extend(
+      { duration: 0.5,
+        beforeSetup: function(effect) { with(Element) {
+          makePositioned(effect.effects[0].element); }},
+        afterFinishInternal: function(effect) { with(Element) {
+          [hide, undoPositioned].call(effect.effects[0].element);
+          setStyle(effect.effects[0].element, oldStyle); }} 
+      }, arguments[1] || {}));
+}
+
+Effect.Shake = function(element) {
+  element = $(element);
+  var oldStyle = {
+    top: Element.getStyle(element, 'top'),
+    left: Element.getStyle(element, 'left') };
+	  return new Effect.Move(element, 
+	    { x:  20, y: 0, duration: 0.05, afterFinishInternal: function(effect) {
+	  new Effect.Move(effect.element,
+	    { x: -40, y: 0, duration: 0.1,  afterFinishInternal: function(effect) {
+	  new Effect.Move(effect.element,
+	    { x:  40, y: 0, duration: 0.1,  afterFinishInternal: function(effect) {
+	  new Effect.Move(effect.element,
+	    { x: -40, y: 0, duration: 0.1,  afterFinishInternal: function(effect) {
+	  new Effect.Move(effect.element,
+	    { x:  40, y: 0, duration: 0.1,  afterFinishInternal: function(effect) {
+	  new Effect.Move(effect.element,
+	    { x: -20, y: 0, duration: 0.05, afterFinishInternal: function(effect) { with(Element) {
+        undoPositioned(effect.element);
+        setStyle(effect.element, oldStyle);
+  }}}) }}) }}) }}) }}) }});
+}
+
+Effect.SlideDown = function(element) {
+  element = $(element);
+  Element.cleanWhitespace(element);
+  // SlideDown need to have the content of the element wrapped in a container element with fixed height!
+  var oldInnerBottom = Element.getStyle(element.firstChild, 'bottom');
+  var elementDimensions = Element.getDimensions(element);
+  return new Effect.Scale(element, 100, Object.extend({ 
+    scaleContent: false, 
+    scaleX: false, 
+    scaleFrom: 0,
+    scaleMode: {originalHeight: elementDimensions.height, originalWidth: elementDimensions.width},
+    restoreAfterFinish: true,
+    afterSetup: function(effect) { with(Element) {
+      makePositioned(effect.element);
+      makePositioned(effect.element.firstChild);
+      if(window.opera) setStyle(effect.element, {top: ''});
+      makeClipping(effect.element);
+      setStyle(effect.element, {height: '0px'});
+      show(element); }},
+    afterUpdateInternal: function(effect) { with(Element) {
+      setStyle(effect.element.firstChild, {bottom:
+        (effect.dims[0] - effect.element.clientHeight) + 'px' }); }},
+    afterFinishInternal: function(effect) { with(Element) {
+      undoClipping(effect.element); 
+      undoPositioned(effect.element.firstChild);
+      undoPositioned(effect.element);
+      setStyle(effect.element.firstChild, {bottom: oldInnerBottom}); }}
+    }, arguments[1] || {})
+  );
+}
+  
+Effect.SlideUp = function(element) {
+  element = $(element);
+  Element.cleanWhitespace(element);
+  var oldInnerBottom = Element.getStyle(element.firstChild, 'bottom');
+  return new Effect.Scale(element, 0, 
+   Object.extend({ scaleContent: false, 
+    scaleX: false, 
+    scaleMode: 'box',
+    scaleFrom: 100,
+    restoreAfterFinish: true,
+    beforeStartInternal: function(effect) { with(Element) {
+      makePositioned(effect.element);
+      makePositioned(effect.element.firstChild);
+      if(window.opera) setStyle(effect.element, {top: ''});
+      makeClipping(effect.element);
+      show(element); }},  
+    afterUpdateInternal: function(effect) { with(Element) {
+      setStyle(effect.element.firstChild, {bottom:
+        (effect.dims[0] - effect.element.clientHeight) + 'px' }); }},
+    afterFinishInternal: function(effect) { with(Element) {
+        [hide, undoClipping].call(effect.element); 
+        undoPositioned(effect.element.firstChild);
+        undoPositioned(effect.element);
+        setStyle(effect.element.firstChild, {bottom: oldInnerBottom}); }}
+   }, arguments[1] || {})
+  );
+}
+
+// Bug in opera makes the TD containing this element expand for a instance after finish 
+Effect.Squish = function(element) {
+  return new Effect.Scale(element, window.opera ? 1 : 0, 
+    { restoreAfterFinish: true,
+      beforeSetup: function(effect) { with(Element) {
+        makeClipping(effect.element); }},  
+      afterFinishInternal: function(effect) { with(Element) {
+        hide(effect.element); 
+        undoClipping(effect.element); }}
+  });
+}
+
+Effect.Grow = function(element) {
+  element = $(element);
+  var options = Object.extend({
+    direction: 'center',
+    moveTransistion: Effect.Transitions.sinoidal,
+    scaleTransition: Effect.Transitions.sinoidal,
+    opacityTransition: Effect.Transitions.full
+  }, arguments[1] || {});
+  var oldStyle = {
+    top: element.style.top,
+    left: element.style.left,
+    height: element.style.height,
+    width: element.style.width,
+    opacity: Element.getInlineOpacity(element) };
+
+  var dims = Element.getDimensions(element);    
+  var initialMoveX, initialMoveY;
+  var moveX, moveY;
+  
+  switch (options.direction) {
+    case 'top-left':
+      initialMoveX = initialMoveY = moveX = moveY = 0; 
+      break;
+    case 'top-right':
+      initialMoveX = dims.width;
+      initialMoveY = moveY = 0;
+      moveX = -dims.width;
+      break;
+    case 'bottom-left':
+      initialMoveX = moveX = 0;
+      initialMoveY = dims.height;
+      moveY = -dims.height;
+      break;
+    case 'bottom-right':
+      initialMoveX = dims.width;
+      initialMoveY = dims.height;
+      moveX = -dims.width;
+      moveY = -dims.height;
+      break;
+    case 'center':
+      initialMoveX = dims.width / 2;
+      initialMoveY = dims.height / 2;
+      moveX = -dims.width / 2;
+      moveY = -dims.height / 2;
+      break;
+  }
+  
+  return new Effect.Move(element, {
+    x: initialMoveX,
+    y: initialMoveY,
+    duration: 0.01, 
+    beforeSetup: function(effect) { with(Element) {
+      hide(effect.element);
+      makeClipping(effect.element);
+      makePositioned(effect.element);
+    }},
+    afterFinishInternal: function(effect) {
+      new Effect.Parallel(
+        [ new Effect.Opacity(effect.element, { sync: true, to: 1.0, from: 0.0, transition: options.opacityTransition }),
+          new Effect.Move(effect.element, { x: moveX, y: moveY, sync: true, transition: options.moveTransition }),
+          new Effect.Scale(effect.element, 100, {
+            scaleMode: { originalHeight: dims.height, originalWidth: dims.width }, 
+            sync: true, scaleFrom: window.opera ? 1 : 0, transition: options.scaleTransition, restoreAfterFinish: true})
+        ], Object.extend({
+             beforeSetup: function(effect) { with(Element) {
+               setStyle(effect.effects[0].element, {height: '0px'});
+               show(effect.effects[0].element); }},
+             afterFinishInternal: function(effect) { with(Element) {
+               [undoClipping, undoPositioned].call(effect.effects[0].element); 
+               setStyle(effect.effects[0].element, oldStyle); }}
+           }, options)
+      )
+    }
+  });
+}
+
+Effect.Shrink = function(element) {
+  element = $(element);
+  var options = Object.extend({
+    direction: 'center',
+    moveTransistion: Effect.Transitions.sinoidal,
+    scaleTransition: Effect.Transitions.sinoidal,
+    opacityTransition: Effect.Transitions.none
+  }, arguments[1] || {});
+  var oldStyle = {
+    top: element.style.top,
+    left: element.style.left,
+    height: element.style.height,
+    width: element.style.width,
+    opacity: Element.getInlineOpacity(element) };
+
+  var dims = Element.getDimensions(element);
+  var moveX, moveY;
+  
+  switch (options.direction) {
+    case 'top-left':
+      moveX = moveY = 0;
+      break;
+    case 'top-right':
+      moveX = dims.width;
+      moveY = 0;
+      break;
+    case 'bottom-left':
+      moveX = 0;
+      moveY = dims.height;
+      break;
+    case 'bottom-right':
+      moveX = dims.width;
+      moveY = dims.height;
+      break;
+    case 'center':  
+      moveX = dims.width / 2;
+      moveY = dims.height / 2;
+      break;
+  }
+  
+  return new Effect.Parallel(
+    [ new Effect.Opacity(element, { sync: true, to: 0.0, from: 1.0, transition: options.opacityTransition }),
+      new Effect.Scale(element, window.opera ? 1 : 0, { sync: true, transition: options.scaleTransition, restoreAfterFinish: true}),
+      new Effect.Move(element, { x: moveX, y: moveY, sync: true, transition: options.moveTransition })
+    ], Object.extend({            
+         beforeStartInternal: function(effect) { with(Element) {
+           [makePositioned, makeClipping].call(effect.effects[0].element) }},
+         afterFinishInternal: function(effect) { with(Element) {
+           [hide, undoClipping, undoPositioned].call(effect.effects[0].element);
+           setStyle(effect.effects[0].element, oldStyle); }}
+       }, options)
+  );
+}
+
+Effect.Pulsate = function(element) {
+  element = $(element);
+  var options    = arguments[1] || {};
+  var oldOpacity = Element.getInlineOpacity(element);
+  var transition = options.transition || Effect.Transitions.sinoidal;
+  var reverser   = function(pos){ return transition(1-Effect.Transitions.pulse(pos)) };
+  reverser.bind(transition);
+  return new Effect.Opacity(element, 
+    Object.extend(Object.extend({  duration: 3.0, from: 0,
+      afterFinishInternal: function(effect) { Element.setStyle(effect.element, {opacity: oldOpacity}); }
+    }, options), {transition: reverser}));
+}
+
+Effect.Fold = function(element) {
+  element = $(element);
+  var oldStyle = {
+    top: element.style.top,
+    left: element.style.left,
+    width: element.style.width,
+    height: element.style.height };
+  Element.makeClipping(element);
+  return new Effect.Scale(element, 5, Object.extend({   
+    scaleContent: false,
+    scaleX: false,
+    afterFinishInternal: function(effect) {
+    new Effect.Scale(element, 1, { 
+      scaleContent: false, 
+      scaleY: false,
+      afterFinishInternal: function(effect) { with(Element) {
+        [hide, undoClipping].call(effect.element); 
+        setStyle(effect.element, oldStyle);
+      }} });
+  }}, arguments[1] || {}));
+}
Index: themes/onlinestore/inc/lbox/prototype.js
===================================================================
--- themes/onlinestore/inc/lbox/prototype.js	(revision 0)
+++ themes/onlinestore/inc/lbox/prototype.js	(revision 0)
@@ -0,0 +1,1785 @@
+/*  Prototype JavaScript framework, version 1.4.0
+ *  (c) 2005 Sam Stephenson <sam@conio.net>
+ *
+ *  THIS FILE IS AUTOMATICALLY GENERATED. When sending patches, please diff
+ *  against the source tree, available from the Prototype darcs repository.
+ *
+ *  Prototype is freely distributable under the terms of an MIT-style license.
+ *
+ *  For details, see the Prototype web site: http://prototype.conio.net/
+ *
+/*--------------------------------------------------------------------------*/
+
+var Prototype = {
+  Version: '1.4.0',
+  ScriptFragment: '(?:<script.*?>)((\n|\r|.)*?)(?:<\/script>)',
+
+  emptyFunction: function() {},
+  K: function(x) {return x}
+}
+
+var Class = {
+  create: function() {
+    return function() {
+      this.initialize.apply(this, arguments);
+    }
+  }
+}
+
+var Abstract = new Object();
+
+Object.extend = function(destination, source) {
+  for (property in source) {
+    destination[property] = source[property];
+  }
+  return destination;
+}
+
+Object.inspect = function(object) {
+  try {
+    if (object == undefined) return 'undefined';
+    if (object == null) return 'null';
+    return object.inspect ? object.inspect() : object.toString();
+  } catch (e) {
+    if (e instanceof RangeError) return '...';
+    throw e;
+  }
+}
+
+Function.prototype.bind = function() {
+  var __method = this, args = $A(arguments), object = args.shift();
+  return function() {
+    return __method.apply(object, args.concat($A(arguments)));
+  }
+}
+
+Function.prototype.bindAsEventListener = function(object) {
+  var __method = this;
+  return function(event) {
+    return __method.call(object, event || window.event);
+  }
+}
+
+Object.extend(Number.prototype, {
+  toColorPart: function() {
+    var digits = this.toString(16);
+    if (this < 16) return '0' + digits;
+    return digits;
+  },
+
+  succ: function() {
+    return this + 1;
+  },
+
+  times: function(iterator) {
+    $R(0, this, true).each(iterator);
+    return this;
+  }
+});
+
+var Try = {
+  these: function() {
+    var returnValue;
+
+    for (var i = 0; i < arguments.length; i++) {
+      var lambda = arguments[i];
+      try {
+        returnValue = lambda();
+        break;
+      } catch (e) {}
+    }
+
+    return returnValue;
+  }
+}
+
+/*--------------------------------------------------------------------------*/
+
+var PeriodicalExecuter = Class.create();
+PeriodicalExecuter.prototype = {
+  initialize: function(callback, frequency) {
+    this.callback = callback;
+    this.frequency = frequency;
+    this.currentlyExecuting = false;
+
+    this.registerCallback();
+  },
+
+  registerCallback: function() {
+    setInterval(this.onTimerEvent.bind(this), this.frequency * 1000);
+  },
+
+  onTimerEvent: function() {
+    if (!this.currentlyExecuting) {
+      try {
+        this.currentlyExecuting = true;
+        this.callback();
+      } finally {
+        this.currentlyExecuting = false;
+      }
+    }
+  }
+}
+
+/*--------------------------------------------------------------------------*/
+
+function $() {
+  var elements = new Array();
+
+  for (var i = 0; i < arguments.length; i++) {
+    var element = arguments[i];
+    if (typeof element == 'string')
+      element = document.getElementById(element);
+
+    if (arguments.length == 1)
+      return element;
+
+    elements.push(element);
+  }
+
+  return elements;
+}
+Object.extend(String.prototype, {
+  stripTags: function() {
+    return this.replace(/<\/?[^>]+>/gi, '');
+  },
+
+  stripScripts: function() {
+    return this.replace(new RegExp(Prototype.ScriptFragment, 'img'), '');
+  },
+
+  extractScripts: function() {
+    var matchAll = new RegExp(Prototype.ScriptFragment, 'img');
+    var matchOne = new RegExp(Prototype.ScriptFragment, 'im');
+    return (this.match(matchAll) || []).map(function(scriptTag) {
+      return (scriptTag.match(matchOne) || ['', ''])[1];
+    });
+  },
+
+  evalScripts: function() {
+    return this.extractScripts().map(eval);
+  },
+
+  escapeHTML: function() {
+    var div = document.createElement('div');
+    var text = document.createTextNode(this);
+    div.appendChild(text);
+    return div.innerHTML;
+  },
+
+  unescapeHTML: function() {
+    var div = document.createElement('div');
+    div.innerHTML = this.stripTags();
+    return div.childNodes[0] ? div.childNodes[0].nodeValue : '';
+  },
+
+  toQueryParams: function() {
+    var pairs = this.match(/^\??(.*)$/)[1].split('&');
+    return pairs.inject({}, function(params, pairString) {
+      var pair = pairString.split('=');
+      params[pair[0]] = pair[1];
+      return params;
+    });
+  },
+
+  toArray: function() {
+    return this.split('');
+  },
+
+  camelize: function() {
+    var oStringList = this.split('-');
+    if (oStringList.length == 1) return oStringList[0];
+
+    var camelizedString = this.indexOf('-') == 0
+      ? oStringList[0].charAt(0).toUpperCase() + oStringList[0].substring(1)
+      : oStringList[0];
+
+    for (var i = 1, len = oStringList.length; i < len; i++) {
+      var s = oStringList[i];
+      camelizedString += s.charAt(0).toUpperCase() + s.substring(1);
+    }
+
+    return camelizedString;
+  },
+
+  inspect: function() {
+    return "'" + this.replace('\\', '\\\\').replace("'", '\\\'') + "'";
+  }
+});
+
+String.prototype.parseQuery = String.prototype.toQueryParams;
+
+var $break    = new Object();
+var $continue = new Object();
+
+var Enumerable = {
+  each: function(iterator) {
+    var index = 0;
+    try {
+      this._each(function(value) {
+        try {
+          iterator(value, index++);
+        } catch (e) {
+          if (e != $continue) throw e;
+        }
+      });
+    } catch (e) {
+      if (e != $break) throw e;
+    }
+  },
+
+  all: function(iterator) {
+    var result = true;
+    this.each(function(value, index) {
+      result = result && !!(iterator || Prototype.K)(value, index);
+      if (!result) throw $break;
+    });
+    return result;
+  },
+
+  any: function(iterator) {
+    var result = true;
+    this.each(function(value, index) {
+      if (result = !!(iterator || Prototype.K)(value, index))
+        throw $break;
+    });
+    return result;
+  },
+
+  collect: function(iterator) {
+    var results = [];
+    this.each(function(value, index) {
+      results.push(iterator(value, index));
+    });
+    return results;
+  },
+
+  detect: function (iterator) {
+    var result;
+    this.each(function(value, index) {
+      if (iterator(value, index)) {
+        result = value;
+        throw $break;
+      }
+    });
+    return result;
+  },
+
+  findAll: function(iterator) {
+    var results = [];
+    this.each(function(value, index) {
+      if (iterator(value, index))
+        results.push(value);
+    });
+    return results;
+  },
+
+  grep: function(pattern, iterator) {
+    var results = [];
+    this.each(function(value, index) {
+      var stringValue = value.toString();
+      if (stringValue.match(pattern))
+        results.push((iterator || Prototype.K)(value, index));
+    })
+    return results;
+  },
+
+  include: function(object) {
+    var found = false;
+    this.each(function(value) {
+      if (value == object) {
+        found = true;
+        throw $break;
+      }
+    });
+    return found;
+  },
+
+  inject: function(memo, iterator) {
+    this.each(function(value, index) {
+      memo = iterator(memo, value, index);
+    });
+    return memo;
+  },
+
+  invoke: function(method) {
+    var args = $A(arguments).slice(1);
+    return this.collect(function(value) {
+      return value[method].apply(value, args);
+    });
+  },
+
+  max: function(iterator) {
+    var result;
+    this.each(function(value, index) {
+      value = (iterator || Prototype.K)(value, index);
+      if (value >= (result || value))
+        result = value;
+    });
+    return result;
+  },
+
+  min: function(iterator) {
+    var result;
+    this.each(function(value, index) {
+      value = (iterator || Prototype.K)(value, index);
+      if (value <= (result || value))
+        result = value;
+    });
+    return result;
+  },
+
+  partition: function(iterator) {
+    var trues = [], falses = [];
+    this.each(function(value, index) {
+      ((iterator || Prototype.K)(value, index) ?
+        trues : falses).push(value);
+    });
+    return [trues, falses];
+  },
+
+  pluck: function(property) {
+    var results = [];
+    this.each(function(value, index) {
+      results.push(value[property]);
+    });
+    return results;
+  },
+
+  reject: function(iterator) {
+    var results = [];
+    this.each(function(value, index) {
+      if (!iterator(value, index))
+        results.push(value);
+    });
+    return results;
+  },
+
+  sortBy: function(iterator) {
+    return this.collect(function(value, index) {
+      return {value: value, criteria: iterator(value, index)};
+    }).sort(function(left, right) {
+      var a = left.criteria, b = right.criteria;
+      return a < b ? -1 : a > b ? 1 : 0;
+    }).pluck('value');
+  },
+
+  toArray: function() {
+    return this.collect(Prototype.K);
+  },
+
+  zip: function() {
+    var iterator = Prototype.K, args = $A(arguments);
+    if (typeof args.last() == 'function')
+      iterator = args.pop();
+
+    var collections = [this].concat(args).map($A);
+    return this.map(function(value, index) {
+      iterator(value = collections.pluck(index));
+      return value;
+    });
+  },
+
+  inspect: function() {
+    return '#<Enumerable:' + this.toArray().inspect() + '>';
+  }
+}
+
+Object.extend(Enumerable, {
+  map:     Enumerable.collect,
+  find:    Enumerable.detect,
+  select:  Enumerable.findAll,
+  member:  Enumerable.include,
+  entries: Enumerable.toArray
+});
+var $A = Array.from = function(iterable) {
+  if (!iterable) return [];
+  if (iterable.toArray) {
+    return iterable.toArray();
+  } else {
+    var results = [];
+    for (var i = 0; i < iterable.length; i++)
+      results.push(iterable[i]);
+    return results;
+  }
+}
+
+Object.extend(Array.prototype, Enumerable);
+
+Array.prototype._reverse = Array.prototype.reverse;
+
+Object.extend(Array.prototype, {
+  _each: function(iterator) {
+    for (var i = 0; i < this.length; i++)
+      iterator(this[i]);
+  },
+
+  clear: function() {
+    this.length = 0;
+    return this;
+  },
+
+  first: function() {
+    return this[0];
+  },
+
+  last: function() {
+    return this[this.length - 1];
+  },
+
+  compact: function() {
+    return this.select(function(value) {
+      return value != undefined || value != null;
+    });
+  },
+
+  flatten: function() {
+    return this.inject([], function(array, value) {
+      return array.concat(value.constructor == Array ?
+        value.flatten() : [value]);
+    });
+  },
+
+  without: function() {
+    var values = $A(arguments);
+    return this.select(function(value) {
+      return !values.include(value);
+    });
+  },
+
+  indexOf: function(object) {
+    for (var i = 0; i < this.length; i++)
+      if (this[i] == object) return i;
+    return -1;
+  },
+
+  reverse: function(inline) {
+    return (inline !== false ? this : this.toArray())._reverse();
+  },
+
+  shift: function() {
+    var result = this[0];
+    for (var i = 0; i < this.length - 1; i++)
+      this[i] = this[i + 1];
+    this.length--;
+    return result;
+  },
+
+  inspect: function() {
+    return '[' + this.map(Object.inspect).join(', ') + ']';
+  }
+});
+var Hash = {
+  _each: function(iterator) {
+    for (key in this) {
+      var value = this[key];
+      if (typeof value == 'function') continue;
+
+      var pair = [key, value];
+      pair.key = key;
+      pair.value = value;
+      iterator(pair);
+    }
+  },
+
+  keys: function() {
+    return this.pluck('key');
+  },
+
+  values: function() {
+    return this.pluck('value');
+  },
+
+  merge: function(hash) {
+    return $H(hash).inject($H(this), function(mergedHash, pair) {
+      mergedHash[pair.key] = pair.value;
+      return mergedHash;
+    });
+  },
+
+  toQueryString: function() {
+    return this.map(function(pair) {
+      return pair.map(encodeURIComponent).join('=');
+    }).join('&');
+  },
+
+  inspect: function() {
+    return '#<Hash:{' + this.map(function(pair) {
+      return pair.map(Object.inspect).join(': ');
+    }).join(', ') + '}>';
+  }
+}
+
+function $H(object) {
+  var hash = Object.extend({}, object || {});
+  Object.extend(hash, Enumerable);
+  Object.extend(hash, Hash);
+  return hash;
+}
+ObjectRange = Class.create();
+Object.extend(ObjectRange.prototype, Enumerable);
+Object.extend(ObjectRange.prototype, {
+  initialize: function(start, end, exclusive) {
+    this.start = start;
+    this.end = end;
+    this.exclusive = exclusive;
+  },
+
+  _each: function(iterator) {
+    var value = this.start;
+    do {
+      iterator(value);
+      value = value.succ();
+    } while (this.include(value));
+  },
+
+  include: function(value) {
+    if (value < this.start)
+      return false;
+    if (this.exclusive)
+      return value < this.end;
+    return value <= this.end;
+  }
+});
+
+var $R = function(start, end, exclusive) {
+  return new ObjectRange(start, end, exclusive);
+}
+
+var Ajax = {
+  getTransport: function() {
+    return Try.these(
+      function() {return new ActiveXObject('Msxml2.XMLHTTP')},
+      function() {return new ActiveXObject('Microsoft.XMLHTTP')},
+      function() {return new XMLHttpRequest()}
+    ) || false;
+  },
+
+  activeRequestCount: 0
+}
+
+Ajax.Responders = {
+  responders: [],
+
+  _each: function(iterator) {
+    this.responders._each(iterator);
+  },
+
+  register: function(responderToAdd) {
+    if (!this.include(responderToAdd))
+      this.responders.push(responderToAdd);
+  },
+
+  unregister: function(responderToRemove) {
+    this.responders = this.responders.without(responderToRemove);
+  },
+
+  dispatch: function(callback, request, transport, json) {
+    this.each(function(responder) {
+      if (responder[callback] && typeof responder[callback] == 'function') {
+        try {
+          responder[callback].apply(responder, [request, transport, json]);
+        } catch (e) {}
+      }
+    });
+  }
+};
+
+Object.extend(Ajax.Responders, Enumerable);
+
+Ajax.Responders.register({
+  onCreate: function() {
+    Ajax.activeRequestCount++;
+  },
+
+  onComplete: function() {
+    Ajax.activeRequestCount--;
+  }
+});
+
+Ajax.Base = function() {};
+Ajax.Base.prototype = {
+  setOptions: function(options) {
+    this.options = {
+      method:       'post',
+      asynchronous: true,
+      parameters:   ''
+    }
+    Object.extend(this.options, options || {});
+  },
+
+  responseIsSuccess: function() {
+    return this.transport.status == undefined
+        || this.transport.status == 0
+        || (this.transport.status >= 200 && this.transport.status < 300);
+  },
+
+  responseIsFailure: function() {
+    return !this.responseIsSuccess();
+  }
+}
+
+Ajax.Request = Class.create();
+Ajax.Request.Events =
+  ['Uninitialized', 'Loading', 'Loaded', 'Interactive', 'Complete'];
+
+Ajax.Request.prototype = Object.extend(new Ajax.Base(), {
+  initialize: function(url, options) {
+    this.transport = Ajax.getTransport();
+    this.setOptions(options);
+    this.request(url);
+  },
+
+  request: function(url) {
+    var parameters = this.options.parameters || '';
+    if (parameters.length > 0) parameters += '&_=';
+
+    try {
+      this.url = url;
+      if (this.options.method == 'get' && parameters.length > 0)
+        this.url += (this.url.match(/\?/) ? '&' : '?') + parameters;
+
+      Ajax.Responders.dispatch('onCreate', this, this.transport);
+
+      this.transport.open(this.options.method, this.url,
+        this.options.asynchronous);
+
+      if (this.options.asynchronous) {
+        this.transport.onreadystatechange = this.onStateChange.bind(this);
+        setTimeout((function() {this.respondToReadyState(1)}).bind(this), 10);
+      }
+
+      this.setRequestHeaders();
+
+      var body = this.options.postBody ? this.options.postBody : parameters;
+      this.transport.send(this.options.method == 'post' ? body : null);
+
+    } catch (e) {
+      this.dispatchException(e);
+    }
+  },
+
+  setRequestHeaders: function() {
+    var requestHeaders =
+      ['X-Requested-With', 'XMLHttpRequest',
+       'X-Prototype-Version', Prototype.Version];
+
+    if (this.options.method == 'post') {
+      requestHeaders.push('Content-type',
+        'application/x-www-form-urlencoded');
+
+      /* Force "Connection: close" for Mozilla browsers to work around
+       * a bug where XMLHttpReqeuest sends an incorrect Content-length
+       * header. See Mozilla Bugzilla #246651.
+       */
+      if (this.transport.overrideMimeType)
+        requestHeaders.push('Connection', 'close');
+    }
+
+    if (this.options.requestHeaders)
+      requestHeaders.push.apply(requestHeaders, this.options.requestHeaders);
+
+    for (var i = 0; i < requestHeaders.length; i += 2)
+      this.transport.setRequestHeader(requestHeaders[i], requestHeaders[i+1]);
+  },
+
+  onStateChange: function() {
+    var readyState = this.transport.readyState;
+    if (readyState != 1)
+      this.respondToReadyState(this.transport.readyState);
+  },
+
+  header: function(name) {
+    try {
+      return this.transport.getResponseHeader(name);
+    } catch (e) {}
+  },
+
+  evalJSON: function() {
+    try {
+      return eval(this.header('X-JSON'));
+    } catch (e) {}
+  },
+
+  evalResponse: function() {
+    try {
+      return eval(this.transport.responseText);
+    } catch (e) {
+      this.dispatchException(e);
+    }
+  },
+
+  respondToReadyState: function(readyState) {
+    var event = Ajax.Request.Events[readyState];
+    var transport = this.transport, json = this.evalJSON();
+
+    if (event == 'Complete') {
+      try {
+        (this.options['on' + this.transport.status]
+         || this.options['on' + (this.responseIsSuccess() ? 'Success' : 'Failure')]
+         || Prototype.emptyFunction)(transport, json);
+      } catch (e) {
+        this.dispatchException(e);
+      }
+
+      if ((this.header('Content-type') || '').match(/^text\/javascript/i))
+        this.evalResponse();
+    }
+
+    try {
+      (this.options['on' + event] || Prototype.emptyFunction)(transport, json);
+      Ajax.Responders.dispatch('on' + event, this, transport, json);
+    } catch (e) {
+      this.dispatchException(e);
+    }
+
+    /* Avoid memory leak in MSIE: clean up the oncomplete event handler */
+    if (event == 'Complete')
+      this.transport.onreadystatechange = Prototype.emptyFunction;
+  },
+
+  dispatchException: function(exception) {
+    (this.options.onException || Prototype.emptyFunction)(this, exception);
+    Ajax.Responders.dispatch('onException', this, exception);
+  }
+});
+
+Ajax.Updater = Class.create();
+
+Object.extend(Object.extend(Ajax.Updater.prototype, Ajax.Request.prototype), {
+  initialize: function(container, url, options) {
+    this.containers = {
+      success: container.success ? $(container.success) : $(container),
+      failure: container.failure ? $(container.failure) :
+        (container.success ? null : $(container))
+    }
+
+    this.transport = Ajax.getTransport();
+    this.setOptions(options);
+
+    var onComplete = this.options.onComplete || Prototype.emptyFunction;
+    this.options.onComplete = (function(transport, object) {
+      this.updateContent();
+      onComplete(transport, object);
+    }).bind(this);
+
+    this.request(url);
+  },
+
+  updateContent: function() {
+    var receiver = this.responseIsSuccess() ?
+      this.containers.success : this.containers.failure;
+    var response = this.transport.responseText;
+
+    if (!this.options.evalScripts)
+      response = response.stripScripts();
+
+    if (receiver) {
+      if (this.options.insertion) {
+        new this.options.insertion(receiver, response);
+      } else {
+        Element.update(receiver, response);
+      }
+    }
+
+    if (this.responseIsSuccess()) {
+      if (this.onComplete)
+        setTimeout(this.onComplete.bind(this), 10);
+    }
+  }
+});
+
+Ajax.PeriodicalUpdater = Class.create();
+Ajax.PeriodicalUpdater.prototype = Object.extend(new Ajax.Base(), {
+  initialize: function(container, url, options) {
+    this.setOptions(options);
+    this.onComplete = this.options.onComplete;
+
+    this.frequency = (this.options.frequency || 2);
+    this.decay = (this.options.decay || 1);
+
+    this.updater = {};
+    this.container = container;
+    this.url = url;
+
+    this.start();
+  },
+
+  start: function() {
+    this.options.onComplete = this.updateComplete.bind(this);
+    this.onTimerEvent();
+  },
+
+  stop: function() {
+    this.updater.onComplete = undefined;
+    clearTimeout(this.timer);
+    (this.onComplete || Prototype.emptyFunction).apply(this, arguments);
+  },
+
+  updateComplete: function(request) {
+    if (this.options.decay) {
+      this.decay = (request.responseText == this.lastText ?
+        this.decay * this.options.decay : 1);
+
+      this.lastText = request.responseText;
+    }
+    this.timer = setTimeout(this.onTimerEvent.bind(this),
+      this.decay * this.frequency * 1000);
+  },
+
+  onTimerEvent: function() {
+    this.updater = new Ajax.Updater(this.container, this.url, this.options);
+  }
+});
+document.getElementsByClassName = function(className, parentElement) {
+  var children = ($(parentElement) || document.body).getElementsByTagName('*');
+  return $A(children).inject([], function(elements, child) {
+    if (child.className.match(new RegExp("(^|\\s)" + className + "(\\s|$)")))
+      elements.push(child);
+    return elements;
+  });
+}
+
+/*--------------------------------------------------------------------------*/
+
+if (!window.Element) {
+  var Element = new Object();
+}
+
+Object.extend(Element, {
+  visible: function(element) {
+    return $(element).style.display != 'none';
+  },
+
+  toggle: function() {
+    for (var i = 0; i < arguments.length; i++) {
+      var element = $(arguments[i]);
+      Element[Element.visible(element) ? 'hide' : 'show'](element);
+    }
+  },
+
+  hide: function() {
+    for (var i = 0; i < arguments.length; i++) {
+      var element = $(arguments[i]);
+      element.style.display = 'none';
+    }
+  },
+
+  show: function() {
+    for (var i = 0; i < arguments.length; i++) {
+      var element = $(arguments[i]);
+      element.style.display = '';
+    }
+  },
+
+  remove: function(element) {
+    element = $(element);
+    element.parentNode.removeChild(element);
+  },
+
+  update: function(element, html) {
+    $(element).innerHTML = html.stripScripts();
+    setTimeout(function() {html.evalScripts()}, 10);
+  },
+
+  getHeight: function(element) {
+    element = $(element);
+    return element.offsetHeight;
+  },
+
+  classNames: function(element) {
+    return new Element.ClassNames(element);
+  },
+
+  hasClassName: function(element, className) {
+    if (!(element = $(element))) return;
+    return Element.classNames(element).include(className);
+  },
+
+  addClassName: function(element, className) {
+    if (!(element = $(element))) return;
+    return Element.classNames(element).add(className);
+  },
+
+  removeClassName: function(element, className) {
+    if (!(element = $(element))) return;
+    return Element.classNames(element).remove(className);
+  },
+
+  // removes whitespace-only text node children
+  cleanWhitespace: function(element) {
+    element = $(element);
+    for (var i = 0; i < element.childNodes.length; i++) {
+      var node = element.childNodes[i];
+      if (node.nodeType == 3 && !/\S/.test(node.nodeValue))
+        Element.remove(node);
+    }
+  },
+
+  empty: function(element) {
+    return $(element).innerHTML.match(/^\s*$/);
+  },
+
+  scrollTo: function(element) {
+    element = $(element);
+    var x = element.x ? element.x : element.offsetLeft,
+        y = element.y ? element.y : element.offsetTop;
+    window.scrollTo(x, y);
+  },
+
+  getStyle: function(element, style) {
+    element = $(element);
+    var value = element.style[style.camelize()];
+    if (!value) {
+      if (document.defaultView && document.defaultView.getComputedStyle) {
+        var css = document.defaultView.getComputedStyle(element, null);
+        value = css ? css.getPropertyValue(style) : null;
+      } else if (element.currentStyle) {
+        value = element.currentStyle[style.camelize()];
+      }
+    }
+
+    if (window.opera && ['left', 'top', 'right', 'bottom'].include(style))
+      if (Element.getStyle(element, 'position') == 'static') value = 'auto';
+
+    return value == 'auto' ? null : value;
+  },
+
+  setStyle: function(element, style) {
+    element = $(element);
+    for (name in style)
+      element.style[name.camelize()] = style[name];
+  },
+
+  getDimensions: function(element) {
+    element = $(element);
+    if (Element.getStyle(element, 'display') != 'none')
+      return {width: element.offsetWidth, height: element.offsetHeight};
+
+    // All *Width and *Height properties give 0 on elements with display none,
+    // so enable the element temporarily
+    var els = element.style;
+    var originalVisibility = els.visibility;
+    var originalPosition = els.position;
+    els.visibility = 'hidden';
+    els.position = 'absolute';
+    els.display = '';
+    var originalWidth = element.clientWidth;
+    var originalHeight = element.clientHeight;
+    els.display = 'none';
+    els.position = originalPosition;
+    els.visibility = originalVisibility;
+    return {width: originalWidth, height: originalHeight};
+  },
+
+  makePositioned: function(element) {
+    element = $(element);
+    var pos = Element.getStyle(element, 'position');
+    if (pos == 'static' || !pos) {
+      element._madePositioned = true;
+      element.style.position = 'relative';
+      // Opera returns the offset relative to the positioning context, when an
+      // element is position relative but top and left have not been defined
+      if (window.opera) {
+        element.style.top = 0;
+        element.style.left = 0;
+      }
+    }
+  },
+
+  undoPositioned: function(element) {
+    element = $(element);
+    if (element._madePositioned) {
+      element._madePositioned = undefined;
+      element.style.position =
+        element.style.top =
+        element.style.left =
+        element.style.bottom =
+        element.style.right = '';
+    }
+  },
+
+  makeClipping: function(element) {
+    element = $(element);
+    if (element._overflow) return;
+    element._overflow = element.style.overflow;
+    if ((Element.getStyle(element, 'overflow') || 'visible') != 'hidden')
+      element.style.overflow = 'hidden';
+  },
+
+  undoClipping: function(element) {
+    element = $(element);
+    if (element._overflow) return;
+    element.style.overflow = element._overflow;
+    element._overflow = undefined;
+  }
+});
+
+var Toggle = new Object();
+Toggle.display = Element.toggle;
+
+/*--------------------------------------------------------------------------*/
+
+Abstract.Insertion = function(adjacency) {
+  this.adjacency = adjacency;
+}
+
+Abstract.Insertion.prototype = {
+  initialize: function(element, content) {
+    this.element = $(element);
+    this.content = content.stripScripts();
+
+    if (this.adjacency && this.element.insertAdjacentHTML) {
+      try {
+        this.element.insertAdjacentHTML(this.adjacency, this.content);
+      } catch (e) {
+        if (this.element.tagName.toLowerCase() == 'tbody') {
+          this.insertContent(this.contentFromAnonymousTable());
+        } else {
+          throw e;
+        }
+      }
+    } else {
+      this.range = this.element.ownerDocument.createRange();
+      if (this.initializeRange) this.initializeRange();
+      this.insertContent([this.range.createContextualFragment(this.content)]);
+    }
+
+    setTimeout(function() {content.evalScripts()}, 10);
+  },
+
+  contentFromAnonymousTable: function() {
+    var div = document.createElement('div');
+    div.innerHTML = '<table><tbody>' + this.content + '</tbody></table>';
+    return $A(div.childNodes[0].childNodes[0].childNodes);
+  }
+}
+
+var Insertion = new Object();
+
+Insertion.Before = Class.create();
+Insertion.Before.prototype = Object.extend(new Abstract.Insertion('beforeBegin'), {
+  initializeRange: function() {
+    this.range.setStartBefore(this.element);
+  },
+
+  insertContent: function(fragments) {
+    fragments.each((function(fragment) {
+      this.element.parentNode.insertBefore(fragment, this.element);
+    }).bind(this));
+  }
+});
+
+Insertion.Top = Class.create();
+Insertion.Top.prototype = Object.extend(new Abstract.Insertion('afterBegin'), {
+  initializeRange: function() {
+    this.range.selectNodeContents(this.element);
+    this.range.collapse(true);
+  },
+
+  insertContent: function(fragments) {
+    fragments.reverse(false).each((function(fragment) {
+      this.element.insertBefore(fragment, this.element.firstChild);
+    }).bind(this));
+  }
+});
+
+Insertion.Bottom = Class.create();
+Insertion.Bottom.prototype = Object.extend(new Abstract.Insertion('beforeEnd'), {
+  initializeRange: function() {
+    this.range.selectNodeContents(this.element);
+    this.range.collapse(this.element);
+  },
+
+  insertContent: function(fragments) {
+    fragments.each((function(fragment) {
+      this.element.appendChild(fragment);
+    }).bind(this));
+  }
+});
+
+Insertion.After = Class.create();
+Insertion.After.prototype = Object.extend(new Abstract.Insertion('afterEnd'), {
+  initializeRange: function() {
+    this.range.setStartAfter(this.element);
+  },
+
+  insertContent: function(fragments) {
+    fragments.each((function(fragment) {
+      this.element.parentNode.insertBefore(fragment,
+        this.element.nextSibling);
+    }).bind(this));
+  }
+});
+
+/*--------------------------------------------------------------------------*/
+
+Element.ClassNames = Class.create();
+Element.ClassNames.prototype = {
+  initialize: function(element) {
+    this.element = $(element);
+  },
+
+  _each: function(iterator) {
+    this.element.className.split(/\s+/).select(function(name) {
+      return name.length > 0;
+    })._each(iterator);
+  },
+
+  set: function(className) {
+    this.element.className = className;
+  },
+
+  add: function(classNameToAdd) {
+    if (this.include(classNameToAdd)) return;
+    this.set(this.toArray().concat(classNameToAdd).join(' '));
+  },
+
+  remove: function(classNameToRemove) {
+    if (!this.include(classNameToRemove)) return;
+    this.set(this.select(function(className) {
+      return className != classNameToRemove;
+    }).join(' '));
+  },
+
+  toString: function() {
+    return this.toArray().join(' ');
+  }
+}
+
+Object.extend(Element.ClassNames.prototype, Enumerable);
+var Field = {
+  clear: function() {
+    for (var i = 0; i < arguments.length; i++)
+      $(arguments[i]).value = '';
+  },
+
+  focus: function(element) {
+    $(element).focus();
+  },
+
+  present: function() {
+    for (var i = 0; i < arguments.length; i++)
+      if ($(arguments[i]).value == '') return false;
+    return true;
+  },
+
+  select: function(element) {
+    $(element).select();
+  },
+
+  activate: function(element) {
+    element = $(element);
+    element.focus();
+    if (element.select)
+      element.select();
+  }
+}
+
+/*--------------------------------------------------------------------------*/
+
+var Form = {
+  serialize: function(form) {
+    var elements = Form.getElements($(form));
+    var queryComponents = new Array();
+
+    for (var i = 0; i < elements.length; i++) {
+      var queryComponent = Form.Element.serialize(elements[i]);
+      if (queryComponent)
+        queryComponents.push(queryComponent);
+    }
+
+    return queryComponents.join('&');
+  },
+
+  getElements: function(form) {
+    form = $(form);
+    var elements = new Array();
+
+    for (tagName in Form.Element.Serializers) {
+      var tagElements = form.getElementsByTagName(tagName);
+      for (var j = 0; j < tagElements.length; j++)
+        elements.push(tagElements[j]);
+    }
+    return elements;
+  },
+
+  getInputs: function(form, typeName, name) {
+    form = $(form);
+    var inputs = form.getElementsByTagName('input');
+
+    if (!typeName && !name)
+      return inputs;
+
+    var matchingInputs = new Array();
+    for (var i = 0; i < inputs.length; i++) {
+      var input = inputs[i];
+      if ((typeName && input.type != typeName) ||
+          (name && input.name != name))
+        continue;
+      matchingInputs.push(input);
+    }
+
+    return matchingInputs;
+  },
+
+  disable: function(form) {
+    var elements = Form.getElements(form);
+    for (var i = 0; i < elements.length; i++) {
+      var element = elements[i];
+      element.blur();
+      element.disabled = 'true';
+    }
+  },
+
+  enable: function(form) {
+    var elements = Form.getElements(form);
+    for (var i = 0; i < elements.length; i++) {
+      var element = elements[i];
+      element.disabled = '';
+    }
+  },
+
+  findFirstElement: function(form) {
+    return Form.getElements(form).find(function(element) {
+      return element.type != 'hidden' && !element.disabled &&
+        ['input', 'select', 'textarea'].include(element.tagName.toLowerCase());
+    });
+  },
+
+  focusFirstElement: function(form) {
+    Field.activate(Form.findFirstElement(form));
+  },
+
+  reset: function(form) {
+    $(form).reset();
+  }
+}
+
+Form.Element = {
+  serialize: function(element) {
+    element = $(element);
+    var method = element.tagName.toLowerCase();
+    var parameter = Form.Element.Serializers[method](element);
+
+    if (parameter) {
+      var key = encodeURIComponent(parameter[0]);
+      if (key.length == 0) return;
+
+      if (parameter[1].constructor != Array)
+        parameter[1] = [parameter[1]];
+
+      return parameter[1].map(function(value) {
+        return key + '=' + encodeURIComponent(value);
+      }).join('&');
+    }
+  },
+
+  getValue: function(element) {
+    element = $(element);
+    var method = element.tagName.toLowerCase();
+    var parameter = Form.Element.Serializers[method](element);
+
+    if (parameter)
+      return parameter[1];
+  }
+}
+
+Form.Element.Serializers = {
+  input: function(element) {
+    switch (element.type.toLowerCase()) {
+      case 'submit':
+      case 'hidden':
+      case 'password':
+      case 'text':
+        return Form.Element.Serializers.textarea(element);
+      case 'checkbox':
+      case 'radio':
+        return Form.Element.Serializers.inputSelector(element);
+    }
+    return false;
+  },
+
+  inputSelector: function(element) {
+    if (element.checked)
+      return [element.name, element.value];
+  },
+
+  textarea: function(element) {
+    return [element.name, element.value];
+  },
+
+  select: function(element) {
+    return Form.Element.Serializers[element.type == 'select-one' ?
+      'selectOne' : 'selectMany'](element);
+  },
+
+  selectOne: function(element) {
+    var value = '', opt, index = element.selectedIndex;
+    if (index >= 0) {
+      opt = element.options[index];
+      value = opt.value;
+      if (!value && !('value' in opt))
+        value = opt.text;
+    }
+    return [element.name, value];
+  },
+
+  selectMany: function(element) {
+    var value = new Array();
+    for (var i = 0; i < element.length; i++) {
+      var opt = element.options[i];
+      if (opt.selected) {
+        var optValue = opt.value;
+        if (!optValue && !('value' in opt))
+          optValue = opt.text;
+        value.push(optValue);
+      }
+    }
+    return [element.name, value];
+  }
+}
+
+/*--------------------------------------------------------------------------*/
+
+var $F = Form.Element.getValue;
+
+/*--------------------------------------------------------------------------*/
+
+Abstract.TimedObserver = function() {}
+Abstract.TimedObserver.prototype = {
+  initialize: function(element, frequency, callback) {
+    this.frequency = frequency;
+    this.element   = $(element);
+    this.callback  = callback;
+
+    this.lastValue = this.getValue();
+    this.registerCallback();
+  },
+
+  registerCallback: function() {
+    setInterval(this.onTimerEvent.bind(this), this.frequency * 1000);
+  },
+
+  onTimerEvent: function() {
+    var value = this.getValue();
+    if (this.lastValue != value) {
+      this.callback(this.element, value);
+      this.lastValue = value;
+    }
+  }
+}
+
+Form.Element.Observer = Class.create();
+Form.Element.Observer.prototype = Object.extend(new Abstract.TimedObserver(), {
+  getValue: function() {
+    return Form.Element.getValue(this.element);
+  }
+});
+
+Form.Observer = Class.create();
+Form.Observer.prototype = Object.extend(new Abstract.TimedObserver(), {
+  getValue: function() {
+    return Form.serialize(this.element);
+  }
+});
+
+/*--------------------------------------------------------------------------*/
+
+Abstract.EventObserver = function() {}
+Abstract.EventObserver.prototype = {
+  initialize: function(element, callback) {
+    this.element  = $(element);
+    this.callback = callback;
+
+    this.lastValue = this.getValue();
+    if (this.element.tagName.toLowerCase() == 'form')
+      this.registerFormCallbacks();
+    else
+      this.registerCallback(this.element);
+  },
+
+  onElementEvent: function() {
+    var value = this.getValue();
+    if (this.lastValue != value) {
+      this.callback(this.element, value);
+      this.lastValue = value;
+    }
+  },
+
+  registerFormCallbacks: function() {
+    var elements = Form.getElements(this.element);
+    for (var i = 0; i < elements.length; i++)
+      this.registerCallback(elements[i]);
+  },
+
+  registerCallback: function(element) {
+    if (element.type) {
+      switch (element.type.toLowerCase()) {
+        case 'checkbox':
+        case 'radio':
+          Event.observe(element, 'click', this.onElementEvent.bind(this));
+          break;
+        case 'password':
+        case 'text':
+        case 'textarea':
+        case 'select-one':
+        case 'select-multiple':
+          Event.observe(element, 'change', this.onElementEvent.bind(this));
+          break;
+      }
+    }
+  }
+}
+
+Form.Element.EventObserver = Class.create();
+Form.Element.EventObserver.prototype = Object.extend(new Abstract.EventObserver(), {
+  getValue: function() {
+    return Form.Element.getValue(this.element);
+  }
+});
+
+Form.EventObserver = Class.create();
+Form.EventObserver.prototype = Object.extend(new Abstract.EventObserver(), {
+  getValue: function() {
+    return Form.serialize(this.element);
+  }
+});
+if (!window.Event) {
+  var Event = new Object();
+}
+
+Object.extend(Event, {
+  KEY_BACKSPACE: 8,
+  KEY_TAB:       9,
+  KEY_RETURN:   13,
+  KEY_ESC:      27,
+  KEY_LEFT:     37,
+  KEY_UP:       38,
+  KEY_RIGHT:    39,
+  KEY_DOWN:     40,
+  KEY_DELETE:   46,
+
+  element: function(event) {
+    return event.target || event.srcElement;
+  },
+
+  isLeftClick: function(event) {
+    return (((event.which) && (event.which == 1)) ||
+            ((event.button) && (event.button == 1)));
+  },
+
+  pointerX: function(event) {
+    return event.pageX || (event.clientX +
+      (document.documentElement.scrollLeft || document.body.scrollLeft));
+  },
+
+  pointerY: function(event) {
+    return event.pageY || (event.clientY +
+      (document.documentElement.scrollTop || document.body.scrollTop));
+  },
+
+  stop: function(event) {
+    if (event.preventDefault) {
+      event.preventDefault();
+      event.stopPropagation();
+    } else {
+      event.returnValue = false;
+      event.cancelBubble = true;
+    }
+  },
+
+  // find the first node with the given tagName, starting from the
+  // node the event was triggered on; traverses the DOM upwards
+  findElement: function(event, tagName) {
+    var element = Event.element(event);
+    while (element.parentNode && (!element.tagName ||
+        (element.tagName.toUpperCase() != tagName.toUpperCase())))
+      element = element.parentNode;
+    return element;
+  },
+
+  observers: false,
+
+  _observeAndCache: function(element, name, observer, useCapture) {
+    if (!this.observers) this.observers = [];
+    if (element.addEventListener) {
+      this.observers.push([element, name, observer, useCapture]);
+      element.addEventListener(name, observer, useCapture);
+    } else if (element.attachEvent) {
+      this.observers.push([element, name, observer, useCapture]);
+      element.attachEvent('on' + name, observer);
+    }
+  },
+
+  unloadCache: function() {
+    if (!Event.observers) return;
+    for (var i = 0; i < Event.observers.length; i++) {
+      Event.stopObserving.apply(this, Event.observers[i]);
+      Event.observers[i][0] = null;
+    }
+    Event.observers = false;
+  },
+
+  observe: function(element, name, observer, useCapture) {
+    var element = $(element);
+    useCapture = useCapture || false;
+
+    if (name == 'keypress' &&
+        (navigator.appVersion.match(/Konqueror|Safari|KHTML/)
+        || element.attachEvent))
+      name = 'keydown';
+
+    this._observeAndCache(element, name, observer, useCapture);
+  },
+
+  stopObserving: function(element, name, observer, useCapture) {
+    var element = $(element);
+    useCapture = useCapture || false;
+
+    if (name == 'keypress' &&
+        (navigator.appVersion.match(/Konqueror|Safari|KHTML/)
+        || element.detachEvent))
+      name = 'keydown';
+
+    if (element.removeEventListener) {
+      element.removeEventListener(name, observer, useCapture);
+    } else if (element.detachEvent) {
+      element.detachEvent('on' + name, observer);
+    }
+  }
+});
+
+/* prevent memory leaks in IE */
+Event.observe(window, 'unload', Event.unloadCache, false);
+var Position = {
+  // set to true if needed, warning: firefox performance problems
+  // NOT neeeded for page scrolling, only if draggable contained in
+  // scrollable elements
+  includeScrollOffsets: false,
+
+  // must be called before calling withinIncludingScrolloffset, every time the
+  // page is scrolled
+  prepare: function() {
+    this.deltaX =  window.pageXOffset
+                || document.documentElement.scrollLeft
+                || document.body.scrollLeft
+                || 0;
+    this.deltaY =  window.pageYOffset
+                || document.documentElement.scrollTop
+                || document.body.scrollTop
+                || 0;
+  },
+
+  realOffset: function(element) {
+    var valueT = 0, valueL = 0;
+    do {
+      valueT += element.scrollTop  || 0;
+      valueL += element.scrollLeft || 0;
+      element = element.parentNode;
+    } while (element);
+    return [valueL, valueT];
+  },
+
+  cumulativeOffset: function(element) {
+    var valueT = 0, valueL = 0;
+    do {
+      valueT += element.offsetTop  || 0;
+      valueL += element.offsetLeft || 0;
+      element = element.offsetParent;
+    } while (element);
+    return [valueL, valueT];
+  },
+
+  positionedOffset: function(element) {
+    var valueT = 0, valueL = 0;
+    do {
+      valueT += element.offsetTop  || 0;
+      valueL += element.offsetLeft || 0;
+      element = element.offsetParent;
+      if (element) {
+        p = Element.getStyle(element, 'position');
+        if (p == 'relative' || p == 'absolute') break;
+      }
+    } while (element);
+    return [valueL, valueT];
+  },
+
+  offsetParent: function(element) {
+    if (element.offsetParent) return element.offsetParent;
+    if (element == document.body) return element;
+
+    while ((element = element.parentNode) && element != document.body)
+      if (Element.getStyle(element, 'position') != 'static')
+        return element;
+
+    return document.body;
+  },
+
+  // caches x/y coordinate pair to use with overlap
+  within: function(element, x, y) {
+    if (this.includeScrollOffsets)
+      return this.withinIncludingScrolloffsets(element, x, y);
+    this.xcomp = x;
+    this.ycomp = y;
+    this.offset = this.cumulativeOffset(element);
+
+    return (y >= this.offset[1] &&
+            y <  this.offset[1] + element.offsetHeight &&
+            x >= this.offset[0] &&
+            x <  this.offset[0] + element.offsetWidth);
+  },
+
+  withinIncludingScrolloffsets: function(element, x, y) {
+    var offsetcache = this.realOffset(element);
+
+    this.xcomp = x + offsetcache[0] - this.deltaX;
+    this.ycomp = y + offsetcache[1] - this.deltaY;
+    this.offset = this.cumulativeOffset(element);
+
+    return (this.ycomp >= this.offset[1] &&
+            this.ycomp <  this.offset[1] + element.offsetHeight &&
+            this.xcomp >= this.offset[0] &&
+            this.xcomp <  this.offset[0] + element.offsetWidth);
+  },
+
+  // within must be called directly before
+  overlap: function(mode, element) {
+    if (!mode) return 0;
+    if (mode == 'vertical')
+      return ((this.offset[1] + element.offsetHeight) - this.ycomp) /
+        element.offsetHeight;
+    if (mode == 'horizontal')
+      return ((this.offset[0] + element.offsetWidth) - this.xcomp) /
+        element.offsetWidth;
+  },
+
+  clone: function(source, target) {
+    source = $(source);
+    target = $(target);
+    target.style.position = 'absolute';
+    var offsets = this.cumulativeOffset(source);
+    target.style.top    = offsets[1] + 'px';
+    target.style.left   = offsets[0] + 'px';
+    target.style.width  = source.offsetWidth + 'px';
+    target.style.height = source.offsetHeight + 'px';
+  },
+
+  page: function(forElement) {
+    var valueT = 0, valueL = 0;
+
+    var element = forElement;
+    do {
+      valueT += element.offsetTop  || 0;
+      valueL += element.offsetLeft || 0;
+
+      // Safari fix
+      if (element.offsetParent==document.body)
+        if (Element.getStyle(element,'position')=='absolute') break;
+
+    } while (element = element.offsetParent);
+
+    element = forElement;
+    do {
+      valueT -= element.scrollTop  || 0;
+      valueL -= element.scrollLeft || 0;
+    } while (element = element.parentNode);
+
+    return [valueL, valueT];
+  },
+
+  clone: function(source, target) {
+    var options = Object.extend({
+      setLeft:    true,
+      setTop:     true,
+      setWidth:   true,
+      setHeight:  true,
+      offsetTop:  0,
+      offsetLeft: 0
+    }, arguments[2] || {})
+
+    // find page position of source
+    source = $(source);
+    var p = Position.page(source);
+
+    // find coordinate system to use
+    target = $(target);
+    var delta = [0, 0];
+    var parent = null;
+    // delta [0,0] will do fine with position: fixed elements,
+    // position:absolute needs offsetParent deltas
+    if (Element.getStyle(target,'position') == 'absolute') {
+      parent = Position.offsetParent(target);
+      delta = Position.page(parent);
+    }
+
+    // correct by body offsets (fixes Safari)
+    if (parent == document.body) {
+      delta[0] -= document.body.offsetLeft;
+      delta[1] -= document.body.offsetTop;
+    }
+
+    // set position
+    if(options.setLeft)   target.style.left  = (p[0] - delta[0] + options.offsetLeft) + 'px';
+    if(options.setTop)    target.style.top   = (p[1] - delta[1] + options.offsetTop) + 'px';
+    if(options.setWidth)  target.style.width = source.offsetWidth + 'px';
+    if(options.setHeight) target.style.height = source.offsetHeight + 'px';
+  },
+
+  absolutize: function(element) {
+    element = $(element);
+    if (element.style.position == 'absolute') return;
+    Position.prepare();
+
+    var offsets = Position.positionedOffset(element);
+    var top     = offsets[1];
+    var left    = offsets[0];
+    var width   = element.clientWidth;
+    var height  = element.clientHeight;
+
+    element._originalLeft   = left - parseFloat(element.style.left  || 0);
+    element._originalTop    = top  - parseFloat(element.style.top || 0);
+    element._originalWidth  = element.style.width;
+    element._originalHeight = element.style.height;
+
+    element.style.position = 'absolute';
+    element.style.top    = top + 'px';;
+    element.style.left   = left + 'px';;
+    element.style.width  = width + 'px';;
+    element.style.height = height + 'px';;
+  },
+
+  relativize: function(element) {
+    element = $(element);
+    if (element.style.position == 'relative') return;
+    Position.prepare();
+
+    element.style.position = 'relative';
+    var top  = parseFloat(element.style.top  || 0) - (element._originalTop || 0);
+    var left = parseFloat(element.style.left || 0) - (element._originalLeft || 0);
+
+    element.style.top    = top + 'px';
+    element.style.left   = left + 'px';
+    element.style.height = element._originalHeight;
+    element.style.width  = element._originalWidth;
+  }
+}
+
+// Safari returns margins on body which is incorrect if the child is absolutely
+// positioned.  For performance reasons, redefine Position.cumulativeOffset for
+// KHTML/WebKit only.
+if (/Konqueror|Safari|KHTML/.test(navigator.userAgent)) {
+  Position.cumulativeOffset = function(element) {
+    var valueT = 0, valueL = 0;
+    do {
+      valueT += element.offsetTop  || 0;
+      valueL += element.offsetLeft || 0;
+      if (element.offsetParent == document.body)
+        if (Element.getStyle(element, 'position') == 'absolute') break;
+
+      element = element.offsetParent;
+    } while (element);
+
+    return [valueL, valueT];
+  }
+}
\ No newline at end of file
Index: themes/onlinestore/inc/lbox/scriptaculous.js
===================================================================
--- themes/onlinestore/inc/lbox/scriptaculous.js	(revision 0)
+++ themes/onlinestore/inc/lbox/scriptaculous.js	(revision 0)
@@ -0,0 +1,45 @@
+// Copyright (c) 2005 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)
+// 
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+var Scriptaculous = {
+  Version: '1.5.1',
+  require: function(libraryName) {
+    // inserting via DOM fails in Safari 2.0, so brute force approach
+    document.write('<script type="text/javascript" src="'+libraryName+'"></script>');
+  },
+  load: function() {
+    if((typeof Prototype=='undefined') ||
+      parseFloat(Prototype.Version.split(".")[0] + "." +
+                 Prototype.Version.split(".")[1]) < 1.4)
+      throw("script.aculo.us requires the Prototype JavaScript framework >= 1.4.0");
+    
+    $A(document.getElementsByTagName("script")).findAll( function(s) {
+      return (s.src && s.src.match(/scriptaculous\.js(\?.*)?$/))
+    }).each( function(s) {
+      var path = s.src.replace(/scriptaculous\.js(\?.*)?$/,'');
+      var includes = s.src.match(/\?.*load=([a-z,]*)/);
+      (includes ? includes[1] : 'builder,effects,dragdrop,controls,slider').split(',').each(
+       function(include) { Scriptaculous.require(path+include+'.js') });
+    });
+  }
+}
+
+Scriptaculous.load();
\ No newline at end of file
Index: themes/onlinestore/inc/style.css
===================================================================
--- themes/onlinestore/inc/style.css	(revision 0)
+++ themes/onlinestore/inc/style.css	(revision 0)
@@ -0,0 +1,419 @@
+body {
+	padding: 0px;
+	background-color: #ffffff;
+	font-family: arial, verdana, helvetica;
+	font-size: small;
+	width: auto;
+	margin: 15px;
+	}
+
+p, td {
+	font-family: arial, verdana, helvetica;
+	color: #000000;
+	font-size: small;
+	}
+
+input, select, textarea {
+	font-family: arial, verdana, helvetica;
+	color: #000000;
+	font-size: small;
+	}
+
+form {
+	margin: 0;
+	display: inline;
+	}
+
+table {
+	border-collapse: collapse;
+	width: 100%;
+	padding: 0px;
+	margin: 0px auto;
+}
+
+td {
+	padding: 0px;
+	margin: 0px;
+	vertical-align: top;
+}
+
+a, a:active	{
+	color: #003399;
+	text-decoration: underline;
+	}
+
+a:hover {
+	color: #A20303;
+	}
+
+.error {
+	color: #A20303;
+	font-weight: bold;
+}
+
+td.toolbar {
+	color:#FFFFFF;
+	background-color:#FD6500;
+	padding-top:7px;
+	padding-bottom:7px;
+	padding-left:20px;
+	padding-right:20px;
+	font-size: small;
+	}
+
+a.toolbar {
+	color:#FFFFFF;
+	text-decoration: none;
+	}
+
+a.toolbar:hover {
+	color:#FFFFFF;
+	text-decoration: underline;
+	}
+
+.block {
+	border: 1px solid #999999;
+	margin-bottom: 10px;
+	}
+
+.block-no-border {
+	border: 0px;
+	margin-bottom: 10px;
+	}
+
+td.block-header {
+	background-color: #003399;
+	color: #FFFFFF;
+	font-size: small;
+	font-weight: bold;
+	padding: 5px;
+	}
+
+td.block-header-orange {
+	background-color: #FD6500;
+	color: #FFFFFF;
+	font-size: small;
+	font-weight: bold;
+	padding: 5px;
+	}
+
+
+
+td.block-data, .block-data td {
+	padding: 10px;
+	}
+
+td.block-data-single {
+	padding: 10px 0px 10px 10px;
+	}
+
+.block-data-ul {
+	padding-left: 0px;
+	margin-left: 25px;
+	margin-top: 5px;
+	list-style-type: square;
+	}
+
+.block-data-big {
+	padding: 10px;
+	font-size: small;
+	}
+
+.block-data-big-ul {
+	font-size: small;
+	padding-left: 0px;
+	margin-left: 25px;
+	margin-top: 5px;
+	color: #003399;
+	list-style-type: square;
+	}
+
+.separator td {
+	padding: 0px;
+	background-color: #CCCCCC;
+}
+
+.block-data2, .block-data2 td {
+	padding: 1px 10px 1px 10px;
+	}
+
+.subcat, a.subcat {
+	color: #A20303;
+	font-weight: bold;
+	text-decoration: none;
+	}
+
+a.subcat:hover {
+	text-decoration: underline;
+}
+
+.price1 {
+	color: #A20303;
+	font-weight: bold;
+	}
+
+.price2 {
+	display: block;
+	font-weight: bold;
+	font-size: medium;
+	padding: 2px;
+	}
+
+.price-msrp {
+	text-decoration:line-through;
+	}
+
+.header {
+  margin-bottom: 5px;
+}
+
+.header td {
+	font-size: small;
+	}
+
+.toolbar-block {
+	border: 1px solid #777;
+	width: 100%;
+}
+
+.main-table {
+	width: 100%;
+	margin: 0px auto;
+}
+
+.main-column-left {
+	width:200px;
+	padding-top:10px;
+	padding-right:10px;
+	}
+
+.main-column-center {
+	padding-top:10px;
+	padding-right:10px;
+	}
+
+.main-column-single {
+	padding-top:10px;
+	}
+
+.main-column-right {
+	width:200px;
+	padding-top:10px;
+	}
+
+.link-product1 {
+	font-size: medium;
+	font-weight: bold;
+	}
+.link-product2 {
+	font-size: small;
+	font-weight: bold;
+	}
+
+.link-nav-bar {
+	font-weight: bold;
+}
+
+.nav-bar {
+	padding: 4px 10px 0px 4px;
+}
+
+.nav-bar-current {
+	color: #A20303;
+	font-weight: bold;
+}
+
+.cart-header td {
+	background-color: #EBEBEB;
+	color: #000000;
+	font-weight: bold;
+	padding: 2px;
+	padding-left: 10px;
+	border-bottom: 1px solid #989898;
+}
+
+.cart-item td {
+	color: #000000;
+	padding:10px;
+	border-bottom: 1px solid #989898;
+}
+
+.cart-item-small td {
+	color: #000000;
+	padding: 2px 10px 2px 10px;
+	border-bottom: 1px solid #989898;
+}
+
+.cart-subtotal td {
+	color: #000000;
+	padding: 4px 10px 4px 10px;
+}
+
+.form-data {
+	width: auto;
+	margin: 10px;
+}
+
+.form-data td {
+	padding: 2px;
+	padding-right: 10px;
+	border: none;
+	vertical-align: middle;
+}
+
+.adv-search-form {
+	width: auto;
+	border: 1px solid #ccc;
+	display: table-inline;
+}
+
+.adv-search-form td {
+	padding: 5px 10px 5px 10px;
+	vertical-align: middle;
+	text-align: left;
+	border-bottom: 1px solid #aaa;
+}
+
+.warning {
+	border: 1px solid #A1060A;
+	padding: 20px;
+	margin-top: 5px;
+	margin-bottom: 5px;
+}
+.warning-text {
+	color: #A20303;
+	font-weight: bold;
+	font-size: 16px;
+}
+
+.notice {
+	border: 1px solid #23BC06;
+	padding: 20px;
+	margin-top: 5px;
+	margin-bottom: 5px;
+}
+.notice-text {
+	color: #23BC06;
+	font-weight: bold;
+	font-size: 16px;
+}
+
+.relevance-bar td {
+	border: 1px solid #FF0000;
+	padding: 0px;
+	margin: 0px;
+}
+
+.pagination-bar td {
+	padding: 5px;
+	font-weight: bold;
+}
+
+a.pagination-bar {
+	font-weight: bold;
+}
+
+.hidden {
+	display: none;
+}
+
+
+
+
+/* ---- Calendar ---- */
+
+.calendar {
+	font-family: tahoma,verdana,sans-serif;
+	color: #000;
+	font-size: 11px;
+	border: 1px solid #83B2C5;
+	width: 225px;
+	position: relative;
+	z-index: 1;
+	display: none;
+	cursor: default;
+
+}
+
+
+.calendar table {
+	/*font-family: tahoma,verdana,sans-serif;*/
+	color: #000;
+	font-size: 11px;
+	background-color: #fefefe;
+	width: auto;
+	cursor: default;
+	border-collapse: separate;
+
+}
+
+.calendar table td {
+	text-align: center;
+	padding: 2px;
+	text-align: center;
+}
+
+.calendar tbody .disabled {
+	color: #999;
+}
+
+.calendar tbody .emptyrow {
+	display: none;
+
+}
+
+.calendar tbody .today {
+	font-weight: bold;
+	background-color: #eeeeee;
+	border: 1px solid #aaaaaa !important;
+}
+
+.calendar tbody .emptycell {
+	visibility: hidden;
+}
+
+.calendar tbody .active {
+	background-color: red;
+}
+
+.calendar thead .title {
+	font-weight: bold;
+}
+
+.calendar thead .headrow {
+
+}
+
+.calendar thead .active {
+	background-color: #c4c0b8;
+	padding: 2px 0px 0px 2px;
+
+}
+
+
+
+.calendar thead .hilite {
+	background-color: #e4e0d8;
+}
+
+.calendar tfoot .title {
+	font-weight: normal;
+}
+
+.combo {  position: absolute;  display: none;  width: 4em;  top: 0px;  left: 0px;  cursor: default;  border-top: 1px solid #fff;  border-right: 1px solid #000;  border-bottom: 1px solid #000;  border-left: 1px solid #fff;  background: #e4e0d8;  font-size: smaller;  padding: 1px;}
+.combo .label {  text-align: center;  padding: 1px;}
+.combo .active {  background: #c4c0b8;  padding: 0px;  border-top: 1px solid #000;  border-right: 1px solid #fff;  border-bottom: 1px solid #fff;  border-left: 1px solid #000;}
+.combo .hilite {  background: #048;  color: #fea;}
+
+.dpContainer {
+	display: inline;
+
+}
+
+.list-no-squares {
+	padding: 0px;
+	list-style-type: none;
+	margin: 0px;
+}
+
+/* ---- /Calendar ---- */
\ No newline at end of file
Index: themes/onlinestore/inc/calendar.js
===================================================================
--- themes/onlinestore/inc/calendar.js	(revision 0)
+++ themes/onlinestore/inc/calendar.js	(revision 0)
@@ -0,0 +1,1320 @@
+var cbPath = "";
+             /*
+preloadImage(cbPath);
+preloadImage(cbPathO);
+preloadImage(cbPathA);
+*/
+
+//addScript("core.js");
+//addScript("lang.js");
+
+//addCss("wnd.css");
+//addCss("calendar.css");
+
+function initCalendar(id, dateFormat)
+{
+	var input = document.getElementById(id);
+	if (!input) return;
+	input.dateFormat = dateFormat;
+	var cbPath = input.getAttribute("datepickerIcon");
+	
+	var inputContainer = document.createElement("DIV");
+	inputContainer.className = "dpContainer";
+	inputContainer.noWrap = true;
+	var pNode = input.parentNode;
+	pNode.insertBefore(inputContainer, input.nextSibling);
+//	   inputContainer.appendChild(pNode.removeChild(input));
+
+	var calendarButton = document.createElement("IMG");
+	calendarButton.setAttribute("width", "19");
+	calendarButton.setAttribute("height", "15");
+	calendarButton.setAttribute("align", "absMiddle");
+	calendarButton.style.width=19
+	calendarButton.style.height=15
+	calendarButton.style.cursor = "hand";
+
+	calendarButton.setAttribute("hspace", 2);
+	calendarButton.src = cbPath;
+	calendarButton.style.paddingLeft = '10px';
+	calendarButton.onmouseover = cbMouseOver;
+	calendarButton.onmouseout = cbMouseOut;
+	calendarButton.onmouseup = calendarButton.onmouseout;
+	calendarButton.onmousedown = cbMouseDown;
+	calendarButton.showCalendar = wnd_showCalendar;
+	inputContainer.appendChild(calendarButton);
+	inputContainer.dateInput = input;
+}
+
+var calendar;
+
+function cbMouseOver(e)
+{
+	//   this.src = cbPathO;
+	var evt = (e) ? e : event; if (evt) evt.cancelBubble = true;
+}
+
+function cbMouseOut(e)
+{
+	//   this.src = cbPath;
+	var evt = (e) ? e : event; if (evt) evt.cancelBubble = true;
+}
+
+function cbMouseDown(e)
+{
+	//   this.src = cbPathA;
+	// alert("cbMouseDown");
+	var evt = (e) ? e : event; if (evt) evt.cancelBubble = true;
+	this.showCalendar();
+}
+
+function wnd_showCalendar()
+{
+	var el = this.parentNode.dateInput;
+	if (calendar != null) calendar.hide();
+	else
+	{
+		var calendarObject = new Calendar(false, null, dateSelected, closeHandler);
+		calendar = calendarObject;
+		calendarObject.setRange(1900, 2070);
+		calendarObject.create();
+	}
+	calendar.setDateFormat(el.dateFormat);
+	calendar.parseDate(el.value);
+	calendar.sel = el;
+	calendar.showAtElement(el);
+
+	Calendar.addEvent(document, "mousedown", checkCalendar);
+	return false;
+}
+
+function dateSelected(calendarObject, date)
+{
+	calendarObject.sel.value = date;
+	calendarObject.callCloseHandler();
+}
+
+function closeHandler(calendarObject)
+{
+	calendarObject.hide();
+	Calendar.removeEvent(document, "mousedown", checkCalendar);
+}
+
+function checkCalendar(ev)
+{
+	var el = Calendar.is_ie ? Calendar.getElement(ev) : Calendar.getTargetElement(ev);
+
+	for (; el != null; el = el.parentNode)
+	if (el == calendar.element || el.tagName == "A") break;
+
+	if (el == null)
+	{
+		calendar.callCloseHandler();
+		Calendar.stopEvent(ev);
+	}
+}
+
+function preloadImage(path)
+{
+	var img = new Image();
+	img.src = path;
+	preloadImages.push(img);
+}
+
+function addCss(path)
+{
+	path = cssPath + path;
+	document.write("<link rel='stylesheet' href='" + path + "' type='text/css'/>");
+}
+
+/*<CORE>*/
+/* Copyright Mihai Bazon, 2002
+* http://students.infoiasi.ro/~mishoo
+*
+* Version: 0.9.1
+*
+* Feel free to use this script under the terms of the GNU General Public
+* License, as long as you do not remove or alter this notice.
+*/
+
+/** The Calendar object constructor. */
+Calendar = function (mondayFirst, dateStr, onSelected, onClose) {
+	// member variables
+	this.activeDiv = null;
+	this.currentDateEl = null;
+	this.checkDisabled = null;
+	this.timeout = null;
+	this.onSelected = onSelected || null;
+	this.onClose = onClose || null;
+	this.dragging = false;
+	this.minYear = 1970;
+	this.maxYear = 2050;
+	this.dateFormat = Calendar._TT["DEF_DATE_FORMAT"];
+	this.ttDateFormat = Calendar._TT["TT_DATE_FORMAT"];
+	this.isPopup = true;
+	this.mondayFirst = mondayFirst;
+	this.dateStr = dateStr;
+	// HTML elements
+	this.table = null;
+	this.element = null;
+	this.tbody = null;
+	this.daynames = null;
+	// Combo boxes
+	this.monthsCombo = null;
+	this.yearsCombo = null;
+	this.hilitedMonth = null;
+	this.activeMonth = null;
+	this.hilitedYear = null;
+	this.activeYear = null;
+
+	// one-time initializations
+	if (!Calendar._DN3) {
+		// table of short day names
+		var ar = new Array();
+		for (var i = 8; i > 0;) {
+			ar[--i] = Calendar._DN[i].substr(0, 3);
+		}
+		Calendar._DN3 = ar;
+		// table of short month names
+		ar = new Array();
+		for (var i = 12; i > 0;) {
+			ar[--i] = Calendar._MN[i].substr(0, 3);
+		}
+		Calendar._MN3 = ar;
+	}
+};
+
+// ** constants
+
+/// "static", needed for event handlers.
+Calendar._C = null;
+
+/// detect a special case of "web browser"
+Calendar.is_ie = ( (navigator.userAgent.toLowerCase().indexOf("msie") != -1) &&
+(navigator.userAgent.toLowerCase().indexOf("opera") == -1) );
+
+// short day names array (initialized at first constructor call)
+Calendar._DN3 = null;
+
+// short month names array (initialized at first constructor call)
+Calendar._MN3 = null;
+
+// BEGIN: UTILITY FUNCTIONS; beware that these might be moved into a separate
+//        library, at some point.
+
+Calendar.getAbsolutePos = function(el) {
+	var r = { x: el.offsetLeft, y: el.offsetTop };
+	if (el.offsetParent) {
+		var tmp = Calendar.getAbsolutePos(el.offsetParent);
+		r.x += tmp.x;
+		r.y += tmp.y;
+	}
+	return r;
+};
+
+Calendar.isRelated = function (el, evt) {
+	var related = evt.relatedTarget;
+	if (!related) {
+		var type = evt.type;
+		if (type == "mouseover") {
+			related = evt.fromElement;
+		} else if (type == "mouseout") {
+			related = evt.toElement;
+		}
+	}
+	while (related) {
+		if (related == el) {
+			return true;
+		}
+		related = related.parentNode;
+	}
+	return false;
+};
+
+Calendar.removeClass = function(el, className) {
+	if (!(el && el.className)) {
+		return;
+	}
+	var cls = el.className.split(" ");
+	var ar = new Array();
+	for (var i = cls.length; i > 0;) {
+		if (cls[--i] != className) {
+			ar[ar.length] = cls[i];
+		}
+	}
+	el.className = ar.join(" ");
+};
+
+Calendar.addClass = function(el, className) {
+	el.className += " " + className;
+};
+
+Calendar.getElement = function(ev) {
+	if (Calendar.is_ie) {
+		return window.event.srcElement;
+	} else {
+		return ev.currentTarget;
+	}
+};
+
+Calendar.getTargetElement = function(ev) {
+	if (Calendar.is_ie) {
+		return window.event.srcElement;
+	} else {
+		return ev.target;
+	}
+};
+
+Calendar.stopEvent = function(ev) {
+	if (Calendar.is_ie) {
+		window.event.cancelBubble = true;
+		window.event.returnValue = false;
+	} else {
+		ev.preventDefault();
+		ev.stopPropagation();
+	}
+};
+
+Calendar.addEvent = function(el, evname, func) {
+	if (Calendar.is_ie) {
+		el.attachEvent("on" + evname, func);
+	} else {
+		el.addEventListener(evname, func, true);
+	}
+};
+
+Calendar.removeEvent = function(el, evname, func) {
+	if (Calendar.is_ie) {
+		el.detachEvent("on" + evname, func);
+	} else {
+		el.removeEventListener(evname, func, true);
+	}
+};
+
+Calendar.createElement = function(type, parent) {
+	var el = null;
+	if (document.createElementNS) {
+		// use the XHTML namespace; IE won't normally get here unless
+		// _they_ "fix" the DOM2 implementation.
+		el = document.createElementNS("http://www.w3.org/1999/xhtml", type);
+	} else {
+		el = document.createElement(type);
+	}
+	if (typeof parent != "undefined") {
+		parent.appendChild(el);
+	}
+	return el;
+};
+
+// END: UTILITY FUNCTIONS
+
+// BEGIN: CALENDAR STATIC FUNCTIONS
+
+/** Internal -- adds a set of events to make some element behave like a button. */
+Calendar._add_evs = function(el) {
+	with (Calendar) {
+		addEvent(el, "mouseover", dayMouseOver);
+		addEvent(el, "mousedown", dayMouseDown);
+		addEvent(el, "mouseout", dayMouseOut);
+		if (is_ie) {
+			addEvent(el, "dblclick", dayMouseDblClick);
+			el.setAttribute("unselectable", true);
+		}
+	}
+};
+
+Calendar.findMonth = function(el) {
+	if (typeof el.month != "undefined") {
+		return el;
+	} else if (typeof el.parentNode.month != "undefined") {
+		return el.parentNode;
+	}
+	return null;
+};
+
+Calendar.findYear = function(el) {
+	if (typeof el.year != "undefined") {
+		return el;
+	} else if (typeof el.parentNode.year != "undefined") {
+		return el.parentNode;
+	}
+	return null;
+};
+
+Calendar.showMonthsCombo = function () {
+	var cal = Calendar._C;
+	if (!cal) {
+		return false;
+	}
+	var cal = cal;
+	var cd = cal.activeDiv;
+	var mc = cal.monthsCombo;
+	if (cal.hilitedMonth) {
+		Calendar.removeClass(cal.hilitedMonth, "hilite");
+	}
+	if (cal.activeMonth) {
+		Calendar.removeClass(cal.activeMonth, "active");
+	}
+	var mon = cal.monthsCombo.getElementsByTagName("div")[cal.date.getMonth()];
+	Calendar.addClass(mon, "active");
+	cal.activeMonth = mon;
+	mc.style.left = cd.offsetLeft;
+	mc.style.top = cd.offsetTop + cd.offsetHeight;
+	mc.style.display = "block";
+};
+
+Calendar.showYearsCombo = function (fwd) {
+	var cal = Calendar._C;
+	if (!cal) {
+		return false;
+	}
+	var cal = cal;
+	var cd = cal.activeDiv;
+	var yc = cal.yearsCombo;
+	if (cal.hilitedYear) {
+		Calendar.removeClass(cal.hilitedYear, "hilite");
+	}
+	if (cal.activeYear) {
+		Calendar.removeClass(cal.activeYear, "active");
+	}
+	cal.activeYear = null;
+	var Y = cal.date.getFullYear() + (fwd ? 1 : -1);
+	var yr = yc.firstChild;
+	var show = false;
+	for (var i = 12; i > 0; --i) {
+		if (Y >= cal.minYear && Y <= cal.maxYear) {
+			yr.firstChild.data = Y;
+			yr.year = Y;
+			yr.style.display = "block";
+			show = true;
+		} else {
+			yr.style.display = "none";
+		}
+		yr = yr.nextSibling;
+		Y += fwd ? 2 : -2;
+	}
+	if (show) {
+		yc.style.left = cd.offsetLeft;
+		yc.style.top = cd.offsetTop + cd.offsetHeight;
+		yc.style.display = "block";
+	}
+};
+
+// event handlers
+
+Calendar.tableMouseUp = function(ev) {
+	var cal = Calendar._C;
+	if (!cal) {
+		return false;
+	}
+	if (cal.timeout) {
+		clearTimeout(cal.timeout);
+	}
+	var el = cal.activeDiv;
+	if (!el) {
+		return false;
+	}
+	var target = Calendar.getTargetElement(ev);
+	Calendar.removeClass(el, "active");
+	if (target == el || target.parentNode == el) {
+		Calendar.cellClick(el);
+	}
+	var mon = Calendar.findMonth(target);
+	var date = null;
+	if (mon) {
+		date = new Date(cal.date);
+		if (mon.month != date.getMonth()) {
+			date.setMonth(mon.month);
+			cal.setDate(date);
+		}
+	} else {
+		var year = Calendar.findYear(target);
+		if (year) {
+			date = new Date(cal.date);
+			if (year.year != date.getFullYear()) {
+				date.setFullYear(year.year);
+				cal.setDate(date);
+			}
+		}
+	}
+	with (Calendar) {
+		removeEvent(document, "mouseup", tableMouseUp);
+		removeEvent(document, "mouseover", tableMouseOver);
+		removeEvent(document, "mousemove", tableMouseOver);
+		cal._hideCombos();
+		stopEvent(ev);
+		_C = null;
+	}
+};
+
+Calendar.tableMouseOver = function (ev) {
+	var cal = Calendar._C;
+	if (!cal) {
+		return;
+	}
+	var el = cal.activeDiv;
+	var target = Calendar.getTargetElement(ev);
+	if (target == el || target.parentNode == el) {
+		Calendar.addClass(el, "hilite active");
+	} else {
+		Calendar.removeClass(el, "active");
+		Calendar.removeClass(el, "hilite");
+	}
+	var mon = Calendar.findMonth(target);
+	if (mon) {
+		if (mon.month != cal.date.getMonth()) {
+			if (cal.hilitedMonth) {
+				Calendar.removeClass(cal.hilitedMonth, "hilite");
+			}
+			Calendar.addClass(mon, "hilite");
+			cal.hilitedMonth = mon;
+		} else if (cal.hilitedMonth) {
+			Calendar.removeClass(cal.hilitedMonth, "hilite");
+		}
+	} else {
+		var year = Calendar.findYear(target);
+		if (year) {
+			if (year.year != cal.date.getFullYear()) {
+				if (cal.hilitedYear) {
+					Calendar.removeClass(cal.hilitedYear, "hilite");
+				}
+				Calendar.addClass(year, "hilite");
+				cal.hilitedYear = year;
+			} else if (cal.hilitedYear) {
+				Calendar.removeClass(cal.hilitedYear, "hilite");
+			}
+		}
+	}
+	Calendar.stopEvent(ev);
+};
+
+Calendar.tableMouseDown = function (ev) {
+	if (Calendar.getTargetElement(ev) == Calendar.getElement(ev)) {
+		Calendar.stopEvent(ev);
+	}
+};
+
+Calendar.calDragIt = function (ev) {
+	var cal = Calendar._C;
+	if (!(cal && cal.dragging)) {
+		return false;
+	}
+	var posX;
+	var posY;
+	if (Calendar.is_ie) {
+		posY = window.event.clientY + document.body.scrollTop;
+		posX = window.event.clientX + document.body.scrollLeft;
+	} else {
+		posX = ev.pageX;
+		posY = ev.pageY;
+	}
+	cal.hideShowCovered();
+	var st = cal.element.style;
+	st.left = (posX - cal.xOffs) + "px";
+	st.top = (posY - cal.yOffs) + "px";
+	Calendar.stopEvent(ev);
+};
+
+Calendar.calDragEnd = function (ev) {
+	var cal = Calendar._C;
+	if (!cal) {
+		return false;
+	}
+	cal.dragging = false;
+	with (Calendar) {
+		removeEvent(document, "mousemove", calDragIt);
+		removeEvent(document, "mouseover", stopEvent);
+		removeEvent(document, "mouseup", calDragEnd);
+		tableMouseUp(ev);
+	}
+	cal.hideShowCovered();
+};
+
+Calendar.dayMouseDown = function(ev) {
+	var el = Calendar.getElement(ev);
+	if (el.disabled) {
+		return false;
+	}
+	var cal = el.calendar;
+	cal.activeDiv = el;
+	Calendar._C = cal;
+	if (el.navtype != 300) with (Calendar) {
+		addClass(el, "hilite active");
+		addEvent(document, "mouseover", tableMouseOver);
+		addEvent(document, "mousemove", tableMouseOver);
+		addEvent(document, "mouseup", tableMouseUp);
+	} else if (cal.isPopup) {
+		cal._dragStart(ev);
+	}
+	Calendar.stopEvent(ev);
+	if (el.navtype == -1 || el.navtype == 1) {
+		cal.timeout = setTimeout("Calendar.showMonthsCombo()", 250);
+	} else if (el.navtype == -2 || el.navtype == 2) {
+		cal.timeout = setTimeout((el.navtype > 0) ? "Calendar.showYearsCombo(true)" : "Calendar.showYearsCombo(false)", 250);
+	} else {
+		cal.timeout = null;
+	}
+};
+
+Calendar.dayMouseDblClick = function(ev) {
+	Calendar.cellClick(Calendar.getElement(ev));
+	if (Calendar.is_ie) {
+		document.selection.empty();
+	}
+};
+
+Calendar.dayMouseOver = function(ev) {
+	var el = Calendar.getElement(ev);
+	if (Calendar.isRelated(el, ev) || Calendar._C || el.disabled) {
+		return false;
+	}
+	if (el.ttip) {
+		if (el.ttip.substr(0, 1) == "_") {
+			var date = null;
+			with (el.calendar.date) {
+				date = new Date(getFullYear(), getMonth(), el.caldate);
+			}
+			el.ttip = date.print(el.calendar.ttDateFormat) + el.ttip.substr(1);
+		}
+		el.calendar.tooltips.firstChild.data = el.ttip;
+	}
+	if (el.navtype != 300) {
+		Calendar.addClass(el, "hilite");
+	}
+	Calendar.stopEvent(ev);
+};
+
+Calendar.dayMouseOut = function(ev) {
+	with (Calendar) {
+		var el = getElement(ev);
+		if (isRelated(el, ev) || _C || el.disabled) {
+			return false;
+		}
+		removeClass(el, "hilite");
+		el.calendar.tooltips.firstChild.data = _TT["SEL_DATE"];
+		stopEvent(ev);
+	}
+};
+
+/**
+*  A generic "click" handler :) handles all types of buttons defined in this
+*  calendar.
+*/
+Calendar.cellClick = function(el) {
+	var cal = el.calendar;
+	var closing = false;
+	var newdate = false;
+	var date = null;
+	if (typeof el.navtype == "undefined") {
+		Calendar.removeClass(cal.currentDateEl, "selected");
+		Calendar.addClass(el, "selected");
+		closing = (cal.currentDateEl == el);
+		if (!closing) {
+			cal.currentDateEl = el;
+		}
+		cal.date.setDate(el.caldate);
+		date = cal.date;
+		newdate = true;
+	} else {
+		if (el.navtype == 200) {
+			Calendar.removeClass(el, "hilite");
+			cal.callCloseHandler();
+			return;
+		}
+		date = (el.navtype == 0) ? new Date() : new Date(cal.date);
+		var year = date.getFullYear();
+		var mon = date.getMonth();
+		var setMonth = function (mon) {
+			var day = date.getDate();
+			var max = date.getMonthDays();
+			if (day > max) {
+				date.setDate(max);
+			}
+			date.setMonth(mon);
+		};
+		switch (el.navtype) {
+			case -2:
+			if (year > cal.minYear) {
+				date.setFullYear(year - 1);
+			}
+			break;
+			case -1:
+			if (mon > 0) {
+				setMonth(mon - 1);
+			} else if (year-- > cal.minYear) {
+				date.setFullYear(year);
+				setMonth(11);
+			}
+			break;
+			case 1:
+			if (mon < 11) {
+				setMonth(mon + 1);
+			} else if (year < cal.maxYear) {
+				date.setFullYear(year + 1);
+				setMonth(0);
+			}
+			break;
+			case 2:
+			if (year < cal.maxYear) {
+				date.setFullYear(year + 1);
+			}
+			break;
+			case 100:
+			cal.setMondayFirst(!cal.mondayFirst);
+			return;
+		}
+		if (!date.equalsTo(cal.date)) {
+			cal.setDate(date);
+			newdate = el.navtype == 0;
+		}
+	}
+	if (newdate) {
+		cal.callHandler();
+	}
+	if (closing) {
+		Calendar.removeClass(el, "hilite");
+		cal.callCloseHandler();
+	}
+};
+
+// END: CALENDAR STATIC FUNCTIONS
+
+// BEGIN: CALENDAR OBJECT FUNCTIONS
+
+/**
+*  This function creates the calendar inside the given parent.  If _par is
+*  null than it creates a popup calendar inside the BODY element.  If _par is
+*  an element, be it BODY, then it creates a non-popup calendar (still
+*  hidden).  Some properties need to be set before calling this function.
+*/
+Calendar.prototype.create = function (_par) {
+	var parent = null;
+	if (! _par) {
+		// default parent is the document body, in which case we create
+		// a popup calendar.
+		parent = document.getElementsByTagName("body")[0];
+		this.isPopup = true;
+	} else {
+		parent = _par;
+		this.isPopup = false;
+	}
+	this.date = this.dateStr ? new Date(this.dateStr) : new Date();
+
+	var table = Calendar.createElement("table");
+	this.table = table;
+	table.cellSpacing = 0;
+	table.cellPadding = 0;
+	table.style.width = 'auto';
+	table.calendar = this;
+	Calendar.addEvent(table, "mousedown", Calendar.tableMouseDown);
+
+	var div = Calendar.createElement("div");
+	this.element = div;
+	div.className = "calendar";
+	if (this.isPopup) {
+		div.style.position = "absolute";
+		div.style.display = "none";
+	}
+	div.appendChild(table);
+
+	var thead = Calendar.createElement("thead", table);
+	var cell = null;
+	var row = null;
+
+	var cal = this;
+	var hh = function (text, cs, navtype) {
+		cell = Calendar.createElement("td", row);
+		cell.colSpan = cs;
+		cell.className = "calendar_button";
+		Calendar._add_evs(cell);
+		cell.calendar = cal;
+		cell.navtype = navtype;
+		if (text.substr(0, 1) != "&") {
+			cell.appendChild(document.createTextNode(text));
+		}
+		else {
+			// FIXME: dirty hack for entities
+			cell.innerHTML = text;
+		}
+		return cell;
+	};
+
+	row = Calendar.createElement("tr", thead);
+	row.className = "headrow";
+
+	hh("-", 1, 100).ttip = Calendar._TT["TOGGLE"];
+	this.title = hh("", this.isPopup ? 5 : 6, 300);
+	this.title.className = "title";
+	if (this.isPopup) {
+		this.title.ttip = Calendar._TT["DRAG_TO_MOVE"];
+		this.title.style.cursor = "move";
+		hh("X", 1, 200).ttip = Calendar._TT["CLOSE"];
+	}
+
+	row = Calendar.createElement("tr", thead);
+	row.className = "headrow";
+
+	hh("&#x00ab;", 1, -2).ttip = Calendar._TT["PREV_YEAR"];
+	hh("&#x2039;", 1, -1).ttip = Calendar._TT["PREV_MONTH"];
+	hh(Calendar._TT["TODAY"], 3, 0).ttip = Calendar._TT["GO_TODAY"];
+	hh("&#x203a;", 1, 1).ttip = Calendar._TT["NEXT_MONTH"];
+	hh("&#x00bb;", 1, 2).ttip = Calendar._TT["NEXT_YEAR"];
+
+	// day names
+	row = Calendar.createElement("tr", thead);
+	row.className = "daynames";
+	this.daynames = row;
+	for (var i = 7; i > 0; --i) {
+		cell = Calendar.createElement("td", row);
+		cell.appendChild(document.createTextNode(""));
+		if (!i) {
+			cell.navtype = 100;
+			cell.calendar = this;
+			Calendar._add_evs(cell);
+		}
+	}
+	this._displayWeekdays();
+
+	var tbody = Calendar.createElement("tbody", table);
+	this.tbody = tbody;
+
+	for (i = 6; i > 0; --i) {
+		row = Calendar.createElement("tr", tbody);
+		for (var j = 7; j > 0; --j) {
+			cell = Calendar.createElement("td", row);
+			cell.appendChild(document.createTextNode(""));
+			cell.calendar = this;
+			Calendar._add_evs(cell);
+		}
+	}
+
+	var tfoot = Calendar.createElement("tfoot", table);
+
+	row = Calendar.createElement("tr", tfoot);
+	row.className = "footrow";
+
+	cell = hh(Calendar._TT["SEL_DATE"], 7, 300);
+	cell.className = "title";
+	if (this.isPopup) {
+		cell.ttip = Calendar._TT["DRAG_TO_MOVE"];
+		cell.style.cursor = "move";
+	}
+	this.tooltips = cell;
+
+	div = Calendar.createElement("div", this.element);
+	this.monthsCombo = div;
+	div.className = "combo";
+	for (i = 0; i < Calendar._MN.length; ++i) {
+		var mn = Calendar.createElement("div");
+		mn.className = "label";
+		mn.month = i;
+		mn.appendChild(document.createTextNode(Calendar._MN3[i]));
+		div.appendChild(mn);
+	}
+
+	div = Calendar.createElement("div", this.element);
+	this.yearsCombo = div;
+	div.className = "combo";
+	for (i = 12; i > 0; --i) {
+		var yr = Calendar.createElement("div");
+		yr.className = "label";
+		yr.appendChild(document.createTextNode(""));
+		div.appendChild(yr);
+	}
+
+	this._init(this.mondayFirst, this.date);
+	parent.appendChild(this.element);
+};
+
+/**
+*  (RE)Initializes the calendar to the given date and style (if mondayFirst is
+*  true it makes Monday the first day of week, otherwise the weeks start on
+*  Sunday.
+*/
+Calendar.prototype._init = function (mondayFirst, date) {
+	var today = new Date();
+	var year = date.getFullYear();
+	if (year < this.minYear) {
+		year = this.minYear;
+		date.setFullYear(year);
+	} else if (year > this.maxYear) {
+		year = this.maxYear;
+		date.setFullYear(year);
+	}
+	this.mondayFirst = mondayFirst;
+	this.date = new Date(date);
+	var month = date.getMonth();
+	var mday = date.getDate();
+	var no_days = date.getMonthDays();
+	date.setDate(1);
+	var wday = date.getDay();
+	var MON = mondayFirst ? 1 : 0;
+	var SAT = mondayFirst ? 5 : 6;
+	var SUN = mondayFirst ? 6 : 0;
+	if (mondayFirst) {
+		wday = (wday > 0) ? (wday - 1) : 6;
+	}
+	var iday = 1;
+	var row = this.tbody.firstChild;
+	var MN = Calendar._MN3[month];
+	var hasToday = ((today.getFullYear() == year) && (today.getMonth() == month));
+	var todayDate = today.getDate();
+	for (var i = 0; i < 6; ++i) {
+		if (iday > no_days) {
+			row.className = "emptyrow";
+			row = row.nextSibling;
+			continue;
+		}
+		var cell = row.firstChild;
+		row.className = "daysrow";
+		for (var j = 0; j < 7; ++j) {
+			if ((!i && j < wday) || iday > no_days) {
+				cell.className = "emptycell";
+				cell = cell.nextSibling;
+				continue;
+			}
+			cell.firstChild.data = iday;
+			cell.className = "day";
+			cell.disabled = false;
+			if (typeof this.checkDisabled == "function") {
+				date.setDate(iday);
+				if (this.checkDisabled(date)) {
+					cell.className += " disabled";
+					cell.disabled = true;
+				}
+			}
+			if (!cell.disabled) {
+				cell.caldate = iday;
+				cell.ttip = "_";
+				if (iday == mday) {
+					cell.className += " selected";
+					this.currentDateEl = cell;
+				}
+				if (hasToday && (iday == todayDate)) {
+					cell.className += " today";
+					cell.ttip += Calendar._TT["PART_TODAY"];
+				}
+				if (wday == SAT || wday == SUN) {
+					cell.className += " weekend";
+				}
+			}
+			++iday;
+			((++wday) ^ 7) || (wday = 0);
+			cell = cell.nextSibling;
+		}
+		row = row.nextSibling;
+	}
+	this.title.firstChild.data = Calendar._MN[month] + ", " + year;
+	// PROFILE
+	// this.tooltips.firstChild.data = "Generated in " + ((new Date()) - today) + " ms";
+};
+
+/**
+*  Calls _init function above for going to a certain date (but only if the
+*  date is different than the currently selected one).
+*/
+Calendar.prototype.setDate = function (date) {
+	if (!date.equalsTo(this.date)) {
+		this._init(this.mondayFirst, date);
+	}
+};
+
+/** Modifies the "mondayFirst" parameter (EU/US style). */
+Calendar.prototype.setMondayFirst = function (mondayFirst) {
+	this._init(mondayFirst, this.date);
+	this._displayWeekdays();
+};
+
+/**
+*  Allows customization of what dates are enabled.  The "unaryFunction"
+*  parameter must be a function object that receives the date (as a JS Date
+*  object) and returns a boolean value.  If the returned value is true then
+*  the passed date will be marked as disabled.
+*/
+Calendar.prototype.setDisabledHandler = function (unaryFunction) {
+	this.checkDisabled = unaryFunction;
+};
+
+/** Customization of allowed year range for the calendar. */
+Calendar.prototype.setRange = function (a, z) {
+	this.minYear = a;
+	this.maxYear = z;
+};
+
+/** Calls the first user handler (selectedHandler). */
+Calendar.prototype.callHandler = function () {
+	if (this.onSelected) {
+		this.onSelected(this, this.date.print(this.dateFormat));
+	}
+};
+
+/** Calls the second user handler (closeHandler). */
+Calendar.prototype.callCloseHandler = function () {
+	if (this.onClose) {
+		this.onClose(this);
+	}
+	this.hideShowCovered();
+};
+
+/** Removes the calendar object from the DOM tree and destroys it. */
+Calendar.prototype.destroy = function () {
+	var el = this.element.parentNode;
+	el.removeChild(this.element);
+	Calendar._C = null;
+	delete el;
+};
+
+/**
+*  Moves the calendar element to a different section in the DOM tree (changes
+*  its parent).
+*/
+Calendar.prototype.reparent = function (new_parent) {
+	var el = this.element;
+	el.parentNode.removeChild(el);
+	new_parent.appendChild(el);
+};
+
+/** Shows the calendar. */
+Calendar.prototype.show = function () {
+	this.element.style.display = "block";
+	this.hideShowCovered();
+};
+
+/**
+*  Hides the calendar.  Also removes any "hilite" from the class of any TD
+*  element.
+*/
+Calendar.prototype.hide = function () {
+	var trs = this.table.getElementsByTagName("td");
+	for (var i = trs.length; i > 0; ) {
+		Calendar.removeClass(trs[--i], "hilite");
+	}
+	this.element.style.display = "none";
+};
+
+/**
+*  Shows the calendar at a given absolute position (beware that, depending on
+*  the calendar element style -- position property -- this might be relative
+*  to the parent's containing rectangle).
+*/
+Calendar.prototype.showAt = function (x, y) {
+	var s = this.element.style;
+	s.left = x + "px";
+	s.top = y + "px";
+	this.show();
+};
+
+/** Shows the calendar near a given element. */
+Calendar.prototype.showAtElement = function (el) {
+	var p = Calendar.getAbsolutePos(el);
+
+	var cw = 190;
+	var ch = -200;
+
+	if (Calendar.is_ie)
+	{
+		var posX = getWndX(el) + el.offsetWidth + 18; if (posX + ch > document.body.scrollLeft + document.body.offsetWidth) posX = document.body.scrollLeft + document.body.offsetWidth - ch
+		var posY = p.y + el.offsetHeight; if (posY + cw > document.body.scrollTop + document.body.offsetHeight) posY = getWndY(el) - cw;
+		//document.body.scrollTop + document.body.offsetHeight - cw - el.offsetHeight
+		this.showAt(posX, posY);
+	}
+	else
+	{
+		// for other browsers types
+		this.showAt(getWndX(el) + el.offsetWidth + 30, p.y + el.offsetHeight-200);
+	}
+};
+
+function getWndC(object, c)
+{
+	pos = 0;
+	while (object != null)
+	{
+		pos += (c == "y") ? object.offsetTop : object.offsetLeft;
+		object = object.offsetParent;
+	}
+	return pos;
+}
+
+function getWndX(object) {return getWndC(object, "x")}
+function getWndY(object) {return getWndC(object, "y")}
+
+
+/** Customizes the date format. */
+Calendar.prototype.setDateFormat = function (str) {
+	this.dateFormat = str;
+};
+
+/** Customizes the tooltip date format. */
+Calendar.prototype.setTtDateFormat = function (str) {
+	this.ttDateFormat = str;
+};
+
+/**
+*  Tries to identify the date represented in a string.  If successful it also
+*  calls this.setDate which moves the calendar to the given date.
+*/
+Calendar.prototype.parseDate = function (str, fmt) {
+	var y = 0;
+	var m = -1;
+	var d = 0;
+	var a = str.split(/\W+/);
+	if (!fmt) {
+		fmt = this.dateFormat;
+	}
+	var b = fmt.split(/\W+/);
+	var i = 0, j = 0;
+	for (i = 0; i < a.length; ++i) {
+		if (b[i] == "D" || b[i] == "DD") {
+			continue;
+		}
+		if (b[i] == "j" || b[i] == "d") {
+			d = a[i];
+		}
+		if (b[i] == "n" || b[i] == "m") {
+			m = a[i]-1;
+		}
+		//      if (b[i] == "y") {
+		//         y = a[i];
+		//      }
+		if ((b[i] == "Y")||(b[i] == "y")) {
+			//      if (b[i] == "yy") {
+			if (a[i].length == 4) {
+				y = a[i];
+			}
+			else {
+				if (parseInt(a[i]) < 70) {
+					y = parseInt(a[i]) + 2000;
+				}
+				else {
+					y = parseInt(a[i]) + 1900;
+				}
+			}
+		}
+		if (b[i] == "M" || b[i] == "MM") {
+			for (j = 0; j < 12; ++j) {
+				if (Calendar._MN[j].substr(0, a[i].length).toLowerCase() == a[i].toLowerCase()) { m = j; break; }
+			}
+		}
+	}
+	if (y != 0 && m != -1 && d != 0) {
+		this.setDate(new Date(y, m, d));
+		return;
+	}
+	y = 0; m = -1; d = 0;
+	for (i = 0; i < a.length; ++i) {
+		if (a[i].search(/[a-zA-Z]+/) != -1) {
+			var t = -1;
+			for (j = 0; j < 12; ++j) {
+				if (Calendar._MN[j].substr(0, a[i].length).toLowerCase() == a[i].toLowerCase()) { t = j; break; }
+			}
+			if (t != -1) {
+				if (m != -1) {
+					d = m+1;
+				}
+				m = t;
+			}
+		} else if (parseInt(a[i]) <= 12 && m == -1) {
+			m = a[i]-1;
+		} else if (parseInt(a[i]) > 31 && y == 0) {
+			y = a[i];
+		} else if (d == 0) {
+			d = a[i];
+		}
+	}
+	if (y == 0) {
+		var today = new Date();
+		y = today.getFullYear();
+	}
+	if (m != -1 && d != 0) {
+		this.setDate(new Date(y, m, d));
+	}
+};
+
+Calendar.prototype.hideShowCovered = function () {
+	var tags = new Array("applet", "iframe", "select");
+	var el = this.element;
+
+	var p = Calendar.getAbsolutePos(el);
+	var EX1 = p.x;
+	var EX2 = el.offsetWidth + EX1;
+	var EY1 = p.y;
+	var EY2 = el.offsetHeight + EY1;
+
+	for (var k = tags.length; k > 0; ) {
+		var ar = document.getElementsByTagName(tags[--k]);
+		var cc = null;
+
+		for (var i = ar.length; i > 0;) {
+			cc = ar[--i];
+
+			p = Calendar.getAbsolutePos(cc);
+			var CX1 = p.x;
+			var CX2 = cc.offsetWidth + CX1;
+			var CY1 = p.y;
+			var CY2 = cc.offsetHeight + CY1;
+
+			if ((CX1 > EX2) || (CX2 < EX1) || (CY1 > EY2) || (CY2 < EY1)) {
+				cc.style.visibility = "visible";
+			} else {
+				cc.style.visibility = "hidden";
+			}
+		}
+	}
+};
+
+/** Internal function; it displays the bar with the names of the weekday. */
+Calendar.prototype._displayWeekdays = function () {
+	var MON = this.mondayFirst ? 0 : 1;
+	var SUN = this.mondayFirst ? 6 : 0;
+	var SAT = this.mondayFirst ? 5 : 6;
+	var cell = this.daynames.firstChild;
+	for (var i = 0; i < 7; ++i) {
+		cell.className = "day name";
+		if (!i) {
+			cell.ttip = this.mondayFirst ? Calendar._TT["SUN_FIRST"] : Calendar._TT["MON_FIRST"];
+			cell.navtype = 100;
+			cell.calendar = this;
+			Calendar._add_evs(cell);
+		}
+		if (i == SUN || i == SAT) {
+			Calendar.addClass(cell, "weekend");
+		}
+		cell.firstChild.data = Calendar._DN3[i + 1 - MON];
+		cell = cell.nextSibling;
+	}
+};
+
+/** Internal function.  Hides all combo boxes that might be displayed. */
+Calendar.prototype._hideCombos = function () {
+	this.monthsCombo.style.display = "none";
+	this.yearsCombo.style.display = "none";
+};
+
+/** Internal function.  Starts dragging the element. */
+Calendar.prototype._dragStart = function (ev) {
+	if (this.dragging) {
+		return;
+	}
+	this.dragging = true;
+	var posX;
+	var posY;
+	if (Calendar.is_ie) {
+		posY = window.event.clientY + document.body.scrollTop;
+		posX = window.event.clientX + document.body.scrollLeft;
+	} else {
+		posY = ev.clientY + window.scrollY;
+		posX = ev.clientX + window.scrollX;
+	}
+	var st = this.element.style;
+	this.xOffs = posX - parseInt(st.left);
+	this.yOffs = posY - parseInt(st.top);
+	with (Calendar) {
+		addEvent(document, "mousemove", calDragIt);
+		addEvent(document, "mouseover", stopEvent);
+		addEvent(document, "mouseup", calDragEnd);
+	}
+};
+
+// BEGIN: DATE OBJECT PATCHES
+
+/** Adds the number of days array to the Date object. */
+Date._MD = new Array(31,28,31,30,31,30,31,31,30,31,30,31);
+
+/** Returns the number of days in the current month */
+Date.prototype.getMonthDays = function() {
+	var year = this.getFullYear();
+	var month = this.getMonth();
+	if (((0 == (year%4)) && ( (0 != (year%100)) || (0 == (year%400)))) && month == 1) {
+		return 29;
+	} else {
+		return Date._MD[month];
+	}
+};
+
+/** Checks dates equality (ignores time) */
+Date.prototype.equalsTo = function(date) {
+	return ((this.getFullYear() == date.getFullYear()) &&
+	(this.getMonth() == date.getMonth()) &&
+	(this.getDate() == date.getDate()));
+};
+
+/** Prints the date in a string according to the given format. */
+Date.prototype.print = function (frm) {
+	var str = new String(frm);
+	var m = this.getMonth();
+	var d = this.getDate();
+	var y = this.getFullYear();
+	var w = this.getDay();
+	var s = new Array();
+	s["j"] = d;
+	s["d"] = (d < 10) ? ("0" + d) : d;
+	s["n"] = 1+m;
+	s["m"] = (m < 9) ? ("0" + (1+m)) : (1+m);
+	s["Y"] = y;
+	s["y"] = new String(y).substr(2, 2);
+	with (Calendar) {
+		s["D"] = _DN3[w];
+		s["DD"] = _DN[w];
+		s["M"] = _MN3[m];
+		s["MM"] = _MN[m];
+	}
+	var re = /(.*)(\W|^)(j|d|n|m|y|Y|MM|M|DD|D)(\W|$)(.*)/;
+	while (re.exec(str) != null) {
+		str = RegExp.$1 + RegExp.$2 + s[RegExp.$3] + RegExp.$4 + RegExp.$5;
+	}
+	return str;
+};
+
+// END: DATE OBJECT PATCHES
+/*</CORE>*/
+/*<LANG>*/
+Calendar._DN = new Array
+("Sunday",
+"Monday",
+"Tuesday",
+"Wednesday",
+"Thursday",
+"Friday",
+"Saturday",
+"Sunday");
+Calendar._MN = new Array
+("January",
+"February",
+"March",
+"April",
+"May",
+"June",
+"July",
+"August",
+"September",
+"October",
+"November",
+"December");
+
+// tooltips
+Calendar._TT = {};
+Calendar._TT["TOGGLE"] = "Toggle first day of week";
+Calendar._TT["PREV_YEAR"] = "Prev. year (hold for menu)";
+Calendar._TT["PREV_MONTH"] = "Prev. month (hold for menu)";
+Calendar._TT["GO_TODAY"] = "Go Today";
+Calendar._TT["NEXT_MONTH"] = "Next month (hold for menu)";
+Calendar._TT["NEXT_YEAR"] = "Next year (hold for menu)";
+Calendar._TT["SEL_DATE"] = "Select date";
+Calendar._TT["DRAG_TO_MOVE"] = "Drag to move";
+Calendar._TT["PART_TODAY"] = " (today)";
+Calendar._TT["MON_FIRST"] = "Display Monday first";
+Calendar._TT["SUN_FIRST"] = "Display Sunday first";
+Calendar._TT["CLOSE"] = "Close";
+Calendar._TT["TODAY"] = "Today";
+
+// date formats
+Calendar._TT["DEF_DATE_FORMAT"] = "y-mm-dd";
+Calendar._TT["TT_DATE_FORMAT"] = "D, M d";
+/*</LANG>*/
+/*</CSS>*/
+//document.write("<style type=\"text/css\">")
+//document.write(".calendar { width: 225px; z-Index: 1; position: relative;  display: none;  border-top: 2px solid #fff;  border-right: 2px solid #000;  border-bottom: 2px solid #000;  border-left: 2px solid #fff;  font-size: 11px;  color: #000;  cursor: default;  background: #d4d0c8;  font-family: tahoma,verdana,sans-serif;}.calendar table {  width: auto; border-top: 1px solid #000;  border-right: 1px solid #fff;  border-bottom: 1px solid #fff;  border-left: 1px solid #000;  font-size: 11px;  color: #000;  cursor: default;  background: #d4d0c8;  font-family: tahoma,verdana,sans-serif;}/* Header part -- contains navigation buttons and day names. */.calendar .calendar_button { text-align: center;  padding: 1px;  border-top: 1px solid #fff;  border-right: 1px solid #000;  border-bottom: 1px solid #000;  border-left: 1px solid #fff;}.calendar thead .title { font-weight: bold;  padding: 1px;  border: 1px solid #000;  background: #848078;  color: #fff;  text-align: center;}.calendar thead .headrow { /* Row <TR> containing navigation buttons */}.calendar thead .daynames { /* Row <TR> containing the day names */}.calendar thead .name { /* Cells <TD> containing the day names */  border-bottom: 1px solid #000;  padding: 2px;  text-align: center;  background: #f4f0e8;}.calendar thead .weekend { /* How a weekend day name shows in header */  color: #f00;}.calendar thead .hilite { /* How do the buttons in header appear when hover */  border-top: 2px solid #fff;  border-right: 2px solid #000;  border-bottom: 2px solid #000;  border-left: 2px solid #fff;  padding: 0px;  background: #e4e0d8;}.calendar thead .active { /* Active (pressed) buttons in header */  padding: 2px 0px 0px 2px;  border-top: 1px solid #000;  border-right: 1px solid #fff;  border-bottom: 1px solid #fff;  border-left: 1px solid #000;  background: #c4c0b8;}/* The body part -- contains all the days in month. */.calendar tbody .day { /* Cells <TD> containing month days dates */  width: 2em;  text-align: right;  padding: 2px 4px 2px 2px;}.calendar tbody .hilite { /* Hovered cells <TD> */  padding: 1px 3px 1px 1px;  border-top: 1px solid #fff;  border-right: 1px solid #000;  border-bottom: 1px solid #000;  border-left: 1px solid #fff;}.calendar tbody .active { /* Active (pressed) cells <TD> */  padding: 2px 2px 0px 2px;  border-top: 1px solid #000;  border-right: 1px solid #fff;  border-bottom: 1px solid #fff;  border-left: 1px solid #000;}.calendar tbody .selected { /* Cell showing selected date */  font-weight: bold;  border-top: 1px solid #000;  border-right: 1px solid #fff;  border-bottom: 1px solid #fff;  border-left: 1px solid #000;  padding: 2px 2px 0px 2px;  background: #e4e0d8;}.calendar tbody .weekend { /* Cells showing weekend days */  color: #f00;}.calendar tbody .today { /* Cell showing today date */  font-weight: bold;  color: #00f;}.calendar tbody .disabled { color: #999; }.calendar tbody .emptycell { /* Empty cells (the best is to hide them) */  visibility: hidden;}.calendar tbody .emptyrow { display: none;} .calendar tfoot .footrow { }.calendar tfoot .ttip { /* Tooltip (status bar) cell <TD> */  background: #f4f0e8;  padding: 1px;  border: 1px solid #000;  background: #848078;  color: #fff;  text-align: center;}.calendar tfoot .hilite { /* Hover style for buttons in footer */  border-top: 1px solid #fff;  border-right: 1px solid #000;  border-bottom: 1px solid #000;  border-left: 1px solid #fff;  padding: 1px;  background: #e4e0d8;}.calendar tfoot .active { /* Active (pressed) style for buttons in footer */  padding: 2px 0px 0px 2px;  border-top: 1px solid #000;  border-right: 1px solid #fff;  border-bottom: 1px solid #fff;  border-left: 1px solid #000;}/* Combo boxes (menus that display months/years for direct selection) */.combo {  position: absolute;  display: none;  width: 4em;  top: 0px;  left: 0px;  cursor: default;  border-top: 1px solid #fff;  border-right: 1px solid #000;  border-bottom: 1px solid #000;  border-left: 1px solid #fff;  background: #e4e0d8;  font-size: smaller;  padding: 1px;}.combo .label {  text-align: center;  padding: 1px;}.combo .active {  background: #c4c0b8;  padding: 0px;  border-top: 1px solid #000;  border-right: 1px solid #fff;  border-bottom: 1px solid #fff;  border-left: 1px solid #000;}.combo .hilite {  background: #048;  color: #fea;}");
+//document.write(".dpContainer {display: inline;}");
+//document.write("</style>")
+/* The main calendar widget.  DIV containing a table. */
+
Index: themes/onlinestore/no_permission.tpl
===================================================================
--- themes/onlinestore/no_permission.tpl	(revision 0)
+++ themes/onlinestore/no_permission.tpl	(revision 0)
@@ -0,0 +1,39 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_Phrase label="lu_comm_NoPermissions"/></title>
+<inp2:m_include template="platform/blocks/common/html_head" />
+</head>
+<body>
+
+<inp2:m_include template="platform/blocks/common/header" />
+
+<inp2:m_include template="platform/blocks/common/toolbar" />
+
+<table class="main-table">
+	<tr>
+		<td class="main-column-center" valign="top">
+
+			<inp2:m_include template="platform/blocks/login/no_permission_warning" />
+
+		</td>
+		<td class="main-column-right" valign="top">
+
+			<inp2:m_include template="in-commerce/blocks/checkout/cart_indicator" />
+
+			<inp2:m_include template="platform/blocks/common/login" />
+
+			<inp2:m_include template="in-commerce/blocks/products/products_top_sellers" data_exists="1"/>
+
+			<inp2:m_include template="platform/blocks/common/mailing_list"/>
+
+		</td>
+	</tr>
+</table>
+
+<inp2:m_include template="platform/blocks/common/footer" />
+
+<inp2:m_include template="platform/blocks/common/copyright" />
+
+</body>
+</html>
\ No newline at end of file
Index: themes/default/thankyou.tpl
===================================================================
--- themes/default/thankyou.tpl	(revision 0)
+++ themes/default/thankyou.tpl	(revision 0)
@@ -0,0 +1,34 @@
+<!--##
+<NAME>Thank You</NAME>
+<DESC>Thank you for submitting contact form</DESC>
+<SECTION>Pages</SECTION>
+##-->
+
+<!--## DEFINE MAIN CONTENT ELEMENT ##-->
+<inp2:m_DefineElement name="content">
+
+	<inp2:m_RenderElement design="content_box">
+
+		<inp2:m_Capture to_var="header">
+			<inp2:st_PageInfo type="title"/>
+		</inp2:m_Capture>
+
+		<inp2:st_ContentBlock num="1"/>
+
+		<br /><br />
+		<inp2:formsubs_PhraseFromRequest name="thankyou_text" default="lu_text_Thankyou"/>
+
+	</inp2:m_RenderElement>
+
+	<script type="text/javascript">
+		$(document).ready(function() {
+			$('div.text').addClass('contacts');
+		});
+	</script>
+
+</inp2:m_DefineElement>
+<!--## /DEFINE MAIN CONTENT ELEMENT ##-->
+
+<!--## INCLUDE MAIN DESIGN TEMPLATE ##-->
+<inp2:m_include template="designs/default_design.des" page_class="inner"/>
+<!--## /INCLUDE MAIN DESIGN TEMPLATE ##-->
\ No newline at end of file
Index: themes/default/no_permission.tpl
===================================================================
--- themes/default/no_permission.tpl	(revision 0)
+++ themes/default/no_permission.tpl	(revision 0)
@@ -0,0 +1,22 @@
+<!--##
+<NAME>No Permissions</NAME>
+<DESC></DESC>
+<SECTION>Pages</SECTION>
+##-->
+
+<!--## DEFINE MAIN CONTENT ELEMENT ##-->
+<inp2:m_DefineElement name="content">
+
+	<inp2:m_RenderElement design="content_box">
+		<inp2:m_Capture to_var="header">
+			<inp2:st_PageInfo type="title"/>
+		</inp2:m_Capture>
+
+		<inp2:st_ContentBlock num="1"/>
+
+	</inp2:m_RenderElement>
+
+</inp2:m_DefineElement>
+<!--## /DEFINE MAIN CONTENT ELEMENT ##-->
+
+<inp2:m_include template="designs/default_design.des" page_class="inner"/>
Index: themes/default/inc/styles.css
===================================================================
--- themes/default/inc/styles.css	(revision 0)
+++ themes/default/inc/styles.css	(revision 0)
@@ -0,0 +1,272 @@
+/* Basic Blocks
+*******************************************************************************/
+body {
+	background: #fff url('../img/bg_header_new.jpg') no-repeat 50% 0;
+	color: #000;
+	font: 0.75em/1.333em Sans-Serif,Arial,Tahoma,Verdana;
+	min-width: 800px;
+}
+
+img { border: 0; }
+table { border-collapse: collapse; border-spacing: 0; }
+td { padding: 0; vertical-align: top; }
+
+a, a:hover { color: #0066CC; outline: none; text-decoration: none; }
+a:hover { text-decoration: underline; }
+
+.clear { clear: both !important; }
+.fix { border: 1px solid #f00; }
+
+/* Layout
+*******************************************************************************/
+#wrapper.inner {
+	background: url('../img/bg_inner_lines.gif') repeat-x 0 100%;
+}
+#wrapper .title_system {
+	color: #fff;
+	font-size: 0.833em;
+	line-height: 17px;
+	padding: 0 30px 0 0;
+	text-align: right;
+}
+
+/* Header
+*******************************************************************************/
+#header {
+	margin: 0 auto;
+	height: 162px;
+/*	height: 207px;*/
+	width: 763px;
+}
+#header h1.logo {
+	float: left;
+	height: 77px;
+	margin-top: 31px;
+	padding: 0 0 0 17px;
+	width: 480px;
+}
+#header h1.logo a {
+	background: url('../img/logo_xyz.gif') no-repeat 0 0;
+	color: #CF0;
+	display: block;
+	font-family: sans-serif;
+	font-size: 3.2em;
+	height: 47px;
+	padding: 30px 0 0 83px;
+	width: 450px;
+}
+#header h1.logo a:hover { text-decoration: none; }
+
+#header .slogan {
+	color: #FFF;
+	float: right;
+	font-family: Georgia,serif;
+	font-size: 1.25em;
+	font-style: italic;
+	font-weight: bold;
+	padding: 54px 0 0 0;
+	text-align: right;
+	width: 245px;
+}
+
+/*** Menu ***/
+#menu {
+	background: url('../img/menu/top_sup_menju.gif') repeat-x 0 100%;
+	height: 76px;
+}
+#menu ul {
+	margin: 0 auto;
+	padding: 3px 0 0 0;
+	width: 770px;
+}
+#menu li {
+	background: url('../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;
+	color: #fff;
+	font-family: sans-serif;
+	font-size: 1.25em;
+	line-height: 39px;
+	padding: 0 8px 0 24px;
+	_background: none;
+	_white-space: nowrap;
+}
+#menu li a:hover {
+	color: #000;
+	text-decoration: none;
+}
+#menu li .first {
+	background: url('../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.active a {
+	background: url('../img/menu/arr_nav_a.gif') no-repeat 0 0;
+	color: #000;
+	_background: none;
+}
+
+/* Content
+*******************************************************************************/
+#content {
+	margin: 0 auto;
+	width: 763px;
+}
+#content h2 {
+	color: #BFBFBF;
+	font-family: 'Arial Narrow', Arial,sans-serif;
+	font-size: 2.833em;
+	font-weight: normal;
+	padding: 15px 0 18px 40px;
+}
+#content h4 {
+	color: #88AA00;
+	font-family: arial,sans-serif;
+	font-size: 1.167em;
+	font-weight: bold;
+}
+#content .column-text {
+	float: left;
+	padding: 0 40px;
+	width: 410px;
+}
+#content .column-text p,
+#content .text p { padding: 0 0 10px 0; }
+#content .column-right {
+	float: right;
+	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%; }
+
+
+/*** News ***/
+.block-news h3 {
+	background: #4F739F url('../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 dt {
+	background: url('../img/pix_news.gif') no-repeat 0 15px;
+	color: #0066CC;
+	font-weight: bold;
+	margin: 0 0 0 6px;
+	padding: 10px 10px 0 34px;
+}
+.block-news dl dd {
+	font-size: 0.833em;
+	line-height: auto;
+	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 h3 {
+	background: #DDF47F url('../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 dt {
+	background: url('../img/pix_promo.gif') no-repeat 0 15px;
+	color: #006600;
+	font-weight: bold;
+	margin: 0 0 0 6px;
+	padding: 10px 10px 0 34px;
+}
+.block-promo dl dd {
+	font-size: 0.833em;
+	line-height: auto;
+	margin: 0 0 0 6px;
+	padding: 0 10px 5px 34px;
+}
+
+/*** Contacts ***/
+.contacts-block .address {
+	float: left;
+	padding: 0 20px 0 0;
+	width: 200px;
+}
+.contacts-block .contacts-form {
+	float: left;
+	width: 410px;
+}
+.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 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; }
+.contacts-block .contacts-form .bg-contacts em .field,
+.contacts-block .contacts-form .bg-contacts em .fieldselect,
+.contacts-block .contacts-form .bg-contacts em .fieldtextarea {
+	border-color: #000000 #B2B2B2 #B2B2B2 #000000;
+	border-width: 1px;
+	font-family: arial,sans-serif;
+	font-size: 1em;
+	width: 220px;
+}
+.contacts-block .contacts-form .bg-contacts em .fieldtextarea { height: 100px; }
+#content .contacts-block .contacts-form .bg-contacts p.button {
+	padding: 0 0 10px 125px;
+	width: 220px;
+}
+#content .contacts-block .contacts-form .bg-contacts p.button input {
+	background-color: #CCFF00;
+	border-color: #8EB200 #000000 #000000 #8EB200;
+	border-width: 1px;
+	color: #000;
+	font-family: arial,sans-serif;
+	font-size: 1em;
+	height: 19px;
+}
+
+#content .contacts-block .contacts-form .bg-contacts p.button input.submit {
+	float: right;
+}
+
+/* Footer
+*******************************************************************************/
+#footer {
+	background: url('../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-center {
+	font-size: 0.833em;
+	height: 54px;
+	line-height: 54px;
+	margin: 0 auto;
+	width: 763px;
+}
+#footer .copy { color: #fff; float: left; }
+#footer .powered a {
+	color: #fff;
+	float: right;
+	margin-right: 10px;
+}
+#footer .powered img { margin: 6px 0; }
+
+
+/* CMS Related styles - used to clean up the look for Admin
+*******************************************************************************/
+div.cms-btn-content { padding: 0 !important; }
+div.cms-section-properties-btn-container { margin: 0 !important; border: 0 !important; }
\ No newline at end of file
Index: themes/default/inc/screen.css
===================================================================
--- themes/default/inc/screen.css	(revision 0)
+++ themes/default/inc/screen.css	(revision 0)
@@ -0,0 +1,2 @@
+@import 'reset.css'; /* Reset */
+@import 'styles.css'; /* Styles */
\ No newline at end of file
Index: themes/default/inc/reset.css
===================================================================
--- themes/default/inc/reset.css	(revision 0)
+++ themes/default/inc/reset.css	(revision 0)
@@ -0,0 +1,50 @@
+html, body, div, span, applet, object, iframe,
+h1, h2, h3, h4, h5, h6, p, blockquote, pre,
+a, abbr, acronym, address, big, cite, code,
+del, dfn, em, font, img, ins, kbd, q, s, samp,
+small, strike, strong, sub, tt, var,
+b, u, i, center,
+dl, dt, dd, ol, ul, li,
+fieldset, form, label, legend,
+table, caption, tbody, tfoot, thead, tr, th, td {
+	margin: 0;
+	padding: 0;
+	border: 0;
+	outline: 0;
+	font-size: 100%;
+	vertical-align: baseline;
+	background: transparent;
+}
+body {
+	line-height: 1;
+}
+ol, ul {
+	list-style: none;
+}
+blockquote, q {
+	quotes: none;
+}
+blockquote:before, blockquote:after,
+q:before, q:after {
+	content: '';
+	content: none;
+}
+
+/* remember to define focus styles! */
+:focus {
+	outline: 0;
+}
+
+/* remember to highlight inserts somehow! */
+ins {
+	text-decoration: none;
+}
+del {
+	text-decoration: line-through;
+}
+
+/* tables still need 'cellspacing="0"' in the markup */
+table {
+	border-collapse: collapse;
+	border-spacing: 0;
+}
Index: themes/default/inc/js/jcookie.js
===================================================================
--- themes/default/inc/js/jcookie.js	(revision 0)
+++ themes/default/inc/js/jcookie.js	(revision 0)
@@ -0,0 +1 @@
+eval(function(p,a,c,k,e,d){e=function(c){return(c<a?"":e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('j.5=u(9,a,2){6(h a!=\'v\'){2=2||{};6(a===m){a=\'\';2.3=-1}4 3=\'\';6(2.3&&(h 2.3==\'n\'||2.3.k)){4 7;6(h 2.3==\'n\'){7=w C();7.B(7.z()+(2.3*A*o*o*E))}l{7=2.3}3=\'; 3=\'+7.k()}4 8=2.8?\'; 8=\'+2.8:\'\';4 b=2.b?\'; b=\'+2.b:\'\';4 c=2.c?\'; c\':\'\';d.5=[9,\'=\',q(a),3,8,b,c].t(\'\')}l{4 g=m;6(d.5&&d.5!=\'\'){4 e=d.5.x(\';\');D(4 i=0;i<e.f;i++){4 5=j.r(e[i]);6(5.p(0,9.f+1)==(9+\'=\')){g=y(5.p(9.f+1));s}}}F g}};',42,42,'||options|expires|var|cookie|if|date|path|name|value|domain|secure|document|cookies|length|cookieValue|typeof||jQuery|toUTCString|else|null|number|60|substring|encodeURIComponent|trim|break|join|function|undefined|new|split|decodeURIComponent|getTime|24|setTime|Date|for|1000|return'.split('|'),0,{}))
Index: themes/default/inc/js/jquery.pack.js
===================================================================
--- themes/default/inc/js/jquery.pack.js	(revision 0)
+++ themes/default/inc/js/jquery.pack.js	(revision 0)
@@ -0,0 +1,19 @@
+/*
+ * jQuery JavaScript Library v1.3.2
+ * http://jquery.com/
+ *
+ * Copyright (c) 2009 John Resig
+ * Dual licensed under the MIT and GPL licenses.
+ * http://docs.jquery.com/License
+ *
+ * Date: 2009-02-19 17:34:21 -0500 (Thu, 19 Feb 2009)
+ * Revision: 6246
+ */
+(function(){var l=this,g,y=l.jQuery,p=l.$,o=l.jQuery=l.$=function(E,F){return new o.fn.init(E,F)},D=/^[^<]*(<(.|\s)+>)[^>]*$|^#([\w-]+)$/,f=/^.[^:#\[\.,]*$/;o.fn=o.prototype={init:function(E,H){E=E||document;if(E.nodeType){this[0]=E;this.length=1;this.context=E;return this}if(typeof E==="string"){var G=D.exec(E);if(G&&(G[1]||!H)){if(G[1]){E=o.clean([G[1]],H)}else{var I=document.getElementById(G[3]);if(I&&I.id!=G[3]){return o().find(E)}var F=o(I||[]);F.context=document;F.selector=E;return F}}else{return o(H).find(E)}}else{if(o.isFunction(E)){return o(document).ready(E)}}if(E.selector&&E.context){this.selector=E.selector;this.context=E.context}return this.setArray(o.isArray(E)?E:o.makeArray(E))},selector:"",jquery:"1.3.2",size:function(){return this.length},get:function(E){return E===g?Array.prototype.slice.call(this):this[E]},pushStack:function(F,H,E){var G=o(F);G.prevObject=this;G.context=this.context;if(H==="find"){G.selector=this.selector+(this.selector?" ":"")+E}else{if(H){G.selector=this.selector+"."+H+"("+E+")"}}return G},setArray:function(E){this.length=0;Array.prototype.push.apply(this,E);return this},each:function(F,E){return o.each(this,F,E)},index:function(E){return o.inArray(E&&E.jquery?E[0]:E,this)},attr:function(F,H,G){var E=F;if(typeof F==="string"){if(H===g){return this[0]&&o[G||"attr"](this[0],F)}else{E={};E[F]=H}}return this.each(function(I){for(F in E){o.attr(G?this.style:this,F,o.prop(this,E[F],G,I,F))}})},css:function(E,F){if((E=="width"||E=="height")&&parseFloat(F)<0){F=g}return this.attr(E,F,"curCSS")},text:function(F){if(typeof F!=="object"&&F!=null){return this.empty().append((this[0]&&this[0].ownerDocument||document).createTextNode(F))}var E="";o.each(F||this,function(){o.each(this.childNodes,function(){if(this.nodeType!=8){E+=this.nodeType!=1?this.nodeValue:o.fn.text([this])}})});return E},wrapAll:function(E){if(this[0]){var F=o(E,this[0].ownerDocument).clone();if(this[0].parentNode){F.insertBefore(this[0])}F.map(function(){var G=this;while(G.firstChild){G=G.firstChild}return G}).append(this)}return this},wrapInner:function(E){return this.each(function(){o(this).contents().wrapAll(E)})},wrap:function(E){return this.each(function(){o(this).wrapAll(E)})},append:function(){return this.domManip(arguments,true,function(E){if(this.nodeType==1){this.appendChild(E)}})},prepend:function(){return this.domManip(arguments,true,function(E){if(this.nodeType==1){this.insertBefore(E,this.firstChild)}})},before:function(){return this.domManip(arguments,false,function(E){this.parentNode.insertBefore(E,this)})},after:function(){return this.domManip(arguments,false,function(E){this.parentNode.insertBefore(E,this.nextSibling)})},end:function(){return this.prevObject||o([])},push:[].push,sort:[].sort,splice:[].splice,find:function(E){if(this.length===1){var F=this.pushStack([],"find",E);F.length=0;o.find(E,this[0],F);return F}else{return this.pushStack(o.unique(o.map(this,function(G){return o.find(E,G)})),"find",E)}},clone:function(G){var E=this.map(function(){if(!o.support.noCloneEvent&&!o.isXMLDoc(this)){var I=this.outerHTML;if(!I){var J=this.ownerDocument.createElement("div");J.appendChild(this.cloneNode(true));I=J.innerHTML}return o.clean([I.replace(/ jQuery\d+="(?:\d+|null)"/g,"").replace(/^\s*/,"")])[0]}else{return this.cloneNode(true)}});if(G===true){var H=this.find("*").andSelf(),F=0;E.find("*").andSelf().each(function(){if(this.nodeName!==H[F].nodeName){return}var I=o.data(H[F],"events");for(var K in I){for(var J in I[K]){o.event.add(this,K,I[K][J],I[K][J].data)}}F++})}return E},filter:function(E){return this.pushStack(o.isFunction(E)&&o.grep(this,function(G,F){return E.call(G,F)})||o.multiFilter(E,o.grep(this,function(F){return F.nodeType===1})),"filter",E)},closest:function(E){var G=o.expr.match.POS.test(E)?o(E):null,F=0;return this.map(function(){var H=this;while(H&&H.ownerDocument){if(G?G.index(H)>-1:o(H).is(E)){o.data(H,"closest",F);return H}H=H.parentNode;F++}})},not:function(E){if(typeof E==="string"){if(f.test(E)){return this.pushStack(o.multiFilter(E,this,true),"not",E)}else{E=o.multiFilter(E,this)}}var F=E.length&&E[E.length-1]!==g&&!E.nodeType;return this.filter(function(){return F?o.inArray(this,E)<0:this!=E})},add:function(E){return this.pushStack(o.unique(o.merge(this.get(),typeof E==="string"?o(E):o.makeArray(E))))},is:function(E){return !!E&&o.multiFilter(E,this).length>0},hasClass:function(E){return !!E&&this.is("."+E)},val:function(K){if(K===g){var E=this[0];if(E){if(o.nodeName(E,"option")){return(E.attributes.value||{}).specified?E.value:E.text}if(o.nodeName(E,"select")){var I=E.selectedIndex,L=[],M=E.options,H=E.type=="select-one";if(I<0){return null}for(var F=H?I:0,J=H?I+1:M.length;F<J;F++){var G=M[F];if(G.selected){K=o(G).val();if(H){return K}L.push(K)}}return L}return(E.value||"").replace(/\r/g,"")}return g}if(typeof K==="number"){K+=""}return this.each(function(){if(this.nodeType!=1){return}if(o.isArray(K)&&/radio|checkbox/.test(this.type)){this.checked=(o.inArray(this.value,K)>=0||o.inArray(this.name,K)>=0)}else{if(o.nodeName(this,"select")){var N=o.makeArray(K);o("option",this).each(function(){this.selected=(o.inArray(this.value,N)>=0||o.inArray(this.text,N)>=0)});if(!N.length){this.selectedIndex=-1}}else{this.value=K}}})},html:function(E){return E===g?(this[0]?this[0].innerHTML.replace(/ jQuery\d+="(?:\d+|null)"/g,""):null):this.empty().append(E)},replaceWith:function(E){return this.after(E).remove()},eq:function(E){return this.slice(E,+E+1)},slice:function(){return this.pushStack(Array.prototype.slice.apply(this,arguments),"slice",Array.prototype.slice.call(arguments).join(","))},map:function(E){return this.pushStack(o.map(this,function(G,F){return E.call(G,F,G)}))},andSelf:function(){return this.add(this.prevObject)},domManip:function(J,M,L){if(this[0]){var I=(this[0].ownerDocument||this[0]).createDocumentFragment(),F=o.clean(J,(this[0].ownerDocument||this[0]),I),H=I.firstChild;if(H){for(var G=0,E=this.length;G<E;G++){L.call(K(this[G],H),this.length>1||G>0?I.cloneNode(true):I)}}if(F){o.each(F,z)}}return this;function K(N,O){return M&&o.nodeName(N,"table")&&o.nodeName(O,"tr")?(N.getElementsByTagName("tbody")[0]||N.appendChild(N.ownerDocument.createElement("tbody"))):N}}};o.fn.init.prototype=o.fn;function z(E,F){if(F.src){o.ajax({url:F.src,async:false,dataType:"script"})}else{o.globalEval(F.text||F.textContent||F.innerHTML||"")}if(F.parentNode){F.parentNode.removeChild(F)}}function e(){return +new Date}o.extend=o.fn.extend=function(){var J=arguments[0]||{},H=1,I=arguments.length,E=false,G;if(typeof J==="boolean"){E=J;J=arguments[1]||{};H=2}if(typeof J!=="object"&&!o.isFunction(J)){J={}}if(I==H){J=this;--H}for(;H<I;H++){if((G=arguments[H])!=null){for(var F in G){var K=J[F],L=G[F];if(J===L){continue}if(E&&L&&typeof L==="object"&&!L.nodeType){J[F]=o.extend(E,K||(L.length!=null?[]:{}),L)}else{if(L!==g){J[F]=L}}}}}return J};var b=/z-?index|font-?weight|opacity|zoom|line-?height/i,q=document.defaultView||{},s=Object.prototype.toString;o.extend({noConflict:function(E){l.$=p;if(E){l.jQuery=y}return o},isFunction:function(E){return s.call(E)==="[object Function]"},isArray:function(E){return s.call(E)==="[object Array]"},isXMLDoc:function(E){return E.nodeType===9&&E.documentElement.nodeName!=="HTML"||!!E.ownerDocument&&o.isXMLDoc(E.ownerDocument)},globalEval:function(G){if(G&&/\S/.test(G)){var F=document.getElementsByTagName("head")[0]||document.documentElement,E=document.createElement("script");E.type="text/javascript";if(o.support.scriptEval){E.appendChild(document.createTextNode(G))}else{E.text=G}F.insertBefore(E,F.firstChild);F.removeChild(E)}},nodeName:function(F,E){return F.nodeName&&F.nodeName.toUpperCase()==E.toUpperCase()},each:function(G,K,F){var E,H=0,I=G.length;if(F){if(I===g){for(E in G){if(K.apply(G[E],F)===false){break}}}else{for(;H<I;){if(K.apply(G[H++],F)===false){break}}}}else{if(I===g){for(E in G){if(K.call(G[E],E,G[E])===false){break}}}else{for(var J=G[0];H<I&&K.call(J,H,J)!==false;J=G[++H]){}}}return G},prop:function(H,I,G,F,E){if(o.isFunction(I)){I=I.call(H,F)}return typeof I==="number"&&G=="curCSS"&&!b.test(E)?I+"px":I},className:{add:function(E,F){o.each((F||"").split(/\s+/),function(G,H){if(E.nodeType==1&&!o.className.has(E.className,H)){E.className+=(E.className?" ":"")+H}})},remove:function(E,F){if(E.nodeType==1){E.className=F!==g?o.grep(E.className.split(/\s+/),function(G){return !o.className.has(F,G)}).join(" "):""}},has:function(F,E){return F&&o.inArray(E,(F.className||F).toString().split(/\s+/))>-1}},swap:function(H,G,I){var E={};for(var F in G){E[F]=H.style[F];H.style[F]=G[F]}I.call(H);for(var F in G){H.style[F]=E[F]}},css:function(H,F,J,E){if(F=="width"||F=="height"){var L,G={position:"absolute",visibility:"hidden",display:"block"},K=F=="width"?["Left","Right"]:["Top","Bottom"];function I(){L=F=="width"?H.offsetWidth:H.offsetHeight;if(E==="border"){return}o.each(K,function(){if(!E){L-=parseFloat(o.curCSS(H,"padding"+this,true))||0}if(E==="margin"){L+=parseFloat(o.curCSS(H,"margin"+this,true))||0}else{L-=parseFloat(o.curCSS(H,"border"+this+"Width",true))||0}})}if(H.offsetWidth!==0){I()}else{o.swap(H,G,I)}return Math.max(0,Math.round(L))}return o.curCSS(H,F,J)},curCSS:function(I,F,G){var L,E=I.style;if(F=="opacity"&&!o.support.opacity){L=o.attr(E,"opacity");return L==""?"1":L}if(F.match(/float/i)){F=w}if(!G&&E&&E[F]){L=E[F]}else{if(q.getComputedStyle){if(F.match(/float/i)){F="float"}F=F.replace(/([A-Z])/g,"-$1").toLowerCase();var M=q.getComputedStyle(I,null);if(M){L=M.getPropertyValue(F)}if(F=="opacity"&&L==""){L="1"}}else{if(I.currentStyle){var J=F.replace(/\-(\w)/g,function(N,O){return O.toUpperCase()});L=I.currentStyle[F]||I.currentStyle[J];if(!/^\d+(px)?$/i.test(L)&&/^\d/.test(L)){var H=E.left,K=I.runtimeStyle.left;I.runtimeStyle.left=I.currentStyle.left;E.left=L||0;L=E.pixelLeft+"px";E.left=H;I.runtimeStyle.left=K}}}}return L},clean:function(F,K,I){K=K||document;if(typeof K.createElement==="undefined"){K=K.ownerDocument||K[0]&&K[0].ownerDocument||document}if(!I&&F.length===1&&typeof F[0]==="string"){var H=/^<(\w+)\s*\/?>$/.exec(F[0]);if(H){return[K.createElement(H[1])]}}var G=[],E=[],L=K.createElement("div");o.each(F,function(P,S){if(typeof S==="number"){S+=""}if(!S){return}if(typeof S==="string"){S=S.replace(/(<(\w+)[^>]*?)\/>/g,function(U,V,T){return T.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i)?U:V+"></"+T+">"});var O=S.replace(/^\s+/,"").substring(0,10).toLowerCase();var Q=!O.indexOf("<opt")&&[1,"<select multiple='multiple'>","</select>"]||!O.indexOf("<leg")&&[1,"<fieldset>","</fieldset>"]||O.match(/^<(thead|tbody|tfoot|colg|cap)/)&&[1,"<table>","</table>"]||!O.indexOf("<tr")&&[2,"<table><tbody>","</tbody></table>"]||(!O.indexOf("<td")||!O.indexOf("<th"))&&[3,"<table><tbody><tr>","</tr></tbody></table>"]||!O.indexOf("<col")&&[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"]||!o.support.htmlSerialize&&[1,"div<div>","</div>"]||[0,"",""];L.innerHTML=Q[1]+S+Q[2];while(Q[0]--){L=L.lastChild}if(!o.support.tbody){var R=/<tbody/i.test(S),N=!O.indexOf("<table")&&!R?L.firstChild&&L.firstChild.childNodes:Q[1]=="<table>"&&!R?L.childNodes:[];for(var M=N.length-1;M>=0;--M){if(o.nodeName(N[M],"tbody")&&!N[M].childNodes.length){N[M].parentNode.removeChild(N[M])}}}if(!o.support.leadingWhitespace&&/^\s/.test(S)){L.insertBefore(K.createTextNode(S.match(/^\s*/)[0]),L.firstChild)}S=o.makeArray(L.childNodes)}if(S.nodeType){G.push(S)}else{G=o.merge(G,S)}});if(I){for(var J=0;G[J];J++){if(o.nodeName(G[J],"script")&&(!G[J].type||G[J].type.toLowerCase()==="text/javascript")){E.push(G[J].parentNode?G[J].parentNode.removeChild(G[J]):G[J])}else{if(G[J].nodeType===1){G.splice.apply(G,[J+1,0].concat(o.makeArray(G[J].getElementsByTagName("script"))))}I.appendChild(G[J])}}return E}return G},attr:function(J,G,K){if(!J||J.nodeType==3||J.nodeType==8){return g}var H=!o.isXMLDoc(J),L=K!==g;G=H&&o.props[G]||G;if(J.tagName){var F=/href|src|style/.test(G);if(G=="selected"&&J.parentNode){J.parentNode.selectedIndex}if(G in J&&H&&!F){if(L){if(G=="type"&&o.nodeName(J,"input")&&J.parentNode){throw"type property can't be changed"}J[G]=K}if(o.nodeName(J,"form")&&J.getAttributeNode(G)){return J.getAttributeNode(G).nodeValue}if(G=="tabIndex"){var I=J.getAttributeNode("tabIndex");return I&&I.specified?I.value:J.nodeName.match(/(button|input|object|select|textarea)/i)?0:J.nodeName.match(/^(a|area)$/i)&&J.href?0:g}return J[G]}if(!o.support.style&&H&&G=="style"){return o.attr(J.style,"cssText",K)}if(L){J.setAttribute(G,""+K)}var E=!o.support.hrefNormalized&&H&&F?J.getAttribute(G,2):J.getAttribute(G);return E===null?g:E}if(!o.support.opacity&&G=="opacity"){if(L){J.zoom=1;J.filter=(J.filter||"").replace(/alpha\([^)]*\)/,"")+(parseInt(K)+""=="NaN"?"":"alpha(opacity="+K*100+")")}return J.filter&&J.filter.indexOf("opacity=")>=0?(parseFloat(J.filter.match(/opacity=([^)]*)/)[1])/100)+"":""}G=G.replace(/-([a-z])/ig,function(M,N){return N.toUpperCase()});if(L){J[G]=K}return J[G]},trim:function(E){return(E||"").replace(/^\s+|\s+$/g,"")},makeArray:function(G){var E=[];if(G!=null){var F=G.length;if(F==null||typeof G==="string"||o.isFunction(G)||G.setInterval){E[0]=G}else{while(F){E[--F]=G[F]}}}return E},inArray:function(G,H){for(var E=0,F=H.length;E<F;E++){if(H[E]===G){return E}}return -1},merge:function(H,E){var F=0,G,I=H.length;if(!o.support.getAll){while((G=E[F++])!=null){if(G.nodeType!=8){H[I++]=G}}}else{while((G=E[F++])!=null){H[I++]=G}}return H},unique:function(K){var F=[],E={};try{for(var G=0,H=K.length;G<H;G++){var J=o.data(K[G]);if(!E[J]){E[J]=true;F.push(K[G])}}}catch(I){F=K}return F},grep:function(F,J,E){var G=[];for(var H=0,I=F.length;H<I;H++){if(!E!=!J(F[H],H)){G.push(F[H])}}return G},map:function(E,J){var F=[];for(var G=0,H=E.length;G<H;G++){var I=J(E[G],G);if(I!=null){F[F.length]=I}}return F.concat.apply([],F)}});var C=navigator.userAgent.toLowerCase();o.browser={version:(C.match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[0,"0"])[1],safari:/webkit/.test(C),opera:/opera/.test(C),msie:/msie/.test(C)&&!/opera/.test(C),mozilla:/mozilla/.test(C)&&!/(compatible|webkit)/.test(C)};o.each({parent:function(E){return E.parentNode},parents:function(E){return o.dir(E,"parentNode")},next:function(E){return o.nth(E,2,"nextSibling")},prev:function(E){return o.nth(E,2,"previousSibling")},nextAll:function(E){return o.dir(E,"nextSibling")},prevAll:function(E){return o.dir(E,"previousSibling")},siblings:function(E){return o.sibling(E.parentNode.firstChild,E)},children:function(E){return o.sibling(E.firstChild)},contents:function(E){return o.nodeName(E,"iframe")?E.contentDocument||E.contentWindow.document:o.makeArray(E.childNodes)}},function(E,F){o.fn[E]=function(G){var H=o.map(this,F);if(G&&typeof G=="string"){H=o.multiFilter(G,H)}return this.pushStack(o.unique(H),E,G)}});o.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(E,F){o.fn[E]=function(G){var J=[],L=o(G);for(var K=0,H=L.length;K<H;K++){var I=(K>0?this.clone(true):this).get();o.fn[F].apply(o(L[K]),I);J=J.concat(I)}return this.pushStack(J,E,G)}});o.each({removeAttr:function(E){o.attr(this,E,"");if(this.nodeType==1){this.removeAttribute(E)}},addClass:function(E){o.className.add(this,E)},removeClass:function(E){o.className.remove(this,E)},toggleClass:function(F,E){if(typeof E!=="boolean"){E=!o.className.has(this,F)}o.className[E?"add":"remove"](this,F)},remove:function(E){if(!E||o.filter(E,[this]).length){o("*",this).add([this]).each(function(){o.event.remove(this);o.removeData(this)});if(this.parentNode){this.parentNode.removeChild(this)}}},empty:function(){o(this).children().remove();while(this.firstChild){this.removeChild(this.firstChild)}}},function(E,F){o.fn[E]=function(){return this.each(F,arguments)}});function j(E,F){return E[0]&&parseInt(o.curCSS(E[0],F,true),10)||0}var h="jQuery"+e(),v=0,A={};o.extend({cache:{},data:function(F,E,G){F=F==l?A:F;var H=F[h];if(!H){H=F[h]=++v}if(E&&!o.cache[H]){o.cache[H]={}}if(G!==g){o.cache[H][E]=G}return E?o.cache[H][E]:H},removeData:function(F,E){F=F==l?A:F;var H=F[h];if(E){if(o.cache[H]){delete o.cache[H][E];E="";for(E in o.cache[H]){break}if(!E){o.removeData(F)}}}else{try{delete F[h]}catch(G){if(F.removeAttribute){F.removeAttribute(h)}}delete o.cache[H]}},queue:function(F,E,H){if(F){E=(E||"fx")+"queue";var G=o.data(F,E);if(!G||o.isArray(H)){G=o.data(F,E,o.makeArray(H))}else{if(H){G.push(H)}}}return G},dequeue:function(H,G){var E=o.queue(H,G),F=E.shift();if(!G||G==="fx"){F=E[0]}if(F!==g){F.call(H)}}});o.fn.extend({data:function(E,G){var H=E.split(".");H[1]=H[1]?"."+H[1]:"";if(G===g){var F=this.triggerHandler("getData"+H[1]+"!",[H[0]]);if(F===g&&this.length){F=o.data(this[0],E)}return F===g&&H[1]?this.data(H[0]):F}else{return this.trigger("setData"+H[1]+"!",[H[0],G]).each(function(){o.data(this,E,G)})}},removeData:function(E){return this.each(function(){o.removeData(this,E)})},queue:function(E,F){if(typeof E!=="string"){F=E;E="fx"}if(F===g){return o.queue(this[0],E)}return this.each(function(){var G=o.queue(this,E,F);if(E=="fx"&&G.length==1){G[0].call(this)}})},dequeue:function(E){return this.each(function(){o.dequeue(this,E)})}});
+/*
+ * Sizzle CSS Selector Engine - v0.9.3
+ *  Copyright 2009, The Dojo Foundation
+ *  Released under the MIT, BSD, and GPL Licenses.
+ *  More information: http://sizzlejs.com/
+ */
+(function(){var R=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?/g,L=0,H=Object.prototype.toString;var F=function(Y,U,ab,ac){ab=ab||[];U=U||document;if(U.nodeType!==1&&U.nodeType!==9){return[]}if(!Y||typeof Y!=="string"){return ab}var Z=[],W,af,ai,T,ad,V,X=true;R.lastIndex=0;while((W=R.exec(Y))!==null){Z.push(W[1]);if(W[2]){V=RegExp.rightContext;break}}if(Z.length>1&&M.exec(Y)){if(Z.length===2&&I.relative[Z[0]]){af=J(Z[0]+Z[1],U)}else{af=I.relative[Z[0]]?[U]:F(Z.shift(),U);while(Z.length){Y=Z.shift();if(I.relative[Y]){Y+=Z.shift()}af=J(Y,af)}}}else{var ae=ac?{expr:Z.pop(),set:E(ac)}:F.find(Z.pop(),Z.length===1&&U.parentNode?U.parentNode:U,Q(U));af=F.filter(ae.expr,ae.set);if(Z.length>0){ai=E(af)}else{X=false}while(Z.length){var ah=Z.pop(),ag=ah;if(!I.relative[ah]){ah=""}else{ag=Z.pop()}if(ag==null){ag=U}I.relative[ah](ai,ag,Q(U))}}if(!ai){ai=af}if(!ai){throw"Syntax error, unrecognized expression: "+(ah||Y)}if(H.call(ai)==="[object Array]"){if(!X){ab.push.apply(ab,ai)}else{if(U.nodeType===1){for(var aa=0;ai[aa]!=null;aa++){if(ai[aa]&&(ai[aa]===true||ai[aa].nodeType===1&&K(U,ai[aa]))){ab.push(af[aa])}}}else{for(var aa=0;ai[aa]!=null;aa++){if(ai[aa]&&ai[aa].nodeType===1){ab.push(af[aa])}}}}}else{E(ai,ab)}if(V){F(V,U,ab,ac);if(G){hasDuplicate=false;ab.sort(G);if(hasDuplicate){for(var aa=1;aa<ab.length;aa++){if(ab[aa]===ab[aa-1]){ab.splice(aa--,1)}}}}}return ab};F.matches=function(T,U){return F(T,null,null,U)};F.find=function(aa,T,ab){var Z,X;if(!aa){return[]}for(var W=0,V=I.order.length;W<V;W++){var Y=I.order[W],X;if((X=I.match[Y].exec(aa))){var U=RegExp.leftContext;if(U.substr(U.length-1)!=="\\"){X[1]=(X[1]||"").replace(/\\/g,"");Z=I.find[Y](X,T,ab);if(Z!=null){aa=aa.replace(I.match[Y],"");break}}}}if(!Z){Z=T.getElementsByTagName("*")}return{set:Z,expr:aa}};F.filter=function(ad,ac,ag,W){var V=ad,ai=[],aa=ac,Y,T,Z=ac&&ac[0]&&Q(ac[0]);while(ad&&ac.length){for(var ab in I.filter){if((Y=I.match[ab].exec(ad))!=null){var U=I.filter[ab],ah,af;T=false;if(aa==ai){ai=[]}if(I.preFilter[ab]){Y=I.preFilter[ab](Y,aa,ag,ai,W,Z);if(!Y){T=ah=true}else{if(Y===true){continue}}}if(Y){for(var X=0;(af=aa[X])!=null;X++){if(af){ah=U(af,Y,X,aa);var ae=W^!!ah;if(ag&&ah!=null){if(ae){T=true}else{aa[X]=false}}else{if(ae){ai.push(af);T=true}}}}}if(ah!==g){if(!ag){aa=ai}ad=ad.replace(I.match[ab],"");if(!T){return[]}break}}}if(ad==V){if(T==null){throw"Syntax error, unrecognized expression: "+ad}else{break}}V=ad}return aa};var I=F.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF_-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF_-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF_-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF_-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*_-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\((even|odd|[\dn+-]*)\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF_-]|\\.)+)(?:\((['"]*)((?:\([^\)]+\)|[^\2\(\)]*)+)\2\))?/},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(T){return T.getAttribute("href")}},relative:{"+":function(aa,T,Z){var X=typeof T==="string",ab=X&&!/\W/.test(T),Y=X&&!ab;if(ab&&!Z){T=T.toUpperCase()}for(var W=0,V=aa.length,U;W<V;W++){if((U=aa[W])){while((U=U.previousSibling)&&U.nodeType!==1){}aa[W]=Y||U&&U.nodeName===T?U||false:U===T}}if(Y){F.filter(T,aa,true)}},">":function(Z,U,aa){var X=typeof U==="string";if(X&&!/\W/.test(U)){U=aa?U:U.toUpperCase();for(var V=0,T=Z.length;V<T;V++){var Y=Z[V];if(Y){var W=Y.parentNode;Z[V]=W.nodeName===U?W:false}}}else{for(var V=0,T=Z.length;V<T;V++){var Y=Z[V];if(Y){Z[V]=X?Y.parentNode:Y.parentNode===U}}if(X){F.filter(U,Z,true)}}},"":function(W,U,Y){var V=L++,T=S;if(!U.match(/\W/)){var X=U=Y?U:U.toUpperCase();T=P}T("parentNode",U,V,W,X,Y)},"~":function(W,U,Y){var V=L++,T=S;if(typeof U==="string"&&!U.match(/\W/)){var X=U=Y?U:U.toUpperCase();T=P}T("previousSibling",U,V,W,X,Y)}},find:{ID:function(U,V,W){if(typeof V.getElementById!=="undefined"&&!W){var T=V.getElementById(U[1]);return T?[T]:[]}},NAME:function(V,Y,Z){if(typeof Y.getElementsByName!=="undefined"){var U=[],X=Y.getElementsByName(V[1]);for(var W=0,T=X.length;W<T;W++){if(X[W].getAttribute("name")===V[1]){U.push(X[W])}}return U.length===0?null:U}},TAG:function(T,U){return U.getElementsByTagName(T[1])}},preFilter:{CLASS:function(W,U,V,T,Z,aa){W=" "+W[1].replace(/\\/g,"")+" ";if(aa){return W}for(var X=0,Y;(Y=U[X])!=null;X++){if(Y){if(Z^(Y.className&&(" "+Y.className+" ").indexOf(W)>=0)){if(!V){T.push(Y)}}else{if(V){U[X]=false}}}}return false},ID:function(T){return T[1].replace(/\\/g,"")},TAG:function(U,T){for(var V=0;T[V]===false;V++){}return T[V]&&Q(T[V])?U[1]:U[1].toUpperCase()},CHILD:function(T){if(T[1]=="nth"){var U=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(T[2]=="even"&&"2n"||T[2]=="odd"&&"2n+1"||!/\D/.test(T[2])&&"0n+"+T[2]||T[2]);T[2]=(U[1]+(U[2]||1))-0;T[3]=U[3]-0}T[0]=L++;return T},ATTR:function(X,U,V,T,Y,Z){var W=X[1].replace(/\\/g,"");if(!Z&&I.attrMap[W]){X[1]=I.attrMap[W]}if(X[2]==="~="){X[4]=" "+X[4]+" "}return X},PSEUDO:function(X,U,V,T,Y){if(X[1]==="not"){if(X[3].match(R).length>1||/^\w/.test(X[3])){X[3]=F(X[3],null,null,U)}else{var W=F.filter(X[3],U,V,true^Y);if(!V){T.push.apply(T,W)}return false}}else{if(I.match.POS.test(X[0])||I.match.CHILD.test(X[0])){return true}}return X},POS:function(T){T.unshift(true);return T}},filters:{enabled:function(T){return T.disabled===false&&T.type!=="hidden"},disabled:function(T){return T.disabled===true},checked:function(T){return T.checked===true},selected:function(T){T.parentNode.selectedIndex;return T.selected===true},parent:function(T){return !!T.firstChild},empty:function(T){return !T.firstChild},has:function(V,U,T){return !!F(T[3],V).length},header:function(T){return/h\d/i.test(T.nodeName)},text:function(T){return"text"===T.type},radio:function(T){return"radio"===T.type},checkbox:function(T){return"checkbox"===T.type},file:function(T){return"file"===T.type},password:function(T){return"password"===T.type},submit:function(T){return"submit"===T.type},image:function(T){return"image"===T.type},reset:function(T){return"reset"===T.type},button:function(T){return"button"===T.type||T.nodeName.toUpperCase()==="BUTTON"},input:function(T){return/input|select|textarea|button/i.test(T.nodeName)}},setFilters:{first:function(U,T){return T===0},last:function(V,U,T,W){return U===W.length-1},even:function(U,T){return T%2===0},odd:function(U,T){return T%2===1},lt:function(V,U,T){return U<T[3]-0},gt:function(V,U,T){return U>T[3]-0},nth:function(V,U,T){return T[3]-0==U},eq:function(V,U,T){return T[3]-0==U}},filter:{PSEUDO:function(Z,V,W,aa){var U=V[1],X=I.filters[U];if(X){return X(Z,W,V,aa)}else{if(U==="contains"){return(Z.textContent||Z.innerText||"").indexOf(V[3])>=0}else{if(U==="not"){var Y=V[3];for(var W=0,T=Y.length;W<T;W++){if(Y[W]===Z){return false}}return true}}}},CHILD:function(T,W){var Z=W[1],U=T;switch(Z){case"only":case"first":while(U=U.previousSibling){if(U.nodeType===1){return false}}if(Z=="first"){return true}U=T;case"last":while(U=U.nextSibling){if(U.nodeType===1){return false}}return true;case"nth":var V=W[2],ac=W[3];if(V==1&&ac==0){return true}var Y=W[0],ab=T.parentNode;if(ab&&(ab.sizcache!==Y||!T.nodeIndex)){var X=0;for(U=ab.firstChild;U;U=U.nextSibling){if(U.nodeType===1){U.nodeIndex=++X}}ab.sizcache=Y}var aa=T.nodeIndex-ac;if(V==0){return aa==0}else{return(aa%V==0&&aa/V>=0)}}},ID:function(U,T){return U.nodeType===1&&U.getAttribute("id")===T},TAG:function(U,T){return(T==="*"&&U.nodeType===1)||U.nodeName===T},CLASS:function(U,T){return(" "+(U.className||U.getAttribute("class"))+" ").indexOf(T)>-1},ATTR:function(Y,W){var V=W[1],T=I.attrHandle[V]?I.attrHandle[V](Y):Y[V]!=null?Y[V]:Y.getAttribute(V),Z=T+"",X=W[2],U=W[4];return T==null?X==="!=":X==="="?Z===U:X==="*="?Z.indexOf(U)>=0:X==="~="?(" "+Z+" ").indexOf(U)>=0:!U?Z&&T!==false:X==="!="?Z!=U:X==="^="?Z.indexOf(U)===0:X==="$="?Z.substr(Z.length-U.length)===U:X==="|="?Z===U||Z.substr(0,U.length+1)===U+"-":false},POS:function(X,U,V,Y){var T=U[2],W=I.setFilters[T];if(W){return W(X,V,U,Y)}}}};var M=I.match.POS;for(var O in I.match){I.match[O]=RegExp(I.match[O].source+/(?![^\[]*\])(?![^\(]*\))/.source)}var E=function(U,T){U=Array.prototype.slice.call(U);if(T){T.push.apply(T,U);return T}return U};try{Array.prototype.slice.call(document.documentElement.childNodes)}catch(N){E=function(X,W){var U=W||[];if(H.call(X)==="[object Array]"){Array.prototype.push.apply(U,X)}else{if(typeof X.length==="number"){for(var V=0,T=X.length;V<T;V++){U.push(X[V])}}else{for(var V=0;X[V];V++){U.push(X[V])}}}return U}}var G;if(document.documentElement.compareDocumentPosition){G=function(U,T){var V=U.compareDocumentPosition(T)&4?-1:U===T?0:1;if(V===0){hasDuplicate=true}return V}}else{if("sourceIndex" in document.documentElement){G=function(U,T){var V=U.sourceIndex-T.sourceIndex;if(V===0){hasDuplicate=true}return V}}else{if(document.createRange){G=function(W,U){var V=W.ownerDocument.createRange(),T=U.ownerDocument.createRange();V.selectNode(W);V.collapse(true);T.selectNode(U);T.collapse(true);var X=V.compareBoundaryPoints(Range.START_TO_END,T);if(X===0){hasDuplicate=true}return X}}}}(function(){var U=document.createElement("form"),V="script"+(new Date).getTime();U.innerHTML="<input name='"+V+"'/>";var T=document.documentElement;T.insertBefore(U,T.firstChild);if(!!document.getElementById(V)){I.find.ID=function(X,Y,Z){if(typeof Y.getElementById!=="undefined"&&!Z){var W=Y.getElementById(X[1]);return W?W.id===X[1]||typeof W.getAttributeNode!=="undefined"&&W.getAttributeNode("id").nodeValue===X[1]?[W]:g:[]}};I.filter.ID=function(Y,W){var X=typeof Y.getAttributeNode!=="undefined"&&Y.getAttributeNode("id");return Y.nodeType===1&&X&&X.nodeValue===W}}T.removeChild(U)})();(function(){var T=document.createElement("div");T.appendChild(document.createComment(""));if(T.getElementsByTagName("*").length>0){I.find.TAG=function(U,Y){var X=Y.getElementsByTagName(U[1]);if(U[1]==="*"){var W=[];for(var V=0;X[V];V++){if(X[V].nodeType===1){W.push(X[V])}}X=W}return X}}T.innerHTML="<a href='#'></a>";if(T.firstChild&&typeof T.firstChild.getAttribute!=="undefined"&&T.firstChild.getAttribute("href")!=="#"){I.attrHandle.href=function(U){return U.getAttribute("href",2)}}})();if(document.querySelectorAll){(function(){var T=F,U=document.createElement("div");U.innerHTML="<p class='TEST'></p>";if(U.querySelectorAll&&U.querySelectorAll(".TEST").length===0){return}F=function(Y,X,V,W){X=X||document;if(!W&&X.nodeType===9&&!Q(X)){try{return E(X.querySelectorAll(Y),V)}catch(Z){}}return T(Y,X,V,W)};F.find=T.find;F.filter=T.filter;F.selectors=T.selectors;F.matches=T.matches})()}if(document.getElementsByClassName&&document.documentElement.getElementsByClassName){(function(){var T=document.createElement("div");T.innerHTML="<div class='test e'></div><div class='test'></div>";if(T.getElementsByClassName("e").length===0){return}T.lastChild.className="e";if(T.getElementsByClassName("e").length===1){return}I.order.splice(1,0,"CLASS");I.find.CLASS=function(U,V,W){if(typeof V.getElementsByClassName!=="undefined"&&!W){return V.getElementsByClassName(U[1])}}})()}function P(U,Z,Y,ad,aa,ac){var ab=U=="previousSibling"&&!ac;for(var W=0,V=ad.length;W<V;W++){var T=ad[W];if(T){if(ab&&T.nodeType===1){T.sizcache=Y;T.sizset=W}T=T[U];var X=false;while(T){if(T.sizcache===Y){X=ad[T.sizset];break}if(T.nodeType===1&&!ac){T.sizcache=Y;T.sizset=W}if(T.nodeName===Z){X=T;break}T=T[U]}ad[W]=X}}}function S(U,Z,Y,ad,aa,ac){var ab=U=="previousSibling"&&!ac;for(var W=0,V=ad.length;W<V;W++){var T=ad[W];if(T){if(ab&&T.nodeType===1){T.sizcache=Y;T.sizset=W}T=T[U];var X=false;while(T){if(T.sizcache===Y){X=ad[T.sizset];break}if(T.nodeType===1){if(!ac){T.sizcache=Y;T.sizset=W}if(typeof Z!=="string"){if(T===Z){X=true;break}}else{if(F.filter(Z,[T]).length>0){X=T;break}}}T=T[U]}ad[W]=X}}}var K=document.compareDocumentPosition?function(U,T){return U.compareDocumentPosition(T)&16}:function(U,T){return U!==T&&(U.contains?U.contains(T):true)};var Q=function(T){return T.nodeType===9&&T.documentElement.nodeName!=="HTML"||!!T.ownerDocument&&Q(T.ownerDocument)};var J=function(T,aa){var W=[],X="",Y,V=aa.nodeType?[aa]:aa;while((Y=I.match.PSEUDO.exec(T))){X+=Y[0];T=T.replace(I.match.PSEUDO,"")}T=I.relative[T]?T+"*":T;for(var Z=0,U=V.length;Z<U;Z++){F(T,V[Z],W)}return F.filter(X,W)};o.find=F;o.filter=F.filter;o.expr=F.selectors;o.expr[":"]=o.expr.filters;F.selectors.filters.hidden=function(T){return T.offsetWidth===0||T.offsetHeight===0};F.selectors.filters.visible=function(T){return T.offsetWidth>0||T.offsetHeight>0};F.selectors.filters.animated=function(T){return o.grep(o.timers,function(U){return T===U.elem}).length};o.multiFilter=function(V,T,U){if(U){V=":not("+V+")"}return F.matches(V,T)};o.dir=function(V,U){var T=[],W=V[U];while(W&&W!=document){if(W.nodeType==1){T.push(W)}W=W[U]}return T};o.nth=function(X,T,V,W){T=T||1;var U=0;for(;X;X=X[V]){if(X.nodeType==1&&++U==T){break}}return X};o.sibling=function(V,U){var T=[];for(;V;V=V.nextSibling){if(V.nodeType==1&&V!=U){T.push(V)}}return T};return;l.Sizzle=F})();o.event={add:function(I,F,H,K){if(I.nodeType==3||I.nodeType==8){return}if(I.setInterval&&I!=l){I=l}if(!H.guid){H.guid=this.guid++}if(K!==g){var G=H;H=this.proxy(G);H.data=K}var E=o.data(I,"events")||o.data(I,"events",{}),J=o.data(I,"handle")||o.data(I,"handle",function(){return typeof o!=="undefined"&&!o.event.triggered?o.event.handle.apply(arguments.callee.elem,arguments):g});J.elem=I;o.each(F.split(/\s+/),function(M,N){var O=N.split(".");N=O.shift();H.type=O.slice().sort().join(".");var L=E[N];if(o.event.specialAll[N]){o.event.specialAll[N].setup.call(I,K,O)}if(!L){L=E[N]={};if(!o.event.special[N]||o.event.special[N].setup.call(I,K,O)===false){if(I.addEventListener){I.addEventListener(N,J,false)}else{if(I.attachEvent){I.attachEvent("on"+N,J)}}}}L[H.guid]=H;o.event.global[N]=true});I=null},guid:1,global:{},remove:function(K,H,J){if(K.nodeType==3||K.nodeType==8){return}var G=o.data(K,"events"),F,E;if(G){if(H===g||(typeof H==="string"&&H.charAt(0)==".")){for(var I in G){this.remove(K,I+(H||""))}}else{if(H.type){J=H.handler;H=H.type}o.each(H.split(/\s+/),function(M,O){var Q=O.split(".");O=Q.shift();var N=RegExp("(^|\\.)"+Q.slice().sort().join(".*\\.")+"(\\.|$)");if(G[O]){if(J){delete G[O][J.guid]}else{for(var P in G[O]){if(N.test(G[O][P].type)){delete G[O][P]}}}if(o.event.specialAll[O]){o.event.specialAll[O].teardown.call(K,Q)}for(F in G[O]){break}if(!F){if(!o.event.special[O]||o.event.special[O].teardown.call(K,Q)===false){if(K.removeEventListener){K.removeEventListener(O,o.data(K,"handle"),false)}else{if(K.detachEvent){K.detachEvent("on"+O,o.data(K,"handle"))}}}F=null;delete G[O]}}})}for(F in G){break}if(!F){var L=o.data(K,"handle");if(L){L.elem=null}o.removeData(K,"events");o.removeData(K,"handle")}}},trigger:function(I,K,H,E){var G=I.type||I;if(!E){I=typeof I==="object"?I[h]?I:o.extend(o.Event(G),I):o.Event(G);if(G.indexOf("!")>=0){I.type=G=G.slice(0,-1);I.exclusive=true}if(!H){I.stopPropagation();if(this.global[G]){o.each(o.cache,function(){if(this.events&&this.events[G]){o.event.trigger(I,K,this.handle.elem)}})}}if(!H||H.nodeType==3||H.nodeType==8){return g}I.result=g;I.target=H;K=o.makeArray(K);K.unshift(I)}I.currentTarget=H;var J=o.data(H,"handle");if(J){J.apply(H,K)}if((!H[G]||(o.nodeName(H,"a")&&G=="click"))&&H["on"+G]&&H["on"+G].apply(H,K)===false){I.result=false}if(!E&&H[G]&&!I.isDefaultPrevented()&&!(o.nodeName(H,"a")&&G=="click")){this.triggered=true;try{H[G]()}catch(L){}}this.triggered=false;if(!I.isPropagationStopped()){var F=H.parentNode||H.ownerDocument;if(F){o.event.trigger(I,K,F,true)}}},handle:function(K){var J,E;K=arguments[0]=o.event.fix(K||l.event);K.currentTarget=this;var L=K.type.split(".");K.type=L.shift();J=!L.length&&!K.exclusive;var I=RegExp("(^|\\.)"+L.slice().sort().join(".*\\.")+"(\\.|$)");E=(o.data(this,"events")||{})[K.type];for(var G in E){var H=E[G];if(J||I.test(H.type)){K.handler=H;K.data=H.data;var F=H.apply(this,arguments);if(F!==g){K.result=F;if(F===false){K.preventDefault();K.stopPropagation()}}if(K.isImmediatePropagationStopped()){break}}}},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode metaKey newValue originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),fix:function(H){if(H[h]){return H}var F=H;H=o.Event(F);for(var G=this.props.length,J;G;){J=this.props[--G];H[J]=F[J]}if(!H.target){H.target=H.srcElement||document}if(H.target.nodeType==3){H.target=H.target.parentNode}if(!H.relatedTarget&&H.fromElement){H.relatedTarget=H.fromElement==H.target?H.toElement:H.fromElement}if(H.pageX==null&&H.clientX!=null){var I=document.documentElement,E=document.body;H.pageX=H.clientX+(I&&I.scrollLeft||E&&E.scrollLeft||0)-(I.clientLeft||0);H.pageY=H.clientY+(I&&I.scrollTop||E&&E.scrollTop||0)-(I.clientTop||0)}if(!H.which&&((H.charCode||H.charCode===0)?H.charCode:H.keyCode)){H.which=H.charCode||H.keyCode}if(!H.metaKey&&H.ctrlKey){H.metaKey=H.ctrlKey}if(!H.which&&H.button){H.which=(H.button&1?1:(H.button&2?3:(H.button&4?2:0)))}return H},proxy:function(F,E){E=E||function(){return F.apply(this,arguments)};E.guid=F.guid=F.guid||E.guid||this.guid++;return E},special:{ready:{setup:B,teardown:function(){}}},specialAll:{live:{setup:function(E,F){o.event.add(this,F[0],c)},teardown:function(G){if(G.length){var E=0,F=RegExp("(^|\\.)"+G[0]+"(\\.|$)");o.each((o.data(this,"events").live||{}),function(){if(F.test(this.type)){E++}});if(E<1){o.event.remove(this,G[0],c)}}}}}};o.Event=function(E){if(!this.preventDefault){return new o.Event(E)}if(E&&E.type){this.originalEvent=E;this.type=E.type}else{this.type=E}this.timeStamp=e();this[h]=true};function k(){return false}function u(){return true}o.Event.prototype={preventDefault:function(){this.isDefaultPrevented=u;var E=this.originalEvent;if(!E){return}if(E.preventDefault){E.preventDefault()}E.returnValue=false},stopPropagation:function(){this.isPropagationStopped=u;var E=this.originalEvent;if(!E){return}if(E.stopPropagation){E.stopPropagation()}E.cancelBubble=true},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=u;this.stopPropagation()},isDefaultPrevented:k,isPropagationStopped:k,isImmediatePropagationStopped:k};var a=function(F){var E=F.relatedTarget;while(E&&E!=this){try{E=E.parentNode}catch(G){E=this}}if(E!=this){F.type=F.data;o.event.handle.apply(this,arguments)}};o.each({mouseover:"mouseenter",mouseout:"mouseleave"},function(F,E){o.event.special[E]={setup:function(){o.event.add(this,F,a,E)},teardown:function(){o.event.remove(this,F,a)}}});o.fn.extend({bind:function(F,G,E){return F=="unload"?this.one(F,G,E):this.each(function(){o.event.add(this,F,E||G,E&&G)})},one:function(G,H,F){var E=o.event.proxy(F||H,function(I){o(this).unbind(I,E);return(F||H).apply(this,arguments)});return this.each(function(){o.event.add(this,G,E,F&&H)})},unbind:function(F,E){return this.each(function(){o.event.remove(this,F,E)})},trigger:function(E,F){return this.each(function(){o.event.trigger(E,F,this)})},triggerHandler:function(E,G){if(this[0]){var F=o.Event(E);F.preventDefault();F.stopPropagation();o.event.trigger(F,G,this[0]);return F.result}},toggle:function(G){var E=arguments,F=1;while(F<E.length){o.event.proxy(G,E[F++])}return this.click(o.event.proxy(G,function(H){this.lastToggle=(this.lastToggle||0)%F;H.preventDefault();return E[this.lastToggle++].apply(this,arguments)||false}))},hover:function(E,F){return this.mouseenter(E).mouseleave(F)},ready:function(E){B();if(o.isReady){E.call(document,o)}else{o.readyList.push(E)}return this},live:function(G,F){var E=o.event.proxy(F);E.guid+=this.selector+G;o(document).bind(i(G,this.selector),this.selector,E);return this},die:function(F,E){o(document).unbind(i(F,this.selector),E?{guid:E.guid+this.selector+F}:null);return this}});function c(H){var E=RegExp("(^|\\.)"+H.type+"(\\.|$)"),G=true,F=[];o.each(o.data(this,"events").live||[],function(I,J){if(E.test(J.type)){var K=o(H.target).closest(J.data)[0];if(K){F.push({elem:K,fn:J})}}});F.sort(function(J,I){return o.data(J.elem,"closest")-o.data(I.elem,"closest")});o.each(F,function(){if(this.fn.call(this.elem,H,this.fn.data)===false){return(G=false)}});return G}function i(F,E){return["live",F,E.replace(/\./g,"`").replace(/ /g,"|")].join(".")}o.extend({isReady:false,readyList:[],ready:function(){if(!o.isReady){o.isReady=true;if(o.readyList){o.each(o.readyList,function(){this.call(document,o)});o.readyList=null}o(document).triggerHandler("ready")}}});var x=false;function B(){if(x){return}x=true;if(document.addEventListener){document.addEventListener("DOMContentLoaded",function(){document.removeEventListener("DOMContentLoaded",arguments.callee,false);o.ready()},false)}else{if(document.attachEvent){document.attachEvent("onreadystatechange",function(){if(document.readyState==="complete"){document.detachEvent("onreadystatechange",arguments.callee);o.ready()}});if(document.documentElement.doScroll&&l==l.top){(function(){if(o.isReady){return}try{document.documentElement.doScroll("left")}catch(E){setTimeout(arguments.callee,0);return}o.ready()})()}}}o.event.add(l,"load",o.ready)}o.each(("blur,focus,load,resize,scroll,unload,click,dblclick,mousedown,mouseup,mousemove,mouseover,mouseout,mouseenter,mouseleave,change,select,submit,keydown,keypress,keyup,error").split(","),function(F,E){o.fn[E]=function(G){return G?this.bind(E,G):this.trigger(E)}});o(l).bind("unload",function(){for(var E in o.cache){if(E!=1&&o.cache[E].handle){o.event.remove(o.cache[E].handle.elem)}}});(function(){o.support={};var F=document.documentElement,G=document.createElement("script"),K=document.createElement("div"),J="script"+(new Date).getTime();K.style.display="none";K.innerHTML='   <link/><table></table><a href="/a" style="color:red;float:left;opacity:.5;">a</a><select><option>text</option></select><object><param/></object>';var H=K.getElementsByTagName("*"),E=K.getElementsByTagName("a")[0];if(!H||!H.length||!E){return}o.support={leadingWhitespace:K.firstChild.nodeType==3,tbody:!K.getElementsByTagName("tbody").length,objectAll:!!K.getElementsByTagName("object")[0].getElementsByTagName("*").length,htmlSerialize:!!K.getElementsByTagName("link").length,style:/red/.test(E.getAttribute("style")),hrefNormalized:E.getAttribute("href")==="/a",opacity:E.style.opacity==="0.5",cssFloat:!!E.style.cssFloat,scriptEval:false,noCloneEvent:true,boxModel:null};G.type="text/javascript";try{G.appendChild(document.createTextNode("window."+J+"=1;"))}catch(I){}F.insertBefore(G,F.firstChild);if(l[J]){o.support.scriptEval=true;delete l[J]}F.removeChild(G);if(K.attachEvent&&K.fireEvent){K.attachEvent("onclick",function(){o.support.noCloneEvent=false;K.detachEvent("onclick",arguments.callee)});K.cloneNode(true).fireEvent("onclick")}o(function(){var L=document.createElement("div");L.style.width=L.style.paddingLeft="1px";document.body.appendChild(L);o.boxModel=o.support.boxModel=L.offsetWidth===2;document.body.removeChild(L).style.display="none"})})();var w=o.support.cssFloat?"cssFloat":"styleFloat";o.props={"for":"htmlFor","class":"className","float":w,cssFloat:w,styleFloat:w,readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",tabindex:"tabIndex"};o.fn.extend({_load:o.fn.load,load:function(G,J,K){if(typeof G!=="string"){return this._load(G)}var I=G.indexOf(" ");if(I>=0){var E=G.slice(I,G.length);G=G.slice(0,I)}var H="GET";if(J){if(o.isFunction(J)){K=J;J=null}else{if(typeof J==="object"){J=o.param(J);H="POST"}}}var F=this;o.ajax({url:G,type:H,dataType:"html",data:J,complete:function(M,L){if(L=="success"||L=="notmodified"){F.html(E?o("<div/>").append(M.responseText.replace(/<script(.|\s)*?\/script>/g,"")).find(E):M.responseText)}if(K){F.each(K,[M.responseText,L,M])}}});return this},serialize:function(){return o.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?o.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||/select|textarea/i.test(this.nodeName)||/text|hidden|password|search/i.test(this.type))}).map(function(E,F){var G=o(this).val();return G==null?null:o.isArray(G)?o.map(G,function(I,H){return{name:F.name,value:I}}):{name:F.name,value:G}}).get()}});o.each("ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend".split(","),function(E,F){o.fn[F]=function(G){return this.bind(F,G)}});var r=e();o.extend({get:function(E,G,H,F){if(o.isFunction(G)){H=G;G=null}return o.ajax({type:"GET",url:E,data:G,success:H,dataType:F})},getScript:function(E,F){return o.get(E,null,F,"script")},getJSON:function(E,F,G){return o.get(E,F,G,"json")},post:function(E,G,H,F){if(o.isFunction(G)){H=G;G={}}return o.ajax({type:"POST",url:E,data:G,success:H,dataType:F})},ajaxSetup:function(E){o.extend(o.ajaxSettings,E)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:function(){return l.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):new XMLHttpRequest()},accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},lastModified:{},ajax:function(M){M=o.extend(true,M,o.extend(true,{},o.ajaxSettings,M));var W,F=/=\?(&|$)/g,R,V,G=M.type.toUpperCase();if(M.data&&M.processData&&typeof M.data!=="string"){M.data=o.param(M.data)}if(M.dataType=="jsonp"){if(G=="GET"){if(!M.url.match(F)){M.url+=(M.url.match(/\?/)?"&":"?")+(M.jsonp||"callback")+"=?"}}else{if(!M.data||!M.data.match(F)){M.data=(M.data?M.data+"&":"")+(M.jsonp||"callback")+"=?"}}M.dataType="json"}if(M.dataType=="json"&&(M.data&&M.data.match(F)||M.url.match(F))){W="jsonp"+r++;if(M.data){M.data=(M.data+"").replace(F,"="+W+"$1")}M.url=M.url.replace(F,"="+W+"$1");M.dataType="script";l[W]=function(X){V=X;I();L();l[W]=g;try{delete l[W]}catch(Y){}if(H){H.removeChild(T)}}}if(M.dataType=="script"&&M.cache==null){M.cache=false}if(M.cache===false&&G=="GET"){var E=e();var U=M.url.replace(/(\?|&)_=.*?(&|$)/,"$1_="+E+"$2");M.url=U+((U==M.url)?(M.url.match(/\?/)?"&":"?")+"_="+E:"")}if(M.data&&G=="GET"){M.url+=(M.url.match(/\?/)?"&":"?")+M.data;M.data=null}if(M.global&&!o.active++){o.event.trigger("ajaxStart")}var Q=/^(\w+:)?\/\/([^\/?#]+)/.exec(M.url);if(M.dataType=="script"&&G=="GET"&&Q&&(Q[1]&&Q[1]!=location.protocol||Q[2]!=location.host)){var H=document.getElementsByTagName("head")[0];var T=document.createElement("script");T.src=M.url;if(M.scriptCharset){T.charset=M.scriptCharset}if(!W){var O=false;T.onload=T.onreadystatechange=function(){if(!O&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete")){O=true;I();L();T.onload=T.onreadystatechange=null;H.removeChild(T)}}}H.appendChild(T);return g}var K=false;var J=M.xhr();if(M.username){J.open(G,M.url,M.async,M.username,M.password)}else{J.open(G,M.url,M.async)}try{if(M.data){J.setRequestHeader("Content-Type",M.contentType)}if(M.ifModified){J.setRequestHeader("If-Modified-Since",o.lastModified[M.url]||"Thu, 01 Jan 1970 00:00:00 GMT")}J.setRequestHeader("X-Requested-With","XMLHttpRequest");J.setRequestHeader("Accept",M.dataType&&M.accepts[M.dataType]?M.accepts[M.dataType]+", */*":M.accepts._default)}catch(S){}if(M.beforeSend&&M.beforeSend(J,M)===false){if(M.global&&!--o.active){o.event.trigger("ajaxStop")}J.abort();return false}if(M.global){o.event.trigger("ajaxSend",[J,M])}var N=function(X){if(J.readyState==0){if(P){clearInterval(P);P=null;if(M.global&&!--o.active){o.event.trigger("ajaxStop")}}}else{if(!K&&J&&(J.readyState==4||X=="timeout")){K=true;if(P){clearInterval(P);P=null}R=X=="timeout"?"timeout":!o.httpSuccess(J)?"error":M.ifModified&&o.httpNotModified(J,M.url)?"notmodified":"success";if(R=="success"){try{V=o.httpData(J,M.dataType,M)}catch(Z){R="parsererror"}}if(R=="success"){var Y;try{Y=J.getResponseHeader("Last-Modified")}catch(Z){}if(M.ifModified&&Y){o.lastModified[M.url]=Y}if(!W){I()}}else{o.handleError(M,J,R)}L();if(X){J.abort()}if(M.async){J=null}}}};if(M.async){var P=setInterval(N,13);if(M.timeout>0){setTimeout(function(){if(J&&!K){N("timeout")}},M.timeout)}}try{J.send(M.data)}catch(S){o.handleError(M,J,null,S)}if(!M.async){N()}function I(){if(M.success){M.success(V,R)}if(M.global){o.event.trigger("ajaxSuccess",[J,M])}}function L(){if(M.complete){M.complete(J,R)}if(M.global){o.event.trigger("ajaxComplete",[J,M])}if(M.global&&!--o.active){o.event.trigger("ajaxStop")}}return J},handleError:function(F,H,E,G){if(F.error){F.error(H,E,G)}if(F.global){o.event.trigger("ajaxError",[H,F,G])}},active:0,httpSuccess:function(F){try{return !F.status&&location.protocol=="file:"||(F.status>=200&&F.status<300)||F.status==304||F.status==1223}catch(E){}return false},httpNotModified:function(G,E){try{var H=G.getResponseHeader("Last-Modified");return G.status==304||H==o.lastModified[E]}catch(F){}return false},httpData:function(J,H,G){var F=J.getResponseHeader("content-type"),E=H=="xml"||!H&&F&&F.indexOf("xml")>=0,I=E?J.responseXML:J.responseText;if(E&&I.documentElement.tagName=="parsererror"){throw"parsererror"}if(G&&G.dataFilter){I=G.dataFilter(I,H)}if(typeof I==="string"){if(H=="script"){o.globalEval(I)}if(H=="json"){I=l["eval"]("("+I+")")}}return I},param:function(E){var G=[];function H(I,J){G[G.length]=encodeURIComponent(I)+"="+encodeURIComponent(J)}if(o.isArray(E)||E.jquery){o.each(E,function(){H(this.name,this.value)})}else{for(var F in E){if(o.isArray(E[F])){o.each(E[F],function(){H(F,this)})}else{H(F,o.isFunction(E[F])?E[F]():E[F])}}}return G.join("&").replace(/%20/g,"+")}});var m={},n,d=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];function t(F,E){var G={};o.each(d.concat.apply([],d.slice(0,E)),function(){G[this]=F});return G}o.fn.extend({show:function(J,L){if(J){return this.animate(t("show",3),J,L)}else{for(var H=0,F=this.length;H<F;H++){var E=o.data(this[H],"olddisplay");this[H].style.display=E||"";if(o.css(this[H],"display")==="none"){var G=this[H].tagName,K;if(m[G]){K=m[G]}else{var I=o("<"+G+" />").appendTo("body");K=I.css("display");if(K==="none"){K="block"}I.remove();m[G]=K}o.data(this[H],"olddisplay",K)}}for(var H=0,F=this.length;H<F;H++){this[H].style.display=o.data(this[H],"olddisplay")||""}return this}},hide:function(H,I){if(H){return this.animate(t("hide",3),H,I)}else{for(var G=0,F=this.length;G<F;G++){var E=o.data(this[G],"olddisplay");if(!E&&E!=="none"){o.data(this[G],"olddisplay",o.css(this[G],"display"))}}for(var G=0,F=this.length;G<F;G++){this[G].style.display="none"}return this}},_toggle:o.fn.toggle,toggle:function(G,F){var E=typeof G==="boolean";return o.isFunction(G)&&o.isFunction(F)?this._toggle.apply(this,arguments):G==null||E?this.each(function(){var H=E?G:o(this).is(":hidden");o(this)[H?"show":"hide"]()}):this.animate(t("toggle",3),G,F)},fadeTo:function(E,G,F){return this.animate({opacity:G},E,F)},animate:function(I,F,H,G){var E=o.speed(F,H,G);return this[E.queue===false?"each":"queue"](function(){var K=o.extend({},E),M,L=this.nodeType==1&&o(this).is(":hidden"),J=this;for(M in I){if(I[M]=="hide"&&L||I[M]=="show"&&!L){return K.complete.call(this)}if((M=="height"||M=="width")&&this.style){K.display=o.css(this,"display");K.overflow=this.style.overflow}}if(K.overflow!=null){this.style.overflow="hidden"}K.curAnim=o.extend({},I);o.each(I,function(O,S){var R=new o.fx(J,K,O);if(/toggle|show|hide/.test(S)){R[S=="toggle"?L?"show":"hide":S](I)}else{var Q=S.toString().match(/^([+-]=)?([\d+-.]+)(.*)$/),T=R.cur(true)||0;if(Q){var N=parseFloat(Q[2]),P=Q[3]||"px";if(P!="px"){J.style[O]=(N||1)+P;T=((N||1)/R.cur(true))*T;J.style[O]=T+P}if(Q[1]){N=((Q[1]=="-="?-1:1)*N)+T}R.custom(T,N,P)}else{R.custom(T,S,"")}}});return true})},stop:function(F,E){var G=o.timers;if(F){this.queue([])}this.each(function(){for(var H=G.length-1;H>=0;H--){if(G[H].elem==this){if(E){G[H](true)}G.splice(H,1)}}});if(!E){this.dequeue()}return this}});o.each({slideDown:t("show",1),slideUp:t("hide",1),slideToggle:t("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(E,F){o.fn[E]=function(G,H){return this.animate(F,G,H)}});o.extend({speed:function(G,H,F){var E=typeof G==="object"?G:{complete:F||!F&&H||o.isFunction(G)&&G,duration:G,easing:F&&H||H&&!o.isFunction(H)&&H};E.duration=o.fx.off?0:typeof E.duration==="number"?E.duration:o.fx.speeds[E.duration]||o.fx.speeds._default;E.old=E.complete;E.complete=function(){if(E.queue!==false){o(this).dequeue()}if(o.isFunction(E.old)){E.old.call(this)}};return E},easing:{linear:function(G,H,E,F){return E+F*G},swing:function(G,H,E,F){return((-Math.cos(G*Math.PI)/2)+0.5)*F+E}},timers:[],fx:function(F,E,G){this.options=E;this.elem=F;this.prop=G;if(!E.orig){E.orig={}}}});o.fx.prototype={update:function(){if(this.options.step){this.options.step.call(this.elem,this.now,this)}(o.fx.step[this.prop]||o.fx.step._default)(this);if((this.prop=="height"||this.prop=="width")&&this.elem.style){this.elem.style.display="block"}},cur:function(F){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null)){return this.elem[this.prop]}var E=parseFloat(o.css(this.elem,this.prop,F));return E&&E>-10000?E:parseFloat(o.curCSS(this.elem,this.prop))||0},custom:function(I,H,G){this.startTime=e();this.start=I;this.end=H;this.unit=G||this.unit||"px";this.now=this.start;this.pos=this.state=0;var E=this;function F(J){return E.step(J)}F.elem=this.elem;if(F()&&o.timers.push(F)&&!n){n=setInterval(function(){var K=o.timers;for(var J=0;J<K.length;J++){if(!K[J]()){K.splice(J--,1)}}if(!K.length){clearInterval(n);n=g}},13)}},show:function(){this.options.orig[this.prop]=o.attr(this.elem.style,this.prop);this.options.show=true;this.custom(this.prop=="width"||this.prop=="height"?1:0,this.cur());o(this.elem).show()},hide:function(){this.options.orig[this.prop]=o.attr(this.elem.style,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(H){var G=e();if(H||G>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;var E=true;for(var F in this.options.curAnim){if(this.options.curAnim[F]!==true){E=false}}if(E){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;this.elem.style.display=this.options.display;if(o.css(this.elem,"display")=="none"){this.elem.style.display="block"}}if(this.options.hide){o(this.elem).hide()}if(this.options.hide||this.options.show){for(var I in this.options.curAnim){o.attr(this.elem.style,I,this.options.orig[I])}}this.options.complete.call(this.elem)}return false}else{var J=G-this.startTime;this.state=J/this.options.duration;this.pos=o.easing[this.options.easing||(o.easing.swing?"swing":"linear")](this.state,J,0,1,this.options.duration);this.now=this.start+((this.end-this.start)*this.pos);this.update()}return true}};o.extend(o.fx,{speeds:{slow:600,fast:200,_default:400},step:{opacity:function(E){o.attr(E.elem.style,"opacity",E.now)},_default:function(E){if(E.elem.style&&E.elem.style[E.prop]!=null){E.elem.style[E.prop]=E.now+E.unit}else{E.elem[E.prop]=E.now}}}});if(document.documentElement.getBoundingClientRect){o.fn.offset=function(){if(!this[0]){return{top:0,left:0}}if(this[0]===this[0].ownerDocument.body){return o.offset.bodyOffset(this[0])}var G=this[0].getBoundingClientRect(),J=this[0].ownerDocument,F=J.body,E=J.documentElement,L=E.clientTop||F.clientTop||0,K=E.clientLeft||F.clientLeft||0,I=G.top+(self.pageYOffset||o.boxModel&&E.scrollTop||F.scrollTop)-L,H=G.left+(self.pageXOffset||o.boxModel&&E.scrollLeft||F.scrollLeft)-K;return{top:I,left:H}}}else{o.fn.offset=function(){if(!this[0]){return{top:0,left:0}}if(this[0]===this[0].ownerDocument.body){return o.offset.bodyOffset(this[0])}o.offset.initialized||o.offset.initialize();var J=this[0],G=J.offsetParent,F=J,O=J.ownerDocument,M,H=O.documentElement,K=O.body,L=O.defaultView,E=L.getComputedStyle(J,null),N=J.offsetTop,I=J.offsetLeft;while((J=J.parentNode)&&J!==K&&J!==H){M=L.getComputedStyle(J,null);N-=J.scrollTop,I-=J.scrollLeft;if(J===G){N+=J.offsetTop,I+=J.offsetLeft;if(o.offset.doesNotAddBorder&&!(o.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(J.tagName))){N+=parseInt(M.borderTopWidth,10)||0,I+=parseInt(M.borderLeftWidth,10)||0}F=G,G=J.offsetParent}if(o.offset.subtractsBorderForOverflowNotVisible&&M.overflow!=="visible"){N+=parseInt(M.borderTopWidth,10)||0,I+=parseInt(M.borderLeftWidth,10)||0}E=M}if(E.position==="relative"||E.position==="static"){N+=K.offsetTop,I+=K.offsetLeft}if(E.position==="fixed"){N+=Math.max(H.scrollTop,K.scrollTop),I+=Math.max(H.scrollLeft,K.scrollLeft)}return{top:N,left:I}}}o.offset={initialize:function(){if(this.initialized){return}var L=document.body,F=document.createElement("div"),H,G,N,I,M,E,J=L.style.marginTop,K='<div style="position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;"><div></div></div><table style="position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;" cellpadding="0" cellspacing="0"><tr><td></td></tr></table>';M={position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"};for(E in M){F.style[E]=M[E]}F.innerHTML=K;L.insertBefore(F,L.firstChild);H=F.firstChild,G=H.firstChild,I=H.nextSibling.firstChild.firstChild;this.doesNotAddBorder=(G.offsetTop!==5);this.doesAddBorderForTableAndCells=(I.offsetTop===5);H.style.overflow="hidden",H.style.position="relative";this.subtractsBorderForOverflowNotVisible=(G.offsetTop===-5);L.style.marginTop="1px";this.doesNotIncludeMarginInBodyOffset=(L.offsetTop===0);L.style.marginTop=J;L.removeChild(F);this.initialized=true},bodyOffset:function(E){o.offset.initialized||o.offset.initialize();var G=E.offsetTop,F=E.offsetLeft;if(o.offset.doesNotIncludeMarginInBodyOffset){G+=parseInt(o.curCSS(E,"marginTop",true),10)||0,F+=parseInt(o.curCSS(E,"marginLeft",true),10)||0}return{top:G,left:F}}};o.fn.extend({position:function(){var I=0,H=0,F;if(this[0]){var G=this.offsetParent(),J=this.offset(),E=/^body|html$/i.test(G[0].tagName)?{top:0,left:0}:G.offset();J.top-=j(this,"marginTop");J.left-=j(this,"marginLeft");E.top+=j(G,"borderTopWidth");E.left+=j(G,"borderLeftWidth");F={top:J.top-E.top,left:J.left-E.left}}return F},offsetParent:function(){var E=this[0].offsetParent||document.body;while(E&&(!/^body|html$/i.test(E.tagName)&&o.css(E,"position")=="static")){E=E.offsetParent}return o(E)}});o.each(["Left","Top"],function(F,E){var G="scroll"+E;o.fn[G]=function(H){if(!this[0]){return null}return H!==g?this.each(function(){this==l||this==document?l.scrollTo(!F?H:o(l).scrollLeft(),F?H:o(l).scrollTop()):this[G]=H}):this[0]==l||this[0]==document?self[F?"pageYOffset":"pageXOffset"]||o.boxModel&&document.documentElement[G]||document.body[G]:this[0][G]}});o.each(["Height","Width"],function(I,G){var E=I?"Left":"Top",H=I?"Right":"Bottom",F=G.toLowerCase();o.fn["inner"+G]=function(){return this[0]?o.css(this[0],F,false,"padding"):null};o.fn["outer"+G]=function(K){return this[0]?o.css(this[0],F,false,K?"margin":"border"):null};var J=G.toLowerCase();o.fn[J]=function(K){return this[0]==l?document.compatMode=="CSS1Compat"&&document.documentElement["client"+G]||document.body["client"+G]:this[0]==document?Math.max(document.documentElement["client"+G],document.body["scroll"+G],document.documentElement["scroll"+G],document.body["offset"+G],document.documentElement["offset"+G]):K===g?(this.length?o.css(this[0],J):null):this.css(J,typeof K==="string"?K:K+"px")}})})();
\ No newline at end of file
Index: themes/default/elements/content_boxes.elm.tpl
===================================================================
--- themes/default/elements/content_boxes.elm.tpl	(revision 0)
+++ themes/default/elements/content_boxes.elm.tpl	(revision 0)
@@ -0,0 +1,24 @@
+<!--## DESIGN FOR COLUMN CONTENT ELEMENT ##-->
+<inp2:m_DefineElement name="content_box" type="text">
+	<h2 class="movable-header"><inp2:m_param name="header"/></h2>
+	<div class="<inp2:m_Param name="type"/>">
+		<inp2:m_param name="content"/>
+	</div>
+</inp2:m_DefineElement>
+<!--## DESIGN FOR COLUMN CONTENT ELEMENT ##-->
+
+<!--## DESIGN FOR COLUMN CONTENT ELEMENT ##-->
+<inp2:m_DefineElement name="side_box" type="">
+	<div class="<inp2:m_Param name="type"/>">
+		<h3 class="movable-header"><inp2:m_param name="header"/></h3>
+		<dl>
+			<inp2:m_param name="content"/>
+		</dl>
+	</div>
+</inp2:m_DefineElement>
+<!--## DESIGN FOR COLUMN CONTENT ELEMENT ##-->
+
+<!--## DEFAULT SIDE-BOX ELEMENT ##-->
+<inp2:m_DefineElement name="default_sidebar" no_editing="1">
+<!-- empty sidebar -->
+</inp2:m_DefineElement>
\ No newline at end of file
Index: themes/default/elements/dynamic_forms.elm.tpl
===================================================================
--- themes/default/elements/dynamic_forms.elm.tpl	(revision 0)
+++ themes/default/elements/dynamic_forms.elm.tpl	(revision 0)
@@ -0,0 +1,65 @@
+<inp2:m_DefineElement name="form_field_text">
+<em>
+	<input type="text" class="field" name="<inp2:CustomInputName/>" id="<inp2:Field name='FieldName'/>" value="<inp2:SubmissionTag tag="Field"/>" <inp2:m_param name="field_params" /> tabindex="0"/>
+</em>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="error_message">
+	<inp2:m_phrase name="lu_AProblemInForm"/><br />
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="form_field_password">
+<em>
+	<input type="password" class="field" primarytype="password" name="<inp2:CustomInputName/>" id="<inp2:CustomInputName/>" value="" tabindex="0"/>
+	<input type="password" class="field" name="<inp2:CustomInputName verify="1"/>" id="verify_<inp2:CustomInputName verify="1"/>" value=""  tabindex="0"/>
+</em>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="form_field_option">
+		<option value="<inp2:m_param name="key"/>"<inp2:m_param name="selected"/>><inp2:m_param name="option"/></option>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="form_field_select">
+<em>
+	<select name="<inp2:CustomInputName/>" id="<inp2:Field name='FieldName'/>" class="fieldselect" tabindex="0">
+		<inp2:SubmissionTag tag="PredefinedOptions" field="$field" block="form_field_option" selected=" selected='selected'"/>
+	</select>
+</em>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="form_field_checkbox">
+<em>
+	<input type="hidden" id="<inp2:CustomInputName/>" name="<inp2:CustomInputName/>" value="<inp2:SubmissionTag tag="Field" field="$field" db="db"/>">
+	<input type="checkbox" id="_cb_<inp2:m_param name="field"/>" name="_cb_<inp2:m_param name="field"/>" <inp2:SubmissionTag tag="Field" checked="checked" db="db"/> class="fieldcheckbox"/>" onclick="document.getElementById('<inp2:CustomInputName/>').value = this.checked ? 1:0">
+</em>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="form_field_textarea">
+<em>
+	<textarea name="<inp2:CustomInputName/>" id="<inp2:Field name='FieldName'/>" class="fieldtextarea" <inp2:m_param name="field_params" /> cols="40" rows="5"><inp2:SubmissionTag tag="Field" field="$field" /></textarea>
+</em>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="form_radio_item">
+	<input type="radio" <inp2:m_param name="checked"/> name="<inp2:m_param name="field_name"/>" id="<inp2:m_param name="field_name"/>_<inp2:m_param name="key"/>" value="<inp2:m_param name="key"/>"><label for="<inp2:m_param name="field_name"/>_<inp2:m_param name="key"/>"><inp2:m_param name="option"/></label>&nbsp;
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="form_field_radio">
+ <em>
+	<inp2:SubmissionTag tag="PredefinedOptions" field="$field" block="form_radio_item" selected="checked"/>
+</em>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="form_field">
+<p>
+	<label for="<inp2:Field name='FieldName'/>" <inp2:m_if check="SubmissionTag" tag="HasError">class="red"</inp2:m_if>>
+		<inp2:Field name="FieldLabel" plus_or_as_label="1"/>&nbsp;<inp2:m_if check="FieldEquals" field="Required" value="1"><span class="red">*</span></inp2:m_if>
+	</label>
+<!--##
+	<inp2:m_if check="SubmissionTag" tag="HasError">
+		<span class="field-error"><inp2:SubmissionTag tag="Error"/></span><br />
+	</inp2:m_if>
+##-->
+	<inp2:ConfigFormElement field="Value" blocks_prefix="form_field_" element_type_field="ElementType" value_list_field="ValueList" />
+</p>
+</inp2:m_DefineElement>
\ No newline at end of file
Index: themes/default/elements/footer.elm.tpl
===================================================================
--- themes/default/elements/footer.elm.tpl	(revision 0)
+++ themes/default/elements/footer.elm.tpl	(revision 0)
@@ -0,0 +1,17 @@
+<div id="footer">
+	<div class="footer-bg">
+		<div class="footer-center">
+			<p class="copy">
+				&copy; <inp2:lang.current_CurrentDate format="Y"/>, <inp2:m_GetConfig name="Site_Name"/>
+			</p>			
+			<p class="powered">			
+				<a href="http://www.in-portal.com"><img src="<inp2:m_TemplatesBase />img/in-portal_logo.png" alt="In-Portal Open Source CMS" style="width:111px; height:44px;"/></a>				
+			</p>					
+			<p class="powered">	
+				<a href="http://www.in-portal.com">Powered by In-Portal Open Source CMS</a>&nbsp;&nbsp;
+			</p>
+		</div><!-- .footer-center -->
+	</div><!-- .footer-bg -->
+</div><!-- #footer -->
+
+<inp2:m_RegisterPageHit/>
\ No newline at end of file
Index: themes/default/elements/header.elm.tpl
===================================================================
--- themes/default/elements/header.elm.tpl	(revision 0)
+++ themes/default/elements/header.elm.tpl	(revision 0)
@@ -0,0 +1,19 @@
+<inp2:m_DefineElement name="lang_elem" no_editing="1">
+	<inp2:m_if check="SelectedLanguage">
+		<span><inp2:Field name="LocalName"/></span>
+	<inp2:m_else/>
+		<a href="<inp2:LanguageLink/>"><inp2:Field name="LocalName"/></a>
+	</inp2:m_if>
+	<inp2:m_ifnot check="m_Param" name="is_last"> | </inp2:m_ifnot>
+</inp2:m_DefineElement>
+
+<p class="title_system">
+	<inp2:m_Phrase label="lu_text_PromoHeader1"/>
+	<inp2:lang_ListLanguages render_as="lang_elem" no_table="1"/>
+</p>
+
+<div id="header">
+	<h1 class="logo"><a href="<inp2:m_Link template="index" m_cat_id="0" />"><inp2:m_GetConfig name="Site_Name"/></a></h1>
+	<p class="slogan"><inp2:m_Phrase label="lu_text_PromoHeader2"/></p>
+</div>
+<div class="clear"></div>
\ No newline at end of file
Index: themes/default/elements/html_head.elm.tpl
===================================================================
--- themes/default/elements/html_head.elm.tpl	(revision 0)
+++ themes/default/elements/html_head.elm.tpl	(revision 0)
@@ -0,0 +1,30 @@
+<inp2:m_if check="c.current_Field" name="MetaKeywords">
+	<meta name="Keywords" content="<inp2:c.current_Field name='MetaKeywords'/>"/>
+<inp2:m_else/>
+	<meta name="Keywords" content="<inp2:m_GetConfig name='Category_MetaKey'/>"/>
+</inp2:m_if>
+<inp2:m_if check="c.current_Field" name="MetaDescription">
+	<meta name="Description" content="<inp2:c.current_Field name='MetaDescription'/>"/>
+<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 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'/>"/>
+
+<!-- JS FOR ADMIN -->
+<inp2:st_EditingScripts/>
+
+<!-- JS FOR FRONT -->
+<inp2:m_ifnot check="m_GetConst" name="EDITING_MODE"> <!--## EXCLUDE THIS JS WHEN IN ADMIN ##-->
+	<script type="text/javascript" src="<inp2:m_TemplatesBase />inc/js/jquery.pack.js"></script>
+	<script type="text/javascript" src="<inp2:m_TemplatesBase />inc/js/jcookie.js"></script>
+</inp2:m_ifnot> <!--## //EXCLUDE THIS JS WHEN IN ADMIN ##-->
+
+<script type="text/javascript">
+$(document).ready(function() {
+	$('li.active').prev('li').addClass('beforeactive');
+});
+</script>
\ No newline at end of file
Index: themes/default/elements/navigation_menu.elm.tpl
===================================================================
--- themes/default/elements/navigation_menu.elm.tpl	(revision 0)
+++ themes/default/elements/navigation_menu.elm.tpl	(revision 0)
@@ -0,0 +1,17 @@
+<inp2:m_DefineElement name="menu_element" no_editing="1">
+<li class="<inp2:m_if check="m_Param" name="active">active</inp2:m_if> <inp2:m_if check="m_Param" name="is_last">last</inp2:m_if>">
+	<inp2:m_if check="m_Param" name="is_first">
+		<span class="first">
+	<inp2:m_else/>
+		<span>
+	</inp2:m_if>
+	<a href="<inp2:m_Link template='$template' m_cat_id='$cat_id' use_section='$use_section' m_cat_page='1'/>" title="<inp2:m_Param name="title"/>"><inp2:m_Param name="title"/></a></span>
+</li>
+</inp2:m_DefineElement>
+
+<div id="menu">
+	<ul>
+		<inp2:st_CachedMenu render_as="menu_element" category_id="1"/>
+	</ul>
+	<div class="clear"></div>
+</div>
\ No newline at end of file
Index: themes/default/elements/tracking.elm.tpl
===================================================================
--- themes/default/elements/tracking.elm.tpl	(revision 0)
+++ themes/default/elements/tracking.elm.tpl	(revision 0)
@@ -0,0 +1,7 @@
+<!-- Tracking Code Starts-->
+<inp2:m_if check="c.current_Field" name="IndexTools">
+	<inp2:c.current_Field name="IndexTools"/>
+<inp2:m_else/>
+	<inp2:m_GetConfig name="TrackingCode"/>
+</inp2:m_if>
+<!-- Tracking Code Ends -->
Index: themes/default/index.tpl
===================================================================
--- themes/default/index.tpl	(revision 0)
+++ themes/default/index.tpl	(revision 0)
@@ -0,0 +1,53 @@
+<!--##
+<NAME>Home</NAME>
+<DESC>Home page</DESC>
+<SECTION></SECTION>
+##-->
+
+<!--## DEFINE SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+<div class="column-right">
+
+	<div class="movable-area">
+		<div class="movable-element">
+			<inp2:m_RenderElement design="side_box" type="block-news">
+				<inp2:m_Capture to_var="header">
+					<img src="<inp2:m_TemplatesBase />img/news_ttl.gif" width="68" height="14" alt="News" />
+				</inp2:m_Capture>
+
+				<inp2:st_ContentBlock num="5"/>
+			</inp2:m_RenderElement>
+		</div>
+		<div class="movable-element">
+			<inp2:m_RenderElement design="side_box" type="block-promo">
+				<inp2:m_Capture to_var="header">
+					<img src="<inp2:m_TemplatesBase />img/promo_ttl.gif" width="136" height="20" alt="Promotion" />
+				</inp2:m_Capture>
+
+				<inp2:st_ContentBlock num="6"/>
+			</inp2:m_RenderElement>
+		</div>
+	</div>
+
+</div>
+</inp2:m_DefineElement>
+<!--## /DEFINE SIDE-BAR ELEMENT ##-->
+
+<!--## DEFINE MAIN CONTENT ELEMENT ##-->
+<inp2:m_DefineElement name="content">
+
+	<inp2:m_RenderElement design="content_box" type="column-text">
+		<inp2:m_Capture to_var="header">
+			<inp2:st_PageInfo type="title"/>
+		</inp2:m_Capture>
+
+		<inp2:st_ContentBlock num="1"/>
+
+	</inp2:m_RenderElement>
+
+</inp2:m_DefineElement>
+<!--## /DEFINE MAIN CONTENT ELEMENT ##-->
+
+<!--## INCLUDE MAIN DESIGN TEMPLATE ##-->
+<inp2:m_include template="designs/default_design.des"/>
+<!--## /INCLUDE MAIN DESIGN TEMPLATE ##-->
\ No newline at end of file
Index: themes/default/_install/english.lang
===================================================================
--- themes/default/_install/english.lang	(revision 0)
+++ themes/default/_install/english.lang	(revision 0)
@@ -0,0 +1,21 @@
+<LANGUAGES>
+	<LANGUAGE PackName="English" Encoding="base64"><DATEFORMAT>m/d/Y</DATEFORMAT><TIMEFORMAT>g:i A</TIMEFORMAT><INPUTDATEFORMAT>m/d/Y</INPUTDATEFORMAT><INPUTTIMEFORMAT>g:i:s A</INPUTTIMEFORMAT><DECIMAL>.</DECIMAL><THOUSANDS>,</THOUSANDS><CHARSET>utf-8</CHARSET><UNITSYSTEM>2</UNITSYSTEM>
+		<PHRASES>
+			<PHRASE Label="lu_AProblemInForm" Module="Core" Type="0">T25lIG9yIG1vcmUgZmllbGRzIG9uIHRoaXMgZm9ybSBoYXMgYW4gZXJyb3IuPGJyLz4NClBsZWFzZSByZXZpZXcgdGhlIGZpZWxkcyBtYXJrZWQgd2l0aCByZWQgY2FyZWZ1bGx5IGFuZCBzdWJtaXQgdGhlIGZvcm0gYWdhaW4u</PHRASE>
+			<PHRASE Label="lu_btn_Reset" Module="Core" Type="0">UmVzZXQ=</PHRASE>
+			<PHRASE Label="lu_btn_Send" Module="Core" Type="0">U2VuZA==</PHRASE>
+			<PHRASE Label="lu_fld_Company" Module="Core" Type="0">Q29tcGFueQ==</PHRASE>
+			<PHRASE Label="lu_fld_Email" Module="Core" Type="0">RS1tYWls</PHRASE>
+			<PHRASE Label="lu_fld_Message" Module="Core" Type="0">TWVzc2FnZQ==</PHRASE>
+			<PHRASE Label="lu_fld_Name" Module="Core" Type="0">TmFtZQ==</PHRASE>
+			<PHRASE Label="lu_fld_Phone" Module="Core" Type="0">UGhvbmU=</PHRASE>
+			<PHRASE Label="lu_fld_Subject" Module="Core" Type="0">U3ViamVjdA==</PHRASE>
+			<PHRASE Label="lu_rootcategory_name" Module="Core" Type="0">SG9tZQ==</PHRASE>
+			<PHRASE Label="lu_text_PromoHeader1" Module="Core" Type="0">TGFuZ3VhZ2Ugc2VsZWN0aW9uOg==</PHRASE>
+			<PHRASE Label="lu_text_PromoHeader2" Module="Core" Type="0">JnF1b3Q7SW4tUG9ydGFsIC0gU2V0dGluZyBFeGNlbGxlbmNlPGJyLz4NCmluIENvbnRlbnQgTWFuYWdlbWVudCZxdW90Ow==</PHRASE>
+			<PHRASE Label="lu_text_Thankyou" Module="Core" Type="0">VGhhbmsgeW91IGZvciBjb250YWN0aW5nIHdpdGggdXMh</PHRASE>
+			<PHRASE Label="lu_title_Address" Module="Core" Type="0">QWRkcmVzcw==</PHRASE>
+			<PHRASE Label="lu_title_RequestInformation" Module="Core" Type="0">SW5mb3JtYXRpb24gUmVxdWVzdCBGb3Jt</PHRASE>
+		</PHRASES>
+	</LANGUAGE>
+</LANGUAGES>
\ No newline at end of file
Index: themes/default/_install/install_data.sql
===================================================================
--- themes/default/_install/install_data.sql	(revision 0)
+++ themes/default/_install/install_data.sql	(revision 0)
@@ -0,0 +1,42 @@
+UPDATE Category SET IsMenu = 1 WHERE Template = 'index';
+
+INSERT INTO Category (CategoryId, Type, SymLinkCategoryId, ParentId, Name, l1_Name, l2_Name, l3_Name, l4_Name, l5_Name, Filename, AutomaticFilename, Description, l1_Description, l2_Description, l3_Description, l4_Description, l5_Description, CreatedOn, EditorsPick, Status, Priority, MetaKeywords, CachedDescendantCatsQty, CachedNavbar, l1_CachedNavbar, l2_CachedNavbar, l3_CachedNavbar, l4_CachedNavbar, l5_CachedNavbar, CreatedById, ResourceId, ParentPath, TreeLeft, TreeRight, NamedParentPath, MetaDescription, HotItem, NewItem, PopItem, Modified, ModifiedById, CachedTemplate, Template, UseExternalUrl, ExternalUrl, UseMenuIconUrl, MenuIconUrl, l1_Title, l2_Title, l3_Title, l4_Title, l5_Title, l1_MenuTitle, l2_MenuTitle, l3_MenuTitle, l4_MenuTitle, l5_MenuTitle, MetaTitle, IndexTools, IsMenu, IsSystem, FormId, FormSubmittedTemplate, FriendlyURL, ThemeId) VALUES(200, 0, NULL, 1, '', 'About', '', '', '', '', 'About', 1, NULL, NULL, NULL, NULL, NULL, NULL, 1257194857, 0, 1, -3, NULL, 0, NULL, 'Content&|&About', 'Content&|&About', 'Content&|&About', 'Content&|&About', 'Content&|&About', -1, 200, '|1|200|', 12, 13, 'Content/About', NULL, 2, 2, 2, 1257194911, 0, '#default_design#', '#default_design#', 0, '', 0, '', 'About', '', '', '', '', 'About', '', '', '', '', NULL, NULL, 1, 0, NULL, NULL, '', 0);
+INSERT INTO Category (CategoryId, Type, SymLinkCategoryId, ParentId, Name, l1_Name, l2_Name, l3_Name, l4_Name, l5_Name, Filename, AutomaticFilename, Description, l1_Description, l2_Description, l3_Description, l4_Description, l5_Description, CreatedOn, EditorsPick, Status, Priority, MetaKeywords, CachedDescendantCatsQty, CachedNavbar, l1_CachedNavbar, l2_CachedNavbar, l3_CachedNavbar, l4_CachedNavbar, l5_CachedNavbar, CreatedById, ResourceId, ParentPath, TreeLeft, TreeRight, NamedParentPath, MetaDescription, HotItem, NewItem, PopItem, Modified, ModifiedById, CachedTemplate, Template, UseExternalUrl, ExternalUrl, UseMenuIconUrl, MenuIconUrl, l1_Title, l2_Title, l3_Title, l4_Title, l5_Title, l1_MenuTitle, l2_MenuTitle, l3_MenuTitle, l4_MenuTitle, l5_MenuTitle, MetaTitle, IndexTools, IsMenu, IsSystem, FormId, FormSubmittedTemplate, FriendlyURL, ThemeId) VALUES(201, 0, NULL, 1, '', 'Products', '', '', '', '', 'Products', 1, NULL, NULL, NULL, NULL, NULL, NULL, 1257194857, 0, 1, -4, NULL, 0, NULL, 'Content&|&Products', 'Content&|&Products', 'Content&|&Products', 'Content&|&Products', 'Content&|&Products', -1, 201, '|1|201|', 14, 15, 'Content/Products', NULL, 2, 2, 2, 1257197984, -1, '#default_design#', '#default_design#', 0, '', 0, '', 'Products', '', '', '', '', 'Products', '', '', '', '', NULL, NULL, 1, 0, NULL, NULL, '', 0);
+INSERT INTO Category (CategoryId, Type, SymLinkCategoryId, ParentId, Name, l1_Name, l2_Name, l3_Name, l4_Name, l5_Name, Filename, AutomaticFilename, Description, l1_Description, l2_Description, l3_Description, l4_Description, l5_Description, CreatedOn, EditorsPick, Status, Priority, MetaKeywords, CachedDescendantCatsQty, CachedNavbar, l1_CachedNavbar, l2_CachedNavbar, l3_CachedNavbar, l4_CachedNavbar, l5_CachedNavbar, CreatedById, ResourceId, ParentPath, TreeLeft, TreeRight, NamedParentPath, MetaDescription, HotItem, NewItem, PopItem, Modified, ModifiedById, CachedTemplate, Template, UseExternalUrl, ExternalUrl, UseMenuIconUrl, MenuIconUrl, l1_Title, l2_Title, l3_Title, l4_Title, l5_Title, l1_MenuTitle, l2_MenuTitle, l3_MenuTitle, l4_MenuTitle, l5_MenuTitle, MetaTitle, IndexTools, IsMenu, IsSystem, FormId, FormSubmittedTemplate, FriendlyURL, ThemeId) VALUES(202, 0, NULL, 1, '', 'Services', '', '', '', '', 'Services', 1, NULL, NULL, NULL, NULL, NULL, NULL, 1257194857, 0, 1, -5, NULL, 0, NULL, 'Content&|&Services', 'Content&|&Services', 'Content&|&Services', 'Content&|&Services', 'Content&|&Services', -1, 202, '|1|202|', 16, 17, 'Content/Services', NULL, 2, 2, 2, 1257200289, -1, '#default_design#', '#default_design#', 0, '', 0, '', 'Services', '', '', '', '', 'Services', '', '', '', '', NULL, NULL, 1, 0, NULL, NULL, '', 0);
+INSERT INTO Category (CategoryId, Type, SymLinkCategoryId, ParentId, Name, l1_Name, l2_Name, l3_Name, l4_Name, l5_Name, Filename, AutomaticFilename, Description, l1_Description, l2_Description, l3_Description, l4_Description, l5_Description, CreatedOn, EditorsPick, Status, Priority, MetaKeywords, CachedDescendantCatsQty, CachedNavbar, l1_CachedNavbar, l2_CachedNavbar, l3_CachedNavbar, l4_CachedNavbar, l5_CachedNavbar, CreatedById, ResourceId, ParentPath, TreeLeft, TreeRight, NamedParentPath, MetaDescription, HotItem, NewItem, PopItem, Modified, ModifiedById, CachedTemplate, Template, UseExternalUrl, ExternalUrl, UseMenuIconUrl, MenuIconUrl, l1_Title, l2_Title, l3_Title, l4_Title, l5_Title, l1_MenuTitle, l2_MenuTitle, l3_MenuTitle, l4_MenuTitle, l5_MenuTitle, MetaTitle, IndexTools, IsMenu, IsSystem, FormId, FormSubmittedTemplate, FriendlyURL, ThemeId) VALUES(203, 0, NULL, 1, '', 'Contact Us', '', '', '', '', 'Contact-Us', 1, NULL, NULL, NULL, NULL, NULL, NULL, 1257208139, 0, 1, -6, NULL, 0, NULL, 'Content&|&Contact Us', 'Content&|&Contact Us', 'Content&|&Contact Us', 'Content&|&Contact Us', 'Content&|&Contact Us', -1, 203, '|1|203|', 18, 19, 'Content/Contact-Us', NULL, 2, 2, 2, 1257208178, 0, '#form_design#', '#form_design#', 0, '', 0, '', 'Contact Us', '', '', '', '', 'Contact Us', '', '', '', '', NULL, NULL, 1, 0, 1, 'thankyou', '', 0);
+
+UPDATE IdGenerator SET lastid = lastid + 100;
+
+INSERT INTO PageContent VALUES(DEFAULT, 1, (SELECT CategoryId FROM <%TABLE_PREFIX%>Category WHERE Template = 'index'), '<p>Once upon a time, there was a webmaster wanna-be Dwayne Wiener working for a company Techno-funky Gadgets, Inc. Dwayne was in charge of the company&rsquo;s website: responsible for keeping information current, maintaining lists of products and services, posting specials and press releases, and updating the portfolio.</p>\r\n<p>Dwayne was not very happy because every little update to the website had to be done by web designers, who were always late and charged a lot of money. As a result of that, the website was outdated, stagnant and non-performing.</p>\r\n<p><img src="http://demo.in-portal.com/demo_images/dwayne_wiener.png" alt="Dwayne Wiener" style="width: 415px; height: 300px;" /><br />\r\n<br />\r\n&ldquo;There must be another way!&rdquo; Dwayne thought in despair. This is how Dwayne found In-Portal Content Management System that puts companies back in control of their websites. The Content Management System (or CMS) allows companies to maintain and update their websites in-house, allowing for a more efficient delivery of critical information, and reducing operating costs of the website.</p>\r\n<p>Dwayne equipped the company&rsquo;s website with the In-Portal CMS, allowing Dwayne and other personnel at Techno-funky Gadgets to make updates to the website at their convenience. First Dwayne was worried that updating the website is complicated and would require special knowledge of web design and programming. Then Dwayne discovered that the system is very easy to use and is similar to Microsoft&copy; Word&trade;, with all the familiar tools and interfaces. It is completely online-based and can be accessed from any computer connected to the Internet, without any need for special software. The system is also very secure: only authorized personnel can make changes to the website.</p>\r\n<p>The uneasy days were over and Dwayne was happy once again. Techno-funky Gadget&rsquo;a website became one of the best in the industry, the company was saving a lot of money, and clients loved dealing with Techno-funky Gadgets because the website was appealing and easy to use. Dwayne was praised for the technical innovation, became a well known Internet guru around the office, and finally got the well-deserved promotion to the position of a Webmaster.</p>', NULL, NULL, NULL, NULL);
+INSERT INTO PageContent VALUES(DEFAULT, 5, (SELECT CategoryId FROM <%TABLE_PREFIX%>Category WHERE Template = 'index'), '<dt>Dwayne Wiener - Employee of the Month</dt>\r\n<dd>November 20, 2012 Dwayne Wiener has been voted Techno-funky Gadgets&rsquo;s Employee of the Month for December, 2012. Dwayne oversees performance of the company&rsquo;s new website, and is the mastermind behind its execution. The new website, developed by Intechnic Corporation, has an improved functionality, is easy to maintain, and it didn&rsquo;t break Techno-funky Gadgets&rsquo;s bank! Dwayne Wiener&rsquo;s accomplishment is projected to cut costs by 40%, and to increase revenues by 20% from current levels &ndash; an unprecedented improvement from a single implementation.</dd>\r\n<dt>New Website for Techno-funky Gadgets</dt>\r\n<dd>October 15, 2012 Techno-funky Gadgets is proud to announce the launch of its new website, dedicated to providing clients with an online resource for innovative and affordable products and services for anyone who needs them. It is intuitively structured, and is easy to navigate. The site is based on Intechnic&rsquo;s state-of-the-art Content Management System. It allows administrators at Techno-funky Gadgets to maintain the contents and the structure of the website in-house, without using any help from web designers. Regularly updated, the new Techno-funky Gadgets website is worthy of bookmarking for regular visits by anyone needing anything!</dd>', NULL, NULL, NULL, NULL);
+INSERT INTO PageContent VALUES(DEFAULT, 6, (SELECT CategoryId FROM <%TABLE_PREFIX%>Category WHERE Template = 'index'), '<dt>ADMINISTRATIVE CONSOLE</dt>\r\n<dd>In-Portal&rsquo;s Administrative Console is Dwayne&rsquo;s little secret. It allows him to update the company&rsquo;s website from any computer with Internet access while he relaxes in his home or office, with a beer in hand, or with a cucumber mask on his face!<br />\r\n<br />\r\n<a href="admin/index.php"> <img src="http://demo.in-portal.com/demo_images/click_here.gif" style="width: 220px; height: 125px;" alt="Administrative Console" /> </a></dd>', NULL, NULL, NULL, NULL);
+INSERT INTO PageContent VALUES(DEFAULT, 1, 200, '<p><img alt="About Techno-funky Gadgets" style="float: right; width: 182px; height: 292px;" src="http://demo.in-portal.com/demo_images/about_company.png" /> Techno-funky Gadgets is a company of tomorrow. We are setting industry standards by utilizing cutting edge technologies and innovations, while opening new frontiers and possibilities for our customers. Dedicated to the design, production, and delivery of innovative giggalmators, agathokakologs, and hundreds of other products and services over the last 25 years, Techno-funky Gadgets is uniquely able to offer its clients expert advice and comprehensive range of products to help them with any aspect of life. The products and services that we develop and make available on the market are used in every day lives of millions of people. Imagine yourself without a giggalmator today, and you will understand exactly what impact Techno-funky Gadgets has on the global community.</p>\r\n<p>Our mission is to fulfill each and every one of our customers&rsquo; needs. We value personal approach, diligence and professionalism, and we place trust at the center of every relationship, always staying committed to our customer. Our Customer Service Representatives are so dedicated to their job &ndash; they give out their personal numbers to clients, maintaining our reputation of a world class service company! All of our products and services come with an unlimited lifetime warranty, as Techno-funky Gadgets takes pride in delivering only the highest quality products and services.</p>\r\n<p>Customers that choose Techno-funky Gadgets can rest assured that they have made a wise decision. Their business will always be safe in the hands of professionals who are not only experts in their respective fields, but who also greatly enjoy doing what they do best.</p>\r\n<br />\r\n<br />\r\n<br />\r\n<br />\r\n<br />\r\n&nbsp; <script type="text/javascript">\r\n$(document).ready(function() {\r\n	$(''div.text'').addClass(''about'');\r\n});\r\n</script>', NULL, NULL, NULL, NULL);
+INSERT INTO PageContent VALUES(DEFAULT, 1, 201, '<p>Products by Techno-funky Gadgets come in a wide variety of shapes, sizes, colors, sounds, resolutions and tastes. Our award-winning products are enjoyed by everyone: from children to great-grandparents; from pre-schoolers to PhD&rsquo;s; from artists to CFO&rsquo;s; from rich to poor, from boring to funny. However you like it &ndash; Techno-funky Gadgets can cater to your needs.</p>\r\n<p><img alt="Giggalmator" style="float: left; width: 129px; height: 140px;" src="http://demo.in-portal.com/demo_images/giggalmator.jpg" /></p>\r\n<h4>Giggalmator</h4>\r\nGiggalmator is the most advanced product in the family of Techno-funky Gadgets&rsquo;s Products. With 500 gigabytes of storage space, 30 miles per gallon and 256 distinct transformation styles, it delivers maximum results in minimum amount of time, while offering superb adaptation functions.  With the best taste bud rating in the industry, and the highest crash test score, you can rely on Giggalmator to deliver scrumptious, stylish, reliable results.&nbsp;\r\n<p><img alt="Agathokakolog" style="float: right; width: 137px; height: 148px;" src="http://demo.in-portal.com/demo_images/agathokakolog.jpg" /></p>\r\n<p>&nbsp;</p>\r\n<h4>Agathokakolog</h4>\r\nAgathokakolog is the most impressive product of its kind on the market today: it can spin at the speed of 867,5309 rev/min, transmit 1.5Gbps of junk email, shoot 3.14 arrows per second, and on top of all that, its bouncing abilities are unsurpassed at .007 Million bounces per second!  You&rsquo;ve got to have it to believe it!<br />\r\n<p>&nbsp;</p>\r\n<p>&nbsp;</p>\r\n<br />\r\n<br />\r\n<br />\r\n<br />\r\n<br />\r\n&nbsp; <script type="text/javascript">\r\n$(document).ready(function() {\r\n	$(''div.text'').addClass(''products'');\r\n});\r\n</script>', NULL, NULL, NULL, NULL);
+INSERT INTO PageContent VALUES(DEFAULT, 1, 202, '<p>Techno-funky Gadgets is committed to excellence in all aspects of business. Just as our products are of the highest quality, our services bring the utmost satisfaction to our clients. We strive to make the world a better place, and our services have been designed with that goal in mind.</p>\r\n<p>The packages described herein are available for general public; however, if you have a special request, please let us know and we will do our best to accommodate you.</p>\r\n<h4>The Performance Boosting Package</h4>\r\n<p><img alt="The Performance Boosting Package" style="float: right; width: 150px; height: 215px;" src="http://demo.in-portal.com/demo_images/services_photo.png" /><br />\r\nIs your office lacking performance? Are you a Manager whose subordinates are unproductive? Nothing gets done around the office? Has your secretary been typing up that memo about doing work on time, for the past four days? If you answered &ldquo;Yes&rdquo; to any of the above questions, this Boosting Package is for you! $copmpany has all of our productivity problems solved: the package consists of one Office Drill Sergeant and two Assistants.</p>\r\n<p>As we always do what&rsquo;s in the best interest of our Client, this is a service we provide for a maximum period of one week at a time, so as not to increase employee turnover in your Company. You will have the Office Drill Sergeant at your workplace from morning and until night, ensuring that no one under your command slacks off. This is our most popular office service, and the only one, according to our clients, that significantly increases productivity in the office.</p>\r\n<h4>The Dust-Bust Package</h4>\r\n<p>Techno-funky Gadgets believes that plants must not be dusty. After a number of extensive and very reliable surveys, Techno-funky Gadgets received <img alt="The Performance Boosting Package" style="float: left; width: 137px; height: 166px;" src="http://demo.in-portal.com/demo_images/service.jpg" />reassurance that many people in the world have the same concern.</p>\r\n<p>This Package includes:<br />\r\n1. Plant-dusting of all plants &ndash; both inside and outside of your house<br />\r\n2. A set of our revolutionary Plant Dusters, engineered and produced by Techno-funky Gadgets<br />\r\n3. Actual planting of 3 new plants of your choice<br />\r\n4. BONUS: A complimentary video of various plant-dusting techniques!</p>\r\n<p>Techno-funky Gadgets only hires the top-of-the-class graduates of the World Plant-Dusting Institute, administer rigorous tests to ensure qualification, and hold mandatory Seminars to ensure that all of our top-notch dusters stay atop the newest industry developments and standards.</p>\r\n<p>This package does not disappoint &ndash; we leave your plants spotless, green, and dust-free!</p>\r\n<br />\r\n<br />\r\n<br />\r\n<br />\r\n<br />\r\n&nbsp; <script type="text/javascript">\r\n$(document).ready(function() {\r\n	$(''div.text'').addClass(''services'');\r\n});\r\n</script>', NULL, NULL, NULL, NULL);
+INSERT INTO PageContent VALUES(DEFAULT, 1, 203, '<p><img alt="Contact Us" style="width: 197px; height: 135px; float: right;" src="http://demo.in-portal.com/demo_images/contact_us.jpg" /> If you have any questions, comments, concerns, or if you would like to request general information about any of our products or services, please contact us in a way that is the most convenient for you:\r\n<br/>\r\n<br/>\r\n<br/>\r\n<br/>\r\n<br/>\r\n<br/>\r\n</p>\r\n', NULL, NULL, NULL, NULL);
+INSERT INTO PageContent VALUES(DEFAULT, 2, 203, '<p>Techno-funky Gadgets, Inc<br />\r\n1234 Funky Drive<br />\r\nDwayneville, Alaska 00190<br />\r\nUnited States</p>\r\n<p>Phone: 847-816-1231<br />\r\nE-mail: <a href="mailto:info@company.com">info@company.com</a></p>', NULL, NULL, NULL, NULL);
+INSERT INTO PageContent VALUES(DEFAULT, 3, 203, 'NOTE: fields marked with <span class="red">*</span> are required.', NULL, NULL, NULL, NULL);
+
+INSERT INTO PermCache VALUES(DEFAULT, 200, 1, '11');
+INSERT INTO PermCache VALUES(DEFAULT, 201, 1, '11');
+INSERT INTO PermCache VALUES(DEFAULT, 202, 1, '11');
+INSERT INTO PermCache VALUES(DEFAULT, 203, 1, '11');
+
+INSERT INTO Forms VALUES(1, 'Contact Us', 'Form for contacts');
+
+INSERT INTO FormFields VALUES(1, 1, 0, 'Name', 'lu_fld_Name', NULL, 'la_fld_Name', 'text', NULL, 5, 0, 1, 1, NULL, 0);
+INSERT INTO FormFields VALUES(2, 1, 0, 'Company', 'lu_fld_Company', NULL, 'la_fld_Company', 'text', NULL, 4, 0, 1, 1, NULL, 0);
+INSERT INTO FormFields VALUES(3, 1, 0, 'Email', 'lu_fld_Email', NULL, 'la_fld_Email', 'text', NULL, 3, 0, 1, 1, NULL, 1);
+INSERT INTO FormFields VALUES(4, 1, 0, 'Phone', 'lu_fld_Phone', NULL, 'la_fld_Phone', 'text', NULL, 2, 0, 0, 1, NULL, 0);
+INSERT INTO FormFields VALUES(5, 1, 0, 'Message', 'lu_fld_Message', NULL, 'la_fld_Message', 'textarea', NULL, 0, 0, 1, 0, NULL, 0);
+INSERT INTO FormFields VALUES(6, 1, 0, 'Subject', 'lu_fld_Subject', NULL, 'la_fld_Subject', 'select', '=+-- Please select --||0=+Sales questions||1=+General questions||2=+Billing questions||3=+Support questions', 1, 0, 1, 0, NULL, 0);
+
+ALTER TABLE FormSubmissions
+	ADD COLUMN fld_1 text,
+	ADD COLUMN fld_2 text,
+	ADD COLUMN fld_3 text,
+	ADD COLUMN fld_4 text,
+	ADD COLUMN fld_5 text,
+	ADD COLUMN fld_6 text;
+
+UPDATE ConfigurationValues SET VariableValue = 'Techno-funky Gadgets' WHERE VariableName = 'Site_Name';
\ No newline at end of file
Index: themes/default/_install/theme.xml
===================================================================
--- themes/default/_install/theme.xml	(revision 0)
+++ themes/default/_install/theme.xml	(revision 0)
@@ -0,0 +1,5 @@
+<theme>
+	<default_design>designs/general</default_design>
+	<form_design>designs/form</form_design>
+	<form_thankyou>thankyou</form_thankyou>
+</theme>
\ No newline at end of file
Index: themes/default/error_notfound.tpl
===================================================================
--- themes/default/error_notfound.tpl	(revision 0)
+++ themes/default/error_notfound.tpl	(revision 0)
@@ -0,0 +1,28 @@
+<!--##
+<NAME>Page Not Found</NAME>
+<DESC></DESC>
+<SECTION>Pages</SECTION>
+##-->
+
+<!--## SET 404 HEADER FOR RESPONSE ##-->
+<inp2:m_Header data="HTTP/1.0 404 Not Found"/>
+<!--## //SET 404 HEADER FOR RESPONSE ##-->
+
+<!--## DEFINE MAIN CONTENT ELEMENT ##-->
+<inp2:m_DefineElement name="content">
+
+	<inp2:m_RenderElement design="content_box">
+		<inp2:m_Capture to_var="header">
+			<inp2:st_PageInfo type="title"/>
+		</inp2:m_Capture>
+
+		<inp2:st_ContentBlock num="1"/>
+
+	</inp2:m_RenderElement>
+
+</inp2:m_DefineElement>
+<!--## /DEFINE MAIN CONTENT ELEMENT ##-->
+
+<!--## DESIGN TEMPLATE ##-->
+<inp2:m_include template="designs/default_design.des" page_class="inner"/>
+<!--## /DESIGN TEMPLATE ##-->
Index: themes/default/redirect.tpl
===================================================================
--- themes/default/redirect.tpl	(revision 0)
+++ themes/default/redirect.tpl	(revision 0)
@@ -0,0 +1,57 @@
+<!--##
+<NAME>Redirect</NAME>
+<DESC></DESC>
+<SECTION>Pages</SECTION>
+##-->
+
+<!--## DEFINE MAIN CONTENT ELEMENT ##-->
+<inp2:m_DefineElement name="content">
+
+	<inp2:m_RenderElement design="content_box">
+	
+		<inp2:m_Capture to_var="header">
+			<inp2:m_Phrase name="lu_title_Redirect"/>
+		</inp2:m_Capture>
+		
+		<br /><br />
+		<inp2:m_phrase name="lu_text_Redirect"/>
+
+		<script type="text/javascript">
+			function exec_refresh() {
+				window.status = 'Redirecting...' + myvar;
+				myvar = myvar + ' .';
+
+				var timerID = setTimeout('exec_refresh();', 100);
+				if (timeout > 0) {
+					// prints dots in status bar for timeout * 100 miliseconds (will be 2 seconds)
+					timeout -= 1;
+				}
+				else {
+					clearTimeout(timerID);
+					window.status = '';
+					window.location = '<inp2:m_Get name="redirect_to" js_escape="1"/>';
+				}
+			}
+			var myvar = '';
+			var timeout = 20;
+
+			exec_refresh();
+		</script>
+
+		<form action="<inp2:m_FormAction />" method="get">
+		<br />
+			<!-- lu_redirecting_text -->
+			<a href="<inp2:m_Get name='redirect_to'/>"><inp2:m_Phrase label="lu_text_Redirect" /></a><br />
+			<br />
+			<script type="text/javascript">
+				document.write('<input type="submit" class="button" value=" Proceed " accesskey="s" onclick="window.location=\'<inp2:m_Get name="redirect_to" js_escape="1"/>\'; return false" />');
+			</script>
+		</form>
+		<br /><br />
+
+	</inp2:m_RenderElement>
+
+</inp2:m_DefineElement>
+<!--## /DEFINE MAIN CONTENT ELEMENT ##-->
+
+<inp2:m_include template="designs/default_design.des" page_class="inner"/>
\ No newline at end of file
Index: themes/default/.smsignore
===================================================================
--- themes/default/.smsignore	(revision 0)
+++ themes/default/.smsignore	(revision 0)
@@ -0,0 +1,2 @@
+search-results\.tpl
+recommend\.tpl
\ No newline at end of file
Index: themes/default/designs/.smsignore
===================================================================
--- themes/default/designs/.smsignore	(revision 0)
+++ themes/default/designs/.smsignore	(revision 0)
@@ -0,0 +1 @@
+.*\.tpl
\ No newline at end of file
Index: themes/default/designs/default_design.des.tpl
===================================================================
--- themes/default/designs/default_design.des.tpl	(revision 0)
+++ themes/default/designs/default_design.des.tpl	(revision 0)
@@ -0,0 +1,49 @@
+<inp2:m_CheckSSL/><inp2:m_DefaultParam page_class=""/>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<inp2:lang.current_Field name="Locale" db="1"/>" lang="<inp2:lang.current_Field name="Locale" db="1"/>">
+	<head>
+		<title>
+			<inp2:st_PageInfo type="title"/> (<inp2:m_GetConfig name="Site_Name"/>)
+		</title>
+		<inp2:m_Include template="elements/html_head.elm" />
+	</head>
+
+	<body>
+		<inp2:m_Include template="elements/content_boxes.elm" strip_nl="1"/> <!--## includes system elements ##-->
+
+		<inp2:st_EditPage mode="start"/><!--## System tag please do not remove ##-->
+
+			<div id="wrapper" class="<inp2:m_Param name='page_class'/>">
+
+				<!-- Basic Header -->
+				<inp2:m_Include template="elements/header.elm" />
+				<!-- /Basic Header -->
+
+				<!-- Navigation -->
+				<inp2:m_Include template="elements/navigation_menu.elm" />
+				<!-- /Navigation -->
+
+				<div id="content">
+
+					<inp2:m_RenderElement name="content"/>
+
+					<!--## defined in each data template or default one used ##-->
+					<inp2:m_RenderElement name="sidebar" default_element="default_sidebar" />
+
+					<div class="clear"></div>
+
+				</div><!-- #content -->
+
+			</div><!-- #wrapper -->
+
+			<!-- Footer -->
+			<inp2:m_Include template="elements/footer.elm" />
+			<!-- //Footer -->
+
+		<inp2:st_EditPage mode="end"/> <!--## /System tag please do not remove ##-->
+
+		<inp2:m_Include template="elements/tracking.elm" />
+	</body>
+</html>
\ No newline at end of file
Index: themes/default/designs/form.tpl
===================================================================
--- themes/default/designs/form.tpl	(revision 0)
+++ themes/default/designs/form.tpl	(revision 0)
@@ -0,0 +1,78 @@
+<!--##
+<NAME>Online Form - Section Template</NAME>
+<DESC>Online Form</DESC>
+<SECTION>Pages</SECTION>
+##-->
+<inp2:m_include template="elements/dynamic_forms.elm"/>
+
+<!--## DEFINE MAIN CONTENT ELEMENT ##-->
+<inp2:m_DefineElement name="content">
+
+	<inp2:m_RenderElement design="content_box">
+		<inp2:m_Capture to_var="header">
+			<inp2:st_PageInfo type="title"/>
+		</inp2:m_Capture>
+
+		<inp2:st_ContentBlock num="1"/>
+
+		<div class="contacts-block">
+			<div class="address">
+				<h4><inp2:m_Phrase label="lu_title_Address"/>:</h4>
+				<inp2:st_ContentBlock num="2"/>
+			</div>
+
+			<div class="contacts-form">
+				<h4><inp2:m_Phrase label="lu_title_RequestInformation"/></h4>
+				<p class="note">
+					<inp2:st_ContentBlock num="3"/>
+				</p>
+
+				<div class="bg-contacts">
+					<div class="bg-contacts-up">
+						<div class="bg-contacts-down">
+
+							<form method="post" action="<inp2:m_Link m_cat_id="0" m_cat_page="1"/>">
+							<inp2:formsubs_PresetFormFields/>
+
+							<inp2:m_if check="formsubs_HasError" field="any">
+								<p class="red"><inp2:m_RenderElement name="error_message" /></p>
+							</inp2:m_if>
+
+							<inp2:formflds_PrintList render_as="form_field" SourcePrefix="formsubs" per_page="-1"/>
+
+							<p class="button">
+								<input type="reset" name="reset" value="<inp2:m_Phrase label='lu_btn_Reset' no_editing='1'/>" />
+								<input type="submit" name="events[formsubs][OnCreate]" value="<inp2:m_Phrase label='lu_btn_Send' no_editing='1'/>" class="submit"/>
+								<input type="hidden" name="<inp2:formsubs_InputName field="FormId"/>" value="<inp2:m_Get var="form_id"/>"/>
+								<input type="hidden" name="form_id" value="<inp2:m_Get var="form_id"/>"/>
+								<input type="hidden" name="success_template" value="<inp2:st_Field name="FormSubmittedTemplate"/>"/>
+							</p>
+
+							</form>
+							<div class="clear"></div>
+
+						</div>
+					</div>
+				</div>
+
+			</div>
+
+			<div class="clear"></div>
+
+		</div>
+
+		<script type="text/javascript">
+			$(document).ready(
+				function() {
+					$('div.text').addClass('contacts');
+				}
+			);
+		</script>
+	</inp2:m_RenderElement>
+
+</inp2:m_DefineElement>
+<!--## /DEFINE MAIN CONTENT ELEMENT ##-->
+
+<!--## INCLUDE MAIN DESIGN TEMPLATE ##-->
+<inp2:m_include template="designs/default_design.des" page_class="inner"/>
+<!--## /INCLUDE MAIN DESIGN TEMPLATE ##-->
\ No newline at end of file
Index: themes/default/designs/general.tpl
===================================================================
--- themes/default/designs/general.tpl	(revision 0)
+++ themes/default/designs/general.tpl	(revision 0)
@@ -0,0 +1,24 @@
+<!--##
+<NAME>General - Section Template</NAME>
+<DESC>General</DESC>
+<SECTION>Pages</SECTION>
+##-->
+
+<!--## DEFINE MAIN CONTENT ELEMENT ##-->
+<inp2:m_DefineElement name="content">
+
+	<inp2:m_RenderElement design="content_box">
+		<inp2:m_Capture to_var="header">
+			<inp2:st_PageInfo type="title"/>
+		</inp2:m_Capture>
+
+		<inp2:st_ContentBlock num="1"/>
+
+	</inp2:m_RenderElement>
+
+</inp2:m_DefineElement>
+<!--## /DEFINE MAIN CONTENT ELEMENT ##-->
+
+<!--## INCLUDE MAIN DESIGN TEMPLATE ##-->
+<inp2:m_include template="designs/default_design.des" page_class="inner"/>
+<!--## /INCLUDE MAIN DESIGN TEMPLATE ##-->
\ No newline at end of file
Index: core/units/content/content_eh.php
===================================================================
--- core/units/content/content_eh.php	(revision 13128)
+++ core/units/content/content_eh.php	(working copy)
@@ -34,4 +34,18 @@
 
 			return $perm_helper->finalizePermissionCheck($event, $perm_status);
 		}
+		
+		/**
+		 * Checks for readonly permissions
+		 *
+		 * @param kEvent $event
+		 */
+		function OnUpdate(&$event)
+		{
+			if ($this->Application->CheckPermission('SYSTEM_ACCESS.READONLY', 1)) {
+				$event->status = erSTOP;
+				return;
+			}
+			parent::OnUpdate($event);
+		}
 	}
\ No newline at end of file
