var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4007562&docid=69896886&x=5243',
		'title': '',
		'imageId': '69896886',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007562&docid=69896901&x=5243',
		'title': '',
		'imageId': '69896901',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007562&docid=69896894&x=5243',
		'title': '',
		'imageId': '69896894',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007562&docid=69896880&x=5243',
		'title': '',
		'imageId': '69896880',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007562&docid=69896895&x=5243',
		'title': '',
		'imageId': '69896895',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007562&docid=69896887&x=5243',
		'title': '',
		'imageId': '69896887',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007562&docid=69896890&x=5243',
		'title': '',
		'imageId': '69896890',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007562&docid=69896881&x=5243',
		'title': '',
		'imageId': '69896881',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007562&docid=69896900&x=5243',
		'title': '',
		'imageId': '69896900',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007562&docid=69896884&x=5243',
		'title': '',
		'imageId': '69896884',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007562&docid=69896896&x=5243',
		'title': '',
		'imageId': '69896896',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007562&docid=69896888&x=5243',
		'title': '',
		'imageId': '69896888',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007562&docid=69896883&x=5243',
		'title': '',
		'imageId': '69896883',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007562&docid=69896891&x=5243',
		'title': '',
		'imageId': '69896891',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007562&docid=69896885&x=5243',
		'title': '',
		'imageId': '69896885',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007562&docid=69896898&x=5243',
		'title': '',
		'imageId': '69896898',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007562&docid=69896897&x=5243',
		'title': '',
		'imageId': '69896897',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007562&docid=69896892&x=5243',
		'title': '',
		'imageId': '69896892',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007562&docid=69896893&x=5243',
		'title': '',
		'imageId': '69896893',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007562&docid=69896882&x=5243',
		'title': '',
		'imageId': '69896882',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007562&docid=69896899&x=5243',
		'title': '',
		'imageId': '69896899',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007562&docid=69896889&x=5243',
		'title': '',
		'imageId': '69896889',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4007562';

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