var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3960772&docid=68831906&x=552',
		'title': '',
		'imageId': '68831906',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960772&docid=68831907&x=552',
		'title': '',
		'imageId': '68831907',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960772&docid=68831912&x=552',
		'title': '',
		'imageId': '68831912',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960772&docid=68831915&x=552',
		'title': '',
		'imageId': '68831915',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960772&docid=68831914&x=552',
		'title': '',
		'imageId': '68831914',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960772&docid=68831908&x=552',
		'title': '',
		'imageId': '68831908',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960772&docid=68831909&x=552',
		'title': '',
		'imageId': '68831909',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960772&docid=68831913&x=552',
		'title': '',
		'imageId': '68831913',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960772&docid=68831910&x=552',
		'title': '',
		'imageId': '68831910',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3960772&docid=68831911&x=552',
		'title': '',
		'imageId': '68831911',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3960772';

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