var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4053781&docid=71094967&x=2548',
		'title': '',
		'imageId': '71094967',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053781&docid=71094978&x=2548',
		'title': '',
		'imageId': '71094978',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053781&docid=71094977&x=2548',
		'title': '',
		'imageId': '71094977',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053781&docid=71094983&x=2548',
		'title': '',
		'imageId': '71094983',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053781&docid=71094966&x=2548',
		'title': '',
		'imageId': '71094966',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053781&docid=71094984&x=2548',
		'title': '',
		'imageId': '71094984',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053781&docid=71094975&x=2548',
		'title': '',
		'imageId': '71094975',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053781&docid=71094974&x=2548',
		'title': '',
		'imageId': '71094974',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053781&docid=71094968&x=2548',
		'title': '',
		'imageId': '71094968',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053781&docid=71094971&x=2548',
		'title': '',
		'imageId': '71094971',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053781&docid=71094969&x=2548',
		'title': '',
		'imageId': '71094969',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053781&docid=71094970&x=2548',
		'title': '',
		'imageId': '71094970',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053781&docid=71094973&x=2548',
		'title': '',
		'imageId': '71094973',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053781&docid=71094976&x=2548',
		'title': '',
		'imageId': '71094976',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053781&docid=71094972&x=2548',
		'title': '',
		'imageId': '71094972',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053781&docid=71094982&x=2548',
		'title': '',
		'imageId': '71094982',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053781&docid=71094980&x=2548',
		'title': '',
		'imageId': '71094980',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053781&docid=71094981&x=2548',
		'title': '',
		'imageId': '71094981',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4053781&docid=71094979&x=2548',
		'title': '',
		'imageId': '71094979',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4053781';

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