var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4011070&docid=69984766&x=4911',
		'title': '',
		'imageId': '69984766',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011070&docid=69984768&x=4911',
		'title': '',
		'imageId': '69984768',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011070&docid=69984770&x=4911',
		'title': '',
		'imageId': '69984770',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011070&docid=69984778&x=4911',
		'title': '',
		'imageId': '69984778',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011070&docid=69984779&x=4911',
		'title': '',
		'imageId': '69984779',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011070&docid=69984780&x=4911',
		'title': '',
		'imageId': '69984780',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011070&docid=69984781&x=4911',
		'title': '',
		'imageId': '69984781',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011070&docid=69984782&x=4911',
		'title': '',
		'imageId': '69984782',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011070&docid=69984783&x=4911',
		'title': '',
		'imageId': '69984783',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011070&docid=69984784&x=4911',
		'title': '',
		'imageId': '69984784',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4011070';

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