var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3932474&docid=68188728&x=5335',
		'title': '',
		'imageId': '68188728',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932474&docid=68188738&x=5335',
		'title': '',
		'imageId': '68188738',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932474&docid=68188737&x=5335',
		'title': '',
		'imageId': '68188737',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932474&docid=68188729&x=5335',
		'title': '',
		'imageId': '68188729',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932474&docid=68188730&x=5335',
		'title': '',
		'imageId': '68188730',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932474&docid=68188732&x=5335',
		'title': '',
		'imageId': '68188732',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932474&docid=68188733&x=5335',
		'title': '',
		'imageId': '68188733',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932474&docid=68188736&x=5335',
		'title': '',
		'imageId': '68188736',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932474&docid=68188735&x=5335',
		'title': '',
		'imageId': '68188735',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932474&docid=68188734&x=5335',
		'title': '',
		'imageId': '68188734',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932474&docid=68188731&x=5335',
		'title': '',
		'imageId': '68188731',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3932474';

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