var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4078179&docid=71662975&x=4451',
		'title': '',
		'imageId': '71662975',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4078179&docid=71663006&x=4451',
		'title': '',
		'imageId': '71663006',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4078179&docid=71663053&x=4451',
		'title': '',
		'imageId': '71663053',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4078179&docid=71662985&x=4451',
		'title': '',
		'imageId': '71662985',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4078179&docid=71662931&x=4451',
		'title': '',
		'imageId': '71662931',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4078179&docid=71662932&x=4451',
		'title': '',
		'imageId': '71662932',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4078179&docid=71662933&x=4451',
		'title': '',
		'imageId': '71662933',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4078179&docid=71662937&x=4451',
		'title': '',
		'imageId': '71662937',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4078179&docid=71662971&x=4451',
		'title': '',
		'imageId': '71662971',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4078179&docid=71662972&x=4451',
		'title': '',
		'imageId': '71662972',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4078179&docid=71662977&x=4451',
		'title': '',
		'imageId': '71662977',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4078179&docid=71663008&x=4451',
		'title': '',
		'imageId': '71663008',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4078179&docid=71663011&x=4451',
		'title': '',
		'imageId': '71663011',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4078179&docid=71663023&x=4451',
		'title': '',
		'imageId': '71663023',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4078179&docid=71663014&x=4451',
		'title': '',
		'imageId': '71663014',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4078179&docid=71663038&x=4451',
		'title': '',
		'imageId': '71663038',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4078179&docid=71663049&x=4451',
		'title': '',
		'imageId': '71663049',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4078179&docid=71662929&x=4451',
		'title': '',
		'imageId': '71662929',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4078179&docid=71662930&x=4451',
		'title': '',
		'imageId': '71662930',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4078179';

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