var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3902376&docid=67455569&x=5347',
		'title': '',
		'imageId': '67455569',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3902376&docid=67455570&x=5347',
		'title': '',
		'imageId': '67455570',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3902376&docid=67455571&x=5347',
		'title': '',
		'imageId': '67455571',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3902376&docid=67455572&x=5347',
		'title': '',
		'imageId': '67455572',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3902376&docid=67455573&x=5347',
		'title': '',
		'imageId': '67455573',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3902376&docid=67455574&x=5347',
		'title': '',
		'imageId': '67455574',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3902376&docid=67455575&x=5347',
		'title': '',
		'imageId': '67455575',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3902376&docid=67455576&x=5347',
		'title': '',
		'imageId': '67455576',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3902376&docid=67455577&x=5347',
		'title': '',
		'imageId': '67455577',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3902376&docid=67455578&x=5347',
		'title': '',
		'imageId': '67455578',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3902376&docid=67455579&x=5347',
		'title': '',
		'imageId': '67455579',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3902376&docid=67455580&x=5347',
		'title': '',
		'imageId': '67455580',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3902376';

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