/* formexp.js compiled from X 4.0 with XC 0.27b. 
Distributed by GNU LGPL. 
For copyrights, license, documentation and more visit Cross-Browser.com */
/*
var xOp7Up,xOp6Dn,xIE4Up,xIE4,xIE5,xNN4,xUA=navigator.userAgent.toLowerCase();
alert(navigator.userAgent.toLowerCase());
if(window.opera){
	var i=xUA.indexOf('opera');
	if(i!=-1){
		var v=parseInt(xUA.charAt(i+6));
		xOp7Up=v>=7;xOp6Dn=v<7;
	}
}else if(navigator.vendor!='KDE' && document.all && xUA.indexOf('msie')!=-1){
	xIE4Up=parseFloat(navigator.appVersion)>=4;
	xIE4=xUA.indexOf('msie 4')!=-1;
	xIE5=xUA.indexOf('msie 5')!=-1;
	xIE6=xUA.indexOf('msie 6')!=-1;
	xIE7=xUA.indexOf('msie 7')!=-1;
}else if(document.layers){
	xNN4=true;
}
xMac=xUA.indexOf('mac')!=-1;
*/

// xDisplay r3, Copyright 2003-2007 Michael Foster (Cross-Browser.com)
// Part of X, a Cross-Browser Javascript Library, Distributed under the terms of the GNU LGPL
// This was alternative 1:
function xDisplay(e,s)
{
  if ((e=xGetElementById(e)) && e.style && xDef(e.style.display)) {
    if (xStr(s)) {
      try { e.style.display = s; }
      catch (ex) { e.style.display = ''; } // Will this make IE use a default value
    }                                      // appropriate for the element?
    return e.style.display;
  }
  return null;
}
/* Alternativa 2 */
/*
function xDisplay(e,s)
{
  if ((e=xGetElementById(e)) && e.style && xDef(e.style.display)) {
    if (xStr(s)) {
      if (s == 'block' && e.nodeName) { /////// ???
        var ie = 'block';
        switch (e.nodeName.toLowerCase()) {
          case 'table': s = 'table'; break;
          case 'tr': s = 'table-row'; break;
          case 'td': case 'th': s = 'table-cell'; break;
          case 'li': s = 'list-item'; break;
          case 'caption': s = 'table-caption'; ie = 'inline'; break; // inline (IE6dn)
          case 'tbody': s = 'table-row-group'; ie = ''; break; // not rendered
          case 'thead': s = 'table-header-group'; ie = ''; break; // not rendered
          case 'tfoot': s = 'table-footer-group'; ie = ''; break; // not rendered
          case 'col': s = 'table-column'; break;
          case 'colgroup': s = 'table-column-group'; break;
        }
        try { e.style.display = s; }
        catch (e) { e.style.display = ie; }
      }
      else e.style.display = s;
    }
    return e.style.display;
  }
  return null;
}
*/

///
/* Dependencias */
// xStr r1, Copyright 2001-2007 Michael Foster (Cross-Browser.com)
// Part of X, a Cross-Browser Javascript Library, Distributed under the terms of the GNU LGPL
function xStr(s)
{
  for(var i=0; i<arguments.length; ++i){if(typeof(arguments[i])!='string') return false;}
  return true;
}

// xDef r1, Copyright 2001-2007 Michael Foster (Cross-Browser.com)
// Part of X, a Cross-Browser Javascript Library, Distributed under the terms of the GNU LGPL
function xDef()
{
  for(var i=0; i<arguments.length; ++i){if(typeof(arguments[i])=='undefined') return false;}
  return true;
}

// xGetElementById r2, Copyright 2001-2007 Michael Foster (Cross-Browser.com)
// Part of X, a Cross-Browser Javascript Library, Distributed under the terms of the GNU LGPL
function xGetElementById(e)
{
  if(typeof(e)=='string') {
    if(document.getElementById) e=document.getElementById(e);
    else if(document.all) e=document.all[e];
    else e=null;
  }
  return e;
}

/*
function xDisplay(e,s){
	if(!(e=xGetElementById(e))) return null;
	if(e.style && xDef(e.style.display)) {
		if (xStr(s)) e.style.display = s;
		return e.style.display;
	}
	return null;
}

function xGetElementById(e){
	if(typeof(e)!='string') return e;
	if(document.getElementById) e=document.getElementById(e);
	else if(document.all) e=document.all[e];
	else e=null;return e;}function xStr(s){
		for(var i=0; i<arguments.length; ++i){
			if(typeof(arguments[i])!='string') return false;
		}
		return true;
	}
}

function xDef(){
	for(var i=0; i<arguments.length; ++i){
		if(typeof(arguments[i])=='undefined') return false;
	}
	return true;
}
*/
