var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3999799&docid=69703840&x=558',
		'title': 'MY-2-8',
		'imageId': '69703840',
		'alt' : 'MY-2-8',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999799&docid=69703845&x=558',
		'title': '',
		'imageId': '69703845',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999799&docid=69703846&x=558',
		'title': '',
		'imageId': '69703846',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999799&docid=69703844&x=558',
		'title': '',
		'imageId': '69703844',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999799&docid=69703847&x=558',
		'title': '',
		'imageId': '69703847',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999799&docid=69703848&x=558',
		'title': '',
		'imageId': '69703848',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999799&docid=69703849&x=558',
		'title': '',
		'imageId': '69703849',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999799&docid=69703854&x=558',
		'title': '',
		'imageId': '69703854',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999799&docid=69703851&x=558',
		'title': '',
		'imageId': '69703851',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999799&docid=69703852&x=558',
		'title': '',
		'imageId': '69703852',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999799&docid=69703853&x=558',
		'title': '',
		'imageId': '69703853',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999799&docid=69703850&x=558',
		'title': '',
		'imageId': '69703850',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999799&docid=69703855&x=558',
		'title': '',
		'imageId': '69703855',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999799&docid=69703856&x=558',
		'title': '',
		'imageId': '69703856',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999799&docid=69703857&x=558',
		'title': '',
		'imageId': '69703857',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999799&docid=69703858&x=558',
		'title': '',
		'imageId': '69703858',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999799&docid=69703859&x=558',
		'title': '',
		'imageId': '69703859',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3999799';

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