var DHTML = (document.getElementById || document.all || document.layers);

function getObj(name)
{
  if (document.getElementById)
  {
        this.obj = document.getElementById(name);
        this.style = document.getElementById(name).style;
  }
  else if (document.all)
  {
        this.obj = document.all[name];
        this.style = document.all[name].style;
  }
  else if (document.layers)
  {
        this.obj = document.layers[name];
        this.style = document.layers[name];
  }
}


size = 13;
function changeStyle(amount)
{	
	if (!DHTML) return;
	var x = new getObj('articletext');
	size += amount;
	if ( size >16 ) {
		size = 16;
	}
	if ( size < 9 ) {
		size = 9;
	}
	x.style.fontSize = size;
}


function printIt(aid)
{
	window.open ( 'printit.php?aid=' + aid + '','_blank','width=600,height=600,scrollbars=yes,status=yes,top=100,left=100,resize=yes' );
}

function mailIt(aid)
{
	window.open ( 'mailIt.php?aid=' + aid + '','_blank','width=600,height=600,scrollbars=yes,status=yes,top=100,left=100,resize=yes' );
}