var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3972949&docid=69094773&x=5813',
		'title': '',
		'imageId': '69094773',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972949&docid=69095204&x=5813',
		'title': '',
		'imageId': '69095204',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972949&docid=69094767&x=5813',
		'title': '',
		'imageId': '69094767',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972949&docid=69094656&x=5813',
		'title': '',
		'imageId': '69094656',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972949&docid=69094631&x=5813',
		'title': '',
		'imageId': '69094631',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972949&docid=69095056&x=5813',
		'title': '',
		'imageId': '69095056',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972949&docid=69094788&x=5813',
		'title': '',
		'imageId': '69094788',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972949&docid=69095106&x=5813',
		'title': '',
		'imageId': '69095106',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972949&docid=69094829&x=5813',
		'title': '',
		'imageId': '69094829',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972949&docid=69094981&x=5813',
		'title': '',
		'imageId': '69094981',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972949&docid=69094982&x=5813',
		'title': '',
		'imageId': '69094982',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972949&docid=69094865&x=5813',
		'title': '',
		'imageId': '69094865',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972949&docid=69094915&x=5813',
		'title': '',
		'imageId': '69094915',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972949&docid=69094987&x=5813',
		'title': '',
		'imageId': '69094987',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972949&docid=69094988&x=5813',
		'title': '',
		'imageId': '69094988',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972949&docid=69094991&x=5813',
		'title': '',
		'imageId': '69094991',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972949&docid=69094994&x=5813',
		'title': '',
		'imageId': '69094994',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972949&docid=68985448&x=5813',
		'title': '',
		'imageId': '68985448',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972949&docid=68985451&x=5813',
		'title': '',
		'imageId': '68985451',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3972949';

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