var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4017826&docid=69950758&x=3117',
		'title': '',
		'imageId': '69950758',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017826&docid=69950755&x=3117',
		'title': '',
		'imageId': '69950755',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017826&docid=69950764&x=3117',
		'title': '',
		'imageId': '69950764',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017826&docid=69950745&x=3117',
		'title': '',
		'imageId': '69950745',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017826&docid=69950757&x=3117',
		'title': '',
		'imageId': '69950757',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017826&docid=69950743&x=3117',
		'title': '',
		'imageId': '69950743',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017826&docid=69950747&x=3117',
		'title': '',
		'imageId': '69950747',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017826&docid=69950756&x=3117',
		'title': '',
		'imageId': '69950756',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017826&docid=69950750&x=3117',
		'title': '',
		'imageId': '69950750',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017826&docid=69950749&x=3117',
		'title': '',
		'imageId': '69950749',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017826&docid=69950744&x=3117',
		'title': '',
		'imageId': '69950744',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017826&docid=69950748&x=3117',
		'title': '',
		'imageId': '69950748',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017826&docid=69950746&x=3117',
		'title': '',
		'imageId': '69950746',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017826&docid=69950751&x=3117',
		'title': '',
		'imageId': '69950751',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017826&docid=69950752&x=3117',
		'title': '',
		'imageId': '69950752',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017826&docid=69950754&x=3117',
		'title': '',
		'imageId': '69950754',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017826&docid=69950760&x=3117',
		'title': '',
		'imageId': '69950760',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017826&docid=69950761&x=3117',
		'title': '',
		'imageId': '69950761',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017826&docid=69950759&x=3117',
		'title': '',
		'imageId': '69950759',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017826&docid=69950762&x=3117',
		'title': '',
		'imageId': '69950762',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017826&docid=69950763&x=3117',
		'title': '',
		'imageId': '69950763',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017826&docid=69950753&x=3117',
		'title': '',
		'imageId': '69950753',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4017826';

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