var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4072417&docid=71510496&x=5959',
		'title': '',
		'imageId': '71510496',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072417&docid=71510495&x=5959',
		'title': '',
		'imageId': '71510495',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072417&docid=71510502&x=5959',
		'title': '',
		'imageId': '71510502',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072417&docid=71510497&x=5959',
		'title': '',
		'imageId': '71510497',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072417&docid=71510500&x=5959',
		'title': '',
		'imageId': '71510500',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072417&docid=71510498&x=5959',
		'title': '',
		'imageId': '71510498',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4072417&docid=71510501&x=5959',
		'title': '',
		'imageId': '71510501',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4072417';

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