var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3918884&docid=67881755&x=4814',
		'title': '',
		'imageId': '67881755',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918884&docid=67881758&x=4814',
		'title': '',
		'imageId': '67881758',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918884&docid=67881757&x=4814',
		'title': '',
		'imageId': '67881757',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918884&docid=67881754&x=4814',
		'title': '',
		'imageId': '67881754',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918884&docid=67881762&x=4814',
		'title': '',
		'imageId': '67881762',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918884&docid=67881764&x=4814',
		'title': '',
		'imageId': '67881764',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918884&docid=67881756&x=4814',
		'title': '',
		'imageId': '67881756',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918884&docid=67881759&x=4814',
		'title': '',
		'imageId': '67881759',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918884&docid=67881750&x=4814',
		'title': '',
		'imageId': '67881750',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918884&docid=67881763&x=4814',
		'title': '',
		'imageId': '67881763',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918884&docid=67881768&x=4814',
		'title': '',
		'imageId': '67881768',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918884&docid=67881751&x=4814',
		'title': '',
		'imageId': '67881751',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918884&docid=67881749&x=4814',
		'title': '',
		'imageId': '67881749',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918884&docid=67881766&x=4814',
		'title': '',
		'imageId': '67881766',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918884&docid=67881767&x=4814',
		'title': '',
		'imageId': '67881767',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918884&docid=67881753&x=4814',
		'title': '',
		'imageId': '67881753',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918884&docid=67881761&x=4814',
		'title': '',
		'imageId': '67881761',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918884&docid=67881765&x=4814',
		'title': '',
		'imageId': '67881765',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918884&docid=67881752&x=4814',
		'title': '',
		'imageId': '67881752',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918884&docid=67881760&x=4814',
		'title': '',
		'imageId': '67881760',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3918884';

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