var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4047313&docid=70303198&x=440',
		'title': '',
		'imageId': '70303198',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4047313&docid=70303196&x=440',
		'title': '',
		'imageId': '70303196',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4047313&docid=70303199&x=440',
		'title': '',
		'imageId': '70303199',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4047313&docid=70303193&x=440',
		'title': '',
		'imageId': '70303193',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4047313&docid=70303194&x=440',
		'title': '',
		'imageId': '70303194',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4047313&docid=70303197&x=440',
		'title': '',
		'imageId': '70303197',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4047313&docid=70303195&x=440',
		'title': '',
		'imageId': '70303195',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4047313';

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