var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3995999&docid=69663171&x=2622',
		'title': '',
		'imageId': '69663171',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995999&docid=69663167&x=2622',
		'title': '',
		'imageId': '69663167',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995999&docid=69663173&x=2622',
		'title': '',
		'imageId': '69663173',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995999&docid=69663172&x=2622',
		'title': '',
		'imageId': '69663172',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995999&docid=69663176&x=2622',
		'title': '',
		'imageId': '69663176',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995999&docid=69663168&x=2622',
		'title': '',
		'imageId': '69663168',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995999&docid=69663169&x=2622',
		'title': '',
		'imageId': '69663169',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995999&docid=69663170&x=2622',
		'title': '',
		'imageId': '69663170',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995999&docid=69663166&x=2622',
		'title': '',
		'imageId': '69663166',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995999&docid=69663175&x=2622',
		'title': '',
		'imageId': '69663175',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995999&docid=69663174&x=2622',
		'title': '',
		'imageId': '69663174',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995999&docid=69715686&x=2622',
		'title': '',
		'imageId': '69715686',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3995999';

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