var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4009635&docid=70090022&x=3335',
		'title': '',
		'imageId': '70090022',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009635&docid=70090059&x=3335',
		'title': '',
		'imageId': '70090059',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009635&docid=70090021&x=3335',
		'title': '',
		'imageId': '70090021',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009635&docid=70090020&x=3335',
		'title': '',
		'imageId': '70090020',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009635&docid=69950581&x=3335',
		'title': '',
		'imageId': '69950581',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009635&docid=69950584&x=3335',
		'title': '',
		'imageId': '69950584',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009635&docid=69950588&x=3335',
		'title': '',
		'imageId': '69950588',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009635&docid=69950589&x=3335',
		'title': '',
		'imageId': '69950589',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009635&docid=69950583&x=3335',
		'title': '',
		'imageId': '69950583',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009635&docid=69950579&x=3335',
		'title': '',
		'imageId': '69950579',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009635&docid=69950582&x=3335',
		'title': '',
		'imageId': '69950582',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009635&docid=70090060&x=3335',
		'title': '',
		'imageId': '70090060',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4009635';

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