var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3949189&docid=68566982&x=1919',
		'title': '',
		'imageId': '68566982',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949189&docid=68566985&x=1919',
		'title': '',
		'imageId': '68566985',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949189&docid=68566986&x=1919',
		'title': '',
		'imageId': '68566986',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949189&docid=68566990&x=1919',
		'title': '',
		'imageId': '68566990',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949189&docid=68566987&x=1919',
		'title': '',
		'imageId': '68566987',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949189&docid=68566983&x=1919',
		'title': '',
		'imageId': '68566983',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949189&docid=68566989&x=1919',
		'title': '',
		'imageId': '68566989',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949189&docid=68566988&x=1919',
		'title': '',
		'imageId': '68566988',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3949189';

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