<!--
var isNN = (navigator.appName.indexOf("Netscape")!=-1);
function autoTab(input,len, e) {
var keyCode = (isNN) ? e.which : e.keyCode; 
var filter = (isNN) ? [0,8,9] : [0,8,9,16,17,18,37,38,39,40,46];
if(input.value.length >= len && !containsElement(filter,keyCode)) {
input.value = input.value.slice(0, len);
input.form[(getIndex(input)+1) % input.form.length].focus();
}
function containsElement(arr, ele) {
var found = false, index = 0;
while(!found && index < arr.length)
if(arr[index] == ele)
found = true;
else
index++;
return found;
}
function getIndex(input) {
var index = -1, i = 0, found = false;
while (i < input.form.length && index == -1)
if (input.form[i] == input)index = i;
else i++;
return index;
}
return true;
}

function one2two() {
		m1len = m1.length ;
		for ( i=0; i<m1len ; i++){
			if (m1.options[i].selected == true ) {
				m2len = m2.length;
				m2.options[m2len]= new Option(m1.options[i].text, m1.options[i].value);
			}
		}
	
		for ( i = (m1len -1); i>=0; i--){
			if (m1.options[i].selected == true ) {
				m1.options[i] = null;
			}
		}

	}
	
function two2one() {
	m2len = m2.length ;
		for ( i=0; i<m2len ; i++){
			if (m2.options[i].selected == true ) {
				m1len = m1.length;
				m1.options[m1len]= new Option(m2.options[i].text, m2.options[i].value);
			}
		}
		for ( i=(m2len-1); i>=0; i--) {
			if (m2.options[i].selected == true ) {
				m2.options[i] = null;
			}
		}
}

function allSelect()
{
	if (m2.length > 0) 
	{
		for (i=0;i<m2.length;i++)
		{
			m2.options[i].selected = true;
		}
	}
}
function swapItems(n1, n2) {

	temp = m2.options[n1].text;
	m2.options[n1].text = m2.options[n2].text;
	m2.options[n2].text = temp;

	temp = m2.options[n1].value;
	m2.options[n1].value = m2.options[n2].value;
	m2.options[n2].value = temp;

	temp = m2.options[n1].style.color;
	m2.options[n1].style.color = m2.options[n2].style.color;
	m2.options[n2].style.color = temp;
}
function moveUp() {
	s = m2.selectedIndex;
	if (s > 0) {
		swapItems(s, s-1);
		m2.selectedIndex = s-1;
	}
}

function moveDown() {
	s = m2.selectedIndex;
	if ((s != -1) && (s+1<m2.length)) {
		swapItems(s, s+1);
		m2.selectedIndex = s+1;
	}
}

function getObj(name)
{
  if (document.getElementById)
  {
  	this.obj = document.getElementById(name);
	this.style = document.getElementById(name).style;
  }
  else if (document.all)
  {
	this.obj = document.all[name];
	this.style = document.all[name].style;
  }
  else if (document.layers)
  {
   	this.obj = document.layers[name];
   	this.style = document.layers[name];
  }
}

//-->