var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3919920&docid=67899546&x=5118',
		'title': '',
		'imageId': '67899546',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919920&docid=67899547&x=5118',
		'title': '',
		'imageId': '67899547',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919920&docid=67899548&x=5118',
		'title': '',
		'imageId': '67899548',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919920&docid=67899549&x=5118',
		'title': '',
		'imageId': '67899549',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919920&docid=67899550&x=5118',
		'title': '',
		'imageId': '67899550',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919920&docid=67899551&x=5118',
		'title': '',
		'imageId': '67899551',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919920&docid=67899553&x=5118',
		'title': '',
		'imageId': '67899553',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919920&docid=67899554&x=5118',
		'title': '',
		'imageId': '67899554',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919920&docid=67899555&x=5118',
		'title': '',
		'imageId': '67899555',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919920&docid=67899556&x=5118',
		'title': '',
		'imageId': '67899556',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919920&docid=67899557&x=5118',
		'title': '',
		'imageId': '67899557',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919920&docid=67899558&x=5118',
		'title': '',
		'imageId': '67899558',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3919920';

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