var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4010452&docid=69971018&x=5049',
		'title': '',
		'imageId': '69971018',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010452&docid=69971019&x=5049',
		'title': '',
		'imageId': '69971019',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010452&docid=69971020&x=5049',
		'title': '',
		'imageId': '69971020',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010452&docid=69971023&x=5049',
		'title': '',
		'imageId': '69971023',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010452&docid=69971021&x=5049',
		'title': '',
		'imageId': '69971021',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010452&docid=69971024&x=5049',
		'title': '',
		'imageId': '69971024',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010452&docid=69971022&x=5049',
		'title': '',
		'imageId': '69971022',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010452&docid=69971027&x=5049',
		'title': '',
		'imageId': '69971027',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010452&docid=69971025&x=5049',
		'title': '',
		'imageId': '69971025',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010452&docid=69971026&x=5049',
		'title': '',
		'imageId': '69971026',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4010452';

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