var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4009330&docid=69961782&x=4419',
		'title': '',
		'imageId': '69961782',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009330&docid=69961787&x=4419',
		'title': '',
		'imageId': '69961787',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009330&docid=69961788&x=4419',
		'title': '',
		'imageId': '69961788',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009330&docid=69961780&x=4419',
		'title': '',
		'imageId': '69961780',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009330&docid=69961771&x=4419',
		'title': '',
		'imageId': '69961771',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009330&docid=69961783&x=4419',
		'title': '',
		'imageId': '69961783',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009330&docid=69961778&x=4419',
		'title': '',
		'imageId': '69961778',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009330&docid=69961781&x=4419',
		'title': '',
		'imageId': '69961781',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009330&docid=69961785&x=4419',
		'title': '',
		'imageId': '69961785',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009330&docid=69961774&x=4419',
		'title': '',
		'imageId': '69961774',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009330&docid=69961784&x=4419',
		'title': '',
		'imageId': '69961784',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009330&docid=69961776&x=4419',
		'title': '',
		'imageId': '69961776',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009330&docid=69961790&x=4419',
		'title': '',
		'imageId': '69961790',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009330&docid=69961772&x=4419',
		'title': '',
		'imageId': '69961772',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009330&docid=69961773&x=4419',
		'title': '',
		'imageId': '69961773',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009330&docid=69961786&x=4419',
		'title': '',
		'imageId': '69961786',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009330&docid=69961775&x=4419',
		'title': '',
		'imageId': '69961775',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009330&docid=69961777&x=4419',
		'title': '',
		'imageId': '69961777',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009330&docid=69961779&x=4419',
		'title': '',
		'imageId': '69961779',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009330&docid=69961770&x=4419',
		'title': '',
		'imageId': '69961770',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009330&docid=69961789&x=4419',
		'title': '',
		'imageId': '69961789',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4009330';

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