var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3995158&docid=69611282&x=540',
		'title': '',
		'imageId': '69611282',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995158&docid=69611283&x=540',
		'title': '',
		'imageId': '69611283',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995158&docid=69611274&x=540',
		'title': '',
		'imageId': '69611274',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995158&docid=69611284&x=540',
		'title': '',
		'imageId': '69611284',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995158&docid=69611275&x=540',
		'title': '',
		'imageId': '69611275',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995158&docid=69611279&x=540',
		'title': '',
		'imageId': '69611279',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995158&docid=69611278&x=540',
		'title': '',
		'imageId': '69611278',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995158&docid=69611276&x=540',
		'title': '',
		'imageId': '69611276',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995158&docid=69611277&x=540',
		'title': '',
		'imageId': '69611277',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995158&docid=69611281&x=540',
		'title': '',
		'imageId': '69611281',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3995158&docid=69611280&x=540',
		'title': '',
		'imageId': '69611280',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3995158';

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