var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4065212&docid=71368092&x=3623',
		'title': '',
		'imageId': '71368092',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4065212&docid=71368098&x=3623',
		'title': '',
		'imageId': '71368098',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4065212&docid=71368093&x=3623',
		'title': '',
		'imageId': '71368093',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4065212&docid=71368094&x=3623',
		'title': '',
		'imageId': '71368094',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4065212&docid=71368091&x=3623',
		'title': '',
		'imageId': '71368091',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4065212&docid=71368097&x=3623',
		'title': '',
		'imageId': '71368097',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4065212&docid=71368090&x=3623',
		'title': '',
		'imageId': '71368090',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4065212&docid=71368096&x=3623',
		'title': '',
		'imageId': '71368096',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4065212';

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