var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3966556&docid=68964461&x=1023',
		'title': '',
		'imageId': '68964461',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966556&docid=68964466&x=1023',
		'title': '',
		'imageId': '68964466',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966556&docid=68964464&x=1023',
		'title': '',
		'imageId': '68964464',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966556&docid=68964457&x=1023',
		'title': '',
		'imageId': '68964457',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966556&docid=68964462&x=1023',
		'title': '',
		'imageId': '68964462',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966556&docid=68964458&x=1023',
		'title': '',
		'imageId': '68964458',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966556&docid=68964456&x=1023',
		'title': '',
		'imageId': '68964456',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966556&docid=68964460&x=1023',
		'title': '',
		'imageId': '68964460',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966556&docid=68964459&x=1023',
		'title': '',
		'imageId': '68964459',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966556&docid=68964465&x=1023',
		'title': '',
		'imageId': '68964465',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966556&docid=68964463&x=1023',
		'title': '',
		'imageId': '68964463',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3966556';

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