var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4016914&docid=70151531&x=471',
		'title': '',
		'imageId': '70151531',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016914&docid=70151535&x=471',
		'title': '',
		'imageId': '70151535',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016914&docid=70151533&x=471',
		'title': '',
		'imageId': '70151533',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016914&docid=70151536&x=471',
		'title': '',
		'imageId': '70151536',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016914&docid=70151534&x=471',
		'title': '',
		'imageId': '70151534',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016914&docid=70151539&x=471',
		'title': '',
		'imageId': '70151539',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016914&docid=70151537&x=471',
		'title': '',
		'imageId': '70151537',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016914&docid=70151538&x=471',
		'title': '',
		'imageId': '70151538',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016914&docid=70151530&x=471',
		'title': '',
		'imageId': '70151530',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016914&docid=70151532&x=471',
		'title': '',
		'imageId': '70151532',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016914&docid=70151540&x=471',
		'title': '',
		'imageId': '70151540',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4016914';

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