var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4090410&docid=71954765&x=472',
		'title': '',
		'imageId': '71954765',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090410&docid=71954826&x=472',
		'title': '',
		'imageId': '71954826',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090410&docid=71954824&x=472',
		'title': '',
		'imageId': '71954824',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090410&docid=71954865&x=472',
		'title': '',
		'imageId': '71954865',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090410&docid=71954744&x=472',
		'title': '',
		'imageId': '71954744',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090410&docid=71954745&x=472',
		'title': '',
		'imageId': '71954745',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090410&docid=71954746&x=472',
		'title': '',
		'imageId': '71954746',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090410&docid=71954747&x=472',
		'title': '',
		'imageId': '71954747',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090410&docid=71954760&x=472',
		'title': '',
		'imageId': '71954760',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090410&docid=71954774&x=472',
		'title': '',
		'imageId': '71954774',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090410&docid=71954828&x=472',
		'title': '',
		'imageId': '71954828',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090410&docid=71954823&x=472',
		'title': '',
		'imageId': '71954823',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090410&docid=71954825&x=472',
		'title': '',
		'imageId': '71954825',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090410&docid=71954827&x=472',
		'title': '',
		'imageId': '71954827',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090410&docid=71954851&x=472',
		'title': '',
		'imageId': '71954851',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090410&docid=71954853&x=472',
		'title': '',
		'imageId': '71954853',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090410&docid=71954868&x=472',
		'title': '',
		'imageId': '71954868',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090410&docid=71954743&x=472',
		'title': '',
		'imageId': '71954743',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090410&docid=71954742&x=472',
		'title': '',
		'imageId': '71954742',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4090410';

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