var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3903237&docid=67485326&x=941',
		'title': '',
		'imageId': '67485326',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3903237&docid=67485320&x=941',
		'title': '',
		'imageId': '67485320',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3903237&docid=67485328&x=941',
		'title': '',
		'imageId': '67485328',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3903237&docid=67485323&x=941',
		'title': '',
		'imageId': '67485323',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3903237&docid=67485321&x=941',
		'title': '',
		'imageId': '67485321',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3903237&docid=67485325&x=941',
		'title': '',
		'imageId': '67485325',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3903237&docid=67485319&x=941',
		'title': '',
		'imageId': '67485319',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3903237&docid=67485327&x=941',
		'title': '',
		'imageId': '67485327',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3903237&docid=67485324&x=941',
		'title': '',
		'imageId': '67485324',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3903237&docid=67485322&x=941',
		'title': '',
		'imageId': '67485322',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3903237';

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