var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3950341&docid=68591941&x=1238',
		'title': '',
		'imageId': '68591941',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950341&docid=68591946&x=1238',
		'title': '',
		'imageId': '68591946',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950341&docid=68591945&x=1238',
		'title': '',
		'imageId': '68591945',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950341&docid=68591949&x=1238',
		'title': '',
		'imageId': '68591949',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950341&docid=68591944&x=1238',
		'title': '',
		'imageId': '68591944',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950341&docid=68591943&x=1238',
		'title': '',
		'imageId': '68591943',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950341&docid=68591948&x=1238',
		'title': '',
		'imageId': '68591948',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950341&docid=68591947&x=1238',
		'title': '',
		'imageId': '68591947',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950341&docid=68591942&x=1238',
		'title': '',
		'imageId': '68591942',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950341&docid=68591950&x=1238',
		'title': '',
		'imageId': '68591950',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3950341';

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