var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4018071&docid=70181070&x=2148',
		'title': '',
		'imageId': '70181070',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018071&docid=70181064&x=2148',
		'title': '',
		'imageId': '70181064',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018071&docid=70181092&x=2148',
		'title': '',
		'imageId': '70181092',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018071&docid=70181072&x=2148',
		'title': '',
		'imageId': '70181072',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018071&docid=70181083&x=2148',
		'title': '',
		'imageId': '70181083',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018071&docid=70181066&x=2148',
		'title': '',
		'imageId': '70181066',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018071&docid=70181078&x=2148',
		'title': '',
		'imageId': '70181078',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018071&docid=70181093&x=2148',
		'title': '',
		'imageId': '70181093',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018071&docid=70181065&x=2148',
		'title': '',
		'imageId': '70181065',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018071&docid=70181087&x=2148',
		'title': '',
		'imageId': '70181087',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018071&docid=70181063&x=2148',
		'title': '',
		'imageId': '70181063',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018071&docid=70181086&x=2148',
		'title': '',
		'imageId': '70181086',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018071&docid=70181089&x=2148',
		'title': '',
		'imageId': '70181089',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018071&docid=70181080&x=2148',
		'title': '',
		'imageId': '70181080',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018071&docid=70181074&x=2148',
		'title': '',
		'imageId': '70181074',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018071&docid=70181067&x=2148',
		'title': '',
		'imageId': '70181067',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018071&docid=70181068&x=2148',
		'title': '',
		'imageId': '70181068',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018071&docid=70181059&x=2148',
		'title': '',
		'imageId': '70181059',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018071&docid=70181084&x=2148',
		'title': '',
		'imageId': '70181084',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018071&docid=70181088&x=2148',
		'title': '',
		'imageId': '70181088',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4018071';

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