var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4015152&docid=70078565&x=1533',
		'title': '',
		'imageId': '70078565',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015152&docid=70078567&x=1533',
		'title': '',
		'imageId': '70078567',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015152&docid=70078569&x=1533',
		'title': '',
		'imageId': '70078569',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015152&docid=70078570&x=1533',
		'title': '',
		'imageId': '70078570',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015152&docid=70078571&x=1533',
		'title': '',
		'imageId': '70078571',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015152&docid=70078572&x=1533',
		'title': '',
		'imageId': '70078572',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015152&docid=70078573&x=1533',
		'title': '',
		'imageId': '70078573',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015152&docid=70078574&x=1533',
		'title': '',
		'imageId': '70078574',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015152&docid=70078575&x=1533',
		'title': '',
		'imageId': '70078575',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015152&docid=70078576&x=1533',
		'title': '',
		'imageId': '70078576',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015152&docid=70078577&x=1533',
		'title': '',
		'imageId': '70078577',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015152&docid=70078578&x=1533',
		'title': '',
		'imageId': '70078578',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015152&docid=70078579&x=1533',
		'title': '',
		'imageId': '70078579',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015152&docid=70078580&x=1533',
		'title': '',
		'imageId': '70078580',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015152&docid=70078581&x=1533',
		'title': '',
		'imageId': '70078581',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015152&docid=70078582&x=1533',
		'title': '',
		'imageId': '70078582',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015152&docid=70078583&x=1533',
		'title': '',
		'imageId': '70078583',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015152&docid=70078584&x=1533',
		'title': '',
		'imageId': '70078584',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015152&docid=70078585&x=1533',
		'title': '',
		'imageId': '70078585',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015152&docid=70078586&x=1533',
		'title': '',
		'imageId': '70078586',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4015152';

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