var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4015639&docid=70099413&x=3633',
		'title': '',
		'imageId': '70099413',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015639&docid=70099414&x=3633',
		'title': '',
		'imageId': '70099414',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015639&docid=70099419&x=3633',
		'title': '',
		'imageId': '70099419',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015639&docid=70099426&x=3633',
		'title': '',
		'imageId': '70099426',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015639&docid=70099429&x=3633',
		'title': '',
		'imageId': '70099429',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015639&docid=70099432&x=3633',
		'title': '',
		'imageId': '70099432',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015639&docid=70099435&x=3633',
		'title': '',
		'imageId': '70099435',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015639&docid=70099438&x=3633',
		'title': '',
		'imageId': '70099438',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015639&docid=70099453&x=3633',
		'title': '',
		'imageId': '70099453',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015639&docid=70099456&x=3633',
		'title': '',
		'imageId': '70099456',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4015639';

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