
$(function(){$('#zoom').html('<dl><dt class="flota">Aumente o disminuya el tamaño del texto</dt><dd><ul><li><a href="#" id="menor" title="Disminuye el tamaño del texto" accesskey="6" class="zoom round"><img src="http://imagenes.minplan.gov.ar/www.minplan.gov.ar/minplan_flex/layout/reduce_size.png" alt="Disminuye el tamaño del texto" /></a></li><li><a href="#" id="igual" title="Vuelve el tamaño del texto al estado original" accesskey="7" class="round"><img src="http://imagenes.minplan.gov.ar/www.minplan.gov.ar/minplan_flex/layout/reset_size.png" alt="Vuelve el tamaño del texto al estado original" /></a></li><li><a href="#" id="mayor" title="Aumenta el tamaño del texto" accesskey="8" class="round"><img src="http://imagenes.minplan.gov.ar/www.minplan.gov.ar/minplan_flex/layout/zoom_size.png" alt="Aumenta el tamaño del texto" /></a></li></ul></dd></dl>')
$('#mayor').click(function(){actualizaTamanyo('mas');return false;})
$('#menor').click(function(){actualizaTamanyo('menos');return false;})
$('#igual').click(function(){actualizaTamanyo('reset');return false;})
function actualizaTamanyo(que){if(que=='mas'){switch(document.getElementById('contenido').className){case'disminuir_3':document.getElementById('contenido').className='disminuir_2';break;case'disminuir_2':document.getElementById('contenido').className='disminuir_1';break;case'disminuir_1':document.getElementById('contenido').className='normal';break;case'normal':document.getElementById('contenido').className='aumentar_1';break;case'aumentar_1':document.getElementById('contenido').className='aumentar_2';break;case'aumentar_2':document.getElementById('contenido').className='aumentar_3';break;}}
else{switch(document.getElementById('contenido').className){case'disminuir_2':document.getElementById('contenido').className='disminuir_3';break;case'disminuir_1':document.getElementById('contenido').className='disminuir_2';break;case'normal':document.getElementById('contenido').className='disminuir_1';break;case'aumentar_1':document.getElementById('contenido').className='normal';break;case'aumentar_2':document.getElementById('contenido').className='aumentar_1';break;case'aumentar_3':document.getElementById('contenido').className='aumentar_2';break;}}
if(que=='reset'){document.getElementById('contenido').className='normal';}}})
function getShadow(estilo,propiedad){if(propiedad){}
return $(estilo).css({'text-shadow':''});}
function getOpacity(value,opacidad){if(opacidad){valOpacidad=opacidad;}else{valOpacidad=100;}
return $(value).css({'opacity':+valOpacidad,'-ms-filter':'"progid:DXImageTransform.Microsoft.Alpha(Opacity='+(valOpacidad*100)+')"','filter':'alpha(opacity='+(valOpacidad*100)+')'});}
function getSelectedRound(value,radio,tr,bl,br){var unidad='px';if(value){if(radio&&tr&&bl&&br){if(radio==1){var radio=0;}
if(tr==1){var tr=0;}
if(bl==1){var bl=0;}
if(br==1){var br=0;}
var topLeft=radio;var topRight=tr;var bottomLeft=bl;var bottomRight=br;}else{var topLeft=radio;var topRight=radio;var bottomLeft=radio;var bottomRight=radio;}
return $(value).css({'-html-border-radius-topleft':+topLeft+unidad,'-moz-border-radius-topleft':+topLeft+unidad,'-webkit-border-top-left-radius':+topLeft+unidad,'border-top-left-radius':+topLeft+unidad,'-html-border-radius-topright':+topRight+unidad,'-moz-border-radius-topright':+topRight+unidad,'-webkit-border-top-right-radius':+topRight+unidad,'border-top-right-radius':+topRight+unidad,'-html-border-radius-bottomleft':+bottomLeft+unidad,'-moz-border-radius-bottomleft':+bottomLeft+unidad,'-webkit-border-bottom-left-radius':+bottomLeft+unidad,'border-bottom-left-radius':+bottomLeft+unidad,'-html-border-radius-bottomright':+bottomRight+unidad,'-moz-border-radius-bottomright':+bottomRight+unidad,'-webkit-border-bottom-right-radius':+bottomRight+unidad,'border-bottom-right-radius':+bottomRight+unidad});}else{return null;}}
$(document).ready(function(){getSelectedRound('.roundTree',2);getSelectedRound('.round',4);getSelectedRound('.round_3',3);getSelectedRound('.round_8',8);getSelectedRound('.roundTwo',4,4,1,1);});$(document).ready(function(){getSelectedRound('.bookmark li a',3);getSelectedRound('a:focus',6);});$(function(){$('#expandeMenu').click(function(){$('.submenu').show();return false})});$(document).ready(function(){$('.clearValue').click(function(){if(this.value==this.defaultValue){this.value='';}});$('.clearValue').blur(function(){if(this.value==''){this.value=this.defaultValue;}});});$(document).ready(function(){$('.newWindow').click(function(){window.open($(this).attr('href'));return false;})});$(document).ready(function(){$('#visor').click(function(){if($('.positionTwo').html()==null){$('#visor').text('Reducir');$('#videoVisor').addClass('positionTwo');$('#videoList, #videoInfo').addClass('positionOne');}else{$('#videoVisor').removeClass('positionTwo');$('#videoList, #videoInfo').removeClass('positionOne');$('#visor').text('Ampliar tamaño');}
return false;});});$(document).ready(function(){$('#slides').addClass('pics');$('#slides').removeClass('picsNoJs');if($.browser.msie&&$.browser.version<=8){}else{$('#slideshow').removeClass('overflow');}});$(document).ready(function(){var showText='Ampliar';var hideText='Ocultar';$('.faq dd').prev().append(' (<a href="#" class="toggleLink">'+showText+'</a>)');$('.faq dd').hide();$('a.toggleLink').click(function(){$(this).html($(this).html()==hideText?showText:hideText);;$(this).parent().next('.faq dd').slideToggle("normal");return false;});});$(function(){var tabindex=1;$('a, input, select').each(function(){if(this.type!="hidden"){var $input=$(this);$input.attr("tabindex",tabindex);tabindex++;}});});if(window.location.href.indexOf('consultas/logueo.php')>-1){document.write('<script type="text/javascript" src="../../../js/encrypt/BigInt.js"><\/script>');document.write('<script type="text/javascript" src="../../../js/encrypt/Barrett.js"><\/script>');document.write('<script type="text/javascript" src="../../../js/encrypt/RSA.js"><\/script>');var key;$(document).ready(function(){setMaxDigits(131);key=new RSAKeyPair("3","","93463155b48cc91bbfcc470a7fb5e80cf6b99696b491c7b826195eda1905012be4815442701ee9d387ea16f08a4dc4d4d311077c9e813cb14d0990e860d9bead54ccda93f24b64361196bd631c03ef761cbdfc70373b01e7292327a335289431afd815fe865b8441266d0d1fae69a6cab7b608e15adeb34716cc72f95848502f");})}
function cmdEncryptClick(){document.getElementById('passEncrypted').value="";document.getElementById('passEncrypted').value=encryptedString(key,document.getElementById('clave').value);document.getElementById('isJavascriptActivate').value=1;return true;}
$(document).ready(function(){$('.AriaExpand').attr("aria-expanded","false");$('.submenu:visible').parent().attr("aria-expanded","true");$('#menuArbol').attr({'aria-activedescendant':'tree_id','tabindex':'-1','role':'tree','aria-labelledby':'treelabel'})
$('#menuArbol li').attr("role","treeitem");$('#menuArbol ul').attr("role","group");$('.glossymenu:first').attr('role','navigation');});