var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3994317&docid=69588575&x=5651',
		'title': '',
		'imageId': '69588575',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994317&docid=69588576&x=5651',
		'title': '',
		'imageId': '69588576',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994317&docid=69588577&x=5651',
		'title': '',
		'imageId': '69588577',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994317&docid=69588578&x=5651',
		'title': '',
		'imageId': '69588578',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994317&docid=69588579&x=5651',
		'title': '',
		'imageId': '69588579',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994317&docid=69588580&x=5651',
		'title': '',
		'imageId': '69588580',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994317&docid=69588581&x=5651',
		'title': '',
		'imageId': '69588581',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994317&docid=69588582&x=5651',
		'title': '',
		'imageId': '69588582',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994317&docid=69588583&x=5651',
		'title': '',
		'imageId': '69588583',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994317&docid=69588584&x=5651',
		'title': '',
		'imageId': '69588584',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994317&docid=69588585&x=5651',
		'title': '',
		'imageId': '69588585',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994317&docid=69588586&x=5651',
		'title': '',
		'imageId': '69588586',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3994317';

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