Tulisan Sebelumnya

Open Cbox

// <![CDATA[
var cbvis = false;
var cbload = false;
var cbcookie = "cboxvis=";

function togglecbox () {
var cbdiv = document.getElementById("cboxdiv");
var cbbut = document.getElementById("cboxbutton");

if (!cbvis) {
if (!cbload) {
cbdiv.innerHTML = 'http://www5.cbox.ws/box/?boxid=759589&boxtag=p6ws6b&sec=mainhttp://www5.cbox.ws/box/?boxid=759589&boxtag=p6ws6b&sec=form‘;
cbload = true;
}
cbdiv.style.display = “block”;
cbbut.innerHTML = “Close Cbox”;
}
else {
cbdiv.style.display = “none”;
cbbut.innerHTML = “Open Cbox”;
}
cbvis = !cbvis;
document.cookie = cbcookie+((cbvis)?1:0);
}
// Toggle Cbox open if it was previously
var cbcookiei = document.cookie.indexOf(cbcookie);
if (cbcookiei >= 0) {
if (document.cookie.substring(cbcookiei+cbcookie.length, cbcookiei+cbcookie.length+1) === “1”) {
togglecbox();
}
}
// ]]>

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s