var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4036119&docid=70619345&x=3155',
		'title': '',
		'imageId': '70619345',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036119&docid=70619343&x=3155',
		'title': '',
		'imageId': '70619343',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036119&docid=70619344&x=3155',
		'title': '',
		'imageId': '70619344',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036119&docid=70619346&x=3155',
		'title': '',
		'imageId': '70619346',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036119&docid=70619347&x=3155',
		'title': '',
		'imageId': '70619347',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036119&docid=70619348&x=3155',
		'title': '',
		'imageId': '70619348',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036119&docid=70619349&x=3155',
		'title': '',
		'imageId': '70619349',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4036119';

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