var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4019167&docid=70208715&x=2610',
		'title': '',
		'imageId': '70208715',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019167&docid=70208716&x=2610',
		'title': '',
		'imageId': '70208716',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019167&docid=70208717&x=2610',
		'title': '',
		'imageId': '70208717',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019167&docid=70208719&x=2610',
		'title': '',
		'imageId': '70208719',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019167&docid=70208720&x=2610',
		'title': '',
		'imageId': '70208720',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019167&docid=70208721&x=2610',
		'title': '',
		'imageId': '70208721',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019167&docid=70208714&x=2610',
		'title': '',
		'imageId': '70208714',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019167&docid=70208722&x=2610',
		'title': '',
		'imageId': '70208722',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019167&docid=70208723&x=2610',
		'title': '',
		'imageId': '70208723',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019167&docid=70208724&x=2610',
		'title': '',
		'imageId': '70208724',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4019167';

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