function PhotoViewerWindow(itemId) {
	var image = JSON.parse(itemId);

	var self = Ti.UI.createWindow({
		backgroundColor: '#000',
		navBarHidden: false //hack - setting this property ensures the window is "heavyweight" (associated with an Android activity)
	});

	var header = Ti.UI.createView({
		backgroundColor: '#c13100',
		zIndex: 10,
		top: 0,
		width: Ti.UI.FILL,
		height: 50
	});

	header.add(Ti.UI.createLabel({
		text: image.title,
		color: '#fff',   // No left so it is centered (tip)
		font:{
			fontSize: '18sp',
			fontWeight: 'bold'
		}
	}));

	var btnBack = Ti.UI.createImageView({
		image: 'back.png',
		left: 3
	});
	header.add(btnBack);

	if (!Ti.Android) {
		var btnSave = Ti.UI.createImageView({
			image: 'save.png',
			right: 3
		});
		header.add(btnSave);

		btnSave.addEventListener('click', function() {
			Titanium.Media.saveToPhotoGallery(photoView.toBlob());

			Titanium.UI.createAlertDialog({
				title: 'Photo Gallery',
				message: 'This photo has been added to your photo gallery'
			}).show();
		});
	}

	self.add(header);

	var photoView = Ti.UI.createImageView({
		width: '100%',
		height: '100%',
		image: image.url_n
	});

	self.add(photoView);

	btnBack.addEventListener('click', function() {
		self.close();
	});

	return self;
}

module.exports = PhotoViewerWindow;
@@ -830,22 +830,16 @@
  %7B%0A%09%09%09Ti
-tanium
 .Media.s
@@ -887,14 +887,8 @@
 %09%09Ti
-tanium
 .UI.

Replaces titanium by shorter alias