var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3983786&docid=69345424&x=5523',
		'title': '',
		'imageId': '69345424',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983786&docid=69345431&x=5523',
		'title': '',
		'imageId': '69345431',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983786&docid=69345425&x=5523',
		'title': '',
		'imageId': '69345425',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983786&docid=69345427&x=5523',
		'title': '',
		'imageId': '69345427',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983786&docid=69345423&x=5523',
		'title': '',
		'imageId': '69345423',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983786&docid=69345433&x=5523',
		'title': '',
		'imageId': '69345433',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983786&docid=69345432&x=5523',
		'title': '',
		'imageId': '69345432',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983786&docid=69345420&x=5523',
		'title': '',
		'imageId': '69345420',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983786&docid=69345430&x=5523',
		'title': '',
		'imageId': '69345430',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3983786';

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