var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3974990&docid=68261595&x=3434',
		'title': '',
		'imageId': '68261595',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974990&docid=68261592&x=3434',
		'title': '',
		'imageId': '68261592',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974990&docid=68261593&x=3434',
		'title': '',
		'imageId': '68261593',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974990&docid=68261597&x=3434',
		'title': '',
		'imageId': '68261597',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974990&docid=68261599&x=3434',
		'title': '',
		'imageId': '68261599',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974990&docid=68261596&x=3434',
		'title': '',
		'imageId': '68261596',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974990&docid=68261601&x=3434',
		'title': '',
		'imageId': '68261601',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974990&docid=68261594&x=3434',
		'title': '',
		'imageId': '68261594',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974990&docid=68261633&x=3434',
		'title': '',
		'imageId': '68261633',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974990&docid=68261600&x=3434',
		'title': '',
		'imageId': '68261600',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974990&docid=68263230&x=3434',
		'title': '',
		'imageId': '68263230',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3974990';

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