function over_outline(alpha) {
	var cxr = "outline" + alpha + ".style.background='#cc0033'";
	eval(cxr);
	cxr = "outline" + alpha + ".style.color='white'";
	eval(cxr);
}

function out_outline(alpha) {
	cxr = "outline" + alpha + ".style.background='#f0f2f1'";
	eval(cxr);
	var cxr = "outline" + alpha + ".style.color='black'";
	eval(cxr);
}

function over(beta) {
	var cxr = "outline" + beta + ".style.background='#eecccc'";
	eval(cxr);
}

function out(beta) {
	cxr = "outline" + beta + ".style.background='#f0f2f1'";
	eval(cxr);
	
}

function click_outline(alpha,inx) {
	
	
		sly = "outlined2" + alpha + ".style.display";
		if (eval(sly) == "none") { //open this
		
			
			
			for(i=1;i<=inxb;i++) { //close the other
				sly = "outlined" + i + alphb + ".style.display='none'";
				eval(sly);
			}
			for(i=1;i<=inx;i++) {
				sly = "outlined" + i + alpha + ".style.display='block'";
				eval(sly);
			}
		}
		
		else {  //close this
			for(i=1;i<=inx;i++) {
				sly = "outlined" + i + alpha + ".style.display='none'";
				eval(sly);
			}
		}
	
	alphb=alpha;
	inxb=inx;
}	
function loadup(alpha,inx,iny) { //function which sets up new page
	for(i=1;i<=inx;i++) {
		sly = "outlined" + i + alpha + ".style.display='block'";
		eval(sly);
	}
	sly = "outlined" + iny + alpha + ".style.color='#cc0033'";
	eval(sly);
	alphb=alpha;
	inxb=inx;
}
function newpage(pname) {
	self.location=pname;
}

var inxb=2;
var alphb='a';
var firstone=1;
	