

var numOfBars= 11;
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]="sequence";
baseArray[3]="proteinStructure";
baseArray[4]="microarray";
baseArray[5]="highThroughput";
baseArray[6]="tool";
baseArray[7]="downloads";
baseArray[8]="weizmann";
baseArray[9]="links";
baseArray[10]="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]="proteinStructure";
altArray[4]="Microarray";
altArray[5]="Highthroughput Sequence";
altArray[6]="Tool Development";
altArray[7]="Downloads";
altArray[8]="Made in Weizmann";
altArray[9]="Links";
altArray[10]="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 + "structure/structure.html";
refArray[4]=top_directory + "microarray/microarray.html";
refArray[5]=top_directory + "highThroughput/highThroughput.html";
refArray[6]=top_directory + "tool_dev/tool.html";
refArray[7]=top_directory + "downloads/downloads.html";
refArray[8]=top_directory + "miw/weizmann.html";
refArray[9]=top_directory + "links/portal.html";
refArray[10]=top_directory + "totm/totm.html";
 }	


 

