var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4069955&docid=71512224&x=2124',
		'title': '',
		'imageId': '71512224',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069955&docid=71512211&x=2124',
		'title': '',
		'imageId': '71512211',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069955&docid=71512227&x=2124',
		'title': '',
		'imageId': '71512227',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069955&docid=71512221&x=2124',
		'title': '',
		'imageId': '71512221',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069955&docid=71512220&x=2124',
		'title': '',
		'imageId': '71512220',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069955&docid=71512218&x=2124',
		'title': '',
		'imageId': '71512218',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069955&docid=71512217&x=2124',
		'title': '',
		'imageId': '71512217',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069955&docid=71512213&x=2124',
		'title': '',
		'imageId': '71512213',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069955&docid=71512225&x=2124',
		'title': '',
		'imageId': '71512225',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069955&docid=71512222&x=2124',
		'title': '',
		'imageId': '71512222',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069955&docid=71512215&x=2124',
		'title': '',
		'imageId': '71512215',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069955&docid=71512216&x=2124',
		'title': '',
		'imageId': '71512216',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069955&docid=71512210&x=2124',
		'title': '',
		'imageId': '71512210',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069955&docid=71512226&x=2124',
		'title': '',
		'imageId': '71512226',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069955&docid=71512212&x=2124',
		'title': '',
		'imageId': '71512212',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069955&docid=71512214&x=2124',
		'title': '',
		'imageId': '71512214',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069955&docid=71512219&x=2124',
		'title': '',
		'imageId': '71512219',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069955&docid=71512223&x=2124',
		'title': '',
		'imageId': '71512223',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4069955';

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