var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4009522&docid=69948208&x=5235',
		'title': '',
		'imageId': '69948208',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009522&docid=69948211&x=5235',
		'title': '',
		'imageId': '69948211',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009522&docid=69948220&x=5235',
		'title': '',
		'imageId': '69948220',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009522&docid=69948229&x=5235',
		'title': '',
		'imageId': '69948229',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009522&docid=69948234&x=5235',
		'title': '',
		'imageId': '69948234',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009522&docid=69948237&x=5235',
		'title': '',
		'imageId': '69948237',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009522&docid=69948240&x=5235',
		'title': '',
		'imageId': '69948240',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009522&docid=69948249&x=5235',
		'title': '',
		'imageId': '69948249',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009522&docid=69948254&x=5235',
		'title': '',
		'imageId': '69948254',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009522&docid=69948255&x=5235',
		'title': '',
		'imageId': '69948255',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009522&docid=69948258&x=5235',
		'title': '',
		'imageId': '69948258',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009522&docid=69948268&x=5235',
		'title': '',
		'imageId': '69948268',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4009522';

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