var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3964510&docid=68919888&x=3443',
		'title': '',
		'imageId': '68919888',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964510&docid=68919889&x=3443',
		'title': '',
		'imageId': '68919889',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964510&docid=68919890&x=3443',
		'title': '',
		'imageId': '68919890',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964510&docid=68919891&x=3443',
		'title': '',
		'imageId': '68919891',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964510&docid=68919892&x=3443',
		'title': '',
		'imageId': '68919892',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964510&docid=68919893&x=3443',
		'title': '',
		'imageId': '68919893',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964510&docid=68919894&x=3443',
		'title': '',
		'imageId': '68919894',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964510&docid=68919895&x=3443',
		'title': '',
		'imageId': '68919895',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964510&docid=68919896&x=3443',
		'title': '',
		'imageId': '68919896',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964510&docid=68919897&x=3443',
		'title': '',
		'imageId': '68919897',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3964510';

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