var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3922360&docid=67958573&x=163',
		'title': '',
		'imageId': '67958573',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922360&docid=67958574&x=163',
		'title': '',
		'imageId': '67958574',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922360&docid=67958575&x=163',
		'title': '',
		'imageId': '67958575',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922360&docid=67958576&x=163',
		'title': '',
		'imageId': '67958576',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922360&docid=67958577&x=163',
		'title': '',
		'imageId': '67958577',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922360&docid=67958578&x=163',
		'title': '',
		'imageId': '67958578',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922360&docid=67958579&x=163',
		'title': '',
		'imageId': '67958579',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922360&docid=67958580&x=163',
		'title': '',
		'imageId': '67958580',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922360&docid=67958581&x=163',
		'title': '',
		'imageId': '67958581',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922360&docid=67958583&x=163',
		'title': '',
		'imageId': '67958583',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3922360';

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