var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4029525&docid=70488330&x=4752',
		'title': '',
		'imageId': '70488330',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029525&docid=70488331&x=4752',
		'title': '',
		'imageId': '70488331',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029525&docid=70488327&x=4752',
		'title': '',
		'imageId': '70488327',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029525&docid=70488329&x=4752',
		'title': '',
		'imageId': '70488329',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029525&docid=70488328&x=4752',
		'title': '',
		'imageId': '70488328',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029525&docid=70443543&x=4752',
		'title': '',
		'imageId': '70443543',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029525&docid=70488325&x=4752',
		'title': '',
		'imageId': '70488325',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029525&docid=70443542&x=4752',
		'title': '',
		'imageId': '70443542',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029525&docid=70443538&x=4752',
		'title': '',
		'imageId': '70443538',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029525&docid=70443533&x=4752',
		'title': '',
		'imageId': '70443533',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029525&docid=70443536&x=4752',
		'title': '',
		'imageId': '70443536',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029525&docid=70443535&x=4752',
		'title': '',
		'imageId': '70443535',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029525&docid=70443532&x=4752',
		'title': '',
		'imageId': '70443532',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029525&docid=70443539&x=4752',
		'title': '',
		'imageId': '70443539',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029525&docid=70443534&x=4752',
		'title': '',
		'imageId': '70443534',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029525&docid=70443541&x=4752',
		'title': '',
		'imageId': '70443541',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029525&docid=70443537&x=4752',
		'title': '',
		'imageId': '70443537',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029525&docid=70443540&x=4752',
		'title': '',
		'imageId': '70443540',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029525&docid=70488326&x=4752',
		'title': '',
		'imageId': '70488326',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4029525';

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