var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3953351&docid=68659068&x=1359',
		'title': '',
		'imageId': '68659068',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953351&docid=68659072&x=1359',
		'title': '',
		'imageId': '68659072',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953351&docid=68659069&x=1359',
		'title': '',
		'imageId': '68659069',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953351&docid=68659070&x=1359',
		'title': '',
		'imageId': '68659070',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953351&docid=68659071&x=1359',
		'title': '',
		'imageId': '68659071',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953351&docid=68659073&x=1359',
		'title': '',
		'imageId': '68659073',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953351&docid=68659078&x=1359',
		'title': '',
		'imageId': '68659078',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953351&docid=68659079&x=1359',
		'title': '',
		'imageId': '68659079',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953351&docid=68659087&x=1359',
		'title': '',
		'imageId': '68659087',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953351&docid=68659082&x=1359',
		'title': '',
		'imageId': '68659082',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953351&docid=68659093&x=1359',
		'title': '',
		'imageId': '68659093',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953351&docid=68659088&x=1359',
		'title': '',
		'imageId': '68659088',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3953351';

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