﻿$(document).ready(function() {


	$('body.our-showroom #showroom').flash({
		src: '/_swf/showroom.swf',
		width: 596,
		height: 398,
		wmode: 'transparent',
		allowFullScreen: 'true',
		flashvars: { xmlfile: '/_xml/showroom.xml', allowFullScreen: 'true', startAlbumID: 'showroom' }
	});

	$('body.home-theatre-room #showroom').flash({
		src: '/_swf/showroom.swf',
		width: 596,
		height: 398,
		wmode: 'transparent',
		allowFullScreen: 'true',
		flashvars: { xmlfile: '/_xml/showroom.xml', allowFullScreen: 'true', startAlbumID: 'album-1' }
	});

	$('body.family-room #showroom').flash({
		src: '/_swf/showroom.swf',
		width: 596,
		height: 398,
		wmode: 'transparent',
		allowFullScreen: 'true',
		flashvars: { xmlfile: '/_xml/showroom.xml', allowFullScreen: 'true', startAlbumID: 'album-2' }
	});

	$('body.lounge-in-wall-cinema #showroom').flash({
		src: '/_swf/showroom.swf',
		width: 596,
		height: 398,
		wmode: 'transparent',
		allowFullScreen: 'true',
		flashvars: { xmlfile: '/_xml/showroom.xml', allowFullScreen: 'true', startAlbumID: 'album-3' }
	});

	$('body.lounge-on-wall-cinema #showroom').flash({
		src: '/_swf/showroom.swf',
		width: 596,
		height: 398,
		wmode: 'transparent',
		allowFullScreen: 'true',
		flashvars: { xmlfile: '/_xml/showroom.xml', allowFullScreen: 'true', startAlbumID: 'album-4' }
	});

	$('body.bathroom #showroom').flash({
		src: '/_swf/showroom.swf',
		width: 596,
		height: 398,
		wmode: 'transparent',
		allowFullScreen: 'true',
		flashvars: { xmlfile: '/_xml/showroom.xml', allowFullScreen: 'true', startAlbumID: 'album-5' }
	});

	$('body.master-bedroom #showroom').flash({
		src: '/_swf/showroom.swf',
		width: 596,
		height: 398,
		wmode: 'transparent',
		allowFullScreen: 'true',
		flashvars: { xmlfile: '/_xml/showroom.xml', allowFullScreen: 'true', startAlbumID: 'album-6' }
	});

	$('body.childs-bedroom #showroom').flash({
		src: '/_swf/showroom.swf',
		width: 596,
		height: 398,
		wmode: 'transparent',
		allowFullScreen: 'true',
		flashvars: { xmlfile: '/_xml/showroom.xml', allowFullScreen: 'true', startAlbumID: 'album-7' }
	});

	$('body.moving-wall #showroom').flash({
		src: '/_swf/showroom.swf',
		width: 596,
		height: 398,
		wmode: 'transparent',
		allowFullScreen: 'true',
		flashvars: { xmlfile: '/_xml/showroom.xml', allowFullScreen: 'true', startAlbumID: 'album-8' }
	});

	$('body.garden-area #showroom').flash({
		src: '/_swf/showroom.swf',
		width: 596,
		height: 398,
		wmode: 'transparent',
		allowFullScreen: 'true',
		flashvars: { xmlfile: '/_xml/showroom.xml', allowFullScreen: 'true', startAlbumID: 'album-9' }
	});

	$('body.kitchen #showroom').flash({
		src: '/_swf/showroom.swf',
		width: 596,
		height: 398,
		wmode: 'transparent',
		allowFullScreen: 'true',
		flashvars: { xmlfile: '/_xml/showroom.xml', allowFullScreen: 'true', startAlbumID: 'album-10' }
	});

	$('body.boardroom #showroom').flash({
		src: '/_swf/showroom.swf',
		width: 596,
		height: 398,
		wmode: 'transparent',
		allowFullScreen: 'true',
		flashvars: { xmlfile: '/_xml/showroom.xml', allowFullScreen: 'true', startAlbumID: 'album-11' }
	});

	$('body.dining-room #showroom').flash({
		src: '/_swf/showroom.swf',
		width: 596,
		height: 398,
		wmode: 'transparent',
		allowFullScreen: 'true',
		flashvars: { xmlfile: '/_xml/showroom.xml', allowFullScreen: 'true', startAlbumID: 'album-12' }
	});

	$('body.reception-hall #showroom').flash({
		src: '/_swf/showroom.swf',
		width: 596,
		height: 398,
		wmode: 'transparent',
		allowFullScreen: 'true',
		flashvars: { xmlfile: '/_xml/showroom.xml', allowFullScreen: 'true', startAlbumID: 'album-13' }
	});

	$('body.ipod-systems #showroom').flash({
		src: '/_swf/showroom.swf',
		width: 596,
		height: 398,
		wmode: 'transparent',
		allowFullScreen: 'true',
		flashvars: { xmlfile: '/_xml/showroom.xml', allowFullScreen: 'true', startAlbumID: 'album-14' }
	});

	$('body.body #showroom').flash({
		src: '/_swf/showroom.swf',
		width: 596,
		height: 398,
		wmode: 'transparent',
		allowFullScreen: 'true',
		flashvars: { xmlfile: '/_xml/showroom.xml', allowFullScreen: 'true', startAlbumID: 'album-15' }
	});

	$('#home-theatre').flash({
		src: '/_swf/showroom.swf',
		width: 596,
		height: 398,
		wmode: 'transparent',
		allowFullScreen: 'true',
		flashvars: { xmlfile: '/_xml/home_theatre.xml', allowFullScreen: 'true' }
	});

	$('#contact').flash({
		src: '/_swf/showroom.swf',
		width: 596,
		height: 398,
		wmode: 'transparent',
		allowFullScreen: 'true',
		flashvars: { xmlfile: '/_xml/contact.xml', allowFullScreen: 'true' }
	});

	$('#news').flash({
		src: '/_swf/news.swf',
		width: 596,
		height: 398,
		wmode: 'transparent',
		loop: true,
		flashvars: { loop: 'true' }
	});

	$('#architects').flash({
		src: '/_swf/architects.swf',
		width: 596,
		height: 398,
		wmode: 'transparent',
		loop: true,
		flashvars: { loop: 'true' }
	});

	$('#builders_and_architects').flash({
		src: '/_swf/builders_and_architects.swf',
		width: 596,
		height: 398,
		wmode: 'transparent',
		loop: true,
		flashvars: { loop: 'true' }
	});

	$('#case_study_001').flash({
		src: '/_swf/showroom.swf',
		width: 596,
		height: 398,
		wmode: 'transparent',
		allowFullScreen: 'true',
		flashvars: { xmlfile: '/_xml/exclusive-water-front-property.xml', allowFullScreen: 'true' }
	});

	$('#case_study_002').flash({
		src: '/_swf/showroom.swf',
		width: 596,
		height: 398,
		wmode: 'transparent',
		allowFullScreen: 'true',
		flashvars: { xmlfile: '/_xml/executive-home.xml', allowFullScreen: 'true' }
	});

	$('#case_study_003').flash({
		src: '/_swf/showroom.swf',
		width: 596,
		height: 398,
		wmode: 'transparent',
		allowFullScreen: 'true',
		flashvars: { xmlfile: '/_xml/classic-victorian-splender.xml', allowFullScreen: 'true' }
	});

	$('#case_study_004').flash({
		src: '/_swf/showroom.swf',
		width: 596,
		height: 398,
		wmode: 'transparent',
		allowFullScreen: 'true',
		flashvars: { xmlfile: '/_xml/beautiful-yorkshire-home.xml', allowFullScreen: 'true' }
	});

	$('#case_study_005').flash({
		src: '/_swf/showroom.swf',
		width: 596,
		height: 398,
		wmode: 'transparent',
		allowFullScreen: 'true',
		flashvars: { xmlfile: '/_xml/spectacular-country-residence.xml', allowFullScreen: 'true' }
	});

	$('#case_study_006').flash({
		src: '/_swf/showroom.swf',
		width: 596,
		height: 398,
		wmode: 'transparent',
		allowFullScreen: 'true',
		flashvars: { xmlfile: '/_xml/prestigious-penthouse-apartment.xml', allowFullScreen: 'true' }
	});

	$('#case_study_007').flash({
		src: '/_swf/showroom.swf',
		width: 596,
		height: 398,
		wmode: 'transparent',
		allowFullScreen: 'true',
		flashvars: { xmlfile: '/_xml/exclusive-birmingham-property.xml', allowFullScreen: 'true' }
	});

	$('div.fitted').fitted();
	
	$('#header,#sidebar,#content,#footer,img').pngFix();
}); 
