var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4006335&docid=69866170&x=1613',
		'title': '',
		'imageId': '69866170',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006335&docid=69866171&x=1613',
		'title': '',
		'imageId': '69866171',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006335&docid=69866172&x=1613',
		'title': '',
		'imageId': '69866172',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006335&docid=69866173&x=1613',
		'title': '',
		'imageId': '69866173',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006335&docid=69866177&x=1613',
		'title': '',
		'imageId': '69866177',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006335&docid=69866178&x=1613',
		'title': '',
		'imageId': '69866178',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006335&docid=69866176&x=1613',
		'title': '',
		'imageId': '69866176',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006335&docid=69866184&x=1613',
		'title': '',
		'imageId': '69866184',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006335&docid=69866180&x=1613',
		'title': '',
		'imageId': '69866180',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006335&docid=69866174&x=1613',
		'title': '',
		'imageId': '69866174',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006335&docid=69866175&x=1613',
		'title': '',
		'imageId': '69866175',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006335&docid=69866181&x=1613',
		'title': '',
		'imageId': '69866181',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006335&docid=69866179&x=1613',
		'title': '',
		'imageId': '69866179',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006335&docid=69866182&x=1613',
		'title': '',
		'imageId': '69866182',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006335&docid=69866183&x=1613',
		'title': '',
		'imageId': '69866183',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006335&docid=69866185&x=1613',
		'title': '',
		'imageId': '69866185',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4006335';

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