var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3926755&docid=67664743&x=5431',
		'title': '',
		'imageId': '67664743',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926755&docid=67664731&x=5431',
		'title': '',
		'imageId': '67664731',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926755&docid=67664729&x=5431',
		'title': '',
		'imageId': '67664729',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926755&docid=67664741&x=5431',
		'title': '',
		'imageId': '67664741',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926755&docid=67664732&x=5431',
		'title': '',
		'imageId': '67664732',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926755&docid=67664742&x=5431',
		'title': '',
		'imageId': '67664742',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926755&docid=67664738&x=5431',
		'title': '',
		'imageId': '67664738',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926755&docid=67664736&x=5431',
		'title': '',
		'imageId': '67664736',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926755&docid=67664739&x=5431',
		'title': '',
		'imageId': '67664739',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926755&docid=67664740&x=5431',
		'title': '',
		'imageId': '67664740',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926755&docid=67664735&x=5431',
		'title': '',
		'imageId': '67664735',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3926755';

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