var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4089595&docid=71925282&x=4232',
		'title': '',
		'imageId': '71925282',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089595&docid=71925285&x=4232',
		'title': '',
		'imageId': '71925285',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089595&docid=71925275&x=4232',
		'title': '',
		'imageId': '71925275',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089595&docid=71925278&x=4232',
		'title': '',
		'imageId': '71925278',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089595&docid=71925277&x=4232',
		'title': '',
		'imageId': '71925277',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089595&docid=71925274&x=4232',
		'title': '',
		'imageId': '71925274',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089595&docid=71925284&x=4232',
		'title': '',
		'imageId': '71925284',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089595&docid=71925279&x=4232',
		'title': '',
		'imageId': '71925279',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089595&docid=71925281&x=4232',
		'title': '',
		'imageId': '71925281',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089595&docid=71925280&x=4232',
		'title': '',
		'imageId': '71925280',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089595&docid=71925276&x=4232',
		'title': '',
		'imageId': '71925276',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4089595';

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