var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3973777&docid=69116780&x=2637',
		'title': '',
		'imageId': '69116780',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973777&docid=69116784&x=2637',
		'title': '',
		'imageId': '69116784',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973777&docid=69116781&x=2637',
		'title': '',
		'imageId': '69116781',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973777&docid=69116785&x=2637',
		'title': '',
		'imageId': '69116785',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973777&docid=69116788&x=2637',
		'title': '',
		'imageId': '69116788',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973777&docid=69116786&x=2637',
		'title': '',
		'imageId': '69116786',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973777&docid=69116787&x=2637',
		'title': '',
		'imageId': '69116787',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973777&docid=69116789&x=2637',
		'title': '',
		'imageId': '69116789',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973777&docid=69116782&x=2637',
		'title': '',
		'imageId': '69116782',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973777&docid=69116783&x=2637',
		'title': '',
		'imageId': '69116783',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3973777';

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