var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4070781&docid=71280046&x=435',
		'title': '',
		'imageId': '71280046',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4070781&docid=71280008&x=435',
		'title': '',
		'imageId': '71280008',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4070781&docid=71280011&x=435',
		'title': '',
		'imageId': '71280011',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4070781&docid=71280014&x=435',
		'title': '',
		'imageId': '71280014',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4070781&docid=71280017&x=435',
		'title': '',
		'imageId': '71280017',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4070781&docid=71280020&x=435',
		'title': '',
		'imageId': '71280020',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4070781&docid=71280024&x=435',
		'title': '',
		'imageId': '71280024',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4070781&docid=71280028&x=435',
		'title': '',
		'imageId': '71280028',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4070781&docid=71280031&x=435',
		'title': '',
		'imageId': '71280031',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4070781&docid=71280034&x=435',
		'title': '',
		'imageId': '71280034',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4070781&docid=71280037&x=435',
		'title': '',
		'imageId': '71280037',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4070781&docid=71280040&x=435',
		'title': '',
		'imageId': '71280040',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4070781&docid=71280043&x=435',
		'title': '',
		'imageId': '71280043',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4070781&docid=71280049&x=435',
		'title': '',
		'imageId': '71280049',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4070781&docid=71280052&x=435',
		'title': '',
		'imageId': '71280052',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4070781&docid=71280055&x=435',
		'title': '',
		'imageId': '71280055',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4070781&docid=71280073&x=435',
		'title': '',
		'imageId': '71280073',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4070781';

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