var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3917479&docid=66912846&x=140',
		'title': '',
		'imageId': '66912846',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917479&docid=66912849&x=140',
		'title': '',
		'imageId': '66912849',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917479&docid=66912808&x=140',
		'title': '',
		'imageId': '66912808',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917479&docid=66912809&x=140',
		'title': '',
		'imageId': '66912809',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917479&docid=66912847&x=140',
		'title': '',
		'imageId': '66912847',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917479&docid=66912845&x=140',
		'title': '',
		'imageId': '66912845',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917479&docid=66912811&x=140',
		'title': '',
		'imageId': '66912811',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917479&docid=66912810&x=140',
		'title': '',
		'imageId': '66912810',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917479&docid=66912851&x=140',
		'title': '',
		'imageId': '66912851',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917479&docid=66912848&x=140',
		'title': '',
		'imageId': '66912848',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917479&docid=66912887&x=140',
		'title': '',
		'imageId': '66912887',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917479&docid=66912850&x=140',
		'title': '',
		'imageId': '66912850',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3917479';

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