var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3972272&docid=69077863&x=3425',
		'title': '',
		'imageId': '69077863',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972272&docid=69077859&x=3425',
		'title': '',
		'imageId': '69077859',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972272&docid=69077862&x=3425',
		'title': '',
		'imageId': '69077862',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972272&docid=69077864&x=3425',
		'title': '',
		'imageId': '69077864',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972272&docid=69077867&x=3425',
		'title': '',
		'imageId': '69077867',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972272&docid=69077866&x=3425',
		'title': '',
		'imageId': '69077866',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972272&docid=69077865&x=3425',
		'title': '',
		'imageId': '69077865',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972272&docid=69077869&x=3425',
		'title': '',
		'imageId': '69077869',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972272&docid=69077868&x=3425',
		'title': '',
		'imageId': '69077868',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972272&docid=69077860&x=3425',
		'title': '',
		'imageId': '69077860',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972272&docid=69077861&x=3425',
		'title': '',
		'imageId': '69077861',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3972272';

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