var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3909720&docid=67002739&x=4819',
		'title': '',
		'imageId': '67002739',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909720&docid=67002736&x=4819',
		'title': '',
		'imageId': '67002736',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909720&docid=67002743&x=4819',
		'title': '',
		'imageId': '67002743',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909720&docid=67002744&x=4819',
		'title': '',
		'imageId': '67002744',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909720&docid=67002738&x=4819',
		'title': '',
		'imageId': '67002738',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909720&docid=67002735&x=4819',
		'title': '',
		'imageId': '67002735',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909720&docid=67002741&x=4819',
		'title': '',
		'imageId': '67002741',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909720&docid=67002737&x=4819',
		'title': '',
		'imageId': '67002737',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909720&docid=67002740&x=4819',
		'title': '',
		'imageId': '67002740',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909720&docid=67002742&x=4819',
		'title': '',
		'imageId': '67002742',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3909720';

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