var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3923745&docid=67893442&x=376',
		'title': '',
		'imageId': '67893442',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923745&docid=67893443&x=376',
		'title': '',
		'imageId': '67893443',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923745&docid=67893449&x=376',
		'title': '',
		'imageId': '67893449',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923745&docid=67893450&x=376',
		'title': '',
		'imageId': '67893450',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923745&docid=67893444&x=376',
		'title': '',
		'imageId': '67893444',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923745&docid=67893445&x=376',
		'title': '',
		'imageId': '67893445',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923745&docid=67893451&x=376',
		'title': '',
		'imageId': '67893451',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923745&docid=67893448&x=376',
		'title': '',
		'imageId': '67893448',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923745&docid=67893447&x=376',
		'title': '',
		'imageId': '67893447',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923745&docid=67893446&x=376',
		'title': '',
		'imageId': '67893446',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923745&docid=67893441&x=376',
		'title': '',
		'imageId': '67893441',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3923745';

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