var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3965050&docid=68363592&x=3112',
		'title': '',
		'imageId': '68363592',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965050&docid=68363601&x=3112',
		'title': '',
		'imageId': '68363601',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965050&docid=68363595&x=3112',
		'title': '',
		'imageId': '68363595',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965050&docid=68363596&x=3112',
		'title': '',
		'imageId': '68363596',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965050&docid=68363600&x=3112',
		'title': '',
		'imageId': '68363600',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965050&docid=68363598&x=3112',
		'title': '',
		'imageId': '68363598',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965050&docid=68363597&x=3112',
		'title': '',
		'imageId': '68363597',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965050&docid=68363602&x=3112',
		'title': '',
		'imageId': '68363602',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965050&docid=68363599&x=3112',
		'title': '',
		'imageId': '68363599',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965050&docid=68363593&x=3112',
		'title': '',
		'imageId': '68363593',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965050&docid=68363594&x=3112',
		'title': '',
		'imageId': '68363594',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3965050';

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