var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4071056&docid=71480875&x=1019',
		'title': '',
		'imageId': '71480875',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071056&docid=71480889&x=1019',
		'title': '',
		'imageId': '71480889',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071056&docid=71480890&x=1019',
		'title': '',
		'imageId': '71480890',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071056&docid=71480878&x=1019',
		'title': '',
		'imageId': '71480878',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071056&docid=71480872&x=1019',
		'title': '',
		'imageId': '71480872',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071056&docid=71480886&x=1019',
		'title': '',
		'imageId': '71480886',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071056&docid=71480877&x=1019',
		'title': '',
		'imageId': '71480877',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071056&docid=71480880&x=1019',
		'title': '',
		'imageId': '71480880',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071056&docid=71480873&x=1019',
		'title': '',
		'imageId': '71480873',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071056&docid=71480874&x=1019',
		'title': '',
		'imageId': '71480874',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071056&docid=71480881&x=1019',
		'title': '',
		'imageId': '71480881',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071056&docid=71480883&x=1019',
		'title': '',
		'imageId': '71480883',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071056&docid=71480891&x=1019',
		'title': '',
		'imageId': '71480891',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071056&docid=71480885&x=1019',
		'title': '',
		'imageId': '71480885',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071056&docid=71480884&x=1019',
		'title': '',
		'imageId': '71480884',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071056&docid=71480876&x=1019',
		'title': '',
		'imageId': '71480876',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071056&docid=71480888&x=1019',
		'title': '',
		'imageId': '71480888',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071056&docid=71480882&x=1019',
		'title': '',
		'imageId': '71480882',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071056&docid=71480879&x=1019',
		'title': '',
		'imageId': '71480879',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071056&docid=71480887&x=1019',
		'title': '',
		'imageId': '71480887',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4071056';

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