var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3949178&docid=68566909&x=5624',
		'title': '',
		'imageId': '68566909',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949178&docid=68566912&x=5624',
		'title': '',
		'imageId': '68566912',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949178&docid=68566920&x=5624',
		'title': '',
		'imageId': '68566920',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949178&docid=68566918&x=5624',
		'title': '',
		'imageId': '68566918',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949178&docid=68566917&x=5624',
		'title': '',
		'imageId': '68566917',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949178&docid=68566910&x=5624',
		'title': '',
		'imageId': '68566910',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949178&docid=68566921&x=5624',
		'title': '',
		'imageId': '68566921',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949178&docid=68566911&x=5624',
		'title': '',
		'imageId': '68566911',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949178&docid=68566924&x=5624',
		'title': '',
		'imageId': '68566924',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949178&docid=68566913&x=5624',
		'title': '',
		'imageId': '68566913',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949178&docid=68566914&x=5624',
		'title': '',
		'imageId': '68566914',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949178&docid=68566926&x=5624',
		'title': '',
		'imageId': '68566926',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949178&docid=68566925&x=5624',
		'title': '',
		'imageId': '68566925',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949178&docid=68566927&x=5624',
		'title': '',
		'imageId': '68566927',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949178&docid=68566916&x=5624',
		'title': '',
		'imageId': '68566916',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949178&docid=68566923&x=5624',
		'title': '',
		'imageId': '68566923',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3949178';

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