var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4018880&docid=70201680&x=5326',
		'title': '',
		'imageId': '70201680',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018880&docid=70201681&x=5326',
		'title': '',
		'imageId': '70201681',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018880&docid=70201685&x=5326',
		'title': '',
		'imageId': '70201685',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018880&docid=70201686&x=5326',
		'title': '',
		'imageId': '70201686',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018880&docid=70201687&x=5326',
		'title': '',
		'imageId': '70201687',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018880&docid=70201688&x=5326',
		'title': '',
		'imageId': '70201688',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018880&docid=70201689&x=5326',
		'title': '',
		'imageId': '70201689',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018880&docid=70201690&x=5326',
		'title': '',
		'imageId': '70201690',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018880&docid=70201692&x=5326',
		'title': '',
		'imageId': '70201692',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018880&docid=70201693&x=5326',
		'title': '',
		'imageId': '70201693',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4018880';

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