var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4001204&docid=69743719&x=3828',
		'title': '',
		'imageId': '69743719',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001204&docid=69743726&x=3828',
		'title': '',
		'imageId': '69743726',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001204&docid=69743725&x=3828',
		'title': '',
		'imageId': '69743725',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001204&docid=69743731&x=3828',
		'title': '',
		'imageId': '69743731',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001204&docid=69743699&x=3828',
		'title': '',
		'imageId': '69743699',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001204&docid=69743710&x=3828',
		'title': '',
		'imageId': '69743710',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001204&docid=69743693&x=3828',
		'title': '',
		'imageId': '69743693',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001204&docid=69743691&x=3828',
		'title': '',
		'imageId': '69743691',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001204&docid=69743695&x=3828',
		'title': '',
		'imageId': '69743695',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001204&docid=69743720&x=3828',
		'title': '',
		'imageId': '69743720',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001204&docid=69743692&x=3828',
		'title': '',
		'imageId': '69743692',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001204&docid=69743696&x=3828',
		'title': '',
		'imageId': '69743696',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001204&docid=69743694&x=3828',
		'title': '',
		'imageId': '69743694',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001204&docid=69743702&x=3828',
		'title': '',
		'imageId': '69743702',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001204&docid=69743717&x=3828',
		'title': '',
		'imageId': '69743717',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001204&docid=69743705&x=3828',
		'title': '',
		'imageId': '69743705',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001204&docid=69743718&x=3828',
		'title': '',
		'imageId': '69743718',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001204&docid=69743741&x=3828',
		'title': '',
		'imageId': '69743741',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001204&docid=69743751&x=3828',
		'title': '',
		'imageId': '69743751',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001204&docid=69743755&x=3828',
		'title': '',
		'imageId': '69743755',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001204&docid=69743734&x=3828',
		'title': '',
		'imageId': '69743734',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001204&docid=69743735&x=3828',
		'title': '',
		'imageId': '69743735',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4001204';

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