var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3954933&docid=68697190&x=5712',
		'title': '',
		'imageId': '68697190',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954933&docid=68697181&x=5712',
		'title': '',
		'imageId': '68697181',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954933&docid=68697180&x=5712',
		'title': '',
		'imageId': '68697180',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954933&docid=68697179&x=5712',
		'title': '',
		'imageId': '68697179',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954933&docid=68697195&x=5712',
		'title': '',
		'imageId': '68697195',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954933&docid=68697182&x=5712',
		'title': '',
		'imageId': '68697182',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954933&docid=68697197&x=5712',
		'title': '',
		'imageId': '68697197',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954933&docid=68697183&x=5712',
		'title': '',
		'imageId': '68697183',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954933&docid=68697199&x=5712',
		'title': '',
		'imageId': '68697199',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954933&docid=68697178&x=5712',
		'title': '',
		'imageId': '68697178',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954933&docid=68697196&x=5712',
		'title': '',
		'imageId': '68697196',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3954933';

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