// JavaScript Document
function cargaInicio(){
	//estadisticas
	var file='./scanVte.asp';
	var d=new Date(); 
	var s=d.getSeconds();  
	var m=d.getMinutes();
	var x=s*m;
	r= escape(document.referrer);
	if (navigator.appName=='Netscape'){b='NS';} 
	if (navigator.appName=='Microsoft Internet Explorer'){b='MSIE';} 
	if (navigator.appVersion.indexOf('MSIE 3')>0) {b='MSIE';}
	u='' + escape(document.URL); w=screen.width; h=screen.height; 
	v=navigator.appName; 
	fs = window.screen.fontSmoothingEnabled;
	if (v != 'Netscape') {c=screen.colorDepth;}
	else {c=screen.pixelDepth;}
	j=navigator.javaEnabled();
	info='w=' + w + '&h=' + h + '&c=' + c + '&r=' + r + '&u='+ u + '&fs=' + fs + '&b=' + b + '&x=' + x+ '&pag=1&idpa='+0;
	
	$("#paProcesos").attr("src",file+"?"+info);
}

$(document).ready(function() {
	montarSelect();
	cargaInicio();
	ajustaAlto();
});

function ajustaAlto() {
	altoLeft=parseInt($("div.leftcontent").height(),10);
	altoRight=parseInt($("div.rightcontent").height(),10);
	if (altoLeft>altoRight) {
//		$("div.rightcontent").height(altoLeft);
		$("div.rightcontent").css(($.browser.msie && $.browser.version < 7 ? '' : 'min-') + 'height', altoLeft + 'px')
	}
}
