var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3931462&docid=68156884&x=2845',
		'title': '',
		'imageId': '68156884',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931462&docid=68156885&x=2845',
		'title': '',
		'imageId': '68156885',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931462&docid=68156886&x=2845',
		'title': '',
		'imageId': '68156886',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931462&docid=68156887&x=2845',
		'title': '',
		'imageId': '68156887',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931462&docid=68156888&x=2845',
		'title': '',
		'imageId': '68156888',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931462&docid=68156889&x=2845',
		'title': '',
		'imageId': '68156889',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931462&docid=68156890&x=2845',
		'title': '',
		'imageId': '68156890',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931462&docid=68156891&x=2845',
		'title': '',
		'imageId': '68156891',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931462&docid=68156892&x=2845',
		'title': '',
		'imageId': '68156892',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931462&docid=68156893&x=2845',
		'title': '',
		'imageId': '68156893',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931462&docid=68156894&x=2845',
		'title': '',
		'imageId': '68156894',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931462&docid=68156895&x=2845',
		'title': '',
		'imageId': '68156895',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931462&docid=68156896&x=2845',
		'title': '',
		'imageId': '68156896',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931462&docid=68156897&x=2845',
		'title': '',
		'imageId': '68156897',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931462&docid=68156898&x=2845',
		'title': '',
		'imageId': '68156898',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931462&docid=68156899&x=2845',
		'title': '',
		'imageId': '68156899',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3931462';

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