var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3899770&docid=67388586&x=4644',
		'title': '',
		'imageId': '67388586',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899770&docid=67388587&x=4644',
		'title': '',
		'imageId': '67388587',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899770&docid=67388588&x=4644',
		'title': '',
		'imageId': '67388588',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899770&docid=67388589&x=4644',
		'title': '',
		'imageId': '67388589',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899770&docid=67388590&x=4644',
		'title': '',
		'imageId': '67388590',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899770&docid=67388591&x=4644',
		'title': '',
		'imageId': '67388591',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899770&docid=67388592&x=4644',
		'title': '',
		'imageId': '67388592',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899770&docid=67388593&x=4644',
		'title': '',
		'imageId': '67388593',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899770&docid=67388594&x=4644',
		'title': '',
		'imageId': '67388594',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899770&docid=67388595&x=4644',
		'title': '',
		'imageId': '67388595',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899770&docid=67388596&x=4644',
		'title': '',
		'imageId': '67388596',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3899770&docid=67388597&x=4644',
		'title': '',
		'imageId': '67388597',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3899770';

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