var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3989334&docid=69486034&x=2832',
		'title': '',
		'imageId': '69486034',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3989334&docid=69486035&x=2832',
		'title': '',
		'imageId': '69486035',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3989334&docid=69486033&x=2832',
		'title': '',
		'imageId': '69486033',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3989334&docid=69486030&x=2832',
		'title': '',
		'imageId': '69486030',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3989334&docid=69486036&x=2832',
		'title': '',
		'imageId': '69486036',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3989334&docid=69486031&x=2832',
		'title': '',
		'imageId': '69486031',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3989334&docid=69486037&x=2832',
		'title': '',
		'imageId': '69486037',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3989334&docid=69486032&x=2832',
		'title': '',
		'imageId': '69486032',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3989334&docid=69486038&x=2832',
		'title': '',
		'imageId': '69486038',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3989334&docid=69486029&x=2832',
		'title': '',
		'imageId': '69486029',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3989334&docid=69486028&x=2832',
		'title': '',
		'imageId': '69486028',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3989334';

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