var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4089875&docid=71938321&x=336',
		'title': '',
		'imageId': '71938321',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089875&docid=71938328&x=336',
		'title': '',
		'imageId': '71938328',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089875&docid=71938325&x=336',
		'title': '',
		'imageId': '71938325',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089875&docid=71938326&x=336',
		'title': '',
		'imageId': '71938326',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089875&docid=71938329&x=336',
		'title': '',
		'imageId': '71938329',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089875&docid=71938322&x=336',
		'title': '',
		'imageId': '71938322',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089875&docid=71938331&x=336',
		'title': '',
		'imageId': '71938331',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089875&docid=71938327&x=336',
		'title': '',
		'imageId': '71938327',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089875&docid=71938323&x=336',
		'title': '',
		'imageId': '71938323',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089875&docid=71938324&x=336',
		'title': '',
		'imageId': '71938324',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089875&docid=71938330&x=336',
		'title': '',
		'imageId': '71938330',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4089875';

document.body.style.overflow = "hidden";
var closeElement = document.querySelector("#lightbox #close");
var closeLoadingElement = document.querySelector("#lightbox #closeLoading");

if (closeElement) {
	closeElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}

if (closeLoadingElement) {
	closeLoadingElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}
