var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4073523&docid=71537813&x=3056',
		'title': '',
		'imageId': '71537813',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4073523&docid=71537814&x=3056',
		'title': '',
		'imageId': '71537814',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4073523&docid=71537815&x=3056',
		'title': '',
		'imageId': '71537815',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4073523&docid=71537816&x=3056',
		'title': '',
		'imageId': '71537816',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4073523&docid=71537817&x=3056',
		'title': '',
		'imageId': '71537817',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4073523&docid=71537818&x=3056',
		'title': '',
		'imageId': '71537818',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4073523&docid=71537819&x=3056',
		'title': '',
		'imageId': '71537819',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4073523&docid=71537820&x=3056',
		'title': '',
		'imageId': '71537820',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4073523&docid=71537821&x=3056',
		'title': '',
		'imageId': '71537821',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4073523&docid=71537822&x=3056',
		'title': '',
		'imageId': '71537822',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4073523&docid=71537823&x=3056',
		'title': '',
		'imageId': '71537823',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4073523';

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