var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4019063&docid=70206021&x=432',
		'title': '',
		'imageId': '70206021',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019063&docid=70206022&x=432',
		'title': '',
		'imageId': '70206022',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019063&docid=70206024&x=432',
		'title': '',
		'imageId': '70206024',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019063&docid=70206025&x=432',
		'title': '',
		'imageId': '70206025',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019063&docid=70206031&x=432',
		'title': '',
		'imageId': '70206031',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019063&docid=70206032&x=432',
		'title': '',
		'imageId': '70206032',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019063&docid=70206020&x=432',
		'title': '',
		'imageId': '70206020',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019063&docid=70206052&x=432',
		'title': '',
		'imageId': '70206052',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019063&docid=70206062&x=432',
		'title': '',
		'imageId': '70206062',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019063&docid=70206069&x=432',
		'title': '',
		'imageId': '70206069',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4019063';

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