var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3939855&docid=68364310&x=1449',
		'title': '',
		'imageId': '68364310',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939855&docid=68364306&x=1449',
		'title': '',
		'imageId': '68364306',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939855&docid=68364305&x=1449',
		'title': '',
		'imageId': '68364305',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939855&docid=68364309&x=1449',
		'title': '',
		'imageId': '68364309',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939855&docid=68364311&x=1449',
		'title': '',
		'imageId': '68364311',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939855&docid=68364307&x=1449',
		'title': '',
		'imageId': '68364307',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939855&docid=68364308&x=1449',
		'title': '',
		'imageId': '68364308',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939855&docid=68364304&x=1449',
		'title': '',
		'imageId': '68364304',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939855&docid=68364314&x=1449',
		'title': '',
		'imageId': '68364314',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939855&docid=68364312&x=1449',
		'title': '',
		'imageId': '68364312',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3939855';

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