var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3909778&docid=67637196&x=5718',
		'title': '',
		'imageId': '67637196',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909778&docid=67637197&x=5718',
		'title': '',
		'imageId': '67637197',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909778&docid=67637198&x=5718',
		'title': '',
		'imageId': '67637198',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909778&docid=67637199&x=5718',
		'title': '',
		'imageId': '67637199',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909778&docid=67637200&x=5718',
		'title': '',
		'imageId': '67637200',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909778&docid=67637201&x=5718',
		'title': '',
		'imageId': '67637201',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909778&docid=67637202&x=5718',
		'title': '',
		'imageId': '67637202',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3909778';

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