var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4008109&docid=69906703&x=454',
		'title': '',
		'imageId': '69906703',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008109&docid=69906670&x=454',
		'title': '',
		'imageId': '69906670',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008109&docid=69906671&x=454',
		'title': '',
		'imageId': '69906671',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008109&docid=69906693&x=454',
		'title': '',
		'imageId': '69906693',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008109&docid=69906673&x=454',
		'title': '',
		'imageId': '69906673',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008109&docid=69906675&x=454',
		'title': '',
		'imageId': '69906675',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008109&docid=69906687&x=454',
		'title': '',
		'imageId': '69906687',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008109&docid=69906691&x=454',
		'title': '',
		'imageId': '69906691',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008109&docid=69906700&x=454',
		'title': '',
		'imageId': '69906700',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008109&docid=69906668&x=454',
		'title': '',
		'imageId': '69906668',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008109&docid=69906697&x=454',
		'title': '',
		'imageId': '69906697',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4008109';

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