var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3963548&docid=68891372&x=4038',
		'title': '',
		'imageId': '68891372',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963548&docid=68891354&x=4038',
		'title': '',
		'imageId': '68891354',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963548&docid=68891357&x=4038',
		'title': '',
		'imageId': '68891357',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963548&docid=68891358&x=4038',
		'title': '',
		'imageId': '68891358',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963548&docid=68891355&x=4038',
		'title': '',
		'imageId': '68891355',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963548&docid=68891356&x=4038',
		'title': '',
		'imageId': '68891356',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963548&docid=68891361&x=4038',
		'title': '',
		'imageId': '68891361',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963548&docid=68891360&x=4038',
		'title': '',
		'imageId': '68891360',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963548&docid=68891365&x=4038',
		'title': '',
		'imageId': '68891365',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963548&docid=68891367&x=4038',
		'title': '',
		'imageId': '68891367',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3963548';

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