var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3973347&docid=69301895&x=4849',
		'title': '',
		'imageId': '69301895',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973347&docid=69301893&x=4849',
		'title': '',
		'imageId': '69301893',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973347&docid=69301894&x=4849',
		'title': '',
		'imageId': '69301894',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973347&docid=69301896&x=4849',
		'title': '',
		'imageId': '69301896',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973347&docid=68857932&x=4849',
		'title': '',
		'imageId': '68857932',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973347&docid=68857943&x=4849',
		'title': '',
		'imageId': '68857943',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973347&docid=68857934&x=4849',
		'title': '',
		'imageId': '68857934',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973347&docid=68857933&x=4849',
		'title': '',
		'imageId': '68857933',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973347&docid=68857936&x=4849',
		'title': '',
		'imageId': '68857936',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973347&docid=68857937&x=4849',
		'title': '',
		'imageId': '68857937',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973347&docid=68857942&x=4849',
		'title': '',
		'imageId': '68857942',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3973347';

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