var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4075480&docid=71594377&x=822',
		'title': '',
		'imageId': '71594377',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075480&docid=71594385&x=822',
		'title': '',
		'imageId': '71594385',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075480&docid=71594380&x=822',
		'title': '',
		'imageId': '71594380',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075480&docid=71594384&x=822',
		'title': '',
		'imageId': '71594384',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075480&docid=71594387&x=822',
		'title': '',
		'imageId': '71594387',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075480&docid=71594378&x=822',
		'title': '',
		'imageId': '71594378',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075480&docid=71594379&x=822',
		'title': '',
		'imageId': '71594379',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075480&docid=71594381&x=822',
		'title': '',
		'imageId': '71594381',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075480&docid=71594382&x=822',
		'title': '',
		'imageId': '71594382',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075480&docid=71594386&x=822',
		'title': '',
		'imageId': '71594386',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075480&docid=71594383&x=822',
		'title': '',
		'imageId': '71594383',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4075480';

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";
	})
}
