// JavaScript Document
		$(document).ready(
			function(){
				$(document).pngFix();
				
				if( $("#map").size() > 0 )
				{
					ini(htmlG, xG, yG);
				}
				
				$("a.frame2").click(function() {
					$.fancybox({
							'ocuVid'        : false,
							'padding'		: 0,
							'autoScale'		: false,
							'transitionIn'	: 'none',
							'transitionOut'	: 'none',
							'title'			: this.title,
							'href'			: this.href.replace(new RegExp("watch\\?v=", "i"), 'v/'),
							'type'			: 'swf',
							'swf'			: { 'wmode':'transparent', 'allowfullscreen':'true' }
					});
					
					return false;
				});
				
				
				$(".frame").fancybox({
					'titlePosition'		: 'inside',
					'transitionIn'		: 'none',
					'transitionOut'		: 'none',
					'ocuVid'            : true
				});
				
				$(".obligado").each( 
					function(index)
					{
						$(this).append( "<sup class='campoobligado'>*</sup>" );
					}
				);
				
				var midate = new Date();
		
				var dates = $("#FechaLlamada").datepicker({
					dateFormat: 'dd-mm-yy',
					firstDay: 1,
					minDate:midate
				});


			}
		);

