var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3998000&docid=69659879&x=5912',
		'title': '',
		'imageId': '69659879',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998000&docid=69659882&x=5912',
		'title': '',
		'imageId': '69659882',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998000&docid=69659885&x=5912',
		'title': '',
		'imageId': '69659885',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998000&docid=69659888&x=5912',
		'title': '',
		'imageId': '69659888',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998000&docid=69659891&x=5912',
		'title': '',
		'imageId': '69659891',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998000&docid=69659894&x=5912',
		'title': '',
		'imageId': '69659894',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998000&docid=69659897&x=5912',
		'title': '',
		'imageId': '69659897',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998000&docid=69659900&x=5912',
		'title': '',
		'imageId': '69659900',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998000&docid=69659903&x=5912',
		'title': '',
		'imageId': '69659903',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998000&docid=69659906&x=5912',
		'title': '',
		'imageId': '69659906',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3998000';

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