var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3983834&docid=69367097&x=4827',
		'title': '',
		'imageId': '69367097',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983834&docid=69367099&x=4827',
		'title': '',
		'imageId': '69367099',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983834&docid=69367098&x=4827',
		'title': '',
		'imageId': '69367098',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983834&docid=69367100&x=4827',
		'title': '',
		'imageId': '69367100',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983834&docid=69367102&x=4827',
		'title': '',
		'imageId': '69367102',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983834&docid=69367096&x=4827',
		'title': '',
		'imageId': '69367096',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983834&docid=69367093&x=4827',
		'title': '',
		'imageId': '69367093',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983834&docid=69367094&x=4827',
		'title': '',
		'imageId': '69367094',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983834&docid=69367095&x=4827',
		'title': '',
		'imageId': '69367095',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983834&docid=69367092&x=4827',
		'title': '',
		'imageId': '69367092',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983834&docid=69367090&x=4827',
		'title': '',
		'imageId': '69367090',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983834&docid=69367091&x=4827',
		'title': '',
		'imageId': '69367091',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3983834';

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