var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4027220&docid=70382652&x=4239',
		'title': '',
		'imageId': '70382652',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4027220&docid=70382672&x=4239',
		'title': '',
		'imageId': '70382672',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4027220&docid=70382675&x=4239',
		'title': '',
		'imageId': '70382675',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4027220&docid=70382653&x=4239',
		'title': '',
		'imageId': '70382653',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4027220&docid=70382637&x=4239',
		'title': '',
		'imageId': '70382637',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4027220&docid=70382636&x=4239',
		'title': '',
		'imageId': '70382636',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4027220&docid=70382639&x=4239',
		'title': '',
		'imageId': '70382639',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4027220&docid=70382638&x=4239',
		'title': '',
		'imageId': '70382638',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4027220&docid=70382654&x=4239',
		'title': '',
		'imageId': '70382654',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4027220&docid=70382656&x=4239',
		'title': '',
		'imageId': '70382656',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4027220&docid=70382655&x=4239',
		'title': '',
		'imageId': '70382655',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4027220&docid=70382657&x=4239',
		'title': '',
		'imageId': '70382657',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4027220&docid=70382670&x=4239',
		'title': '',
		'imageId': '70382670',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4027220&docid=70382671&x=4239',
		'title': '',
		'imageId': '70382671',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4027220&docid=70382673&x=4239',
		'title': '',
		'imageId': '70382673',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4027220&docid=70382674&x=4239',
		'title': '',
		'imageId': '70382674',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4027220&docid=70382635&x=4239',
		'title': '',
		'imageId': '70382635',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4027220&docid=70382634&x=4239',
		'title': '',
		'imageId': '70382634',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4027220';

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