$(function() {
	$("#pccomm").load(function() {
		openPccomm();
	});
	
	$("#swservices").load(function() {
		openSwservices();
	});
	
});

function openPccomm() {
	
	$.fancybox(
		[{ 'href'	: '/flash/Cover.swf' }],
		{
			'padding'					: 0,
			'transitionIn'				: 'none',
			'transitionOut'				: 'none',
			'type'						: 'swf',
			'width'						: 718,
			'height'					: 500,
			'changeFade'				: 0,
			'enableEscapeButton'	    : true,
			'overlayOpacity'			: 0.9,
			'overlayColor'				: '#000',
			'titlePosition'				: 'over'
		});
}

function openSwservices() {
	
	$.fancybox(
		[{ 'href'	: '/flash/Cover.swf' }],
		{
			'padding'					: 0,
			'transitionIn'				: 'none',
			'transitionOut'				: 'none',
			'type'						: 'swf',
			'width'						: 718,
			'height'					: 500,
			'changeFade'				: 0,
			'enableEscapeButton'	    : true,
			'overlayOpacity'			: 0.9,
			'overlayColor'				: '#000',
			'titlePosition'				: 'over'
		});
}

