var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3912945&docid=67704914&x=2330',
		'title': '',
		'imageId': '67704914',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912945&docid=67704916&x=2330',
		'title': '',
		'imageId': '67704916',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912945&docid=67704917&x=2330',
		'title': '',
		'imageId': '67704917',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912945&docid=67704918&x=2330',
		'title': '',
		'imageId': '67704918',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912945&docid=67704919&x=2330',
		'title': '',
		'imageId': '67704919',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912945&docid=67704920&x=2330',
		'title': '',
		'imageId': '67704920',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912945&docid=67704921&x=2330',
		'title': '',
		'imageId': '67704921',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912945&docid=67704922&x=2330',
		'title': '',
		'imageId': '67704922',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912945&docid=67704923&x=2330',
		'title': '',
		'imageId': '67704923',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912945&docid=67704924&x=2330',
		'title': '',
		'imageId': '67704924',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912945&docid=67704925&x=2330',
		'title': '',
		'imageId': '67704925',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3912945';

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