var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4010338&docid=69967711&x=4441',
		'title': '',
		'imageId': '69967711',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010338&docid=69967710&x=4441',
		'title': '',
		'imageId': '69967710',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010338&docid=69967714&x=4441',
		'title': '',
		'imageId': '69967714',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010338&docid=69967706&x=4441',
		'title': '',
		'imageId': '69967706',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010338&docid=69967707&x=4441',
		'title': '',
		'imageId': '69967707',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010338&docid=69967701&x=4441',
		'title': '',
		'imageId': '69967701',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010338&docid=69967704&x=4441',
		'title': '',
		'imageId': '69967704',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010338&docid=69967716&x=4441',
		'title': '',
		'imageId': '69967716',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010338&docid=69967717&x=4441',
		'title': '',
		'imageId': '69967717',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010338&docid=69967703&x=4441',
		'title': '',
		'imageId': '69967703',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4010338';

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