var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4008729&docid=69928666&x=2211',
		'title': '',
		'imageId': '69928666',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008729&docid=69928668&x=2211',
		'title': '',
		'imageId': '69928668',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008729&docid=69928670&x=2211',
		'title': '',
		'imageId': '69928670',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008729&docid=69928671&x=2211',
		'title': '',
		'imageId': '69928671',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008729&docid=69928663&x=2211',
		'title': '',
		'imageId': '69928663',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008729&docid=69928667&x=2211',
		'title': '',
		'imageId': '69928667',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008729&docid=69928673&x=2211',
		'title': '',
		'imageId': '69928673',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008729&docid=69928664&x=2211',
		'title': '',
		'imageId': '69928664',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008729&docid=69928672&x=2211',
		'title': '',
		'imageId': '69928672',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008729&docid=69928669&x=2211',
		'title': '',
		'imageId': '69928669',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008729&docid=69928665&x=2211',
		'title': '',
		'imageId': '69928665',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4008729';

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