var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3978398&docid=69213709&x=2920',
		'title': '',
		'imageId': '69213709',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978398&docid=69213712&x=2920',
		'title': '',
		'imageId': '69213712',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978398&docid=69213713&x=2920',
		'title': '',
		'imageId': '69213713',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978398&docid=69213714&x=2920',
		'title': '',
		'imageId': '69213714',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978398&docid=69213715&x=2920',
		'title': '',
		'imageId': '69213715',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978398&docid=69213710&x=2920',
		'title': '',
		'imageId': '69213710',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978398&docid=69213708&x=2920',
		'title': '',
		'imageId': '69213708',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978398&docid=69213716&x=2920',
		'title': '',
		'imageId': '69213716',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978398&docid=69213711&x=2920',
		'title': '',
		'imageId': '69213711',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978398&docid=69213717&x=2920',
		'title': '',
		'imageId': '69213717',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3978398';

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