var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3916584&docid=67808307&x=1538',
		'title': '',
		'imageId': '67808307',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916584&docid=67808308&x=1538',
		'title': '',
		'imageId': '67808308',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916584&docid=67808309&x=1538',
		'title': '',
		'imageId': '67808309',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916584&docid=67808310&x=1538',
		'title': '',
		'imageId': '67808310',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916584&docid=67808311&x=1538',
		'title': '',
		'imageId': '67808311',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916584&docid=67808312&x=1538',
		'title': '',
		'imageId': '67808312',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916584&docid=67808313&x=1538',
		'title': '',
		'imageId': '67808313',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916584&docid=67808314&x=1538',
		'title': '',
		'imageId': '67808314',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916584&docid=67808316&x=1538',
		'title': '',
		'imageId': '67808316',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916584&docid=67808315&x=1538',
		'title': '',
		'imageId': '67808315',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916584&docid=67808317&x=1538',
		'title': '',
		'imageId': '67808317',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3916584';

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