var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4012302&docid=70011930&x=4433',
		'title': '',
		'imageId': '70011930',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012302&docid=70011933&x=4433',
		'title': '',
		'imageId': '70011933',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012302&docid=70011941&x=4433',
		'title': '',
		'imageId': '70011941',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012302&docid=70011942&x=4433',
		'title': '',
		'imageId': '70011942',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012302&docid=70011947&x=4433',
		'title': '',
		'imageId': '70011947',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012302&docid=70011950&x=4433',
		'title': '',
		'imageId': '70011950',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012302&docid=70011954&x=4433',
		'title': '',
		'imageId': '70011954',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012302&docid=70011959&x=4433',
		'title': '',
		'imageId': '70011959',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012302&docid=70011960&x=4433',
		'title': '',
		'imageId': '70011960',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012302&docid=70011965&x=4433',
		'title': '',
		'imageId': '70011965',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012302&docid=70011973&x=4433',
		'title': '',
		'imageId': '70011973',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012302&docid=70011986&x=4433',
		'title': '',
		'imageId': '70011986',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012302&docid=70011993&x=4433',
		'title': '',
		'imageId': '70011993',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012302&docid=70011996&x=4433',
		'title': '',
		'imageId': '70011996',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012302&docid=70012009&x=4433',
		'title': '',
		'imageId': '70012009',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012302&docid=70012013&x=4433',
		'title': '',
		'imageId': '70012013',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012302&docid=70012016&x=4433',
		'title': '',
		'imageId': '70012016',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012302&docid=70012019&x=4433',
		'title': '',
		'imageId': '70012019',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012302&docid=70012022&x=4433',
		'title': '',
		'imageId': '70012022',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012302&docid=70012023&x=4433',
		'title': '',
		'imageId': '70012023',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012302&docid=70012028&x=4433',
		'title': '',
		'imageId': '70012028',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012302&docid=70012031&x=4433',
		'title': '',
		'imageId': '70012031',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4012302';

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