var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3921921&docid=65950372&x=3327',
		'title': '',
		'imageId': '65950372',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921921&docid=65950377&x=3327',
		'title': '',
		'imageId': '65950377',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921921&docid=65950376&x=3327',
		'title': '',
		'imageId': '65950376',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921921&docid=65950381&x=3327',
		'title': '',
		'imageId': '65950381',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921921&docid=65950379&x=3327',
		'title': '',
		'imageId': '65950379',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921921&docid=65950373&x=3327',
		'title': '',
		'imageId': '65950373',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921921&docid=65950374&x=3327',
		'title': '',
		'imageId': '65950374',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921921&docid=65950375&x=3327',
		'title': '',
		'imageId': '65950375',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921921&docid=65950378&x=3327',
		'title': '',
		'imageId': '65950378',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921921&docid=65950380&x=3327',
		'title': '',
		'imageId': '65950380',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3921921';

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