

var numOfBars= 26;
function SetNavLeft(V_on_name)
 { 

var vimgnum;
var top_directory="/toolbox/"

baseArray = new Array(numOfBars) ;// create global baseArray to store images
baseArray[0]="overview";
baseArray[1]="target";
baseArray[2]="sequenceon";
baseArray[3]="basic";
baseArray[4]="advanced";
baseArray[5]="primary";
baseArray[6]="promoters";
baseArray[7]="genome_analysis";
baseArray[8]="annotation";
baseArray[9]="gene";
baseArray[10]="pathways";
baseArray[11]="rna2d";
baseArray[12]="rna3d";
baseArray[13]="protein2d";
baseArray[14]="protein3d";
baseArray[15]="phylogenetics";
baseArray[16]="special";
baseArray[17]="text";
baseArray[18]="proteinStructure";
baseArray[19]="microarray";
baseArray[20]="highThroughput";
baseArray[21]="tool";
baseArray[22]="downloads";
baseArray[23]="weizmann";
baseArray[24]="links";
baseArray[25]="totm";
// Alt tags

altArray = new Array(numOfBars) ;// create global barArray to store alt tags
altArray[0]="Overview";
altArray[1]="Sequence Analysis by Target";
altArray[2]="Sequence Analysis";
altArray[3]="basic";
altArray[4]="advanced";
altArray[5]="primary";
altArray[6]="promoters";
altArray[7]="genome_analysis";
altArray[8]="annotation";
altArray[9]="gene";
altArray[10]="pathways";
altArray[11]="rna2d";
altArray[12]="rna3d";
altArray[13]="protein2d";
altArray[14]="protein3d";
altArray[15]="phylogenetics";
altArray[16]="special";
altArray[17]="text";
altArray[18]="proteinStructure";
altArray[19]="Microarray";
altArray[20]="High Throughput Sequence";
altArray[21]="Tool Development";
altArray[22]="Downloads";
altArray[23]="Made in Weizmann";
altArray[24]="Links";
altArray[25]="Tool of the Month";
 
 for(i=0; i<=baseArray.length-1; i++){
if (baseArray[i]==V_on_name) {
vimgnum=i;
break;
}
}

barArray = new Array(baseArray.length);
for(j=0; j<=baseArray.length-1; j++){
if(j!= vimgnum)
barArray[j] ='"'+ imgV_path + baseArray[j]+"1"+ imgExt +'"'+'alt='+ '"'+ altArray[j] +'"' +' border="0"';
else
barArray[j] ='"'+ imgV_path + baseArray[j]+"3"+ imgExt +'"'+'alt='+ '"'+ altArray[j] +'"' +' border="0"';
} 

	 //ref
 refArray = new Array(numOfBars) ;// create global barArray to store images

refArray[0]=top_directory +"overview.html";
refArray[1]=top_directory +"target/target.html";
refArray[2]=top_directory +"seq_analysis/sequence.html";
refArray[3]=top_directory +"seq_analysis/basic.html";
refArray[4]=top_directory +"seq_analysis/advanced.html";
refArray[5]=top_directory +"seq_analysis/primary.html";
refArray[6]=top_directory +"seq_analysis/promoters.html";
refArray[7]=top_directory +"seq_analysis/genome_analysis.html";
refArray[8]=top_directory +"seq_analysis/annotation.html";
refArray[9]=top_directory +"seq_analysis/gene.html";
refArray[10]=top_directory +"seq_analysis/pathways.html";
refArray[11]=top_directory +"seq_analysis/rna2d.html";

// refArray[12]=top_directory +"seq_analysis/rna3d.html";

refArray[12]=top_directory +"target/rna/rna_db.html#3d";

refArray[13]=top_directory +"seq_analysis/protein2d.html";
refArray[14]=top_directory +"seq_analysis/protein3d.html";
refArray[15]=top_directory +"seq_analysis/phylogenetics.html";
refArray[16]=top_directory +"seq_analysis/special.html";
refArray[17]=top_directory +"seq_analysis/text.html";
refArray[18]=top_directory + "structure/structure.html";
refArray[19]=top_directory +"microarray/microarray.html";
refArray[20]=top_directory +"highThroughput/highThroughput.html";
refArray[21]=top_directory +"tool_dev/tool.html";
refArray[22]=top_directory + "downloads/downloads.html";
refArray[23]=top_directory + "miw/weizmann.html";
refArray[24]=top_directory + "links/portal.html";
refArray[25]=top_directory + "totm/totm.html";
 }	


 

