var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3939949&docid=68449775&x=215',
		'title': '',
		'imageId': '68449775',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939949&docid=68449776&x=215',
		'title': '',
		'imageId': '68449776',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939949&docid=68449777&x=215',
		'title': '',
		'imageId': '68449777',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939949&docid=68449778&x=215',
		'title': '',
		'imageId': '68449778',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939949&docid=68365214&x=215',
		'title': '',
		'imageId': '68365214',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939949&docid=68365220&x=215',
		'title': '',
		'imageId': '68365220',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939949&docid=68365217&x=215',
		'title': '',
		'imageId': '68365217',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939949&docid=68365215&x=215',
		'title': '',
		'imageId': '68365215',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939949&docid=68365213&x=215',
		'title': '',
		'imageId': '68365213',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939949&docid=68365218&x=215',
		'title': '',
		'imageId': '68365218',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939949&docid=68365216&x=215',
		'title': '',
		'imageId': '68365216',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939949&docid=68365219&x=215',
		'title': '',
		'imageId': '68365219',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3939949';

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