var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4001904&docid=69760441&x=1529',
		'title': '',
		'imageId': '69760441',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001904&docid=69760446&x=1529',
		'title': '',
		'imageId': '69760446',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001904&docid=69760448&x=1529',
		'title': '',
		'imageId': '69760448',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001904&docid=69760445&x=1529',
		'title': '',
		'imageId': '69760445',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001904&docid=69760449&x=1529',
		'title': '',
		'imageId': '69760449',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001904&docid=69760442&x=1529',
		'title': '',
		'imageId': '69760442',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001904&docid=69760444&x=1529',
		'title': '',
		'imageId': '69760444',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001904&docid=69760443&x=1529',
		'title': '',
		'imageId': '69760443',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001904&docid=69760450&x=1529',
		'title': '',
		'imageId': '69760450',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001904&docid=69760447&x=1529',
		'title': '',
		'imageId': '69760447',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4001904';

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