var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3953192&docid=68654902&x=4217',
		'title': '',
		'imageId': '68654902',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953192&docid=68654899&x=4217',
		'title': '',
		'imageId': '68654899',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953192&docid=68654900&x=4217',
		'title': '',
		'imageId': '68654900',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953192&docid=68654903&x=4217',
		'title': '',
		'imageId': '68654903',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953192&docid=68654905&x=4217',
		'title': '',
		'imageId': '68654905',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953192&docid=68654901&x=4217',
		'title': '',
		'imageId': '68654901',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953192&docid=68654908&x=4217',
		'title': '',
		'imageId': '68654908',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953192&docid=68654904&x=4217',
		'title': '',
		'imageId': '68654904',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953192&docid=68654906&x=4217',
		'title': '',
		'imageId': '68654906',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953192&docid=68654907&x=4217',
		'title': '',
		'imageId': '68654907',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3953192';

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