var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4019972&docid=70233925&x=2715',
		'title': '',
		'imageId': '70233925',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019972&docid=70233926&x=2715',
		'title': '',
		'imageId': '70233926',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019972&docid=70233927&x=2715',
		'title': '',
		'imageId': '70233927',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019972&docid=70233933&x=2715',
		'title': '',
		'imageId': '70233933',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019972&docid=70233942&x=2715',
		'title': '',
		'imageId': '70233942',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019972&docid=70233943&x=2715',
		'title': '',
		'imageId': '70233943',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019972&docid=70233944&x=2715',
		'title': '',
		'imageId': '70233944',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019972&docid=70233945&x=2715',
		'title': '',
		'imageId': '70233945',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019972&docid=70233947&x=2715',
		'title': '',
		'imageId': '70233947',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019972&docid=70233948&x=2715',
		'title': '',
		'imageId': '70233948',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4019972';

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