var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3943245&docid=68420126&x=4058',
		'title': '',
		'imageId': '68420126',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943245&docid=68420121&x=4058',
		'title': '',
		'imageId': '68420121',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943245&docid=68420124&x=4058',
		'title': '',
		'imageId': '68420124',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943245&docid=68420122&x=4058',
		'title': '',
		'imageId': '68420122',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943245&docid=68420119&x=4058',
		'title': '',
		'imageId': '68420119',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943245&docid=68420118&x=4058',
		'title': '',
		'imageId': '68420118',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943245&docid=68420109&x=4058',
		'title': '',
		'imageId': '68420109',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943245&docid=68420120&x=4058',
		'title': '',
		'imageId': '68420120',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943245&docid=68420117&x=4058',
		'title': '',
		'imageId': '68420117',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943245&docid=68420116&x=4058',
		'title': '',
		'imageId': '68420116',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943245&docid=68420128&x=4058',
		'title': '',
		'imageId': '68420128',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943245&docid=68420125&x=4058',
		'title': '',
		'imageId': '68420125',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943245&docid=68420123&x=4058',
		'title': '',
		'imageId': '68420123',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943245&docid=68420127&x=4058',
		'title': '',
		'imageId': '68420127',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943245&docid=68420112&x=4058',
		'title': '',
		'imageId': '68420112',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943245&docid=68420110&x=4058',
		'title': '',
		'imageId': '68420110',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943245&docid=68420111&x=4058',
		'title': '',
		'imageId': '68420111',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943245&docid=68420114&x=4058',
		'title': '',
		'imageId': '68420114',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943245&docid=68420113&x=4058',
		'title': '',
		'imageId': '68420113',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943245&docid=68420115&x=4058',
		'title': '',
		'imageId': '68420115',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3943245';

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