

<script type="text/javascript" src="/Public/Home/stati/js/public/config.js"></script>
<script type="text/javascript" src="/Public/Home/stati/js/public/calendar.js"></script>
<script type="text/javascript" src="/Public/Home/stati/js/public/GA.js?v=201896152"></script>
<script type="text/javascript">
    var game='{$game}';
    var opentime = '';
    var no = '';
    var code = '';
    var born = '';
    var extr = '';
    
    setInterval(function(){ 
    	//console.r(window.app.predata.codes)
    	//alert(window.app.predata['codes'])
    	if(window.app.predata.info_no != no && window.app.predata.codes!='' && window.app.predata.codes!=undefined){
    		opentime = window.app.predata.open_time;
		    no = window.app.predata.info_no;
		    code = window.app.predata.codes;
		    born = window.app.predata.born?window.app.predata.born:'';
		    countPrizeinfo();
    	}
     }, 3000);

	function countPrizeinfo(){
		$.ajax({
	        url: '/api-Trendchart/CountStart?game='+game+'&time='+opentime+'&no='+no+'&code='+code+'&extr='+extr+'&born='+born,
	        type: "GET",
	        data: '',
	        success: (r)=> {
	            
	        },
	        error: (r)=> {
	            
	        },
	    });
	}
</script>
</html>
