var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3917692&docid=67846688&x=419',
		'title': '',
		'imageId': '67846688',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917692&docid=67846693&x=419',
		'title': '',
		'imageId': '67846693',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917692&docid=67846685&x=419',
		'title': '',
		'imageId': '67846685',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917692&docid=67846692&x=419',
		'title': '',
		'imageId': '67846692',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917692&docid=67846686&x=419',
		'title': '',
		'imageId': '67846686',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917692&docid=67846690&x=419',
		'title': '',
		'imageId': '67846690',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917692&docid=67846687&x=419',
		'title': '',
		'imageId': '67846687',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917692&docid=67846689&x=419',
		'title': '',
		'imageId': '67846689',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917692&docid=67846691&x=419',
		'title': '',
		'imageId': '67846691',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917692&docid=67846695&x=419',
		'title': '',
		'imageId': '67846695',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917692&docid=67846694&x=419',
		'title': '',
		'imageId': '67846694',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3917692';

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