var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4056458&docid=71162164&x=453',
		'title': '',
		'imageId': '71162164',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056458&docid=71162182&x=453',
		'title': '',
		'imageId': '71162182',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056458&docid=71162197&x=453',
		'title': '',
		'imageId': '71162197',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056458&docid=71162166&x=453',
		'title': '',
		'imageId': '71162166',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056458&docid=71162145&x=453',
		'title': '',
		'imageId': '71162145',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056458&docid=71162144&x=453',
		'title': '',
		'imageId': '71162144',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056458&docid=71162147&x=453',
		'title': '',
		'imageId': '71162147',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056458&docid=71162148&x=453',
		'title': '',
		'imageId': '71162148',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056458&docid=71162165&x=453',
		'title': '',
		'imageId': '71162165',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056458&docid=71162161&x=453',
		'title': '',
		'imageId': '71162161',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056458&docid=71162162&x=453',
		'title': '',
		'imageId': '71162162',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056458&docid=71162163&x=453',
		'title': '',
		'imageId': '71162163',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056458&docid=71162179&x=453',
		'title': '',
		'imageId': '71162179',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056458&docid=71162180&x=453',
		'title': '',
		'imageId': '71162180',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056458&docid=71162181&x=453',
		'title': '',
		'imageId': '71162181',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056458&docid=71162183&x=453',
		'title': '',
		'imageId': '71162183',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056458&docid=71162184&x=453',
		'title': '',
		'imageId': '71162184',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056458&docid=71162146&x=453',
		'title': '',
		'imageId': '71162146',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056458&docid=71162143&x=453',
		'title': '',
		'imageId': '71162143',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4056458';

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