var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3968539&docid=68988468&x=3339',
		'title': '',
		'imageId': '68988468',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968539&docid=68988469&x=3339',
		'title': '',
		'imageId': '68988469',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968539&docid=68988470&x=3339',
		'title': '',
		'imageId': '68988470',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968539&docid=68988471&x=3339',
		'title': '',
		'imageId': '68988471',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968539&docid=68988472&x=3339',
		'title': '',
		'imageId': '68988472',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968539&docid=68988473&x=3339',
		'title': '',
		'imageId': '68988473',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968539&docid=68988474&x=3339',
		'title': '',
		'imageId': '68988474',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968539&docid=68988475&x=3339',
		'title': '',
		'imageId': '68988475',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968539&docid=68988476&x=3339',
		'title': '',
		'imageId': '68988476',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968539&docid=68988477&x=3339',
		'title': '',
		'imageId': '68988477',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3968539';

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