var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3966937&docid=68966768&x=4727',
		'title': '',
		'imageId': '68966768',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966937&docid=68966764&x=4727',
		'title': '',
		'imageId': '68966764',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966937&docid=68966769&x=4727',
		'title': '',
		'imageId': '68966769',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966937&docid=68966766&x=4727',
		'title': '',
		'imageId': '68966766',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966937&docid=68966771&x=4727',
		'title': '',
		'imageId': '68966771',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966937&docid=68966770&x=4727',
		'title': '',
		'imageId': '68966770',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966937&docid=68966765&x=4727',
		'title': '',
		'imageId': '68966765',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966937&docid=68966763&x=4727',
		'title': '',
		'imageId': '68966763',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966937&docid=68966767&x=4727',
		'title': '',
		'imageId': '68966767',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966937&docid=68966817&x=4727',
		'title': '',
		'imageId': '68966817',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966937&docid=68967102&x=4727',
		'title': '',
		'imageId': '68967102',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966937&docid=68967103&x=4727',
		'title': '',
		'imageId': '68967103',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3966937';

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