var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4017068&docid=70159818&x=4437',
		'title': '',
		'imageId': '70159818',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017068&docid=70159820&x=4437',
		'title': '',
		'imageId': '70159820',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017068&docid=70159817&x=4437',
		'title': '',
		'imageId': '70159817',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017068&docid=70159819&x=4437',
		'title': '',
		'imageId': '70159819',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017068&docid=70159816&x=4437',
		'title': '',
		'imageId': '70159816',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017068&docid=70159821&x=4437',
		'title': '',
		'imageId': '70159821',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017068&docid=70159823&x=4437',
		'title': '',
		'imageId': '70159823',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017068&docid=70159824&x=4437',
		'title': '',
		'imageId': '70159824',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017068&docid=70159825&x=4437',
		'title': '',
		'imageId': '70159825',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017068&docid=70159815&x=4437',
		'title': '',
		'imageId': '70159815',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017068&docid=70159822&x=4437',
		'title': '',
		'imageId': '70159822',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4017068';

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