var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3979676&docid=69252745&x=3752',
		'title': '',
		'imageId': '69252745',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979676&docid=69252739&x=3752',
		'title': '',
		'imageId': '69252739',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979676&docid=69252738&x=3752',
		'title': '',
		'imageId': '69252738',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979676&docid=69252742&x=3752',
		'title': '',
		'imageId': '69252742',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979676&docid=69252746&x=3752',
		'title': '',
		'imageId': '69252746',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979676&docid=69252744&x=3752',
		'title': '',
		'imageId': '69252744',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979676&docid=69252741&x=3752',
		'title': '',
		'imageId': '69252741',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979676&docid=69252740&x=3752',
		'title': '',
		'imageId': '69252740',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979676&docid=69252743&x=3752',
		'title': '',
		'imageId': '69252743',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979676&docid=69252748&x=3752',
		'title': '',
		'imageId': '69252748',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979676&docid=69252747&x=3752',
		'title': '',
		'imageId': '69252747',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3979676';

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