// JavaScript Document

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];}
}

	$(document).ready(function(){
		
		$(".btn-slide").click(function(){		
			$('#content').hide(1000, function() { });
			$('#content2').hide(1000, function() { });
			$('#content3').hide(1000, function() { });			  			  
			$('#content4').hide(1000, function() { });	
			/*$('#panel2').hide(0, function() { });*/
			/*$('#panel2_1').hide(0, function() { });*/
			$('#panel2_2').hide(0, function() { });
			/*$('#panel2_3').hide(0, function() { });*/
			$('#panel2_4').hide(0, function() { });
			$('#panel2_5').hide(0, function() { });			
			$('#panel3').hide(0, function() { });
			$('#panel4').hide(0, function() { });
			$('#panel5').hide(0, function() { });
			$("#panel").toggle(1000);
			$(this).toggleClass("active"); return false;		
		});
		
	/*});
	
	$(document).ready(function(){*/
	
		$(".btn-slide1").click(function() {
			$('#content2').hide(1000, function() { });
			$('#content3').hide(1000, function() { });
			$('#content4').hide(1000, function() { });
			$('#panel3').hide(0, function() { });
			$('#panel4').hide(0, function() { });
			$('#panel5').hide(0, function() { });
			/*$('#panel2').hide(0, function() { });*/
			/*$('#panel2_1').hide(0, function() { });*/
			$('#panel2_2').hide(0, function() { });
			/*$('#panel2_3').hide(0, function() { });*/
			$('#panel2_4').hide(0, function() { });
			$('#panel2_5').hide(0, function() { });	
			$("#content").fadeIn(1000, function() { });			  			  
		});

		$(".btn-slide2").click(function(){
			$('#content').hide(1000, function() { });
			$('#content2').hide(1000, function() { });
			$('#content3').hide(1000, function() { });			  			  			  
			$('#content4').hide(1000, function() { });
			/*$('#panel2_1').hide(0, function() { });*/
			$('#panel2_2').hide(0, function() { });
			/*$('#panel2_3').hide(0, function() { });*/
			$('#panel2_4').hide(0, function() { });
			$('#panel2_5').hide(0, function() { });
			$('#panel3').hide(0, function() { });
			$('#panel4').hide(0, function() { });
			$('#panel5').hide(0, function() { });					
			/*$( "#panel2" ).show(1000);*/
		});
		
		//
		$(".btn-slide2_1").click(function(){
			$('#content').hide(1000, function() { });
			$('#content2').hide(1000, function() { });
			$('#content3').hide(1000, function() { });			  			  			  
			$('#content4').hide(1000, function() { });
			/*$('#panel2').hide(0, function() { });*/
			$('#panel2_2').hide(0, function() { });
			/*$('#panel2_3').hide(0, function() { });*/
			$('#panel2_4').hide(0, function() { });
			$('#panel2_5').hide(0, function() { });
			$('#panel3').hide(0, function() { });
			$('#panel4').hide(0, function() { });
			$('#panel5').hide(0, function() { });
			/*$( "#panel2_1" ).show(1000);
			$('.scroll-pane').jScrollPane(
				{		showArrows: true,
						arrowScrollOnHover: true
				}
			);*/
		});
		$(".btn-slide2_2").click(function(){
			$('#content').hide(1000, function() { });
			$('#content2').hide(1000, function() { });
			$('#content3').hide(1000, function() { });			  			  			  
			$('#content4').hide(1000, function() { });
			/*$('#panel2').hide(0, function() { });*/
			/*$('#panel2_1').hide(0, function() { });*/
			/*$('#panel2_3').hide(0, function() { });*/
			$('#panel2_4').hide(0, function() { });
			$('#panel2_5').hide(0, function() { });
			$('#panel3').hide(0, function() { });
			$('#panel4').hide(0, function() { });
			$('#panel5').hide(0, function() { });
			$( "#panel2_2" ).show(1000);						
			$('.scroll-pane').jScrollPane(
				{		showArrows: true,
						arrowScrollOnHover: true
				}
			);
		});
		$(".btn-slide2_3").click(function(){
			$('#content').hide(1000, function() { });
			$('#content2').hide(1000, function() { });
			$('#content3').hide(1000, function() { });			  			  			  
			$('#content4').hide(1000, function() { });
			/*$('#panel2').hide(0, function() { });*/
			/*$('#panel2_1').hide(0, function() { });*/
			$('#panel2_2').hide(0, function() { });
			$('#panel2_4').hide(0, function() { });
			$('#panel2_5').hide(0, function() { });
			$('#panel3').hide(0, function() { });
			$('#panel4').hide(0, function() { });
			$('#panel5').hide(0, function() { });
			/*$( "#panel2_3" ).show(1000);
			$('.scroll-pane').jScrollPane(
				{		showArrows: true,
						arrowScrollOnHover: true
				}
			);*/
		});
		$(".btn-slide2_4").click(function(){
			$('#content').hide(1000, function() { });
			$('#content2').hide(1000, function() { });
			$('#content3').hide(1000, function() { });			  			  			  
			$('#content4').hide(1000, function() { });
			/*$('#panel2').hide(0, function() { });*/
			/*$('#panel2_1').hide(0, function() { });*/
			$('#panel2_2').hide(0, function() { });
			/*$('#panel2_3').hide(0, function() { });*/
			$('#panel2_5').hide(0, function() { });
			$('#panel3').hide(0, function() { });
			$('#panel4').hide(0, function() { });
			$('#panel5').hide(0, function() { });
			$( "#panel2_4" ).show(1000);
			$('.scroll-pane').jScrollPane(
				{		showArrows: true,
						arrowScrollOnHover: true
				}
			);
		});
		$(".btn-slide2_5").click(function(){
			$('#content').hide(1000, function() { });
			$('#content2').hide(1000, function() { });
			$('#content3').hide(1000, function() { });			  			  			  
			$('#content4').hide(1000, function() { });
			/*$('#panel2').hide(0, function() { });*/
			/*$('#panel2_1').hide(0, function() { });*/
			$('#panel2_2').hide(0, function() { });
			/*$('#panel2_3').hide(0, function() { });*/
			$('#panel2_4').hide(0, function() { });
			$('#panel3').hide(0, function() { });
			$('#panel4').hide(0, function() { });
			$('#panel5').hide(0, function() { });
			$( "#panel2_5" ).show(1000);
			$('.scroll-pane').jScrollPane(
				{		showArrows: true,
						arrowScrollOnHover: true
				}
			);

		});
		//
		
		$(".btn-slide3").click(function(){
			$('#content').hide(1000, function() { });
			$('#content2').hide(1000, function() { });
			$('#content3').hide(1000, function() { });			  			  
			$('#content4').hide(1000, function() { });
			/*$('#panel2').hide(0, function() { });*/
			/*$('#panel2_1').hide(0, function() { });*/
			$('#panel2_2').hide(0, function() { });
			/*$('#panel2_3').hide(0, function() { });*/
			$('#panel2_4').hide(0, function() { });
			$('#panel2_5').hide(0, function() { });
			$('#panel4').hide(0, function() { });
			$('#panel5').hide(0, function() { });
			$('#panel3').show(1000);	
			$('.scroll-pane').jScrollPane(
				{		showArrows: true,
						arrowScrollOnHover: true
				}
			);		
		});
		
		$(".btn-slide4").click(function(){
			$('#content').hide(1000, function() { });
			$('#content2').hide(1000, function() { });
			$('#content3').hide(1000, function() { });			  			  
			$('#content4').hide(1000, function() { });
			/*$('#panel2').hide(0, function() { });*/
			/*$('#panel2_1').hide(0, function() { });*/
			$('#panel2_2').hide(0, function() { });
			/*$('#panel2_3').hide(0, function() { });*/
			$('#panel2_4').hide(0, function() { });
			$('#panel2_5').hide(0, function() { });
			$('#panel3').hide(0, function() { });
			$('#panel5').hide(0, function() { });
			$('#panel4').show(1000);
			$('.scroll-pane').jScrollPane(
				{		showArrows: true,
						arrowScrollOnHover: true
				}
			);						
		});
		
		$(".btn-slide5").click(function(){
			$('#content').hide(1000, function() { });
			$('#content2').hide(1000, function() { });
			$('#content3').hide(1000, function() { });			  			  
			$('#content4').hide(1000, function() { });
			/*$('#panel2').hide(0, function() { });*/
			/*$('#panel2_1').hide(0, function() { });*/
			$('#panel2_2').hide(0, function() { });
			/*$('#panel2_3').hide(0, function() { });*/
			$('#panel2_4').hide(0, function() { });
			$('#panel2_5').hide(0, function() { });
			$('#panel3').hide(0, function() { });
			$('#panel4').hide(0, function() { });
			$('#panel5').show(1000);
			$('.scroll-pane').jScrollPane(
				{		showArrows: true,
						arrowScrollOnHover: true
				}
			);						
		});

		$(".btn-slide6").click(function() {
			/*$('#panel2').hide(0, function() { });*/
			/*$('#panel2_1').hide(0, function() { });*/
			$('#panel2_2').hide(0, function() { });
			/*$('#panel2_3').hide(0, function() { });*/
			$('#panel2_4').hide(0, function() { });
			$('#panel2_5').hide(0, function() { });			  
		  	$('#panel3').hide(0, function() { });
			$('#panel4').hide(0, function() { });
			$('#panel5').hide(0, function() { });
			$('#content').hide(1000, function() { });
			$('#content2').hide(1000, function() { });			  			  			
			$('#content4').hide(1000, function() { });
			$("#content3").fadeIn(1000, function() { });	
		});	  
		
		$(".btn-slide7").click(function() {
		  	/*$('#panel2').hide(0, function() { });*/
			/*$('#panel2_1').hide(0, function() { });*/
			$('#panel2_2').hide(0, function() { });
			/*$('#panel2_3').hide(0, function() { });*/
			$('#panel2_4').hide(0, function() { });
			$('#panel2_5').hide(0, function() { });		
			$('#panel3').hide(0, function() { });
			$('#panel4').hide(0, function() { });
			$('#panel5').hide(0, function() { });				  
			$('#content').hide(1000, function() { });
			$('#content2').hide(1000, function() { });
			$('#content3').hide(1000, function() { });
			$("#respuesta_mail").html("");	  			  			  			
			$("#content4").fadeIn(1000, function() { });			  
		});			  	  
	});
	
	/*$(document).ready(function(){
		$('#clickme').click(function() {
		  $('#scroll').slideDown('slow', function() {
			// Animation complete.
		  });
		});
		});*/
		
	function alertSize() {
	  var myWidth = 0, myHeight = 0;  
	  if( typeof( window.innerWidth ) == 'number' ) {
		//Non-IE
		myWidth = window.innerWidth;
		myHeight = window.innerHeight;
	  } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
		//IE 6+ in 'standards compliant mode'
		myWidth = document.documentElement.clientWidth;
		myHeight = document.documentElement.clientHeight;
	  } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
		//IE 4 compatible
		myWidth = document.body.clientWidth;
		myHeight = document.body.clientHeight;
	  }
	// alert(myHeight+" "+myWidth);
	  return document.getElementById('slide').style.height=myHeight+"px";
	  //return myHeight;
	}
	
	function alertSize1() {
	  var myWidth1 = 0, myHeight1 = 0;
	  if( typeof( window.innerWidth ) == 'number' ) {
		//Non-IE
		myWidth1 = window.innerWidth;
		myHeight1 = window.innerHeight;
	  } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
		//IE 6+ in 'standards compliant mode'
		myWidth1 = document.documentElement.clientWidth;
		myHeight1 = document.documentElement.clientHeight;
	  } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
		//IE 4 compatible
		myWidth1 = document.body.clientWidth;
		myHeight1 = document.body.clientHeight;
	  }
	  //alert(myHeight);
	  	  myHeight1 = myHeight1;// * 0.995;
	  return document.getElementById('content-wrapper').style.height=myHeight1+"px";
	  //return myHeight;
	}
	
	function alertSize2() {
	  var myWidth2 = 0, myHeight2 = 0;
	  if( typeof( window.innerWidth ) == 'number' ) {
		//Non-IE
		myWidth2 = window.innerWidth;
		myHeight2 = window.innerHeight;
	  } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
		//IE 6+ in 'standards compliant mode'
		myWidth2 = document.documentElement.clientWidth;
		myHeight2 = document.documentElement.clientHeight;
	  } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
		//IE 4 compatible
		myWidth2 = document.body.clientWidth;
		myHeight2 = document.body.clientHeight;
	  }	 
	  return document.getElementById('panel').style.height=myHeight2+"px";
	  //return myHeight;
	}
	
	function alertSize3() {
	  var myWidth3 = 0, myHeight3 = 0;
	  if( typeof( window.innerWidth ) == 'number' ) {
		//Non-IE
		myWidth3 = window.innerWidth;
		myHeight3 = window.innerHeight;
	  } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
		//IE 6+ in 'standards compliant mode'
		myWidth3 = document.documentElement.clientWidth;
		myHeight3 = document.documentElement.clientHeight;
	  } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
		//IE 4 compatible
		myWidth3 = document.body.clientWidth;
		myHeight3 = document.body.clientHeight;
	  }
	  return document.getElementById('panel2').style.height=myHeight3+"px";
	  //return myHeight;
	}
	
	//
	function alertSize32_1() {
	  var myWidth3 = 0, myHeight3 = 0;
	  if( typeof( window.innerWidth ) == 'number' ) {
		//Non-IE
		myWidth3 = window.innerWidth;
		myHeight3 = window.innerHeight;
	  } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
		//IE 6+ in 'standards compliant mode'
		myWidth3 = document.documentElement.clientWidth;
		myHeight3 = document.documentElement.clientHeight;
	  } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
		//IE 4 compatible
		myWidth3 = document.body.clientWidth;
		myHeight3 = document.body.clientHeight;
	  }
	  return document.getElementById('panel2_1').style.height=myHeight3+"px";
	  //return myHeight;
	}
	
	function alertSize32_2() {
	  var myWidth3 = 0, myHeight3 = 0;
	  if( typeof( window.innerWidth ) == 'number' ) {
		//Non-IE
		myWidth3 = window.innerWidth;
		myHeight3 = window.innerHeight;
	  } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
		//IE 6+ in 'standards compliant mode'
		myWidth3 = document.documentElement.clientWidth;
		myHeight3 = document.documentElement.clientHeight;
	  } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
		//IE 4 compatible
		myWidth3 = document.body.clientWidth;
		myHeight3 = document.body.clientHeight;
	  }
	  return document.getElementById('panel2_2').style.height=myHeight3+"px";
	  //return myHeight;
	}
	
	function alertSize32_3() {
	  var myWidth3 = 0, myHeight3 = 0;
	  if( typeof( window.innerWidth ) == 'number' ) {
		//Non-IE
		myWidth3 = window.innerWidth;
		myHeight3 = window.innerHeight;
	  } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
		//IE 6+ in 'standards compliant mode'
		myWidth3 = document.documentElement.clientWidth;
		myHeight3 = document.documentElement.clientHeight;
	  } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
		//IE 4 compatible
		myWidth3 = document.body.clientWidth;
		myHeight3 = document.body.clientHeight;
	  }
	  return document.getElementById('panel2_3').style.height=myHeight3+"px";
	  //return myHeight;
	}
	
	function alertSize32_4() {
	  var myWidth3 = 0, myHeight3 = 0;
	  if( typeof( window.innerWidth ) == 'number' ) {
		//Non-IE
		myWidth3 = window.innerWidth;
		myHeight3 = window.innerHeight;
	  } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
		//IE 6+ in 'standards compliant mode'
		myWidth3 = document.documentElement.clientWidth;
		myHeight3 = document.documentElement.clientHeight;
	  } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
		//IE 4 compatible
		myWidth3 = document.body.clientWidth;
		myHeight3 = document.body.clientHeight;
	  }
	  return document.getElementById('panel2_4').style.height=myHeight3+"px";
	  //return myHeight;
	}
	
	function alertSize32_5() {
	  var myWidth3 = 0, myHeight3 = 0;
	  if( typeof( window.innerWidth ) == 'number' ) {
		//Non-IE
		myWidth3 = window.innerWidth;
		myHeight3 = window.innerHeight;
	  } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
		//IE 6+ in 'standards compliant mode'
		myWidth3 = document.documentElement.clientWidth;
		myHeight3 = document.documentElement.clientHeight;
	  } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
		//IE 4 compatible
		myWidth3 = document.body.clientWidth;
		myHeight3 = document.body.clientHeight;
	  }
	  return document.getElementById('panel2_5').style.height=myHeight3+"px";
	  //return myHeight;
	}
	//
	
	function alertSize3a() {
	  var myWidth3a = 0, myHeight3a = 0;
	  if( typeof( window.innerWidth ) == 'number' ) {
		//Non-IE
		myWidth3a = window.innerWidth;
		myHeight3a = window.innerHeight;
	  } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
		//IE 6+ in 'standards compliant mode'
		myWidth3a = document.documentElement.clientWidth;
		myHeight3a = document.documentElement.clientHeight;
	  } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
		//IE 4 compatible
		myWidth3a = document.body.clientWidth;
		myHeight3a = document.body.clientHeight;
	  }
	  myHeight3a = myHeight3a -5; 
	  return document.getElementById('panel3').style.height=myHeight3a+"px";
	  //return myHeight;
	}
	
	function alertSize4p() {
	  var myWidth4p = 0, myHeight4p = 0;
	  if( typeof( window.innerWidth ) == 'number' ) {
		//Non-IE
		myWidth4p = window.innerWidth;
		myHeight4p = window.innerHeight;
	  } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
		//IE 6+ in 'standards compliant mode'
		myWidth4p = document.documentElement.clientWidth;
		myHeight4p = document.documentElement.clientHeight;
	  } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
		//IE 4 compatible
		myWidth4p = document.body.clientWidth;
		myHeight4p = document.body.clientHeight;
	  }
	  myHeight4p = myHeight4p -5; 
	  return document.getElementById('panel4').style.height=myHeight4p+"px";
	  //return myHeight;
	}
	
	function alertSize5p() {
	  var myWidth5p = 0, myHeight5p = 0;
	  if( typeof( window.innerWidth ) == 'number' ) {
		//Non-IE
		myWidth5p = window.innerWidth;
		myHeight5p = window.innerHeight;
	  } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
		//IE 6+ in 'standards compliant mode'
		myWidth5p = document.documentElement.clientWidth;
		myHeight5p = document.documentElement.clientHeight;
	  } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
		//IE 4 compatible
		myWidth5p = document.body.clientWidth;
		myHeight5p = document.body.clientHeight;
	  }
	  myHeight5p = myHeight5p -5; 
	  return document.getElementById('panel5').style.height=myHeight5p+"px";
	  //return myHeight;
	}
	
	
	/*function alertSize4() {
	  var myWidth4 = 0, myHeight3 = 0;
	  if( typeof( window.innerWidth ) == 'number' ) {
		//Non-IE
		myWidth4 = window.innerWidth;
		myHeight4 = window.innerHeight;
	  } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
		//IE 6+ in 'standards compliant mode'
		myWidth4 = document.documentElement.clientWidth;
		myHeight4 = document.documentElement.clientHeight;
	  } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
		//IE 4 compatible
		myWidth4 = document.body.clientWidth;
		myHeight4 = document.body.clientHeight;
	  }
	  myHeight4 = (myHeight4 - 482) / 2;
	  return document.getElementById('subpanel1').style.height=myHeight4+"px";
	  //return myHeight;
	}*/
	
	/*function alertSize4s() {
	  var myWidth4s = 0, myHeight4s = 0;
	  if( typeof( window.innerWidth ) == 'number' ) {
		//Non-IE
		myWidth4s = window.innerWidth;
		myHeight4s = window.innerHeight;
	  } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
		//IE 6+ in 'standards compliant mode'
		myWidth4s = document.documentElement.clientWidth;
		myHeight4s = document.documentElement.clientHeight;
	  } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
		//IE 4 compatible
		myWidth4s = document.body.clientWidth;
		myHeight4s = document.body.clientHeight;
	  }
	  myHeight4s = (myHeight4s - 245) / 2; 
	  return document.getElementById('subpanel1s').style.height=myHeight4s+"px";
	  //return myHeight;
	}*/
