var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4074620&docid=71564817&x=5521',
		'title': '',
		'imageId': '71564817',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4074620&docid=71564818&x=5521',
		'title': '',
		'imageId': '71564818',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4074620&docid=71564819&x=5521',
		'title': '',
		'imageId': '71564819',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4074620&docid=71564820&x=5521',
		'title': '',
		'imageId': '71564820',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4074620&docid=71564821&x=5521',
		'title': '',
		'imageId': '71564821',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4074620&docid=71564822&x=5521',
		'title': '',
		'imageId': '71564822',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4074620&docid=71564823&x=5521',
		'title': '',
		'imageId': '71564823',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4074620';

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