var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4002745&docid=69776932&x=2447',
		'title': '',
		'imageId': '69776932',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002745&docid=69776933&x=2447',
		'title': '',
		'imageId': '69776933',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002745&docid=69776937&x=2447',
		'title': '',
		'imageId': '69776937',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002745&docid=69776939&x=2447',
		'title': '',
		'imageId': '69776939',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002745&docid=69776938&x=2447',
		'title': '',
		'imageId': '69776938',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002745&docid=69776941&x=2447',
		'title': '',
		'imageId': '69776941',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002745&docid=69776940&x=2447',
		'title': '',
		'imageId': '69776940',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002745&docid=69776934&x=2447',
		'title': '',
		'imageId': '69776934',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002745&docid=69776935&x=2447',
		'title': '',
		'imageId': '69776935',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002745&docid=69776936&x=2447',
		'title': '',
		'imageId': '69776936',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4002745';

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