var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4036883&docid=70651472&x=1152',
		'title': '',
		'imageId': '70651472',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036883&docid=70651473&x=1152',
		'title': '',
		'imageId': '70651473',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036883&docid=70651483&x=1152',
		'title': '',
		'imageId': '70651483',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036883&docid=70651476&x=1152',
		'title': '',
		'imageId': '70651476',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036883&docid=70651482&x=1152',
		'title': '',
		'imageId': '70651482',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036883&docid=70651470&x=1152',
		'title': '',
		'imageId': '70651470',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036883&docid=70651478&x=1152',
		'title': '',
		'imageId': '70651478',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036883&docid=70651481&x=1152',
		'title': '',
		'imageId': '70651481',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036883&docid=70651477&x=1152',
		'title': '',
		'imageId': '70651477',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036883&docid=70651469&x=1152',
		'title': '',
		'imageId': '70651469',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036883&docid=70651480&x=1152',
		'title': '',
		'imageId': '70651480',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036883&docid=70651479&x=1152',
		'title': '',
		'imageId': '70651479',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036883&docid=70651467&x=1152',
		'title': '',
		'imageId': '70651467',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036883&docid=70651475&x=1152',
		'title': '',
		'imageId': '70651475',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036883&docid=70651474&x=1152',
		'title': '',
		'imageId': '70651474',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036883&docid=70651471&x=1152',
		'title': '',
		'imageId': '70651471',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036883&docid=70651468&x=1152',
		'title': '',
		'imageId': '70651468',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036883&docid=70651485&x=1152',
		'title': '',
		'imageId': '70651485',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4036883&docid=70651484&x=1152',
		'title': '',
		'imageId': '70651484',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4036883';

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