var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3959611&docid=68812887&x=279',
		'title': '',
		'imageId': '68812887',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959611&docid=68812882&x=279',
		'title': '',
		'imageId': '68812882',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959611&docid=68812885&x=279',
		'title': '',
		'imageId': '68812885',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959611&docid=68812884&x=279',
		'title': '',
		'imageId': '68812884',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959611&docid=68812886&x=279',
		'title': '',
		'imageId': '68812886',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959611&docid=68812883&x=279',
		'title': '',
		'imageId': '68812883',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959611&docid=68812880&x=279',
		'title': '',
		'imageId': '68812880',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959611&docid=68812879&x=279',
		'title': '',
		'imageId': '68812879',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959611&docid=68812888&x=279',
		'title': '',
		'imageId': '68812888',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959611&docid=68812881&x=279',
		'title': '',
		'imageId': '68812881',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3959611';

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