//_dynjsload is the list of all sources that can be loaded dynamically at runtime
//used by dynamic inclusion mechanism in header.js    
//add any dynamically loaded js file here before using the 'requires' function in header.js
var _dynjsload = new Object();

_dynjsload['/rte/rteTemplates.tpl'] = 'heardertempplate/rteTemplates_nl_NL.0bc607c09775d36e.js';
_dynjsload['/statics/controls/preview.js'] = 'heardertempplate/preview.909e62868deaf0cc3af471775c9aa73e.js';
_dynjsload['/statics/controls/RichTextEditor.js'] = 'heardertempplate/RichTextEditor.61f5d63281bcb394197b228207cbe29e.js';
_dynjsload['/precompiled/RTE_Smileypicker.js'] = 'heardertempplate/RTE_Smileypicker.a109a36e1f093a87f14d76c2fe7f75b3.js';

_dynjsload['/statics/scriptaculous/dragdrop.js'] = 'heardertempplate/dragdrop.4224bc062d122fd48b82620aed594aa2.js';
_dynjsload['/statics/popupdialog.js'] = 'heardertempplate/popupdialog.f0ee47bb7da925569544a24083723888.js';

 
//var _soundFiles = new Object(); 
//_soundFiles['ChatSound'] = 'http://cache.hyves-static.net/statics/ChatSound.a3c7747d2bc8f8a673cfdaa828f8bfef.swf';

//this is the list of dynamically includable modules
//it is a mapping from the name of the module to the javascript source that implements it
var _modules = new Object();
_modules['RichTextModule'] = '/statics/controls/RichTextEditor.js';
_modules['PopupDialogManager'] = '/statics/popupdialog.js';
_modules['PreviewModule'] = '/statics/controls/preview.js';
 
templates.addFromString('header.tmplDropShadow', '<table class=\"ds\" style=\"width: 100%; height: 100%\">\n<tr>\n    <td class=\"ds_c\"><\/td>\n    <td class=\"ds_b\"><\/td>\n    <td class=\"ds_c ds_img\" style=\"background-image:url(${hyves_cache_url}/images/shadow/tr_shadow.png);\"><\/td>\n<\/tr>\n<tr>\n    <td class=\"ds_b\"><\/td>\n    <td class=\"ds_b\"><\/td>\n    <td class=\"ds_img\" width=\"8\" style=\"background-image:url(${hyves_cache_url}/images/shadow/r_shadow.png);\"><\/td>\n<\/tr>\n<tr>\n    <td class=\"ds_c ds_img\" style=\"background-image:url(${hyves_cache_url}/images/shadow/bl_shadow.png);\"><\/td>\n    <td class=\"ds_b ds_img\" style=\"background-image:url(${hyves_cache_url}/images/shadow/b_shadow.png);\"><\/td>\n    <td class=\"ds_c ds_img\" style=\"background-image:url(${hyves_cache_url}/images/shadow/br_shadow.png);\"><\/td>\n<\/tr>         \n<\/table>\n');
templates.addFromString('header.tmplDialog.default', ' \n<div class=\"DialogBox BodyTextSmall Test\">\n	<div id=\"${id}_header\" class=\"${headerClass}\">\n\n    		<div id=\"${id}_header_busy\" style=\"display: none;float: left;\"><img src=\"http://${hyves_cache_url}/images/ajax_action.gif\" border=\"0\" alt=\"Laden...\"/>&nbsp;&nbsp;<\/div>\n            <div id=\"${id}_header_msg\" style=\"float: left;\">&nbsp;<\/div>\n\n            <div style=\"cursor: pointer; float: right; height: 15px\">\n                <div id=\"${id}_header_restore\" class=\"popupbutton popupbutton-restore\" style=\"display: none;\"><\/div>\n                <div id=\"${id}_header_minimize\" class=\"popupbutton popupbutton-minimize\" style=\"display: none;\"><\/div>\n                <div id=\"${id}_header_maximize\" class=\"popupbutton popupbutton-maximize\" style=\"display: none;\"><\/div>\n                <div id=\"${id}_header_close\" class=\"popupbutton popupbutton-close\" style=\"display: none;\"><\/div>\n            <\/div>\n            \n	<\/div>\n	<div id=\"${id}_body\" class=\"${bodyClass}\"{if bodyStyle} style=\"${bodyStyle}{/if}\"><\/div>\n	<div id=\"${id}_footer\" class=\"${footerClass}\" style=\"display: none;\">\n		<div id=\"${id}_footer_buttons\" style=\"float: right;padding: 10px 5px 5px 5px;\"><\/div>\n	<\/div>\n<\/div>\n');
templates.addFromString('header.tmplDialog.notification', ' \n    <div class=\"DialogBox BodyTextSmall\" style=\"width: 200px;\">\n      <div class=\"${headerClass}\" style=\"height: 22px;\">\n          <div style=\"float: left;\">Hyves<\/div>\n          <div style=\"cursor: pointer; float: right; height: 15px\">\n              <div id=\"${id}_header_close\" class=\"popupbutton popupbutton-close\" style=\"display: none;\"><\/div>\n          <\/div>\n      <\/div>\n    <div id=\"${id}_body\" class=\"${bodyClass}\" style=\"height: 100px;\"><\/div>\n<\/div>\n');
templates.addFromString('header.tmplDialogButton.default', '<input type=\"button\" id=\"${id}\" class=\"DialogButton\" value=\"${value}\"><\/input>&nbsp;&nbsp;\n');        
templates.addTranslation('ILLEGAL_GADGET', 'Deze gadget is nog niet toegestaan, of er is iets anders misgegaan. ');
templates.addTranslation('RTE_PREVIEW_GADGET', 'Gadget<br />\r\n<img src=\"http://cache.hyves.nl/images/ajax_action.gif\" />');
templates.addTranslation('RTE_MSIE6_GOODGADGET', 'Deze gadget is goedgekeurd en zal op de site getoond worden');
templates.addTranslation('PRINT_MEDIA_NO_RIGHT_TO_PRINT', 'Je mag deze foto helaas niet bestellen!');
templates.addTranslation('PRINT_ALBUM_NO_RIGHT_TO_PRINT', 'Helaas mag je geen foto\'s uit dit album bestellen');
templates.addTranslation('PRESENCESHOWSTATUSMENU_TITLE', 'Mijn online status');

