var cc_data = {"mode":"Appel Entrant","unlockpos":"TOPRIGHT","home":{"background":"bgblack.jpg","icons":["ico_phone.png","ico_phone.png","ico_locations.png","ico_browser.png"],"delay":0,"notifdelay":0,"notifs":[],"hour":"","date":"","unlock":false},"incall":{"name":"Maman","name2":"","dcall":"","avatar":"avatar.jpg","avatar_bg":"","force_avatar_bg":false,"delay":0,"misscalldelay":0,"offdelay":6,"bt":false},"outcall":{"numero":"Thim","autocomplete":[],"writespeed":0,"favoris":[],"directory":[{"avatar":"avatar.jpg","name":"lisa"},{"avatar":"avatar.jpg","name":"tim"},{"avatar":"avatar.jpg","name":"mélu"},{"avatar":"avatar.jpg","name":"pascal"},{"avatar":"avatar.jpg","name":"commissaire"},{"avatar":"avatar.jpg","name":"maman"},{"avatar":"avatar.jpg","name":"papa"}],"history":[{"avatar":"","name":"Thim","hdetails":""}],"details":{"enabled":false,"numtel":""}},"sms":{"dest":"Inès ","color1":"#1a5fb4","color2":"#ffffff","color3":"#c64600","msgs":[{"date":"Aujourd'hui","hour":"12:00","txt":"alllo ceci est un message de test","mms":"","dest":false,"deletable":false,"wave":false,"readmark":""}],"writespeed":0,"vocal":false,"dots":false,"send_msgs":[{"date":"Aujourd'hui","hour":"11:02","txt":"Coucou cecie est un message recu et non lu. Taper R pour le marquer comme lu","mms":"","dest":false,"deletable":false,"wave":false,"readmark":""},{"date":"","hour":"","txt":"ceci est une reponse. Taper e pour l'effacer","mms":"","dest":true,"deletable":false,"wave":false,"readmark":""}],"calling":false,"callbut":false},"smsdir":{"directory":[{"name":"Ines","text":"","date":"Aujourd'hui","letter":"","color":"#000000","avatar":""}]},"repondeurlist":{"directory":[]},"app":{"title":"","scroll":false,"loop":true,"head":true,"cam":false,"topimg":"","imgs":["bgart1.jpg","bgart2.jpg"]},"imgs":{"imgs":["bgblack.jpg","ico_browser.png"]},"meta":{"screen_id":"sc_0000_appel_in","sequence":"0000","name":"appel in ","category":"tel","terminal":"tel alex","description":"","pdate":"","team":"","template":"screen/sc_0000_model_alex","last_updated":"2025-10-28 16:55:31"}};

if (cc_data.meta) { document.title = cc_data.meta.sequence + "_" + cc_data.meta.terminal + "_" + cc_data.meta.name }

var localstorage_key = 'sc_0000_appel_in-data';
var dl = localStorage.getItem(localstorage_key) || '{}';
dl = JSON.parse(dl);
if (cc_data.meta && dl.last_updated && (dl.last_updated == cc_data.meta.last_updated)) { dl.meta = cc_data.meta; cc_data = dl; } 
else { localStorage.removeItem(localstorage_key); }delete cc_data.last_updated;
window.cc_data = cc_data;
