var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=931273&docid=7225374&x=1957',
		'title': '',
		'imageId': '7225374',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=931273&docid=7225377&x=1957',
		'title': '',
		'imageId': '7225377',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=931273&docid=7225380&x=1957',
		'title': '',
		'imageId': '7225380',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=931273&docid=7225383&x=1957',
		'title': '',
		'imageId': '7225383',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=931273&docid=7225642&x=1957',
		'title': '',
		'imageId': '7225642',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=931273&docid=7225646&x=1957',
		'title': '',
		'imageId': '7225646',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=931273&docid=7230012&x=1957',
		'title': '',
		'imageId': '7230012',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=931273&docid=7230015&x=1957',
		'title': '',
		'imageId': '7230015',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=931273&docid=7230018&x=1957',
		'title': '',
		'imageId': '7230018',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=931273&docid=7230021&x=1957',
		'title': '',
		'imageId': '7230021',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=931273&docid=7230024&x=1957',
		'title': '',
		'imageId': '7230024',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=931273&docid=7230027&x=1957',
		'title': '',
		'imageId': '7230027',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #931273';

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