

function colors(v,w,y,z) {
//color1,color2,link,text)

if (document.layers){

if (y.search(",")>0) {
numb=y.substring(y.indexOf(",")+1);
y=y.substring(0,y.indexOf(","));
}
else {numb=0}

document.writeln('<font face="arial bold" ><a class="'+v+'" href="'+y+'">');
document.writeln('<b>'+z+'</b></a></font>');
}
if (document.all || document.getElementById){
document.writeln('<span  onmouseover="this.style.color='+"'"+w+"'"+'" onmouseout="this.style.color='+"'"+v+"'"+'">'); 
document.writeln('<font face="arial bold" color='+v+'>');
document.writeln('<a class="'+v+'" onmouseover="this.style.color='+"'"+w+"';this.style.textDecoration='underline'"+'" onmouseout="this.style.color='+"'"+v+"';this.style.textDecoration='none'"+'" href="'+y+'">');
document.writeln('<strong>'+z+'</strong></a></font></span>');
}

}

function colors2(v,w,y,z) {
//color1,color2,link,text)

if (y.search(",")>0) {
numb=y.substring(y.indexOf(",")+1);
y=y.substring(0,y.indexOf(","));
}
else {numb=0}


if (document.layers){

document.writeln('<font face="arial bold" ><a class="'+v+'" href="javascript:sender('+"'"+y+"',"+numb+')">');
document.writeln('<b>'+z+'</b></a></font>');
}
if (document.all || document.getElementById){
document.writeln('<span  onmouseover="this.style.color='+"'"+w+"'"+'" onmouseout="this.style.color='+"'"+v+"'"+'">'); 
document.writeln('<font face="arial bold" color='+v+'>');
document.writeln('<a class="'+v+'" onmouseover="this.style.color='+"'"+w+"'"+'" onmouseout="this.style.color='+"'"+v+"'"+'" href="javascript:sender('+"'"+y+"',"+numb+')">');
document.writeln('<strong>'+z+'</strong></a></font></span>');
}

}

function colors3(v,w,y1,y2,y3,z) {
//color1,color2,type,area,page,text
//note: page was set to 1 in chooser
// Now it is set in this as y3

if (document.layers){

document.writeln('<font face="arial bold" ><a class="'+v+'" href="javascript:chooser('+y1+','+y2+','+y3+')">');
document.writeln('<b>'+z+'</b></a></font>');
}
if (document.all || document.getElementById){
document.writeln('<span  onmouseover="this.style.color='+"'"+w+"'"+'" onmouseout="this.style.color='+"'"+v+"'"+'">'); 
document.writeln('<font face="arial bold" color='+v+'>');
document.writeln('<a class="'+v+'" onmouseover="this.style.color='+"'"+w+"'"+'" onmouseout="this.style.color='+"'"+v+"'"+'" href="javascript:chooser('+y1+','+y2+','+y3+')">');
document.writeln('<strong>'+z+'</strong></a></font></span>');
}

}


