var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3952569&docid=68641678&x=3623',
		'title': '',
		'imageId': '68641678',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952569&docid=68641672&x=3623',
		'title': '',
		'imageId': '68641672',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952569&docid=68641674&x=3623',
		'title': '',
		'imageId': '68641674',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952569&docid=68641670&x=3623',
		'title': '',
		'imageId': '68641670',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952569&docid=68641669&x=3623',
		'title': '',
		'imageId': '68641669',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952569&docid=68641675&x=3623',
		'title': '',
		'imageId': '68641675',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952569&docid=68641671&x=3623',
		'title': '',
		'imageId': '68641671',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952569&docid=68641677&x=3623',
		'title': '',
		'imageId': '68641677',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952569&docid=68641673&x=3623',
		'title': '',
		'imageId': '68641673',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952569&docid=68641676&x=3623',
		'title': '',
		'imageId': '68641676',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3952569';

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