var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4074319&docid=70761831&x=434',
		'title': '',
		'imageId': '70761831',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4074319&docid=70761877&x=434',
		'title': '',
		'imageId': '70761877',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4074319&docid=70761823&x=434',
		'title': '',
		'imageId': '70761823',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4074319&docid=70761826&x=434',
		'title': '',
		'imageId': '70761826',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4074319&docid=70761825&x=434',
		'title': '',
		'imageId': '70761825',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4074319&docid=70761833&x=434',
		'title': '',
		'imageId': '70761833',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4074319&docid=70761829&x=434',
		'title': '',
		'imageId': '70761829',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4074319&docid=70761821&x=434',
		'title': '',
		'imageId': '70761821',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4074319&docid=70761827&x=434',
		'title': '',
		'imageId': '70761827',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4074319&docid=70761830&x=434',
		'title': '',
		'imageId': '70761830',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4074319&docid=70761828&x=434',
		'title': '',
		'imageId': '70761828',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4074319&docid=70761822&x=434',
		'title': '',
		'imageId': '70761822',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4074319&docid=70761834&x=434',
		'title': '',
		'imageId': '70761834',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4074319&docid=70761824&x=434',
		'title': '',
		'imageId': '70761824',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4074319&docid=70761832&x=434',
		'title': '',
		'imageId': '70761832',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4074319&docid=70761820&x=434',
		'title': '',
		'imageId': '70761820',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4074319&docid=70761835&x=434',
		'title': '',
		'imageId': '70761835',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4074319';

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