var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3954241&docid=68679711&x=1346',
		'title': '',
		'imageId': '68679711',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954241&docid=68679720&x=1346',
		'title': '',
		'imageId': '68679720',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954241&docid=68679715&x=1346',
		'title': '',
		'imageId': '68679715',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954241&docid=68679714&x=1346',
		'title': '',
		'imageId': '68679714',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954241&docid=68679712&x=1346',
		'title': '',
		'imageId': '68679712',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954241&docid=68679713&x=1346',
		'title': '',
		'imageId': '68679713',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954241&docid=68679717&x=1346',
		'title': '',
		'imageId': '68679717',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954241&docid=68679719&x=1346',
		'title': '',
		'imageId': '68679719',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954241&docid=68679716&x=1346',
		'title': '',
		'imageId': '68679716',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3954241';

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