var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3948830&docid=68559872&x=427',
		'title': '',
		'imageId': '68559872',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948830&docid=68559875&x=427',
		'title': '',
		'imageId': '68559875',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948830&docid=68559876&x=427',
		'title': '',
		'imageId': '68559876',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948830&docid=68559877&x=427',
		'title': '',
		'imageId': '68559877',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948830&docid=68559878&x=427',
		'title': '',
		'imageId': '68559878',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948830&docid=68559879&x=427',
		'title': '',
		'imageId': '68559879',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948830&docid=68559880&x=427',
		'title': '',
		'imageId': '68559880',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948830&docid=68559882&x=427',
		'title': '',
		'imageId': '68559882',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948830&docid=68559883&x=427',
		'title': '',
		'imageId': '68559883',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948830&docid=68559885&x=427',
		'title': '',
		'imageId': '68559885',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948830&docid=68559886&x=427',
		'title': '',
		'imageId': '68559886',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948830&docid=68559887&x=427',
		'title': '',
		'imageId': '68559887',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948830&docid=68559888&x=427',
		'title': '',
		'imageId': '68559888',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948830&docid=68559889&x=427',
		'title': '',
		'imageId': '68559889',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948830&docid=68559890&x=427',
		'title': '',
		'imageId': '68559890',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948830&docid=68559891&x=427',
		'title': '',
		'imageId': '68559891',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948830&docid=68559892&x=427',
		'title': '',
		'imageId': '68559892',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948830&docid=68559893&x=427',
		'title': '',
		'imageId': '68559893',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948830&docid=68559894&x=427',
		'title': '',
		'imageId': '68559894',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948830&docid=68559895&x=427',
		'title': '',
		'imageId': '68559895',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3948830';

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