// JavaScript Document

var DHTML = (document.getElementById || document.all || document.layers);

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];
}
}

var SwitchD =455;

moved_up=0
moved_down=0

dir="down" // initial direction

function move(amount){
if(dir == "down"){
dir="up"
}
else{
dir="down"
}
if (!DHTML) return;
if(moved_up==0&&dir=="down"){
var x = new getObj('forms_tab');
SwitchD += amount;
x.style.top = SwitchD;
moved_up=1;
moved_down=0;
}
if(moved_down==0&&dir=="up"){
var x = new getObj('forms_tab');
SwitchD -= amount;
x.style.top = SwitchD;
moved_down=1;
moved_up=0;
}


}
//-->
	
