var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4054817&docid=70978978&x=526',
		'title': '',
		'imageId': '70978978',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4054817&docid=70978974&x=526',
		'title': '',
		'imageId': '70978974',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4054817&docid=70978968&x=526',
		'title': '',
		'imageId': '70978968',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4054817&docid=70978980&x=526',
		'title': '',
		'imageId': '70978980',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4054817&docid=70978976&x=526',
		'title': '',
		'imageId': '70978976',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4054817&docid=70978970&x=526',
		'title': '',
		'imageId': '70978970',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4054817&docid=70978972&x=526',
		'title': '',
		'imageId': '70978972',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4054817&docid=70978973&x=526',
		'title': '',
		'imageId': '70978973',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4054817&docid=70978969&x=526',
		'title': '',
		'imageId': '70978969',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4054817&docid=70978979&x=526',
		'title': '',
		'imageId': '70978979',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4054817&docid=70978982&x=526',
		'title': '',
		'imageId': '70978982',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4054817&docid=70978983&x=526',
		'title': '',
		'imageId': '70978983',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4054817&docid=70978977&x=526',
		'title': '',
		'imageId': '70978977',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4054817&docid=70978971&x=526',
		'title': '',
		'imageId': '70978971',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4054817&docid=70978981&x=526',
		'title': '',
		'imageId': '70978981',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4054817&docid=70978975&x=526',
		'title': '',
		'imageId': '70978975',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4054817&docid=70978984&x=526',
		'title': '',
		'imageId': '70978984',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4054817';

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