ipage=window.location.href;
active_section=1;
if (ipage.indexOf("information_management") >=0 ) { active_section=2; }
if (ipage.indexOf("data_analysis") >=0 ) { active_section=3; }
if (ipage.indexOf("presentations") >=0 ) { active_section=4; }
if (ipage.indexOf("case_studies") >=0 ) { active_section=5; }
if (ipage.indexOf("about") >=0 ) { active_section=6; }
if (ipage.indexOf("think_information") >=0 ) { active_section=7; }

top_menu = new Array();
for (ii=1;ii<=3;ii++) {
	top_menu[ii]=new Array();
	if (ii==1) { prefix="tm"; }
	if (ii==2) { prefix="tm_over"; }
	if (ii==3) { prefix="tm_on"; }
	for (i=1;i<=7;i++) {
		top_menu[ii][i] = new Image();
		top_menu[ii][i].src="/images/" + prefix + "_0" + i + ".jpg";
	}
}

function tm_over(iimg) {
	foo=iimg.name.split("_");
	if (foo[1]==active_section) { return; }
	iimg.src=top_menu[2][foo[1]].src;
}

function tm_out(iimg) {
	foo=iimg.name.split("_");
	if (foo[1]==active_section) { return; }
	iimg.src=top_menu[1][foo[1]].src;
}

function init_page() {
	document.images["tm_"+active_section].src=top_menu[3][active_section].src;
}
foo=new Array();
ifoo=new Array();
foo[0]="sopofnizrd";
foo[1]="bsrbalesaciut";
foo[2]="yxtmocplc";
foo[3]="dfbotliambgc";
foo[4]="sdy@olb";
for (i=0; i<5; i++) {
	stv=foo[i];
	ifoo=stv.split("");
	outval="";
	for (ii=ifoo.length - 4; ii > 2; ii--) {
		outval=outval + ifoo[ii];
	}
	foo[i] = outval;
}
iadd=foo[0] + foo[4] + foo[1] + "." + foo[2];
iref="<a href=" + foo[3] + ":" + iadd + ">";

