var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4019413&docid=70214282&x=4851',
		'title': '',
		'imageId': '70214282',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019413&docid=70214280&x=4851',
		'title': '',
		'imageId': '70214280',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019413&docid=70214283&x=4851',
		'title': '',
		'imageId': '70214283',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019413&docid=70214284&x=4851',
		'title': '',
		'imageId': '70214284',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019413&docid=70214281&x=4851',
		'title': '',
		'imageId': '70214281',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019413&docid=70214285&x=4851',
		'title': '',
		'imageId': '70214285',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019413&docid=70214288&x=4851',
		'title': '',
		'imageId': '70214288',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019413&docid=70214293&x=4851',
		'title': '',
		'imageId': '70214293',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019413&docid=70214300&x=4851',
		'title': '',
		'imageId': '70214300',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019413&docid=70214301&x=4851',
		'title': '',
		'imageId': '70214301',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4019413';

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