var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3958600&docid=68788409&x=3630',
		'title': '',
		'imageId': '68788409',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958600&docid=68788411&x=3630',
		'title': '',
		'imageId': '68788411',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958600&docid=68788412&x=3630',
		'title': '',
		'imageId': '68788412',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958600&docid=68788413&x=3630',
		'title': '',
		'imageId': '68788413',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958600&docid=68788415&x=3630',
		'title': '',
		'imageId': '68788415',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958600&docid=68788414&x=3630',
		'title': '',
		'imageId': '68788414',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958600&docid=68788417&x=3630',
		'title': '',
		'imageId': '68788417',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958600&docid=68788418&x=3630',
		'title': '',
		'imageId': '68788418',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958600&docid=68788419&x=3630',
		'title': '',
		'imageId': '68788419',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958600&docid=68788416&x=3630',
		'title': '',
		'imageId': '68788416',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3958600';

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