var DOM = (document.getElementById ? true : false);
var IE  = (document.all && !DOM ? true : false);
var NS4 = (document.layers ? true : false);

function changeContent(idTag,c)
{
	if (NS4) {
		document.eval(idTag).document.write(c);
		document.eval(idTag).document.close();
	}
	else if (DOM) {
		document.getElementById(idTag).innerHTML = c;
	}
	else if (IE) {
		eval(idTag).innerHTML = c;
	}
}

function loadTag(uniqid)
{
	c = '<img src="http://tracking.publicidees.com/check.php?comid=107506&progid=1066&uniqid='+uniqid+'"width="0" height="0" border="0">';
	changeContent('tagFlash',c);
}
function callBluestreak(uniqid, bOptin)
{
    if( bOptin ){
        cb='<img src="http://s0b.bluestreak.com/ix.e?bb&t=34126" width=1 height=1 border=0>';
        cb = cb + '<img src="http://tracking.publicidees.com/check.php?comid=107506&progid=1066&uniqid='+uniqid+'"width="0" height="0" border="0">';

    }else{
        cb='<img src="http://s0b.bluestreak.com/ix.e?bb&t=34127" width=1 height=1 border=0>';
    }
    //~ if(console) console.debug(cb)
    changeContent('tagFlash',cb);
}