var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3931556&docid=68158623&x=5417',
		'title': '',
		'imageId': '68158623',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931556&docid=68158625&x=5417',
		'title': '',
		'imageId': '68158625',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931556&docid=68158626&x=5417',
		'title': '',
		'imageId': '68158626',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931556&docid=68158624&x=5417',
		'title': '',
		'imageId': '68158624',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931556&docid=68158627&x=5417',
		'title': '',
		'imageId': '68158627',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931556&docid=68158628&x=5417',
		'title': '',
		'imageId': '68158628',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931556&docid=68158631&x=5417',
		'title': '',
		'imageId': '68158631',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3931556';

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