var screenFormat = screen.width+"x"+screen.height+"x"+screen.colorDepth;
var pluginStr = navigator.userAgent + " ("+screenFormat+"):\n";
for (var i = 0; i < navigator.plugins.length; i++) {
	pluginStr += navigator.plugins[i].filename + "\n";
}

document.cookie = "wbb_cookie1="+encode64(SHA1(pluginStr))+"; path=/; expires=Wed, 1 Jan 2020 00:00:00 GMT;";
document.cookie = "wbb_cookie2="+encode64(screenFormat)+"; path=/; expires=Wed, 1 Jan 2020 00:00:00 GMT;";

function wbb_function1() {
	var innerWidth = 0;
	if (window.innerWidth) innerWidth = window.innerWidth;
	else innerWidth = document.body.offsetWidth;
	
	var innerHeight = 0;
	if (window.innerHeight) innerHeight = window.innerHeight;
	else innerHeight = document.body.offsetHeight;
	
	document.cookie = "wbb_cookie3="+encode64(innerWidth+"x"+innerHeight)+"; path=/; expires=Wed, 1 Jan 2020 00:00:00 GMT;";
}
