var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3958330&docid=68784749&x=3725',
		'title': '',
		'imageId': '68784749',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958330&docid=68784753&x=3725',
		'title': '',
		'imageId': '68784753',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958330&docid=68784758&x=3725',
		'title': '',
		'imageId': '68784758',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958330&docid=68784759&x=3725',
		'title': '',
		'imageId': '68784759',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958330&docid=68784750&x=3725',
		'title': '',
		'imageId': '68784750',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958330&docid=68784757&x=3725',
		'title': '',
		'imageId': '68784757',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958330&docid=68784751&x=3725',
		'title': '',
		'imageId': '68784751',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958330&docid=68784755&x=3725',
		'title': '',
		'imageId': '68784755',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958330&docid=68784760&x=3725',
		'title': '',
		'imageId': '68784760',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958330&docid=68784754&x=3725',
		'title': '',
		'imageId': '68784754',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958330&docid=68784756&x=3725',
		'title': '',
		'imageId': '68784756',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958330&docid=68784752&x=3725',
		'title': '',
		'imageId': '68784752',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3958330';

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