var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3948687&docid=68557660&x=5942',
		'title': '',
		'imageId': '68557660',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948687&docid=68557659&x=5942',
		'title': '',
		'imageId': '68557659',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948687&docid=68557657&x=5942',
		'title': '',
		'imageId': '68557657',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948687&docid=68557656&x=5942',
		'title': '',
		'imageId': '68557656',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948687&docid=68557674&x=5942',
		'title': '',
		'imageId': '68557674',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948687&docid=68557675&x=5942',
		'title': '',
		'imageId': '68557675',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948687&docid=68557655&x=5942',
		'title': '',
		'imageId': '68557655',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948687&docid=68557673&x=5942',
		'title': '',
		'imageId': '68557673',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948687&docid=68557676&x=5942',
		'title': '',
		'imageId': '68557676',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948687&docid=68557658&x=5942',
		'title': '',
		'imageId': '68557658',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3948687';

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