var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4014853&docid=70072049&x=4338',
		'title': '',
		'imageId': '70072049',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014853&docid=70072050&x=4338',
		'title': '',
		'imageId': '70072050',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014853&docid=70072051&x=4338',
		'title': '',
		'imageId': '70072051',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014853&docid=70072052&x=4338',
		'title': '',
		'imageId': '70072052',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014853&docid=70072053&x=4338',
		'title': '',
		'imageId': '70072053',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014853&docid=70072054&x=4338',
		'title': '',
		'imageId': '70072054',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014853&docid=70072062&x=4338',
		'title': '',
		'imageId': '70072062',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014853&docid=70072064&x=4338',
		'title': '',
		'imageId': '70072064',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014853&docid=70072063&x=4338',
		'title': '',
		'imageId': '70072063',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014853&docid=70072069&x=4338',
		'title': '',
		'imageId': '70072069',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4014853';

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