var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3910611&docid=67653164&x=5131',
		'title': '',
		'imageId': '67653164',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910611&docid=67653163&x=5131',
		'title': '',
		'imageId': '67653163',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910611&docid=67653165&x=5131',
		'title': '',
		'imageId': '67653165',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910611&docid=67653166&x=5131',
		'title': '',
		'imageId': '67653166',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910611&docid=67653167&x=5131',
		'title': '',
		'imageId': '67653167',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910611&docid=67653168&x=5131',
		'title': '',
		'imageId': '67653168',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910611&docid=67653169&x=5131',
		'title': '',
		'imageId': '67653169',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910611&docid=67653171&x=5131',
		'title': '',
		'imageId': '67653171',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910611&docid=67653172&x=5131',
		'title': '',
		'imageId': '67653172',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910611&docid=67653170&x=5131',
		'title': '',
		'imageId': '67653170',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910611&docid=67653174&x=5131',
		'title': '',
		'imageId': '67653174',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910611&docid=67653173&x=5131',
		'title': '',
		'imageId': '67653173',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3910611';

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