var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4029672&docid=70444967&x=1914',
		'title': '',
		'imageId': '70444967',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029672&docid=70444979&x=1914',
		'title': '',
		'imageId': '70444979',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029672&docid=70444983&x=1914',
		'title': '',
		'imageId': '70444983',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029672&docid=70444987&x=1914',
		'title': '',
		'imageId': '70444987',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029672&docid=70444976&x=1914',
		'title': '',
		'imageId': '70444976',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029672&docid=70444980&x=1914',
		'title': '',
		'imageId': '70444980',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029672&docid=70444972&x=1914',
		'title': '',
		'imageId': '70444972',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029672&docid=70444975&x=1914',
		'title': '',
		'imageId': '70444975',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029672&docid=70444985&x=1914',
		'title': '',
		'imageId': '70444985',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029672&docid=70444970&x=1914',
		'title': '',
		'imageId': '70444970',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029672&docid=70444968&x=1914',
		'title': '',
		'imageId': '70444968',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029672&docid=70444974&x=1914',
		'title': '',
		'imageId': '70444974',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029672&docid=70444973&x=1914',
		'title': '',
		'imageId': '70444973',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029672&docid=70444986&x=1914',
		'title': '',
		'imageId': '70444986',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029672&docid=70444984&x=1914',
		'title': '',
		'imageId': '70444984',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029672&docid=70444982&x=1914',
		'title': '',
		'imageId': '70444982',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029672&docid=70444978&x=1914',
		'title': '',
		'imageId': '70444978',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029672&docid=70444977&x=1914',
		'title': '',
		'imageId': '70444977',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029672&docid=70444981&x=1914',
		'title': '',
		'imageId': '70444981',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029672&docid=70444969&x=1914',
		'title': '',
		'imageId': '70444969',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4029672';

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