function popup(D,C,F,B,A,H,E){if(typeof (A)=="undefined"){A="center"}if(typeof (H)=="undefined"){H="middle"}if(typeof (E)=="undefined"){E=""}if(A.toLowerCase()=="center"){A=(screen.width-F)/2}else{if(A.toLowerCase()=="right"){A=(screen.width-F-30)}else{if(A<0){A=screen.width-F+A}else{A=0}}}if(H.toLowerCase()=="middle"){H=(screen.height-B)/2}else{if(H.toLowerCase()=="bottom"){H=(screen.height-B-60)}else{if(H<0){A=screen.height-B-H-30}else{H=0}}}var G=window.open;if(typeof (C)=="undefined"||typeof (F)=="undefined"||typeof (B)=="undefined"){return G(D)}else{return G(D,C,"width="+F+",height="+B+",screenX="+A+",left="+A+",screenY="+H+",top="+H+","+E)}}function showSWF(E,A,B,K,L,I,D,H,J,C,F){if(!L){L="transparent"}if(!H){H="center"}if(!J){J="high"}if(!D){D=""}if(!C){C="transparent"}if(!F){F="sameDomain"}if(I){I=toObject(I);if(!I){alert("SWF Target Error");return }}var G='<div style="background-color:'+L+";";if(B){G+="width:"+B+"px;"}if(K){G+="height:"+K+"px;"}G+='">	<object type="application/x-shockwave-flash" data="'+E+'" ';if(B){G+='width="'+B+'" '}if(K){G+='height="'+K+'" '}G+='id="'+A+'" align="'+H+'">		<param name="flashvars" value="'+D+'">		<param name="allowScriptAccess" value="'+F+'" />		<param name="movie" value="'+E+'" />		<param name="quality" value="'+J+'" />		<param name="bgcolor" value="'+L+'" />		<param name="wmode" value="'+C+'">	</object></div>';if(I){I.innerHTML=G}else{document.write(G)}}var font_size=9;var MAX=17;var MIN=11;function changeFont(A){font_size+=A;if(font_size>MAX){font_size=MAX}if(font_size<MIN){font_size=MIN}document.getElementsByTagName("body")[0].style.fontSize=font_size+"px"}function objectToString(E,D,C){var A="";var B="";D=(D?D+1:0);C=(C?C-1:1);if(C==-1){return""}for(var F=0;F<D;F++){B+="  "}A+=B+"["+typeof (E)+"]"+E;D++;B+="  ";for(subObj in E){A+="\n"+B+"["+subObj+"] => "+E[subObj];if(typeof (E[subObj])=="object"&&confirm(typeof (E[subObj])+E[subObj])){A+="\n"+objectToString(subObj,D,C)}}return A}function toObject(A){if(typeof (A)=="string"){return document.getElementById(A)}if(typeof (A.nodeName)!="undefined"){return A}return null}function jumpTo(A){document.location.href=A}function validateEmail(A){var B=0;if(A.length>7&&A.indexOf(" ",0)==-1){B=A.indexOf("@",0);if(B>2&&A.indexOf("@",B)&&A.indexOf(".",B)>(B+3)){B=A.indexOf(".",B);if(B>-1&&B<A.length-2){return true}}}return false}function isDate(E,F,B){if(E.toString().length==0){return false}if(B==null){F=(F==null)?"-":F;if(E.toString().indexOf(F)==-1){return false}var A=E.toString().split(F);if(A.length!=3){return false}E=A[0];F=A[1];B=A[2]}F=F-1;var C=new Date(E,F,B);var D=(C.getYear()<1000)?C.getYear()+1900:C.getYear();return((D==E)&&(F==C.getMonth())&&(B==C.getDate()))}function imagenChange(B,A){B=toObject(B);if(B){B.src=A}}function checkMaxChars(A,B){A=toObject(A);if(A&&A.value.length>B){A.value=A.value.substring(0,B)}}function bookMark(A){var B=new Array();B=A.split("|");if(document.all){window.external.AddFavorite(B[0],B[1])}else{alert("Lo Sentimos, los usuarios de Netscape o Mozilla deben agregar a \nfavoritos manualmente desde el menu o haciendo uso de <Ctrl-D>")}}String.prototype.trim=function(){var A=this.replace(/^\s+/,"");for(var B=A.length;B>0;B--){if(/\S/.test(this.charAt(B))){A=A.substring(0,B);break}}return A};
	function setElementPosition( something, posx, posy, type )	{
		something = toObject( something );
		if( !type )
			type = 'absolute';
		something.style.position = type;
		something.style.left = posx + 'px';
		something.style.top = posy + 'px';
	}
	
	function getAbsolutePosition( something )	{
		something = toObject( something );
		var pos = { x: something.offsetLeft, y: something.offsetTop };
		if ( something.offsetParent )	{
			var tmp = getAbsolutePosition( something.offsetParent );
			pos.x += tmp.x;
			pos.y += tmp.y;
		}
		return pos;
	};
  
  	function getRelativeCoordinates( event, something )	{
		something = toObject( something );
		var x, y;
		event = event || window.event;
		var el = event.target || event.srcElement;
		if ( !window.opera && typeof event.offsetX != 'undefined' )	{
			// Use offset coordinates and find common offsetParent
			var pos = { x: event.offsetX, y: event.offsetY };
			// Send the coordinates upwards through the offsetParent chain.
			var e = el;
			while (e) {
				e.mouseX = pos.x;
				e.mouseY = pos.y;
				pos.x += e.offsetLeft;
				pos.y += e.offsetTop;
				e = e.offsetParent;
			}
			// Look for the coordinates starting from the reference element.
			var e = something;
			var offset = { x: 0, y: 0 }
			while ( e )	{
				if ( typeof e.mouseX != 'undefined' )	{
					x = e.mouseX - offset.x;
					y = e.mouseY - offset.y;
					break;
				}
				offset.x += e.offsetLeft;
				offset.y += e.offsetTop;
				e = e.offsetParent;
			}
			// Reset stored coordinates
			e = el;
			while ( e )	{
				e.mouseX = undefined;
				e.mouseY = undefined;
				e = e.offsetParent;
			}
		}
		else {
			// Use absolute coordinates
			var pos = getAbsolutePosition( something );
			x = event.pageX - pos.x;
			y = event.pageY - pos.y;
		}
		// Subtract distance to middle
		return { x: x, y: y };
	}
	function getRelativePosition( something )	{
		something = toObject( something );
		return { x:Number( something.style.left.replace( "px", "" ) ), y: Number( something.style.top.replace( "px", "" ) ) };
	};
	function getElementDimensions( something )	{
		something = toObject( something );
		var width = 0;
		var height = 0;
		if( something.clip && something.clip.height )
			height = something.clip.height;
		else if( something.style.pixelHeight )
			height = something.style.pixelHeight;
		else if( something.offsetHeight )
			height = something.offsetHeight;
		else
			height = 0;

		if( something.clip && something.clip.width )
			width = something.clip.width;
		else if( something.style.pixelWidth )
			width = something.style.pixelWidth;
		else if( something.offsetWidth )
			width = something.offsetWidth;
		else
			width = 0;
		
		return {height: height, width:width};
	}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
