var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3975059&docid=67857540&x=1248',
		'title': '',
		'imageId': '67857540',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975059&docid=67857541&x=1248',
		'title': '',
		'imageId': '67857541',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975059&docid=67857542&x=1248',
		'title': '',
		'imageId': '67857542',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975059&docid=67857543&x=1248',
		'title': '',
		'imageId': '67857543',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975059&docid=67857544&x=1248',
		'title': '',
		'imageId': '67857544',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975059&docid=67857545&x=1248',
		'title': '',
		'imageId': '67857545',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975059&docid=67857546&x=1248',
		'title': '',
		'imageId': '67857546',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975059&docid=67857547&x=1248',
		'title': '',
		'imageId': '67857547',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975059&docid=67857550&x=1248',
		'title': '',
		'imageId': '67857550',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975059&docid=67857549&x=1248',
		'title': '',
		'imageId': '67857549',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975059&docid=67857548&x=1248',
		'title': '',
		'imageId': '67857548',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3975059';

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