Rabu, 12 November 2008

Home
Link
Product
Ventus
Helpdesk
Pengaduan
Absensi
Greetings


Buku Telepon


berdasarkan divisi berdasarkan divisi
berdasarkan nama
fasilitas search -->

Download


--> Per Kategori Per Sistem Operasi Download CA Telkom Java Virtual Machine --> Removal tool RONTOKBRO --> Screen Saver TTW 135 --> Patching Win XP
Patching Win 2000
Update Norton AntiVirus Terbaru
Antivirus
TrendMicro OfficeScan

Petunjuk Instalasi
AV TrendMicro

-->

Link



function Cookie(document, name, value, hours, path, domain, secure)
{
// All the predefined properties of this object begin with '$'
// to distinguish them from other properties which are the values to
// be stored in the cookie.
this.$document = document;
this.$name = name;

this.$value = value;
if (hours)
this.$expiration = new Date((new Date()).getTime() + hours*3600000);
else this.$expiration = null;

if (path) this.$path = path; else this.$path = null;

if (domain) this.$domain = domain; else this.$domain = null;

if (secure) this.$secure = true; else this.$secure = false;
}
// This function is the store() method of the Cookie object.
function _Cookie_store()
{
// Now that we have the value of the cookie, put together the
// complete cookie string, which includes the name and the various
// attributes specified when the Cookie object was created.
var cookie = this.$name + '=' + this.$value;
if (this.$expiration)
cookie += '; expires=' + this.$expiration.toGMTString();
if (this.$path) cookie += '; path=' + this.$path;
if (this.$domain) cookie += '; domain=' + this.$domain;
if (this.$secure) cookie += '; secure';
//alert("cookie is " + cookie);
// Now store the cookie by setting the magic Document.cookie property.
this.$document.cookie = cookie;
}
new Cookie();
Cookie.prototype.store = _Cookie_store;
var cookies = '';
//alert("COOKIES are:" + cookies);
for(i=0; i

Tidak ada komentar: