var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3914825&docid=67764555&x=2644',
		'title': '',
		'imageId': '67764555',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3914825&docid=67764557&x=2644',
		'title': '',
		'imageId': '67764557',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3914825&docid=67764561&x=2644',
		'title': '',
		'imageId': '67764561',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3914825&docid=67764553&x=2644',
		'title': '',
		'imageId': '67764553',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3914825&docid=67764560&x=2644',
		'title': '',
		'imageId': '67764560',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3914825&docid=67764558&x=2644',
		'title': '',
		'imageId': '67764558',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3914825&docid=67764551&x=2644',
		'title': '',
		'imageId': '67764551',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3914825&docid=67764559&x=2644',
		'title': '',
		'imageId': '67764559',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3914825&docid=67764552&x=2644',
		'title': '',
		'imageId': '67764552',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3914825&docid=67764556&x=2644',
		'title': '',
		'imageId': '67764556',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3914825&docid=67764554&x=2644',
		'title': '',
		'imageId': '67764554',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3914825';

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