		function _cn(cn) { for (var i = 1; i < arguments.length; ++i) $(arguments[i]).className = cn; }
		function _cnt(cn1, cn2, obj) { obj = $(obj); obj.className = (obj.className == cn1 ? cn2 : cn1); }
		function _cnl(t, obj) { obj = $(obj); obj.className = obj.className.slice(0,-t.length) + t; }

	function a(i) { $('index').src = 'ddpd' + i + '.html'; }
	function ioff(d) {
			_sst_[d] = $('index').scrollTop;
			var r = 'i' + d;
			_cn('ioff',r,r+'l',r+'d');
		}
	function ion(d) {
			var r = 'i' + d;
			_cn('ion',r,r+'l',r+'d');
			$('index').scrollTop = _sst_[d];
		}
	function ii() { ioff('e'); ioff('a'); ion('i'); }
	function ie() { ioff('i'); ioff('a'); ion('e'); }
	function ia() { ioff('i'); ioff('e'); ion('a'); }

	function _H(lt, rt) { $('etitle').innerHTML = lt; $('eauthor').innerHTML = rt; }
	function _N(aid) { var a=AA[aid]; return '&nbsp;'+a.n+' '+a.a+'&nbsp;'; }
	function H(eid) { var e = EE[eid]; _H(e.t, '<a href=javascript:A("' + e.a + '");>' + _N(e.a) + '</a>'); }
	function A(id) { ia(); var a = $(id); if (a.className.slice(-1) == 'c') T(id); a.scrollIntoView(); }
	function _L(s) {
			$('entry').innerHTML = '<iframe id="etext" allowtransparency="true" frameborder="0" scrolling="yes" src="' + s + '" style=display:none;></iframe>';
			placei();
		//	var t = $('etext');
		//	t.src = '';
		//	t.scrolling = 'yes';	// to force IE to not show the horizontal scrollbar
		//	t.src = s;
		}
	function adji() {
			$('etext').scrolling = 'auto';	// to force FF to hide the horizontal scrollbar which appeared by the previous IE hack
			$('etext').style.display = '';	// avoid showing the scrollbars mess
		}
	function L(id, a) {
			_sect_ = (a ? a : '');
			_L(id + '.html');
		}
	function V(id) { L(id, 'variants'); }
	function T(id) {
			var a = $(id), s = $('sub' + id);
			if (a.className.slice(-1) == 'c') { s.style.display = 'block'; _cnl('o',a); }
			else if (a.className.slice(-1) == 'o') { _cnl('c',a); s.style.display = 'none'; }
		}
	var _introtitle = 'presentación';
	function HI() { _H(_introtitle,_N('AB')); }
	function I(id) {
			if ($('etitle').innerHTML == _introtitle)
				$('etext').contentWindow.GT(id ? id : 'i0');
			else {
				_sect_ = (id ? id : 'i0');
				_L('_intro.html');
			}
		}
	function HJ() { _H('',''); }
	function J() { L('_cred'); }
	function j() { L('_credp'); }
// display
	function placediv(f, x, y, w, h, s, b, p) {
			if (f.s != undefined) s = f.s;
			if (f.b != undefined) b = f.b;
			if (f.p != undefined) p = f.p;
			if (f._V) {
				if (w < s) s = 0;
				w -= s;
				var w1 = (f._V > 1 ? f._V : Math.round(w * f._V));
				if (f.m && w1 < f.m) w1 = f.m;
				if (f.M && w1 > f.M) w1 = f.M;
				if (w1 > w) w1 = w;
				var w2 = w - w1;
				if (f.x) { w2 = w1; w1 = w - w2; }
				var x2 = x + w1 + s;
				placediv(f._1, x, y, w1, h, s, b, p);
				placediv(f._2, x2, y, w2, h, s, b, p);
			} else if (f._H) {
				if (h < s) s = 0;
				h -= s;
				var h1 = (f._H > 1 ? f._H : Math.round(h * f._H));
				if (f.m && h1 < f.m) h1 = f.m;
				if (f.M && h1 > f.M) h1 = f.M;
				if (h1 > h) h1 = h;
				var h2 = h - h1;
				if (f.x) { h2 = h1; h1 = h - h2; }
				var y2 = y + h1 + s;
				placediv(f._1, x, y, w, h1, s, b, p);
				placediv(f._2, x, y2, w, h2, s, b, p);
			} else if (f._C) {
				var obj = $(f._C);
				with (obj.style) {
					w -= 2 * (b + p); if (w < 0) w = 0;
					h -= 2 * (b + p); if (h < 0) h = 0;
					if (w * h == 0)
						display = 'none';
					else {
						position = 'absolute';
						left = x + 'px';
						top = y + 'px';
						width = w + 'px';
						height = h + 'px';
						padding = p + 'px';
						display = 'block';
					}
				}
			}
		}
		function placei() {
				var s = $('etext');
				if (!s) return;
				s = s.style;
				var p = $('entry').style;
				s.left = s.top = 0;
				s.width = p.width;
				s.height = p.height;
			}
	function placediv1(obj, s, b, p) {
			var W, H;
			if (self.innerHeight) {	// all except Explorer
				W = self.innerWidth;
				H= self.innerHeight;
			} else if (document.documentElement && document.documentElement.clientHeight) { // Explorer 6 Strict Mode
				W = document.documentElement.clientWidth;
				H = document.documentElement.clientHeight;
			} else if (document.body) { // other Explorers
				W = document.body.clientWidth;
				H = document.body.clientHeight;
			}
			var X = 0, Y = 0;
			if (s) {
				X = Y = s;
				W -= 2 * s;
				H -= 2 * s;
			}
			placediv(obj, X, Y, W, H, s, b, p);
		}
	var dps = {
			_V: .3, m: 256, M: 512,
			_1: {
				_H: 222, s: 0,
				_1: { _C: 'ihead', p: 0 },
				_2: { _C: 'index', b: 2, p: 5 }
			},
			_2: {
				_H: 40,
				_1: { _C: 'ehead', p: 8 },
				_2: { _C: 'entry', p: 0 }
			}
		};
	function placedivs() { placediv1(dps, 2, 0, 5); placei(); }

// main
	function init() {
			placedivs();
			ie();
			J();
		}
window.onload = init;
window.onresize = placedivs;