/*296*/
	function alertSize5() {
	  var myWidth5 = 0, myHeight5 = 0;
	  if( typeof( window.innerWidth ) == 'number' ) {
		//Non-IE
		myWidth5 = window.innerWidth;
		myHeight5 = window.innerHeight;
	  } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
		//IE 6+ in 'standards compliant mode'
		myWidth5 = document.documentElement.clientWidth;
		myHeight5 = document.documentElement.clientHeight;
	  } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
		//IE 4 compatible
		myWidth5 = document.body.clientWidth;
		myHeight5 = document.body.clientHeight;
	  }
	  //myHeight5 = (myHeight5 - 296) / 2+2;	  
	  //alert(myHeight5);
	  myHeight5 = (myHeight5 - 577) ;
	  //alert(myHeight5);
	  return document.getElementById('subpanel2').style.height=myHeight5+"px";
	  //return myHeight;
	}

	function alertSize5f() {
	  var myWidth5f = 0, myHeight5f = 0;
	  if( typeof( window.innerWidth ) == 'number' ) {
		//Non-IE
		myWidth5f = window.innerWidth;
		myHeight5f = window.innerHeight;
	  } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
		//IE 6+ in 'standards compliant mode'
		myWidth5f = document.documentElement.clientWidth;
		myHeight5f = document.documentElement.clientHeight;
	  } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
		//IE 4 compatible
		myWidth5f = document.body.clientWidth;
		myHeight5f = document.body.clientHeight;
	  }
	  //myHeight5 = (myHeight5 - 296) / 2+2;	  
	  //alert(myHeight5);
	  myHeight5f = (myHeight5f - 617) ;
	  //alert(myHeight5f);
	  return document.getElementById('facebook').style.marginTop=myHeight5f+"px";
	  //return myHeight;
	}

	function alertSize_e1() {
	  var myWidthe1 = 0, myHeighte1 = 0;
	  if( typeof( window.innerWidth ) == 'number' ) {
		//Non-IE
		myWidthe1 = window.innerWidth;
		myHeighte1 = window.innerHeight;
	  } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
		//IE 6+ in 'standards compliant mode'
		myWidthe1 = document.documentElement.clientWidth;
		myHeighte1 = document.documentElement.clientHeight;
	  } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
		//IE 4 compatible
		myWidthe1 = document.body.clientWidth;
		myHeighte1 = document.body.clientHeight;
	  }
	  myHeighte1 = (myHeighte1 - 660) / 2;
	  return document.getElementById('subpanel_col1').style.height=myHeighte1+"px";
	  //return myHeight;
	}
	
	function alertSize_e2() {
	  var myWidthe2 = 0, myHeighte2 = 0;
	  if( typeof( window.innerWidth ) == 'number' ) {
		//Non-IE
		myWidthe2 = window.innerWidth;
		myHeighte2 = window.innerHeight;
	  } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
		//IE 6+ in 'standards compliant mode'
		myWidthe2 = document.documentElement.clientWidth;
		myHeighte2 = document.documentElement.clientHeight;
	  } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
		//IE 4 compatible
		myWidthe2 = document.body.clientWidth;
		myHeighte2 = document.body.clientHeight;
	  }
	  myHeighte2 = (myHeighte2 - 660) / 2;
	  return document.getElementById('subpanel_col2').style.height=myHeighte2+"px";
	  //return myHeight;
	}

	function alertSize_e3() {
	  var myWidthe3 = 0, myHeighte3 = 0;
	  if( typeof( window.innerWidth ) == 'number' ) {
		//Non-IE
		myWidthe3 = window.innerWidth;
		myHeighte3 = window.innerHeight;
	  } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
		//IE 6+ in 'standards compliant mode'
		myWidthe3 = document.documentElement.clientWidth;
		myHeighte3 = document.documentElement.clientHeight;
	  } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
		//IE 4 compatible
		myWidthe3 = document.body.clientWidth;
		myHeighte3 = document.body.clientHeight;
	  }
	  myHeighte3 = (myHeighte3 - 660) / 2;
	  return document.getElementById('subpanel_col3').style.height=myHeighte3+"px";
	  //return myHeight;
	}

	function alertSize_e4() {
	  var myWidthe4 = 0, myHeighte4 = 0;
	  if( typeof( window.innerWidth ) == 'number' ) {
		//Non-IE
		myWidthe4 = window.innerWidth;
		myHeighte4 = window.innerHeight;
	  } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
		//IE 6+ in 'standards compliant mode'
		myWidthe4 = document.documentElement.clientWidth;
		myHeighte4 = document.documentElement.clientHeight;
	  } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
		//IE 4 compatible
		myWidthe4 = document.body.clientWidth;
		myHeighte4 = document.body.clientHeight;
	  }
	  myHeighte4 = (myHeighte4 - 660) / 2;
	  return document.getElementById('subpanel_col4').style.height=myHeighte4+"px";
	  //return myHeight;
	}

	function alertSize_e5() {
	  var myWidthe5 = 0, myHeighte5 = 0;
	  if( typeof( window.innerWidth ) == 'number' ) {
		//Non-IE
		myWidthe5 = window.innerWidth;
		myHeighte5 = window.innerHeight;
	  } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
		//IE 6+ in 'standards compliant mode'
		myWidthe5 = document.documentElement.clientWidth;
		myHeighte5 = document.documentElement.clientHeight;
	  } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
		//IE 5 compatible
		myWidthe5 = document.body.clientWidth;
		myHeighte5 = document.body.clientHeight;
	  }
	  myHeighte5 = (myHeighte5 - 660) / 2;
	  return document.getElementById('subpanel_col5').style.height=myHeighte5+"px";
	  //return myHeight;
	}

	function alertSize_e6() {
	  var myWidthe6 = 0, myHeighte6 = 0;
	  if( typeof( window.innerWidth ) == 'number' ) {
		//Non-IE
		myWidthe6 = window.innerWidth;
		myHeighte6 = window.innerHeight;
	  } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
		//IE 6+ in 'standards compliant mode'
		myWidthe6 = document.documentElement.clientWidth;
		myHeighte6 = document.documentElement.clientHeight;
	  } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
		//IE 6 compatible
		myWidthe6 = document.body.clientWidth;
		myHeighte6 = document.body.clientHeight;
	  }
	  myHeighte6 = (myHeighte6 - 660) / 2;
	  return document.getElementById('subpanel_col6').style.height=myHeighte6+"px";
	  //return myHeight;
	}
	
	function alertSize_e7() {
	  var myWidthe7 = 0, myHeighte7 = 0;
	  if( typeof( window.innerWidth ) == 'number' ) {
		//Non-IE
		myWidthe7 = window.innerWidth;
		myHeighte7 = window.innerHeight;
	  } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
		//IE 7+ in 'standards compliant mode'
		myWidthe7 = document.documentElement.clientWidth;
		myHeighte7 = document.documentElement.clientHeight;
	  } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
		//IE 7 compatible
		myWidthe7 = document.body.clientWidth;
		myHeighte7 = document.body.clientHeight;
	  }
	  myHeighte7 = (myHeighte7 - 660) / 2;
	  return document.getElementById('subpanel_col7').style.height=myHeighte7+"px";
	  //return myHeight;
	}
	
	function alertSize_e8() {
	  var myWidthe8 = 0, myHeighte8 = 0;
	  if( typeof( window.innerWidth ) == 'number' ) {
		//Non-IE
		myWidthe8 = window.innerWidth;
		myHeighte8 = window.innerHeight;
	  } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
		//IE 8+ in 'standards compliant mode'
		myWidthe8 = document.documentElement.clientWidth;
		myHeighte8 = document.documentElement.clientHeight;
	  } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
		//IE 8 compatible
		myWidthe8 = document.body.clientWidth;
		myHeighte8 = document.body.clientHeight;
	  }
	  myHeighte8 = (myHeighte8 - 660) / 2;
	  return document.getElementById('subpanel_col8').style.height=myHeighte8+"px";
	  //return myHeight;
	}
	
	function alertSize_e9() {
	  var myWidthe9 = 0, myHeighte9 = 0;
	  if( typeof( window.innerWidth ) == 'number' ) {
		//Non-IE
		myWidthe9 = window.innerWidth;
		myHeighte9 = window.innerHeight;
	  } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
		//IE 9+ in 'standards compliant mode'
		myWidthe9 = document.documentElement.clientWidth;
		myHeighte9 = document.documentElement.clientHeight;
	  } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
		//IE 9 compatible
		myWidthe9 = document.body.clientWidth;
		myHeighte9 = document.body.clientHeight;
	  }
	  myHeighte9 = (myHeighte9 - 660) / 2;
	  return document.getElementById('subpanel_col9').style.height=myHeighte9+"px";
	  //return myHeight;
	}						
	
	/*function alertSize6s() {
	  var myWidth6s = 0, myHeight6s = 0;
	  if( typeof( window.innerWidth ) == 'number' ) {
		//Non-IE
		myWidth6s = window.innerWidth;
		myHeight6s = window.innerHeight;
	  } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
		//IE 6+ in 'standards compliant mode'
		myWidth6s = document.documentElement.clientWidth;
		myHeight6s = document.documentElement.clientHeight;
	  } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
		//IE 4 compatible
		myWidth6s = document.body.clientWidth;
		myHeight6s = document.body.clientHeight;
	  }
	  myHeight6s = (myHeight6s - 660) / 2;
	  return document.getElementById('subpanel_col1s').style.height=myHeight6s+"px";
	  //return myHeight;
	}	
	function alertSize7() {
	  var myWidth7 = 0, myHeight7 = 0;
	  if( typeof( window.innerWidth ) == 'number' ) {
		//Non-IE
		myWidth7 = window.innerWidth;
		myHeight7 = window.innerHeight;
	  } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
		//IE 6+ in 'standards compliant mode'
		myWidth7 = document.documentElement.clientWidth;
		myHeight7 = document.documentElement.clientHeight;
	  } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
		//IE 4 compatible
		myWidth7 = document.body.clientWidth;
		myHeight7 = document.body.clientHeight;
	  }
	  myHeight7 = (myHeight7 - 660) / 2;
	  return document.getElementById('subpanel_col_ant').style.height=myHeight7+"px";
	  //return myHeight;
	}*/
	
	function ocultar(){
		document.getElementById('panel2').style.display='none';
		document.getElementById('panel3').style.display='none';
		document.getElementById('panel4').style.display='none';
		document.getElementById('panel5').style.display='none';
		document.getElementById('content').style.visibility='hidden';
		document.getElementById('content2').style.display='none';
		document.getElementById('content3').style.display='none';
		document.getElementById('content4').style.display='none';
		}
		
	function visibiluty(){
			document.getElementById('content').style.visibility='visible';
			}
