var http_request = false; detaSet(); function GetCookie(key){ var tmp = document.cookie + ";"; var index1 = tmp.indexOf(key, 0); if(index1 != -1){ tmp = tmp.substring(index1,tmp.length); var index2 = tmp.indexOf("=",0) + 1; var index3 = tmp.indexOf(";",index2); return(unescape(tmp.substring(index2,index3))); } return(""); } function makeRequest(url,get,post) { /* //alert("makeRequest Entrance"); http_request = false; if (window.XMLHttpRequest) { // Mozilla, Safari,... //alert("Browzer is Mozilla"); http_request = new XMLHttpRequest(); if (http_request.overrideMimeType) { http_request.overrideMimeType('text/xml'); } } else if (window.ActiveXObject) { // IE // alert("Browzer is IE"); try { http_request = new ActiveXObject("Msxml2.XMLHTTP"); } catch (e) { try { http_request = new ActiveXObject("Microsoft.XMLHTTP"); } catch (e) {} } } if (!http_request) { //alert('Giving up :( Cannot create an XMLHTTP instance'); return false; } //alert("makeRequest try http_request.open"); http_request.open('POST', url, true); //alert("makeRequest try http_request.send"); http_request.send(post); if(1){ alert("stop"); var strDocument = http_request.responseText; alert("draw:"+strDocument); } //alert("makeRequest Exit"); */ document.write(''); } function detaSet(){ makeRequest("http://analyze.step-bb.jp/collect/detaset.php?id=9649", 0, "referer="+encodeURIComponent(document.referrer)+"&width="+screen.width + "&height=" + screen.height + "&color=" +screen.colorDepth+"&cookie="+navigator.cookieEnabled); } function getOSType() { var uAgent = navigator.userAgent.toUpperCase(); if (uAgent.indexOf("MAC") >= 0) return "MacOS"; if (uAgent.indexOf("WIN") >= 0) return "Windows"; if (uAgent.indexOf("X11") >= 0) return "UNIX"; return "unknown"; }