var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3975266&docid=69152112&x=2110',
		'title': '',
		'imageId': '69152112',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975266&docid=69152111&x=2110',
		'title': '',
		'imageId': '69152111',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975266&docid=69152113&x=2110',
		'title': '',
		'imageId': '69152113',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975266&docid=69152114&x=2110',
		'title': '',
		'imageId': '69152114',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975266&docid=69152115&x=2110',
		'title': '',
		'imageId': '69152115',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975266&docid=69152116&x=2110',
		'title': '',
		'imageId': '69152116',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975266&docid=69152122&x=2110',
		'title': '',
		'imageId': '69152122',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975266&docid=69152125&x=2110',
		'title': '',
		'imageId': '69152125',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975266&docid=69152124&x=2110',
		'title': '',
		'imageId': '69152124',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975266&docid=69152132&x=2110',
		'title': '',
		'imageId': '69152132',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975266&docid=69152133&x=2110',
		'title': '',
		'imageId': '69152133',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3975266';

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