var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3930157&docid=68131851&x=186',
		'title': '',
		'imageId': '68131851',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930157&docid=68131855&x=186',
		'title': '',
		'imageId': '68131855',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930157&docid=68131858&x=186',
		'title': '',
		'imageId': '68131858',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930157&docid=68131859&x=186',
		'title': '',
		'imageId': '68131859',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930157&docid=68131853&x=186',
		'title': '',
		'imageId': '68131853',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930157&docid=68131854&x=186',
		'title': '',
		'imageId': '68131854',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930157&docid=68131857&x=186',
		'title': '',
		'imageId': '68131857',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930157&docid=68131856&x=186',
		'title': '',
		'imageId': '68131856',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930157&docid=68131852&x=186',
		'title': '',
		'imageId': '68131852',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930157&docid=68131860&x=186',
		'title': '',
		'imageId': '68131860',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930157&docid=68131861&x=186',
		'title': '',
		'imageId': '68131861',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3930157';

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