$(document).ready(function() {

	if($(".popup")){
	  $(".popup").fancybox({
			'overlayShow':	true,
			'overlayOpacity':0.5,
			'zoomSpeedIn':	300, 
			'zoomSpeedOut':	0
	  });
	}

	$(".popup2").fancybox({
		'overlayShow':	true,
		'overlayOpacity':0.5,
		'zoomSpeedIn':	0, 
		'zoomSpeedOut':	0,
		'frameWidth': 640,
		'frameHeight': 600,
	});


	$('.stnd').blur(function() {
		if($(this).val()==''){
			$(this).val($(this).attr('alt'));
		}
	});
	$('.stnd').focus(function() {
		if($(this).val()==$(this).attr('alt')){
			$(this).val('');
		}
	});
	$('.stnd').each(function(){
		if($(this).val()==''){
			$(this).val($(this).attr('alt'));
		}
	});
	

});
