window.status=":: SAN JULIAN.GOV.AR | Web Site Oficial ::";
// Abre POPUP
function openWin(pag,ancho,alto,scrole) {
var hor
var ver
var ubix
var ubiy
ubix=ancho/2
ubiy=alto/2
hor= screen.width/2-ubix; // mitad de la medida de la ventana que se abre
ver= screen.height/2-ubiy;
	window.open(pag, "mpa", "left="+hor+",top="+ver+",toolbar=0,location=0,directories=0,status=0,menubar=no,scrollbars="+scrole+",resizable=no,width="+ancho+",height="+alto);
}
// Bloqueo de BOTON DERECHO
function noRightClick() {
	if (event.button==2)	{
		alert("COPYRIGHT 2007 - Todos los Derechos quedan Reservados\n\tMunicipalidad de Puerto San Julián")
	}
}

// Foto del Pop UP 
function foto_gallery00() {
	esta= String(location);
	name0 = esta.split("?")[1]; 
	document.fotografia.src="images/fotos/"+name0;
}
function loading_img(idimg) {
 	document.getElementById(idimg).style.visibility="hidden";
}
// onclick="openWin('pag_fotos.html?pic_contrata01.jpg','400','300','no');"

// Consola de estilos
var fsize= '13';  // tamaño inicial
function restoreAll_txt(campotxt) { // Descartar todas las modificaciones
	fsize= '13'; //tamaño inicial
	document.getElementById(campotxt).style.font= fsize +"px Verdana,Tahoma, Arial, Geneva, Helvetica, sans-serif";
	document.getElementById(campotxt).style.color= '#000';
}
function zoomIn_txt(campotxt) { // Agrandar tipografia
	if (fsize < 17) {
		fsize++;
		document.getElementById(campotxt).style.font= fsize +"px Verdana,Tahoma, Arial, Geneva, Helvetica, sans-serif";
	}
}
function zoomOut_txt(campotxt) {  // Achicar tipografia
	if (fsize > 10) {
		fsize--;
		document.getElementById(campotxt).style.font= fsize +"px Verdana,Tahoma, Arial, Geneva, Helvetica, sans-serif";
	}
}
function colorRed_txt(campotxt) { // Color Rojo
	document.getElementById(campotxt).style.color= '#990033';
}
function colorBlue_txt(campotxt) { // Color Azul
	document.getElementById(campotxt).style.color= '#003399';
}
function colorBlack_txt(campotxt) {  // Color Negro
	document.getElementById(campotxt).style.color= '#000';
}
function imprimir_txt(campotxt) { // Imprimiendo
 	window.print();
}

// Cerrar popup DIV Ej. mensaje enviado correctamente
function popup_cerrar() {
  document.getElementById('popup_msn1').style.display='none';
  document.getElementById('popup_msn2').style.display='none';
}
function refresca(redir){
	window.location=redir;
}