var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3980865&docid=69293483&x=1653',
		'title': '',
		'imageId': '69293483',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980865&docid=69293489&x=1653',
		'title': '',
		'imageId': '69293489',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980865&docid=69293490&x=1653',
		'title': '',
		'imageId': '69293490',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980865&docid=69293482&x=1653',
		'title': '',
		'imageId': '69293482',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980865&docid=69293487&x=1653',
		'title': '',
		'imageId': '69293487',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980865&docid=69293484&x=1653',
		'title': '',
		'imageId': '69293484',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980865&docid=69293485&x=1653',
		'title': '',
		'imageId': '69293485',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980865&docid=69293486&x=1653',
		'title': '',
		'imageId': '69293486',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980865&docid=69293488&x=1653',
		'title': '',
		'imageId': '69293488',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980865&docid=69293481&x=1653',
		'title': '',
		'imageId': '69293481',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980865&docid=59270910&x=1653',
		'title': '',
		'imageId': '59270910',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980865&docid=59270909&x=1653',
		'title': '',
		'imageId': '59270909',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3980865';

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