var cc_data = {"mode":"Appel Entrant","unlockpos":"TOPRIGHT","home":{"background":"bgac1.jpg","icons":["ico_email.png","ico_phone.png","ico_locations.png","ico_browser.png"],"delay":0,"notifdelay":0,"notifs":[],"hour":"","date":"","unlock":false},"incall":{"name":"sam","name2":"","dcall":"","avatar":"","avatar_bg":"","force_avatar_bg":false,"delay":0,"misscalldelay":0,"offdelay":6,"bt":false},"outcall":{"numero":"","autocomplete":[],"writespeed":0,"favoris":[],"directory":[],"history":[],"details":{"enabled":false,"numtel":""}},"sms":{"dest":"Inès ","color1":"#000000","color2":"#000000","color3":"#000000","msgs":[],"writespeed":0,"vocal":false,"dots":false,"send_msgs":[{"date":"","hour":"","txt":"Coucou","mms":"","dest":false,"deletable":false,"wave":false}],"calling":false,"callbut":false},"smsdir":{"directory":[{"name":"Ines","text":"","date":"","letter":"","color":"#000000","avatar":""}]},"repondeurlist":{"directory":[]},"app":{"title":"","scroll":false,"loop":true,"head":true,"cam":false,"topimg":"","imgs":["",""]},"imgs":{"imgs":["","ico_browser.png"]},"meta":{"screen_id":"000_model","sequence":"0000","name":"model tel","category":"tel","terminal":"tel","description":"","pdate":"","team":"","template":"","last_updated":"2025-03-21 16:17:43","readonly":true}};

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

var localstorage_key = '000_model-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;
