var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3956495&docid=68737750&x=1847',
		'title': '',
		'imageId': '68737750',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956495&docid=68737751&x=1847',
		'title': '',
		'imageId': '68737751',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956495&docid=68737752&x=1847',
		'title': '',
		'imageId': '68737752',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956495&docid=68737755&x=1847',
		'title': '',
		'imageId': '68737755',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956495&docid=68737756&x=1847',
		'title': '',
		'imageId': '68737756',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956495&docid=68737757&x=1847',
		'title': '',
		'imageId': '68737757',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956495&docid=68737758&x=1847',
		'title': '',
		'imageId': '68737758',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956495&docid=68737759&x=1847',
		'title': '',
		'imageId': '68737759',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956495&docid=68737753&x=1847',
		'title': '',
		'imageId': '68737753',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956495&docid=68737754&x=1847',
		'title': '',
		'imageId': '68737754',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3956495';

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