var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4018944&docid=70203368&x=569',
		'title': '',
		'imageId': '70203368',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018944&docid=70203369&x=569',
		'title': '',
		'imageId': '70203369',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018944&docid=70203375&x=569',
		'title': '',
		'imageId': '70203375',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018944&docid=70203388&x=569',
		'title': '',
		'imageId': '70203388',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018944&docid=70203391&x=569',
		'title': '',
		'imageId': '70203391',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018944&docid=70203392&x=569',
		'title': '',
		'imageId': '70203392',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018944&docid=70203393&x=569',
		'title': '',
		'imageId': '70203393',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018944&docid=70203404&x=569',
		'title': '',
		'imageId': '70203404',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018944&docid=70203405&x=569',
		'title': '',
		'imageId': '70203405',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018944&docid=70203408&x=569',
		'title': '',
		'imageId': '70203408',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4018944';

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