var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4055576&docid=71140376&x=3112',
		'title': '',
		'imageId': '71140376',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055576&docid=71140627&x=3112',
		'title': '',
		'imageId': '71140627',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055576&docid=71140669&x=3112',
		'title': '',
		'imageId': '71140669',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055576&docid=71140663&x=3112',
		'title': '',
		'imageId': '71140663',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055576&docid=71140659&x=3112',
		'title': '',
		'imageId': '71140659',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055576&docid=71140662&x=3112',
		'title': '',
		'imageId': '71140662',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055576&docid=71140671&x=3112',
		'title': '',
		'imageId': '71140671',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055576&docid=71140665&x=3112',
		'title': '',
		'imageId': '71140665',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055576&docid=71140674&x=3112',
		'title': '',
		'imageId': '71140674',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055576&docid=71140664&x=3112',
		'title': '',
		'imageId': '71140664',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055576&docid=71140660&x=3112',
		'title': '',
		'imageId': '71140660',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055576&docid=71140673&x=3112',
		'title': '',
		'imageId': '71140673',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055576&docid=71140672&x=3112',
		'title': '',
		'imageId': '71140672',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055576&docid=71140670&x=3112',
		'title': '',
		'imageId': '71140670',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055576&docid=71140667&x=3112',
		'title': '',
		'imageId': '71140667',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055576&docid=71140668&x=3112',
		'title': '',
		'imageId': '71140668',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055576&docid=71140666&x=3112',
		'title': '',
		'imageId': '71140666',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055576&docid=71140661&x=3112',
		'title': '',
		'imageId': '71140661',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4055576';

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