var gg_following = "";
bytagg = new function() 
{
	this.init = function() 
		{
		var root = 'ff'+Math.ceil(Math.random()*100);
		while (gg_following.indexOf("/") != -1) {gg_following = gg_following.replace("/", "!BA;");}	
		
		this.serverResponse = function(data) 
			{
			var loc = escape(document.location);
			var ref = escape(document.referrer);
	    	var div = document.getElementById(root);
	    	//div.innerHTML = '<div id="bytagg_wg_234x60" style="margin:0; padding:0; text-align:left; text-decoration:none; color:#000; font:bold 12px Arial, Helvetica, sans-serif;	background: url(http://img.bytagg.com/wg_234x60.jpg) 0 0 no-repeat; width:234px; height:60px; padding:10px 2px 2px 8px;"><a target="_blank" href="http://bytagg.com/'+gg_lang+'/download/P_'+gg_id+'" style="text-align:left;color:#000 !important;font-family:Arial;width:234px;height:60px;display:block;text-decoration:none" title="'+gg_tx1+' '+gg_tx2+'">'+gg_tx1+'<br />'+gg_tx2+'</a></div>';
			div.innerHTML = '<div id="bytagg_wg_234x60" style="margin:0; padding:0; text-align:left; text-decoration:none; color:#000; font:bold 12px Arial, Helvetica, sans-serif;	background: url(http://img.bytagg.com/wg_234x60.jpg) 0 0 no-repeat; width:234px; height:60px; padding:10px 2px 2px 8px;"><a target="_blank" href="http://bytagg.com/'+gg_lang+'/download/P_'+gg_id+'/F_'+gg_following+'" style="text-align:left;color:#000 !important;font-family:Arial;width:234px;height:60px;display:block;text-decoration:none" title="'+gg_tx1+' '+gg_tx2+'">'+gg_tx1+'<br />'+gg_tx2+'</a></div>';
	    	div.style.display = 'block'; // make element visible
	    	div.style.visibility = 'visible'; // make element visible
	  		}

	  	document.write("<div id='"+root+"' style='display: none'></div>");
		bytagg.serverResponse('');
		}
}