<!--
function gxw(length, speed, pos1, pos2) {
	this.length = length;
	this.speed = Math.round(1000 / speed);
	this.pos1 = pos1;
	this.pos2 = pos2;
	this.tmid = null;
	this.accel = false;
	this.forward = true;
}
gxw.prototype = {
	additional:new Array(),
	clearTimer:function() {
		(this.tmid) && clearInterval(this.tmid);
		this.tmid = null;
	},
	start:function() {
		if ((this.step < 0) || (this.step >= this.length)) {
			this.restart();
		}
		else {
			var self = this;
			this.clearTimer();
			this.tmid = setInterval(function() {
				self.update();
			},
			this.speed);
		}
	},
	restart:function() {
		this.onStart(this);
		this.pos = this.pos1;
		this.step = 0;
		this.diff = (this.pos2 - this.pos1);
		this.rad_step = (Math.PI / (2 * this.length));
		this.rad_pos = 0;
		for (var i in this.additional) {
			var obj = this.additional[i];
			obj.pos = obj.pos1;
			obj.diff = (obj.pos2 - obj.pos1);
		}
		this.start();
	},
	reverse:function(fwd) {
		if (typeof fwd == 'undefined') {
			this.forward =! this.forward;
		}
		else {
			this.forward = fwd;
		}
	},
	update:function() {
		if ((this.step < this.length) && (this.step >= 0)) {
			var f = this.accel ? (1 - Math.cos(this.rad_pos)) : Math.sin(this.rad_pos);
			this.delta = Math.round(f * this.diff);
			this.pos = (this.pos1 + this.delta);
			for (var i in this.additional) {
				var obj = this.additional[i];
				obj.delta = Math.round(f * obj.diff);
				obj.pos = (obj.pos1 + obj.delta);
			}
			this.onUpdate(this);
			if (this.forward) {
				++this.step;
				this.rad_pos += this.rad_step;
			}
			else {
				--this.step;
				this.rad_pos -= this.rad_step;
			}
		}
		else {
			if (this.forward) {
				this.delta = (this.pos2 - this.pos);
				this.pos = this.pos2;
			}
			else {
				this.delta = (this.pos1 - this.pos);
				this.pos = this.pos1;
			}
			for (var i in this.additional) {
				var obj = this.additional[i];
				if (this.forward) {
					obj.delta = (obj.pos2 - obj.pos);
					obj.pos = obj.pos2;
				}
				else {
					obj.delta = (obj.pos1 - obj.pos);
					obj.pos = obj.pos1;
				}
			}
			this.onUpdate(this);
			this.stop(true);
		}
	},
	stop:function(call) {
		this.clearTimer();
		call && this.forward && this.onStop(this);
	},
	onStart:function() {
	},
	onStop:function() {
	},
	onUpdate:function() {
	}
};

MS = new Image();
MS.src = 'http://3dup.com/images/ms.gif';
MS2 = new Image();
MS2.src = 'http://3dup.com/images/ms2.gif';
MN = new Image();
MN.src = 'http://3dup.com/images/mn.gif';
MN2 = new Image();
MN2.src = 'http://3dup.com/images/mn2.gif';

function Expand(link) {
	el = document.getElementById('NT1');
	if (typeof el.__msh_height == 'undefined') {
		el.style.display = 'block';
		el.__msh_height = el.offsetHeight;
		el.style.display = 'none';
		el.style.overflow = 'hidden';
	}
	if (el.style.display == 'none') {
		var anim = new gxw(15, 25, 0, el.__msh_height);
		anim.el = el;
		anim.onStart = function(a) {
			a.el.style.display = 'block';
			a.el.style.height = '0px';
		};
		anim.onStop = function(a) {
			a.el.style.height = 'auto';
		};
		anim.onUpdate = function(a) {
			a.el.style.height = a.pos + 'px';
		};
		anim.restart();
		link.src = MN.src;
		link.title = '[ - ]  Click to Collapse';
	}
	else {
		var anim = new gxw(15, 25, el.__msh_height, 0);
		anim.el = el;
		anim.accel = true;
		anim.onStart = function(a) {
			a.el.style.display = 'block';
			a.el.style.height = 'auto';
		};
		anim.onStop = function(a) {
			a.el.style.display = 'none';
		};
		anim.onUpdate = function(a) {
			a.el.style.height = a.pos + 'px';
		};
		anim.restart();
		link.src = MS.src;
		link.title = '[ + ]  Click to Expand';
	}
	return false;
};
function Expand2(link) {
	el = document.getElementById('NT2');
	if (typeof el.__msh_height == 'undefined') {
		el.style.display = 'block';
		el.__msh_height = el.offsetHeight;
		el.style.display = 'none';
		el.style.overflow = 'hidden';
	}
	if (el.style.display == 'none') {
		var anim = new gxw(15, 25, 0, el.__msh_height);
		anim.el = el;
		anim.onStart = function(a) {
			a.el.style.display = 'block';
			a.el.style.height = '0px';
		};
		anim.onStop = function(a) {
			a.el.style.height = 'auto';
		};
		anim.onUpdate = function(a) {
			a.el.style.height = a.pos + 'px';
		};
		anim.restart();
		link.src = MN.src;
		link.title = '[ - ]  Click to Collapse';
	}
	else {
		var anim = new gxw(15, 25, el.__msh_height, 0);
		anim.el = el;
		anim.accel = true;
		anim.onStart = function(a) {
			a.el.style.display = 'block';
			a.el.style.height = 'auto';
		};
		anim.onStop = function(a) {
			a.el.style.display = 'none';
		};
		anim.onUpdate = function(a) {
			a.el.style.height = a.pos + 'px';
		};
		anim.restart();
		link.src = MS.src;
		link.title = '[ + ]  Click to Expand';
	}
	return false;
};
function Expand3(link) {
	el = document.getElementById('NT3');
	if (typeof el.__msh_height == 'undefined') {
		el.style.display = 'block';
		el.__msh_height = el.offsetHeight;
		el.style.display = 'none';
		el.style.overflow = 'hidden';
	}
	if (el.style.display == 'none') {
		var anim = new gxw(15, 25, 0, el.__msh_height);
		anim.el = el;
		anim.onStart = function(a) {
			a.el.style.display = 'block';
			a.el.style.height = '0px';
		};
		anim.onStop = function(a) {
			a.el.style.height = 'auto';
		};
		anim.onUpdate = function(a) {
			a.el.style.height = a.pos + 'px';
		};
		anim.restart();
		link.src = MN2.src;
		link.title = '[ - ]  Click to Collapse';
	}
	else {
		var anim = new gxw(15, 25, el.__msh_height, 0);
		anim.el = el;
		anim.accel = true;
		anim.onStart = function(a) {
			a.el.style.display = 'block';
			a.el.style.height = 'auto';
		};
		anim.onStop = function(a) {
			a.el.style.display = 'none';
		};
		anim.onUpdate = function(a) {
			a.el.style.height = a.pos + 'px';
		};
		anim.restart();
		link.src = MS2.src;
		link.title = '[ + ]  Click to Expand';
	}
	return false;
};
//-->
