// http://appdata.static.appdeck.mobi/res/ios7/icons/action_dark.png
// http://appdata.static.appdeck.mobi/res/ios7/icons/action.png
// http://appdata.static.appdeck.mobi/res/android/icons/action_dark.png
// http://appdata.static.appdeck.mobi/res/android/icons/action.png
$icon_theme = '';
if (isset($info->icon_theme) && strtolower($info->icon_theme) == 'dark') {
    $icon_theme = '_dark';
}
easy_embed("icon_action", "http://appdata.static.appdeck.mobi/res/" . EMBED_TYPE . "/icons/action{$icon_theme}.png");
easy_embed("icon_cancel", "http://appdata.static.appdeck.mobi/res/" . EMBED_TYPE . "/icons/cancel{$icon_theme}.png");
easy_embed("icon_close", "http://appdata.static.appdeck.mobi/res/" . EMBED_TYPE . "/icons/close{$icon_theme}.png");
easy_embed("icon_config", "http://appdata.static.appdeck.mobi/res/" . EMBED_TYPE . "/icons/config{$icon_theme}.png");
easy_embed("icon_info", "http://appdata.static.appdeck.mobi/res/" . EMBED_TYPE . "/icons/info{$icon_theme}.png");
easy_embed("icon_menu", "http://appdata.static.appdeck.mobi/res/" . EMBED_TYPE . "/icons/menu{$icon_theme}.png");
easy_embed("icon_next", "http://appdata.static.appdeck.mobi/res/" . EMBED_TYPE . "/icons/next{$icon_theme}.png");
easy_embed("icon_previous", "http://appdata.static.appdeck.mobi/res/" . EMBED_TYPE . "/icons/previous{$icon_theme}.png");
easy_embed("icon_ok", "http://appdata.static.appdeck.mobi/res/" . EMBED_TYPE . "/icons/ok{$icon_theme}.png");
easy_embed("icon_up", "http://appdata.static.appdeck.mobi/res/" . EMBED_TYPE . "/icons/up{$icon_theme}.png");
easy_embed("icon_down", "http://appdata.static.appdeck.mobi/res/" . EMBED_TYPE . "/icons/down{$icon_theme}.png");
easy_embed("icon_refresh", "http://appdata.static.appdeck.mobi/res/" . EMBED_TYPE . "/icons/refresh{$icon_theme}.png");
easy_embed("icon_search", "http://appdata.static.appdeck.mobi/res/" . EMBED_TYPE . "/icons/search{$icon_theme}.png");
easy_embed("icon_user", "http://appdata.static.appdeck.mobi/res/" . EMBED_TYPE . "/icons/user{$icon_theme}.png");
easy_embed("image_loader", "http://appdata.static.appdeck.mobi/res/" . EMBED_TYPE . "/images/loader{$icon_theme}.png");
easy_embed("image_pull_arrow", "http://appdata.static.appdeck.mobi/res/" . EMBED_TYPE . "/images/pull_arrow{$icon_theme}.png");
easy_embed("image_network_error", "http://appdata.static.appdeck.mobi/res/" . EMBED_TYPE . "/images/network_error{$icon_theme}.png");
easy_embed("logo");
appdeck_add_ressource("http://appdata.static.appdeck.mobi/js/appdeck_1.10.js", false, true);
appdeck_add_ressource("http://appdata.static.appdeck.mobi/js/appdeck_dev.js", false, true);
appdeck_add_ressource("http://appdata.static.appdeck.mobi/js/appdeck.js", false, true);
appdeck_add_ressource("http://appdata.static.appdeck.mobi/js/fastclick.js", false, true);
appdeck_ok("{$count_resource} resources embed in app");
if (isset($info->icon_theme) && strtolower($info->icon_theme) == 'dark') {
    $icon_theme = '_dark';
}
easy_embed("icon_action", "http://appdata.static.appdeck.mobi/res/" . EMBED_TYPE . "/icons/action{$icon_theme}.png");
easy_embed("icon_cancel", "http://appdata.static.appdeck.mobi/res/" . EMBED_TYPE . "/icons/cancel{$icon_theme}.png");
easy_embed("icon_close", "http://appdata.static.appdeck.mobi/res/" . EMBED_TYPE . "/icons/close{$icon_theme}.png");
easy_embed("icon_config", "http://appdata.static.appdeck.mobi/res/" . EMBED_TYPE . "/icons/config{$icon_theme}.png");
easy_embed("icon_info", "http://appdata.static.appdeck.mobi/res/" . EMBED_TYPE . "/icons/info{$icon_theme}.png");
easy_embed("icon_menu", "http://appdata.static.appdeck.mobi/res/" . EMBED_TYPE . "/icons/menu{$icon_theme}.png");
easy_embed("icon_next", "http://appdata.static.appdeck.mobi/res/" . EMBED_TYPE . "/icons/next{$icon_theme}.png");
easy_embed("icon_previous", "http://appdata.static.appdeck.mobi/res/" . EMBED_TYPE . "/icons/previous{$icon_theme}.png");
easy_embed("icon_ok", "http://appdata.static.appdeck.mobi/res/" . EMBED_TYPE . "/icons/ok{$icon_theme}.png");
easy_embed("icon_up", "http://appdata.static.appdeck.mobi/res/" . EMBED_TYPE . "/icons/up{$icon_theme}.png");
easy_embed("icon_down", "http://appdata.static.appdeck.mobi/res/" . EMBED_TYPE . "/icons/down{$icon_theme}.png");
easy_embed("icon_refresh", "http://appdata.static.appdeck.mobi/res/" . EMBED_TYPE . "/icons/refresh{$icon_theme}.png");
easy_embed("icon_search", "http://appdata.static.appdeck.mobi/res/" . EMBED_TYPE . "/icons/search{$icon_theme}.png");
easy_embed("icon_user", "http://appdata.static.appdeck.mobi/res/" . EMBED_TYPE . "/icons/user{$icon_theme}.png");
easy_embed("image_loader", "http://appdata.static.appdeck.mobi/res/" . EMBED_TYPE . "/images/loader{$icon_theme}.png");
easy_embed("image_pull_arrow", "http://appdata.static.appdeck.mobi/res/" . EMBED_TYPE . "/images/pull_arrow{$icon_theme}.png");
easy_embed("image_network_error", "http://appdata.static.appdeck.mobi/res/" . EMBED_TYPE . "/images/network_error{$icon_theme}.png");
easy_embed("logo");
easy_embed("leftmenu.url");
easy_embed("rightmenu.url");
appdeck_add_ressource("http://ads.mopub.com/favicon.ico", '');
appdeck_add_ressource("http://ads.mopub.com/mraid.js", '');
appdeck_add_ressource("http://appdata.static.appdeck.mobi/js/appdeck.js", false, true);
appdeck_add_ressource("http://appdata.static.appdeck.mobi/js/fastclick.js", false, true);
if (EMBED_TYPE == 'android') {
    buildAppDeckAndroidRes();
}
appdeck_ok("{$count_resource} resources embed in app");