var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3992869&docid=53202611&x=1827',
		'title': '',
		'imageId': '53202611',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992869&docid=53202613&x=1827',
		'title': '',
		'imageId': '53202613',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992869&docid=53202614&x=1827',
		'title': '',
		'imageId': '53202614',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992869&docid=53202610&x=1827',
		'title': '',
		'imageId': '53202610',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992869&docid=53202609&x=1827',
		'title': '',
		'imageId': '53202609',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992869&docid=53202618&x=1827',
		'title': '',
		'imageId': '53202618',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992869&docid=53202612&x=1827',
		'title': '',
		'imageId': '53202612',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992869&docid=53202616&x=1827',
		'title': '',
		'imageId': '53202616',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992869&docid=53202617&x=1827',
		'title': '',
		'imageId': '53202617',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992869&docid=53202619&x=1827',
		'title': '',
		'imageId': '53202619',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992869&docid=53202615&x=1827',
		'title': '',
		'imageId': '53202615',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3992869';

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