var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3894931&docid=67268119&x=1254',
		'title': '',
		'imageId': '67268119',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3894931&docid=67268113&x=1254',
		'title': '',
		'imageId': '67268113',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3894931&docid=67268114&x=1254',
		'title': '',
		'imageId': '67268114',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3894931&docid=67268117&x=1254',
		'title': '',
		'imageId': '67268117',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3894931&docid=67268120&x=1254',
		'title': '',
		'imageId': '67268120',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3894931&docid=67268123&x=1254',
		'title': '',
		'imageId': '67268123',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3894931&docid=67268118&x=1254',
		'title': '',
		'imageId': '67268118',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3894931&docid=67268116&x=1254',
		'title': '',
		'imageId': '67268116',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3894931&docid=67268122&x=1254',
		'title': '',
		'imageId': '67268122',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3894931&docid=67268115&x=1254',
		'title': '',
		'imageId': '67268115',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3894931&docid=67268121&x=1254',
		'title': '',
		'imageId': '67268121',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3894931&docid=68647620&x=1254',
		'title': '',
		'imageId': '68647620',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3894931';

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