var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3910522&docid=67651919&x=5414',
		'title': '',
		'imageId': '67651919',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910522&docid=67651926&x=5414',
		'title': '',
		'imageId': '67651926',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910522&docid=67651917&x=5414',
		'title': '',
		'imageId': '67651917',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910522&docid=67651924&x=5414',
		'title': '',
		'imageId': '67651924',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910522&docid=67651921&x=5414',
		'title': '',
		'imageId': '67651921',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910522&docid=67651918&x=5414',
		'title': '',
		'imageId': '67651918',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910522&docid=67651922&x=5414',
		'title': '',
		'imageId': '67651922',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910522&docid=67651923&x=5414',
		'title': '',
		'imageId': '67651923',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910522&docid=67651920&x=5414',
		'title': '',
		'imageId': '67651920',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910522&docid=67651925&x=5414',
		'title': '',
		'imageId': '67651925',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3910522';

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