var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3948946&docid=66669035&x=4917',
		'title': '',
		'imageId': '66669035',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948946&docid=66669036&x=4917',
		'title': '',
		'imageId': '66669036',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948946&docid=66669038&x=4917',
		'title': '',
		'imageId': '66669038',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948946&docid=66669039&x=4917',
		'title': '',
		'imageId': '66669039',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948946&docid=66669033&x=4917',
		'title': '',
		'imageId': '66669033',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948946&docid=66669034&x=4917',
		'title': '',
		'imageId': '66669034',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948946&docid=66669040&x=4917',
		'title': '',
		'imageId': '66669040',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948946&docid=66669041&x=4917',
		'title': '',
		'imageId': '66669041',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948946&docid=66669031&x=4917',
		'title': '',
		'imageId': '66669031',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948946&docid=66669032&x=4917',
		'title': '',
		'imageId': '66669032',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3948946';

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