var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4006942&docid=69898169&x=5936',
		'title': '',
		'imageId': '69898169',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006942&docid=69898168&x=5936',
		'title': '',
		'imageId': '69898168',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006942&docid=69898175&x=5936',
		'title': '',
		'imageId': '69898175',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006942&docid=69898174&x=5936',
		'title': '',
		'imageId': '69898174',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006942&docid=69898178&x=5936',
		'title': '',
		'imageId': '69898178',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006942&docid=69898184&x=5936',
		'title': '',
		'imageId': '69898184',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006942&docid=69898177&x=5936',
		'title': '',
		'imageId': '69898177',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006942&docid=69898170&x=5936',
		'title': '',
		'imageId': '69898170',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006942&docid=69898173&x=5936',
		'title': '',
		'imageId': '69898173',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006942&docid=69898172&x=5936',
		'title': '',
		'imageId': '69898172',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006942&docid=69898171&x=5936',
		'title': '',
		'imageId': '69898171',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006942&docid=69898190&x=5936',
		'title': '',
		'imageId': '69898190',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006942&docid=69898183&x=5936',
		'title': '',
		'imageId': '69898183',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006942&docid=69898187&x=5936',
		'title': '',
		'imageId': '69898187',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006942&docid=69898185&x=5936',
		'title': '',
		'imageId': '69898185',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006942&docid=69898180&x=5936',
		'title': '',
		'imageId': '69898180',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006942&docid=69898179&x=5936',
		'title': '',
		'imageId': '69898179',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006942&docid=69898186&x=5936',
		'title': '',
		'imageId': '69898186',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006942&docid=69898176&x=5936',
		'title': '',
		'imageId': '69898176',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006942&docid=69898188&x=5936',
		'title': '',
		'imageId': '69898188',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006942&docid=69898189&x=5936',
		'title': '',
		'imageId': '69898189',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006942&docid=69898181&x=5936',
		'title': '',
		'imageId': '69898181',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006942&docid=69898182&x=5936',
		'title': '',
		'imageId': '69898182',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4006942';

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