var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3976333&docid=69178673&x=3618',
		'title': '',
		'imageId': '69178673',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976333&docid=69178665&x=3618',
		'title': '',
		'imageId': '69178665',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976333&docid=69178670&x=3618',
		'title': '',
		'imageId': '69178670',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976333&docid=69178666&x=3618',
		'title': '',
		'imageId': '69178666',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976333&docid=69178671&x=3618',
		'title': 'DEPTH',
		'imageId': '69178671',
		'alt' : 'DEPTH',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976333&docid=69178663&x=3618',
		'title': 'WIDTH',
		'imageId': '69178663',
		'alt' : 'WIDTH',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976333&docid=69178659&x=3618',
		'title': 'LOWEST HEIGHT',
		'imageId': '69178659',
		'alt' : 'LOWEST HEIGHT',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976333&docid=69178679&x=3618',
		'title': 'TALLEST HEIGHT',
		'imageId': '69178679',
		'alt' : 'TALLEST HEIGHT',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976333&docid=69178662&x=3618',
		'title': '',
		'imageId': '69178662',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976333&docid=69178674&x=3618',
		'title': '',
		'imageId': '69178674',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976333&docid=69178672&x=3618',
		'title': '',
		'imageId': '69178672',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976333&docid=69178660&x=3618',
		'title': '',
		'imageId': '69178660',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976333&docid=69178669&x=3618',
		'title': '',
		'imageId': '69178669',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976333&docid=69178675&x=3618',
		'title': '',
		'imageId': '69178675',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976333&docid=69178677&x=3618',
		'title': '',
		'imageId': '69178677',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976333&docid=69178678&x=3618',
		'title': '',
		'imageId': '69178678',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976333&docid=69178667&x=3618',
		'title': '',
		'imageId': '69178667',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976333&docid=69178658&x=3618',
		'title': '',
		'imageId': '69178658',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976333&docid=69178676&x=3618',
		'title': '',
		'imageId': '69178676',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976333&docid=69178664&x=3618',
		'title': '',
		'imageId': '69178664',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976333&docid=69178661&x=3618',
		'title': '',
		'imageId': '69178661',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976333&docid=69178668&x=3618',
		'title': '',
		'imageId': '69178668',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3976333';

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