var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3883254&docid=66965075&x=3644',
		'title': '',
		'imageId': '66965075',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3883254&docid=66965076&x=3644',
		'title': '',
		'imageId': '66965076',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3883254&docid=66965077&x=3644',
		'title': '',
		'imageId': '66965077',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3883254&docid=66965078&x=3644',
		'title': '',
		'imageId': '66965078',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3883254&docid=66965081&x=3644',
		'title': '',
		'imageId': '66965081',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3883254&docid=66965082&x=3644',
		'title': '',
		'imageId': '66965082',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3883254&docid=66965083&x=3644',
		'title': '',
		'imageId': '66965083',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3883254&docid=66965084&x=3644',
		'title': '',
		'imageId': '66965084',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3883254&docid=66965085&x=3644',
		'title': '',
		'imageId': '66965085',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3883254&docid=66965086&x=3644',
		'title': '',
		'imageId': '66965086',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3883254';

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