var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4072610&docid=71514723&x=3756',
		'title': '',
		'imageId': '71514723',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072610&docid=71514725&x=3756',
		'title': '',
		'imageId': '71514725',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072610&docid=71548284&x=3756',
		'title': '',
		'imageId': '71548284',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072610&docid=71514724&x=3756',
		'title': '',
		'imageId': '71514724',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072610&docid=71548281&x=3756',
		'title': '',
		'imageId': '71548281',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072610&docid=71548282&x=3756',
		'title': '',
		'imageId': '71548282',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072610&docid=71556089&x=3756',
		'title': '',
		'imageId': '71556089',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072610&docid=71548283&x=3756',
		'title': '',
		'imageId': '71548283',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4072610';

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