var GC = { chart: { histo_path: 'historical chart/iframe.php', intra_path: 'intraday chart/iframe.php', period: 'intra', // default period qty: 1, // default qty ticker: 'PX1,FR', // default ticker c1: '3D71A3', // color of main ticker w: 950,//$(window).width() - 20, // init chart width $(window).width() h: 250,//($(window).height() < 640)? 150 : 250, // init chart height, $(window).width() id: 'ichart', // Last active chart news: 0, // Display triangles with news or not news_type: 'communication', // communication or news sdate: '2999-01-01' // start date for chart }, winners: { tick: 'PX1,FR', type: 1, // 1 - plus (win), 2 - minus (loose), 3 - all ord: 1 // Sort: 1 - by variation % DESC, 2 - by name ASC }, screen: { w: screen.availWidth, // $(window).width() h: screen.availHeight }, // On Android devices - page transitions bug: blink or flicker / pushStateEnabled is_android: navigator.userAgent.toLowerCase().indexOf("android") > -1 ? true : false, //orientation: ($(window).width() < $(window).height())? 'portreit' : 'landscape' }