var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3962743&docid=68872247&x=5835',
		'title': '',
		'imageId': '68872247',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962743&docid=68872241&x=5835',
		'title': '',
		'imageId': '68872241',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962743&docid=68872255&x=5835',
		'title': '',
		'imageId': '68872255',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962743&docid=68872256&x=5835',
		'title': '',
		'imageId': '68872256',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962743&docid=68872249&x=5835',
		'title': '',
		'imageId': '68872249',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962743&docid=68872254&x=5835',
		'title': '',
		'imageId': '68872254',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962743&docid=68872250&x=5835',
		'title': '',
		'imageId': '68872250',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962743&docid=68872257&x=5835',
		'title': '',
		'imageId': '68872257',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962743&docid=68872253&x=5835',
		'title': '',
		'imageId': '68872253',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962743&docid=68872252&x=5835',
		'title': '',
		'imageId': '68872252',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962743&docid=68872251&x=5835',
		'title': '',
		'imageId': '68872251',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962743&docid=68872248&x=5835',
		'title': '',
		'imageId': '68872248',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3962743';

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