var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4048915&docid=70964196&x=1413',
		'title': '',
		'imageId': '70964196',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4048915&docid=70964197&x=1413',
		'title': '',
		'imageId': '70964197',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4048915&docid=70964198&x=1413',
		'title': '',
		'imageId': '70964198',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4048915&docid=70964200&x=1413',
		'title': '',
		'imageId': '70964200',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4048915&docid=70964201&x=1413',
		'title': '',
		'imageId': '70964201',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4048915&docid=70964199&x=1413',
		'title': '',
		'imageId': '70964199',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4048915&docid=70964202&x=1413',
		'title': '',
		'imageId': '70964202',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4048915';

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