PT = {
				inicio : function() {
					if($(".ycodaslider").length > 0) {
						$(".ycodaslider").ycodaslider({scroll:true});
					}
				},
				abrir : function() {
					$("a.externa").click(function() {
						var w = window.open(this.href,'Nueva','');
						return false;
					});
				},
				formulario : function() {
					$("input, textarea").focus(function() {
						$(this).select();
					});
				}
}

$(document).ready(PT.inicio);
$(document).ready(PT.abrir);
$(document).ready(PT.formulario);

