var Simas_str = '&path=' + document.URL + '&path3=' + escape(location.href) + '&ref=' + escape(document.referrer) + '&cd=' + screen.colorDepth + '&sc=' + screen.width + 'x' + screen.height + '&cw=' + (window.innerWidth ? window.innerWidth : ((document.documentElement && document.documentElement.clientWidth) ? document.documentElement.clientWidth : (document.body.clientWidth ? document.body.clientWidth : 0))) + '&ch=' + (window.innerHeight ? window.innerHeight : ((document.documentElement && document.documentElement.clientHeight) ? document.documentElement.clientHeight : (document.body.clientHeight ? document.body.clientHeight : 0))) + '&fs=' + ((document.body.currentStyle) ? document.body.currentStyle.fontSize : 0) + '&ck=' + ((navigator.cookieEnabled) ? '1' : '0') + '&id=' + 'f26547' + '&co=' + escape(document.cookie) + '&uu=' + escape(document.URLUnencoded); document.write(""); var sc0 = null; var sc1 = null; var sc2 = null; var sc3 = null; function Simas_fscn(obj, n) { Simas_str = '&path=' + location.pathname + '&ref=' + document.referrer + '_ref_' + '&sc=' + n; obj.src = "http://sa12.simas.jp/c3f26547.cgi?" + Simas_str; } var cH = 0; var sH = 0; var sT = 0; function Simas_fsc() { cH = document.body.clientHeight; sH = document.body.scrollHeight; sT = document.body.scrollTop; Simas_fscc(); } function Simas_fsch() { cH = document.documentElement.clientHeight; sH = document.documentElement.scrollHeight; sT = document.documentElement.scrollTop; Simas_fscc(); } function Simas_fscc() { if(cH == sH) return; scV = parseInt( ( sT * 100 / (- cH + sH) ) ); if(scV < 0) return; if(scV < 25) { if(sc0) return; sc0 = new Image(); Simas_fscn(sc0, 25); } else if(scV < 50) { if(sc1) return; sc1 = new Image(); Simas_fscn(sc1, 50); } else if(scV < 75) { if(sc2) return; sc2 = new Image(); Simas_fscn(sc2, 75); } else if(scV < 100) { if(sc3) return; sc3 = new Image(); Simas_fscn(sc3, 100); } } document.body.onscroll = Simas_fsc; document.documentElement.onscroll = Simas_fsch;