var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3947063&docid=67349023&x=2759',
		'title': '',
		'imageId': '67349023',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947063&docid=67349029&x=2759',
		'title': '',
		'imageId': '67349029',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947063&docid=67349022&x=2759',
		'title': '',
		'imageId': '67349022',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947063&docid=67349024&x=2759',
		'title': '',
		'imageId': '67349024',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947063&docid=67349019&x=2759',
		'title': '',
		'imageId': '67349019',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947063&docid=67349025&x=2759',
		'title': '',
		'imageId': '67349025',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947063&docid=67349021&x=2759',
		'title': '',
		'imageId': '67349021',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947063&docid=67349020&x=2759',
		'title': '',
		'imageId': '67349020',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947063&docid=67349027&x=2759',
		'title': '',
		'imageId': '67349027',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947063&docid=67349028&x=2759',
		'title': '',
		'imageId': '67349028',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947063&docid=67349026&x=2759',
		'title': '',
		'imageId': '67349026',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3947063';

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