templates.addFromString('gadget.msg.error', '<div id=\"${id}\">\n<span style=\"display: block; width: 150px; height: 150px; border: 1px solid red; text-align: center; background-color: white; color: black;\">\n${msg}\n<\/span>\n<\/div>\n');
templates.addFromString('gadget.msg.ok', '<div id=\"${id}\">\n<span style=\"display: block; width: 150px; height: 150px; border: 1px solid blue; text-align: center; background-color: white; color: black;\">\n${msg}\n<\/span>\n<\/div>\n');                              
templates.addFromString('presence.tmplPresenceSelectorDropDownMenu', '<table bgcolor=\"#6699CC\" width=\"200\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\">\n    {if currentPresenceVisiblity <= 1}\n    <tr>\n        <td class=\"BodyTextSmall MyMenu\" style=\"padding: 2px;\">\n            Je kunt je online status niet wijzigen want niemand mag het toch zien.\n        <\/td>\n    <\/tr>\n    {else}\n        {for aStatus in aShowStatus}\n            <tr>\n                <td class=\"BodyTextSmall\" style=\"padding: 2px;\">\n                    <a href=\"javascript:void(0);\" onclick=\"presenceManager.getPresenceSelector(\'${name}\').setStatus(\'${aStatus_index}\')\" \n                        style=\"color: #FFFFFF;\">\n                        <img src=\"http://${hyves_cache_url}/images/hyppo/status_${aStatus_index}.png \" \n                            class=\"transparentpng\" width=\"18\" height=\"15\" border=\"0\" \n                            alt=\"${aStatus.status}\" title=\"${aStatus.status}\" \n                            align=\"left\">${aStatus.status}\n                    <\/a>                        \n                <\/td>\n            <\/tr>\n        {/for}\n    {/if}\n    <tr>\n        <td class=\"BodyTextSmall MyMenu\" style=\"padding: 2px;border-top: 1px solid #FFFFFF;color: #000;background-color: #CFDFEF;\">\n            Online status zichtbaar voor: ${currentPresenceVisiblityDescription}\n        <\/td>\n    <\/tr>\n    <tr>\n        <td class=\"BodyTextSmall MyMenu\" style=\"padding: 3px;color: #000;background-color: #CFDFEF;\">\n            Wie mag met me chatten: ${currentChatability}\n        <\/td>\n    <\/tr>\n    <tr>\n        <td class=\"BodyTextSmall MyMenu\" style=\"padding: 3px;background-color: #CFDFEF;\">\n            <a href=\"${chatSettingsUrl}\" color=\"#FFFFFF;\">Verander instellingen<\/a>\n        <\/td>\n    <\/tr>\n    \n<\/table>\n');     

templates.addFromString('presence.tmplPresenceSelector', '<a href=\"javascript:void(0);\" class=\"personal_link ChangePresence_${name}\">\n    <nobr>\n        <span id=\"sps_status_${name}\" class=\"Inline BodyTextSmall\">\n             ${status.status}\n        <\/span>\n        <img src=\"http://${hyves_cache_url}/images/icons/${personalisedItemsSubdir}/icons16/arrow_down.png\" width=\"12\" height=\"7\" class=\"transparentpng fakelink\" border=\"0\">\n    <\/nobr>\n<\/a>\n');
templates.addFromString('presence.tmplPresenceSelectorSelect', '<select id=\"${name}_select\">\n{for aStatus in aShowStatus}\n    {if aStatus_index == status}\n        <option value=\"${aStatus_index}\" selected=\"selected\">${aStatus.status}<\/option>\n    {else}\n        <option value=\"${aStatus_index}\">${aStatus.status}<\/option>\n    {/if}\n{/for}\n<\/select>\n'); 
templates.addFromString('presence.tmplShowPresence', '{if loggedInMember || status != \'offline\' }\n<img src=\"http://${hyves_cache_url}/images/hyppo/status_${status}.png\" class=\"transparentpng\" width=\"18\" height=\"15\" border=\"0\" alt=\"\" title=\"\">\n{/if}\n{if availability == 1 && !loggedInMember }\n (Site)\n{/if}\n');
