var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4005980&docid=69857778&x=431',
		'title': '',
		'imageId': '69857778',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005980&docid=69857779&x=431',
		'title': '',
		'imageId': '69857779',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005980&docid=69857780&x=431',
		'title': '',
		'imageId': '69857780',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005980&docid=69857781&x=431',
		'title': '',
		'imageId': '69857781',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005980&docid=69857782&x=431',
		'title': '',
		'imageId': '69857782',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005980&docid=69857783&x=431',
		'title': '',
		'imageId': '69857783',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005980&docid=69857784&x=431',
		'title': '',
		'imageId': '69857784',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005980&docid=69857785&x=431',
		'title': '',
		'imageId': '69857785',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005980&docid=69857786&x=431',
		'title': '',
		'imageId': '69857786',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005980&docid=69857799&x=431',
		'title': '',
		'imageId': '69857799',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005980&docid=69857809&x=431',
		'title': '',
		'imageId': '69857809',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4005980';

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