var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4001316&docid=69745780&x=5518',
		'title': '',
		'imageId': '69745780',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001316&docid=69745779&x=5518',
		'title': '',
		'imageId': '69745779',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001316&docid=69745775&x=5518',
		'title': '',
		'imageId': '69745775',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001316&docid=69745777&x=5518',
		'title': '',
		'imageId': '69745777',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001316&docid=69745776&x=5518',
		'title': '',
		'imageId': '69745776',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001316&docid=69745778&x=5518',
		'title': '',
		'imageId': '69745778',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001316&docid=69745793&x=5518',
		'title': '',
		'imageId': '69745793',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4001316';

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