var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3948520&docid=68552756&x=563',
		'title': '',
		'imageId': '68552756',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948520&docid=68552766&x=563',
		'title': '',
		'imageId': '68552766',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948520&docid=68552768&x=563',
		'title': '',
		'imageId': '68552768',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948520&docid=68552762&x=563',
		'title': '',
		'imageId': '68552762',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948520&docid=68552760&x=563',
		'title': '',
		'imageId': '68552760',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948520&docid=68552763&x=563',
		'title': '',
		'imageId': '68552763',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948520&docid=68552770&x=563',
		'title': '',
		'imageId': '68552770',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948520&docid=68552774&x=563',
		'title': '',
		'imageId': '68552774',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948520&docid=68552776&x=563',
		'title': '',
		'imageId': '68552776',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948520&docid=68552773&x=563',
		'title': '',
		'imageId': '68552773',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948520&docid=68552771&x=563',
		'title': '',
		'imageId': '68552771',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948520&docid=68552772&x=563',
		'title': '',
		'imageId': '68552772',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948520&docid=68552769&x=563',
		'title': '',
		'imageId': '68552769',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948520&docid=68552777&x=563',
		'title': '',
		'imageId': '68552777',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948520&docid=68552779&x=563',
		'title': '',
		'imageId': '68552779',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948520&docid=68552781&x=563',
		'title': '',
		'imageId': '68552781',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948520&docid=68552775&x=563',
		'title': '',
		'imageId': '68552775',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948520&docid=68552780&x=563',
		'title': '',
		'imageId': '68552780',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948520&docid=68552778&x=563',
		'title': '',
		'imageId': '68552778',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948520&docid=68552764&x=563',
		'title': '',
		'imageId': '68552764',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948520&docid=68552767&x=563',
		'title': '',
		'imageId': '68552767',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948520&docid=68552765&x=563',
		'title': '',
		'imageId': '68552765',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948520&docid=68552761&x=563',
		'title': '',
		'imageId': '68552761',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3948520';

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