<!--
function checkBros() {
	this.ver=navigator.appVersion;
	this.agent=navigator.userAgent;
	this.dom=document.getElementById?1:0;
	this.opera5=this.agent.indexOf("Opera 5")>-1;
	this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom && !this.opera5)?1:0; 
	this.ie6=(this.ver.indexOf("MSIE 6")>-1 && this.dom && !this.opera5)?1:0;
	this.ie7=(this.ver.indexOf("MSIE 7")>-1 && this.dom && !this.opera5)?1:0;
	this.ie4=(document.all && !this.dom && !this.opera5)?1:0;
	this.ie=this.ie4||this.ie5||this.ie6||this.ie7;
	this.mac=this.agent.indexOf("Mac")>-1;
	this.ns6=(this.dom && parseInt(this.ver) >= 5) ?1:0; 
	this.ns4=(document.layers && !this.dom && !this.ns6)?1:0;
	this.bros=(this.ie || this.ns4 || this.ns6 || this.opera5);
	return this;
}
var bros=new checkBros()
function makeDiv(obj, wr) {
	this.css = bros.dom?document.getElementById(obj).style:bros.ie4?document.all[obj].style:bros.ns4?document.layers[obj]:0;	
	this.objref = bros.dom?document.getElementById(obj):bros.ie4?document.all[obj]:bros.ns4?document.layers[obj].document:0;
	if (wr=='w') this.writ = writeDiv;
	else this.css.top = '0px';
}
function writeDiv(text) {
	if (bros.ns4){
		this.objref.write(text);
		this.objref.close();
	} else this.objref.innerHTML = text;
}
function initpag() {
	menudiv = new makeDiv('menu');
}
var mv = false;
var step = 1;
var acc = 0;
var chgdir = 0;

function init() {
	mv = false;
	step = 1;
	acc = 0;
}

function startmove(direc){
	if (mv) {
		if (oldirec==direc) acc = 1;
		else {
			acc = 2;
			chgdir = direc;
		}
	} else {
		acc = 1;
		mv = true;
		setTimeout('movemenu('+direc+')', 50);
	}
	oldirec = direc;
}

function movemenu(dr) {
	tp = parseInt(menudiv.css.top.replace('px',''));
	if (acc==1) {
		if (step<7) step+=0.5;
		else acc = 0;
	} else if (acc==2) {
		if (step>1) step-=0.5;
		else {
			if (chgdir) {
				dr = chgdir;
				chgdir = 0;
				acc = 1;
			} else init();
		}
	}
	if ((dr==1)) {
		if (tp<0) menudiv.css.top = (tp+(step*dr))+'px';
		else init();
	} else if ((dr==-1)) {
		if (tp>-parseInt(menudiv.objref.offsetHeight-195)) menudiv.css.top = (tp+(step*dr))+'px';
		else init();
	}
	if (mv) setTimeout('movemenu('+dr+')', 50);
}
function swap(obj, im) {
	img = bros.dom?document.getElementById(obj):bros.ie4?document.all[obj]:bros.ns4?document.layers[obj].document:0;
	img.src='images/'+im;
}

//-->

