var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3976885&docid=69188758&x=2943',
		'title': '',
		'imageId': '69188758',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976885&docid=69188762&x=2943',
		'title': '',
		'imageId': '69188762',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976885&docid=69188763&x=2943',
		'title': '',
		'imageId': '69188763',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976885&docid=69188765&x=2943',
		'title': '',
		'imageId': '69188765',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976885&docid=69188770&x=2943',
		'title': '',
		'imageId': '69188770',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976885&docid=69188773&x=2943',
		'title': '',
		'imageId': '69188773',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976885&docid=69188772&x=2943',
		'title': '',
		'imageId': '69188772',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976885&docid=69188779&x=2943',
		'title': '',
		'imageId': '69188779',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976885&docid=69188780&x=2943',
		'title': '',
		'imageId': '69188780',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976885&docid=69188782&x=2943',
		'title': '',
		'imageId': '69188782',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976885&docid=69188784&x=2943',
		'title': '',
		'imageId': '69188784',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976885&docid=69188785&x=2943',
		'title': '',
		'imageId': '69188785',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976885&docid=69188787&x=2943',
		'title': '',
		'imageId': '69188787',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976885&docid=69188789&x=2943',
		'title': '',
		'imageId': '69188789',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976885&docid=69188791&x=2943',
		'title': '',
		'imageId': '69188791',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976885&docid=69188792&x=2943',
		'title': '',
		'imageId': '69188792',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976885&docid=69188793&x=2943',
		'title': '',
		'imageId': '69188793',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976885&docid=69188794&x=2943',
		'title': '',
		'imageId': '69188794',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976885&docid=69188795&x=2943',
		'title': '',
		'imageId': '69188795',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976885&docid=69188796&x=2943',
		'title': '',
		'imageId': '69188796',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976885&docid=69188797&x=2943',
		'title': '',
		'imageId': '69188797',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976885&docid=69188799&x=2943',
		'title': '',
		'imageId': '69188799',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3976885';

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