var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3887156&docid=67213566&x=3817',
		'title': '',
		'imageId': '67213566',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887156&docid=67213578&x=3817',
		'title': '',
		'imageId': '67213578',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887156&docid=67213586&x=3817',
		'title': '',
		'imageId': '67213586',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887156&docid=67213623&x=3817',
		'title': '',
		'imageId': '67213623',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887156&docid=67213666&x=3817',
		'title': '',
		'imageId': '67213666',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887156&docid=67213670&x=3817',
		'title': '',
		'imageId': '67213670',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887156&docid=67213676&x=3817',
		'title': '',
		'imageId': '67213676',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887156&docid=67213682&x=3817',
		'title': '',
		'imageId': '67213682',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887156&docid=67213699&x=3817',
		'title': '',
		'imageId': '67213699',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887156&docid=67213711&x=3817',
		'title': '',
		'imageId': '67213711',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887156&docid=67565537&x=3817',
		'title': '',
		'imageId': '67565537',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3887156';

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