var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3909811&docid=66703788&x=2716',
		'title': '',
		'imageId': '66703788',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909811&docid=66703782&x=2716',
		'title': '',
		'imageId': '66703782',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909811&docid=66703785&x=2716',
		'title': '',
		'imageId': '66703785',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909811&docid=66703786&x=2716',
		'title': '',
		'imageId': '66703786',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909811&docid=66703787&x=2716',
		'title': '',
		'imageId': '66703787',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909811&docid=66703783&x=2716',
		'title': '',
		'imageId': '66703783',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909811&docid=66703784&x=2716',
		'title': '',
		'imageId': '66703784',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3909811';

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