var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3959199&docid=68573946&x=24',
		'title': '',
		'imageId': '68573946',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959199&docid=68573947&x=24',
		'title': '',
		'imageId': '68573947',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959199&docid=68573949&x=24',
		'title': '',
		'imageId': '68573949',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959199&docid=68573940&x=24',
		'title': '',
		'imageId': '68573940',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959199&docid=68573941&x=24',
		'title': '',
		'imageId': '68573941',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959199&docid=68573945&x=24',
		'title': '',
		'imageId': '68573945',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959199&docid=68573948&x=24',
		'title': '',
		'imageId': '68573948',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959199&docid=68573943&x=24',
		'title': '',
		'imageId': '68573943',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959199&docid=68573942&x=24',
		'title': '',
		'imageId': '68573942',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959199&docid=68573944&x=24',
		'title': '',
		'imageId': '68573944',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3959199';

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