var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3891269&docid=67176312&x=3631',
		'title': '',
		'imageId': '67176312',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891269&docid=67176319&x=3631',
		'title': '',
		'imageId': '67176319',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891269&docid=67176322&x=3631',
		'title': '',
		'imageId': '67176322',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891269&docid=67176323&x=3631',
		'title': '',
		'imageId': '67176323',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891269&docid=67176324&x=3631',
		'title': '',
		'imageId': '67176324',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891269&docid=67176326&x=3631',
		'title': '',
		'imageId': '67176326',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891269&docid=67176327&x=3631',
		'title': '',
		'imageId': '67176327',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891269&docid=67176328&x=3631',
		'title': '',
		'imageId': '67176328',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891269&docid=67176329&x=3631',
		'title': '',
		'imageId': '67176329',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891269&docid=67176330&x=3631',
		'title': '',
		'imageId': '67176330',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3891269';

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