function segio_set_Cookie(name, value, expiredays ) { var today = new Date(); var expires = new Date(); var hour = 23 - today.getHours(); var minute = 59 - today.getMinutes(); var second = 59 - today.getSeconds(); expires.setTime(today.getTime() + 1000*60*60*hour + 1000*60*minute + 1000*second); if(expiredays) document.cookie = name + "=" + escape( value ) + ";path=/;expires=" + expires.toGMTString() + ";"; else document.cookie = name + "=" + escape( value ) + ";path=/;"; } function segio_get_Cookie(name) { var nameOfCookie = name + "="; var x = 0; while( x <= document.cookie.length ) { var y = (x+nameOfCookie.length); if(document.cookie.substring(x,y) == nameOfCookie ) { if((endOfCookie=document.cookie.indexOf( ";", y )) == -1 ) endOfCookie = document.cookie.length; return unescape( document.cookie.substring( y, endOfCookie ) ); } x = document.cookie.indexOf( " ", x ) + 1; if(x == 0) break; } return ""; } function first_call() { var width = window.screen.width; var height = window.screen.height; var re = width+"*"+height; var row="2"; row=row?row:"3"; var url = "" document.write(url); return; } var lid = "main";var class_no = "main";var _lid = "counter_"+lid+"_"+class_no; var _db_today =0; var _db_yesterday =0; var _db_total =0; first_call();