var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3931878&docid=68162071&x=041',
		'title': '',
		'imageId': '68162071',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931878&docid=68162072&x=041',
		'title': '',
		'imageId': '68162072',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931878&docid=68162073&x=041',
		'title': '',
		'imageId': '68162073',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931878&docid=68162074&x=041',
		'title': '',
		'imageId': '68162074',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931878&docid=68162075&x=041',
		'title': '',
		'imageId': '68162075',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931878&docid=68162070&x=041',
		'title': '',
		'imageId': '68162070',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931878&docid=68162076&x=041',
		'title': '',
		'imageId': '68162076',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931878&docid=68162069&x=041',
		'title': '',
		'imageId': '68162069',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931878&docid=68162067&x=041',
		'title': '',
		'imageId': '68162067',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931878&docid=68162068&x=041',
		'title': '',
		'imageId': '68162068',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3931878';

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