var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3927192&docid=68069075&x=223',
		'title': '',
		'imageId': '68069075',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927192&docid=68069077&x=223',
		'title': '',
		'imageId': '68069077',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927192&docid=68069076&x=223',
		'title': '',
		'imageId': '68069076',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927192&docid=68069078&x=223',
		'title': '',
		'imageId': '68069078',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927192&docid=68069080&x=223',
		'title': '',
		'imageId': '68069080',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927192&docid=68069079&x=223',
		'title': '',
		'imageId': '68069079',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927192&docid=68069086&x=223',
		'title': '',
		'imageId': '68069086',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927192&docid=68069081&x=223',
		'title': '',
		'imageId': '68069081',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927192&docid=68069084&x=223',
		'title': '',
		'imageId': '68069084',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927192&docid=68069082&x=223',
		'title': '',
		'imageId': '68069082',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927192&docid=68069083&x=223',
		'title': '',
		'imageId': '68069083',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927192&docid=68069085&x=223',
		'title': '',
		'imageId': '68069085',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927192&docid=68069153&x=223',
		'title': '',
		'imageId': '68069153',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927192&docid=68069154&x=223',
		'title': '',
		'imageId': '68069154',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927192&docid=68069155&x=223',
		'title': '',
		'imageId': '68069155',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927192&docid=68069156&x=223',
		'title': '',
		'imageId': '68069156',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3927192';

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