var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4056467&docid=71162505&x=453',
		'title': '',
		'imageId': '71162505',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056467&docid=71162524&x=453',
		'title': '',
		'imageId': '71162524',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056467&docid=71162526&x=453',
		'title': '',
		'imageId': '71162526',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056467&docid=71162507&x=453',
		'title': '',
		'imageId': '71162507',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056467&docid=71162488&x=453',
		'title': '',
		'imageId': '71162488',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056467&docid=71162487&x=453',
		'title': '',
		'imageId': '71162487',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056467&docid=71162489&x=453',
		'title': '',
		'imageId': '71162489',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056467&docid=71162486&x=453',
		'title': '',
		'imageId': '71162486',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056467&docid=71162503&x=453',
		'title': '',
		'imageId': '71162503',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056467&docid=71162504&x=453',
		'title': '',
		'imageId': '71162504',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056467&docid=71162508&x=453',
		'title': '',
		'imageId': '71162508',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056467&docid=71162506&x=453',
		'title': '',
		'imageId': '71162506',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056467&docid=71162522&x=453',
		'title': '',
		'imageId': '71162522',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056467&docid=71162523&x=453',
		'title': '',
		'imageId': '71162523',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056467&docid=71162525&x=453',
		'title': '',
		'imageId': '71162525',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056467&docid=71162527&x=453',
		'title': '',
		'imageId': '71162527',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056467&docid=71162490&x=453',
		'title': '',
		'imageId': '71162490',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056467&docid=71162485&x=453',
		'title': '',
		'imageId': '71162485',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4056467';

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