var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3976311&docid=68854356&x=1237',
		'title': '',
		'imageId': '68854356',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976311&docid=68854368&x=1237',
		'title': '',
		'imageId': '68854368',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976311&docid=68854384&x=1237',
		'title': '',
		'imageId': '68854384',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976311&docid=68854403&x=1237',
		'title': '',
		'imageId': '68854403',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976311&docid=68854422&x=1237',
		'title': '',
		'imageId': '68854422',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976311&docid=68854469&x=1237',
		'title': '',
		'imageId': '68854469',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976311&docid=68854486&x=1237',
		'title': '',
		'imageId': '68854486',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976311&docid=68854503&x=1237',
		'title': '',
		'imageId': '68854503',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976311&docid=68854513&x=1237',
		'title': '',
		'imageId': '68854513',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976311&docid=68854520&x=1237',
		'title': '',
		'imageId': '68854520',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3976311';

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