var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3916987&docid=67827075&x=1010',
		'title': '',
		'imageId': '67827075',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916987&docid=67827067&x=1010',
		'title': '',
		'imageId': '67827067',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916987&docid=67827071&x=1010',
		'title': '',
		'imageId': '67827071',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916987&docid=67827073&x=1010',
		'title': '',
		'imageId': '67827073',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916987&docid=67827068&x=1010',
		'title': '',
		'imageId': '67827068',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916987&docid=67827074&x=1010',
		'title': '',
		'imageId': '67827074',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916987&docid=67827072&x=1010',
		'title': '',
		'imageId': '67827072',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916987&docid=67827064&x=1010',
		'title': '',
		'imageId': '67827064',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916987&docid=67827066&x=1010',
		'title': '',
		'imageId': '67827066',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916987&docid=67827065&x=1010',
		'title': '',
		'imageId': '67827065',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916987&docid=67827070&x=1010',
		'title': '',
		'imageId': '67827070',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916987&docid=67827069&x=1010',
		'title': '',
		'imageId': '67827069',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3916987';

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