var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4035487&docid=69847442&x=1740',
		'title': '',
		'imageId': '69847442',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035487&docid=69847443&x=1740',
		'title': '',
		'imageId': '69847443',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035487&docid=69847444&x=1740',
		'title': '',
		'imageId': '69847444',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035487&docid=69847445&x=1740',
		'title': '',
		'imageId': '69847445',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035487&docid=69847446&x=1740',
		'title': '',
		'imageId': '69847446',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035487&docid=69847447&x=1740',
		'title': '',
		'imageId': '69847447',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035487&docid=69847448&x=1740',
		'title': '',
		'imageId': '69847448',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035487&docid=69847449&x=1740',
		'title': '',
		'imageId': '69847449',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035487&docid=69847450&x=1740',
		'title': '',
		'imageId': '69847450',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035487&docid=69847451&x=1740',
		'title': '',
		'imageId': '69847451',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035487&docid=69847452&x=1740',
		'title': '',
		'imageId': '69847452',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4035487';

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