var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3949618&docid=68576474&x=4043',
		'title': '',
		'imageId': '68576474',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949618&docid=68576475&x=4043',
		'title': '',
		'imageId': '68576475',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949618&docid=68576476&x=4043',
		'title': '',
		'imageId': '68576476',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949618&docid=68576477&x=4043',
		'title': '',
		'imageId': '68576477',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949618&docid=68576480&x=4043',
		'title': '',
		'imageId': '68576480',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949618&docid=68576483&x=4043',
		'title': '',
		'imageId': '68576483',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949618&docid=68576486&x=4043',
		'title': '',
		'imageId': '68576486',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949618&docid=68576489&x=4043',
		'title': '',
		'imageId': '68576489',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949618&docid=68576490&x=4043',
		'title': '',
		'imageId': '68576490',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949618&docid=68576493&x=4043',
		'title': '',
		'imageId': '68576493',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949618&docid=68576501&x=4043',
		'title': '',
		'imageId': '68576501',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3949618';

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