var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3910620&docid=67653273&x=5427',
		'title': '',
		'imageId': '67653273',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910620&docid=67653272&x=5427',
		'title': '',
		'imageId': '67653272',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910620&docid=67653274&x=5427',
		'title': '',
		'imageId': '67653274',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910620&docid=67653275&x=5427',
		'title': '',
		'imageId': '67653275',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910620&docid=67653277&x=5427',
		'title': '',
		'imageId': '67653277',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910620&docid=67653276&x=5427',
		'title': '',
		'imageId': '67653276',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910620&docid=67653278&x=5427',
		'title': '',
		'imageId': '67653278',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910620&docid=67653279&x=5427',
		'title': '',
		'imageId': '67653279',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910620&docid=67653280&x=5427',
		'title': '',
		'imageId': '67653280',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910620&docid=67653281&x=5427',
		'title': '',
		'imageId': '67653281',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910620&docid=67653282&x=5427',
		'title': '',
		'imageId': '67653282',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910620&docid=67653283&x=5427',
		'title': '',
		'imageId': '67653283',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3910620';

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