var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4053738&docid=70981981&x=3028',
		'title': '',
		'imageId': '70981981',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053738&docid=70981992&x=3028',
		'title': '',
		'imageId': '70981992',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053738&docid=70981996&x=3028',
		'title': '',
		'imageId': '70981996',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053738&docid=70981993&x=3028',
		'title': '',
		'imageId': '70981993',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053738&docid=70981989&x=3028',
		'title': '',
		'imageId': '70981989',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053738&docid=70981995&x=3028',
		'title': '',
		'imageId': '70981995',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053738&docid=70981998&x=3028',
		'title': '',
		'imageId': '70981998',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053738&docid=70981997&x=3028',
		'title': '',
		'imageId': '70981997',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053738&docid=70981991&x=3028',
		'title': '',
		'imageId': '70981991',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053738&docid=70981990&x=3028',
		'title': '',
		'imageId': '70981990',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053738&docid=70981988&x=3028',
		'title': '',
		'imageId': '70981988',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053738&docid=70981987&x=3028',
		'title': '',
		'imageId': '70981987',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053738&docid=70981994&x=3028',
		'title': '',
		'imageId': '70981994',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053738&docid=70982033&x=3028',
		'title': '',
		'imageId': '70982033',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053738&docid=70982031&x=3028',
		'title': '',
		'imageId': '70982031',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053738&docid=70982030&x=3028',
		'title': '',
		'imageId': '70982030',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053738&docid=70982029&x=3028',
		'title': '',
		'imageId': '70982029',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053738&docid=70982028&x=3028',
		'title': '',
		'imageId': '70982028',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053738&docid=70982032&x=3028',
		'title': '',
		'imageId': '70982032',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053738&docid=70982048&x=3028',
		'title': '',
		'imageId': '70982048',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4053738';

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