// last modified: 3/7/5

var divArticle = new Array();

function extras()
{

/* In future this will be automated via document.getElementByTagName */
/* in future - have proper named pages not numberrr - keep old ones though */

	for(var i=1;i<=12;i++) /* put back 1 */
	{
		if(i!=3){
		eval("divArticle["+i+"]= document.getElementById('lnkArticle"+format00(i)+"');divArticle["+i+"].onclick = pop"+format00(i)+";divArticle["+i+"].onkeypress = pop"+format00(i)+";");
	}}		
	return true;
}

function format00(iNumber)
{
	return (iNumber>9)?iNumber:("0"+iNumber);
}

var nTop=40;
var nLeft=40;

function popArticle(sCode,nWidth,nHeight)
{
	var w=window.open('articles/'+sCode+'.htm','','top='+nTop+',left='+nLeft+',width='+nWidth+',height='+nHeight+',toolbar=no');
	return false;
}

function pop00()
{
	return popArticle('00',590,530);
}

function pop01()
{
	return popArticle('01',430,500);
}

function pop02()
{
	return popArticle('02',500,370);
}

function pop03()
{
	return false;
// 	return popArticle('03',390,390);
}

 function pop04()
{
// 	return popArticle('04',235,375);
	return false;
}

function pop05()
{
	return popArticle('05',245,560);
}

function pop06()
{
	return popArticle('06',239,599);
}

function pop07()
{
	return popArticle('07',391,429);
}

function pop08()
{
	return popArticle('08',321,409);
}

function pop09()
{
	return popArticle('09',470,519);
}
function pop10()
{
	return popArticle('green-tea-hayfever',255,658);
}
function pop11()
{
	return popArticle('lindsay-lohan',400,230);
}

function pop12()
{
var w=window.open('articles/green-tea-diet.htm','','top=0,left=0,width=640,height=640,toolbar=no,scrollbars=yes');
return false;
}