var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3929180&docid=68113316&x=2415',
		'title': '',
		'imageId': '68113316',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929180&docid=68113312&x=2415',
		'title': '',
		'imageId': '68113312',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929180&docid=68113321&x=2415',
		'title': '',
		'imageId': '68113321',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929180&docid=68113319&x=2415',
		'title': '',
		'imageId': '68113319',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929180&docid=68113318&x=2415',
		'title': '',
		'imageId': '68113318',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929180&docid=68113315&x=2415',
		'title': '',
		'imageId': '68113315',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929180&docid=68113320&x=2415',
		'title': '',
		'imageId': '68113320',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929180&docid=68113313&x=2415',
		'title': '',
		'imageId': '68113313',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929180&docid=68113317&x=2415',
		'title': '',
		'imageId': '68113317',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929180&docid=68113314&x=2415',
		'title': '',
		'imageId': '68113314',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3929180';

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