var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3845729&docid=66053029&x=2612',
		'title': '',
		'imageId': '66053029',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3845729&docid=66052997&x=2612',
		'title': '',
		'imageId': '66052997',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3845729&docid=66053000&x=2612',
		'title': '',
		'imageId': '66053000',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3845729&docid=66053017&x=2612',
		'title': '',
		'imageId': '66053017',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3845729&docid=66053020&x=2612',
		'title': '',
		'imageId': '66053020',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3845729&docid=66053206&x=2612',
		'title': '',
		'imageId': '66053206',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3845729&docid=66053209&x=2612',
		'title': '',
		'imageId': '66053209',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3845729&docid=66053213&x=2612',
		'title': '',
		'imageId': '66053213',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3845729&docid=66053218&x=2612',
		'title': '',
		'imageId': '66053218',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3845729&docid=66053221&x=2612',
		'title': '',
		'imageId': '66053221',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3845729&docid=66053224&x=2612',
		'title': '',
		'imageId': '66053224',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3845729';

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