var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3975946&docid=69170463&x=3728',
		'title': '',
		'imageId': '69170463',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975946&docid=69170453&x=3728',
		'title': '',
		'imageId': '69170453',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975946&docid=69170457&x=3728',
		'title': '',
		'imageId': '69170457',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975946&docid=69170459&x=3728',
		'title': '',
		'imageId': '69170459',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975946&docid=69170454&x=3728',
		'title': '',
		'imageId': '69170454',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975946&docid=69170455&x=3728',
		'title': '',
		'imageId': '69170455',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975946&docid=69170461&x=3728',
		'title': '',
		'imageId': '69170461',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975946&docid=69170460&x=3728',
		'title': '',
		'imageId': '69170460',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975946&docid=69170458&x=3728',
		'title': '',
		'imageId': '69170458',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975946&docid=69170456&x=3728',
		'title': '',
		'imageId': '69170456',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975946&docid=69170464&x=3728',
		'title': '',
		'imageId': '69170464',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975946&docid=69170462&x=3728',
		'title': '',
		'imageId': '69170462',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3975946';

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