//this is the js script that determines and changes the size of the search box:
//all widths: 1=120, 2=160, 3=200, 4=250 and 5=300:#####


function chngsize(s) {
//if size 1 chosen, set to 120hx240w

var stitle  = document.getElementById('user_box_title');
var sbox    = document.getElementById('user_box');
document.getElementById('sizeof').value=s;

if(s==1){
  stitle.style.width=120;
  sbox.style.width=120;
}


if(s==2){
  stitle.style.width=160;
  sbox.style.width=160;
}


if(s==3){
  stitle.style.width=200;
  sbox.style.width=200;
}


if(s==4){
  stitle.style.width=250;
  sbox.style.width=250;
}


if(s==5){
  stitle.style.width=300;
  sbox.style.width=300;
}

//change width of srchbox if user is on a FireFox browser:
adjust4FF();

}//end chngsize function.








function namecolor(elm,col) {

document.getElementById(elm).style.backgroundColor=col;
document.getElementById('bu').style.backgroundColor=col;
document.getElementById('bu').style.borderColor=col;
}//end namecolor function.
















