var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4010086&docid=69964728&x=4023',
		'title': '',
		'imageId': '69964728',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010086&docid=69964735&x=4023',
		'title': '',
		'imageId': '69964735',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010086&docid=69964737&x=4023',
		'title': '',
		'imageId': '69964737',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010086&docid=69964733&x=4023',
		'title': '',
		'imageId': '69964733',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010086&docid=69964730&x=4023',
		'title': '',
		'imageId': '69964730',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010086&docid=69964729&x=4023',
		'title': '',
		'imageId': '69964729',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010086&docid=69964731&x=4023',
		'title': '',
		'imageId': '69964731',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010086&docid=69964734&x=4023',
		'title': '',
		'imageId': '69964734',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010086&docid=69964732&x=4023',
		'title': '',
		'imageId': '69964732',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010086&docid=69964727&x=4023',
		'title': '',
		'imageId': '69964727',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010086&docid=69964736&x=4023',
		'title': '',
		'imageId': '69964736',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4010086';

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