var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4074798&docid=71570743&x=2315',
		'title': '',
		'imageId': '71570743',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4074798&docid=71570742&x=2315',
		'title': '',
		'imageId': '71570742',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4074798&docid=71570748&x=2315',
		'title': '',
		'imageId': '71570748',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4074798&docid=71570750&x=2315',
		'title': '',
		'imageId': '71570750',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4074798&docid=71570749&x=2315',
		'title': '',
		'imageId': '71570749',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4074798&docid=71570751&x=2315',
		'title': '',
		'imageId': '71570751',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4074798&docid=71570752&x=2315',
		'title': '',
		'imageId': '71570752',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4074798';

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