var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3938807&docid=68234902&x=3242',
		'title': '',
		'imageId': '68234902',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938807&docid=68234911&x=3242',
		'title': '',
		'imageId': '68234911',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938807&docid=68234918&x=3242',
		'title': '',
		'imageId': '68234918',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938807&docid=68234936&x=3242',
		'title': '',
		'imageId': '68234936',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938807&docid=68234947&x=3242',
		'title': '',
		'imageId': '68234947',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938807&docid=68234963&x=3242',
		'title': '',
		'imageId': '68234963',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938807&docid=68234969&x=3242',
		'title': '',
		'imageId': '68234969',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938807&docid=68234973&x=3242',
		'title': '',
		'imageId': '68234973',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938807&docid=68234978&x=3242',
		'title': '',
		'imageId': '68234978',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938807&docid=68234996&x=3242',
		'title': '',
		'imageId': '68234996',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3938807';

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