var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4013029&docid=70029105&x=4927',
		'title': '',
		'imageId': '70029105',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013029&docid=70029100&x=4927',
		'title': '',
		'imageId': '70029100',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013029&docid=70029101&x=4927',
		'title': '',
		'imageId': '70029101',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013029&docid=70029104&x=4927',
		'title': '',
		'imageId': '70029104',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013029&docid=70029103&x=4927',
		'title': '',
		'imageId': '70029103',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013029&docid=70029102&x=4927',
		'title': '',
		'imageId': '70029102',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013029&docid=70029098&x=4927',
		'title': '',
		'imageId': '70029098',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013029&docid=70029097&x=4927',
		'title': '',
		'imageId': '70029097',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013029&docid=70029099&x=4927',
		'title': '',
		'imageId': '70029099',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013029&docid=70029096&x=4927',
		'title': '',
		'imageId': '70029096',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4013029';

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