var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4012878&docid=70110733&x=1247',
		'title': '',
		'imageId': '70110733',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012878&docid=70110712&x=1247',
		'title': '',
		'imageId': '70110712',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012878&docid=70110715&x=1247',
		'title': '',
		'imageId': '70110715',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012878&docid=70110722&x=1247',
		'title': '',
		'imageId': '70110722',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012878&docid=70110721&x=1247',
		'title': '',
		'imageId': '70110721',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012878&docid=70110724&x=1247',
		'title': '',
		'imageId': '70110724',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012878&docid=70110720&x=1247',
		'title': '',
		'imageId': '70110720',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012878&docid=70110723&x=1247',
		'title': '',
		'imageId': '70110723',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012878&docid=70110732&x=1247',
		'title': '',
		'imageId': '70110732',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012878&docid=70110713&x=1247',
		'title': '',
		'imageId': '70110713',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012878&docid=70110726&x=1247',
		'title': '',
		'imageId': '70110726',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012878&docid=70110714&x=1247',
		'title': '',
		'imageId': '70110714',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012878&docid=70110729&x=1247',
		'title': '',
		'imageId': '70110729',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012878&docid=70110725&x=1247',
		'title': '',
		'imageId': '70110725',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012878&docid=70110719&x=1247',
		'title': '',
		'imageId': '70110719',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012878&docid=70110717&x=1247',
		'title': '',
		'imageId': '70110717',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012878&docid=70110718&x=1247',
		'title': '',
		'imageId': '70110718',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012878&docid=70110716&x=1247',
		'title': '',
		'imageId': '70110716',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012878&docid=70110727&x=1247',
		'title': '',
		'imageId': '70110727',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012878&docid=70110728&x=1247',
		'title': '',
		'imageId': '70110728',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012878&docid=70110730&x=1247',
		'title': '',
		'imageId': '70110730',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012878&docid=70110731&x=1247',
		'title': '',
		'imageId': '70110731',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012878&docid=59270916&x=1247',
		'title': '',
		'imageId': '59270916',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012878&docid=59270915&x=1247',
		'title': '',
		'imageId': '59270915',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4012878';

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