var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3999091&docid=69717147&x=1912',
		'title': '',
		'imageId': '69717147',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999091&docid=69717136&x=1912',
		'title': '',
		'imageId': '69717136',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999091&docid=69717137&x=1912',
		'title': '',
		'imageId': '69717137',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999091&docid=69717142&x=1912',
		'title': '',
		'imageId': '69717142',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999091&docid=69717139&x=1912',
		'title': '',
		'imageId': '69717139',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999091&docid=69717145&x=1912',
		'title': '',
		'imageId': '69717145',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999091&docid=69717140&x=1912',
		'title': '',
		'imageId': '69717140',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999091&docid=69717155&x=1912',
		'title': '',
		'imageId': '69717155',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999091&docid=69717148&x=1912',
		'title': '',
		'imageId': '69717148',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999091&docid=69717146&x=1912',
		'title': '',
		'imageId': '69717146',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999091&docid=69717150&x=1912',
		'title': '',
		'imageId': '69717150',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999091&docid=69717149&x=1912',
		'title': '',
		'imageId': '69717149',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999091&docid=69717154&x=1912',
		'title': '',
		'imageId': '69717154',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999091&docid=69717143&x=1912',
		'title': '',
		'imageId': '69717143',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999091&docid=69717151&x=1912',
		'title': '',
		'imageId': '69717151',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999091&docid=69717144&x=1912',
		'title': '',
		'imageId': '69717144',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999091&docid=69717138&x=1912',
		'title': '',
		'imageId': '69717138',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999091&docid=69717141&x=1912',
		'title': '',
		'imageId': '69717141',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999091&docid=59270723&x=1912',
		'title': '',
		'imageId': '59270723',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999091&docid=59270722&x=1912',
		'title': '',
		'imageId': '59270722',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3999091';

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