var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3880435&docid=66888055&x=918',
		'title': '',
		'imageId': '66888055',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3880435&docid=66888047&x=918',
		'title': '',
		'imageId': '66888047',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3880435&docid=66888048&x=918',
		'title': '',
		'imageId': '66888048',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3880435&docid=66888049&x=918',
		'title': '',
		'imageId': '66888049',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3880435&docid=66888050&x=918',
		'title': '',
		'imageId': '66888050',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3880435&docid=66888051&x=918',
		'title': '',
		'imageId': '66888051',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3880435&docid=66888052&x=918',
		'title': '',
		'imageId': '66888052',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3880435&docid=66888053&x=918',
		'title': '',
		'imageId': '66888053',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3880435&docid=66888056&x=918',
		'title': '',
		'imageId': '66888056',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3880435&docid=66888054&x=918',
		'title': '',
		'imageId': '66888054',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3880435';

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