var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3930513&docid=68137898&x=4335',
		'title': '',
		'imageId': '68137898',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930513&docid=68137899&x=4335',
		'title': '',
		'imageId': '68137899',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930513&docid=68138074&x=4335',
		'title': '',
		'imageId': '68138074',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930513&docid=68138075&x=4335',
		'title': '',
		'imageId': '68138075',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930513&docid=68138076&x=4335',
		'title': '',
		'imageId': '68138076',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930513&docid=68138077&x=4335',
		'title': '',
		'imageId': '68138077',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930513&docid=68138078&x=4335',
		'title': '',
		'imageId': '68138078',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930513&docid=68138079&x=4335',
		'title': '',
		'imageId': '68138079',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930513&docid=68138099&x=4335',
		'title': '',
		'imageId': '68138099',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930513&docid=68138100&x=4335',
		'title': '',
		'imageId': '68138100',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3930513';

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