var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4018946&docid=70203427&x=4035',
		'title': '',
		'imageId': '70203427',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018946&docid=70203430&x=4035',
		'title': '',
		'imageId': '70203430',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018946&docid=70203438&x=4035',
		'title': '',
		'imageId': '70203438',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018946&docid=70203440&x=4035',
		'title': '',
		'imageId': '70203440',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018946&docid=70203441&x=4035',
		'title': '',
		'imageId': '70203441',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018946&docid=70203442&x=4035',
		'title': '',
		'imageId': '70203442',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018946&docid=70203443&x=4035',
		'title': '',
		'imageId': '70203443',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018946&docid=70203445&x=4035',
		'title': '',
		'imageId': '70203445',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018946&docid=70203446&x=4035',
		'title': '',
		'imageId': '70203446',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018946&docid=70203447&x=4035',
		'title': '',
		'imageId': '70203447',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4018946';

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