var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3948614&docid=68554848&x=563',
		'title': '',
		'imageId': '68554848',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948614&docid=68554862&x=563',
		'title': '',
		'imageId': '68554862',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948614&docid=68554863&x=563',
		'title': '',
		'imageId': '68554863',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948614&docid=68554864&x=563',
		'title': '',
		'imageId': '68554864',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948614&docid=68554865&x=563',
		'title': '',
		'imageId': '68554865',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948614&docid=68554866&x=563',
		'title': '',
		'imageId': '68554866',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948614&docid=68554867&x=563',
		'title': '',
		'imageId': '68554867',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948614&docid=68554869&x=563',
		'title': '',
		'imageId': '68554869',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948614&docid=68554868&x=563',
		'title': '',
		'imageId': '68554868',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948614&docid=68554870&x=563',
		'title': '',
		'imageId': '68554870',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948614&docid=68554871&x=563',
		'title': '',
		'imageId': '68554871',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948614&docid=68554872&x=563',
		'title': '',
		'imageId': '68554872',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948614&docid=68554873&x=563',
		'title': '',
		'imageId': '68554873',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948614&docid=68554874&x=563',
		'title': '',
		'imageId': '68554874',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948614&docid=68554875&x=563',
		'title': '',
		'imageId': '68554875',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948614&docid=68554876&x=563',
		'title': '',
		'imageId': '68554876',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948614&docid=68554877&x=563',
		'title': '',
		'imageId': '68554877',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948614&docid=68554878&x=563',
		'title': '',
		'imageId': '68554878',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948614&docid=68554879&x=563',
		'title': '',
		'imageId': '68554879',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948614&docid=68554880&x=563',
		'title': '',
		'imageId': '68554880',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948614&docid=68554881&x=563',
		'title': '',
		'imageId': '68554881',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948614&docid=68554882&x=563',
		'title': '',
		'imageId': '68554882',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948614&docid=68554883&x=563',
		'title': '',
		'imageId': '68554883',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3948614';

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