$(document).ready(function(){

$('input[type=text]').each(function() {
			var default_value = this.value;
			$(this).focus(function() {
				if(this.value == default_value) {
					this.value = '';
				}
			});
			$(this).blur(function() {
				if(this.value == '') {
					this.value = default_value;
				}
			});
		});

$('input[type=password]').each(function() {
			var default_value = this.value;
			$(this).focus(function() {
				if(this.value == default_value) {
					this.value = '';
				}
			});
			$(this).blur(function() {
				if(this.value == '') {
					this.value = default_value;
				}
			});
		});

$('textarea').each(function() {
			var default_value = this.value;
			$(this).focus(function() {
				if(this.value == default_value) {
					this.value = '';
				}
			});
			$(this).blur(function() {
				if(this.value == '') {
					this.value = default_value;
				}
			});
		});

var c = 1;
$('.nav a').each(function(){
	$(this).addClass('nav-'+c);
	c++; 
});		

$(".nav-2").fancybox({
	'overlayColor'		: '#000',
	'overlayOpacity'	: 0.9,
	//'modal'				: true,					
	'width'				: 918,
	'height'			: 595,
	'autoScale'			: false,
	'hideOnOverlayClick': false,
	'transitionIn'		: 'none',
	'transitionOut'		: 'none',
	'titleShow'			: false,
	'showCloseButton'	: false,
	'type'				: 'iframe',
		onStart		:	function() {
			$('#fancybox-content').addClass('loadingPop');
		}
});

$(".nav-3").fancybox({
	'overlayColor'		: '#000',
	'overlayOpacity'	: 0.9,
	//''modal'				: true,					
	'width'				: 965,
	'height'			: 705,
	'autoScale'			: false,
	'hideOnOverlayClick': false,
	'transitionIn'		: 'none',
	'transitionOut'		: 'none',
	'titleShow'			: false,
	'showCloseButton'	: false,
	'type'				: 'iframe',
		onStart		:	function() {
			$('#fancybox-content').addClass('loadingPop');
		}
}); 

$(".news-head").fancybox({
	'overlayColor'		: '#000',
	'overlayOpacity'	: 0.9,
	//''modal'				: true,					
	'width'				: 965,
	'height'			: 705,
	'autoScale'			: false,
	'hideOnOverlayClick': false,
	'transitionIn'		: 'none',
	'transitionOut'		: 'none',
	'titleShow'			: false,
	'showCloseButton'	: false,
	'type'				: 'iframe',
		onStart		:	function() {
			$('#fancybox-content').addClass('loadingPop');
		}
});  

$(".hbtn").fancybox({
	'overlayColor'		: '#000',
	'overlayOpacity'	: 0.9,
	//''modal'				: true,					
	'width'				: 960,
	'height'			: 690,
	'autoScale'			: false,
	'hideOnOverlayClick': false,
	'transitionIn'		: 'none',
	'transitionOut'		: 'none',
	'titleShow'			: false,
	'showCloseButton'	: false,
	'type'				: 'iframe',
		onStart		:	function() {
			$('#fancybox-content').addClass('loadingPop');
		}
}); 

$(".nav-5").fancybox({
	'overlayColor'		: '#000',
	'overlayOpacity'	: 0.9,
	//''modal'				: true,					
	'width'				: 960,
	'height'			: 690,
	'autoScale'			: false,
	'hideOnOverlayClick': false,
	'transitionIn'		: 'none',
	'transitionOut'		: 'none',
	'titleShow'			: false,
	'showCloseButton'	: false,
	'type'				: 'iframe',
		onStart		:	function() {
			$('#fancybox-content').addClass('loadingPop');
		}
});   

$(".nav-6").fancybox({
	'overlayColor'		: '#000',
	'overlayOpacity'	: 0.9,
	//''modal'				: true,					
	'width'				: 910,
	'height'			: 785,
	'autoScale'			: false,
	'hideOnOverlayClick': false,
	'transitionIn'		: 'none',
	'transitionOut'		: 'none',
	'titleShow'			: false,
	'showCloseButton'	: false,
	'type'				: 'iframe',
		onStart		:	function() {
			$('#fancybox-content').addClass('loadingPop');
		}
});  


$(".nav-4").fancybox({
	'overlayColor'		: '#000',
	'overlayOpacity'	: 0.9,
	//''modal'				: true,					
	'width'				: 1025,
	'height'			: 690,
	'autoScale'			: false,
	'hideOnOverlayClick': false,
	'transitionIn'		: 'none',
	'transitionOut'		: 'none',
	'titleShow'			: false,
	'showCloseButton'	: false,
	'type'				: 'iframe',
		onStart		:	function() {
			$('#fancybox-content').addClass('loadingPop');
		}
}); 
$(".btn-tour").fancybox({
	'overlayColor'		: '#000',
	'overlayOpacity'	: 0.9,
	//''modal'				: true,					
	'width'				: 1025,
	'height'			: 690,
	'autoScale'			: false,
	'hideOnOverlayClick': false,
	'transitionIn'		: 'none',
	'transitionOut'		: 'none',
	'titleShow'			: false,
	'showCloseButton'	: false,
	'type'				: 'iframe',
		onStart		:	function() {
			$('#fancybox-content').addClass('loadingPop');
		}
}); 
$(".nav-8").fancybox({
	'overlayColor'		: '#000',
	'overlayOpacity'	: 0.9,
	//''modal'				: true,					
	'width'				: 1000,
	'height'			: 670,
	'autoScale'			: false,
	'hideOnOverlayClick': false,
	'transitionIn'		: 'none',
	'transitionOut'		: 'none',
	'titleShow'			: false,
	'showCloseButton'	: false,
	'type'				: 'iframe',
		onStart		:	function() {
			$('#fancybox-content').addClass('loadingPop');
		}
})








});


$(window).load(function () {

});
