var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3953247&docid=67535788&x=4845',
		'title': '',
		'imageId': '67535788',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953247&docid=67535793&x=4845',
		'title': '',
		'imageId': '67535793',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953247&docid=67535794&x=4845',
		'title': '',
		'imageId': '67535794',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953247&docid=67535800&x=4845',
		'title': '',
		'imageId': '67535800',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953247&docid=67535789&x=4845',
		'title': '',
		'imageId': '67535789',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953247&docid=67535790&x=4845',
		'title': '',
		'imageId': '67535790',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953247&docid=67535795&x=4845',
		'title': '',
		'imageId': '67535795',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953247&docid=67535796&x=4845',
		'title': '',
		'imageId': '67535796',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953247&docid=67535792&x=4845',
		'title': '',
		'imageId': '67535792',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953247&docid=67535797&x=4845',
		'title': '',
		'imageId': '67535797',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953247&docid=67535799&x=4845',
		'title': '',
		'imageId': '67535799',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3953247';

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