var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4082074&docid=71449956&x=3823',
		'title': '',
		'imageId': '71449956',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4082074&docid=71449957&x=3823',
		'title': '',
		'imageId': '71449957',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4082074&docid=71449953&x=3823',
		'title': '',
		'imageId': '71449953',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4082074&docid=71449954&x=3823',
		'title': '',
		'imageId': '71449954',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4082074&docid=71449952&x=3823',
		'title': '',
		'imageId': '71449952',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4082074&docid=71449955&x=3823',
		'title': '',
		'imageId': '71449955',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4082074&docid=71587643&x=3823',
		'title': '',
		'imageId': '71587643',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4082074&docid=71587647&x=3823',
		'title': '',
		'imageId': '71587647',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4082074&docid=71587645&x=3823',
		'title': '',
		'imageId': '71587645',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4082074&docid=71587646&x=3823',
		'title': '',
		'imageId': '71587646',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4082074&docid=71587644&x=3823',
		'title': '',
		'imageId': '71587644',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4082074';

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