var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3976924&docid=69190097&x=2057',
		'title': '',
		'imageId': '69190097',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976924&docid=69190094&x=2057',
		'title': '',
		'imageId': '69190094',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976924&docid=69190101&x=2057',
		'title': '',
		'imageId': '69190101',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976924&docid=69190105&x=2057',
		'title': '',
		'imageId': '69190105',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976924&docid=69190095&x=2057',
		'title': '',
		'imageId': '69190095',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976924&docid=69190099&x=2057',
		'title': '',
		'imageId': '69190099',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976924&docid=69190098&x=2057',
		'title': '',
		'imageId': '69190098',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976924&docid=69190100&x=2057',
		'title': '',
		'imageId': '69190100',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976924&docid=69190102&x=2057',
		'title': '',
		'imageId': '69190102',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976924&docid=69190096&x=2057',
		'title': '',
		'imageId': '69190096',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976924&docid=69190104&x=2057',
		'title': '',
		'imageId': '69190104',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976924&docid=69190103&x=2057',
		'title': '',
		'imageId': '69190103',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3976924';

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