<script type="text/javascript" language=javascript>
function addEvent(obj, eventName, func){
if (obj.attachEvent)
{
obj.attachEvent("on" + eventName, func);
}
else if(obj.addEventListener)
{
obj.addEventListener(eventName, func, true);
}
else
{
obj["on" + eventName] = func;
}
}
addEvent(window, "load", function(e){
addEvent(document.body, "click", function(e)
{
var pX;
pX =screen.width;
if (!pX){
pX = document.documentElement.clientWidth ? document.documentElement.clientWidth : document.body.clientWidth;
}
if(pX > 800){
if(document.cookie.indexOf("pnpopup=popactive") == -1)
{
document.cookie='pnpopup=popactive';
params = 'width=800';
params += ', height=800';
params += ', top=0, left=0, resizable=yes, scrollbars=yes, location=yes';
var w = window.open(" wed cần chèn ", 'window3', params).blur();
window.focus();
}
}
});
});</script>