<!--
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
var n = (document.layers) ? 1:0;
var ie = (document.all) ? 1:0;
var browser=((n || ie) && parseInt(navigator.appVersion)>=4)

function init()
{
	if (ie) of1=new makeMenu('divf1');
	oTop=new Array();
	oTop[0]=new makeMenu('divTop1');
	oTop[1]=new makeMenu('divTop2');
	oTop[2]=new makeMenu('divTop3');
	oTop[3]=new makeMenu('divTop4');
	oTop[4]=new makeMenu('divTop5');
	oTop[5]=new makeMenu('divTop6');
	oTop[6]=new makeMenu('divTop7');
	oTop[7]=new makeMenu('divTop8');
	oTop[8]=new makeMenu('divTop9');
}

function makeMenu(obj)
{
	this.css=(n) ? eval('document.'+obj):eval('document.all.'+obj+'.style')
	this.ref=(n) ? eval('document.'+obj+'.document'):eval('document');
	this.height=n?this.ref.height:eval(obj+'.offsetHeight')
	this.x=(n)? this.css.left:this.css.pixelLeft;
	this.y=(n)? this.css.top:this.css.pixelTop;
	this.hideIt=b_hideIt;	this.showIt=b_showIt; this.moveIt=b_moveIt;
	return this
}

function b_showIt(){this.css.visibility="visible"}
function b_hideIt(){this.css.visibility="hidden"}
function b_moveIt(x,y){this.x=x; this.y=y; this.css.left=this.x; this.css.top=this.y}

function menu(num)
{
	if(browser)
	{
		for(i=0;i<oTop.length;i++)
		{
			if(i!=num) oTop[i].hideIt();
		}
		if (ie) of1.hideIt();
		oTop[num].showIt();
	}
}

function menuclose()
{
	if(browser)
	{
		for(i=0;i<oTop.length;i++)
		{
			oTop[i].hideIt()
		}
		if (ie) of1.showIt();
	}
}

//if(browser) onload=init;



function highlight(imageName, change)
{
	if (change)
	{
		document.images[imageName].src = eval(imageName + "_on.src");
	}
	else
	{
		document.images[imageName].src = eval(imageName + "_off.src");
	}
}

function seek()
{
	window.open('seek_author.htm', 'photo', 'toolbar=no,menubar=no,status=no,directories=no,location=no,scrollbars=no,resizable=no,width=300,height=100,left=450,top=50');
}

function subscribe()
{
	window.open('subscribe.htm', 'mail', 'toolbar=no,menubar=no,status=no,directories=no,location=no,scrollbars=no,resizable=no,width=360,height=310,left=450,top=50');
}

function mousein(id)
{
	document.images['text'].src = eval("text" + id + ".src");
}

function mouseout(id)
{
	document.images['text'].src = "images/button/notext.gif";
}


//-->
