var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3952703&docid=68965752&x=054',
		'title': '',
		'imageId': '68965752',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952703&docid=68965750&x=054',
		'title': '',
		'imageId': '68965750',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952703&docid=68965751&x=054',
		'title': '',
		'imageId': '68965751',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952703&docid=68965753&x=054',
		'title': '',
		'imageId': '68965753',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952703&docid=68965754&x=054',
		'title': '',
		'imageId': '68965754',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952703&docid=68965757&x=054',
		'title': '',
		'imageId': '68965757',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952703&docid=68965755&x=054',
		'title': '',
		'imageId': '68965755',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952703&docid=68965756&x=054',
		'title': '',
		'imageId': '68965756',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952703&docid=68965758&x=054',
		'title': '',
		'imageId': '68965758',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952703&docid=68965759&x=054',
		'title': '',
		'imageId': '68965759',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3952703';

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