var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3970695&docid=69035612&x=1053',
		'title': '',
		'imageId': '69035612',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970695&docid=69035614&x=1053',
		'title': '',
		'imageId': '69035614',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970695&docid=69035619&x=1053',
		'title': '',
		'imageId': '69035619',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970695&docid=69035625&x=1053',
		'title': '',
		'imageId': '69035625',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970695&docid=69035620&x=1053',
		'title': '',
		'imageId': '69035620',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970695&docid=69035626&x=1053',
		'title': '',
		'imageId': '69035626',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970695&docid=69035631&x=1053',
		'title': '',
		'imageId': '69035631',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970695&docid=69035637&x=1053',
		'title': '',
		'imageId': '69035637',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970695&docid=69035632&x=1053',
		'title': '',
		'imageId': '69035632',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970695&docid=69035613&x=1053',
		'title': '',
		'imageId': '69035613',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3970695';

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