var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4033332&docid=70540801&x=957',
		'title': '',
		'imageId': '70540801',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4033332&docid=70540804&x=957',
		'title': '',
		'imageId': '70540804',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4033332&docid=70540805&x=957',
		'title': '',
		'imageId': '70540805',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4033332&docid=70540806&x=957',
		'title': '',
		'imageId': '70540806',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4033332&docid=70540807&x=957',
		'title': '',
		'imageId': '70540807',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4033332&docid=70540808&x=957',
		'title': '',
		'imageId': '70540808',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4033332&docid=70540809&x=957',
		'title': '',
		'imageId': '70540809',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4033332&docid=70540810&x=957',
		'title': '',
		'imageId': '70540810',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4033332&docid=70540811&x=957',
		'title': '',
		'imageId': '70540811',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4033332&docid=70540812&x=957',
		'title': '',
		'imageId': '70540812',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4033332&docid=70540813&x=957',
		'title': '',
		'imageId': '70540813',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4033332';

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