var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3918146&docid=67856572&x=3714',
		'title': '',
		'imageId': '67856572',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918146&docid=67856574&x=3714',
		'title': '',
		'imageId': '67856574',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918146&docid=67856575&x=3714',
		'title': '',
		'imageId': '67856575',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918146&docid=67856576&x=3714',
		'title': '',
		'imageId': '67856576',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918146&docid=67856577&x=3714',
		'title': '',
		'imageId': '67856577',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918146&docid=67856578&x=3714',
		'title': '',
		'imageId': '67856578',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918146&docid=67856579&x=3714',
		'title': '',
		'imageId': '67856579',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918146&docid=67856580&x=3714',
		'title': '',
		'imageId': '67856580',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918146&docid=67856581&x=3714',
		'title': '',
		'imageId': '67856581',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918146&docid=67856582&x=3714',
		'title': '',
		'imageId': '67856582',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918146&docid=67856573&x=3714',
		'title': '',
		'imageId': '67856573',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3918146&docid=67856583&x=3714',
		'title': '',
		'imageId': '67856583',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3918146';

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