var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4018477&docid=70188708&x=328',
		'title': '',
		'imageId': '70188708',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018477&docid=70188712&x=328',
		'title': '',
		'imageId': '70188712',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018477&docid=70188709&x=328',
		'title': '',
		'imageId': '70188709',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018477&docid=70188714&x=328',
		'title': '',
		'imageId': '70188714',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018477&docid=70188713&x=328',
		'title': '',
		'imageId': '70188713',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018477&docid=70188715&x=328',
		'title': '',
		'imageId': '70188715',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018477&docid=70188711&x=328',
		'title': '',
		'imageId': '70188711',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018477&docid=70188710&x=328',
		'title': '',
		'imageId': '70188710',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4018477';

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