var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3910523&docid=67651972&x=359',
		'title': '',
		'imageId': '67651972',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910523&docid=67651981&x=359',
		'title': '',
		'imageId': '67651981',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910523&docid=67651977&x=359',
		'title': '',
		'imageId': '67651977',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910523&docid=67651971&x=359',
		'title': '',
		'imageId': '67651971',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910523&docid=67651982&x=359',
		'title': '',
		'imageId': '67651982',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910523&docid=67651974&x=359',
		'title': '',
		'imageId': '67651974',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910523&docid=67651978&x=359',
		'title': '',
		'imageId': '67651978',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910523&docid=67651976&x=359',
		'title': '',
		'imageId': '67651976',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910523&docid=67651983&x=359',
		'title': '',
		'imageId': '67651983',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910523&docid=67651980&x=359',
		'title': '',
		'imageId': '67651980',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910523&docid=67651979&x=359',
		'title': '',
		'imageId': '67651979',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3910523';

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