var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4011586&docid=69993610&x=717',
		'title': '',
		'imageId': '69993610',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011586&docid=69993613&x=717',
		'title': '',
		'imageId': '69993613',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011586&docid=69993615&x=717',
		'title': '',
		'imageId': '69993615',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011586&docid=69993614&x=717',
		'title': '',
		'imageId': '69993614',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011586&docid=69993618&x=717',
		'title': '',
		'imageId': '69993618',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011586&docid=69993622&x=717',
		'title': '',
		'imageId': '69993622',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011586&docid=69993625&x=717',
		'title': '',
		'imageId': '69993625',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011586&docid=69993631&x=717',
		'title': '',
		'imageId': '69993631',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011586&docid=69993612&x=717',
		'title': '',
		'imageId': '69993612',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011586&docid=69993611&x=717',
		'title': '',
		'imageId': '69993611',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4011586';

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