var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4071865&docid=71498032&x=5140',
		'title': '',
		'imageId': '71498032',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071865&docid=71498035&x=5140',
		'title': '',
		'imageId': '71498035',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071865&docid=71498038&x=5140',
		'title': '',
		'imageId': '71498038',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071865&docid=71498039&x=5140',
		'title': '',
		'imageId': '71498039',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071865&docid=71498041&x=5140',
		'title': '',
		'imageId': '71498041',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071865&docid=71498048&x=5140',
		'title': '',
		'imageId': '71498048',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071865&docid=71498050&x=5140',
		'title': '',
		'imageId': '71498050',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071865&docid=71498053&x=5140',
		'title': '',
		'imageId': '71498053',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071865&docid=71498056&x=5140',
		'title': '',
		'imageId': '71498056',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071865&docid=71498057&x=5140',
		'title': '',
		'imageId': '71498057',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071865&docid=71498060&x=5140',
		'title': '',
		'imageId': '71498060',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4071865';

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