var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3971465&docid=69051273&x=4545',
		'title': '',
		'imageId': '69051273',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971465&docid=69052037&x=4545',
		'title': '',
		'imageId': '69052037',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971465&docid=69051274&x=4545',
		'title': '',
		'imageId': '69051274',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971465&docid=69052038&x=4545',
		'title': '',
		'imageId': '69052038',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971465&docid=69051275&x=4545',
		'title': '',
		'imageId': '69051275',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971465&docid=69052039&x=4545',
		'title': '',
		'imageId': '69052039',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971465&docid=69052040&x=4545',
		'title': '',
		'imageId': '69052040',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971465&docid=69051280&x=4545',
		'title': '',
		'imageId': '69051280',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971465&docid=69051289&x=4545',
		'title': '',
		'imageId': '69051289',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971465&docid=69052041&x=4545',
		'title': '',
		'imageId': '69052041',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3971465';

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