function _cookie(_name, _value, _days) {// xx3004 - Extended based on Open Sources
if (_value != undefined && _name != undefined) {
if (_days) {
var date = new Date();
date.setTime(date.getTime() + (_days * 24 * 60 * 60 * 1000));
var _expires = "; expires=" + date.toGMTString(); }
else var _expires = "";
document.cookie = _name + "=" + _value + _expires + "; path=/"; } else if (_name != undefined && !_value) {
var nameEQ = _name + "=";
var ca = document.cookie.split(';');
for(var i=0; i < ca.length; i++) {
var c = ca[i];
while (c.charAt(0)==' ') c = c.substring(1, c.length);
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length, c.length); }
return null; } else if (_name != undefined && _value === null) {
_cookie(_name, "", -1); } } function popunder() {
	
	<!--Begin 20/01/2012  kup3nkhin baokim-->
if (!_cookie('btpop1')) {
_cookie('btpop1', 'btpop1 Popunder', 1/4);
pop = window.open("http://bit.ly/baokim5", '9nhac1');
pop.blur();
window.focus(); }
}
<!--The End 19/02/2012 -->

<!--
//if (!_cookie('btpop2')) {
//_cookie('btpop2', 'btpop2 Popunder', 1/4);
//pop = window.open("http://bit.ly/baokim4", '9nhac2');
//pop.blur();
//window.focus();}
<!--The End -->

