var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4055447&docid=70986619&x=413',
		'title': '',
		'imageId': '70986619',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055447&docid=70986615&x=413',
		'title': '',
		'imageId': '70986615',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055447&docid=70986616&x=413',
		'title': '',
		'imageId': '70986616',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055447&docid=70986617&x=413',
		'title': '',
		'imageId': '70986617',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055447&docid=70986618&x=413',
		'title': '',
		'imageId': '70986618',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055447&docid=70986620&x=413',
		'title': '',
		'imageId': '70986620',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055447&docid=70986621&x=413',
		'title': '',
		'imageId': '70986621',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055447&docid=70986622&x=413',
		'title': '',
		'imageId': '70986622',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055447&docid=70986623&x=413',
		'title': '',
		'imageId': '70986623',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055447&docid=70986624&x=413',
		'title': '',
		'imageId': '70986624',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055447&docid=70986625&x=413',
		'title': '',
		'imageId': '70986625',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055447&docid=70986626&x=413',
		'title': '',
		'imageId': '70986626',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055447&docid=70986627&x=413',
		'title': '',
		'imageId': '70986627',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055447&docid=70986628&x=413',
		'title': '',
		'imageId': '70986628',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055447&docid=70986629&x=413',
		'title': '',
		'imageId': '70986629',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055447&docid=70986630&x=413',
		'title': '',
		'imageId': '70986630',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055447&docid=70986631&x=413',
		'title': '',
		'imageId': '70986631',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055447&docid=70986632&x=413',
		'title': '',
		'imageId': '70986632',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055447&docid=70986633&x=413',
		'title': '',
		'imageId': '70986633',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055447&docid=70986634&x=413',
		'title': '',
		'imageId': '70986634',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4055447';

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