var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3912885&docid=67703900&x=3914',
		'title': '',
		'imageId': '67703900',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912885&docid=67703901&x=3914',
		'title': '',
		'imageId': '67703901',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912885&docid=67703881&x=3914',
		'title': '',
		'imageId': '67703881',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912885&docid=67703882&x=3914',
		'title': '',
		'imageId': '67703882',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912885&docid=67703883&x=3914',
		'title': '',
		'imageId': '67703883',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912885&docid=67703887&x=3914',
		'title': '',
		'imageId': '67703887',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912885&docid=67703888&x=3914',
		'title': '',
		'imageId': '67703888',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912885&docid=67703886&x=3914',
		'title': '',
		'imageId': '67703886',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912885&docid=67703889&x=3914',
		'title': '',
		'imageId': '67703889',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912885&docid=67703890&x=3914',
		'title': '',
		'imageId': '67703890',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912885&docid=67703891&x=3914',
		'title': '',
		'imageId': '67703891',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912885&docid=67703892&x=3914',
		'title': '',
		'imageId': '67703892',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912885&docid=67703893&x=3914',
		'title': '',
		'imageId': '67703893',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912885&docid=67703894&x=3914',
		'title': '',
		'imageId': '67703894',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912885&docid=67703896&x=3914',
		'title': '',
		'imageId': '67703896',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912885&docid=67703897&x=3914',
		'title': '',
		'imageId': '67703897',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912885&docid=67703895&x=3914',
		'title': '',
		'imageId': '67703895',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912885&docid=67703898&x=3914',
		'title': '',
		'imageId': '67703898',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912885&docid=67703880&x=3914',
		'title': '',
		'imageId': '67703880',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912885&docid=67703899&x=3914',
		'title': '',
		'imageId': '67703899',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3912885';

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