var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3887622&docid=67367733&x=2829',
		'title': '',
		'imageId': '67367733',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887622&docid=67367741&x=2829',
		'title': '',
		'imageId': '67367741',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887622&docid=67367746&x=2829',
		'title': '',
		'imageId': '67367746',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887622&docid=67367754&x=2829',
		'title': '',
		'imageId': '67367754',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887622&docid=67367791&x=2829',
		'title': '',
		'imageId': '67367791',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887622&docid=67367813&x=2829',
		'title': '',
		'imageId': '67367813',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887622&docid=67367849&x=2829',
		'title': '',
		'imageId': '67367849',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887622&docid=67367853&x=2829',
		'title': '',
		'imageId': '67367853',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887622&docid=67367857&x=2829',
		'title': '',
		'imageId': '67367857',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887622&docid=67367967&x=2829',
		'title': '',
		'imageId': '67367967',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887622&docid=67367986&x=2829',
		'title': '',
		'imageId': '67367986',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3887622&docid=67606200&x=2829',
		'title': '',
		'imageId': '67606200',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3887622';

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