var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3964211&docid=68911463&x=3444',
		'title': '',
		'imageId': '68911463',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964211&docid=68911467&x=3444',
		'title': '',
		'imageId': '68911467',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964211&docid=68911465&x=3444',
		'title': '',
		'imageId': '68911465',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964211&docid=68911461&x=3444',
		'title': '',
		'imageId': '68911461',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964211&docid=68911462&x=3444',
		'title': '',
		'imageId': '68911462',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964211&docid=68911460&x=3444',
		'title': '',
		'imageId': '68911460',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964211&docid=68911466&x=3444',
		'title': '',
		'imageId': '68911466',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964211&docid=68911469&x=3444',
		'title': '',
		'imageId': '68911469',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964211&docid=68911470&x=3444',
		'title': '',
		'imageId': '68911470',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964211&docid=68911464&x=3444',
		'title': '',
		'imageId': '68911464',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3964211';

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