var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3924290&docid=68004712&x=1513',
		'title': '',
		'imageId': '68004712',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924290&docid=68004716&x=1513',
		'title': '',
		'imageId': '68004716',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924290&docid=68004718&x=1513',
		'title': '',
		'imageId': '68004718',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924290&docid=68004721&x=1513',
		'title': '',
		'imageId': '68004721',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924290&docid=68004715&x=1513',
		'title': '',
		'imageId': '68004715',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924290&docid=68004714&x=1513',
		'title': '',
		'imageId': '68004714',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924290&docid=68004719&x=1513',
		'title': '',
		'imageId': '68004719',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924290&docid=68004720&x=1513',
		'title': '',
		'imageId': '68004720',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924290&docid=68004717&x=1513',
		'title': '',
		'imageId': '68004717',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924290&docid=68004713&x=1513',
		'title': '',
		'imageId': '68004713',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924290&docid=68083373&x=1513',
		'title': '',
		'imageId': '68083373',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3924290';

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